Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow register a workflow using String instead of only class canonical name #966

Open
kaibocai opened this issue Nov 28, 2023 · 3 comments
Assignees
Labels

Comments

@kaibocai
Copy link
Contributor

Describe the proposal

When registering a workflow, we pass the workflow class and its canonical name is used to store the workflow. This is not clear when customers use HTTP requests to start the workflow.

For example: customers tend to use
POST http://localhost:3500/v1.0-beta1/workflows/dapr/DemoWorkflow/start to start a workflow, which is not correct. Instead, it should use the class canonical name in the URL
POST http://localhost:3500/v1.0-beta1/workflows/dapr/io.dapr.examples.workflows.DemoWorkflow/start

Java SDK should provide the flexibility to register a workflow by any name given by customers.

@kaibocai
Copy link
Contributor Author

I can work on this

@kaibocai
Copy link
Contributor Author

/assign

@salaboy
Copy link
Contributor

salaboy commented Dec 4, 2024

@kaibocai any updates on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants