ibm-datapower / datapower-configuration-manager

IBM DataPower Configuration Manager and IBM UrbanCode plugin
https://developer.ibm.com/urbancode/plugin/websphere-datapower-configuration-manager/
46 stars 51 forks source link

Issues after upgrade to UCD 7.2 #129

Open a-robben opened 2 years ago

a-robben commented 2 years ago

After upgrading to UCD 7.2.2.1 DP steps would fail with the below error. This is do to UCD now using groovy 3.

org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: file:/opt/IBM/ibm-ucd/agent/var/plugins/com.ibm.datapower_21_c161d6fcc56f21d3ce0c76843d79fb8938d175ab1c312601b59cce03dd6d456d/classes/com/urbancode/air/AirPluginTool.groovy: 49: The variable [inputPropsStream] is declared final but is reassigned . At [49:13] @ line 49, column 13. inputPropsStream = new FileInputStream(inputPropsFile); ^

1 error

a-robben commented 2 years ago

Removed a few final from AirPluginTool.groovy and got this working. Created pull request. https://github.com/ibm-datapower/datapower-configuration-manager/pull/130