You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At this time we support cheEditor, chePlugin, kubernetes tools. But there is no proper class hierarchy. I Neither in json schema neither in Devtool model. It just a set of fields. It can become a problem when we will introduce complex tools such as dockerImage tool #12389
In this issue we would like to have a study how we can have proper object hierarchy for tools in schema and in model
To look like this. See CloudAppDefinition.
The text was updated successfully, but these errors were encountered:
There was two directions during work on this issue, which are related each other:
Check if any on the JSON schema to POJO generators support and can generate hierarchical structure of the tools object;
Check is there is an JSON-schema validators that can handle more complex tool definitions and be compliant with 07 schema draft - support "if"/"else"/"then" constructions etc.
As for the POJO, there is currently no library which can generate classes with any kind of hierarchy,
the only way to achieve this is to reject POJO autogeneration and use manually created objects model.
As for the schema, recommended by schema comitee library https://github.com/everit-org/json-schema could be good replacement for current one, since it supports latest draft features, but has license limitations since it uses org.json api which cannot be used in eclipse projects. See rejected CQ's for explanation:
Description
We have in mind to support quite a lot of different tools in devfile
At this time we support cheEditor, chePlugin, kubernetes tools. But there is no proper class hierarchy. I Neither in json schema neither in Devtool model. It just a set of fields. It can become a problem when we will introduce complex tools such as dockerImage tool #12389
In this issue we would like to have a study how we can have proper object hierarchy for tools in schema and in model
![devfile](https://user-images.githubusercontent.com/1614429/52202133-504d3580-2876-11e9-850d-f170fa89968a.png)
To look like this. See CloudAppDefinition.
The text was updated successfully, but these errors were encountered: