Reputation: 331
I have a scenario where multiple coordinators need to be run as a bundle. And the coordinators have same properties with different values. Bundling the coordinators means that i need to specify separate property names in the job.properties file.This means going back and renaming all the properties that are used in the workflows.Is there a way around this.
Upvotes: 1
Views: 847
Reputation: 46
It seems like you have 3 options:
<bundle-app name="bundle_name"> <coordinator name="coordinator 1"> <app-path>${coord1AppPath}</app-path> <configuration> <property> <name>value1</name> <value>${coordinator1_value1}</value> </property> </configuration> </coordinator> <coordinator name="coordinator 2"> <app-path>${coord2AppPath}</app-path> <configuration> <property> <name>value1</name> <value>${coordinator2_value1}</value> </property> </configuration> </coordinator> </bundle-app>
I know that none of those options are optimal, but i can't think of any other possibilities.
Upvotes: 1