Fix Payload in policy
Fix payload field in Op Policy, must now be YAML format + fix SO actor
value
Issue-ID: CLAMP-241
Change-Id: Icce97a0c396fb9ae11c98ace66893066494fcf73
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
diff --git a/src/main/resources/META-INF/resources/designer/partials/portfolios/PolicyWindow_properties.html b/src/main/resources/META-INF/resources/designer/partials/portfolios/PolicyWindow_properties.html
index 5a46003..331ab5c 100644
--- a/src/main/resources/META-INF/resources/designer/partials/portfolios/PolicyWindow_properties.html
+++ b/src/main/resources/META-INF/resources/designer/partials/portfolios/PolicyWindow_properties.html
@@ -253,9 +253,9 @@
</div>
<label for="payload" class="col-sm-4 control-label">
- Payload</label>
+ Payload (YAML)</label>
<div class="col-sm-8">
- <textarea class="form-control" id="recipeInput" name=recipeInput></textarea>
+ <textarea class="form-control" id="recipePayload" name=recipePayload></textarea>
</div>
</div>
<div class="form-group clearfix">
diff --git a/src/main/resources/clds/templates/globalProperties.json b/src/main/resources/clds/templates/globalProperties.json
index b6f68f6..7cd449f 100644
--- a/src/main/resources/clds/templates/globalProperties.json
+++ b/src/main/resources/clds/templates/globalProperties.json
@@ -49,7 +49,7 @@
"timeout": 345,
"actor": {
"APPC":"APPC",
- "MSO": "SO",
+ "SO": "SO",
"VFC": "VFC"
},
"vnfRecipe": {