aboutsummaryrefslogtreecommitdiffstats
path: root/integration-tests/src/test/resources/Files
diff options
context:
space:
mode:
authorJulienBe <julien.bertozzi@intl.att.com>2020-08-19 11:12:59 +0200
committerSébastien Determe <sebastien.determe@intl.att.com>2020-08-22 20:22:02 +0000
commitb16794663103fe5716af7627e1d420bf4bbd1aa2 (patch)
tree9d2050a6096a708f87e4e31b2eac399b965b9e5b /integration-tests/src/test/resources/Files
parent056998c45c0f1e320a0adb1cb23318b6435ac11a (diff)
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 <sebastien.determe@intl.att.com> Change-Id: Ia2b5d94d958e975867c600597ab5e56dffcd06ab Signed-off-by: JulienBe <julien.bertozzi@intl.att.com>
Diffstat (limited to 'integration-tests/src/test/resources/Files')
-rw-r--r--integration-tests/src/test/resources/Files/PNFs/pmDictionary.yml98
-rw-r--r--integration-tests/src/test/resources/Files/PNFs/sample-pnf-1.0.1-SNAPSHOT.csarbin0 -> 24623 bytes
-rw-r--r--integration-tests/src/test/resources/Files/PNFs/sample-pnf-custom-type.csarbin0 -> 24874 bytes
-rw-r--r--integration-tests/src/test/resources/Files/PNFs/sample-signed-pnf-1.0.1-SNAPSHOT.zipbin0 -> 23905 bytes
-rw-r--r--integration-tests/src/test/resources/Files/PNFs/sample-signed-pnf-cms-includes-cert-1.0.1-SNAPSHOT.zipbin0 -> 23568 bytes
-rw-r--r--integration-tests/src/test/resources/Files/VNFs/Huawei_vHSS.csarbin0 -> 3153 bytes
-rw-r--r--integration-tests/src/test/resources/Files/VNFs/Huawei_vMME.csarbin0 -> 2580 bytes
-rw-r--r--integration-tests/src/test/resources/Files/VNFs/ZteEpcMmeVf.csarbin0 -> 4806 bytes
-rw-r--r--integration-tests/src/test/resources/Files/VNFs/base_vfw.zipbin0 -> 3522 bytes
-rw-r--r--integration-tests/src/test/resources/Files/VNFs/base_vvg.zipbin0 -> 944 bytes
-rw-r--r--integration-tests/src/test/resources/Files/VNFs/database-substitution-mappings.csarbin0 -> 1923 bytes
-rw-r--r--integration-tests/src/test/resources/Files/VNFs/infra.zipbin0 -> 4155 bytes
-rw-r--r--integration-tests/src/test/resources/Files/VNFs/resource-ZteEpcMmeVf-csar_fix.csarbin0 -> 4806 bytes
-rw-r--r--integration-tests/src/test/resources/Files/VNFs/vLB.zipbin0 -> 6789 bytes
-rw-r--r--integration-tests/src/test/resources/Files/VNFs/vLBMS.zipbin0 -> 7218 bytes
-rw-r--r--integration-tests/src/test/resources/Files/VNFs/vSBC_update_v03.csarbin0 -> 3369 bytes
-rw-r--r--integration-tests/src/test/resources/Files/VNFs/vbng.zipbin0 -> 3704 bytes
-rw-r--r--integration-tests/src/test/resources/Files/VNFs/vbrgemu.zipbin0 -> 3325 bytes
-rw-r--r--integration-tests/src/test/resources/Files/VNFs/vesEvent.yml282
-rw-r--r--integration-tests/src/test/resources/Files/VNFs/vfw.zipbin0 -> 3522 bytes
-rw-r--r--integration-tests/src/test/resources/Files/VNFs/vgmux.zipbin0 -> 3536 bytes
-rw-r--r--integration-tests/src/test/resources/Files/VNFs/vgw.zipbin0 -> 3469 bytes
-rw-r--r--integration-tests/src/test/resources/Files/VNFs/vsp-vgw.csarbin0 -> 3153 bytes
-rw-r--r--integration-tests/src/test/resources/Files/VNFs/vvg.zipbin0 -> 944 bytes
24 files changed, 380 insertions, 0 deletions
diff --git a/integration-tests/src/test/resources/Files/PNFs/pmDictionary.yml b/integration-tests/src/test/resources/Files/PNFs/pmDictionary.yml
new file mode 100644
index 0000000000..fa3ed531e7
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/PNFs/pmDictionary.yml
@@ -0,0 +1,98 @@
+---
+# PM Dictionary Schema
+pmMetaData: { presence: required, structure: {
+ pmHeader: { presence: required, structure: {
+ pmDefVsn: { presence: required, comment: “Version of the PM Dictionary artifact that contains this measurement. Vendor defined.”},
+ pmDefSchemaVsn: { presence: required, comment: “PM Dictionary schema version from the VES Event Registration specification.”},
+ nfType: { presence: required, comment: “NF type to whom this measurement applies. This should match the nfName-vendor string used in the fileReady or perf3gpp eventName.”}
+ } } ,
+ pmFields: { presence: required, structure: {
+ measType: { presence: required, comment: “Measurement name used in PM file, in 3GPP format where specified, else vendor defined. Names for 3GPP-defined 4G measurements are specified in 3GPP TS 32.425 item e). Names for 3GPP-defined 5G measurements are specified in 3GPP TS 28.552 item e). Vendor defined names are preceded with VS.”},
+ iMeasType: { presence: required, comment: “Vendor defined integer identifier for the measType, used for efficiency in GPB. Must be combined with measInfoId to identify a specific measurement.”},
+ measDescription: { presence: required, comment: “Text description of the purpose of the measurement, what information does the measurement provide.”},
+ measCondition: { presence: required, comment: “Text description of the condition that causes the measurement to be updated.”},
+ measResultType: { presence: required, value: [integer], comment: “Data type of the measurement result.”},
+ measResultRange: { presence: optional, comment: “Range of the measurement result. Only necessary when the range is smaller than the full range of the data type.”},
+ measResultUnits: { presence: required, value: [seconds, minutes, nanoseconds, microseconds, dB, number, kilobytes, bytes, ethernetFrames, packets, users], comment: “Units of measure of the measurement result.”},
+ measObjClass: { presence: required, comment: “Object class of the measurement.”},
+ measCollectionMethod: { presence: required, value: [CC, SI, DER, Gauge, Average], comment: “Measurement collection method of the measurement. CC, SI, DER and Gauge are as defined in 3GPP. Average contains the average value of the measurement during the granularity period.”},
+ measLastChange: { presence: required, comment: “Version of the PM Dictionary artifact the last time this measurement was added, modified or deleted.”},
+ measChangeType: { presence: required, value: [added, modified, deleted], comment: “Indicates the type of change that occurred during the measLastChange.”},
+ measInfoId: { presence: required, comment: “Name for a group of related measurements, in 3GPP format where specified, else vendor defined. Family names for 3GPP-defined 4G measurements are specified in 3GPP TS 32.425 Section 3.1. Family names for 3GPP-defined 5G measurements are specified in 3GPP TS 28.552 Section 3.4.”},
+ iMeasInfoId: { presence: required, comment: “Vendor defined integer identifier for the measInfoId, used for efficiency in GPB.”},
+ measFamily: { presence: required, comment: “Abbreviation for a family of measurements, in 3GPP format where specified, else vendor defined.”},
+ measAdditionalFields: { presence: required, comment: “This section contains vendor specific measurement fields.”, structure: {
+ measAggregationLevels: { presence: required, value: [NRBTS, NRCellCU, NRCellDU, IPNO, IPSEC, ETHIF], comment: “A list of one or more aggregations levels that Nokia recommends for this measurement. For example, if the value is NRBTS NRCellCU, then Nokia recommends that this measurement be aggregated on the 5G BTS level and the 5G CU Cell level.”},
+ measTriggerType: { presence: optional, value: [Event, Sample], comment: “Indicates whether this measurement is triggered by an event or is sampled.”}
+ } }
+ } }
+} }
+---
+pmMetaData:
+ pmHeader:
+ nfType: gnb-Nokia
+ pmDefSchemaVsn: 2.0
+ pmDefVsn: 5G19_1906_002
+ pmFields:
+ iMeasInfoId: 2204
+ iMeasType: 1
+ measCollectionMethod: CC
+ measCondition: "This measurement is updated when X2AP: SgNB Modification Required message is sent to MeNB with the SCG Change Indication set as PSCellChange."
+ measDescription: "This counter indicates the number of intra gNB intra frequency PSCell change attempts."
+ measFamily: NINFC
+ measInfoId: "NR Intra Frequency PSCell Change"
+ measLastChange: 5G18A_1807_003
+ measObjClass: NGCELL
+ measResultRange: 0-4096
+ measResultType: integer
+ measResultUnits: number
+ measType: VS.NINFC.IntraFrPscelChAttempt
+ measAdditionalFields:
+ vendorField1: X
+ vendorField2: B
+---
+pmMetaData:
+ pmHeader:
+ nfType: gnb-Nokia
+ pmDefSchemaVsn: 2.0
+ pmDefVsn: 5G19_1906_002
+ pmFields:
+ iMeasInfoId: 2204
+ iMeasType: 2
+ measCollectionMethod: CC
+ measCondition: "This measurement is updated when the TDCoverall timer has elapsed before gNB receives the X2AP: SgNB Modification Confirm message."
+ measDescription: "This measurement the number of intra gNB intra frequency PSCell change failures due to TDCoverall timer expiry."
+ measFamily: NINFC
+ measInfoId: "NR Intra Frequency PSCell Change"
+ measLastChange: 5G18A_1807_003
+ measObjClass: NGCELL
+ measResultRange: 0-4096
+ measResultType: integer
+ measResultUnits: number
+ measType: VS.NINFC.IntraFrPscelChFailTdcExp
+ measAdditionalFields:
+ vendorField1: Y
+---
+pmMetaData:
+ pmHeader:
+ nfType: gnb-Nokia
+ pmDefSchemaVsn: 2.0
+ pmDefVsn: 5G19_1906_002
+ pmFields:
+ iMeasInfoId: 2206
+ iMeasType: 1
+ measCollectionMethod: CC
+ measCondition: "This measurement is updated when MeNB replies to X2AP: SgNB Modification Required message with the X2AP: SgNB Modification Refuse message."
+ measDescription: "This counter indicates the number of intra gNB intra frequency PSCell change failures due to MeNB refusal."
+ measFamily: NINFC
+ measInfoId: "NR Intra Frequency PSCell Change"
+ measLastChange: 5G19_1906_002
+ measObjClass: NGCELL
+ measResultRange: 0-4096
+ measResultType: integer
+ measResultUnits: number
+ measType: VS.NINFC.IntraFrPscelChFailMenbRef
+ measAdditionalFields:
+ vendorField1: Z
+ vendorField2: A
+...
diff --git a/integration-tests/src/test/resources/Files/PNFs/sample-pnf-1.0.1-SNAPSHOT.csar b/integration-tests/src/test/resources/Files/PNFs/sample-pnf-1.0.1-SNAPSHOT.csar
new file mode 100644
index 0000000000..b4d2b3eda3
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/PNFs/sample-pnf-1.0.1-SNAPSHOT.csar
Binary files differ
diff --git a/integration-tests/src/test/resources/Files/PNFs/sample-pnf-custom-type.csar b/integration-tests/src/test/resources/Files/PNFs/sample-pnf-custom-type.csar
new file mode 100644
index 0000000000..e4e60b26d1
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/PNFs/sample-pnf-custom-type.csar
Binary files differ
diff --git a/integration-tests/src/test/resources/Files/PNFs/sample-signed-pnf-1.0.1-SNAPSHOT.zip b/integration-tests/src/test/resources/Files/PNFs/sample-signed-pnf-1.0.1-SNAPSHOT.zip
new file mode 100644
index 0000000000..fecb45aaaf
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/PNFs/sample-signed-pnf-1.0.1-SNAPSHOT.zip
Binary files differ
diff --git a/integration-tests/src/test/resources/Files/PNFs/sample-signed-pnf-cms-includes-cert-1.0.1-SNAPSHOT.zip b/integration-tests/src/test/resources/Files/PNFs/sample-signed-pnf-cms-includes-cert-1.0.1-SNAPSHOT.zip
new file mode 100644
index 0000000000..676a9ff777
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/PNFs/sample-signed-pnf-cms-includes-cert-1.0.1-SNAPSHOT.zip
Binary files differ
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
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/VNFs/Huawei_vHSS.csar
Binary files 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
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/VNFs/Huawei_vMME.csar
Binary files 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
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/VNFs/ZteEpcMmeVf.csar
Binary files 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
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/VNFs/base_vfw.zip
Binary files 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
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/VNFs/base_vvg.zip
Binary files 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
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/VNFs/database-substitution-mappings.csar
Binary files 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
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/VNFs/infra.zip
Binary files 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
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/VNFs/resource-ZteEpcMmeVf-csar_fix.csar
Binary files 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
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/VNFs/vLB.zip
Binary files 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
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/VNFs/vLBMS.zip
Binary files 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
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/VNFs/vSBC_update_v03.csar
Binary files 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
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/VNFs/vbng.zip
Binary files 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
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/VNFs/vbrgemu.zip
Binary files 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
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/VNFs/vfw.zip
Binary files 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
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/VNFs/vgmux.zip
Binary files 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
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/VNFs/vgw.zip
Binary files 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
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/VNFs/vsp-vgw.csar
Binary files 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
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/VNFs/vvg.zip
Binary files differ