Skip to content

Commit

Permalink
Merge pull request #944 from innodreamer/master
Browse files Browse the repository at this point in the history
Add and Update RegionZoneHandler Test Scripts
  • Loading branch information
powerkimhub authored Oct 5, 2023
2 parents ea77afe + ae2d1af commit 422ec45
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export CONN_CONFIG=nhncloud-korea-pangyo1-config
export REGION_NAME=KR1

./region-zone_test.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export CONN_CONFIG=ncpvpc-korea1-config
export REGION_NAME=KR

./region-zone_test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export CONN_CONFIG=ncp-korea1-config
#export CONN_CONFIG=ncp-germany-config
export REGION_NAME=KR

./region-zone_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ curl -sX GET http://localhost:1024/spider/regionzone -H 'Content-Type: applicati

sleep 2
echo -e "\n### Region/Zone : Get"
curl -sX GET http://localhost:1024/spider/regionzone/KR -H 'Content-Type: application/json' -d '{"ConnectionName": "'${CONN_CONFIG}'"}'
curl -sX GET http://localhost:1024/spider/regionzone/${REGION_NAME} -H 'Content-Type: application/json' -d '{"ConnectionName": "'${CONN_CONFIG}'"}'

sleep 2
echo -e "\n### ORG Region : List"
Expand Down

0 comments on commit 422ec45

Please sign in to comment.