summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoanna Jeremicz <joanna.jeremicz@nokia.com>2018-08-21 13:29:02 +0200
committerJoanna Jeremicz <joanna.jeremicz@nokia.com>2018-08-21 14:35:17 +0200
commit9c2c7e8ce83b8dfda0b4c1fbd875c9c34caf51eb (patch)
tree831dd1796dd8b05ed7c2681d5fd3c19e40ec3fe4
parent6447784fdd770e8a2b4ef2c52ba206d35c0fd325 (diff)
Rename vid-simulator packages
- Rename from openecomp to onap and update imports - Fix small bug in README.txt Change-Id: I099b010adf7ed6dd708c9feae0340be462b1d195 Issue-ID: VID-205 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
-rw-r--r--vid-ext-services-simulator/README.txt2
-rw-r--r--vid-ext-services-simulator/src/main/java/org/onap/simulator/controller/SimulatorController.java (renamed from vid-ext-services-simulator/src/main/java/org/openecomp/simulator/controller/SimulatorController.java)6
-rw-r--r--vid-ext-services-simulator/src/main/java/org/onap/simulator/errorHandling/VidSimulatorException.java (renamed from vid-ext-services-simulator/src/main/java/org/openecomp/simulator/errorHandling/VidSimulatorException.java)2
-rw-r--r--vid-ext-services-simulator/src/main/java/org/onap/simulator/model/Misc.java (renamed from vid-ext-services-simulator/src/main/java/org/openecomp/simulator/model/Misc.java)2
-rw-r--r--vid-ext-services-simulator/src/main/java/org/onap/simulator/model/SimulatorRequest.java (renamed from vid-ext-services-simulator/src/main/java/org/openecomp/simulator/model/SimulatorRequest.java)2
-rw-r--r--vid-ext-services-simulator/src/main/java/org/onap/simulator/model/SimulatorRequestResponseExpectation.java (renamed from vid-ext-services-simulator/src/main/java/org/openecomp/simulator/model/SimulatorRequestResponseExpectation.java)2
-rw-r--r--vid-ext-services-simulator/src/main/java/org/onap/simulator/model/SimulatorResponse.java (renamed from vid-ext-services-simulator/src/main/java/org/openecomp/simulator/model/SimulatorResponse.java)2
-rw-r--r--vid-ext-services-simulator/src/main/java/org/onap/simulator/service/TranslatorService.java (renamed from vid-ext-services-simulator/src/main/java/org/openecomp/simulator/service/TranslatorService.java)4
-rw-r--r--vid-ext-services-simulator/src/main/webapp/WEB-INF/rest-servlet.xml2
9 files changed, 12 insertions, 12 deletions
diff --git a/vid-ext-services-simulator/README.txt b/vid-ext-services-simulator/README.txt
index 71a4e351d..033210309 100644
--- a/vid-ext-services-simulator/README.txt
+++ b/vid-ext-services-simulator/README.txt
@@ -254,7 +254,7 @@ Running - sunny flow:
GET /vidSimulator/scheduler/testApiGet HTTP/1.1
Host: localhost:7080
Content-Type: application/json
- X-Simulator-Id: pavelId
+ X-Simulator-Id: pavelIdGet
Cache-Control: no-cache
Response:
diff --git a/vid-ext-services-simulator/src/main/java/org/openecomp/simulator/controller/SimulatorController.java b/vid-ext-services-simulator/src/main/java/org/onap/simulator/controller/SimulatorController.java
index c8b4083dc..b67c98ee9 100644
--- a/vid-ext-services-simulator/src/main/java/org/openecomp/simulator/controller/SimulatorController.java
+++ b/vid-ext-services-simulator/src/main/java/org/onap/simulator/controller/SimulatorController.java
@@ -1,4 +1,4 @@
-package org.openecomp.simulator.controller;
+package org.onap.simulator.controller;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
@@ -10,8 +10,8 @@ import static org.mockserver.model.HttpRequest.request;
import static org.mockserver.model.HttpResponse.response;
import org.mockserver.model.JsonBody;
-import org.openecomp.simulator.errorHandling.VidSimulatorException;
-import org.openecomp.simulator.model.SimulatorRequestResponseExpectation;
+import org.onap.simulator.errorHandling.VidSimulatorException;
+import org.onap.simulator.model.SimulatorRequestResponseExpectation;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.core.io.ClassPathResource;
diff --git a/vid-ext-services-simulator/src/main/java/org/openecomp/simulator/errorHandling/VidSimulatorException.java b/vid-ext-services-simulator/src/main/java/org/onap/simulator/errorHandling/VidSimulatorException.java
index 3a67f26c2..0da482549 100644
--- a/vid-ext-services-simulator/src/main/java/org/openecomp/simulator/errorHandling/VidSimulatorException.java
+++ b/vid-ext-services-simulator/src/main/java/org/onap/simulator/errorHandling/VidSimulatorException.java
@@ -1,4 +1,4 @@
-package org.openecomp.simulator.errorHandling;
+package org.onap.simulator.errorHandling;
public class VidSimulatorException extends Exception {
diff --git a/vid-ext-services-simulator/src/main/java/org/openecomp/simulator/model/Misc.java b/vid-ext-services-simulator/src/main/java/org/onap/simulator/model/Misc.java
index 03cb498a7..f5750dd78 100644
--- a/vid-ext-services-simulator/src/main/java/org/openecomp/simulator/model/Misc.java
+++ b/vid-ext-services-simulator/src/main/java/org/onap/simulator/model/Misc.java
@@ -1,4 +1,4 @@
-package org.openecomp.simulator.model;
+package org.onap.simulator.model;
public class Misc {
private Integer numberOfTimes;
diff --git a/vid-ext-services-simulator/src/main/java/org/openecomp/simulator/model/SimulatorRequest.java b/vid-ext-services-simulator/src/main/java/org/onap/simulator/model/SimulatorRequest.java
index 6c619b399..9e298b916 100644
--- a/vid-ext-services-simulator/src/main/java/org/openecomp/simulator/model/SimulatorRequest.java
+++ b/vid-ext-services-simulator/src/main/java/org/onap/simulator/model/SimulatorRequest.java
@@ -1,4 +1,4 @@
-package org.openecomp.simulator.model;
+package org.onap.simulator.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.JsonNode;
diff --git a/vid-ext-services-simulator/src/main/java/org/openecomp/simulator/model/SimulatorRequestResponseExpectation.java b/vid-ext-services-simulator/src/main/java/org/onap/simulator/model/SimulatorRequestResponseExpectation.java
index 566de5c6a..a7d3a9b7b 100644
--- a/vid-ext-services-simulator/src/main/java/org/openecomp/simulator/model/SimulatorRequestResponseExpectation.java
+++ b/vid-ext-services-simulator/src/main/java/org/onap/simulator/model/SimulatorRequestResponseExpectation.java
@@ -1,4 +1,4 @@
-package org.openecomp.simulator.model;
+package org.onap.simulator.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import org.slf4j.Logger;
diff --git a/vid-ext-services-simulator/src/main/java/org/openecomp/simulator/model/SimulatorResponse.java b/vid-ext-services-simulator/src/main/java/org/onap/simulator/model/SimulatorResponse.java
index 799075771..4836185f9 100644
--- a/vid-ext-services-simulator/src/main/java/org/openecomp/simulator/model/SimulatorResponse.java
+++ b/vid-ext-services-simulator/src/main/java/org/onap/simulator/model/SimulatorResponse.java
@@ -1,4 +1,4 @@
-package org.openecomp.simulator.model;
+package org.onap.simulator.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.JsonNode;
diff --git a/vid-ext-services-simulator/src/main/java/org/openecomp/simulator/service/TranslatorService.java b/vid-ext-services-simulator/src/main/java/org/onap/simulator/service/TranslatorService.java
index f675d39fe..3894e90db 100644
--- a/vid-ext-services-simulator/src/main/java/org/openecomp/simulator/service/TranslatorService.java
+++ b/vid-ext-services-simulator/src/main/java/org/onap/simulator/service/TranslatorService.java
@@ -1,8 +1,8 @@
-//package org.openecomp.simulator.service;
+//package org.onap.simulator.service;
//
//import org.mockserver.model.HttpRequest;
//import org.mockserver.model.HttpResponse;
-//import org.openecomp.simulator.model.ExpectationModel;
+//import org.onap.simulator.model.ExpectationModel;
//import org.springframework.stereotype.Component;
//
//import static org.mockserver.model.HttpRequest.request;
diff --git a/vid-ext-services-simulator/src/main/webapp/WEB-INF/rest-servlet.xml b/vid-ext-services-simulator/src/main/webapp/WEB-INF/rest-servlet.xml
index 6d06fea1e..30c31285b 100644
--- a/vid-ext-services-simulator/src/main/webapp/WEB-INF/rest-servlet.xml
+++ b/vid-ext-services-simulator/src/main/webapp/WEB-INF/rest-servlet.xml
@@ -9,5 +9,5 @@
<context:component-scan
- base-package="org.openecomp.simulator" />
+ base-package="org.onap.simulator" />
</beans> \ No newline at end of file