Skip to content

Commit ab22ade

Browse files
committed
simplify output of list scripts for render-ws-with-mongo-db
1 parent e7f41df commit ab22ade

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

render-ws-with-mongo-db/list-match-collections.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
OWNER="${1:-hess_wafers_60_61}"
44
URL="http://localhost:8080/render-ws/v1/owner/${OWNER}/matchCollections"
5-
curl -X GET --silent --header 'Accept: application/json' "${URL}" | jq '.'
5+
curl -X GET --silent --header 'Accept: application/json' "${URL}" | jq -r '.[] | "\(.collectionId.name)"' | sort

render-ws-with-mongo-db/list-stacks.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
OWNER="${1:-hess_wafers_60_61}"
44
PROJECT="${2:-w60_serial_360_to_369}"
55
URL="http://localhost:8080/render-ws/v1/owner/${OWNER}/project/${PROJECT}/stackIds"
6-
curl -X GET --silent --header 'Accept: application/json' "${URL}" | jq '.'
6+
curl -X GET --silent --header 'Accept: application/json' "${URL}" | jq -r '.[] | "\(.stack)"' | sort

0 commit comments

Comments
 (0)