This POST service will perform the same action found on the Properties tab for on a Project and the Properties page for an or an Environment-Instance definition. It will initiate a request to update a property selected from the propertyName
code
. Each JSON request can update any number of properties across multiple Projects and Environment-Instances.
Info | ||
---|---|---|
| ||
http://host:port/flexdeploy/rest/properties/updateProperties |
...
Code Block | ||
---|---|---|
| ||
{ "authentication": { "userId": "fdadmin", "password": "password1" }, "properties": [ { "qualifiedProjectName": "/FlexDeploy/EBS/EBSPartial/Partial1", "propertyNamecode": "FDEBS_APPLICATION_SHORT_NAME", "updatedValuevalue": "FD_PROJECT_NAME", "isExpression": "true" }, { "qualifiedProjectName": "/FlexDeploy/EBS/EBSPartial/Partial2", "propertyNamecode": "FDEBS_JAVA_ROOT_SOURCE_DIR", "updatedValuevalue": "java", "isExpression": "false" }] } |
...
Code Block | ||
---|---|---|
| ||
{ "authentication": { "userId": "fdadmin", "password": "password1" }, "properties": [ { "environmentCode": "BLD", "instanceCode": "BUILDADF", "propertyNamecode": "FDJDEV_INSTALL_HOME", "updatedValuevalue": "'/oracle/Middleware/Oracle_Home/' + FD_ENVIRONMENT_CODE", "isExpression": "true" }, { "environmentCode": "BLD", "instanceCode": "BUILDEBS", "propertyNamecode": "FDEBS_DB_USER", "updatedValuevalue": "apps", "isExpression": "false" }] } |
...
Code Block | ||
---|---|---|
| ||
{ "authentication": { "userId": "fdadmin", "password": "password1" }, "properties": [ { "environmentCode": "BLD", "instanceCode": "BUILDADF", "propertyNamecode": "FDJDEV_INSTALL_HOME", "updatedValuevalue": "'/oracle/Middleware/Oracle_Home/' + FD_ENVIRONMENT_CODE", "isExpression": "true" }, { "qualifiedProjectName": "/FlexDeploy/EBS/EBSPartial/Partial1", "propertyNamecode": "FDEBS_JAVA_ROOT_SOURCE_DIR", "updatedValuevalue": "java", "isExpression": "false" }] } |
Parameters
Parameter | Required | Type | Description |
---|---|---|---|
| Y |
Object | See Common Parameters below. |
| Y |
List
This is the environment code, not the environment name that you see on most screens.
Array | |||
| N | String | This is the environment code, not the environment name that you see on most screens. |
| N | String | This is the instance code, not the instance name that you see on most screens. |
| N | String | The qualified project name starts with /FlexDeploy and includes any sub folder, then the application and finally the project. |
| Y | String | See Common Parameters below. |
| Y | String | See Common Parameters below. |
isExpression | Y | Boolean | See Common Parameters below. |
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|