Retrieve Deployment
get
/services/{version}/deployments/{deployment}
Retrieve the details of a deployment.
Request
Path Parameters
-
deployment: string
Minimum Length:
1Maximum Length:32Pattern:^[A-Za-z][A-Za-z0-9-_.]*$Name for the Oracle GoldenGate deployment.
-
version: string
Oracle GoldenGate Service API version.
Allowed Values:[ "v2" ]
Response
Supported Media Types
- application/json
200 Response
The deployment details were retrieved successfully.
Root Schema : Oracle GoldenGate Deployment
Type:
objectTitle:
Oracle GoldenGate DeploymentProperties for an Oracle GoldenGate deployment
Show Source
-
$schema(optional):
Allowed Values:
[ "ogg:deployment" ] -
enabled(optional):
boolean
Default Value:
trueIndicates the deployment is managed by the Service Manager -
environment(optional):
array environment
Minimum Number of Items:
1Maximum Number of Items:1024Additional environment variables for the deployment -
id(optional):
string
Minimum Length:
36Maximum Length:36Default Value:30ea2667-2023-4c38-b028-c5073e5f4b81Pattern:^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89ABab][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$An identifier that uniquely identifies this deployment -
oggConfHome(optional):
string
Minimum Length:
1Maximum Length:4096Default Value:confThe deployment's configuration directory -
oggDataHome(optional):
string
Minimum Length:
1Maximum Length:4096Default Value:dataThe deployment's var/data user data directory -
oggEtcHome(optional):
string
Minimum Length:
1Maximum Length:4096Default Value:etcThe deployment's etc configuration directory -
oggHome(optional):
string
Minimum Length:
1Maximum Length:4096The deployment's home directory -
oggSslHome(optional):
string
Minimum Length:
1Maximum Length:4096Default Value:sslThe deployment's SSL configuration directory -
oggVarHome(optional):
string
Minimum Length:
1Maximum Length:4096Default Value:varThe deployment's var user data directory -
passwordRegex(optional):
string
Minimum Length:
1Maximum Length:256Default Value:(?=^.{8,30}$)(?=(.*[0-9]))(?=(.*[A-Z]))(?=(.*[a-z]))(?=(.*[-!@%&*.#_]))(?!(.*[$^?]))^.*The regular expression that new user passwords must match -
status(optional):
Default Value:
stoppedAllowed Values:[ "running", "stopped", "restart", "killed", "abended" ]Indicates the status of the deployment
Nested Schema : environment
Type:
arrayMinimum Number of Items:
1Maximum Number of Items:
1024Additional environment variables for the deployment
Show Source
Nested Schema : items
Type:
Show Source
object-
name:
string
Minimum Length:
1Maximum Length:64Pattern:[a-zA-Z0-9_]{1,64}Environment variable name -
value:
string
Minimum Length:
1Maximum Length:4095Environment variable value
Example Response (application/json)
{
"$schema":"api:standardResponse",
"links":[
{
"href":"http://localhost:11000/services/v2/deployments/Local",
"mediaType":"application/json",
"rel":"canonical"
},
{
"href":"http://localhost:11000/services/v2/deployments/Local",
"mediaType":"application/json",
"rel":"self"
},
{
"href":"http://localhost:11000/services/v2/metadata-catalog/deployment",
"mediaType":"application/schema+json",
"rel":"describedby"
}
],
"messages":[
],
"response":{
"oggHome":"/u01/app/ogg",
"oggDataHome":"/u02/ogg/Local/var/lib/data",
"oggConfHome":"/u02/ogg/Local/etc/conf",
"enabled":true,
"id":"df366222-2166-4714-90d8-9ebeefa5b00e",
"oggSslHome":"/u02/ogg/Local/etc/ssl",
"$schema":"ogg:deployment",
"status":"running",
"oggEtcHome":"/u02/ogg/Local/etc",
"oggVarHome":"/u02/ogg/Local/var",
"environment":[
{
"name":"LD_LIBRARY_PATH",
"value":"${ORACLE_HOME}/lib:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.201.b09-2.el7_6.x86_64/jre/lib/amd64/server:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.201.b09-2.el7_6.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.201.b09-2.el7_6.x86_64/jre/../lib/amd64:/usr/lib/jvm/jre/lib/amd64/server:/u01/app/oracle/product/12cR2/dbhome/lib"
},
{
"name":"JAVA_HOME",
"value":"/usr/lib/jvm/jre"
},
{
"name":"ORACLE_HOME",
"value":"/u01/app/oracle/product/12cR2/dbhome"
}
],
"passwordRegex":"(?=^.{8,30}$)(?=(.*[0-9]))(?=(.*[A-Z]))(?=(.*[a-z]))(?=(.*[-!@%&*.#_]))(?!(.*[$^?]))^.*"
}
}