File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
java/examples/VaasExample Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ You need to set a .env file with the following variables:
2+
3+ ```
4+ VAAS_URL=https://gateway.staging.vaas.gdatasecurity.de
5+ TOKEN_URL=https://account-staging.gdata.de/realms/vaas-staging/protocol/openid-connect/token
6+ CLIENT_ID=YOUR_CLIENT_ID
7+ CLIENT_SECRET=YOUR_CLIENT_SECRET
8+ VAAS_USER_NAME=YOUR_USER_NAME
9+ VAAS_PASSWORD=YOUR_PASSWORD
10+ VAAS_CLIENT_ID=vaas-customer
11+ ```
12+
13+ ## How to run the project
14+
15+ You should use the published Maven package.
16+ If you want to run the examples locally you need to publish a local Maven package with the given gradle task:
17+
18+ ``` gradle
19+ tasks.register('publishToLocalMaven') {
20+ group = 'publishing'
21+ description = 'Publish the library to the local Maven repository (~/.m2/repository).'
22+
23+ dependsOn 'publishMavenJavaPublicationToMavenLocal'
24+ }
25+ ```
26+
27+ You can find the task in the projects root located in ` java/build.gradle ` .
You can’t perform that action at this time.
0 commit comments