Revert placementInfo to placement in SniroHoming

Issue-ID: SO-628
Change-Id: I6e9e44d453a72b4e9ec1a0abe99eb8028aa5ba1a
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
diff --git a/bpmn/MSOCommonBPMN/src/main/groovy/org/openecomp/mso/bpmn/common/scripts/SniroHoming.groovy b/bpmn/MSOCommonBPMN/src/main/groovy/org/openecomp/mso/bpmn/common/scripts/SniroHoming.groovy
index 3f53437..0fdd790 100755
--- a/bpmn/MSOCommonBPMN/src/main/groovy/org/openecomp/mso/bpmn/common/scripts/SniroHoming.groovy
+++ b/bpmn/MSOCommonBPMN/src/main/groovy/org/openecomp/mso/bpmn/common/scripts/SniroHoming.groovy
@@ -182,7 +182,7 @@
             utils.logAudit("Sniro Async Callback Response is: " + response)
 
             sniroUtils.validateCallbackResponse(execution, response)
-            String placements = jsonUtil.getJsonValue(response, "solutionInfo.placementInfo")
+            String placements = jsonUtil.getJsonValue(response, "solutionInfo.placement")
 
             ServiceDecomposition decomposition = execution.getVariable("serviceDecomposition")
             utils.log("DEBUG", "Service Decomposition: " + decomposition, isDebugEnabled)
diff --git a/bpmn/MSOCommonBPMN/src/test/java/org/openecomp/mso/bpmn/common/WorkflowTest.java b/bpmn/MSOCommonBPMN/src/test/java/org/openecomp/mso/bpmn/common/WorkflowTest.java
index 9b8a249..de25107 100644
--- a/bpmn/MSOCommonBPMN/src/test/java/org/openecomp/mso/bpmn/common/WorkflowTest.java
+++ b/bpmn/MSOCommonBPMN/src/test/java/org/openecomp/mso/bpmn/common/WorkflowTest.java
@@ -1526,7 +1526,7 @@
 				}

 				else {

 					try {

-						String homingList = getJsonValue(content, "solutionInfo.placementInfo");

+						String homingList = getJsonValue(content, "solutionInfo.placement");

 						String licenseInfoList = getJsonValue(content, "solutionInfo.licenseInfo");

 						JSONArray placementArr = new JSONArray(homingList);

 						JSONArray licenseArr = new JSONArray(licenseInfoList);

@@ -1558,7 +1558,7 @@
 						}

 						String newPlacementInfos = placementArr.toString();

 						String newLicenseInfos = licenseArr.toString();

-						content = updJsonValue(content, "solutionInfo.placementInfo", newPlacementInfos);

+						content = updJsonValue(content, "solutionInfo.placement", newPlacementInfos);

 						content = updJsonValue(content, "solutionInfo.licenseInfo", newLicenseInfos);

 					}

 					catch(Exception e) {

diff --git a/bpmn/MSOCoreBPMN/src/test/java/org/openecomp/mso/bpmn/core/json/JsonUtilsTest.java b/bpmn/MSOCoreBPMN/src/test/java/org/openecomp/mso/bpmn/core/json/JsonUtilsTest.java
index 7bb1000..644f983 100644
--- a/bpmn/MSOCoreBPMN/src/test/java/org/openecomp/mso/bpmn/core/json/JsonUtilsTest.java
+++ b/bpmn/MSOCoreBPMN/src/test/java/org/openecomp/mso/bpmn/core/json/JsonUtilsTest.java
@@ -52,7 +52,7 @@
 	public void entryArrayToMapTest() throws IOException {
 		JsonUtils utils = new JsonUtils();
 		String response = this.getJson("SNIROExample.json");
-		String entry = utils.getJsonValue(response, "solutionInfo.placementInfo");
+		String entry = utils.getJsonValue(response, "solutionInfo.placement");
 		JSONArray arr = new JSONArray(entry);
 		JSONObject homingDataJson = arr.getJSONObject(0);
 		JSONArray assignmentInfo = homingDataJson.getJSONArray("assignmentInfo");
diff --git a/bpmn/MSOCoreBPMN/src/test/resources/json-examples/SNIROExample.json b/bpmn/MSOCoreBPMN/src/test/resources/json-examples/SNIROExample.json
index 838bcd8..7e56b1a 100644
--- a/bpmn/MSOCoreBPMN/src/test/resources/json-examples/SNIROExample.json
+++ b/bpmn/MSOCoreBPMN/src/test/resources/json-examples/SNIROExample.json
@@ -11,7 +11,7 @@
 				]
 			}
 		],
-		"placementInfo": [
+		"placement": [
 			{
 				"assignmentInfo": [
 					{