From d9d3f42ea3490692a133b6e2025c38ffdc519447 Mon Sep 17 00:00:00 2001 From: dglFromAtt Date: Thu, 18 Oct 2018 21:04:35 +0000 Subject: Provision clients for PNF topics In addition to adding the pub and sub client Role to the PNF topics for use by the PRH, we fixed the readinessProbe to wait for the message-router pod. This should avoid attempts to provision before MR is ready to accept. Also, properly delivered the dmaapbc.properties file which was lost from previous commits! Change-Id: I8016bc83a9c3ba75de22732e475c5f1896ea4ae4 Signed-off-by: dglFromAtt Issue-ID: DMAAP-548 --- .../dmaap-bus-controller/resources/topics/PNF_READY.json | 13 ++++++++++++- .../resources/topics/PNF_REGISTRATION.json | 13 ++++++++++++- 2 files changed, 24 insertions(+), 2 deletions(-) (limited to 'kubernetes/dmaap/charts/dmaap-bus-controller/resources/topics') diff --git a/kubernetes/dmaap/charts/dmaap-bus-controller/resources/topics/PNF_READY.json b/kubernetes/dmaap/charts/dmaap-bus-controller/resources/topics/PNF_READY.json index 0010f22cb4..8f4cf8bd64 100644 --- a/kubernetes/dmaap/charts/dmaap-bus-controller/resources/topics/PNF_READY.json +++ b/kubernetes/dmaap/charts/dmaap-bus-controller/resources/topics/PNF_READY.json @@ -2,5 +2,16 @@ "topicName": "PNF_READY", "topicDescription": "This topic will be used to publish the PNF_READY events generated by the PNF REgistration Handler service in the DCAE platform.", "owner": "PNFRegistrationHandler", - "txenabled": false + "txenabled": false, + "clients": [ + { + "dcaeLocationName": "san-francisco", + "clientRole": "org.onap.dmaap.mr.PNF_READY.pub", + "action": [ + "pub", + "view" + ] + + } + ] } diff --git a/kubernetes/dmaap/charts/dmaap-bus-controller/resources/topics/PNF_REGISTRATION.json b/kubernetes/dmaap/charts/dmaap-bus-controller/resources/topics/PNF_REGISTRATION.json index 2b5c8a523d..f0dd2c7829 100644 --- a/kubernetes/dmaap/charts/dmaap-bus-controller/resources/topics/PNF_REGISTRATION.json +++ b/kubernetes/dmaap/charts/dmaap-bus-controller/resources/topics/PNF_REGISTRATION.json @@ -2,5 +2,16 @@ "topicName": "PNF_REGISTRATION", "topicDescription": "the VES collector will be publishing pnfRegistration events in this topic", "owner": "VEScollector", - "txenabled": false + "txenabled": false, + "clients": [ + { + "dcaeLocationName": "san-francisco", + "clientRole": "org.onap.dmaap.mr.PNF_REGISTRATION.sub", + "action": [ + "sub", + "view" + ] + + } + ] } -- cgit 1.2.3-korg