public void validateWorkflowDef(WorkflowDef workflowDef) {
        Validate.notNull(workflowDef, "Workflow definition cannot be null");
        postForEntityWithRequestOnly("metadata/workflow/validate", workflowDef);
    }
Register a workflow definition with the server

@param workflowDef the workflow definition
client/src/main/java/com/netflix/conductor/client/http/MetadataClient.java