[Dev] Fwd: File read with enabling streaming

2016-11-22 Thread Malaka Silva
Hi Vivekananthan,

Seems your config is invalid. try the following.

Basically we should support both streaming and no streaming scenarios with
file connector.

Also make a jira and give a fix.

​

http://ws.apache.org/ns/synapse;
   name="fileconnectorRead"
   startOnLoad="true"
   statistics="disable"
   trace="disable"
   transports="https,http">
   
  
 
 
 
 
 
 
{$ctx:source}
{$ctx:contentType}
{$ctx:streaming}
 
 
  
   
   

-- Forwarded message --
From: Vivekananthan Sivanayagam 
Date: Tue, Nov 22, 2016 at 6:57 PM
Subject: File read with enabling streaming
To: Malaka Silva 


Hi ,

I checked the following scenario[1] with streaming enable, I am able
success with the response file. I tried 4GB file to send , it is working.
When I checked only FileRead operation with streaming, I was able to read
the content in the message context but could not build it the using
DataSourceMessageBuilder
with content type "application/file" and showing the following error.

Error

PassThroughHttpSender Failed to submit the response
java.lang.ClassCastException: com.sun.proxy.$Proxy21 cannot be cast to
org.wso2.carbon.relay.StreamingOnRequestDataSource


[1] Proxy:

​​

http://ws.apache.org/ns/synapse;
   name="fileconnectorRead"
   startOnLoad="true"
   statistics="disable"
   trace="disable"
   transports="https,http">
   
  
 
 
 
 
 
 
 
 
{$ctx:source}
{$ctx:contentType}
{$ctx:streaming}
 
 
{$ctx:address}
{$ctx:append}
 
 
  
   
   


Request:

{
 "source":"/media/vive/vives/response.txt",
 "contentType":"application/file",
 "streaming":"true",
 "address":"/home/vive/Desktop/FILE/File002",
 "append":"true"
}


Vivekananthan Sivanayagam
Associate Software Engineer | WSO2
E:vivekanant...@wso2.com
M:+94752786138



-- 

Best Regards,

Malaka Silva
Senior Technical Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/

https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM][CORS] Caching preflight response in API Console

2016-11-22 Thread Sanjeewa Malalgoda
If we set it in velosity it will effect to all tenants in the system. But
if we change it in sequence level different tenants can have their own
configs.
Setting 15 minutes from code looks ok for me. But when we override it we
should let users to change it as they need.

Thanks,
sanjeewa.

On Wed, Nov 23, 2016 at 11:28 AM, Abimaran Kugathasan 
wrote:

> Hi Nuwan,
>
> Shall we have a default value as 15 mins in code level, and let the API
> developer decide to add this property if he wants to increase it.
>
> WDYT?
>
> On Fri, Nov 18, 2016 at 10:41 PM, Abimaran Kugathasan 
> wrote:
>
>> I thought of setting it through in velocity template.
>>
>> On Fri, Nov 18, 2016 at 10:17 PM, Nuwan Dias  wrote:
>>
>>> Can't we use the _cors_request_handler_ sequence to set this value?
>>> Users don't  have access to the synapse api xml file. And even if they
>>> change it, it'll be overriden when you save again unless its set in the
>>> velocity template as well. So if we can maintain it at the sequence these
>>> shouldn't be a problem.
>>>
>>> On Fri, Nov 18, 2016 at 5:28 PM, Abimaran Kugathasan 
>>> wrote:
>>>
 Hi Jo/Nuwan,

 We have to set the property like below. Shall we have 15 mins as the
 default value in code level and let API Developer to override it through
 api synapse xml file like below?

 >>> class="org.wso2.carbon.apimgt.gateway.handlers.security.CORSRequestHandler">
 
 
 


 On Thu, Nov 3, 2016 at 11:57 AM, Joseph Fonseka 
 wrote:

> +1 to merge the fix to carry this forward better if we can add this to
> the publisher UI as well.
>
> Thanks
> Jo
>
> On Thu, Nov 3, 2016 at 11:28 AM, Abimaran Kugathasan <
> abima...@wso2.com> wrote:
>
>> Hi Dev,
>>
>> CORS specification allows caching the preflight response for a
>> certain number of seconds through Access-Control-Max-Age header [1] .
>>
>> Some browsers have this feature by default which overrides this
>> header if the value specified is greater than their value[2]
>>
>> Firefox - 24 hours
>> Chrome - 10 minutes
>> Chromium - 5 seconds
>>
>> Mathieu(https://github.com/mathieu-pousse) has sent a PR though [3].
>> Please review and provide feedback.
>>
>>
>> [1] : https://www.w3.org/TR/cors/#access-control-max-age-respons
>> e-header
>> [2] : https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/
>> Access-Control-Max-Age
>> [3] : https://github.com/wso2/carbon-apimgt/pull/3114
>>
>>
>> --
>> Thanks
>> Abimaran Kugathasan
>> Senior Software Engineer - API Technologies
>>
>> Email : abima...@wso2.com
>> Mobile : +94 773922820
>>
>> 
>> 
>>   
>>   
>>
>>
>
>
> --
>
> --
> *Joseph Fonseka*
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 772 512 430
> skype: jpfonseka
>
> * *
>
>


 --
 Thanks
 Abimaran Kugathasan
 Senior Software Engineer - API Technologies

 Email : abima...@wso2.com
 Mobile : +94 773922820

 
 
   
 


>>>
>>>
>>> --
>>> Nuwan Dias
>>>
>>> Software Architect - WSO2, Inc. http://wso2.com
>>> email : nuw...@wso2.com
>>> Phone : +94 777 775 729
>>>
>>
>>
>>
>> --
>> Thanks
>> Abimaran Kugathasan
>> Senior Software Engineer - API Technologies
>>
>> Email : abima...@wso2.com
>> Mobile : +94 773922820
>>
>> 
>> 
>>   
>> 
>>
>>
>
>
> --
> Thanks
> Abimaran Kugathasan
> Senior Software Engineer - API Technologies
>
> Email : abima...@wso2.com
> Mobile : +94 773922820
>
> 
> 
>   
> 
>
>


-- 

*Sanjeewa Malalgoda*
WSO2 Inc.
Mobile : +94713068779

blog
:http://sanjeewamalalgoda.blogspot.com/

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS-5.3.0-M5] What is the use of asking for email when "Username Recovery with email notification"

2016-11-22 Thread Ayesha Dissanayaka
Hi,

As I am working on fixing https://wso2.org/jira/browse/IDENTITY-5284, in
the user-name recovery UI we have below two options.

   1. Making First name, Last name and Email mandatory in the recovery UI
   2. Keep them optional and validate at the back-end only if fields are
   provided by the client.

What is the preferred behavior from above considering UX?

Further, backend recovery API doesn't validate First name, Last name and
Email claims as mandatory and tries to find a user based on *provided claim*
values. [1] As of now, this validation returns user-name whenever a
matching user is found based on order of claims. It doesn't consider all
the claims.

>From the client webapp it filter out First name, Last name and Email claims
for user-name recovery along with any other mandatory claims in the system.

[1]
https://github.com/wso2-extensions/identity-governance/blob/master/components/org.wso2.carbon.identity.recovery/src/main/java/org/wso2/carbon/identity/recovery/username/NotificationUsernameRecoveryManager.java#L182


[2]
https://github.com/wso2/carbon-identity-framework/blob/master/components/identity-mgt/org.wso2.carbon.identity.mgt.endpoint/src/main/webapp/username-recovery.jsp#L45

Regards,
-Ayesha


On Thu, Oct 27, 2016 at 8:39 PM, Ayesha Dissanayaka  wrote:

> Yes. It is not a good user experience to be able to send random email
> address and still be able to recover information.
>
> Created bug jira https://wso2.org/jira/browse/IDENTITY-5284.
>
> On Thu, Oct 27, 2016 at 6:57 PM, Johann Nallathamby 
> wrote:
>
>> Then we need to open a "Bug" jira and fix it IMO :). The current one can
>> be left as an improvement for future to dynamically decide to show claims
>> to uniquely identify the user.
>>
>> On Thu, Oct 27, 2016 at 6:15 PM, Ayesha Dissanayaka 
>> wrote:
>>
>>>
>>> On Thu, Oct 27, 2016 at 6:07 PM, Johann Nallathamby 
>>> wrote:
>>>
 But then at least we have to make sure all the fields that we show are
 validated. Otherwise as pointed out in the first mail it is confusing for
 the user right? Are the claims configurable? All the claims we show in the
 UI must be validated or we must not show them IMO.

>>>
>>> Agreed with Johan.
>>> Same as I mentioned in Jira,
>>>
>>> "As of now if one entry is enough to identify a user in the user stores,
>>> others get discarded. Instead it should ask for more information from user
>>> on demand manner or should validate all the entry values at once."
>>>
>>> --
>>> *Ayesha Dissanayaka*
>>> Software Engineer,
>>> WSO2, Inc : http://wso2.com
>>> 
>>> 20, Palmgrove Avenue, Colombo 3
>>> E-Mail: aye...@wso2.com 
>>>
>>
>>
>>
>> --
>> Thanks & Regards,
>>
>> *Johann Dilantha Nallathamby*
>> Technical Lead & Product Lead of WSO2 Identity Server
>> Governance Technologies Team
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - *+9476950*
>> Blog - *http://nallaa.wordpress.com *
>>
>
>
>
> --
> *Ayesha Dissanayaka*
> Software Engineer,
> WSO2, Inc : http://wso2.com
> 
> 20, Palmgrove Avenue, Colombo 3
> E-Mail: aye...@wso2.com 
>



-- 
*Ayesha Dissanayaka*
Software Engineer,
WSO2, Inc : http://wso2.com

20, Palmgrove Avenue, Colombo 3
E-Mail: aye...@wso2.com 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Samples config files for each product in puppet common

2016-11-22 Thread Imesh Gunaratne
[Adding Jagath, Prasanna, Harsha and Sajith]

On Wed, Nov 23, 2016 at 12:05 PM, Imesh Gunaratne  wrote:

> Hi Vishanth,
>
> On Tue, Nov 22, 2016 at 8:44 PM, Vishanth Balasubramaniam <
> vishan...@wso2.com> wrote:
>
>> Hi Imesh,
>>
>> Have we removed the $subject?
>>
>
> ​Yes, apologies for not notifying this. We moved vagrant samples to
> puppet- repositories as those get changed with product
> requirements:
>
> https://github.com/wso2/puppet-apim/tree/master/vagrant-samples
> https://github.com/wso2/puppet-esb/tree/master/vagrant-samples
> https://github.com/wso2/puppet-is/tree/master/vagrant-samples
> https://github.com/wso2/puppet-cep/tree/master/vagrant-samples
> https://github.com/wso2/puppet-das/tree/master/vagrant-samples
>
> Thanks​
>
>>
>> Regards,
>> Vishanth
>>
>> --
>> *Vishanth Balasubramaniam*
>> Committer & PMC Member, Apache Stratos,
>> Software Engineer, WSO2 Inc.; http://wso2.com
>>
>> mobile: *+94 77 17 377 18*
>> about me: *http://about.me/vishanth *
>>
>
>
>
> --
> *Imesh Gunaratne*
> Software Architect
> WSO2 Inc: http://wso2.com
> T: +94 11 214 5345 M: +94 77 374 2057
> W: https://medium.com/@imesh TW: @imesh
> lean. enterprise. middleware
>
>


-- 
*Imesh Gunaratne*
Software Architect
WSO2 Inc: http://wso2.com
T: +94 11 214 5345 M: +94 77 374 2057
W: https://medium.com/@imesh TW: @imesh
lean. enterprise. middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Samples config files for each product in puppet common

2016-11-22 Thread Imesh Gunaratne
Hi Vishanth,

On Tue, Nov 22, 2016 at 8:44 PM, Vishanth Balasubramaniam <
vishan...@wso2.com> wrote:

> Hi Imesh,
>
> Have we removed the $subject?
>

​Yes, apologies for not notifying this. We moved vagrant samples to
puppet- repositories as those get changed with product
requirements:

https://github.com/wso2/puppet-apim/tree/master/vagrant-samples
https://github.com/wso2/puppet-esb/tree/master/vagrant-samples
https://github.com/wso2/puppet-is/tree/master/vagrant-samples
https://github.com/wso2/puppet-cep/tree/master/vagrant-samples
https://github.com/wso2/puppet-das/tree/master/vagrant-samples

Thanks​

>
> Regards,
> Vishanth
>
> --
> *Vishanth Balasubramaniam*
> Committer & PMC Member, Apache Stratos,
> Software Engineer, WSO2 Inc.; http://wso2.com
>
> mobile: *+94 77 17 377 18*
> about me: *http://about.me/vishanth *
>



-- 
*Imesh Gunaratne*
Software Architect
WSO2 Inc: http://wso2.com
T: +94 11 214 5345 M: +94 77 374 2057
W: https://medium.com/@imesh TW: @imesh
lean. enterprise. middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Issue when saving and retrieving the login details in static variables in separate plug-in project for dynamic schema generation.

2016-11-22 Thread Hariprasath Thanarajah
Hi All,

I am working on dynamic schema generation for dynamic connector operations.
For that, we create a separate plugin project with dialog boxes for every
operation and in the shell we need to give the login details to connect
with salesforce to generate the schema. We have finished the implementation
but in the current implementation if we need multiple dynamic schema
generations for connector operations then the user need to give the login
details every time. But we need to automate this if we need to generate the
subsequent dynamic schema generation.

For that, we keep the login details in the static variables in the separate
plugin and check whether the details exists or not when clicking the
button(here login). When I do like this the dialog for the particular
operation has not been created. I guess the dialog creation part is in the
dev-tooling code and from that we create the shell for every operation. So
that we can't access those static variables from the non-static block. Can
you please guide me on this and correct me if I am wrong?

-- 


*Thank you and Regards,**Hariprasath Thanarajah*
Associate Software Engineer | WSO2
E: haripras...@wso2.com
M: +94752806528, 0777216903
Blog: hariwso2.blogspot.com

Skype : hariss636
LinkedIn : https://www.linkedin.com/in/hariprasath-thanarajah-5234b660

WSO2, Inc.
lean . enterprise . middleware

https://wso2.com/signature
http://wso2.com/about/team/hariprashath-thanarajah/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM][CORS] Caching preflight response in API Console

2016-11-22 Thread Abimaran Kugathasan
Hi Nuwan,

Shall we have a default value as 15 mins in code level, and let the API
developer decide to add this property if he wants to increase it.

WDYT?

On Fri, Nov 18, 2016 at 10:41 PM, Abimaran Kugathasan 
wrote:

> I thought of setting it through in velocity template.
>
> On Fri, Nov 18, 2016 at 10:17 PM, Nuwan Dias  wrote:
>
>> Can't we use the _cors_request_handler_ sequence to set this value? Users
>> don't  have access to the synapse api xml file. And even if they change it,
>> it'll be overriden when you save again unless its set in the velocity
>> template as well. So if we can maintain it at the sequence these shouldn't
>> be a problem.
>>
>> On Fri, Nov 18, 2016 at 5:28 PM, Abimaran Kugathasan 
>> wrote:
>>
>>> Hi Jo/Nuwan,
>>>
>>> We have to set the property like below. Shall we have 15 mins as the
>>> default value in code level and let API Developer to override it through
>>> api synapse xml file like below?
>>>
>>> >> class="org.wso2.carbon.apimgt.gateway.handlers.security.CORSRequestHandler">
>>> 
>>> 
>>> 
>>>
>>>
>>> On Thu, Nov 3, 2016 at 11:57 AM, Joseph Fonseka  wrote:
>>>
 +1 to merge the fix to carry this forward better if we can add this to
 the publisher UI as well.

 Thanks
 Jo

 On Thu, Nov 3, 2016 at 11:28 AM, Abimaran Kugathasan  wrote:

> Hi Dev,
>
> CORS specification allows caching the preflight response for a certain
> number of seconds through Access-Control-Max-Age header [1] .
>
> Some browsers have this feature by default which overrides this header
> if the value specified is greater than their value[2]
>
> Firefox - 24 hours
> Chrome - 10 minutes
> Chromium - 5 seconds
>
> Mathieu(https://github.com/mathieu-pousse) has sent a PR though [3].
> Please review and provide feedback.
>
>
> [1] : https://www.w3.org/TR/cors/#access-control-max-age-respons
> e-header
> [2] : https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/
> Access-Control-Max-Age
> [3] : https://github.com/wso2/carbon-apimgt/pull/3114
>
>
> --
> Thanks
> Abimaran Kugathasan
> Senior Software Engineer - API Technologies
>
> Email : abima...@wso2.com
> Mobile : +94 773922820
>
> 
> 
>   
> 
>
>


 --

 --
 *Joseph Fonseka*
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 772 512 430
 skype: jpfonseka

 * *


>>>
>>>
>>> --
>>> Thanks
>>> Abimaran Kugathasan
>>> Senior Software Engineer - API Technologies
>>>
>>> Email : abima...@wso2.com
>>> Mobile : +94 773922820
>>>
>>> 
>>> 
>>>   
>>> 
>>>
>>>
>>
>>
>> --
>> Nuwan Dias
>>
>> Software Architect - WSO2, Inc. http://wso2.com
>> email : nuw...@wso2.com
>> Phone : +94 777 775 729
>>
>
>
>
> --
> Thanks
> Abimaran Kugathasan
> Senior Software Engineer - API Technologies
>
> Email : abima...@wso2.com
> Mobile : +94 773922820
>
> 
> 
>   
> 
>
>


-- 
Thanks
Abimaran Kugathasan
Senior Software Engineer - API Technologies

Email : abima...@wso2.com
Mobile : +94 773922820


  
  
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Exception related to eclipse BIRT when connecting DAS data using DAS JDBC driver

2016-11-22 Thread Anupama Pathirage
Hi,

It seems this is occurred since the DAS server does not have a valid
certificate from an authorized CA. Please add DAS server certificate in to
JDK keystore and check by following steps.

   - Access the DAS url from browser and export the certificate
   - Export the certificate to JDK key store using keytool.

Thanks,
Anupama

On Mon, Nov 21, 2016 at 1:06 AM, Pawan Gunaratne  wrote:

> Hi,
>
> After creating the JDBC connection in Eclipse BIRT it didn't allow to get
> the table data available in DAS. Also it didn't show any tables/streams
> available in DAS. When I'm trying to retrieve the data using SELECT queries
> it will throw the following exception.
>
> 
> 
> 
> org.eclipse.birt.data.engine.odaconsumer.OdaDataException: Cannot get the
> result set metadata.
> org.eclipse.birt.report.data.oda.jdbc.JDBCException: SQL statement
> does not return a ResultSet object.
> SQL error #1:Error in Get Column Data Types :
>  ;
> java.sql.SQLException: Error in Get Column Data Types :
> at org.eclipse.birt.data.engine.odaconsumer.ExceptionHandler.
> newException(ExceptionHandler.java:52)
> at org.eclipse.birt.data.engine.odaconsumer.ExceptionHandler.
> throwException(ExceptionHandler.java:108)
> at org.eclipse.birt.data.engine.odaconsumer.ExceptionHandler.
> throwException(ExceptionHandler.java:84)
> at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.
> getRuntimeMetaData(PreparedStatement.java:414)
> at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.
> getProjectedColumns(PreparedStatement.java:377)
> at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.
> doGetMetaData(PreparedStatement.java:347)
> at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.
> execute(PreparedStatement.java:563)
> at org.eclipse.birt.data.engine.executor.DataSourceQuery.
> execute(DataSourceQuery.java:980)
> at org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery$
> OdaDSQueryExecutor.executeOdiQuery(PreparedOdaDSQuery.java:607)
> at org.eclipse.birt.data.engine.impl.QueryExecutor.execute(
> QueryExecutor.java:1251)
> at org.eclipse.birt.data.engine.impl.ServiceForQueryResults.
> executeQuery(ServiceForQueryResults.java:233)
> at org.eclipse.birt.data.engine.impl.QueryResults.getResultIterator(
> QueryResults.java:178)
> at org.eclipse.birt.data.engine.impl.QueryResults.getResultMetaData(
> QueryResults.java:132)
> at org.eclipse.birt.report.data.adapter.impl.DataSetMetaDataHelper.
> getRuntimeMetaData(DataSetMetaDataHelper.java:196)
> at org.eclipse.birt.report.data.adapter.impl.DataSetMetaDataHelper.
> getRealMetaData(DataSetMetaDataHelper.java:155)
> at org.eclipse.birt.report.data.adapter.impl.DataSetMetaDataHelper.
> getDataSetMetaData(DataSetMetaDataHelper.java:117)
> at org.eclipse.birt.report.data.adapter.impl.DataSetMetaDataHelper.
> refreshMetaData(DataSetMetaDataHelper.java:385)
> at org.eclipse.birt.report.data.adapter.impl.DataRequestSessionImpl.
> refreshMetaData(DataRequestSessionImpl.java:414)
> at org.eclipse.birt.report.designer.data.ui.dataset.ExternalUIUtil.
> updateColumnCache(ExternalUIUtil.java:109)
> at org.eclipse.birt.report.designer.data.ui.providers.
> DefaultDataServiceProvider.updateColumnCache(DefaultDataServiceProvider.
> java:139)
> at org.eclipse.birt.report.designer.internal.ui.data.
> DataService.updateColumnCache(DataService.java:173)
> at org.eclipse.birt.report.designer.data.ui.dataset.DataSetUIUtil.
> updateColumnCache(DataSetUIUtil.java:99)
> at org.eclipse.birt.report.designer.data.ui.dataset.
> DataSetEditor.okPressed(DataSetEditor.java:687)
> at org.eclipse.birt.report.designer.data.ui.property.
> AbstractPropertyDialog.buttonPressed(AbstractPropertyDialog.java:650)
> at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(
> TypedListener.java:249)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5219)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1340)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(
> Display.java:4553)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4143)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)
> at org.eclipse.jface.window.Window.open(Window.java:794)
> at org.eclipse.birt.report.designer.ui.dialogs.
> BaseDialog.open(BaseDialog.java:117)
> at org.eclipse.birt.report.designer.data.ui.providers.
> EditableDataSetNodeProvider.performEdit(EditableDataSetNodeProvider.
> java:102)
> at org.eclipse.birt.report.designer.internal.ui.views.
> 

Re: [Dev] Effects in turning off isCascadeDeleteEnabled in API-M

2016-11-22 Thread Maduranga Siriwardena
Hi Shazni,

This property is added with a fix to [1]. With the fix we have added ON
DELETE CASCADE constraint on UM_ROLE_PERMISSION, UM_USER_PERMISSION,
UM_HYBRID_USER_ROLE tables in user management database. This is added with
a kernel 4.4.x release and because we need to the database to be backward
compatible, we have added this property. So if ON DELETE CASCADE constraint
is not there on those tables, we need this property set to false. See the
PR [2].

[1] https://wso2.org/jira/browse/IDENTITY-3620
[2] https://github.com/wso2/carbon-kernel/pull/512

Thanks,

On Mon, Nov 21, 2016 at 3:20 PM, Shazni Nazeer  wrote:

> Hi,
>
> I got an constraint violation while deleting an API due to cascade delete.
> I got rid of the error by turning it off.
>
> Is there any functional implications in turning off
> "isCascadeDeleteEnabled" in the API-M repository/conf/user-mgt.xml?
>
> regards
>
> --
> Shazni Nazeer
> Associate Technical Lead | WSO2
>
> Mob : +94 37331
> LinkedIn : http://lk.linkedin.com/in/shazninazeer
> Blog : http://shazninazeer.blogspot.com
>
> 
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Maduranga Siriwardena
Software Engineer
WSO2 Inc; http://wso2.com/

Email: madura...@wso2.com
Mobile: +94718990591
Blog: http://madurangasblogs.blogspot.com/

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Any job scheduler or timer provided in the Carbon Core or AS 5.3.0?

2016-11-22 Thread wenxzhen
Dear all,


Does Carbon Core or AS 5.3.0 already provide the job schedule or timer 
mechanism? Appreciate for any advice.


Thanks, Wenxing___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [PUPPET][CEP/DAS] Releasing puppet modules for restructured CEP-4.0.0 and DAS-3.0.1 puppet module distribution.

2016-11-22 Thread Vishanth Balasubramaniam
Hi Imesh,

I have now added the custom logic in setup.sh in puppet-common for
initializing IoT.

I believe the setup script needs some improvements where I noticed that it
still takes platform as an argument which is not being used.

Regards,
Vishanth

On Tue, Nov 22, 2016 at 3:23 PM, Imesh Gunaratne  wrote:

> Adding others who are working on product puppet modules.
>
> I updated puppet-common and puppet-base repositories: [1], [2] as needed.
> Vishanth is now working on adding custom logic to setup.sh in puppet-common
> for initializing IoT product profiles. Once he is done we should be able to
> release [1] and [2].
>
> [1] https://github.com/wso2/puppet-common/commits/master
> [2] https://github.com/wso2/puppet-base/commits/master
>
> Thanks
>
> On Mon, Nov 21, 2016 at 5:33 PM, Imesh Gunaratne  wrote:
>
>> Hi Sajith,
>>
>> Thanks for your contributions on preparing DAS and CEP puppet modules. I
>> will update puppet-common and puppet-base and let you know once they are
>> ready to be released.
>>
>> We would need to publish product puppet modules (including wso2base) to
>> Puppet Forge [5].
>>
>> [5] https://docs.puppet.com/puppet/latest/reference/modules_
>> publishing.html
>>
>> Thanks
>>
>> On Mon, Nov 21, 2016 at 3:26 PM, Sajith Perera  wrote:
>>
>>> Hi All,
>>>
>>> We are planning to do a release on Puppet modules related to Complex
>>> Event Processor 4.0.0 and Data Analytics Server 3.0.1.
>>> Current puppet module for DAS 3.0.1 and CEP 4.0.0 supports following
>>> deployment patterns.
>>>
>>> Pattern-1: Standalone server with default profile.
>>> Pattern-2: Clustered environment (minimum HA)
>>>
>>> Also we are required to release puppet-common[2] 1.0.0 prior to these
>>> releases.
>>> I have tested the deployment scenarios via Puppet using VM and Docker
>>> build as explained in [4].
>>>
>>> [1] https://github.com/wso2/puppet-cep
>>> [2] https://github.com/wso2/puppet-das
>>> 
>>> [3] https://github.com/wso2/puppet-common
>>> [4] https://github.com/wso2/puppet-base/wiki/Setting-up-the-Deve
>>> lopment-Environment
>>>
>>> Thanks,
>>> SajithD
>>>
>>> --
>>> 
>>> Sajith Dimal
>>> Software Engineer
>>> Email : saji...@wso2.com
>>> Mobile : +94783101496
>>> WSO2 Inc. | http://wso2.com
>>> lean.enterprise.middleware
>>>
>>
>>
>>
>> --
>> *Imesh Gunaratne*
>> Software Architect
>> WSO2 Inc: http://wso2.com
>> T: +94 11 214 5345 M: +94 77 374 2057
>> W: https://medium.com/@imesh TW: @imesh
>> lean. enterprise. middleware
>>
>>
>
>
> --
> *Imesh Gunaratne*
> Software Architect
> WSO2 Inc: http://wso2.com
> T: +94 11 214 5345 M: +94 77 374 2057
> W: https://medium.com/@imesh TW: @imesh
> lean. enterprise. middleware
>
>


-- 
*Vishanth Balasubramaniam*
Committer & PMC Member, Apache Stratos,
Software Engineer, WSO2 Inc.; http://wso2.com

mobile: *+94 77 17 377 18*
about me: *http://about.me/vishanth *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Malintha Fernando

2016-11-22 Thread Vindula Jayawardana
Congratulations Malintha

On Sat, Nov 19, 2016 at 12:53 PM, Sidath Weerasinghe 
wrote:

> Congratulations Malintha
>
> On Fri, Nov 18, 2016 at 11:11 AM, Malintha Fernando 
> wrote:
>
>> Thank you all for your wishes!! :)
>>
>> On Fri, Nov 18, 2016 at 12:01 AM, Madhawa Perera 
>> wrote:
>>
>>> Congrats Malintha!
>>>
>>> On Wed, Nov 9, 2016 at 12:33 PM, Prakhash Sivakumar 
>>> wrote:
>>>
 Congratz Malintha !!!

 On Wed, Nov 9, 2016 at 9:03 AM, Lahiru J Ekanayake 
 wrote:

> Congratz Malintha :) .
>
> On Wed, Nov 9, 2016 at 7:34 AM, Charini Nanayakkara  > wrote:
>
>> Congratz Malintha!!! :)
>>
>> On Tue, Nov 8, 2016 at 8:29 PM, Menaka Jayawardena 
>> wrote:
>>
>>> Congratz Malintha.!
>>>
>>> On Tue, Nov 8, 2016 at 2:46 PM, Irunika Weeraratne >> > wrote:
>>>
 Congratulations Malintha!!!

 Best Regards,
 Irunika

 *Irunika Weeraratne*
 *Software Engineer | WSO2, Inc. *
 *Email : irun...@wso2.com *
 *LinkedIn : https://lk.linkedin.com/in/irunikaw
 *
 *Mobile : +94712403314 <%2B94712403314>*
 *Lean . Enterprise . Middleware*


 On Tue, Nov 8, 2016 at 2:43 PM, Sameera Gunarathne <
 samee...@wso2.com> wrote:

> Congrats Malintha!!!
>
> On Tue, Nov 8, 2016 at 2:38 PM, Maneesha Wijesekara <
> manee...@wso2.com> wrote:
>
>> Congratulations Malintha..!!
>>
>> On Tue, Nov 8, 2016 at 1:47 PM, Dilshani Subasinghe <
>> dilsh...@wso2.com> wrote:
>>
>>> Congrats Malintha :)
>>>
>>> On Tue, Nov 8, 2016 at 1:45 PM, Heshitha Hettihewa <
>>> heshit...@wso2.com> wrote:
>>>
 Congratz Malintha!!!

 On Tue, Nov 8, 2016 at 1:32 PM, Chandana Napagoda <
 chand...@wso2.com> wrote:

> Hi Devs,
>
> It is my pleasure to welcome Malintha Fernando as a WSO2
> Committer. Malintha has made some great contributions to WSO2 
> Governance
> Registry and WSO2 Enterprise Store products during the last few 
> months and
> in recognition of his commitment and contributions, he has been 
> voted as a
> Committer for WSO2.
>
> @Malintha, welcome aboard and keep up the good work.
>
> Best Regards,
> Chandana
>
> --
> *Chandana Napagoda*
> Associate Technical Lead
> WSO2 Inc. - http://wso2.org
>
> *Email  :  chand...@wso2.com **Mobile :
> +94718169299 <%2B94718169299>*
>
> *Blog  :http://cnapagoda.blogspot.com
>  | http://chandana.napagoda.com
> *
>
> *Linkedin : http://www.linkedin.com/in/chandananapagoda
> *
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 Heshitha Hettihewa
 *Software Engineer*
 Mobile : +94716866386
 <%2B94%20%280%29%20773%20451194>
 heshit...@wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


>>>
>>>
>>> --
>>> Best Regards,
>>>
>>> Dilshani Subasinghe
>>> Software Engineer - QA *|* WSO2
>>> lean *|* enterprise *|* middleware
>>>
>>> Mobile : +94773375185
>>> Blog: dilshani.me
>>>
>>> 
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Maneesha Wijesekara
>> Software Engineer - EE Team
>> WSO2 Inc.
>>
>> Email: manee...@wso2.com
>> Linkedin: http://linkedin.com/in/maneeshawijesekara
>> Mobile: +94712443119
>>
>> ___
>> Dev mailing list

Re: [Dev] WSO2 ESB 5.0.0: How to replace bundled old Saxon 9.4.0.4 with the latest 9.7.0.11 to get support of XSLT 3.0 and XPath 3.1 for XML transformation?

2016-11-22 Thread Stepan RYBAR
Still no hint? No one knows, how to get the latest XSLT 3.0 and XPath 3.1 into 
WSO2 ESB 5.0.0 using the latest stable Saxon? Regards, Stepan
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Samples config files for each product in puppet common

2016-11-22 Thread Vishanth Balasubramaniam
Hi Imesh,

Have we removed the $subject?

Regards,
Vishanth

-- 
*Vishanth Balasubramaniam*
Committer & PMC Member, Apache Stratos,
Software Engineer, WSO2 Inc.; http://wso2.com

mobile: *+94 77 17 377 18*
about me: *http://about.me/vishanth *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Password Policy in WSO2 Identity Server

2016-11-22 Thread Sherene Mahanama
Hi Hanen,

The documentation for configuring password policy per tenant can be found
here [1]. It is a feature in WSO2 IS 5.3.0 and is available in the alpha
pack [2] as mentioned by Chamila.

[1] https://docs.wso2.com/display/IS530/Password+Policy+Validation
[2] https://github.com/wso2/product-is/releases/tag/v5.3.0-alpha2

Thanks,

On Tue, Nov 22, 2016 at 4:08 AM, Chamila Wijayarathna <
cdwijayarat...@gmail.com> wrote:

> Hi Hanen,
>
> Per tenant support for identity management features including password
> policy is planned for IS 5.3.0 version, which is not released yet.
>
> You can try this in IS 5.3.0 ALPHA2 [1] which is released recently. But
> I'm not sure if there is any documentation available for this yet.
>
> [1]. https://github.com/wso2/product-is/releases/tag/v5.3.0-alpha2
>
> Regards!
>
> On Tue, Nov 22, 2016 at 2:10 AM, Hanen Ben Rhouma 
> wrote:
>
>> Hello,
>>
>> Does WSO2 IS support password policy definition per tenant ? If so, is
>> there any documentation about it ?
>>
>>
>> Regards,
>> Hanen
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Chamila Dilshan Wijayarathna,
> PhD Research Student
> The University of New South Wales (UNSW Canberra)
> Australian Centre for Cyber Security
> Australian Defence Force Academy
> PO Box 7916, Canberra BA ACT 2610
> Australia
> Mobile:(+61)416895795
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Sherene Mahanama
Associate Technical Writer

WSO2 (pvt.) Ltd.
Colombo, Sri Lanka
(+94) 777 <%28%2B94%29%20773131798>*994805*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [PUPPET][CEP/DAS] Releasing puppet modules for restructured CEP-4.0.0 and DAS-3.0.1 puppet module distribution.

2016-11-22 Thread Imesh Gunaratne
Adding others who are working on product puppet modules.

I updated puppet-common and puppet-base repositories: [1], [2] as needed.
Vishanth is now working on adding custom logic to setup.sh in puppet-common
for initializing IoT product profiles. Once he is done we should be able to
release [1] and [2].

[1] https://github.com/wso2/puppet-common/commits/master
[2] https://github.com/wso2/puppet-base/commits/master

Thanks

On Mon, Nov 21, 2016 at 5:33 PM, Imesh Gunaratne  wrote:

> Hi Sajith,
>
> Thanks for your contributions on preparing DAS and CEP puppet modules. I
> will update puppet-common and puppet-base and let you know once they are
> ready to be released.
>
> We would need to publish product puppet modules (including wso2base) to
> Puppet Forge [5].
>
> [5] https://docs.puppet.com/puppet/latest/reference/
> modules_publishing.html
>
> Thanks
>
> On Mon, Nov 21, 2016 at 3:26 PM, Sajith Perera  wrote:
>
>> Hi All,
>>
>> We are planning to do a release on Puppet modules related to Complex
>> Event Processor 4.0.0 and Data Analytics Server 3.0.1.
>> Current puppet module for DAS 3.0.1 and CEP 4.0.0 supports following
>> deployment patterns.
>>
>> Pattern-1: Standalone server with default profile.
>> Pattern-2: Clustered environment (minimum HA)
>>
>> Also we are required to release puppet-common[2] 1.0.0 prior to these
>> releases.
>> I have tested the deployment scenarios via Puppet using VM and Docker
>> build as explained in [4].
>>
>> [1] https://github.com/wso2/puppet-cep
>> [2] https://github.com/wso2/puppet-das
>> 
>> [3] https://github.com/wso2/puppet-common
>> [4] https://github.com/wso2/puppet-base/wiki/Setting-up-the-
>> Development-Environment
>>
>> Thanks,
>> SajithD
>>
>> --
>> 
>> Sajith Dimal
>> Software Engineer
>> Email : saji...@wso2.com
>> Mobile : +94783101496
>> WSO2 Inc. | http://wso2.com
>> lean.enterprise.middleware
>>
>
>
>
> --
> *Imesh Gunaratne*
> Software Architect
> WSO2 Inc: http://wso2.com
> T: +94 11 214 5345 M: +94 77 374 2057
> W: https://medium.com/@imesh TW: @imesh
> lean. enterprise. middleware
>
>


-- 
*Imesh Gunaratne*
Software Architect
WSO2 Inc: http://wso2.com
T: +94 11 214 5345 M: +94 77 374 2057
W: https://medium.com/@imesh TW: @imesh
lean. enterprise. middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev