8000 Conductor Java SDK cannot create a HTTP task with asyncComplete = true · Issue #3892 · Netflix/conductor · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Dec 13, 2023. It is now read-only.
This repository was archived by the owner on Dec 13, 2023. It is now read-only.
Conductor Java SDK cannot create a HTTP task with asyncComplete = true #3892
Open
@tianxie

Description

@tianxie

Describe the bug
I didn't see a asyncComplete field defined in com.netflix.conductor.sdk.workflow.def.tasks.Http class, so I cannot create an asyncComplete enabled HTTP task.

I think com.netflix.conductor.sdk.workflow.def.tasks.Event may have the same issue.

Details
Conductor version: 3.15.0
Conductor Java SDK version: 3.15.0

Additional context
Currently, I can only define a AsyncHttp class like this to bypass this issue:

import com.netflix.conductor.common.metadata.workflow.WorkflowTask;
import com.netflix.conductor.sdk.workflow.def.tasks.Http;

public class AsyncHttp extends Http {

    public AsyncHttp(String taskReferenceName) {
        super(taskReferenceName);
    }

    protected void updateWorkflowTask(WorkflowTask workflowTask) {
//        workflowTask.getInputParameters().put("http_request", super.getHttpRequest());
        workflowTask.setAsyncComplete(true);
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0