Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Current »

Templates are simple Groovy scripts and custom Inputs, which are then used create FlexDeploy projects using CSV file. Template can have inputs which map to CSV file headers which are passed into the groovy script for execution. Inputs allow the groovy script to be very dynamic and create projects with different attributes.

Templates can be accessed through the Administration menu.

Predefined Templates

FlexDeploy provided pre-defined templates as described below.

Template NameTemplate Details
BaseADFApplicationProjectprovides the script and base inputs to create an ADF application project.
SimpleADFApplicationProjectprovides a simple script and base inputs to create an ADF application project.
BaseADFLibraryProjectprovides the script and base inputs to create an ADF library project.
BaseSOAProjectprovides the script and base inputs to create a SOA project.
BaseSOAProjectWithCITriggerprovides the script and base inputs to create a SOA project that also contains CI Trigger configuration.
BaseEBSFormsProjectprovides the script and base inputs to create an EBS Forms project
BaseMixedTechWithDefaultsProjectprovides the script and base inputs to create any project based on the ProjectType input. This script will provide the concept of allowing ADF, SOA and other technologies in the same upload file.
SimpleOSBProjectprovides the script and base inputs to create an OSB project.

Template Recommendations

  • Use the "Make Copy" button to copy a base read-only template to another template if you want to modify it. Then you have the base template to refer back to if there are problems.
  • Utilize the defaults screen, to setup defaults for your projects.
  • Project defaults and SCM Defaults will be preset in the Project object and that will allow you to change less information in template script. However, these defaults can be changed in the template script, if required.

Maintain Templates

Create Projects from Template

Additional Examples

Simple SOA Project

  • Create two template inputs of String type - ApplicationName, ProjectName.
  • Most configurations are constant, i.e. workflow, instance, partition etc.
  • Only change is location of composite in Git repository.
// best practice is to have the projectName be the same as the composite name
Project.setProjectPath("FlexDeploy/SOA/" + ApplicationName);

Project.addGITConfig(1,"GITREPO", "StreamName", "ProjectVersion", "ProjectName", "\"SOA/" + ApplicationName +   "/\" + ProjectName");


Project.addProperty("FDSOA_COMPOSITE_NAME", CompositeName);
Project.addProperty("FDSOA_PARTITION", "default");
  • No labels