aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMariusz Wagner <mariusz.wagner@nokia.com>2019-04-09 11:37:12 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-09 11:37:12 +0000
commitc257e7baca0f1f9d5f50ec82c7421ef780fc8b84 (patch)
treee3d0bdcba3ba7ae8e31e5dd2030b772c645afb0e
parent2a64cd85008612c0fe0eeaebdd733c886458c791 (diff)
parent3b202f003623b8e48fccd34fa78af0d1edcca5e5 (diff)
Merge "Updated Setup files for PM Mapper"
-rw-r--r--plans/dcaegen2-pmmapper/pmmapper/assets/addSubscriber.json2
-rw-r--r--plans/dcaegen2-pmmapper/pmmapper/assets/cert.jks.b6482
-rw-r--r--plans/dcaegen2-pmmapper/pmmapper/assets/config.json10
-rw-r--r--plans/dcaegen2-pmmapper/pmmapper/assets/createTopic.json2
-rw-r--r--plans/dcaegen2-pmmapper/pmmapper/assets/jks.pass1
-rw-r--r--plans/dcaegen2-pmmapper/pmmapper/assets/trust.jks.b6425
-rw-r--r--plans/dcaegen2-pmmapper/pmmapper/assets/trust.pass1
-rw-r--r--plans/dcaegen2-pmmapper/pmmapper/composefile/docker-compose-e2e.yml8
-rw-r--r--plans/dcaegen2-pmmapper/pmmapper/composefile/docker-compose-pmmapper.yml2
-rw-r--r--plans/dcaegen2-pmmapper/pmmapper/setup.sh10
-rw-r--r--tests/dcaegen2-pmmapper/pmmapper/assets/A20181002.0000-1000-0015-1000_5G.xml6
-rw-r--r--tests/dcaegen2-pmmapper/pmmapper/assets/pm_filter_config.json14
-rw-r--r--tests/dcaegen2-pmmapper/pmmapper/assets/vendor_filter_config.json12
-rw-r--r--tests/dcaegen2-pmmapper/pmmapper/pmmapper.robot2
14 files changed, 146 insertions, 31 deletions
diff --git a/plans/dcaegen2-pmmapper/pmmapper/assets/addSubscriber.json b/plans/dcaegen2-pmmapper/pmmapper/assets/addSubscriber.json
index 43a4a65c..0666a7d5 100644
--- a/plans/dcaegen2-pmmapper/pmmapper/assets/addSubscriber.json
+++ b/plans/dcaegen2-pmmapper/pmmapper/assets/addSubscriber.json
@@ -1,6 +1,6 @@
{
"delivery":{
- "url":"http://dcae-pm-mapper.onap.svc.cluster.local:8081/delivery",
+ "url":"http://dcae-pm-mapper:8081/delivery",
"user":"username",
"password":"password",
"use100":true
diff --git a/plans/dcaegen2-pmmapper/pmmapper/assets/cert.jks.b64 b/plans/dcaegen2-pmmapper/pmmapper/assets/cert.jks.b64
new file mode 100644
index 00000000..66a81155
--- /dev/null
+++ b/plans/dcaegen2-pmmapper/pmmapper/assets/cert.jks.b64
@@ -0,0 +1,82 @@
+/u3+7QAAAAIAAAABAAAAAQASZGNhZUBkY2FlLm9uYXAub3JnAAABaYCR6Y0AAAUCMIIE/jAOBgor
+BgEEASoCEQEBBQAEggTqMMIAZ9fYH2ZvhbcY9q2XvR4OftQ8+YWRYRikzelzHB8UWsI8WKD8LF50
+MB8r+vF7/a5xsBnnJykD8Tel32JsiQFpAPpTwP/5RsDnC7S7w1WlHhn2YHJS/Rt0jm/Qn5L0tnzc
+wkcdJbUjwhIZBZ7UCpCe4BFwbEFooSdTxQXZJCtF50tTYL+LvBRv/Bfxno88XqMFmNkaxnOHIrnN
+2YYW0aLoeCw5TiEcuzY/pOhUprqLfEDK2xa/M20oyjvcnq/zU/W4U8f5fXYwVh3jfeu9aukSecP0
+ABr7tcdKE02i6UdpFEfYR39j8s8PtwLPIbnRWwvB89H587z90vYW+bs5A3kyhBpapBrbd0Iwo1Bj
+6dQn+/RcFGdxM8yVHarfwAtq353Lgta/OedqsybCrkF8jKwMUfnCFSorILPg1moBggPOXs6qezqE
+QNLhaqk4C33wN74Mu+0sNszlfmkMfo7uSXD2Ak0nmDfV+AHj5iepvnHMr1ziixOToLYliuSHpPr+
+SbzR3iyiqylgpG+Jx6/jEkcU6FKJRXciTHeHdBuSULNrgX1KKSFtMm/s1I446OcoJgyTwCx9RU5Y
+Je2XdIXwBX2OdDE0jPjRySHZPrk4z2cACrJcKQ+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kjB3aoLsASCJTm1OpOFHfxEKiBW4Lsp3Uc5/Rb9ZNbfLrwqWZRM7buW1e3ekLqntgbkyuKKISHqV
+Juw/vXHl1jNibEo9+JuQ88VNuAcm7WpGUogeCa2iAlPTckPZei+MwZ8wtpvxTyYlZEC8DWzY1VC2
+9+W2N5cvh01e2E3Ql08W1zL63dqrgdEZ3VWjzooYi4epBmMXTvouW+Flyvcw/0oTcfN0biDIt0mC
+kZ5CQVjfGL9DTOYteR5hw+nBBe/JRrAcRd4SbmfuQxonDjDymA==
diff --git a/plans/dcaegen2-pmmapper/pmmapper/assets/config.json b/plans/dcaegen2-pmmapper/pmmapper/assets/config.json
index 62e4f402..0b62454d 100644
--- a/plans/dcaegen2-pmmapper/pmmapper/assets/config.json
+++ b/plans/dcaegen2-pmmapper/pmmapper/assets/config.json
@@ -7,7 +7,7 @@
"aaf_password": null,
"dmaap_info": {
"location": "csit-pmmapper",
- "delivery_url": "http://dcae-pm-mapper.onap.svc.cluster.local:8081/delivery",
+ "delivery_url": "http://dcae-pm-mapper:8081/delivery",
"username": "username",
"password": "password",
"subscriber_id": "1"
@@ -31,9 +31,9 @@
"dmaap_dr_delete_endpoint": "https://dmaap-dr-node:8443/delete",
"services_calls": {},
"enable_http": true,
- "key_store_path": "/opt/app/pm-mapper/etc/cert/cert.jks.b64",
- "key_store_pass_path": "/opt/app/pm-mapper/etc/cert/jks.pass",
- "trust_store_path": "/opt/app/pm-mapper/etc/cert/trust.jks.b64",
- "trust_store_pass_path": "/opt/app/pm-mapper/etc/cert/trust.pass"
+ "key_store_path": "/opt/app/pm-mapper/etc/cert.jks.b64",
+ "key_store_pass_path": "/opt/app/pm-mapper/etc/jks.pass",
+ "trust_store_path": "/opt/app/pm-mapper/etc/trust.jks.b64",
+ "trust_store_pass_path": "/opt/app/pm-mapper/etc/trust.pass"
} \ No newline at end of file
diff --git a/plans/dcaegen2-pmmapper/pmmapper/assets/createTopic.json b/plans/dcaegen2-pmmapper/pmmapper/assets/createTopic.json
index c1a296dc..4d20974b 100644
--- a/plans/dcaegen2-pmmapper/pmmapper/assets/createTopic.json
+++ b/plans/dcaegen2-pmmapper/pmmapper/assets/createTopic.json
@@ -1,4 +1,4 @@
-{
+{
"topicName":"PM_MAPPER",
"topicDescription":"PM Mapper VES Event",
"owner":"pmmapper"
diff --git a/plans/dcaegen2-pmmapper/pmmapper/assets/jks.pass b/plans/dcaegen2-pmmapper/pmmapper/assets/jks.pass
new file mode 100644
index 00000000..ae8f7e72
--- /dev/null
+++ b/plans/dcaegen2-pmmapper/pmmapper/assets/jks.pass
@@ -0,0 +1 @@
+Er1tmip;T4w[%1}YE?x{fN9v \ No newline at end of file
diff --git a/plans/dcaegen2-pmmapper/pmmapper/assets/trust.jks.b64 b/plans/dcaegen2-pmmapper/pmmapper/assets/trust.jks.b64
new file mode 100644
index 00000000..14513277
--- /dev/null
+++ b/plans/dcaegen2-pmmapper/pmmapper/assets/trust.jks.b64
@@ -0,0 +1,25 @@
+/u3+7QAAAAIAAAABAAAAAgAKY2FfbG9jYWxfMAAAAWmAkeoCAAVYLjUwOQAABUIwggU+MIIDJqAD
+AgECAgkAnq7twKfOtZ0wDQYJKoZIhvcNAQELBQAwLDEOMAwGA1UECwwFT1NBQUYxDTALBgNVBAoM
+BE9OQVAxCzAJBgNVBAYTAlVTMB4XDTE4MDQwNTE0MTUyOFoXDTM4MDMzMTE0MTUyOFowLDEOMAwG
+A1UECwwFT1NBQUYxDTALBgNVBAoMBE9OQVAxCzAJBgNVBAYTAlVTMIICIjANBgkqhkiG9w0BAQEF
+AAOCAg8AMIICCgKCAgEAwDmmSBGzs2EYbh7Dkmi6HJhqSBhTIVobXbX7+HyptJ23SFVC/nr4QDjV
+irtcaJ7tFgNAr02YAUXeCu4T7pfvC8mIKGn4LJ3uwUydvrm5aHER3FZMzYEkWuB/NScfxkLGBoKj
+dcfg/OUpHLYtBAkQkQLCX9FmZEJeKMy3l72Hxehlj98qQpxllSxY0IylOjbrrCO8D0xcuZ2B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h1kKwUKG6KhV5t72KCGt+MH/+op6kW
+M8ULKPMo3W7Qkqb/bH85GrGRM40byne4PCgg7KKZRxO1My/jZt9gPzxEpqSpIVcT0b5nQuVooAGp
++Mrj2j+2wCn5zkug2ViWUqGd607dAB2tofB2YLfoGGiCHNHWOlfvnUBxmfZUfdDhcrKnTVwk0Iki
+u5r4D5vHrOHdHJbrMgiRtEJsRP5QP7iavxYhxITea1FlWWeFQM7jP3/9YoxXPBL1GHz+S6zOsYUj
+UpCjNcIcutx7dg/pFhl8553v0tdpHBd1hnsHnlbKPpawxer5hLDs2S++H7Xx
diff --git a/plans/dcaegen2-pmmapper/pmmapper/assets/trust.pass b/plans/dcaegen2-pmmapper/pmmapper/assets/trust.pass
new file mode 100644
index 00000000..d3d01b0a
--- /dev/null
+++ b/plans/dcaegen2-pmmapper/pmmapper/assets/trust.pass
@@ -0,0 +1 @@
+583Ls;XF(qDQu3p!L22gyh1t \ No newline at end of file
diff --git a/plans/dcaegen2-pmmapper/pmmapper/composefile/docker-compose-e2e.yml b/plans/dcaegen2-pmmapper/pmmapper/composefile/docker-compose-e2e.yml
index c972bd7a..a60b30b9 100644
--- a/plans/dcaegen2-pmmapper/pmmapper/composefile/docker-compose-e2e.yml
+++ b/plans/dcaegen2-pmmapper/pmmapper/composefile/docker-compose-e2e.yml
@@ -1,7 +1,7 @@
version: '2.1'
services:
datarouter-prov:
- image: nexus3.onap.org:10001/onap/dmaap/datarouter-prov:2.0.2-SNAPSHOT-latest
+ image: nexus3.onap.org:10001/onap/dmaap/datarouter-prov:2.1.0-SNAPSHOT-latest
container_name: datarouter-prov
hostname: dmaap-dr-prov
ports:
@@ -22,10 +22,10 @@ services:
retries: 5
extra_hosts:
- "dmaap-dr-node:1.1.1.1"
- - "dcae-pm-mapper.onap.svc.cluster.local:3.3.3.3"
+ - "dcae-pm-mapper:3.3.3.3"
datarouter-node:
- image: nexus3.onap.org:10001/onap/dmaap/datarouter-node:2.0.2-SNAPSHOT-latest
+ image: nexus3.onap.org:10001/onap/dmaap/datarouter-node:2.1.0-SNAPSHOT-latest
container_name: datarouter-node
hostname: dmaap-dr-node
ports:
@@ -38,7 +38,7 @@ services:
condition: service_healthy
extra_hosts:
- "dmaap-dr-prov:2.2.2.2"
- - "dcae-pm-mapper.onap.svc.cluster.local:3.3.3.3"
+ - "dcae-pm-mapper:3.3.3.3"
mariadb_container:
image: mariadb:10.2.14
diff --git a/plans/dcaegen2-pmmapper/pmmapper/composefile/docker-compose-pmmapper.yml b/plans/dcaegen2-pmmapper/pmmapper/composefile/docker-compose-pmmapper.yml
index bf03d1f1..2e3919b6 100644
--- a/plans/dcaegen2-pmmapper/pmmapper/composefile/docker-compose-pmmapper.yml
+++ b/plans/dcaegen2-pmmapper/pmmapper/composefile/docker-compose-pmmapper.yml
@@ -2,7 +2,7 @@ version: '2.1'
services:
pmmapper:
container_name: pmmapper
- image: dfarrelly/onap:csit
+ image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.pm-mapper:latest
ports:
- "8081:8081"
environment:
diff --git a/plans/dcaegen2-pmmapper/pmmapper/setup.sh b/plans/dcaegen2-pmmapper/pmmapper/setup.sh
index 5a0339ea..e52195f5 100644
--- a/plans/dcaegen2-pmmapper/pmmapper/setup.sh
+++ b/plans/dcaegen2-pmmapper/pmmapper/setup.sh
@@ -83,6 +83,13 @@ sed -i 's/2.2.2.2/'$DR_PROV_IP'/g' docker-compose.yml
sed -i 's/3.3.3.3/'$PMMAPPER_IP'/g' docker-compose.yml
docker-compose up -d
+# Setting up PM Mapper certs.
+docker cp $WORKSPACE/plans/dcaegen2-pmmapper/pmmapper/assets/cert.jks.b64 pmmapper:opt/app/pm-mapper/etc/
+docker cp $WORKSPACE/plans/dcaegen2-pmmapper/pmmapper/assets/jks.pass pmmapper:opt/app/pm-mapper/etc/
+docker cp $WORKSPACE/plans/dcaegen2-pmmapper/pmmapper/assets/trust.jks.b64 pmmapper:opt/app/pm-mapper/etc/
+docker cp $WORKSPACE/plans/dcaegen2-pmmapper/pmmapper/assets/trust.pass pmmapper:opt/app/pm-mapper/etc/
+docker restart pmmapper
+
# Wait for initialization of Docker container for datarouter-node, datarouter-prov and mariadb, Consul, CBS
for i in {1..5}; do
if [ $(docker inspect --format '{{ .State.Running }}' datarouter-node) ] && \
@@ -123,5 +130,4 @@ curl -k https://$DR_PROV_IP:8443/internal/prov
curl http://${DMAAP_MR_IP}:3904/events/PM_MAPPER/CG1/C1?timeout=1000
#Pass any variables required by Robot test suites in ROBOT_VARIABLES
-ROBOT_VARIABLES="-v CONSUL_IP:${CONSUL_IP} -v DR_PROV_IP:${DR_PROV_IP} -v DMAAP_MR_IP:${DMAAP_MR_IP} -v CBS_IP:${CBS_IP} -v PMMAPPER_IP:${PMMAPPER_IP} -v DR_NODE_IP:${DR_NODE_IP}"
-export ROBOT_VARIABLES \ No newline at end of file
+ROBOT_VARIABLES="-v CONSUL_IP:${CONSUL_IP} -v DR_PROV_IP:${DR_PROV_IP} -v DMAAP_MR_IP:${DMAAP_MR_IP} -v CBS_IP:${CBS_IP} -v PMMAPPER_IP:${PMMAPPER_IP} -v DR_NODE_IP:${DR_NODE_IP}" \ No newline at end of file
diff --git a/tests/dcaegen2-pmmapper/pmmapper/assets/A20181002.0000-1000-0015-1000_5G.xml b/tests/dcaegen2-pmmapper/pmmapper/assets/A20181002.0000-1000-0015-1000_5G.xml
index 4d20d4b4..fadc8a65 100644
--- a/tests/dcaegen2-pmmapper/pmmapper/assets/A20181002.0000-1000-0015-1000_5G.xml
+++ b/tests/dcaegen2-pmmapper/pmmapper/assets/A20181002.0000-1000-0015-1000_5G.xml
@@ -47,9 +47,9 @@ xsi:schemaLocation="http://www.3gpp.org/ftp/specs/archive/32_series/32.435#measC
<measType p="4">succImmediateAssignProcs4</measType>
<measValue measObjLdn="ManagedElement=RNC-Gbg-1,ENodeBFunction=1">
<r p="1">4</r>
- <r p="12">86,87,2,6,77,96,75,33,24</r>
- <r p="13">40</r>
- <r p="14">90</r>
+ <r p="2">86,87,2,6,77,96,75,33,24</r>
+ <r p="3">40</r>
+ <r p="4">90</r>
<suspect>false</suspect>
</measValue>
</measInfo>
diff --git a/tests/dcaegen2-pmmapper/pmmapper/assets/pm_filter_config.json b/tests/dcaegen2-pmmapper/pmmapper/assets/pm_filter_config.json
index 544b6980..1e3604f6 100644
--- a/tests/dcaegen2-pmmapper/pmmapper/assets/pm_filter_config.json
+++ b/tests/dcaegen2-pmmapper/pmmapper/assets/pm_filter_config.json
@@ -2,9 +2,9 @@
"pm-mapper-filter": {
"filters":[{
"pmDefVsn": "1.0",
- "nfType": "5G",
+ "nfType": "gnb",
"vendor": "Ericsson",
- "measTypes": ["attTCHSeizures","succImmediateAssignProcs"]
+ "measTypes": ["attTCHSeizures","succTCHSeizures2","succImmediateAssignProcs8"]
}]
},
"streams_subscribes": {
@@ -14,7 +14,7 @@
"aaf_password": null,
"dmaap_info": {
"location": "csit-pmmapper",
- "delivery_url": "http://dcae-pm-mapper.onap.svc.cluster.local:8081/delivery",
+ "delivery_url": "http://dcae-pm-mapper:8081/delivery",
"username": "username",
"password": "password",
"subscriber_id": "1"
@@ -38,8 +38,8 @@
"dmaap_dr_delete_endpoint": "https://dmaap-dr-node:8443/delete",
"services_calls": {},
"enable_http": true,
- "key_store_path": "/opt/app/pm-mapper/etc/cert/cert.jks.b64",
- "key_store_pass_path": "/opt/app/pm-mapper/etc/cert/jks.pass",
- "trust_store_path": "/opt/app/pm-mapper/etc/cert/trust.jks.b64",
- "trust_store_pass_path": "/opt/app/pm-mapper/etc/cert/trust.pass"
+ "key_store_path": "/opt/app/pm-mapper/etc/cert.jks.b64",
+ "key_store_pass_path": "/opt/app/pm-mapper/etc/jks.pass",
+ "trust_store_path": "/opt/app/pm-mapper/etc/trust.jks.b64",
+ "trust_store_pass_path": "/opt/app/pm-mapper/etc/trust.pass"
} \ No newline at end of file
diff --git a/tests/dcaegen2-pmmapper/pmmapper/assets/vendor_filter_config.json b/tests/dcaegen2-pmmapper/pmmapper/assets/vendor_filter_config.json
index 64fefa48..cbb313d0 100644
--- a/tests/dcaegen2-pmmapper/pmmapper/assets/vendor_filter_config.json
+++ b/tests/dcaegen2-pmmapper/pmmapper/assets/vendor_filter_config.json
@@ -1,5 +1,5 @@
{
- "pm-mapper-filter": {
+ "pm-mapper-filter": {
"filters":[{
"pmDefVsn": "1.0",
"nfType": "gnb",
@@ -14,7 +14,7 @@
"aaf_password": null,
"dmaap_info": {
"location": "csit-pmmapper",
- "delivery_url": "http://dcae-pm-mapper.onap.svc.cluster.local:8081/delivery",
+ "delivery_url": "http://dcae-pm-mapper:8081/delivery",
"username": "username",
"password": "password",
"subscriber_id": "1"
@@ -38,8 +38,8 @@
"dmaap_dr_delete_endpoint": "https://dmaap-dr-node:8443/delete",
"services_calls": {},
"enable_http": true,
- "key_store_path": "/opt/app/pm-mapper/etc/cert/cert.jks.b64",
- "key_store_pass_path": "/opt/app/pm-mapper/etc/cert/jks.pass",
- "trust_store_path": "/opt/app/pm-mapper/etc/cert/trust.jks.b64",
- "trust_store_pass_path": "/opt/app/pm-mapper/etc/cert/trust.pass"
+ "key_store_path": "/opt/app/pm-mapper/etc/cert.jks.b64",
+ "key_store_pass_path": "/opt/app/pm-mapper/etc/jks.pass",
+ "trust_store_path": "/opt/app/pm-mapper/etc/trust.jks.b64",
+ "trust_store_pass_path": "/opt/app/pm-mapper/etc/trust.pass"
} \ No newline at end of file
diff --git a/tests/dcaegen2-pmmapper/pmmapper/pmmapper.robot b/tests/dcaegen2-pmmapper/pmmapper/pmmapper.robot
index 5d217513..ec798293 100644
--- a/tests/dcaegen2-pmmapper/pmmapper/pmmapper.robot
+++ b/tests/dcaegen2-pmmapper/pmmapper/pmmapper.robot
@@ -21,7 +21,7 @@ ${NO_MANAGED_ELEMENT_PATH} %{WORKSPACE}/tests/dcaegen2-pmmapper/pm
${NO_MEASDATA_PATH} %{WORKSPACE}/tests/dcaegen2-pmmapper/pmmapper/assets/A_no_measdata.xml
${VALID_METADATA_PATH} %{WORKSPACE}/tests/dcaegen2-pmmapper/pmmapper/assets/valid_metadata.json
${DIFF_VENDOR_METADATA} %{WORKSPACE}/tests/dcaegen2-pmmapper/pmmapper/assets/diff_vendor_metadata.json
-${CLI_EXEC_CLI_PM_LOG} docker exec pmmapper /bin/sh -c "tail -10 /var/log/ONAP/dcaegen2/services/pm-mapper/pm-mapper_output.log"
+${CLI_EXEC_CLI_PM_LOG} docker exec pmmapper /bin/sh -c "tail -15 /var/log/ONAP/dcaegen2/services/pm-mapper/pm-mapper_output.log"
${PUBLISH_NODE_URL} https://${DR_NODE_IP}:8443/publish/1
${TYPE-A_PM_DATA_FILE_PATH} %{WORKSPACE}/tests/dcaegen2-pmmapper/pmmapper/assets/A20181002.0000-1000-0015-1000_5G.xml
${TYPE-C_PM_DATA_FILE_PATH} %{WORKSPACE}/tests/dcaegen2-pmmapper/pmmapper/assets/C20190328.0000-0015.xml