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

import-from-def not honoring port property #82

Closed bjimba closed 7 years ago

bjimba commented 7 years ago

I have a DataPower instance with a non-standard SOMA port configured (10550 instead of 5550), so I set the port in the properties file that I supply to ant.

I can run most tasks fine (check-access, domain-reset, upload-dir), but running 'import-from-def' fails, and I finally narrowed it down to the fact that it ignores the port property and sends the SOMA request to 5550.

nhmathis commented 7 years ago

Can you please post some code and logs of what you are seeing? Thanks!

nhmathis commented 7 years ago

I believe this change will resolve your issue:

Branch: https://github.com/ibm-datapower/datapower-configuration-manager/tree/missing-port Commit: https://github.com/ibm-datapower/datapower-configuration-manager/commit/c75f74a97d22679ad4990a90a6a9d8ef1c23838c

bjimba commented 7 years ago

Confirmed. I built DCM from 'missing-port' branch, and now both the 'import-from-def' and 'import-dpo' are correctly using the non-standard port. Well done!

nhmathis commented 7 years ago

Merged