Re: [Architecture] [G-Reg] [RRT] Integrating Swagger Editor with Governance Registry

2018-04-11 Thread Menaka Jayawardena
[+ Sagara] On Wed, Apr 11, 2018 at 3:29 PM, Chandana Napagoda wrote: > Hi Prasanna, > > Modifying swagger content means you might have to alter associated Rest > Service as well. In a Rest Service, there can be user-defined metadata and > autogenerated metadata. How are you

Re: [Architecture] [G-Reg] [RRT] Integrating Swagger Editor with Governance Registry

2018-04-11 Thread Chandana Napagoda
Hi Prasanna, Modifying swagger content means you might have to alter associated Rest Service as well. In a Rest Service, there can be user-defined metadata and autogenerated metadata. How are you going to identify user added metadata? Also changing swagger content mean you might move/create the

Re: [Architecture] [G-Reg] [RRT] Integrating Swagger Editor with Governance Registry

2018-04-10 Thread Prasanna Dangalla
Hi Chandana, On Tue, Apr 10, 2018 at 11:55 AM, Chandana Napagoda wrote: > Hi Menaka, > > When adding a swagger file, it will automatically create a rest service > with metadata available in the swagger file. So when adding a swagger > content through this swagger editor,

Re: [Architecture] [G-Reg] [RRT] Integrating Swagger Editor with Governance Registry

2018-04-10 Thread Chandana Napagoda
Hi Menaka, When adding a swagger file, it will automatically create a rest service with metadata available in the swagger file. So when adding a swagger content through this swagger editor, are we creating rest service metadata as well? Regards, Chandana On 10 April 2018 at 14:28, Menaka

Re: [Architecture] [G-Reg] [RRT] Integrating Swagger Editor with Governance Registry

2018-04-09 Thread Menaka Jayawardena
Hi Shazni, Thank you very much for the feedback. On Tue, Apr 10, 2018 at 10:13 AM, Shazni Nazeer wrote: > Agreed with Shiro. > > Regarding #2, IMO editing a swagger should limit to whatever the version > being edited. Say the edited swagger has to be a newer version, then I >

Re: [Architecture] [G-Reg] [RRT] Integrating Swagger Editor with Governance Registry

2018-04-09 Thread Shazni Nazeer
Agreed with Shiro. Regarding #2, IMO editing a swagger should limit to whatever the version being edited. Say the edited swagger has to be a newer version, then I suppose in G-Reg publisher there's a copy artifact feature, after which the developer can modify the newer version. However

Re: [Architecture] [G-Reg] [RRT] Integrating Swagger Editor with Governance Registry

2018-04-04 Thread Menaka Jayawardena
Yes... The points 1 and 3 are the same. Sorry for the mistake. On Wed, Apr 4, 2018 at 2:22 PM, Shiro Kulatilake wrote: > Hi Menaka, > > Comments inline. > > On Wed, Apr 4, 2018 at 2:02 PM, Menaka Jayawardena > wrote: > >> Hi, >> >> Currently, in G-Reg

Re: [Architecture] [G-Reg] [RRT] Integrating Swagger Editor with Governance Registry

2018-04-04 Thread Shiro Kulatilake
Hi Menaka, Comments inline. On Wed, Apr 4, 2018 at 2:02 PM, Menaka Jayawardena wrote: > Hi, > > Currently, in G-Reg publisher, users cannot edit the uploaded swagger > files. Neither it can be downloaded. So, in order to edit an uploaded file, > they need to either, > This is

[Architecture] [G-Reg] [RRT] Integrating Swagger Editor with Governance Registry

2018-04-04 Thread Menaka Jayawardena
Hi, Currently, in G-Reg publisher, users cannot edit the uploaded swagger files. Neither it can be downloaded. So, in order to edit an uploaded file, they need to either, 1. Edit the local copy, delete the resource in the G-Reg and re-upload it. 2. Copy the content of the file, make