Deploy artifacts generated by the mdsBuild operation to the MDS server. Note that MDSObjects.jar
(artifact file) does not have namespace in its structure, but objects will be deployed to the specific namespace configured on Project properties.
Property replacement logic will be executed on Objects prior to deployment if MDS Property Replacement was checked on project properties.
This operation must execute on one of the SOA managed server endpoints in SOA domain.
This operation also supports package-based build and deploy. When using package-based deploy, the plugin will consume a zip file created by the mdsBuild operation, named {{FD_PROJECT_NAME}}.zip
. Note that the structure of this file will match the folder structure from SCM, even if the TARGET attribute is set to a different path. This is so the user can easily change the target and redeploy to MDS to update the file path inside of MDS. When the operation executes, each file in the zip is extracted to its respective target path inside of a temporary namespace folder created with the value from FDMDS_NAME_SPACE.
Target Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
MDS UserID |
| Yes | Username for MDS access. |
MDS Password |
| Yes | Password for |
MDS JDBC URL |
| Yes | Database URL for MDS access. |
Oracle SOA Home |
| Yes | Oracle SOA Home indicates where SOA Suite is installed. |
Project Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
MDS Name Space |
| Yes | Name space within MDS where the objects will be stored. |
MDS Property Replacement |
| No | Indicates whether property replacement will be performed on the MDS objects. |
Project File Attributes
The following properties are Project File Attributes. They are only available on Package-Based projects.
Attribute Name | Attribute Code | Required | Description |
---|---|---|---|
Target Path |
| Yes | The path in MDS where the file should be placed. Default value is the SCM file path. |
Property Replacement |
| Yes | Whether or not to perform property replacement on individual files. Defaults to the value of FDMDS_PROPERTY_REPLACEMENT. |
Rollback Source Type |
| No | Where to retrieve file when initiating a rollback deployment. Defaults to Project Version Options are Project Version, SCM Revision, Backup Repository, and Rollback File SCM Revision and Rollback File options are only available when the project has SCM details configured, and Backup Repository should only be used if the FlexDeploy server and project are configured to take backups. |
Rollback File |
| No | The associated file to deploy which will roll back this file. Only applicable when Rollback Source Type is Rollback File |
The target path should not contain the namespace folder, however, if the target path starts with the namespace, the plugin will ignore the namespace on the beginning of the target path. For example, if FDMDS_NAME_SPACE
is "apps", and the target path is /Schemas/customer.xsd,
the path inside of MDS will be /apps/Schemas/customer.xsd.
Artifacts
This operation consumes a jar or zip file that contains a variety of objects that will be stored in the MDS, such as an xsd, xslt
or wsdl
.
Endpoint Selection
This operation will select all available endpoints associated to the Target.
Endpoint Execution
This operation will execute on any one of the selected endpoints and will be random in the determination of which one.
Replacement Properties
If the project property MDS Property Replacement
is checked, then all files within the MDS object structure are pre-processed by the plugin to transform any defined replacement properties.
This is needed when there are URLs that are defined in file and need to be changed by environment, such as a URL in a fault policy file.