-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DataPower Plugin and Deployment Policy with Deployment-Policy-variables #102
Comments
We have implemented this feature, will be releasing it in next plugin version this week. Implementation detail : We have added one more field for "deployment-policy-variables" to plugin step "Import (Deployment Policy Object)". |
Hi, Directions on creating a deployment and it's variables can be found in this wiki: https://github.com/ibm-datapower/datapower-configuration-manager/wiki/dcm:deployment-policy-element |
Reviewing this request further... @ahung04, I believe what you are trying to achieve already exists within the capabilities of DCM and the associated plugin. Please follow the "Example #2: Deployment Policy It will guide you through how to create a deployment policy, modifying a property, and deleting a property through the UCD plugin. There are a few other property manipulation capabilities outlined here: https://github.com/ibm-datapower/datapower-configuration-manager/wiki/dcm:deployment-policy-element All of this is specified through the same definition file. If you are looking to make environment specific policy changes, about half way through this Wiki page, it shows a few examples of making environment specific entries: https://github.com/ibm-datapower/datapower-configuration-manager/wiki/Easy-On-Ramp Here's some other documentation in the context of UrbanCode Deploy and DataPower that you might find beneficial: https://www.urbancode.com/plugindoc/ibm-datapower-configuration-manager/ |
We did make a change to the DCM and plugin to possibly address this, but I believe it can already by handled by the existing functionality explained above. Please let us know the result! |
@Jyoti-Prakash01 thanks for adding deployment-policy-variables field. @nhmathis much appreciated your help. it seems helpful and would spend sometime further study the information. |
@nhmathis How can we refer deployment-policy-variables in the service properties file? Properties for the ucdDemo service.import-from-def targetimport.file=${user.dir}/services/${service}/${service}.zip Deployment Policy Object for import-dpodeployment.policy.object=dep_pol_${service} Deployment Policy Object Variable for import-dpodeployment.policy.object.variables=dep-pol_variables |
@Jyoti-Prakash01 - What are your thoughts on my above question? |
Import (Deployment Policy Object) - How to import deployment-policy and with deployment-policy-variables?
DataPower Import module contains both deployment-policy and deployment-policy-variables such that you could apply policy and its variables for different envirnoment,
But within UrbanCode DataPower plug-in "Import (Deployment Policy Object)" it missing deployment-policy-variables, how could I apply deployment-policy with deployment-policy-variables?
The text was updated successfully, but these errors were encountered: