Uploaded image for project: 'Data Collection, Analytics, and Events'
  1. Data Collection, Analytics, and Events
  2. DCAEGEN2-2734

Enhance dcaegen2-common-service template - dynamic DMAAP config handling

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: High High
    • Istanbul Release
    • None
    • None
    • None

      DR publisher configuration (publishURL) is dependent on job execution output. 

      Based on parameters returned from DMAAP/DBCL job (covered under DMAAP-1561), dmaap configuration (pub url) need to be updated into application configmap before being attached to application POD and/or consul load is done.

      This will require enhancement to dcae-service-common template update config-map (similar to envsubst done as init) before mounting into application. 

      Proposed solution:

      • Include placeholder in values.applicationConfig for DR pub config (rest of DMAAP MR pub/sub or DR sub can be specified as wellknown config directly)
      • Common-service-template/deployment on invocation of DMAAP job/init must retrieve the output (either via configmap or file or consul TBD)
      • Substitue the config returned at the placeholder section on values.applicationConfig
      • Load the updated applicationConfig into Configmap and/or consul

      Application will retrieve the dmaap configuration using CBS apis (as done on Cloudify deployment) either directly or using CBS SDK libraries

       

            ajay_dp001 ajay_dp001
            vv770d vv770d
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: