Added r-app catalogue to demo test case
Change name of the 'oran-master' test profile to 'oran-cherry'
No impact to delivered images - this is only function test updates
Issue-ID: NONRTRIC-345
Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech>
Change-Id: I02b0afda5a8deab0637ee80641eff9e46bc828de
diff --git a/test/common/api_curl.sh b/test/common/api_curl.sh
index cd3e979..c7e5c90 100644
--- a/test/common/api_curl.sh
+++ b/test/common/api_curl.sh
@@ -23,7 +23,7 @@
# one for sending the requests and one for receiving the response
# but only when using the DMAAP interface
# REST or DMAAP is controlled of the base url of $ADAPTER
-# arg: (PA|ECS GET|PUT|POST|DELETE|GET_BATCH|PUT_BATCH|POST_BATCH|DELETE_BATCH <url> [<file>]) | (PA|ECS RESPONSE <correlation-id>)
+# arg: (PA|ECS|CR|RC GET|PUT|POST|DELETE|GET_BATCH|PUT_BATCH|POST_BATCH|DELETE_BATCH <url> [<file>]) | (PA|ECS RESPONSE <correlation-id>)
# (Not for test scripts)
__do_curl_to_api() {
TIMESTAMP=$(date "+%Y-%m-%d %H:%M:%S")
@@ -46,6 +46,11 @@
__RESTBASE=$CR_RESTBASE
__RESTBASE_SECURE=$CR_RESTBASE_SECURE
__RETRY_CODES=""
+ elif [ $1 == "RC" ]; then
+ __ADAPTER=$RC_ADAPTER
+ __RESTBASE=$RC_RESTBASE
+ __RESTBASE_SECURE=$RC_RESTBASE_SECURE
+ __RETRY_CODES=""
else
paramError=1
fi