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

DataFile - Using CBS Client to fetch configuration from Consul

XMLWordPrintable

      DFC will use the related function to fetch configuration from Consul

      • get-configuration created by CbsRequests.getConfiguration method - returns the service configuration
      • get-by-key created by CbsRequests.getByKey method - returns componentName:key entry from Consul

      After discussing with the community, 

      We need to use CbsRequests.getAll to fetch the "merged" configuration from Consul. 

      To achieve that, we need to change the blueprint to align with dynamic change and add "<< >>" to replace the default configuration and to get the "merged" configuration.

       

            yongchaowu yongchaowu
            yongchaowu yongchaowu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: