Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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:

/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:

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

  • No labels