Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Existing design consist fo kubernetes Job Manifest which consist of onap/dmaap/dbc-client docker image for making http request toward dmaap-bc (Dmaap Bus Controller) pod.
  2. In DCAE Design-1 highlighted in below pic is considered where we need to create dmmap provisionning Init-Container which will be making use of same onap/dmaap/dbc-client docker image to make Http Rest Request towards dmap-db pod.
    1. Once the http request is made response will be written back to shared EmptyDir voulme.
    2. Second Init-container (Update Config) will be reading the response from share EmptyDir voulme and will merge it with application config.

Code Block
languageyml
titleFeed + Dr_pubs Input via Values.yaml
feedConfig:
  owner: dcaecm
  feedVersion: 0.0
  feedName: bulk_pm_feed
  asprClassification: unclassified
  feedDescription: DFC Feed Creation
  pubs:
    - username: dcaepub
      userpwd: tpJN3gjaAzPAiAa4
      dcaeLocationName: loc00


Code Block
languagexml
titleResponse
{
   "type":"feed",
   "lastMod":"2021-05-18T17:38:48.214Z",
   "status":"VALID",
   "asprClassification":"unclassified",
   "feedDescription":"DFC Feed Creation",
   "feedId":"2",
   "feedName":"bulk_pm_feed",
   "feedVersion":"1",
   "logURL":"https://dmaap-dr-	/feedlog/2",
   "owner":"dcaecm",
   "publishURL":"https://dmaap-dr-prov/publish/2",
   "pubs":[
      {
         "lastMod":"2021-05-18T17:38:48.204Z",
         "status":"VALID",
         "dcaeLocationName":"loc00",
         "feedId":"2",
         "pubId":"2.h2a6w",
         "username":"dcaepub",
         "userpwd":"tpJN3gjaAzPAiAa4"
      }
   ],
   "subs":[
      
   ],
   "subscribeURL":"https://dmaap-dr-prov/subscribe/2",
   "suspended":false
}


**Further analysis is on going will be updating this wiki as we move along.

...