Add OpenAPI task implementation#804
Conversation
|
I'm gonna add more tests soon |
impl/http/src/main/java/io/serverlessworkflow/impl/executors/http/ExpressionURISupplier.java
Show resolved
Hide resolved
impl/openapi/src/main/java/io/serverlessworkflow/impl/executors/openapi/OpenAPIExecutor.java
Outdated
Show resolved
Hide resolved
impl/openapi/src/main/java/io/serverlessworkflow/impl/executors/openapi/OpenAPIExecutor.java
Outdated
Show resolved
Hide resolved
impl/openapi/src/main/java/io/serverlessworkflow/impl/executors/openapi/HttpCallAdapter.java
Outdated
Show resolved
Hide resolved
impl/openapi/src/main/java/io/serverlessworkflow/impl/executors/openapi/OpenAPIExecutor.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Dmitrii Tikhomirov <chani.liet@gmail.com>
Signed-off-by: Dmitrii Tikhomirov <chani.liet@gmail.com>
Signed-off-by: Dmitrii Tikhomirov <chani.liet@gmail.com>
Signed-off-by: Dmitrii Tikhomirov <chani.liet@gmail.com>
impl/http/src/main/java/io/serverlessworkflow/impl/executors/http/HttpExecutor.java
Outdated
Show resolved
Hide resolved
| } catch (Exception e) { | ||
| throw new RuntimeException(e); | ||
| } |
There was a problem hiding this comment.
You do not need this block, you just want to propagate all exception that are not workflow (because if it workflow you want to try the next server), which will happen anyway if you delete this block
improve ExpressionURISupplier Signed-off-by: Dmitrii Tikhomirov <chani.liet@gmail.com>
|
Hi @treblereel, nice pull request! I would like to mention the redirect option, are you planning to do in another pull request? |
|
To be more specific, this one https://github.com/serverlessworkflow/specification/blob/main/dsl-reference.md#properties-6 redirect |
|
@mcruzdev OpenAPI is quite a large topic, and I prefer to work on it in small iterations. It makes reviewing and testing easier |
|
@mcruzdev feel free to add it - I'm merging this one. |
|
@mcruzdev ping me if you have any q |
|
@mcruzdev @treblereel Ill be heavily refactoring openAPI implementation those days because of #879, so its better to wait to add more functionality for the time being. |
[Many thanks for submitting your Pull Request ❤️!
What this PR does / why we need it:
Fix #477
Special notes for reviewers:
Additional information (if needed):]