Hi, +1 for this improvement as it will make the developer's life easy when exporting/importing multiple APIs.
The option [2] is better in situations like there are many APIs to bulk export so that the it might be difficult for a user to specify each and every APIs to export: what he wants is simply export all the APIs available. The overhead of the API call is not significant IMHO; there will be only one (or very few) additional calls to getAllAPIs. But as we discussed offline, we can start from step [1], and then improve it by adding step [2]. Regarding the file format I would prefer CSV as it would make it easy to edit if need using existing tools. WDYT? Thanks! On Fri, Jul 22, 2016 at 10:58 AM, Kaveesha Perera <[email protected]> wrote: > Hi All, > > I'm planing to improve APIM import/export tool to support bulk import and > bulk export of APIs. > > When considering the bulk export, there it came up to a discussion point > on how to get the API list to be export. Considering several facts, came up > with two suggestions as follows. > > [1]. Asking user to submit a file with explicitly written list of APIs. > (API detail may include name, version and provider) > > [2]. Getting the prevailing list of APIs using getAllAPIs REST API, save > the usable content of resulting string in a separate file, then allow user > to edit it such that he can remove the unwanted APIs from the list, use it > as a input for the bulk export. > > Currently we prefer procedure [1], since the process [2] creates > additional overhead due to the REST API call. Still there can be are pros > and cons in both the processors. If any opinions on above and any options > please do reply. > > Regards. > -- > Kaveesha Perera > Intern - Software Engineering > > mobile: 0716130471 > > _______________________________________________ > Architecture mailing list > [email protected] > https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture > > -- Malintha Amarasinghe Software Engineer *WSO2, Inc. - lean | enterprise | middleware* http://wso2.com/ Mobile : +94 712383306
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
