Showing posts with label uDeploy. Show all posts
Showing posts with label uDeploy. Show all posts
Monday, 23 February 2015
UrbanCode properties
The basic form is .... ${p:scope/propertyName}
where scope is application, environment, resource (there are more, I've found these the most useful)
All scopes have a build in allProperties array, for example ${p:environment/allProperties}
Array elements are comma separated with each element of the form key=value
Create a new WAS job in UrbanCode Deploy
- Create a Top Level Resource Group
- Add the Agent on the DMGR to this Group
- Create a Component
- Create an Application
- Add the Component to the Application
- Create a Process (this is the low level process) under the Component of type "configuration deployment"
- In this process create your *.py file. The contents of the file will be our wsadmin script
- Also in this Process add a Shell step which invokes wsadmin and passes args
- Save the Process
- Create an Environment under the Application
- Click on the Environment name and add a Base Resource (the whole folder representing the Top Level Resource Group you created in step 1)
- Under Resources > Resources, navigate to the agent under the Top Level Resource you created earlier click Actions and add the Component you created earlier (this is called mapping / associating the component to the machine where it will run) - NOTE: I'm not sure whether you need to add this to the Agent or the containing folder - TBC
- Under the Application create a high level Process, because I added the Component to the Application in step 3 it will available to drag onto the canvas.
Subscribe to:
Posts (Atom)