handreyrc opened a new issue, #1653:
URL: https://github.com/apache/incubator-kie-issues/issues/1653

   *Summary*
   -----
   
   The goal of this taks it so implement marshallers into an external package / 
lib and enable the editor to handle JSON / YAML content.
   Note: Consider implementing different versions of the SWF spec because we 
have a new DSL. Check how DMN is supporting different schema versions.
   
   *Description*
   -----
   
   In order to populate the model from JSON / YAML we need a marshaller 
implementation. 
   Instead of implementing mashallers from scratch it should be possible to 
move the current marshallers implementation (J2CL) to an external lib consumed 
by the new editor and then consume it.
   
   - Implement the marshallers as an external package / lib
   - Support JSON / YAML content
   - Support unmarshall and marshall operations (JSON / YAML to Model and Model 
to JSON / YAML)
   - Support different versions of the spec / schema once we have a new DSL 
   - Integrate the new marshaller lib to the diagram editor so it can be 
consumed for marshalling / unmarshalling operations through the setContent / 
getContent methods 
   - Add YAML and JSON sample payloads to storybook so that content can be 
loaded and rendered by the Diagram editor
   
   *Testing*
   -----
   
   Run the component then select  the JSON or YAML content available in 
storybook to load the diagram. The diagram should be capable of parse, 
unmarshall and render the workflow based on the selected content.
   
   *Risks and Assumptions*
   -----
   
   - The use of the current J2CL mashallers implementation as an external lib 
should be possible, however, it may raise compatibility issues or / and prove 
to be impractical considering the proposed features and usages.   
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to