Ubuntu | a4e3400 | 2018-09-20 22:49:52 +0000 | [diff] [blame] | 1 | *** Settings *** |
Leigh, Phillip (pl876u) | e3dc304 | 2019-03-22 17:44:53 -0400 | [diff] [blame] | 2 | Documentation Tests the health of the POMBA containers: aai-context-builder, sdc-context-builder, |
| 3 | Documentation network-discovery-micro-service, Context-Aggregator, pomba-kibana, pomba-elasticsearch, |
| 4 | Documentation service-decomposition, sdnc-context-builder and network-discovery-context-builder. |
Ubuntu | a4e3400 | 2018-09-20 22:49:52 +0000 | [diff] [blame] | 5 | Library Collections |
| 6 | Library String |
| 7 | Library RequestsLibrary |
| 8 | Resource global_properties.robot |
| 9 | |
| 10 | *** Variables *** |
| 11 | ${POMBA_PATH} / |
| 12 | ${POMBA_AAICB_PATH} /aaicontextbuilder/health |
| 13 | ${POMBA_SDCCB_PATH} /sdccontextbuilder/health |
| 14 | ${POMBA_NDCB_PATH} /ndcontextbuilder/health |
Leigh, Phillip (pl876u) | e3dc304 | 2019-03-22 17:44:53 -0400 | [diff] [blame] | 15 | ${POMBA_NDMS_PATH} /health |
Leigh, Phillip (pl876u) | e3dc304 | 2019-03-22 17:44:53 -0400 | [diff] [blame] | 16 | ${POMBA_KIBANA_PATH} / |
| 17 | ${POMBA_ELASTICSEARCH_PATH} / |
Leigh, Phillip (pl876u) | d8966bc | 2019-03-19 16:33:39 -0400 | [diff] [blame] | 18 | ${POMBA_SERVICEDECOMPOSITION_PATH} /service-decomposition/health |
Leigh, Phillip (pl876u) | d49bf60 | 2019-03-26 12:10:15 -0400 | [diff] [blame] | 19 | ${POMBA_SDNCCTXBUILDER_PATH} /sdnccontextbuilder/health |
| 20 | ${POMBA_CONTEXTAGGREGATOR_PATH} /health |
| 21 | |
Leigh, Phillip (pl876u) | e3dc304 | 2019-03-22 17:44:53 -0400 | [diff] [blame] | 22 | ${POMBA_AAICONTEXTBUILDER_ENDPOINT} ${GLOBAL_POMBA_SERVER_PROTOCOL_HTTP}://${GLOBAL_INJECTED_POMBA_AAI_CONTEXT_BUILDER_IP_ADDR}:${GLOBAL_POMBA_AAICONTEXTBUILDER_PORT} |
| 23 | ${POMBA_SDCCONTEXTBUILDER_ENDPOINT} ${GLOBAL_POMBA_SERVER_PROTOCOL_HTTP}://${GLOBAL_INJECTED_POMBA_SDC_CONTEXT_BUILDER_IP_ADDR}:${GLOBAL_POMBA_SDCCONTEXTBUILDER_PORT} |
| 24 | ${POMBA_NETWORKDISCCONTEXTBUILDER_ENDPOINT} ${GLOBAL_POMBA_SERVER_PROTOCOL_HTTP}://${GLOBAL_INJECTED_POMBA_NETWORK_DISC_CONTEXTBUILDER_IP_ADDR}:${GLOBAL_POMBA_NETWORKDISCCONTEXTBUILDER_PORT} |
| 25 | ${POMBA_SERVICEDECOMPOSITION_ENDPOINT} ${GLOBAL_POMBA_SERVER_PROTOCOL_HTTP}://${GLOBAL_INJECTED_POMBA_SERVICE_DECOMPOSITION_IP_ADDR}:${GLOBAL_POMBA_SERVICEDECOMPOSITION_PORT} |
| 26 | ${POMBA_NETWORKDISCOVERY_MICROSERVICE_ENDPOINT} ${GLOBAL_POMBA_SERVER_PROTOCOL_HTTPS}://${GLOBAL_INJECTED_POMBA_NETWORKDISCOVERY_MICROSERVICE_IP_ADDR}:${GLOBAL_POMBA_NETWORKDISCOVERY_MICROSERVICE_PORT} |
Leigh, Phillip (pl876u) | 56c0d27 | 2019-03-25 16:43:54 -0400 | [diff] [blame] | 27 | ${POMBA_KIBANA_ENDPOINT} ${GLOBAL_POMBA_SERVER_PROTOCOL_HTTPS}://${GLOBAL_INJECTED_POMBA_KIBANA_IP_ADDR}:${GLOBAL_POMBA_KIBANA_PORT} |
Leigh, Phillip (pl876u) | e3dc304 | 2019-03-22 17:44:53 -0400 | [diff] [blame] | 28 | ${POMBA_ELASTICSEARCH_ENDPOINT} ${GLOBAL_POMBA_SERVER_PROTOCOL_HTTP}://${GLOBAL_INJECTED_POMBA_ELASTIC_SEARCH_IP_ADDR}:${GLOBAL_POMBA_ELASTICSEARCH_PORT} |
Leigh, Phillip (pl876u) | d49bf60 | 2019-03-26 12:10:15 -0400 | [diff] [blame] | 29 | ${POMBA_SDNCCONTEXTBUILDER_ENDPOINT} ${GLOBAL_POMBA_SERVER_PROTOCOL_HTTP}://${GLOBAL_INJECTED_POMBA_SDNC_CTX_BUILDER_IP_ADDR}:${GLOBAL_POMBA_SDNCCXTBUILDER_PORT} |
| 30 | ${POMBA_CONTEXTAGGREGATOR_ENDPOINT} ${GLOBAL_POMBA_SERVER_PROTOCOL_HTTP}://${GLOBAL_INJECTED_POMBA_CONTEX_TAGGREGATOR_IP_ADDR}:${GLOBAL_POMBA_CONTEXTAGGREGATOR_PORT} |
Ubuntu | a4e3400 | 2018-09-20 22:49:52 +0000 | [diff] [blame] | 31 | |
| 32 | *** Keywords *** |
| 33 | Run Pomba Aai Context Builder Health Check |
| 34 | [Documentation] Tests Pomba Aai Context Builder interface |
| 35 | ${resp}= Run Pomba Aai Context Builder Get Request ${POMBA_AAICB_PATH} |
| 36 | Should Be Equal As Strings ${resp.status_code} 200 |
| 37 | |
| 38 | Run Pomba Aai Context Builder Get Request |
| 39 | [Documentation] Runs a Pomba Aai Context Builder request |
| 40 | [Arguments] ${data_path} |
| 41 | Log Creating session ${POMBA_AAICONTEXTBUILDER_ENDPOINT} |
| 42 | ${session}= Create Session pomba-aaictxbuilder ${POMBA_AAICONTEXTBUILDER_ENDPOINT} |
| 43 | ${resp}= Get Request pomba-aaictxbuilder ${data_path} |
| 44 | Log Received response from pomba-aaictxbuilder ${resp.text} |
| 45 | [Return] ${resp} |
| 46 | |
| 47 | Run Pomba Sdc Context Builder Health Check |
| 48 | [Documentation] Tests Sdc Context Builder interface |
| 49 | ${resp}= Run Pomba Sdc Context Builder Get Request ${POMBA_SDCCB_PATH} |
| 50 | Should Be Equal As Strings ${resp.status_code} 200 |
| 51 | |
| 52 | Run Pomba Sdc Context Builder Get Request |
| 53 | [Documentation] Runs a Pomba Sdc Context Builder request |
| 54 | [Arguments] ${data_path} |
| 55 | Log Creating session ${POMBA_SDCCONTEXTBUILDER_ENDPOINT} |
| 56 | ${session}= Create Session pomba-sdcctxbuilder ${POMBA_SDCCONTEXTBUILDER_ENDPOINT} |
| 57 | ${resp}= Get Request pomba-sdcctxbuilder ${data_path} |
| 58 | Log Received response from pomba-sdcctxbuilder ${resp.text} |
| 59 | [Return] ${resp} |
| 60 | |
| 61 | Run Pomba Network Discovery Context Builder Health Check |
| 62 | [Documentation] Tests a Pomba Network Discovery Context Builder interface |
| 63 | ${resp}= Run Pomba Network Discovery Context Builder Get Request ${POMBA_NDCB_PATH} |
| 64 | Should Be Equal As Strings ${resp.status_code} 200 |
| 65 | |
| 66 | Run Pomba Network Discovery Context Builder Get Request |
| 67 | [Documentation] Runs a Pomba Network Discovery Context Builder request |
| 68 | [Arguments] ${data_path} |
| 69 | Log Creating session ${POMBA_NETWORKDISCCONTEXTBUILDER_ENDPOINT} |
| 70 | ${session}= Create Session pomba-networkdiscovery ${POMBA_NETWORKDISCCONTEXTBUILDER_ENDPOINT} |
| 71 | ${resp}= Get Request pomba-networkdiscovery ${data_path} |
| 72 | Log Received response from pomba-networkdiscovery ${resp.text} |
| 73 | [Return] ${resp} |
| 74 | |
Leigh, Phillip (pl876u) | d8966bc | 2019-03-19 16:33:39 -0400 | [diff] [blame] | 75 | Run Pomba Service Decomposition Health Check |
| 76 | [Documentation] Tests Pomba Service Decomposition interface |
| 77 | ${resp}= Run Pomba Service Decomposition Get Request ${POMBA_SERVICEDECOMPOSITION_PATH} |
| 78 | Should Be Equal As Strings ${resp.status_code} 200 |
| 79 | |
| 80 | Run Pomba Service Decomposition Get Request |
| 81 | [Documentation] Runs a Pomba Service Decomposition request |
| 82 | [Arguments] ${data_path} |
| 83 | Log Creating session ${POMBA_SERVICEDECOMPOSITION_ENDPOINT} |
| 84 | ${session}= Create Session pomba-servicedecomposition ${POMBA_SERVICEDECOMPOSITION_ENDPOINT} |
| 85 | ${resp}= Get Request pomba-servicedecomposition ${data_path} |
| 86 | Log Received response from pomba-servicedecomposition ${resp.text} |
| 87 | [Return] ${resp} |
| 88 | |
Leigh, Phillip (pl876u) | e3dc304 | 2019-03-22 17:44:53 -0400 | [diff] [blame] | 89 | Run Pomba Network Discovery MicroService Health Check |
| 90 | [Documentation] Tests Pomba Network Discovery MicroService interface |
| 91 | ${resp}= Run Pomba Network Discovery MicroService Get Request ${POMBA_NDMS_PATH} |
Leigh, Phillip (pl876u) | d8966bc | 2019-03-19 16:33:39 -0400 | [diff] [blame] | 92 | Should Be Equal As Strings ${resp.status_code} 200 |
| 93 | |
Leigh, Phillip (pl876u) | e3dc304 | 2019-03-22 17:44:53 -0400 | [diff] [blame] | 94 | Run Pomba Network Discovery MicroService Get Request |
| 95 | [Documentation] Runs a Pomba Network Discovery MicroService request |
Leigh, Phillip (pl876u) | d8966bc | 2019-03-19 16:33:39 -0400 | [diff] [blame] | 96 | [Arguments] ${data_path} |
Leigh, Phillip (pl876u) | e3dc304 | 2019-03-22 17:44:53 -0400 | [diff] [blame] | 97 | Log Creating session ${POMBA_NETWORKDISCOVERY_MICROSERVICE_ENDPOINT} |
| 98 | ${session}= Create Session pomba-networkdiscovery ${POMBA_NETWORKDISCOVERY_MICROSERVICE_ENDPOINT} |
| 99 | ${resp}= Get Request pomba-networkdiscovery ${data_path} |
| 100 | Log Received response from pomba-networkdiscovery ${resp.text} |
| 101 | [Return] ${resp} |
| 102 | |
Leigh, Phillip (pl876u) | e3dc304 | 2019-03-22 17:44:53 -0400 | [diff] [blame] | 103 | Run Pomba Kibana Health Check |
| 104 | [Documentation] Tests Pomba Kibana interface |
| 105 | ${resp}= Run Pomba Kibana Get Request ${POMBA_KIBANA_PATH} |
| 106 | Should Be Equal As Strings ${resp.status_code} 200 |
| 107 | |
| 108 | Run Pomba Kibana Get Request |
| 109 | [Documentation] Runs a Pomba Kibana request |
| 110 | [Arguments] ${data_path} |
| 111 | Log Creating session ${POMBA_KIBANA_ENDPOINT} |
| 112 | ${session}= Create Session pomba-kibana ${POMBA_KIBANA_ENDPOINT} |
| 113 | ${resp}= Get Request pomba-kibana ${data_path} |
| 114 | Log Received response from pomba-kibana ${resp.text} |
| 115 | [Return] ${resp} |
| 116 | |
| 117 | Run Pomba Elastic Search Health Check |
| 118 | [Documentation] Tests Pomba Elastic Search interface |
| 119 | ${resp}= Run Pomba Elastic Search Get Request ${POMBA_ELASTICSEARCH_PATH} |
| 120 | Should Be Equal As Strings ${resp.status_code} 200 |
| 121 | |
| 122 | Run Pomba Elastic Search Get Request |
| 123 | [Documentation] Runs a Pomba Elastic Search request |
| 124 | [Arguments] ${data_path} |
| 125 | Log Creating session ${POMBA_ELASTICSEARCH_ENDPOINT} |
| 126 | ${session}= Create Session pomba-es ${POMBA_ELASTICSEARCH_ENDPOINT} |
| 127 | ${resp}= Get Request pomba-es ${data_path} |
| 128 | Log Received response from pomba-es ${resp.text} |
Leigh, Phillip (pl876u) | d49bf60 | 2019-03-26 12:10:15 -0400 | [diff] [blame] | 129 | [Return] ${resp} |
| 130 | |
| 131 | Run Pomba Sdnc Context Builder Health Check |
| 132 | [Documentation] Tests Pomba Sdnc Context Builder interface |
| 133 | ${resp}= Run Pomba Sdnc Context Builder Get Request ${POMBA_SDNCCTXBUILDER_PATH} |
| 134 | Should Be Equal As Strings ${resp.status_code} 200 |
| 135 | |
| 136 | Run Pomba Sdnc Context Builder Get Request |
| 137 | [Documentation] Runs a Pomba Sdnc Context Builder request |
| 138 | [Arguments] ${data_path} |
| 139 | Log Creating session ${POMBA_SDNCCONTEXTBUILDER_ENDPOINT} |
| 140 | ${session}= Create Session pomba-sdncctxbuilder ${POMBA_SDNCCONTEXTBUILDER_ENDPOINT} |
| 141 | ${resp}= Get Request pomba-sdncctxbuilder ${data_path} |
| 142 | Log Received response from pomba-sdncctxbuilder ${resp.text} |
| 143 | [Return] ${resp} |
| 144 | |
| 145 | Run Pomba Context Aggregator Health Check |
| 146 | [Documentation] Tests Pomba Context-Aggregator interface |
| 147 | ${resp}= Run Pomba Context Aggregator Get Request ${POMBA_CONTEXTAGGREGATOR_PATH} |
| 148 | Should Be Equal As Strings ${resp.status_code} 200 |
| 149 | |
| 150 | Run Pomba Context Aggregator Get Request |
| 151 | [Documentation] Runs a Pomba Context Aggregator request |
| 152 | [Arguments] ${data_path} |
| 153 | Log Creating session ${POMBA_CONTEXTAGGREGATOR_ENDPOINT} |
| 154 | ${session}= Create Session pomba-contextaggregator ${POMBA_CONTEXTAGGREGATOR_ENDPOINT} |
| 155 | ${resp}= Get Request pomba-contextaggregator ${data_path} |
| 156 | Log Received response from pomba-contextaggregator ${resp.text} |
Leigh, Phillip (pl876u) | d8966bc | 2019-03-19 16:33:39 -0400 | [diff] [blame] | 157 | [Return] ${resp} |