Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Objective

You have a Java application that is built with Maven and the source code is managed in a GIT repository. The goal of this tutorial is to automate the build and deployment across multiple environments. This automation will include:

...

Change the branch name similar to the git repositories branch name. Click on Save.

...

...

Topology

Navigate to the Topology from the Menu. The Page with the Target Groups, Environments and Endpoints sections will be displayed. Choose a Target Group on the left. You will see a list of Environments on the right with colored circles representing each Target

...

Click on Tomcat Target Group and click on the Development Environment

Color coding represents:

  • RED - no required properties are set and/or the The Endpoint is not configured

  • YELLOW - some of the required properties are set and/or the Endpoint is not configurednot set,

  • GREEN - all required properties are set and the Endpoint is configured

Selecting the GREEN circle for DEV will display the configurable properties/Endpoint and allows for the configuration of the properties.

...

Targets Properties

Clicking the environment row for DEV allows modifying the Endpoint and properties.

...

Build Execution

FlexDeploy is configured with everything that is required to execute a build and deploy request for the ADF application, we can execute the first build.  On the Project, select the Execution tab and select the Build button.

...

Now the application can be deployed to an environment by selecting the deploy icon as shown in the below screenshot.

...

  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 Target Group, which will be defaulted from the Project configuration.  Deployments can happen on multiple instances.

  4. Submit the request, which will initiate the application Deploy workflow.

...