-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
48 lines (41 loc) · 1.04 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
plugins {
id 'alfa-testing-framework'
}
version = '1.0'
group = 'com.myorg.alfa'
alfa {
namespace "MyProject"
mainpolicy "acme.Main"
licenseFile "license/axiomatics_PDP.license"
repositories {
//Add one or more ADM repositories to get push, pull, run, test and promote tasks
/**
adm {
environment 'Dev'
host 'https://myaps.acme.com'
domainName 'DevStaging'
oidcCredentials {
client_id 'ads'
client_secret ''
}
}
**/
}
}
dependencies {
//Add extra files for Ads and Docker image runtime
// ads files('truststore.jks')
}
test {
//Add environment variables needed for tests
//environment "LDAP_PIP_URL", 'http://ldap-dev.myorg.com'
}
//Add testing task of external ADS
/**
task test_LocalEnv(type: Test) {
group "verification"
environment "ALFA_TEST_REMOTE_URL", "http://127.0.0.1:8081/authorize"
environment "ALFA_TEST_REMOTE_USER", "pdp-user"
environment "ALFA_TEST_REMOTE_PASSWORD", "secret"
}
**/