On Mon, Apr 20, 2015 at 11:18 AM, Sohani Weerasinghe <[email protected]>
wrote:

> Hi All,
>
> As per the discussion happened in the mailing thread "Applying QOS from
> developer studio with ESB 4.9.0 release", specifying the Policy Key and
> allowRoles parameter has been implemented from the Developer Studio side
> for proxy services.
>
> According to the discussion happened during the meeting held on the 8th
> April, The Data Service configuration generated by the Developer Studio
> side will be as follows.
>
> <data name="sampleDS" serviceGroup="DS" serviceNamespace="org.wso2.test">
>     <description/>
>     <config id="1">
>         <property name="org.wso2.ws.dataservice.user">root</property>
>         <property name="org.wso2.ws.dataservice.password">root</property>
>         <property
> name="org.wso2.ws.dataservice.protocol">jdbc:mysql://localhost:3306/EMPLOYEE</property>
>         <property
> name="org.wso2.ws.dataservice.driver">com.mysql.jdbc.Driver</property>
>     </config>
>      * <enableSec>true</enableSec>*
> *      <policy key="conf:repository/policy_1.xml"/>*
>       *<parameter name="allowRoles">admin</parameter>*
> </data>
>

It would be more clear if we can add a param for policy "name" as well.
Will improve readability.

eg:
*         <policy name="UT" key="conf:repository/policy_1.xml"/>*

thanks,

>
> Thanks,
> Sohani
> Sohani Weerasinghe
> Software Engineer
> WSO2, Inc: http://wso2.com
>
> Mobile  : +94 716439774
> Blog     :http://christinetechtips.blogspot.com/
> Twitter  : https://twitter.com/sohanichristine
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Supun Malinga,

Senior Software Engineer,
WSO2 Inc.
http://wso2.com
email: [email protected] <[email protected]>
mobile: +94 (0)71 56 91 321
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to