Uploaded image for project: 'Clamp'
  1. Clamp
  2. CLAMP-516 loop through list of CL flow microservice to instantiate
  3. CLAMP-569

Global properties json should now be able to contain multiple dcaeDeployParameters

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Medium Medium
    • Frankfurt Release
    • None
    • None
    • CLAMP-R6 Sprint 3

      The global properties Json field of the Loop object must now contain a list of dcaeDeployParameters because we can now have multiple blueprints to deploy on DCAE.

      They must be a map indexed by microservice name.

      So we must change the LoopCsarInstaller.createGlobalPropertiesJson method so that it can add a unique element to that list (for backward compatibility with one unique blueprint)

      The new code that will handle the creation of a loop based on a loop template will have to write the global prop json accordingly (but that's not part of this task)

      Json should now be something like that:

      "dcaeDeployParameters": {     

           "microservicename1":

                 {          

                  "param1": "value1", 

                  "param2": "value2"

           },

           "microservicename2":

                {                           "param1": "value1",                        "param2": "value2"                  }

      }

            xuegao xuegao
            sebdet sebdet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: