Project Falcon has retired. For details please refer to its Attic page.
Falcon - POST api/extension/update/:extension-name

POST api/extension/update/:extension-name

Description

Update an extension entity. Note that we require all the entity names to remain the same. Future work will allow different entity names.

Parameters

  • :extension-name Name of the extension.
  • doAs <optional> Impersonate the user.

Results

Result of update.

Examples

Rest Call

POST http://localhost:15000/api/extensions/update/hdfs-mirroring
jobName=sales-monthly
jobClustername=primaryCluster
jobClusterValidityStart=2015-03-13T00:00Z
jobClusterValidityEnd=2016-12-30T00:00Z
jobFrequency=minutes(5)
sourceDir=/user/hrt_qa/dr/test/primaryCluster/input
sourceCluster=primaryCluster
targetDir=/user/hrt_qa/dr/test/backupCluster/input
targetCluster=backupCluster

Result

{
  "requestId": "e5cc8230-f356-4566-9b65-536abdff8aa3",
  "message": "Updated successfully",
  "status": "SUCCEEDED"
}