Execution
At the completion of this section, you will:
- understand how to request a build for a SOA composite
- understand how to request a deployment of the build artifact to an environment
- understand the FlexDeploy deployment model of build once and deploy to many environments
- understand how to view the execution data
Now that FlexDeploy is configured with everything that is required to execute a build and deploy request for the SOA composite, we can execute the first build. On the Project, select the first tab (green - Execution) and select the Build button.
The Build Request Form will appear and we need to:
- select the environment we want to build the composite in, the environments that had the Build Environment checkbox will appear in the dropdown
- select the SCM stream that was configured on the project, this will be pre-populated if there is only one configured stream
- submit the request, this will initiate the soaBuild workflow
Upon submission, the build workflow is initiated and the workflow steps are executed on the SOA instance in the Dev environment, utilizing the SOADEV endpoint. Upon completion of the workflow, the execution status will be successful.
With the successful execution of the build, a SAR file artifact is created, stored in the artifact repository and marked with the Project Version. Every build will generate a new Project Version. The generated SAR artifact and the discovered project specific config plans can be viewed from the Execution Id link and the Artifacts tab.
Now the composite can be deployed to an environment by selecting the Deploy button.
The Deploy Request Form will appear and we need to:
- select the Project Version, the form will default to the latest Project Version but the dropdown will contain all previously create Project Versions
- select the Environment that the deployment will be executed in
- select the Deploy Instance, will be default from the Project configuration. Deployments can happen on multiple instances.
- submit the request, this will initiate the soaDeploy workflow
Upon submission, the deploy workflow is initiated and the workflow steps are executed on the SOA instance in the Dev environment, utilizing the SOADEV endpoint. Upon completion of the workflow, the execution status will be successful.
With the successful execution of the deploy, the SAR file artifact will be deployed to the Dev environment. The deployment configuration plan will be applied to the SAR file upon deployment and any URL references will be changed. Now follow the same deployment steps and deploy the composite to the QA and PROD environments. Upon completion of the deployments, the execution screen should show the Current State of Project Deployments with the same Project Version in all three environments.
The Execution Id is a link to all of the execution data related to each request, such as
- the workflow execution steps
- the logs for each workflow step, which can be viewed by clicking on the link under the step
- the artifact, which can be downloaded
- the project and environment instance property values at the time of execution
Completed 9 of 10 Sections | Continue to Finish | Back to Project Creation |
---|
- style