aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources
diff options
context:
space:
mode:
authorLeigh, Phillip (pl876u) <phillip.leigh@amdocs.com>2019-03-19 16:33:39 -0400
committerLeigh, Phillip (pl876u) <phillip.leigh@amdocs.com>2019-03-19 16:33:48 -0400
commitd8966bcdbc302cb06604773297623fc9edba7512 (patch)
treefdef10ec645a3f6cd98d71f4f4c1a8355523cb63 /robot/resources
parenteff1eab948cd5624477e56c65db01104f87e7c96 (diff)
Add SD&SdncCtxBuder to Pomba Health Check
Issue-ID: LOG-1021 Change-Id: I39ff308acc074ed5201903191635273738296990 Signed-off-by: Leigh, Phillip (pl876u) <phillip.leigh@amdocs.com>
Diffstat (limited to 'robot/resources')
-rw-r--r--robot/resources/pomba_interface.robot31
1 files changed, 31 insertions, 0 deletions
diff --git a/robot/resources/pomba_interface.robot b/robot/resources/pomba_interface.robot
index 6079faae..cd9e1b95 100644
--- a/robot/resources/pomba_interface.robot
+++ b/robot/resources/pomba_interface.robot
@@ -10,9 +10,13 @@ ${POMBA_PATH} /
${POMBA_AAICB_PATH} /aaicontextbuilder/health
${POMBA_SDCCB_PATH} /sdccontextbuilder/health
${POMBA_NDCB_PATH} /ndcontextbuilder/health
+${POMBA_SDNCCB_PATH} /sdnccontextbuilder/health
+${POMBA_SERVICEDECOMPOSITION_PATH} /service-decomposition/health
${POMBA_AAICONTEXTBUILDER_ENDPOINT} ${GLOBAL_POMBA_SERVER_PROTOCOL}://${GLOBAL_INJECTED_POMBA_AAI_CONTEXT_BUILDER_IP_ADDR}:${GLOBAL_POMBA_AAICONTEXTBUILDER_PORT}
${POMBA_SDCCONTEXTBUILDER_ENDPOINT} ${GLOBAL_POMBA_SERVER_PROTOCOL}://${GLOBAL_INJECTED_POMBA_SDC_CONTEXT_BUILDER_IP_ADDR}:${GLOBAL_POMBA_SDCCONTEXTBUILDER_PORT}
${POMBA_NETWORKDISCCONTEXTBUILDER_ENDPOINT} ${GLOBAL_POMBA_SERVER_PROTOCOL}://${GLOBAL_INJECTED_POMBA_NETWORK_DISC_CONTEXTBUILDER_IP_ADDR}:${GLOBAL_POMBA_NETWORKDISCCONTEXTBUILDER_PORT}
+${POMBA_SERVICEDECOMPOSITION_ENDPOINT} ${GLOBAL_POMBA_SERVER_PROTOCOL}://${GLOBAL_INJECTED_POMBA_SERVICE_DECOMPOSITION_IP_ADDR}:${GLOBAL_POMBA_SERVICEDECOMPOSITION_PORT}
+${POMBA_SDNCCTXBUILDER_ENDPOINT} ${GLOBAL_POMBA_SERVER_PROTOCOL}://${GLOBAL_INJECTED_POMBA_SDNC_CTX_BUILDER_IP_ADDR}:${GLOBAL_POMBA_SDNCCXTBUILDER_PORT}
*** Keywords ***
Run Pomba Aai Context Builder Health Check
@@ -57,3 +61,30 @@ Run Pomba Network Discovery Context Builder Get Request
Log Received response from pomba-networkdiscovery ${resp.text}
[Return] ${resp}
+Run Pomba Service Decomposition Health Check
+ [Documentation] Tests Pomba Service Decomposition interface
+ ${resp}= Run Pomba Service Decomposition Get Request ${POMBA_SERVICEDECOMPOSITION_PATH}
+ Should Be Equal As Strings ${resp.status_code} 200
+
+Run Pomba Service Decomposition Get Request
+ [Documentation] Runs a Pomba Service Decomposition request
+ [Arguments] ${data_path}
+ Log Creating session ${POMBA_SERVICEDECOMPOSITION_ENDPOINT}
+ ${session}= Create Session pomba-servicedecomposition ${POMBA_SERVICEDECOMPOSITION_ENDPOINT}
+ ${resp}= Get Request pomba-servicedecomposition ${data_path}
+ Log Received response from pomba-servicedecomposition ${resp.text}
+ [Return] ${resp}
+
+Run Pomba Sdnc Context Builder Health Check
+ [Documentation] Tests Pomba Sdnc Context Builder interface
+ ${resp}= Run Pomba Sdnc Context Builder Get Request ${POMBA_SDNCCB_PATH}
+ Should Be Equal As Strings ${resp.status_code} 200
+
+Run Pomba Sdnc Context Builder Get Request
+ [Documentation] Runs a Pomba Sdnc Context Builder request
+ [Arguments] ${data_path}
+ Log Creating session ${POMBA_SDNCCTXBUILDER_ENDPOINT}
+ ${session}= Create Session pomba-sdncctxbuilder ${POMBA_SDNCCTXBUILDER_ENDPOINT}
+ ${resp}= Get Request pomba-sdncctxbuilder ${data_path}
+ Log Received response from pomba-sdncctxbuilder ${resp.text}
+ [Return] ${resp} \ No newline at end of file