diff options
-rwxr-xr-x | csit/resources/scripts/run-test.sh | 3 | ||||
-rw-r--r-- | helm/policy/components/policy-drools-pdp/templates/service.yaml | 10 |
2 files changed, 7 insertions, 6 deletions
diff --git a/csit/resources/scripts/run-test.sh b/csit/resources/scripts/run-test.sh index b8b6857a..4af5879f 100755 --- a/csit/resources/scripts/run-test.sh +++ b/csit/resources/scripts/run-test.sh @@ -31,6 +31,7 @@ POLICY_API_IP=policy-api:${DEFAULT_PORT} POLICY_PAP_IP=policy-pap:${DEFAULT_PORT} APEX_IP=policy-apex-pdp:${DEFAULT_PORT} POLICY_PDPX_IP=policy-xacml-pdp:${DEFAULT_PORT} +POLICY_DROOLS_IP=policy-drools-pdp:9696 DMAAP_IP=message-router:3904 APEX_EVENTS_IP=policy-apex-pdp:23324 @@ -40,7 +41,7 @@ export ROBOT_VARIABLES= ROBOT_VARIABLES="-v DATA:$DATA -v NODETEMPLATES:$NODETEMPLATES -v POLICY_API_IP:$POLICY_API_IP -v POLICY_RUNTIME_ACM_IP:$POLICY_RUNTIME_ACM_IP -v POLICY_PAP_IP:$POLICY_PAP_IP -v APEX_IP:$APEX_IP -v APEX_EVENTS_IP:$APEX_EVENTS_IP -v DMAAP_IP:$DMAAP_IP -v PROMETHEUS_IP:${PROMETHEUS_IP} --v POLICY_PDPX_IP:$POLICY_PDPX_IP" +-v POLICY_PDPX_IP:$POLICY_PDPX_IP -v POLICY_DROOLS_IP:$POLICY_DROOLS_IP" echo "Run Robot test" echo ROBOT_VARIABLES="${ROBOT_VARIABLES}" diff --git a/helm/policy/components/policy-drools-pdp/templates/service.yaml b/helm/policy/components/policy-drools-pdp/templates/service.yaml index c60aec0e..56cbf366 100644 --- a/helm/policy/components/policy-drools-pdp/templates/service.yaml +++ b/helm/policy/components/policy-drools-pdp/templates/service.yaml @@ -31,12 +31,12 @@ metadata: spec: type: {{ .Values.service.type }} ports: - - port: {{ .Values.service.internalPort }} + - port: {{ .Values.service.externalPort }} targetPort: {{ .Values.service.internalPort }} - name: https-6969 - - port: {{ .Values.service.internalPort2 }} - targetPort: {{ .Values.service.internalPort }} - name: https-9696 + name: http-6969 + - port: {{ .Values.service.externalPort2 }} + targetPort: {{ .Values.service.internalPort2 }} + name: http-9696 selector: app: {{ .Chart.Name }} release: release |