-
Notifications
You must be signed in to change notification settings - Fork 5
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
Webapi spec update #250
Webapi spec update #250
Conversation
It should contain a detailed description about the Web API, e.g., how it was implemented, how should it be used. Don't worry that it's too much.
Yes. We can describe it in word, or better, with activity diagrams.
Yes.
Why not? If somehow a problem occurs during the processing, the message should be re-queued so that the Worker can try processing it again. If ACK is not sent, or a NACK is set, then the message will be re-queued.
Just leave it there. It's already implemented. People can decide which approach they want to use, result queue or callback.
Yes, the
Theoretically yes, but let's discuss that later. |
Thanks for the answer. I have added the activity diagrams for worker and processing-endpoint. Regarding re-enqueue: the code regarding this is |
Ids for jobs of processing and workflows are unique across all jobs, so path to get information about this jobs can be simplified
Still things left to be discussed and changed
I have updated the activity diagram for the Processing Server and the webapi-openapi-spec. To the webapi I rather added unfinished work (TODO comments), because there are some questions left which I wasn't able to answer on my own. So this needs further discussions in one of our meetings on Monday probably. |
41d0ef2
to
089141d
Compare
Update spec according to what is available in core implementation.
@joschrew please add the command to start a Processor Server under section 6.5. |
I updated the path in the web_api.md to the recent changes to the openapi.yml and I changed some text in the Terminology section related to these changes (only text changes in that 6 lines). |
I've updated the path as you asked. |
I think this PR is currently nothing more than a draft and a call for discussion. At least for me some things are not clear and I cannot just update it without further information. This PR contains some commits all for the same document. With this I tried to make more clear what I wanted to change and what was intended.
Here are my open questions:
General questions:
More detailed question regarding the current texts:
### Process Queue
. I don't think redeliver is used. And don't think messages are re-enqueued. They should not fail, otherwise it is a bug (not sure) in the code. Processors can fail though, but then the message should not be processed againQuestions more related to the webAPI in general: