Skip to content

Commit

Permalink
feat: support afj-0.4.1 (#102)
Browse files Browse the repository at this point in the history
Signed-off-by: KulkarniShashank <[email protected]>
  • Loading branch information
KulkarniShashank committed Sep 11, 2024
1 parent 8e18d0a commit 4fd0a4a
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ WALLET_STORAGE_PASSWORD=xxxxxx

CRYPTO_PRIVATE_KEY=xxxxx-xxxxx-xxxxx-xxxxx #It should be same as studio UI

AFJ_VERSION=afj-0.4.0:latest
AFJ_VERSION=afj-0.4.1:latest

FIDO_API_ENDPOINT=http://localhost:8000 # Host:port of your FIDO (WebAuthn) Server

Expand Down
2 changes: 1 addition & 1 deletion apps/agent-provisioning/AFJ/scripts/start_agent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ cat <<EOF >>${PWD}/apps/agent-provisioning/AFJ/agent-config/${AGENCY}_${CONTAINE
"label": "${AGENCY}_${CONTAINER_NAME}",
"walletId": "$WALLET_NAME",
"walletKey": "$WALLET_PASSWORD",
"walletType": "postgres_storage",
"walletType": "postgres",
"walletUrl": "$WALLET_STORAGE_HOST:$WALLET_STORAGE_PORT",
"walletAccount": "$WALLET_STORAGE_USER",
"walletPassword": "$WALLET_STORAGE_PASSWORD",
Expand Down
2 changes: 1 addition & 1 deletion apps/agent-provisioning/AFJ/scripts/start_agent_ecs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ cat <<EOF >>/app/agent-provisioning/AFJ/agent-config/${AGENCY}_${CONTAINER_NAME}
"label": "${AGENCY}_${CONTAINER_NAME}",
"walletId": "$WALLET_NAME",
"walletKey": "$WALLET_PASSWORD",
"walletType": "postgres_storage",
"walletType": "postgres",
"walletUrl": "$WALLET_STORAGE_HOST:$WALLET_STORAGE_PORT",
"walletAccount": "$WALLET_STORAGE_USER",
"walletPassword": "$WALLET_STORAGE_PASSWORD",
Expand Down
1 change: 1 addition & 0 deletions apps/api-gateway/src/connection/connection.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ export class ConnectionController {
@Param('id') id: number,
@Res() res: Response
): Promise<object> {
this.logger.debug(`connectionDto ::: ${JSON.stringify(connectionDto)}`);
const connectionData = await this.connectionService.getConnectionWebhook(connectionDto, id);
const finalResponse: IResponseType = {
statusCode: HttpStatus.CREATED,
Expand Down
1 change: 1 addition & 0 deletions apps/api-gateway/src/issuance/issuance.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ export class IssuanceController {
@Param('id') id: number,
@Res() res: Response
): Promise<Response> {
this.logger.debug(`issueCredentialDto ::: ${issueCredentialDto}`);
const getCredentialDetails = await this.issueCredentialService.getIssueCredentialWebhook(issueCredentialDto, id);
const finalResponse: IResponseType = {
statusCode: HttpStatus.CREATED,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ export class VerificationController {
@Body() proofPresentationPayload: WebhookPresentationProof,
@Res() res: Response
): Promise<object> {

this.logger.debug(`proofPresentationPayload ::: ${JSON.stringify(proofPresentationPayload)}`);
const webhookProofPresentation = await this.verificationService.webhookProofPresentation(id, proofPresentationPayload);
const finalResponse: IResponseType = {
statusCode: HttpStatus.CREATED,
Expand Down

0 comments on commit 4fd0a4a

Please sign in to comment.