Versions Compared

Key

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

This operation deploys an Apigee API proxy or Shared flow to Apigee by using the maven apigee deploy plugin. You must have built artifacts as zip file or expanded folder, see Extract and Save Artifacts workflow on FlexDeploy - Apigee Plugin Guide page under Example Workflows. See Special Considerations below for details on folder structure. You can download zip file from Apigee and commit to SCM for use during build, or you can commit zip file in expanded format.

The plugin unzips any zipped file within the artifacts and will search for the API proxy or Shared flow folder and deploy it to Apigee. This operation automatically generates a pom.xml and parent-pom.xml necessary to use with Maven for deployment. If it is already present, it will be replaced. The new pom contains property replacement tokens in many places. Passwords and other values will not be stored in the file.

If a config.json file is present in the folder it will be processed. The FDAGP_ENV variable holds the environment that will be used when making replacements.

Info

Either FDAPG_CLOUD_ACCOUNT_CODE environment instance property value or FDAPG_INP_CLOUD_ACCOUNT_CODE plugin input value should exist. When both exists, plugin input value will take precedence. See Creating/Editing a Cloud Account and Provider for details on how to setup Cloud Account for Apigee.

Environment/Instance Properties

The password of the Apigee account.
Property NameProperty CodeRequiredDescription
Apigee Org NameFDAPG_ORGYesThe org name of the Apigee account.
Apigee UsernameFDAPG_USERYesThe username of the Apigee account.
Apigee PasswordFDAPG_PASSWORDYes
Apigee Environment NameFDAGP_ENVYesThe environment name which the proxy or shared flow will be deployed to.Apigee Host URLFDAPG_HOST_URLYesThe host URL of the Apigee proxy. If the user is not using a private server the value should be https://api.enterprise.apigee.com
Apigee Deploy OptionFDAPG_DEPLOY_OPTIONYesThe option to indicate how proxy or shared flow revision will be managed during deployment.
Apigee AccountFDAPG_CLOUD_ACCOUNT_CODENoThe Apigee account with all the required properties for running Apigee Instance.

Project Properties

Property NameProperty CodeRequiredDescription
Apigee Proxy/Shared Flow NameFDAPG_NAMEYesThe name of the proxy or shared flow that will be deployed. This property is defaulted to the project name. This property is case sensitive and must be the exact same as the name of the API Proxy on Apigee.
API TypeFDAPG_API_TYPEYesThe type of the API, either API Proxy or Shared Flow.

Insert excerpt
Apigee Cloud Account Properties
Apigee Cloud Account Properties
nopaneltrue

Inputs

Input NameInput CodeRequiredDescription
Apigee AccountFDAPG_INP_CLOUD_ACCOUNT_CODENoThe Apigee account with all the required properties for running Apigee Instance.
Additional Deploy ArgumentsFDAPG_MVN_ARGSNoSpace-delimited list of additional Maven arguments (e.g. -e -X).

Outputs

Output NameDescription


...

The artifacts folder must contain an Apigee bundle that has a maven compatible file structure. Below you can see the recommended folder structure for the project if it is an API proxy. 

...