Skip to content

Commit

Permalink
chore: removed envs from dev asset and sonar fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nitin-vavdiya committed Jun 12, 2024
1 parent e3a48bf commit f3c0938
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion dev-assets/env-files/env.docker.dist
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ LOCAL_SIGNING_KEY_STORAGE_TYPE=DB
KEYCLOAK_REALM=miw_test
VC_SCHEMA_LINK="https://www.w3.org/2018/credentials/v1, https://catenax-ng.github.io/product-core-schemas/businessPartnerData.json"
VC_EXPIRY_DATE=01-01-2025
SUPPORTED_FRAMEWORK_VC_TYPES="PcfCredential, SustainabilityCredential, QualityCredential, TraceabilityCredential, BehaviorTwinCredential, ResiliencyCredential"
MIW_HOST_NAME=localhost
ENFORCE_HTTPS_IN_DID_RESOLUTION=false

Expand Down
1 change: 0 additions & 1 deletion dev-assets/env-files/env.local.dist
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ LOCAL_SIGNING_KEY_STORAGE_TYPE=DB
KEYCLOAK_REALM=miw_test
VC_SCHEMA_LINK="https://www.w3.org/2018/credentials/v1, https://catenax-ng.github.io/product-core-schemas/businessPartnerData.json"
VC_EXPIRY_DATE=01-01-2025
SUPPORTED_FRAMEWORK_VC_TYPES="PcfCredential, SustainabilityCredential, QualityCredential, TraceabilityCredential, BehaviorTwinCredential, ResiliencyCredential"
MIW_HOST_NAME=localhost
ENFORCE_HTTPS_IN_DID_RESOLUTION=false

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ void createPresentation200ResponseAsJWT() {
jtiRepository.save(jtiRecord);

//issue BPN vc
VerifiableCredential bpnVc = TestUtils.issueCustomVCUsingBaseWallet(bpn, did, miwSettings.authorityWalletDid(), StringPool.BPN_CREDENTIAL,
TestUtils.issueCustomVCUsingBaseWallet(bpn, did, miwSettings.authorityWalletDid(), StringPool.BPN_CREDENTIAL,
AuthenticationUtils.getValidUserHttpHeaders(miwSettings.authorityWalletBpn()), miwSettings, objectMapper, restTemplate);

Map<String, Object> presentation = presentationService.createVpWithRequiredScopes(SignedJWT.parse(accessToken), asJwt);
Expand Down

0 comments on commit f3c0938

Please sign in to comment.