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:

  1. select the environment we want to build the composite in, the environments that had the Build Environment checkbox will appear in the dropdown
  2. select the SCM stream that was configured on the project, this will be pre-populated if there is only one configured stream
  3. 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:

  1. select the Project Version, the form will default to the latest Project Version but the dropdown will contain all previously create Project Versions
  2. select the Environment that the deployment will be executed in
  3. select the Deploy Instance, will be default from the Project configuration.  Deployments can happen on multiple instances.
  4. 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

  1. the workflow execution steps
  2. the logs for each workflow step, which can be viewed by clicking on the link under the step
  3. the artifact, which can be downloaded
  4. the project and environment instance property values at the time of execution



The following macros are not currently supported in the footer:
  • style