aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources
diff options
context:
space:
mode:
authorKatarzyna Wasiel <katarzyna.wasiel@nokia.com>2021-03-01 15:38:14 +0100
committerKatarzyna Wasiel <katarzyna.wasiel@nokia.com>2021-03-01 15:38:14 +0100
commit106bde3caa8bba5bfe35fb793f05902af2a28704 (patch)
tree5ba65291de2b5429724dab626f5e866da09a8aac /robot/resources
parent5dc8c14dd0994e6154f2f2786bf428b50344b7cc (diff)
Update DCAE MOD smoke/verification test using simple app
Issue-ID: INT-1855 Signed-off-by: Katarzyna Wasiel <katarzyna.wasiel@nokia.com> Change-Id: Idc33e17e8e4e7e04a709db5240e6acbc7cc5d783
Diffstat (limited to 'robot/resources')
-rw-r--r--robot/resources/dcaemod_interface.robot1
1 files changed, 1 insertions, 0 deletions
diff --git a/robot/resources/dcaemod_interface.robot b/robot/resources/dcaemod_interface.robot
index 9dda0a00..435de23d 100644
--- a/robot/resources/dcaemod_interface.robot
+++ b/robot/resources/dcaemod_interface.robot
@@ -186,6 +186,7 @@ Create Processor
${session}= Create Session ${SESSION_NAME} ${DCAEMOD_DESIGNTOOL_SERVER}
${headers}= Create Dictionary content-type=application/json
${typeName} = Evaluate $compSpecName.title()
+ ${typeName} = Remove String ${typeName} -
${data} = Set Variable {"revision": {"clientId": "${CLIENT_ID}", "version": 0},"component": {"parentGroupId": "${processGroupId}", "name": "${compSpecName}", "type": "org.onap.dcae.${typeName}"}}
Wait Until Keyword Succeeds 60s 5s Verify If NIFI Processor Is Created ${typeName}
${resp} = Post Request ${SESSION_NAME} /nifi-api/process-groups/${processGroupId}/processors data=${data} headers=${headers}