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

generate request/response classes based on DmnDiagramEvaluationModel #37

Open
jangalinski opened this issue Sep 11, 2020 · 0 comments
Open

Comments

@jangalinski
Copy link
Contributor

With the evaluationModel extracted from the diagrams (see #34 ) we know the inputs (name/type) and outputs (name/type) of a diagram evaluation.

Idea: Use this information to generate pojos (data class, ...) that allow type safe request and response of the diagram.

because the dmns are not considered to be present in the project-repository at compile time, we would need to set up a "schema repository" that keep the evaluationModel data at a separate location.
Instead of re-inventing the wheel, we should check if existing code generation/schema registry tools available for java/kotlin/gradle/maven can be used. (avro, json-schema, open-api) ...

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

No branches or pull requests

1 participant