Skip to content

Commit

Permalink
refactor: updated sh file to pass schema manager URL (#716)
Browse files Browse the repository at this point in the history
* feat: added logic to store W3C schema

Signed-off-by: tipusinghaw <tipu.singh@ayanworks.com>

* fix: Error messages

Signed-off-by: tipusinghaw <tipu.singh@ayanworks.com>

* fix: did endpoint

Signed-off-by: tipusinghaw <tipu.singh@ayanworks.com>

* refactor: updated sh file

Signed-off-by: tipusinghaw <tipu.singh@ayanworks.com>

---------

Signed-off-by: tipusinghaw <tipu.singh@ayanworks.com>
Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>
  • Loading branch information
tipusinghaw authored and KulkarniShashank committed Sep 11, 2024
1 parent db88c6d commit 23c63c8
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions apps/agent-provisioning/AFJ/scripts/start_agent_ecs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@ TENANT=${13}
AFJ_VERSION=${14}
INDY_LEDGER=${15}
INBOUND_ENDPOINT=${16}
AGENT_HOST=${17}
AWS_ACCOUNT_ID=${18}
S3_BUCKET_ARN=${19}
CLUSTER_NAME=${20}
TESKDEFINITION_FAMILY=${21}
SCHEMA_FILE_SERVER_URL=${17}
AGENT_HOST=${18}
AWS_ACCOUNT_ID=${19}
S3_BUCKET_ARN=${20}
CLUSTER_NAME=${21}
TESKDEFINITION_FAMILY=${22}

DESIRED_COUNT=1

Expand Down Expand Up @@ -138,7 +139,8 @@ cat <<EOF >/app/agent-provisioning/AFJ/agent-config/${AGENCY}_${CONTAINER_NAME}.
],
"webhookUrl": "$WEBHOOK_HOST/wh/$AGENCY",
"adminPort": $ADMIN_PORT,
"tenancy": $TENANT
"tenancy": $TENANT,
"schemaFileServerURL": "$SCHEMA_FILE_SERVER_URL"
}
EOF
# scp ${PWD}/agent-provisioning/AFJ/agent-config/${AGENCY}_${CONTAINER_NAME}.json ${AGENT_HOST}:/home/ec2-user/config/
Expand Down

0 comments on commit 23c63c8

Please sign in to comment.