Hi, On Fri, Apr 17, 2020 at 7:14 PM Malintha Amarasinghe <malint...@wso2.com> wrote:
> Supporting import/export products with the dependant APIs would be an > attractive feature. From that, one can just create a CI/CD flow the product > and it just takes care of the CI/CD for all the dependant APIs. This will > give a nice addition to our product story too. > > But when people may already have CI/CD process for APIs, once they create > products, they may not need to import dependant APIs. For those people only > importing the product will be enough. > > So, how about supporting both approaches. We can provide a flag to include > dependant APIs or not when exporting the product. However, we can start > from "import product only" and then going forward, support "APIs with > product import". > > If we support product import with dependant APIs, can we consider the > process as below: > > for each API $api in the project { > export-api $api -e $env --update > } > export-product -p $product -e $env --update; > > We may do above in a single command. > > But, there can be situations that some APIs are shared between multiple > products. In those cases, the same API will be imported multiple times if > we imported those products. We might have to think if there are any > complications with this. Apart from that, are there any other > complications? > Thanks! > > +1 for this, and yes, we should look into the complications if there are any. More feedback from all of you are welcome about this approach especially for importing/exporting API Products and the problems that may arise. Also, apart from the four (4) functionalities that I mentioned in the first mail, we can add the 5th functionality which is to “Delete API Products”. So the functionalities of this feature should be updated as follows. 1. Import API Products 2. Export API Products 3. List API Products 4. Generate keys (tokens) for API Products 5. Delete API Products Currently, we do not support deleting APIs or Apps from API Controller, but soon it will get implemented as well. After that was implemented, we can use a similar kind of approach to implement deleting API Products too. Thank you! -- *Wasura Wattearachchi* | Software Engineer | WSO2 Inc. (m) +94775396038 | (e) was...@wso2.com | (b) Medium <https://medium.com/@wasuradananjith> [image: http://wso2.com/signature] <http://wso2.com/signature>
_______________________________________________ Architecture mailing list Architecture@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture