aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOfir Sonsino <os0695@intl.att.com>2018-08-22 09:35:17 +0000
committerGerrit Code Review <gerrit@onap.org>2018-08-22 09:35:17 +0000
commit3fd63d35ff8eef56e139c403beea776067cc2029 (patch)
tree86e54b8e331b011d199a483da68967ce1890132b
parentd47fd3bfc9aa456091c356122d149166e853f953 (diff)
parent9c2c7e8ce83b8dfda0b4c1fbd875c9c34caf51eb (diff)
Merge "Rename vid-simulator packages"
-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