Merge "Add correlationId to ServiceInstancesRequest"
[so.git] / mso-api-handlers / mso-api-handler-infra / src / test / java / org / openecomp / mso / apihandlerinfra / E2EServiceInstancesTest.java
index 5c4ddfb..901e03f 100644 (file)
@@ -199,7 +199,7 @@ public class E2EServiceInstancesTest {
                                HttpResponse resp = new BasicHttpResponse(pv, 202,
                                                "test response");
                                BasicHttpEntity entity = new BasicHttpEntity();
-                               String body = "{\"response\":\"success\",\"message\":\"success\"}";
+                               String body = "{\"content\":\"success\",\"message\":\"success\"}";
                                InputStream instream = new ByteArrayInputStream(body.getBytes());
                                entity.setContent(instream);
                                resp.setEntity(entity);
@@ -258,7 +258,7 @@ public class E2EServiceInstancesTest {
                                HttpResponse resp = new BasicHttpResponse(pv, 500,
                                                "test response");
                                BasicHttpEntity entity = new BasicHttpEntity();
-                               String body = "{\"response\":\"success\",\"message\":\"success\"}";
+                               String body = "{\"content\":\"success\",\"message\":\"success\"}";
                                InputStream instream = new ByteArrayInputStream(body.getBytes());
                                entity.setContent(instream);
                                resp.setEntity(entity);
@@ -318,7 +318,7 @@ public class E2EServiceInstancesTest {
                                HttpResponse resp = new BasicHttpResponse(pv, 500,
                                                "test response");
                                BasicHttpEntity entity = new BasicHttpEntity();
-                               String body = "{\"response\":\"\",\"message\":\"success\"}";
+                               String body = "{\"content\":\"\",\"message\":\"success\"}";
                                InputStream instream = new ByteArrayInputStream(body.getBytes());
                                entity.setContent(instream);
                                resp.setEntity(entity);
@@ -609,7 +609,7 @@ public class E2EServiceInstancesTest {
                 ProtocolVersion pv = new ProtocolVersion("HTTP", 1, 1);
                 HttpResponse resp = new BasicHttpResponse(pv, 200, "test response");
                 BasicHttpEntity entity = new BasicHttpEntity();
-                String body = "{\"response\":\"success\",\"message\":\"success\"}";
+                String body = "{\"content\":\"success\",\"message\":\"success\"}";
                 InputStream instream = new ByteArrayInputStream(body.getBytes());
                 entity.setContent(instream);
                 resp.setEntity(entity);
@@ -802,7 +802,7 @@ public class E2EServiceInstancesTest {
                                HttpResponse resp = new BasicHttpResponse(pv, 202,
                                                "test response");
                                BasicHttpEntity entity = new BasicHttpEntity();
-                               String body = "{\"response\":\"success\",\"message\":\"success\"}";
+                               String body = "{\"content\":\"success\",\"message\":\"success\"}";
                                InputStream instream = new ByteArrayInputStream(body.getBytes());
                                entity.setContent(instream);
                                resp.setEntity(entity);
@@ -863,7 +863,7 @@ public class E2EServiceInstancesTest {
                                HttpResponse resp = new BasicHttpResponse(pv, 202,
                                                "test response");
                                BasicHttpEntity entity = new BasicHttpEntity();
-                               String body = "{\"response\":\"success\",\"message\":\"success\"}";
+                               String body = "{\"content\":\"success\",\"message\":\"success\"}";
                                InputStream instream = new ByteArrayInputStream(body.getBytes());
                                entity.setContent(instream);
                                resp.setEntity(entity);
@@ -925,7 +925,7 @@ public class E2EServiceInstancesTest {
                 HttpResponse resp = new BasicHttpResponse(pv, 202,
                         "test response");
                 BasicHttpEntity entity = new BasicHttpEntity();
-                String body = "{\"response\":\"success\",\"message\":\"success\"}";
+                String body = "{\"content\":\"success\",\"message\":\"success\"}";
                 InputStream instream = new ByteArrayInputStream(body.getBytes());
                 entity.setContent(instream);
                 resp.setEntity(entity);
@@ -992,7 +992,7 @@ public class E2EServiceInstancesTest {
                 HttpResponse resp = new BasicHttpResponse(pv, 202,
                         "test response");
                 BasicHttpEntity entity = new BasicHttpEntity();
-                String body = "{\"response\":\"success\",\"message\":\"success\"}";
+                String body = "{\"content\":\"success\",\"message\":\"success\"}";
                 InputStream instream = new ByteArrayInputStream(body.getBytes());
                 entity.setContent(instream);
                 resp.setEntity(entity);
@@ -1053,7 +1053,7 @@ public class E2EServiceInstancesTest {
                 HttpResponse resp = new BasicHttpResponse(pv, 202,
                         "test response");
                 BasicHttpEntity entity = new BasicHttpEntity();
-                String body = "{\"response\":\"success\",\"message\":\"success\"}";
+                String body = "{\"content\":\"success\",\"message\":\"success\"}";
                 InputStream instream = new ByteArrayInputStream(body.getBytes());
                 entity.setContent(instream);
                 resp.setEntity(entity);
@@ -1160,7 +1160,7 @@ public class E2EServiceInstancesTest {
                 HttpResponse resp = new BasicHttpResponse(pv, 202,
                         "compareModelwithTargetVersion, test response");
                 BasicHttpEntity entity = new BasicHttpEntity();
-                String body = "{\"response\":\"success\",\"message\":\"success\"}";
+                String body = "{\"content\":\"success\",\"message\":\"success\"}";
                 InputStream instream = new ByteArrayInputStream(body.getBytes());
                 entity.setContent(instream);
                 resp.setEntity(entity);
@@ -1229,7 +1229,7 @@ public class E2EServiceInstancesTest {
                 HttpResponse resp = new BasicHttpResponse(pv, 202,
                         "test response");
                 BasicHttpEntity entity = new BasicHttpEntity();
-                String body = "{\"response\":\"success\",\"message\":\"success\"}";
+                String body = "{\"content\":\"success\",\"message\":\"success\"}";
                 InputStream instream = new ByteArrayInputStream(body.getBytes());
                 entity.setContent(instream);
                 resp.setEntity(entity);