Hi Sasikala/Eranga, Yes supporting regexes looks like a good suggestion to me. But ATM, the REST API does not support multiple regex searches (searching for two attributes eg:name and version at once). Once we do that we can add that support to import/export as well. Thanks for the suggestions.
On Wed, Aug 3, 2016 at 7:08 PM, Sasikala Kottegoda <[email protected]> wrote: > Hi, > > Is it possible to have a list of regular expressions in the csv file? APIs > that match each regular expression could then be exported. That way we > could address all the following scenarios: > > - Exporting all APIs > - Wild card matching > - Exact matching > - Selecting APIs with a version higher than a given number (Not sure > if this is particularly useful), etc. > > Thanks, > Sasikala > > 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 >> >> > > > -- > Sasikala Kottegoda > *Software Engineer* > WSO2 Inc., http://wso2.com/ > lean. enterprise. middleware > Mobile: +94 774835928 > > [image: https://wso2.com/signature] <https://wso2.com/signature> > > _______________________________________________ > 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
