Versions Compared

Key

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

Imports an API from the FlexDeploy Artifact Repository into Oracle API Platform.

...

Property NameProperty CodeRequiredDescription
Oracle API Platform AccountFDOAP_CLOUD_ACCOUNT_CODEYThe Oracle API Platform cloud account to use for this operation. 

Project Properties

Property NameProperty CodeRequiredDescription
Oracle API NameFDOAP_API_NAMEYName of the API being managed
Oracle API VersionFDOAP_API_VERSIONYVersion of the API being managed

...

Input NameInput CodeRequiredDescription
Smart ImportFDOAP_INP_SMART_IMPORTNImport will only take place if changes are detected in the implementation or publication of the API.  This prevents unnecessary API iteration increases.
API GrantsFDOAP_INP_API_GRANTSNMultiselect list of grants to grant to the group(s) specified in the Grantee Groups input
Grantee GroupsFDOAP_INP_GROUPSNRequired if API Grants are specified.  Oracle Paas group to receive API Grants.  If multiple then separate with a comma.  Group1,Group2
Update References
FDOAP_INP_UPDATE_REFERENCES
N

@since 5.3.0.4 Will query target environment for reference ids and replace them before importing. If Always is selected, the import will fail if the references file is not found.

See ExportAPI Special Considerations for more information on replacing references.

Outputs

Output NameDescription
FDOAP_OUT_API_ITERATIONThe API iteration after importing
FDOAP_OUT_API_IDThe API id after importing.  If the API already exists it will not change the id.

...

As mentioned in the description, this operation requires a file named 'flexApi.json' to be in the artifacts directory.  It does not require that the flexApi.json file was created as a result of the ExportAPI operation.  If you want source control your APIs and build directly from source control you can still use this operation.

Info

@since 5.3.0.4 The api json file mentioned above no longer needs to be named flexApi.json. The plugin will first check for a file named flexApi.json but fallback to any file with a .json extension. If no flexApi.json and multiple json files are found then an error will be thrown.