Re: [Dev] [Dockerfiles] Managing Data Sources & JDBC Driver in Distributed Deployments

2016-04-23 Thread Imesh Gunaratne
On Sat, Apr 23, 2016 at 8:43 PM, Imesh Gunaratne  wrote:
>
>
> +1 Yes but I think we need to make API-M yaml files consistent with other
> products. I will update those and commit soon.
>

I have now updated API-M hiera files to be consistent with the other
products [3].

However still I think we need to enable registry mounts in all products and
let the user update the data source information and run. At the moment user
has to configure registry mounts and data source configurations before
doing a distributed deployment.

[3]
https://github.com/wso2/puppet-modules/commit/d0bf528d7f5ea5d342ffe4478cea0f9ba26cab3f

Thanks

>
> Thanks
>
>>
>>
>>>
>>> [1]
>>> https://github.com/wso2/puppet-modules/blob/master/hieradata/dev/wso2/wso2am/1.10.0/kubernetes/api-key-manager.yaml#L36
>>> [2]
>>> https://github.com/wso2/puppet-modules/blob/master/hieradata/dev/wso2/wso2am/1.10.0/kubernetes/api-key-manager.yaml#L48
>>>
>>
>>> Thanks
>>>
>>> --
>>> *Imesh Gunaratne*
>>> Senior Technical Lead
>>> WSO2 Inc: http://wso2.com
>>> T: +94 11 214 5345 M: +94 77 374 2057
>>> W: http://imesh.io TW: @imesh
>>> Lean . Enterprise . Middleware
>>>
>>>
>>
>>
>> --
>> Thanks and Regards,
>>
>> Isuru H.
>> +94 716 358 048* *
>>
>>
>>
>
>
> --
> *Imesh Gunaratne*
> Senior Technical Lead
> WSO2 Inc: http://wso2.com
> T: +94 11 214 5345 M: +94 77 374 2057
> W: http://imesh.io TW: @imesh
> Lean . Enterprise . Middleware
>
>


-- 
*Imesh Gunaratne*
Senior Technical Lead
WSO2 Inc: http://wso2.com
T: +94 11 214 5345 M: +94 77 374 2057
W: http://imesh.io TW: @imesh
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Dockerfiles] Managing Data Sources & JDBC Driver in Distributed Deployments

2016-04-23 Thread Imesh Gunaratne
On Sat, Apr 23, 2016 at 7:14 PM, Isuru Haththotuwa  wrote:

> Hi Imesh,
>
> On Sat, Apr 23, 2016 at 8:25 AM, Imesh Gunaratne  wrote:
>
>> Hi Devs,
>>
>> How do we manage $subject in Puppet provisioning for Kubernetes?
>>
>
>> I can see that in API-M we have defined MySQL connector JAR [1] and data
>> sources but not in others. We have also hard coded MySQL host IP [2] in
>> API-M profile yaml files.
>>
> AFAIU this is not a problem. IMHO we cannot expect to use the existing
> puppet modules as it is to create complex deployments (ex.: fully
> distributed APIM, etc.) without changing them. At the moment we might not
> have all the JDBC driver parameters and configurations for all DBs, but we
> can improve as we go on. WDYT?
>

+1 Yes but I think we need to make API-M yaml files consistent with other
products. I will update those and commit soon.

Thanks

>
>
>>
>> [1]
>> https://github.com/wso2/puppet-modules/blob/master/hieradata/dev/wso2/wso2am/1.10.0/kubernetes/api-key-manager.yaml#L36
>> [2]
>> https://github.com/wso2/puppet-modules/blob/master/hieradata/dev/wso2/wso2am/1.10.0/kubernetes/api-key-manager.yaml#L48
>>
>
>> Thanks
>>
>> --
>> *Imesh Gunaratne*
>> Senior Technical Lead
>> WSO2 Inc: http://wso2.com
>> T: +94 11 214 5345 M: +94 77 374 2057
>> W: http://imesh.io TW: @imesh
>> Lean . Enterprise . Middleware
>>
>>
>
>
> --
> Thanks and Regards,
>
> Isuru H.
> +94 716 358 048* *
>
>
>


-- 
*Imesh Gunaratne*
Senior Technical Lead
WSO2 Inc: http://wso2.com
T: +94 11 214 5345 M: +94 77 374 2057
W: http://imesh.io TW: @imesh
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Dockerfiles] Managing Data Sources & JDBC Driver in Distributed Deployments

2016-04-23 Thread Isuru Haththotuwa
Hi Imesh,

On Sat, Apr 23, 2016 at 8:25 AM, Imesh Gunaratne  wrote:

> Hi Devs,
>
> How do we manage $subject in Puppet provisioning for Kubernetes?
>

> I can see that in API-M we have defined MySQL connector JAR [1] and data
> sources but not in others. We have also hard coded MySQL host IP [2] in
> API-M profile yaml files.
>
AFAIU this is not a problem. IMHO we cannot expect to use the existing
puppet modules as it is to create complex deployments (ex.: fully
distributed APIM, etc.) without changing them. At the moment we might not
have all the JDBC driver parameters and configurations for all DBs, but we
can improve as we go on. WDYT?


>
> [1]
> https://github.com/wso2/puppet-modules/blob/master/hieradata/dev/wso2/wso2am/1.10.0/kubernetes/api-key-manager.yaml#L36
> [2]
> https://github.com/wso2/puppet-modules/blob/master/hieradata/dev/wso2/wso2am/1.10.0/kubernetes/api-key-manager.yaml#L48
>

> Thanks
>
> --
> *Imesh Gunaratne*
> Senior Technical Lead
> WSO2 Inc: http://wso2.com
> T: +94 11 214 5345 M: +94 77 374 2057
> W: http://imesh.io TW: @imesh
> Lean . Enterprise . Middleware
>
>


-- 
Thanks and Regards,

Isuru H.
+94 716 358 048* *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Dockerfiles] Managing Data Sources & JDBC Driver in Distributed Deployments

2016-04-22 Thread Gayan Gunarathne
I think we need to consider other Databases (Oracle,PostgreSQL etc) also.

Default[1] set up also we have hard corded to the h2 database. Better if we
support the other set of databases here also.Based on the database we used
we can set the appropriate DB driver with hiera.

[1]
https://github.com/wso2/puppet-modules/blob/master/hieradata/dev/wso2/wso2am/1.10.0/kubernetes/default.yaml#L101

Thanks,
Gayan

On Sat, Apr 23, 2016 at 8:25 AM, Imesh Gunaratne  wrote:

> Hi Devs,
>
> How do we manage $subject in Puppet provisioning for Kubernetes?
>
> I can see that in API-M we have defined MySQL connector JAR [1] and data
> sources but not in others. We have also hard coded MySQL host IP [2] in
> API-M profile yaml files.
>
> [1]
> https://github.com/wso2/puppet-modules/blob/master/hieradata/dev/wso2/wso2am/1.10.0/kubernetes/api-key-manager.yaml#L36
> [2]
> https://github.com/wso2/puppet-modules/blob/master/hieradata/dev/wso2/wso2am/1.10.0/kubernetes/api-key-manager.yaml#L48
>
> Thanks
>
> --
> *Imesh Gunaratne*
> Senior Technical Lead
> WSO2 Inc: http://wso2.com
> T: +94 11 214 5345 M: +94 77 374 2057
> W: http://imesh.io TW: @imesh
> Lean . Enterprise . Middleware
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

Gayan Gunarathne
Technical Lead, WSO2 Inc. (http://wso2.com)
Committer & PMC Member, Apache Stratos
email : gay...@wso2.com  | mobile : +94 775030545 <%2B94%20766819985>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev