Skip to content

Commit

Permalink
feat: ssi lib v4 added, autority wallet config added
Browse files Browse the repository at this point in the history
  • Loading branch information
nitin-vavdiya committed May 26, 2023
1 parent 4911817 commit 1c5ee0e
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 48 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
application-local.yaml
build
.gradle
.gradletasknamecache
Expand Down
14 changes: 8 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,18 @@ configurations {
}

repositories {
mavenLocal()
mavenCentral()
/*maven {
maven {
url = uri("https://repo.danubetech.com/repository/maven-public")
}
maven { url 'https://jitpack.io' }
maven {
url = uri("https://maven.pkg.github.com/catenax-ng/product-lab-ssi")
credentials {
username = 'name'
password = 'token'
username = "${githubUserName}"
password = "${githubToken}"
}
}*/
}
}

ext {
Expand All @@ -44,7 +47,6 @@ dependencies {
implementation "org.springdoc:springdoc-openapi-starter-webmvc-ui:${openApiVersion}"
implementation 'org.liquibase:liquibase-core'
implementation 'org.eclipse.tractusx.ssi.lib:cx-ssi-lib:0.0.4'
implementation 'org.eclipse.tractusx.ssi:cx-ssi-agent-lib:0.0.3'
runtimeOnly 'org.postgresql:postgresql'
compileOnly 'org.projectlombok:lombok'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
Expand Down
4 changes: 3 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ springBootVersion=3.0.6
springDependencyVersion=1.1.0
groupName=org.eclipse.tractusx
applicationVersion=0.0.1-SNAPSHOT
openApiVersion=2.1.0
openApiVersion=2.1.0
githubUserName=
githubToken=

This file was deleted.

2 changes: 2 additions & 0 deletions src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ management:
miw:
host: ${HOST_NAME:localhost}
encryptionKey: ${ENCRYPTION_KEY:Woh9waid4Ei5eez0aitieghoow9so4oe}
authorityWalletBpn: ${AUTHORITY_WALLET_BPN:BPNL000000000000}
authorityWalletName: ${AUTHORITY_WALLET_NAME:Catena-X}
security:
enabled: true
realm: ${KEYCLOAK_REALM:miw}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ void validateTest() {

Assertions.assertThrows(RuntimeException.class, () -> Validate.value("").isNotEmpty().launch(new RuntimeException()));


Assertions.assertDoesNotThrow(() -> Validate.isFalse(true).launch(new RuntimeException()));

Assertions.assertDoesNotThrow(() -> Validate.isTrue(false).launch(new RuntimeException()));
Expand Down

0 comments on commit 1c5ee0e

Please sign in to comment.