UrbanCode / IBM-Integration-Bus-UCD

The IBM Integration Bus (IIB), formally WebSphere Message Broker, for UrbanCode Deploy contains various steps to manage execution groups, brokers, and message flows using the Integration/CMP API.
https://developer.ibm.com/urbancode/plugin/websphere-message-broker-cmp-ibmucd/
3 stars 6 forks source link

[PLUGINS-1775] Added mqsiprofile script field to broker steps : create, delete, star… #36

Open Jyoti-Prakash01 opened 5 years ago

Jyoti-Prakash01 commented 5 years ago

…t, stop.

Jyoti-Prakash01 commented 5 years ago

The properties those I have created are used by mqsi_profile_wrapper.groovy. Which is being passed for broker steps in plugins.xml. Let me know if I am wrong.

Jyoti-Prakash01 commented 5 years ago

Also, along with jarPath and other properties that I have added are being used in mqsi_profile_wrapper.groovy.

jrbarto commented 5 years ago

Oh okay, I see you're using the wrapper now instead of directly using the script. I think that's a good call. However, the jarPath shouldn't be a property for mqsi scripts. That property is only necessary when using the Java IBM Integration API. Otherwise it's useless and just makes the step more complicated.

Note that if you straight up remove the property right now it would break the plugin. In the wrapper script there is a split statement that splits the contents of the jarPath. You can remove the jarPath property from your new steps if you modify the wrapper script to first check if jarPath exists before splitting its contents.