X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=test%2Fsimulator-group%2Fdmaapmr%2Fsvc.yaml;h=913b13e20347b05ca8098e898d975994472bac5b;hb=0bfb04334ab5d9eb9b0ea573abb00eab12d9f2af;hp=0a02b4fd0942a908da7a77678dcbde0286221caa;hpb=1e539490bc37fed791895dd1f2f898caa3b0ca5c;p=nonrtric.git diff --git a/test/simulator-group/dmaapmr/svc.yaml b/test/simulator-group/dmaapmr/svc.yaml index 0a02b4fd..913b13e2 100644 --- a/test/simulator-group/dmaapmr/svc.yaml +++ b/test/simulator-group/dmaapmr/svc.yaml @@ -1,57 +1,64 @@ apiVersion: v1 kind: Service metadata: - name: $MR_DMAAP_KUBE_APP_NAME + name: $MR_ZOOKEEPER_APP_NAME namespace: $KUBE_ONAP_NAMESPACE labels: - run: $MR_DMAAP_KUBE_APP_NAME + run: $MR_ZOOKEEPER_APP_NAME autotest: DMAAPMR spec: type: ClusterIP ports: - - port: $MR_EXTERNAL_PORT - targetPort: $MR_INTERNAL_PORT + - port: $MR_ZOOKEEPER_PORT + targetPort: $MR_ZOOKEEPER_PORT protocol: TCP name: http - - port: $MR_EXTERNAL_SECURE_PORT - targetPort: $MR_INTERNAL_SECURE_PORT - protocol: TCP - name: https selector: - run: $MR_DMAAP_KUBE_APP_NAME + run: $MR_ZOOKEEPER_APP_NAME --- apiVersion: v1 kind: Service metadata: - name: $MR_KAFKA_BWDS_NAME + name: $MR_KAFKA_APP_NAME namespace: $KUBE_ONAP_NAMESPACE labels: - run: $MR_KAFKA_BWDS_NAME + run: $MR_KAFKA_APP_NAME autotest: DMAAPMR spec: - type: ClusterIP + type: NodePort ports: - - port: 9092 - targetPort: 9092 + - port: $MR_KAFKA_PORT + targetPort: $MR_KAFKA_PORT protocol: TCP name: http + - port: $MR_KAFKA_KUBE_NODE_PORT + targetPort: $MR_KAFKA_KUBE_NODE_PORT + protocol: TCP + name: http-external + nodePort: $MR_KAFKA_KUBE_NODE_PORT selector: - run: $MR_KAFKA_BWDS_NAME + run: $MR_KAFKA_APP_NAME --- apiVersion: v1 kind: Service metadata: - name: $MR_ZOOKEEPER_APP_NAME + name: $MR_DMAAP_APP_NAME namespace: $KUBE_ONAP_NAMESPACE labels: - run: $MR_ZOOKEEPER_APP_NAME + run: $MR_DMAAP_APP_NAME autotest: DMAAPMR spec: type: ClusterIP ports: - - port: 2181 - targetPort: 2181 + - port: $MR_EXTERNAL_PORT + targetPort: $MR_INTERNAL_PORT protocol: TCP name: http + - port: $MR_EXTERNAL_SECURE_PORT + targetPort: $MR_INTERNAL_SECURE_PORT + protocol: TCP + name: https selector: - run: $MR_ZOOKEEPER_APP_NAME \ No newline at end of file + run: $MR_DMAAP_APP_NAME + +