Skip to content

Commit

Permalink
[tests][sda-pipeline] add accession binding
Browse files Browse the repository at this point in the history
  • Loading branch information
jbygdell committed Sep 15, 2023
1 parent cdfd20b commit 44695b7
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions sda-pipeline/.github/integration/setup/common/10_services.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ cd dev_utils || exit 1
if [ "$STORAGETYPE" = s3notls ]; then
docker-compose -f compose-no-tls.yml up -d

curl -u test:test -H "content-type:application/json" \
-X POST -d'{"routing_key":"accession","arguments":{}}' \
http://localhost:15672/api/bindings/test/e/sda/q/accessionIDs

RETRY_TIMES=0
for p in db mq s3 ingest verify finalize mapper intercept; do
until docker ps -f name="$p" --format "{{.Status}}" | grep "Up"
Expand All @@ -27,6 +31,10 @@ elif [ "$STORAGETYPE" = s3notlsheader ]; then

docker-compose -f compose-no-tls.yml up -d

curl -u test:test -H "content-type:application/json" \
-X POST -d'{"routing_key":"accession","arguments":{}}' \
http://localhost:15672/api/bindings/test/e/sda/q/accessionIDs

RETRY_TIMES=0
for p in db mq s3 ingest verify finalize mapper intercept; do
until docker ps -f name="$p" --format "{{.Status}}" | grep "Up"
Expand Down Expand Up @@ -78,6 +86,10 @@ else
done
done

curl -k -u test:test -H "content-type:application/json" \
-X POST -d'{"routing_key":"accession","arguments":{}}' \
https://localhost:15672/api/bindings/test/e/sda/q/accessionIDs

docker-compose -f compose-sda.yml up -d

for p in ingest verify finalize mapper intercept backup; do
Expand Down

0 comments on commit 44695b7

Please sign in to comment.