summaryrefslogtreecommitdiffstats
path: root/robot
diff options
context:
space:
mode:
authorLeigh, Phillip (pl876u) <phillip.leigh@amdocs.com>2019-03-26 12:10:15 -0400
committerLeigh, Phillip (pl876u) <phillip.leigh@amdocs.com>2019-03-26 14:58:08 -0400
commitd49bf602baaf037cbdc953281caea89a5e497e5a (patch)
treef59c60250a9d23a635871b41a5aaa377e98e278f /robot
parent56c0d270a2eee6d1b1177d8001f5f86ab2aab0f4 (diff)
Add SdncCtxBuilder CtxAggregator to health check
Issue-ID: LOG-1018 Issue-ID: LOG-1021 Issue-ID: LOG-1024 Change-Id: I04c10d5a8f2b8fbe9552019032612127f05ae8e5 Signed-off-by: Leigh, Phillip (pl876u) <phillip.leigh@amdocs.com>
Diffstat (limited to 'robot')
-rw-r--r--robot/resources/pomba_interface.robot34
-rw-r--r--robot/testsuites/health-check.robot8
2 files changed, 41 insertions, 1 deletions
diff --git a/robot/resources/pomba_interface.robot b/robot/resources/pomba_interface.robot
index 9ca9b7e2..ddea52a6 100644
--- a/robot/resources/pomba_interface.robot
+++ b/robot/resources/pomba_interface.robot
@@ -15,8 +15,10 @@ ${POMBA_NDCB_PATH} /ndcontextbuilder/health
${POMBA_NDMS_PATH} /health
${POMBA_KIBANA_PATH} /
${POMBA_ELASTICSEARCH_PATH} /
-
${POMBA_SERVICEDECOMPOSITION_PATH} /service-decomposition/health
+${POMBA_SDNCCTXBUILDER_PATH} /sdnccontextbuilder/health
+${POMBA_CONTEXTAGGREGATOR_PATH} /health
+
${POMBA_AAICONTEXTBUILDER_ENDPOINT} ${GLOBAL_POMBA_SERVER_PROTOCOL_HTTP}://${GLOBAL_INJECTED_POMBA_AAI_CONTEXT_BUILDER_IP_ADDR}:${GLOBAL_POMBA_AAICONTEXTBUILDER_PORT}
${POMBA_SDCCONTEXTBUILDER_ENDPOINT} ${GLOBAL_POMBA_SERVER_PROTOCOL_HTTP}://${GLOBAL_INJECTED_POMBA_SDC_CONTEXT_BUILDER_IP_ADDR}:${GLOBAL_POMBA_SDCCONTEXTBUILDER_PORT}
${POMBA_NETWORKDISCCONTEXTBUILDER_ENDPOINT} ${GLOBAL_POMBA_SERVER_PROTOCOL_HTTP}://${GLOBAL_INJECTED_POMBA_NETWORK_DISC_CONTEXTBUILDER_IP_ADDR}:${GLOBAL_POMBA_NETWORKDISCCONTEXTBUILDER_PORT}
@@ -24,6 +26,8 @@ ${POMBA_SERVICEDECOMPOSITION_ENDPOINT} ${GLOBAL_POMBA_SERVER_PROTOCOL_HTTP}:/
${POMBA_NETWORKDISCOVERY_MICROSERVICE_ENDPOINT} ${GLOBAL_POMBA_SERVER_PROTOCOL_HTTPS}://${GLOBAL_INJECTED_POMBA_NETWORKDISCOVERY_MICROSERVICE_IP_ADDR}:${GLOBAL_POMBA_NETWORKDISCOVERY_MICROSERVICE_PORT}
${POMBA_KIBANA_ENDPOINT} ${GLOBAL_POMBA_SERVER_PROTOCOL_HTTPS}://${GLOBAL_INJECTED_POMBA_KIBANA_IP_ADDR}:${GLOBAL_POMBA_KIBANA_PORT}
${POMBA_ELASTICSEARCH_ENDPOINT} ${GLOBAL_POMBA_SERVER_PROTOCOL_HTTP}://${GLOBAL_INJECTED_POMBA_ELASTIC_SEARCH_IP_ADDR}:${GLOBAL_POMBA_ELASTICSEARCH_PORT}
+${POMBA_SDNCCONTEXTBUILDER_ENDPOINT} ${GLOBAL_POMBA_SERVER_PROTOCOL_HTTP}://${GLOBAL_INJECTED_POMBA_SDNC_CTX_BUILDER_IP_ADDR}:${GLOBAL_POMBA_SDNCCXTBUILDER_PORT}
+${POMBA_CONTEXTAGGREGATOR_ENDPOINT} ${GLOBAL_POMBA_SERVER_PROTOCOL_HTTP}://${GLOBAL_INJECTED_POMBA_CONTEX_TAGGREGATOR_IP_ADDR}:${GLOBAL_POMBA_CONTEXTAGGREGATOR_PORT}
*** Keywords ***
Run Pomba Aai Context Builder Health Check
@@ -122,4 +126,32 @@ Run Pomba Elastic Search Get Request
${session}= Create Session pomba-es ${POMBA_ELASTICSEARCH_ENDPOINT}
${resp}= Get Request pomba-es ${data_path}
Log Received response from pomba-es ${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_SDNCCTXBUILDER_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_SDNCCONTEXTBUILDER_ENDPOINT}
+ ${session}= Create Session pomba-sdncctxbuilder ${POMBA_SDNCCONTEXTBUILDER_ENDPOINT}
+ ${resp}= Get Request pomba-sdncctxbuilder ${data_path}
+ Log Received response from pomba-sdncctxbuilder ${resp.text}
+ [Return] ${resp}
+
+Run Pomba Context Aggregator Health Check
+ [Documentation] Tests Pomba Context-Aggregator interface
+ ${resp}= Run Pomba Context Aggregator Get Request ${POMBA_CONTEXTAGGREGATOR_PATH}
+ Should Be Equal As Strings ${resp.status_code} 200
+
+Run Pomba Context Aggregator Get Request
+ [Documentation] Runs a Pomba Context Aggregator request
+ [Arguments] ${data_path}
+ Log Creating session ${POMBA_CONTEXTAGGREGATOR_ENDPOINT}
+ ${session}= Create Session pomba-contextaggregator ${POMBA_CONTEXTAGGREGATOR_ENDPOINT}
+ ${resp}= Get Request pomba-contextaggregator ${data_path}
+ Log Received response from pomba-contextaggregator ${resp.text}
[Return] ${resp} \ No newline at end of file
diff --git a/robot/testsuites/health-check.robot b/robot/testsuites/health-check.robot
index 75f2cdf7..7a62cdd7 100644
--- a/robot/testsuites/health-check.robot
+++ b/robot/testsuites/health-check.robot
@@ -160,6 +160,14 @@ Basic Pomba Elastic-Search Health Check
[Tags] health oom
Run Pomba Elastic Search Health Check
+Basic Pomba Sdnc-Context-Builder Health Check
+ [Tags] health oom
+ Run Pomba Sdnc Context Builder Health Check
+
+Basic Pomba Context-Aggregator Health Check
+ [Tags] health oom
+ Run Pomba Context Aggregator Health Check
+
Basic Portal Health Check
[Tags] health core
Run Portal Health Check