Skip to content

Commit

Permalink
Updated test config for oidc4vc lib tests
Browse files Browse the repository at this point in the history
  • Loading branch information
waltkb committed Oct 23, 2023
1 parent 6c274f2 commit 1a6a54d
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class CI_JVM_Test : AnnotationSpec() {

@BeforeAll
fun init() {
ServiceMatrix("service-matrix.properties")
ServiceMatrix("test-config/service-matrix.properties")
ciTestProvider = CITestProvider()
credentialWallet = TestCredentialWallet(CredentialWalletConfig("http://blank"))
ciTestProvider.start()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class EBSI_Conformance_Test: AnnotationSpec() {

@BeforeAll
fun init() {
ServiceMatrix("service-matrix.properties")
ServiceMatrix("test-config/service-matrix.properties")
credentialWallet = EBSITestWallet(CredentialWalletConfig("https://blank/"))
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class VP_JVM_Test : AnnotationSpec() {

@BeforeAll
fun init() {
ServiceMatrix("service-matrix.properties")
ServiceMatrix("test-config/service-matrix.properties")
testWallet = TestCredentialWallet(CredentialWalletConfig(WALLET_BASE_URL))
testWallet.start()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class wallettest : AnnotationSpec() {

//@BeforeAll /* Uncomment me */
fun init() {
ServiceMatrix("service-matrix.properties")
ServiceMatrix("test-config/service-matrix.properties")
ciTestProvider = CITestProvider()
credentialWallet = TestCredentialWallet(CredentialWalletConfig("http://blank"))
//ciTestProvider.start()
Expand Down
12 changes: 12 additions & 0 deletions waltid-openid4vc/test-config/service-matrix.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
id.walt.services.ecosystems.essif.didebsi.DidEbsiService=id.walt.services.ecosystems.essif.didebsi.WaltIdDidEbsiService
id.walt.services.ecosystems.essif.jsonrpc.JsonRpcService=id.walt.services.ecosystems.essif.jsonrpc.WaltIdJsonRpcService
id.walt.services.vc.JsonLdCredentialService=id.walt.services.vc.WaltIdJsonLdCredentialService
id.walt.services.vc.JwtCredentialService=id.walt.services.vc.WaltIdJwtCredentialService
id.walt.services.crypto.CryptoService=id.walt.services.crypto.SunCryptoService
id.walt.services.keystore.KeyStoreService=id.walt.services.keystore.SqlKeyStoreService
id.walt.services.key.KeyService=id.walt.services.key.WaltIdKeyService
id.walt.services.jwt.JwtService=id.walt.services.jwt.WaltIdJwtService
id.walt.services.vcstore.VcStoreService=id.walt.services.vcstore.FileSystemVcStoreService
id.walt.services.context.ContextManager=id.walt.services.context.WaltIdContextManager
id.walt.custodian.Custodian=id.walt.custodian.WaltIdCustodian
id.walt.signatory.Signatory=id.walt.signatory.WaltIdSignatory:test-config/signatory.conf
9 changes: 9 additions & 0 deletions waltid-openid4vc/test-config/signatory.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
proofConfig {
issuerDid="todo"
issuerVerificationMethod="todo"
proofType="LD_PROOF"
domain="todo"
nonce="todo"
credentialsEndpoint="http://127.0.0.1:7001/v1/credentials"
}
templatesFolder: "vc-templates-runtime"

0 comments on commit 1a6a54d

Please sign in to comment.