Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

coming soon…Use the CDAP Replication Microservices to manage replication jobs.

All methods or endpoints described in this API have a base URL (typically http://<host>:11015 or https://<host>:10443) that precedes the resource identifier, as described in the Microservices Conventions. These methods return a status code, as listed in the Microservices Status Codes.

List Replication Drafts

To list all replication jobs in Draft mode in a namespace, submit an HTTP GET request:

Code Block
/v3/namespaces/system/apps/delta/services/assessor/methods/v1/contexts/<namespace>/drafts

Parameter

Description

namespace

Namespace ID

The information will be returned in the body of the response. It list the draft objects, where a draft contains the full job configuration. For example:

Code Block
[
 {
    "name": "Draft1",
    "created": timestamp
    "config": {
     "stages": [
       {
         "name": "source",
         "plugin": {
           "name": "oracle",
           "type": "cdcSource",
           "properties": {
            "host": "[hostname]",
            "port": "1433",
            "user": "repluser",
            "password": "${secure(kms-key)}"
       }
      }
     },
     ...
    ]
  },
 }
]