Fix oof vm init script 09/47509/1
authorShankar Narayanan <snarayanan@research.att.com>
Tue, 15 May 2018 00:51:39 +0000 (20:51 -0400)
committerShankar Narayanan <snarayanan@research.att.com>
Tue, 15 May 2018 00:52:02 +0000 (20:52 -0400)
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>
boot/oof_vm_init.sh

index 717a16e..7b0cc4c 100644 (file)
@@ -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\"}",