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:

...

Scroll through this guide to fill in the blueprint properties. Select the Build and Deploy options. In our case, we select Maven as Build Option and Tomcat as Deploy Option.

...

Project Info

Property Name

Value for this tutorial

Description

Application Name

MobileBanking

The Application Name, artifact id for maven, JDeveloper jws name.

Description

Creating SOA project using Blueprints

Brief description of the application.

Source Control

Click on source repository dropdown. If you have already created a connection to your source code repository, select it from the list.

...

Otherwise add one by clicking on “Create new Source Repository”.

...

Inputs Info

Field

Required

Description

Name

Yes

A descriptive name for this SCM instance.

Code

Yes

A technical code for the instance, without any spaces.  The codes are available as variables to shell and Groovy scripts, and therefore needs to comply with their limitations. 

Source Control Type

Yes

Type of Source Control Management System.  We will use Git for this tutorial.

Supported Source Control Management Systems are:

  • Subversion

  • Git

  • Microsoft TFS Version Control

  • PVCS

  • CVS

  • Perforce

  • File System

Description

No

 

SCM Properties

Yes

The remaining properties are specific to the selected SCM.

For Git:

  • Git URL

  • Git User

  • Git Password

  • Git Timeout (optional)

  • Git File Content (optional)

  • Git File Content Commit URL (optional)

We selected the SCM type as GIT. The properties related to the GIT source control management will be displayed on the screen.

...

Enter values for any workflow properties which are required for the build and deploy.  In the image below, no properties are required for this build. Select the target endpoint that the build and deploy should execute on. Click on “Confirm”.

...

Target Properties

Property Name

Values for this Tutorial

Description

Maven Run Command

package

The Maven Run command to use.

Maven Run Arguments

Any additional maven run arguments to use.

Tomcat Catalina Home

locate this value from your Tomcat server.

The CATALINA_HOME directory for the Tomcat installation.

The Project Name will be auto updated as MobileBanking since it takes the value same as Application Name.

...

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

...