aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator
diff options
context:
space:
mode:
Diffstat (limited to 'test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator')
-rw-r--r--test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/message/MessageProviderTest/notificationParams.json6
-rw-r--r--test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/message/MessageProviderTest/pnfRegistrationParams.json6
-rw-r--r--test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/rest/SimulatorControllerTest/incorrectJson.json12
-rw-r--r--test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/rest/SimulatorControllerTest/pnfRegistration.json24
-rw-r--r--test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/SimulatorFactoryTest/invalidPnfRegistrationParams1.json14
-rw-r--r--test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/SimulatorFactoryTest/invalidPnfRegistrationParams2.json15
-rw-r--r--test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/SimulatorFactoryTest/invalidPnfRegistrationParams3.json14
-rw-r--r--test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/SimulatorFactoryTest/invalidSimulatorParams.json4
-rw-r--r--test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/SimulatorFactoryTest/validCommonEventHeaderParams.json (renamed from test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/validCommonEventHeaderParams.json)0
-rw-r--r--test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/SimulatorFactoryTest/validNotificationParams.json (renamed from test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/validNotificationParams.json)0
-rw-r--r--test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/SimulatorFactoryTest/validPnfRegistrationParams.json (renamed from test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/validPnfRegistrationParams.json)0
-rw-r--r--test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/SimulatorFactoryTest/validSimulatorParams.json (renamed from test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/validSimulatorParams.json)0
12 files changed, 95 insertions, 0 deletions
diff --git a/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/message/MessageProviderTest/notificationParams.json b/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/message/MessageProviderTest/notificationParams.json
new file mode 100644
index 000000000..b73c379a8
--- /dev/null
+++ b/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/message/MessageProviderTest/notificationParams.json
@@ -0,0 +1,6 @@
+{
+ "notKey1": "notVal1",
+ "notKey2": "notVal2",
+ "notKey3": "notVal3",
+ "notKey4": "notVal4"
+} \ No newline at end of file
diff --git a/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/message/MessageProviderTest/pnfRegistrationParams.json b/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/message/MessageProviderTest/pnfRegistrationParams.json
new file mode 100644
index 000000000..95446bf80
--- /dev/null
+++ b/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/message/MessageProviderTest/pnfRegistrationParams.json
@@ -0,0 +1,6 @@
+{
+ "pnfKey1": "pnfVal1",
+ "pnfKey2": "pnfVal2",
+ "pnfKey3": "pnfVal3",
+ "pnfKey4": "pnfVal4"
+} \ No newline at end of file
diff --git a/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/rest/SimulatorControllerTest/incorrectJson.json b/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/rest/SimulatorControllerTest/incorrectJson.json
new file mode 100644
index 000000000..682afac9f
--- /dev/null
+++ b/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/rest/SimulatorControllerTest/incorrectJson.json
@@ -0,0 +1,12 @@
+{
+ "mes": {
+ "vesServerUrl": "http://10.154.187.70:8080/eventListener/v5",
+ "testDuration": "10",
+ "messageInterval": "1"
+ },
+ "messageParams": {
+ "sourceName": "val12",
+ "sourceId": "val13",
+ "reportingEntityName": "val14"
+ }
+} \ No newline at end of file
diff --git a/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/rest/SimulatorControllerTest/pnfRegistration.json b/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/rest/SimulatorControllerTest/pnfRegistration.json
new file mode 100644
index 000000000..a7bf487e7
--- /dev/null
+++ b/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/rest/SimulatorControllerTest/pnfRegistration.json
@@ -0,0 +1,24 @@
+{
+ "simulatorParams": {
+ "vesServerUrl": "http://10.154.187.70:8080/eventListener/v7",
+ "testDuration": "10",
+ "messageInterval": "1"
+ },
+ "commonEventHeaderParams": {
+ "eventName": "val11",
+ "nfNamingCode": "val12",
+ "nfcNamingCode": "val13",
+ "sourceName": "val14",
+ "sourceId": "val15",
+ "reportingEntityName": "val16"
+ },
+ "pnfRegistrationParams": {
+ "SerialNumber": "val1",
+ "VendorName": "val2",
+ "OamIpv4Address": "val3",
+ "OamIpv6Address": "val4",
+ "Family": "val5",
+ "ModelNumber": "val6",
+ "SoftwareVersion": "val7"
+ }
+} \ No newline at end of file
diff --git a/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/SimulatorFactoryTest/invalidPnfRegistrationParams1.json b/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/SimulatorFactoryTest/invalidPnfRegistrationParams1.json
new file mode 100644
index 000000000..eb9b4c156
--- /dev/null
+++ b/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/SimulatorFactoryTest/invalidPnfRegistrationParams1.json
@@ -0,0 +1,14 @@
+{
+ "pnfSerialNumber": "val1",
+ "pnfVendorName": "val2",
+ "pnfFamily": "val5",
+ "pnfModelNumber": "val6",
+ "pnfSoftwareVersion": "val7",
+ "pnfType": "val8",
+ "eventName": "val9",
+ "nfNamingCode": "val10",
+ "nfcNamingCode": "val11",
+ "sourceName": "val12",
+ "sourceId": "val13",
+ "reportingEntityName": "val14"
+} \ No newline at end of file
diff --git a/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/SimulatorFactoryTest/invalidPnfRegistrationParams2.json b/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/SimulatorFactoryTest/invalidPnfRegistrationParams2.json
new file mode 100644
index 000000000..9196caa30
--- /dev/null
+++ b/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/SimulatorFactoryTest/invalidPnfRegistrationParams2.json
@@ -0,0 +1,15 @@
+{
+ "pnfVendorName": "val2",
+ "pnfOamIpv4Address": "val3",
+ "pnfOamIpv6Address": "val4",
+ "pnfFamily": "val5",
+ "pnfModelNumber": "val6",
+ "pnfSoftwareVersion": "val7",
+ "pnfType": "val8",
+ "eventName": "val9",
+ "nfNamingCode": "val10",
+ "nfcNamingCode": "val11",
+ "sourceName": "val12",
+ "sourceId": "val13",
+ "reportingEntityName": "val14"
+} \ No newline at end of file
diff --git a/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/SimulatorFactoryTest/invalidPnfRegistrationParams3.json b/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/SimulatorFactoryTest/invalidPnfRegistrationParams3.json
new file mode 100644
index 000000000..e8734e6a0
--- /dev/null
+++ b/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/SimulatorFactoryTest/invalidPnfRegistrationParams3.json
@@ -0,0 +1,14 @@
+{
+ "pnfSerialNumber": "val1",
+ "pnfOamIpv4Address": "val3",
+ "pnfFamily": "val5",
+ "pnfModelNumber": "val6",
+ "pnfSoftwareVersion": "val7",
+ "pnfType": "val8",
+ "eventName": "val9",
+ "nfNamingCode": "val10",
+ "nfcNamingCode": "val11",
+ "sourceName": "val12",
+ "sourceId": "val13",
+ "reportingEntityName": "val14"
+} \ No newline at end of file
diff --git a/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/SimulatorFactoryTest/invalidSimulatorParams.json b/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/SimulatorFactoryTest/invalidSimulatorParams.json
new file mode 100644
index 000000000..be7b79477
--- /dev/null
+++ b/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/SimulatorFactoryTest/invalidSimulatorParams.json
@@ -0,0 +1,4 @@
+{
+ "vesServerUrl": "http://10.42.111.42:8080/eventListener/v5",
+ "messageInterval": "1"
+} \ No newline at end of file
diff --git a/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/validCommonEventHeaderParams.json b/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/SimulatorFactoryTest/validCommonEventHeaderParams.json
index e0f455045..e0f455045 100644
--- a/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/validCommonEventHeaderParams.json
+++ b/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/SimulatorFactoryTest/validCommonEventHeaderParams.json
diff --git a/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/validNotificationParams.json b/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/SimulatorFactoryTest/validNotificationParams.json
index f7f463d3d..f7f463d3d 100644
--- a/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/validNotificationParams.json
+++ b/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/SimulatorFactoryTest/validNotificationParams.json
diff --git a/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/validPnfRegistrationParams.json b/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/SimulatorFactoryTest/validPnfRegistrationParams.json
index b95f8e60a..b95f8e60a 100644
--- a/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/validPnfRegistrationParams.json
+++ b/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/SimulatorFactoryTest/validPnfRegistrationParams.json
diff --git a/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/validSimulatorParams.json b/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/SimulatorFactoryTest/validSimulatorParams.json
index 6485ee4a4..6485ee4a4 100644
--- a/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/validSimulatorParams.json
+++ b/test/mocks/pnfsimulator/src/test/resources/org/onap/pnfsimulator/simulator/SimulatorFactoryTest/validSimulatorParams.json