Retrieve Restart Rule
get
/services/{version}/config/restart/{rule}
Retrieve a restart rule.
Request
Path Parameters
-
rule: string
Minimum Length:
1Maximum Length:32Pattern:^[A-Za-z0-9][A-Za-z0-9_-]*$Rule name, an alpha-numeric character followed by up to 31 alpha-numeric characters, '_' or '-'.
-
version: string
Oracle GoldenGate Service API version.
Allowed Values:[ "v2" ]
Response
Supported Media Types
- application/json
200 Response
Restart rule retrieved successfully.
Root Schema : Oracle GoldenGate ER Process Restart Rule
Type:
objectTitle:
Show Source
Oracle GoldenGate ER Process Restart Rule-
$schema:
Allowed Values:
[ "ogg:processRestart" ] -
delay:
integer
Minimum Value:
0Maximum Value:3600Default Value:120The amount of time, in seconds, to pause between discovering that a process has terminated abnormally and restarting the process. -
processName:
string
Minimum Length:
1Maximum Length:8Pattern:^[*A-Z_$][*A-Z0-9_$]*$Wildcard name of process -
processType:
Default Value:
ERAllowed Values:[ "extract", "replicat", "ER" ]The type of process -
retries:
integer
Minimum Value:
0Maximum Value:3600Default Value:2The maximum number of times the task should be restarted before aborting retry efforts. -
window:
integer
Minimum Value:
0Maximum Value:604800Default Value:7200The window of time, in seconds, during which retries are counted. The default is 7200 seconds (2 hours).
Example Response (application/json)
{
"$schema":"api:standardResponse",
"links":[
{
"href":"http://localhost:11001/services/v2/config/restart/Rule_001",
"mediaType":"application/json",
"rel":"canonical"
},
{
"href":"http://localhost:11001/services/v2/config/restart/Rule_001",
"mediaType":"application/json",
"rel":"self"
},
{
"href":"http://localhost:11001/services/v2/metadata-catalog/rule",
"mediaType":"application/schema+json",
"rel":"describedby"
}
],
"messages":[
],
"response":{
"$schema":"ogg:processRestart",
"delay":0,
"processName":"EXT*",
"processType":"extract",
"retries":9,
"window":5
}
}