Update Plugin Template
put
/services/{version}/deployments/{deployment}/plugin/templates/{plugin}
Required Role: Security
Update the content of a given plugin template
Request
Supported Media Types
- application/json
Path Parameters
-
deployment(required): string
Minimum Length:
1Maximum Length:32Pattern:^[A-Za-z][A-Za-z0-9-_.]*$Name for the Oracle GoldenGate deployment.
-
plugin(required): string
Minimum Length:
1Maximum Length:255Name of plugin for the template.
-
version(required): string
Oracle GoldenGate Service API version.
Allowed Values:[ "v2" ]
Root Schema : Oracle GoldenGate Plugin Metadata
Type:
objectTitle:
Show Source
Oracle GoldenGate Plugin Metadata-
$schema:
Allowed Values:
[ "ogg:pluginMetadata" ] -
metadata(required):
array metadata
Minimum Number of Items:
0Maximum Number of Items:255Array of metadata key/value pairs
Nested Schema : metadata
Type:
arrayMinimum Number of Items:
0Maximum Number of Items:
255Array of metadata key/value pairs
Show Source
Nested Schema : items
Type:
Show Source
object-
name(required):
string
Minimum Length:
1Maximum Length:64Metadata name -
value(required):
string
Minimum Length:
1Maximum Length:4096Metadata value
Example Request (application/json)
{
"$schema":"ogg:pluginMetadata",
"metadata":[
{
"name":"OCI_VAULTKEY_OCID",
"value":"OCI Vault Key OCID"
},
{
"name":"OCI_CRYPTO_ENDPOINT",
"value":"Cryptographic endpoint to use"
}
]
}
Response
Supported Media Types
- application/json
200 Response
The Plugin Template was successfully updated
Root Schema : RESTful API Standard Response
Type:
objectTitle:
RESTful API Standard ResponseStandard Response for all Oracle GoldenGate RESTful API calls
Show Source
-
$schema:
Allowed Values:
[ "api:standardResponse" ] -
links(required):
array links
Minimum Number of Items:
0Maximum Number of Items:16Oracle GoldenGate links for the request -
messages(required):
array messages
Minimum Number of Items:
0Maximum Number of Items:65535Oracle GoldenGate messages issued during the request -
response:
object response
Oracle GoldenGate document from the request
Nested Schema : links
Type:
arrayMinimum Number of Items:
0Maximum Number of Items:
16Oracle GoldenGate links for the request
Show Source
Nested Schema : messages
Type:
arrayMinimum Number of Items:
0Maximum Number of Items:
65535Oracle GoldenGate messages issued during the request
Show Source
Nested Schema : response
Type:
objectOracle GoldenGate document from the request
Nested Schema : items
Type:
Show Source
object-
$schema:
Allowed Values:
[ "ogg:link" ] -
description:
string
Minimum Length:
1Maximum Length:4095A human-readable description that provides information and detail specific to this link. -
href(required):
string
Minimum Length:
2Maximum Length:4095Pattern:^[a-zA-Z][a-zA-Z0-9+-.]*:[^ \t]*$An absolute URI for the link -
mediaType:
string
Minimum Length:
6Maximum Length:255Pattern:^(text|application)/[a-zA-Z0-9!#$&.+-^_]+$Media type - see RFC 4288 (https://tools.ietf.org/html/rfc4288) -
rel(required):
Allowed Values:
[ "alternate", "canonical", "current", "describedby", "describes", "enclosure", "parent", "related", "self", "first", "last", "next", "previous", "ogg://service" ]Relationship of href to the requested link
Nested Schema : items
Type:
Show Source
object-
$schema:
Allowed Values:
[ "ogg:message" ] -
code(required):
string
Minimum Length:
9Maximum Length:9Pattern:^OGG[-][0-9]{5}$The Oracle GoldenGate message code -
issued(required):
string
Minimum Length:
20Maximum Length:32Pattern:^[0-9]{4}[-](0[1-9]|1[0-2])[-](0[1-9]|[12][0-9]|3[01])[tT ]([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)([.][0-9]{1,6})?([zZ]|[+-][0-9][0-9]:[0-5][0-9])$The date and time that the message was issued -
severity(required):
Allowed Values:
[ "INFO", "WARNING", "ERROR" ]The severity of the message -
title(required):
string
Minimum Length:
1Maximum Length:4095A human-readable description that provides information and detail specific to this occurence of the information, warning or error. -
type(required):
string
Minimum Length:
2Maximum Length:4095Pattern:^[a-zA-Z][a-zA-Z0-9+-.]*:[^ \t]*$An absolute URI [RFC3986] to a page that describes the info, warning or error type.
Example Response (application/json)
{
"$schema":"api:standardResponse",
"links":[
{
"href":"http://127.0.0.1:9011/services/v2/deployments/PluginTests/plugin/templates/libEncryption-OCIVault",
"mediaType":"application/json",
"rel":"canonical"
},
{
"href":"http://127.0.0.1:9011/services/v2/deployments/PluginTests/plugin/templates/libEncryption-OCIVault",
"mediaType":"application/json",
"rel":"self"
}
],
"messages":[
]
}