From b16794663103fe5716af7627e1d420bf4bbd1aa2 Mon Sep 17 00:00:00 2001 From: JulienBe Date: Wed, 19 Aug 2020 11:12:59 +0200 Subject: Add sdc startup in IT Move the Api tests code in the integration-test module, and remove the need to have a container Issue-ID: SDC-3232 Signed-off-by: sebdet Change-Id: Ia2b5d94d958e975867c600597ab5e56dffcd06ab Signed-off-by: JulienBe --- .../src/test/resources/Files/VNFs/Huawei_vHSS.csar | Bin 0 -> 3153 bytes .../src/test/resources/Files/VNFs/Huawei_vMME.csar | Bin 0 -> 2580 bytes .../src/test/resources/Files/VNFs/ZteEpcMmeVf.csar | Bin 0 -> 4806 bytes .../src/test/resources/Files/VNFs/base_vfw.zip | Bin 0 -> 3522 bytes .../src/test/resources/Files/VNFs/base_vvg.zip | Bin 0 -> 944 bytes .../Files/VNFs/database-substitution-mappings.csar | Bin 0 -> 1923 bytes .../src/test/resources/Files/VNFs/infra.zip | Bin 0 -> 4155 bytes .../Files/VNFs/resource-ZteEpcMmeVf-csar_fix.csar | Bin 0 -> 4806 bytes .../src/test/resources/Files/VNFs/vLB.zip | Bin 0 -> 6789 bytes .../src/test/resources/Files/VNFs/vLBMS.zip | Bin 0 -> 7218 bytes .../test/resources/Files/VNFs/vSBC_update_v03.csar | Bin 0 -> 3369 bytes .../src/test/resources/Files/VNFs/vbng.zip | Bin 0 -> 3704 bytes .../src/test/resources/Files/VNFs/vbrgemu.zip | Bin 0 -> 3325 bytes .../src/test/resources/Files/VNFs/vesEvent.yml | 282 +++++++++++++++++++++ .../src/test/resources/Files/VNFs/vfw.zip | Bin 0 -> 3522 bytes .../src/test/resources/Files/VNFs/vgmux.zip | Bin 0 -> 3536 bytes .../src/test/resources/Files/VNFs/vgw.zip | Bin 0 -> 3469 bytes .../src/test/resources/Files/VNFs/vsp-vgw.csar | Bin 0 -> 3153 bytes .../src/test/resources/Files/VNFs/vvg.zip | Bin 0 -> 944 bytes 19 files changed, 282 insertions(+) create mode 100644 integration-tests/src/test/resources/Files/VNFs/Huawei_vHSS.csar create mode 100644 integration-tests/src/test/resources/Files/VNFs/Huawei_vMME.csar create mode 100644 integration-tests/src/test/resources/Files/VNFs/ZteEpcMmeVf.csar create mode 100644 integration-tests/src/test/resources/Files/VNFs/base_vfw.zip create mode 100644 integration-tests/src/test/resources/Files/VNFs/base_vvg.zip create mode 100644 integration-tests/src/test/resources/Files/VNFs/database-substitution-mappings.csar create mode 100644 integration-tests/src/test/resources/Files/VNFs/infra.zip create mode 100644 integration-tests/src/test/resources/Files/VNFs/resource-ZteEpcMmeVf-csar_fix.csar create mode 100644 integration-tests/src/test/resources/Files/VNFs/vLB.zip create mode 100644 integration-tests/src/test/resources/Files/VNFs/vLBMS.zip create mode 100644 integration-tests/src/test/resources/Files/VNFs/vSBC_update_v03.csar create mode 100644 integration-tests/src/test/resources/Files/VNFs/vbng.zip create mode 100644 integration-tests/src/test/resources/Files/VNFs/vbrgemu.zip create mode 100644 integration-tests/src/test/resources/Files/VNFs/vesEvent.yml create mode 100644 integration-tests/src/test/resources/Files/VNFs/vfw.zip create mode 100644 integration-tests/src/test/resources/Files/VNFs/vgmux.zip create mode 100644 integration-tests/src/test/resources/Files/VNFs/vgw.zip create mode 100644 integration-tests/src/test/resources/Files/VNFs/vsp-vgw.csar create mode 100644 integration-tests/src/test/resources/Files/VNFs/vvg.zip (limited to 'integration-tests/src/test/resources/Files/VNFs') diff --git a/integration-tests/src/test/resources/Files/VNFs/Huawei_vHSS.csar b/integration-tests/src/test/resources/Files/VNFs/Huawei_vHSS.csar new file mode 100644 index 0000000000..316d5690f5 Binary files /dev/null and b/integration-tests/src/test/resources/Files/VNFs/Huawei_vHSS.csar differ diff --git a/integration-tests/src/test/resources/Files/VNFs/Huawei_vMME.csar b/integration-tests/src/test/resources/Files/VNFs/Huawei_vMME.csar new file mode 100644 index 0000000000..fe313fff86 Binary files /dev/null and b/integration-tests/src/test/resources/Files/VNFs/Huawei_vMME.csar differ diff --git a/integration-tests/src/test/resources/Files/VNFs/ZteEpcMmeVf.csar b/integration-tests/src/test/resources/Files/VNFs/ZteEpcMmeVf.csar new file mode 100644 index 0000000000..184c223ec2 Binary files /dev/null and b/integration-tests/src/test/resources/Files/VNFs/ZteEpcMmeVf.csar differ diff --git a/integration-tests/src/test/resources/Files/VNFs/base_vfw.zip b/integration-tests/src/test/resources/Files/VNFs/base_vfw.zip new file mode 100644 index 0000000000..b8273defea Binary files /dev/null and b/integration-tests/src/test/resources/Files/VNFs/base_vfw.zip differ diff --git a/integration-tests/src/test/resources/Files/VNFs/base_vvg.zip b/integration-tests/src/test/resources/Files/VNFs/base_vvg.zip new file mode 100644 index 0000000000..dc9ef5d823 Binary files /dev/null and b/integration-tests/src/test/resources/Files/VNFs/base_vvg.zip differ diff --git a/integration-tests/src/test/resources/Files/VNFs/database-substitution-mappings.csar b/integration-tests/src/test/resources/Files/VNFs/database-substitution-mappings.csar new file mode 100644 index 0000000000..6fbf240977 Binary files /dev/null and b/integration-tests/src/test/resources/Files/VNFs/database-substitution-mappings.csar differ diff --git a/integration-tests/src/test/resources/Files/VNFs/infra.zip b/integration-tests/src/test/resources/Files/VNFs/infra.zip new file mode 100644 index 0000000000..09eb9cd648 Binary files /dev/null and b/integration-tests/src/test/resources/Files/VNFs/infra.zip differ diff --git a/integration-tests/src/test/resources/Files/VNFs/resource-ZteEpcMmeVf-csar_fix.csar b/integration-tests/src/test/resources/Files/VNFs/resource-ZteEpcMmeVf-csar_fix.csar new file mode 100644 index 0000000000..72d3d0c869 Binary files /dev/null and b/integration-tests/src/test/resources/Files/VNFs/resource-ZteEpcMmeVf-csar_fix.csar differ diff --git a/integration-tests/src/test/resources/Files/VNFs/vLB.zip b/integration-tests/src/test/resources/Files/VNFs/vLB.zip new file mode 100644 index 0000000000..b61ca1b83b Binary files /dev/null and b/integration-tests/src/test/resources/Files/VNFs/vLB.zip differ diff --git a/integration-tests/src/test/resources/Files/VNFs/vLBMS.zip b/integration-tests/src/test/resources/Files/VNFs/vLBMS.zip new file mode 100644 index 0000000000..c542870bad Binary files /dev/null and b/integration-tests/src/test/resources/Files/VNFs/vLBMS.zip differ diff --git a/integration-tests/src/test/resources/Files/VNFs/vSBC_update_v03.csar b/integration-tests/src/test/resources/Files/VNFs/vSBC_update_v03.csar new file mode 100644 index 0000000000..65d66cd693 Binary files /dev/null and b/integration-tests/src/test/resources/Files/VNFs/vSBC_update_v03.csar differ diff --git a/integration-tests/src/test/resources/Files/VNFs/vbng.zip b/integration-tests/src/test/resources/Files/VNFs/vbng.zip new file mode 100644 index 0000000000..ab5163d9ed Binary files /dev/null and b/integration-tests/src/test/resources/Files/VNFs/vbng.zip differ diff --git a/integration-tests/src/test/resources/Files/VNFs/vbrgemu.zip b/integration-tests/src/test/resources/Files/VNFs/vbrgemu.zip new file mode 100644 index 0000000000..28c69a570f Binary files /dev/null and b/integration-tests/src/test/resources/Files/VNFs/vbrgemu.zip differ diff --git a/integration-tests/src/test/resources/Files/VNFs/vesEvent.yml b/integration-tests/src/test/resources/Files/VNFs/vesEvent.yml new file mode 100644 index 0000000000..ce6a152154 --- /dev/null +++ b/integration-tests/src/test/resources/Files/VNFs/vesEvent.yml @@ -0,0 +1,282 @@ +--- +event: { + presence: required, + action: [ any, any, baseStationSynchronizationProblem, + contact technical support ], + structure: { + commonEventHeader: { + presence: required, + structure: { + domain: { + presence: required, + value: fault + }, + eventName: { + presence: required, + value: 'Fault_1' + }, + eventId: { + presence: required + }, + nfNamingCode: { + value: mrfx + }, + priority: { + presence: required, + value: 'Medium' + }, + reportingEntityId: { + presence: required + }, + reportingEntityName: { + presence: required + }, + sequence: { + presence: required + }, + sourceId: { + presence: required + }, + sourceName: { + presence: required + }, + startEpochMicrosec: { + presence: required + }, + lastEpochMicrosec: { + presence: required + }, + version: { + presence: required, + value: 3.0 + } + } + }, + faultFields: { + presence: required, + structure: { + eventCategory: { + presence: optional, + comment: 'Equipment Alarm' + }, + alarmCondition: { + presence: required, + value: alarm003 + }, + eventSeverity: { + presence: required, + value: MAJOR + }, + eventSourceType: { + presence: required, + value: virtualNetworkFunction + }, + faultFieldsVersion: { + presence: required, + value: 2.0 + }, + specificProblem: { + presence: required, + value: "Configuration file was corrupt or not present" + }, + vfStatus: { + presence: required, + value: "Requesting Termination" + }, + alarmAdditionalInformation: { + required: true, + comment: "Comment" + } + } + } + }, + comment: "comment2" +} + +--- + +event: { + presence: required, + action: [ any, any, baseStationConnectivityLost, + contact technical support ], + structure: { + commonEventHeader: { + presence: required, + structure: { + domain: { + presence: required, + value: fault + }, + eventName: { + presence: required, + value: 'Fault_2' + }, + eventId: { + presence: required + }, + nfNamingCode: { + value: mrfx + }, + priority: { + presence: required, + value: 'Medium' + }, + reportingEntityId: { + presence: required + }, + reportingEntityName: { + presence: required + }, + sequence: { + presence: required + }, + sourceId: { + presence: required + }, + sourceName: { + presence: required + }, + startEpochMicrosec: { + presence: required + }, + lastEpochMicrosec: { + presence: required + }, + version: { + presence: required, + value: 3.0 + } + } + }, + faultFields: { + presence: required, + structure: { + eventCategory: { + presence: optional, + comment: 'Communications Alarm' + }, + alarmCondition: { + presence: required, + value: 'baseStationConnectivityLost' + }, + eventSeverity: { + presence: required + }, + eventSourceType: { + presence: required, + value: 'virtualNetworkFunction' + }, + faultFieldsVersion: { + presence: required, + value: 2.0 + }, + specificProblem: { + presence: required + }, + vfStatus: { + presence: required, + value: "Active" + }, + alarmAdditionalInformation: { + required: true, + comment: "comment' + " + } + } + } + }, + comment: "comment2 + ", +} + +--- +event: { + presence: required, + action: [ any, any, baseStationSoftwareManagementProblem, + contact technical support ], + structure: { + commonEventHeader: { + presence: required, + structure: { + domain: { + presence: required, + value: fault + }, + eventName: { + presence: required, + value: 'Fault_3' + }, + eventId: { + presence: required + }, + nfNamingCode: { + value: mrfx + }, + priority: { + presence: required, + value: 'Medium' + }, + reportingEntityId: { + presence: required + }, + reportingEntityName: { + presence: required + }, + sequence: { + presence: required + }, + sourceId: { + presence: required + }, + sourceName: { + presence: required + }, + startEpochMicrosec: { + presence: required + }, + lastEpochMicrosec: { + presence: required + }, + version: { + presence: required, + value: 3.0 + } + } + }, + faultFields: { + presence: required, + structure: { + eventCategory: { + presence: optional, + comment: 'Processing Error' + }, + alarmCondition: { + presence: required, + value: 'baseStationsoftwareManagementProblem' + }, + eventSeverity: { + presence: required + }, + eventSourceType: { + presence: required + }, + faultFieldsVersion: { + presence: required, + value: 3.0 + }, + specificProblem: { + presence: required + }, + vfStatus: { + presence: required, + value: "Active" + }, + alarmAdditionalInformation: { + required: true, + comment: "comment" + } + } + } + }, + comment: "comment2" +} \ No newline at end of file diff --git a/integration-tests/src/test/resources/Files/VNFs/vfw.zip b/integration-tests/src/test/resources/Files/VNFs/vfw.zip new file mode 100644 index 0000000000..b8273defea Binary files /dev/null and b/integration-tests/src/test/resources/Files/VNFs/vfw.zip differ diff --git a/integration-tests/src/test/resources/Files/VNFs/vgmux.zip b/integration-tests/src/test/resources/Files/VNFs/vgmux.zip new file mode 100644 index 0000000000..56de952150 Binary files /dev/null and b/integration-tests/src/test/resources/Files/VNFs/vgmux.zip differ diff --git a/integration-tests/src/test/resources/Files/VNFs/vgw.zip b/integration-tests/src/test/resources/Files/VNFs/vgw.zip new file mode 100644 index 0000000000..7a14718c2c Binary files /dev/null and b/integration-tests/src/test/resources/Files/VNFs/vgw.zip differ diff --git a/integration-tests/src/test/resources/Files/VNFs/vsp-vgw.csar b/integration-tests/src/test/resources/Files/VNFs/vsp-vgw.csar new file mode 100644 index 0000000000..316d5690f5 Binary files /dev/null and b/integration-tests/src/test/resources/Files/VNFs/vsp-vgw.csar differ diff --git a/integration-tests/src/test/resources/Files/VNFs/vvg.zip b/integration-tests/src/test/resources/Files/VNFs/vvg.zip new file mode 100644 index 0000000000..dc9ef5d823 Binary files /dev/null and b/integration-tests/src/test/resources/Files/VNFs/vvg.zip differ -- cgit 1.2.3-korg