We should talk this in stratos dev not in the wso2 dev.

On Fri, May 30, 2014 at 2:15 PM, Roshan Wijesena <[email protected]> wrote:

> Hi,
>
> We are going to do  REST communication between Puppet Master's node and
> Stratos  Manager's node as described below.
>
> We will use webpy[1] simple python opensource framework in order to build
> our REST API to communicate with Puppet master's node. In order to achieve
> this we may follow below steps.
>
> 1. Install Webpy framework + our python REST API code  on Puppet Master's
> Computer. Initially we  have decided  to stay on Webpy's built in web
> server,but when we are getting more hits on our store we might need to
> install webpy on Light-httpd server or HTTPD server in order to handle more
> requests as they recommend it.
>
> 2. Indeed this service must be very secured as we are executing some root
> command using our API . For an example we need to extract puppet modules to
> puppet master's /etc/puppet/ folder!!. So our security plan is to use SSL
> with built in cherrypy server [2] and secure our API using a security token.
>
> 3. At last but not least we may create automation scripts in order to
> automate above steps.
>
> Here below I ll list some sample REST calls that we are going to shoot!
>
> List Current available puppet Modules - GET  https://{{Server}}/listmodules.
> (out put should be a json)
>
> Install a module - GET https://{{Server}}/install/{{Module-name}}.
>
> So this is our current plan for the integration and this is  open to
> discuss !!
>
> [1] http://webpy.org/
>
> [2] http://webpy.org/cookbook/ssl
>
> Thanks very much!
>
> --
> Best Regards,
> Senior Software Engineer-WSO2 Inc.
> Roshan Wijesena
> Mobile: *+94752126789*
> Email: [email protected]
> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
> lean.enterprise.middleware.
>



-- 
Lakmal Warusawithana
Vice President, Apache Stratos
Director - Cloud Architecture; WSO2 Inc.
Mobile : +94714289692
Blog : http://lakmalsview.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to