Skip to content

Instantly share code, notes, and snippets.

@shadabshaukat
Last active May 23, 2022 03:05
Show Gist options
  • Select an option

  • Save shadabshaukat/0e76a0e96c4f4d23386fbb4f0e6c27b8 to your computer and use it in GitHub Desktop.

Select an option

Save shadabshaukat/0e76a0e96c4f4d23386fbb4f0e6c27b8 to your computer and use it in GitHub Desktop.
Create_Replicat
curl -u <user>:"<password>"
-H "Content-Type: application/json"
-H "Accept: application/json"
-X POST "https://pxxxxxq.deployment.goldengate.us-ashburn-1.oci.oraclecloud.com/services/v2/replicats/<replicat name>"
-d '{"config":["REPLICAT <replicat name>","UseridAlias <alias>", "MAP <schema>.<table>, TARGET <schema>.<table>;" ], "source": {"name": "<trail file name>"}, "credentials":{"alias":"<alias>"}, "checkpoint":{"table":"<schema>.<table>"}, "mode":{ "type":"nonintegrated", "parallel": false}, "registration":"none", "begin":"now", "status":"stopped"}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment