aboutsummaryrefslogtreecommitdiffstats
path: root/plans/so/integration-etsi-testing/config/populate-aai-simulator.sh
diff options
context:
space:
mode:
authorwaqas.ikram <waqas.ikram@est.tech>2019-08-22 17:34:43 +0000
committerWaqas Ikram <waqas.ikram@est.tech>2019-08-22 17:35:04 +0000
commite5ae05042a015c29e454e8c45f902eb414b32afa (patch)
tree5eab0732c591766de6ead0e32a5bf7dfb9b60d54 /plans/so/integration-etsi-testing/config/populate-aai-simulator.sh
parent1f8a4cafe133c19c730701dbcc370cac9a7a7b0c (diff)
Fixing project and owning entity relationship endpoints
Change-Id: I74a83877227f23cdcb9843e2ca6b7dd6e9d2f842 Issue-ID: SO-2219 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
Diffstat (limited to 'plans/so/integration-etsi-testing/config/populate-aai-simulator.sh')
-rwxr-xr-xplans/so/integration-etsi-testing/config/populate-aai-simulator.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/plans/so/integration-etsi-testing/config/populate-aai-simulator.sh b/plans/so/integration-etsi-testing/config/populate-aai-simulator.sh
index 87062ed3..3f91f0da 100755
--- a/plans/so/integration-etsi-testing/config/populate-aai-simulator.sh
+++ b/plans/so/integration-etsi-testing/config/populate-aai-simulator.sh
@@ -89,7 +89,7 @@ populate_aai_simulator()
fi
echo "$SCRIPT_NAME $(current_timestamp): Adding Owning-Entity"
- status_code=$(curl -k --write-out %{http_code} --silent --output /dev/null -H "$BASIC_AUTHORIZATION_HEADER" -H "$ACCEPT_HEADER" -H "$CONTENT_TYPE_HEADER" $BASE_URL/business/owning-entities/owning-entity/oe_1 -X PUT -d @$"$OWNING_ENTITY_JSON_FILE")
+ status_code=$(curl -k --write-out %{http_code} --silent --output /dev/null -H "$BASIC_AUTHORIZATION_HEADER" -H "$ACCEPT_HEADER" -H "$CONTENT_TYPE_HEADER" $BASE_URL/business/owning-entities/owning-entity/f2e1071e-3d47-4a65-94d4-e473ec03326a -X PUT -d @$"$OWNING_ENTITY_JSON_FILE")
if [[ "$status_code" -ne "$STATUS_CODE_ACCEPTED" ]] ; then
echo "$SCRIPT_NAME $(current_timestamp) ERROR: Unable to put owning entity data in AAI Simulator. Status code received: $status_code"