aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dcaegen2-pmmapper
diff options
context:
space:
mode:
authorJoeOLeary <joseph.o.leary@est.tech>2019-03-05 09:21:26 +0000
committerJoeOLeary <joseph.o.leary@est.tech>2019-03-05 09:21:26 +0000
commit667bd5989042cf27bfbe10d5d2c21b776502924a (patch)
treec1fc57e24bb8ceb4286ae43a398f6eb549174705 /tests/dcaegen2-pmmapper
parent6a82c36c07d2544374276f824bc192d86a3bc826 (diff)
Update PM Mapper Setup & Test Case
*Remove space in extra_hosts of compose files *Update setup to include pm-mapper host entry in node *Update config file to match latest expected config *Update metadata tests to use new endpoint & new headers *Update docker image versions Issue-ID: INT-863 Change-Id: I1c4d7bb48824031c1fd11ea11266b42af4f57cc0 Signed-off-by: JoeOLeary <joseph.o.leary@est.tech>
Diffstat (limited to 'tests/dcaegen2-pmmapper')
-rw-r--r--tests/dcaegen2-pmmapper/pmmapper/pmmapper.robot6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/dcaegen2-pmmapper/pmmapper/pmmapper.robot b/tests/dcaegen2-pmmapper/pmmapper/pmmapper.robot
index a05defb5..71344632 100644
--- a/tests/dcaegen2-pmmapper/pmmapper/pmmapper.robot
+++ b/tests/dcaegen2-pmmapper/pmmapper/pmmapper.robot
@@ -38,7 +38,7 @@ Verify 3GPP PM Mapper responds appropriately when no metadata is provided
[Documentation] Verify 3GPP PM Mapper responds 400 with the message "Missing Metadata." when no metadata is provided
[Timeout] 1 minute
${headers}= Create Dictionary X-ONAP-RequestID=1 Content-Type=application/xml
- ${resp}= Put Request mapper_session ${DELIVERY_ENDPOINT} data='${EMPTY}' headers=${headers}
+ ${resp}= Put Request mapper_session ${DELIVERY_ENDPOINT}/filename data='${EMPTY}' headers=${headers}
Should Be Equal As Strings ${resp.status_code} 400
Should Be Equal As Strings ${resp.content} Missing Metadata.
@@ -46,8 +46,8 @@ Verify 3GPP PM Mapper responds appropriately when invalid metadata is provided
[Tags] PM_MAPPER_11
[Documentation] Verify 3GPP PM Mapper responds 400 with the message "Malformed Metadata." when invalid metadata is provided
[Timeout] 1 minute
- ${headers}= Create Dictionary X-ONAP-RequestID=1 X-ATT-DR-META='not metadata' Content-Type=application/xml
- ${resp}= Put Request mapper_session ${DELIVERY_ENDPOINT} data='${EMPTY}' headers=${headers}
+ ${headers}= Create Dictionary X-ONAP-RequestID=1 X-DMAAP-DR-META='not metadata' Content-Type=application/xml
+ ${resp}= Put Request mapper_session ${DELIVERY_ENDPOINT}/filename data='${EMPTY}' headers=${headers}
Should Be Equal As Strings ${resp.status_code} 400
Should Be Equal As Strings ${resp.content} Malformed Metadata.