-
Sub-task
-
Resolution: Done
-
Medium
-
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" }
}