roboconf-platform icon indicating copy to clipboard operation
roboconf-platform copied to clipboard

[plugin script] Be able to retrieve the component initiating a configuration change over an inter-application link

Open cdeneux opened this issue 9 years ago • 1 comments

I have two Roboconf applications linked between them. When a configuration change occurs into APP1, my script update.sh is called with following variables:

   ROBOCONF_IMPORT_CHANGED_INSTANCE_PATH=/container-prov-vm-1/container-prov-node-1
   ROBOCONF_IMPORT_CHANGED_COMPONENT=ESB
   ROBOCONF_UPDATE_STATUS=DEPLOYED_STARTED

ROBOCONF_IMPORT_CHANGED_COMPONENT contains only the imported application for which a configuration change occurs. And I'm not able to retrieve inside this imported application the component for which a configuration change occurs.

Please, give us a way to know this. For example using the following convention: ROBOCONF_IMPORT_CHANGED_COMPONENT=[imported-app]/component/sub-component/sub-sub-component/...

cdeneux avatar Mar 02 '16 14:03 cdeneux

For the record, ESB here stands for the alias of the application for inter-application dependencies. The component that initiates an import is only known with intra-application dependencies. We would have to update the structure of an Import.

vincent-zurczak avatar Mar 02 '16 15:03 vincent-zurczak