Hi all, This is to discuss the client side implementation for API import export feature, the backend functionality of which was discussed in [1]
At the moment requirement is for exporting / importing APIs across different environments, but in the future the CLI tool can be extended to support more requirements as needed. CLI tool is intend to be used by the DevOps, and the flow will be as follows. 1. Login using username and password 2. Register client application using Dynamic Client Registration 3. Retrieve consumer key and consumer secret 4. Retrieve an access token using password grant type 5. Invoke export / import admin services where necessary For the implementation, we thought of using Go [2] which provides a clean approach to implement CLI tools via many different libraries, and also provides an easy way to cross compile into executables in different platforms. Appreciate your feedback on this. [1] [Architecture] [APIM] [C5] Rest API Support for Importing and Exporting APIs between Multiple Environments [2] https://golang.org/ Thanks, Sajith -- Sajith Kariyawasam *Associate Tech Lead* *WSO2 Inc.; http://wso2.com <http://wso2.com/>* *Committer and PMC member, Apache Stratos * *AMIE (SL)* *Mobile: 0772269575*
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
