When trying to update a workflow using MetadataClient.registerWorkflowDef(workflow, true) with the latest build of conductor-oss, the request fails. It looks as though the Orkes implementation of POST /api/metadata/workflow supports an overwrite query param, but the Conductor OSS build doesn't.
The current way around this is to call client.metadataResource.update directly, but this results in a deprecation warning. While this is currently functional, it'd be great if there was a way to update directly using MetadataClient OR I suppose adding overwrite support to the Conductor OSS build would also do the trick.
Thanks!
When trying to update a workflow using
MetadataClient.registerWorkflowDef(workflow, true)with the latest build of conductor-oss, the request fails. It looks as though the Orkes implementation ofPOST /api/metadata/workflowsupports anoverwritequery param, but the Conductor OSS build doesn't.The current way around this is to call
client.metadataResource.updatedirectly, but this results in a deprecation warning. While this is currently functional, it'd be great if there was a way to update directly usingMetadataClientOR I suppose addingoverwritesupport to the Conductor OSS build would also do the trick.Thanks!