Hi Chamalee,

Based on your PR you have added stat db for gateway profiles. We don't
configure stat db for gateways. Normally we don't specify any databases for
gateways unless we have multi-tenancy and google analytics is enabled.

Thank you!

On Tue, Jan 23, 2018 at 9:52 PM, Chamalee De Silva <[email protected]>
wrote:

> [+dev]
>
> On Tue, Jan 23, 2018 at 6:37 PM, Chamalee De Silva <[email protected]>
> wrote:
>
>> Hi all,
>> While working on the documentation issue raised in [1]  I could find out
>> that there is a inconsistency in the data-source URL appeared for
>> WSO2AM_STATS_DB master datasource configuration in puppet-apim patterns.
>> (In default configuration it appears as WSO2AM_STAT_DB as the db name and
>> in mysql configuration of analytics product, it appears as statdb in [2]).
>>
>> Other than that for the patterns where the APIM Analytics is configured
>> (patern 3.4.5 and 6), we haven't added the MySQL master datasource
>> configuration in API Manager side though it is added to the analytics
>> product configuration in [3].
>>
>> As per the offline discussion had with Samitha, I have fixed this by
>> adding the master datasource configuration for the gateway-workers in the
>> patterns where analytics is enabled so that the datasource configuration
>> will be overridden with mysql configuration.
>>
>> Fix is available in PR [4] and [5] for v2.1.0 branch and for the master
>> branch respectively.
>>
>>
>>
>> [1] https://github.com/wso2/product-apim/issues/2340
>> [2] https://github.com/wso2/puppet-apim/tree/master/wso2am_runtime
>> [3] https://github.com/wso2/puppet-apim/blob/master/wso2am_
>> analytics/hieradata/dev/wso2/wso2am_analytics/pattern-1/default.yaml
>>
>> [4] https://github.com/wso2/puppet-apim/pull/59
>> [5] https://github.com/wso2/puppet-apim/pull/60
>>
>> --
>> Thanks & Regards,
>>
>> *Chamalee De Silva*
>> Software Engineer
>> *WS**O2* Inc. :http://wso2.com/
>>
>> Office   :- *+94 11 2145345 <%2B94%2011%202145345>*
>> mobile  :- *+94 7 <%2B94%2077%202782039>1 4315942*
>>
>>
>
>
> --
> Thanks & Regards,
>
> *Chamalee De Silva*
> Software Engineer
> *WS**O2* Inc. :http://wso2.com/
>
> Office   :- *+94 11 2145345 <%2B94%2011%202145345>*
> mobile  :- *+94 7 <%2B94%2077%202782039>1 4315942*
>
>


-- 
*Pubudu Gunatilaka*
Committer and PMC Member - Apache Stratos
Senior Software Engineer
WSO2, Inc.: http://wso2.com
mobile : +94774078049 <%2B94772207163>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to