aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShankar Narayanan <snarayanan@research.att.com>2018-05-14 20:51:39 -0400
committerShankar Narayanan <snarayanan@research.att.com>2018-05-14 20:52:02 -0400
commit91afd14ddca72fa6b1b2d204ed83b5a3a4a981b4 (patch)
tree7105e455d2480069847502c52812e0bccc86eb8c
parent7d0418424af1dcd7a85e04c94006acc5490c8899 (diff)
Fix oof vm init script
Fix the sed line numbers in the OOF VM init script. Issue-ID: OPTFRA-234 Change-Id: Ibe0ed9d284782dd0f05059ea526256f8693bf879 Signed-off-by: Shankar Narayanan <snarayanan@research.att.com>
-rw-r--r--boot/oof_vm_init.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/boot/oof_vm_init.sh b/boot/oof_vm_init.sh
index 717a16e9..7b0cc4c9 100644
--- a/boot/oof_vm_init.sh
+++ b/boot/oof_vm_init.sh
@@ -171,8 +171,8 @@ MUSIC_URL=$(docker inspect --format '{{ .NetworkSettings.Networks.bridge.IPAddre
# Set A&AI and MUSIC url inside OOF-HAS conductor.conf
sed -i "138 s%.*%server_url = https://aai.api.simpledemo.onap.org:8443/aai%" $COND_CONF
sed -i "141 s%.*%server_url_version = v13%" $COND_CONF
-sed -i "250 s%.*%server_url = http://$MUSIC_URL:8080/MUSIC/rest/v2%" $COND_CONF
-sed -i "277 s%.*%replication_factor = 1%" $COND_CONF
+sed -i "257 s%.*%server_url = http://$MUSIC_URL:8080/MUSIC/rest/v2%" $COND_CONF
+sed -i "284 s%.*%replication_factor = 1%" $COND_CONF
# Set A&AI authentication file locations inside OOF-HAS conductor.conf
sed -i "153 s%.*%certificate_authority_bundle_file = $AAI_cert%" $COND_CONF
@@ -219,7 +219,7 @@ curl -X POST \
"name": "foo",
"recommend_max": 1,
"solution": "{\"healthcheck\": \" healthcheck\"}",
- "status": "solved",
+ "status": "done",
"template": "{\"healthcheck\": \"healthcheck\"}",
"timeout": 3600,
"translation": "{\"healthcheck\": \" healthcheck\"}",