I believe workflow interpreter is reading .xwf file to execute workflow. So
if we change format to JSON we need to change the way workflow interpreter
works also.

Guess Saminda will be able to give more feedback on this.

Thanks
Amila


On Sat, Sep 7, 2013 at 12:58 PM, Shameera Rathnayaka <[email protected]
> wrote:

> Hi Devs,
>
> Currently graph data (Content of .xwf file) is being stored in XML fromat.
> In GSoC master project what we have is graph data in JSON format. Therefore
> we need a way to store this JSON data on registry. First i thought to
> convert the json data to xml in registry rest api and store it. But it
> seems we can store this in JSON fromat too. To do that what i am going to
> do is, add following methods to UserWorkflowRegistry interface and
> implement those methods in implementation classes. It would be great to
> know your ideas about this. Please suggest if there any other way to
> handle this.
>
>     public void addWorkflowInJSON(String workflowName, String
> workflowGraphJSON) throws UserWorkflowAlreadyExistsException,
> RegistryException;
>     public void updateWorkflowInJSON(String workflowName, String
> workflowGraphJSON) throws UserWorkflowDoesNotExistsException,
> RegistryException;
>     public String getWorkflowGraphJSON(String workflowName) throws
> UserWorkflowDoesNotExistsException, RegistryException;
>
> Thanks,
> Shameera.
>
>
> --
> Best Regards,
> Shameera Rathnayaka.
>
> email: shameera AT apache.org , shameerainfo AT gmail.com
> Blog : http://shameerarathnayaka.blogspot.com/
>

Reply via email to