Hi Sajith,

This CLI should also captured following scenario as well.

   1. Developer develop API using local API editor.
   2. API local editor will generate folder structure containing all the
   artifacts related to API
   3. He/She also capable of sharing these folder via git (or any source
   control) system and do collaborative development.
   4. After developer testing, he/she should able to push this API into dev
   (any any given) environment.
   5. To push this he/she may just pointing local folder path for the API
   and it should be able to push to selected ENV.
   6. Same like push, if developer want to pull then it should created
   local folder (pulling from remote) containing all the API artifacts.

thanks

On Mon, Jan 16, 2017 at 6:19 PM, Sajith Kariyawasam <[email protected]> wrote:

> 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
>
>


-- 
Lakmal Warusawithana
Director - Cloud Architecture; WSO2 Inc.
Mobile : +94714289692
Blog : http://lakmalsview.blogspot.com/
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to