Re: [Dev] [ESB] [DAS] Error while passing the data through publishEvent mediator

2017-05-22 Thread Chanuka Dissanayake
>
>  xmlns:abc="urn:xyz.antz.com">
> 
>   
> 
>   UD_DAS


On Mon, May 22, 2017 at 5:41 PM, Gayan Yalpathwala  wrote:

> Please note that I was able to get through this by enabling sequential
> mediation in Iterate mediator.
>
> Thanks,
>
> On Mon, May 22, 2017 at 3:45 PM, Gayan Yalpathwala 
> wrote:
>
>> Hi team,
>>
>> I am getting an error similar to above, when PublishEvent mediator in the
>> target sequence of an Iterate mediator. ESB version is 5.0.0.
>> [2017-05-22 15:36:24,135] ERROR - PublishEventMediator Cannot mediate
>> message. Failed to load event sink 'TestEventSink'. Error: Event sink
>> "TestEventSink" not found.
>>
>> I can see the following jira too: https://wso2.org/jira/browse/E
>> SBJAVA-4899.
>> Is there a possible solution or a workaround for this?
>>
>> Thanks,
>>
>>
>>
>> On Thu, Sep 10, 2015 at 5:03 PM, Nadeeshaan Gunasinghe <
>> nadeesh...@wso2.com> wrote:
>>
>>> Hi Chanuka,
>>> It seems you haven't defined the event sink. Make sure you have defined
>>> one with the name eventSink14.
>>> Regards
>>>
>>>
>>> *Nadeeshaan Gunasinghe*
>>> Software Engineer, WSO2 Inc. http://wso2.com
>>> +94770596754 | nadeesh...@wso2.com | Skype: nadeeshaan.gunasinghe
>>> <#m_6342050506033639433_m_-8717959336583478941_m_86378577479624110_>
>>> <http://www.facebook.com/nadeeshaan.gunasinghe>
>>> <http://lk.linkedin.com/in/nadeeshaan>  <http://twitter.com/Nadeeshaan>
>>> <http://nadeeshaan.blogspot.com/>
>>> Get a signature like this: Click here!
>>> <http://ws-promos.appspot.com/r?rdata=eyJydXJsIjogImh0dHA6Ly93d3cud2lzZXN0YW1wLmNvbS9lbWFpbC1pbnN0YWxsP3dzX25jaWQ9NjcyMjk0MDA4JnV0bV9zb3VyY2U9ZXh0ZW5zaW9uJnV0bV9tZWRpdW09ZW1haWwmdXRtX2NhbXBhaWduPXByb21vXzU3MzI1Njg1NDg3Njk3OTIiLCAiZSI6ICI1NzMyNTY4NTQ4NzY5NzkyIn0=>
>>>
>>> On Thu, Sep 10, 2015 at 8:55 AM, Chanuka Dissanayake 
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> I'm retrieving data set from Salesforce through ESB by using the
>>>> Salesforce connector [1]. My intention is here to pass the data set to
>>>> DAS as a payload. Therefore I used 'iterate' mediator [2] to iterate
>>>> the data and inside that I used publishEvent mediator to pass the data
>>>> to DAS as wso2events. But I'm getting this error [3] during the
>>>> operation. First I created a Sample static data and pass it successfully to
>>>> the DAS without getting the error and using the same 'EventSink'
>>>> (which is 'eventSink14'). Proxy source [4]. What can be the possible error
>>>> here?
>>>>
>>>> Additionally: Also when I update the PublishEvent stream Pay load
>>>> attributes and trying to add a receiver from DAS, It is not
>>>> identifying the newly added Pay Load attribute(s) (which may be a bug).
>>>> Because of that it'll categorize as a inactive receiver [5]. Need to change
>>>> the Stream name or the version of the Stream as a workaround.
>>>>
>>>> [1] https://docs.wso2.com/display/ESBCONNECTORS/Salesforce+Connector
>>>> [2] https://docs.wso2.com/display/ESB480/Iterate+Mediator
>>>> [3]
>>>>
>>>> 2015-09-09 17:09:53,741] ERROR - PublishEventMediator Cannot mediate
>>>> message. Failed to load event sink 'eventSink14'. Error: Event sink
>>>> "eventSink14" not found
>>>>
>>>> [2015-09-09 17:09:53,741]  INFO - LogMediator To:
>>>> http://www.w3.org/2005/08/addressing/anonymous, WSAction: , SOAPAction:
>>>> , MessageID: urn:uuid:0877c7fb-3e22-41d3-83ab-629edc9b59e9, Direction:
>>>> request, message = aa, Envelope: >>> encoding='utf-8'?>http://schemas.
>>>> xmlsoap.org/soap/envelope/">>>> ="urn:partner.soap.sforce.com">http://www.w3.org/2
>>>> 001/XMLSchema-instance" xsi:type="QueryResult">true<
>>>> queryLocator xsi:nil="true"/>9>>> soapenv:Body>
>>>>
>>>> [2015-09-09 17:09:53,742] ERROR - PublishEventMediator Cannot mediate
>>>> message. Failed to load event sink 'eventSink14'. Error: Event sink
>>>> "eventSink14" not found
>>>>
>>>> [2015-09-09 17:09:53,743] ERROR - PublishEventMediator Cannot mediate
&g

Re: [Dev] Salesforce connector supports for complex queries

2017-01-14 Thread Chanuka Dissanayake
>
> According to the logs there is an error in the query string [1]. It should
> be SELECT Id,Contact_Us_First_Submission_Date__c FROM Lead WHERE Status
> != 'Disqualified' AND Participant_Type__c != 'Partner' AND
> Participant_Type__c != 'Other' AND Contact_Us_First_Submission_Date__c !=
> Null.
>
>
Thanks Kesavan, didn't notice that. It's working now :)


On Sat, Jan 14, 2017 at 11:30 AM, Kesavan Yogarajah 
wrote:

> Hi Chanuka,
>
> According to the logs there is an error in the query string [1]. It should
> be SELECT Id,Contact_Us_First_Submission_Date__c FROM Lead WHERE Status
> != 'Disqualified' AND Participant_Type__c != 'Partner' AND
> Participant_Type__c != 'Other' AND Contact_Us_First_Submission_Date__c !=
> Null.
>
> [1] -
> 
> Id,SELECT Contact_Us_First_Submission_Date__c FROM Lead WHERE Status !=
> 'Disqualified' AND Participant_Type__c != 'Partner' AND Participant_Type__c
> != 'Other' AND Contact_Us_First_Submission_Date__c !=
> Null
>
> Thanks
>
> Kesavan Yogarajah
> Software Engineer
> Mobile :+94 (0) 779 758021 <+94%2077%20975%208021>
> kesav...@wso2.com
> WSO2, Inc.
> lean . enterprise . middleware
>
> On Sat, Jan 14, 2017 at 10:16 AM, Chanuka Dissanayake 
> wrote:
>
>> Hi Malaka,
>>
>> Also are you using latest ESB?
>>>
>>
>> Yes it's, ESB 5.0 and tooling.
>>
>> Maybe issue is related to TLS version?
>>
>>
>> Don't know, whether it have an effect, because it didn't work before they
>> have update to the new version.
>>
>> I have attached the wire log, after invoking the query, it's basically
>> not responding.
>>
>>
>> Thanks,
>> Chanuka.
>>
>> On Fri, Jan 13, 2017 at 8:16 PM, Malaka Silva  wrote:
>>
>>> Hi Chanuka,
>>>
>>> Since we are simple invoking the api it should work.
>>>
>>> Can you share wire logs for further investigation.
>>>
>>> Also are you using latest ESB? Maybe issue is related to TLS version? [1]
>>>
>>> [1] https://help.salesforce.com/servlet/servlet.FileDownload
>>> ?file=0150M03KgGkQAK
>>>
>>> +Dev List
>>> -- Forwarded message --
>>> From: Chanuka Dissanayake 
>>> Date: Fri, Jan 13, 2017 at 6:53 PM
>>> Subject: Salesforce connector supports for complex queries
>>> To: kesavany Yogarajah , Keerthika Mahendralingam <
>>> keerth...@wso2.com>
>>> Cc: Malaka Silva , Shevan Goonetilleke ,
>>> Yasith Tharindu , Suhan Dharmasuriya ,
>>> Nirodha Pramod 
>>>
>>>
>>> Hi Kesavan,
>>>
>>> I have come across that, when querying data from Salesforce connector it
>>> does not retrieving the data, instead it kept waiting. Have you done
>>> anything related to $subject?. Following is the query which is not working
>>> through the connector.
>>>
>>> SELECT Id,Contact_Us_First_Submission_Date__c FROM Lead WHERE Status !=
>>> 'Disqualified' AND Participant_Type__c != 'Partner' AND Participant_Type__c
>>> != 'Other' AND Contact_Us_First_Submission_Date__c != Null
>>> Regards,
>>> Chanuka.
>>> --
>>> Chanuka Dissanayake
>>> *Software Engineer | **WSO2 Inc.*; http://wso2.com
>>>
>>> Mobile: +94 71 33 63 596
>>> Email: chan...@wso2.com
>>>
>>>
>>>
>>> --
>>>
>>> Best Regards,
>>>
>>> Malaka Silva
>>> Senior Technical Lead
>>> M: +94 777 219 791 <+94%2077%20721%209791>
>>> 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/
>>> <http://wso2.com/about/team/malaka-silva/>
>>> https://store.wso2.com/store/
>>>
>>> Don't make Trees rare, we should keep them with care
>>>
>>
>>
>>
>> --
>> Chanuka Dissanayake
>> *Software Engineer | **WSO2 Inc.*; http://wso2.com
>>
>> Mobile: +94 71 33 63 596
>> Email: chan...@wso2.com
>>
>
>


-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Salesforce connector supports for complex queries

2017-01-13 Thread Chanuka Dissanayake
Hi Malaka,

Also are you using latest ESB?
>

Yes it's, ESB 5.0 and tooling.

Maybe issue is related to TLS version?


Don't know, whether it have an effect, because it didn't work before they
have update to the new version.

I have attached the wire log, after invoking the query, it's basically not
responding.


Thanks,
Chanuka.

On Fri, Jan 13, 2017 at 8:16 PM, Malaka Silva  wrote:

> Hi Chanuka,
>
> Since we are simple invoking the api it should work.
>
> Can you share wire logs for further investigation.
>
> Also are you using latest ESB? Maybe issue is related to TLS version? [1]
>
> [1] https://help.salesforce.com/servlet/servlet.FileDownload?file=
> 0150M03KgGkQAK
>
> +Dev List
> -- Forwarded message --
> From: Chanuka Dissanayake 
> Date: Fri, Jan 13, 2017 at 6:53 PM
> Subject: Salesforce connector supports for complex queries
> To: kesavany Yogarajah , Keerthika Mahendralingam <
> keerth...@wso2.com>
> Cc: Malaka Silva , Shevan Goonetilleke ,
> Yasith Tharindu , Suhan Dharmasuriya ,
> Nirodha Pramod 
>
>
> Hi Kesavan,
>
> I have come across that, when querying data from Salesforce connector it
> does not retrieving the data, instead it kept waiting. Have you done
> anything related to $subject?. Following is the query which is not working
> through the connector.
>
> SELECT Id,Contact_Us_First_Submission_Date__c FROM Lead WHERE Status !=
> 'Disqualified' AND Participant_Type__c != 'Partner' AND Participant_Type__c
> != 'Other' AND Contact_Us_First_Submission_Date__c != Null
> Regards,
> Chanuka.
> --
> Chanuka Dissanayake
> *Software Engineer | **WSO2 Inc.*; http://wso2.com
>
> Mobile: +94 71 33 63 596
> Email: chan...@wso2.com
>
>
>
> --
>
> Best Regards,
>
> Malaka Silva
> Senior Technical Lead
> M: +94 777 219 791 <+94%2077%20721%209791>
> 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/
> <http://wso2.com/about/team/malaka-silva/>
> https://store.wso2.com/store/
>
> Don't make Trees rare, we should keep them with care
>



-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
[2017-01-14 10:09:19,187] DEBUG - content >> "92[\r][\n]"
[2017-01-14 10:09:19,189] DEBUG - content >> "http://www.w3.org/2003/05/soap-envelope";>"
[2017-01-14 10:09:19,189] DEBUG - content >> "[\r][\n]"
[2017-01-14 10:09:19,189] DEBUG - content >> "0"
[2017-01-14 10:09:19,189] DEBUG - content >> "[\r][\n]"
[2017-01-14 10:09:19,190] DEBUG - content >> "[\r][\n]"
[2017-01-14 10:09:19,206] DEBUG - wire HTTP-Listener I/O dispatcher-1 >> "POST /services/SF_Lead_Proxy.SF_Lead_ProxyHttpSoap12Endpoint HTTP/1.1[\r][\n]"
[2017-01-14 10:09:19,206] DEBUG - wire HTTP-Listener I/O dispatcher-1 >> "Content-Type: application/soap+xml; charset=UTF-8; action="urn:mediate"[\r][\n]"
[2017-01-14 10:09:19,207] DEBUG - wire HTTP-Listener I/O dispatcher-1 >> "Cookie: menuPanel=visible; menuPanelType=main; region1_configure_menu=none; region3_registry_menu=none; region4_monitor_menu=none; region5_tools_menu=none; requestedURI=../../carbon/admin/index.jsp; JSESSIONID=70F5257D70D954AE9040F55DB9567251; current-breadcrumb=manage_menu%2Cservices_menu%2Cservices_list_menu%23[\r][\n]"
[2017-01-14 10:09:19,207] DEBUG - wire HTTP-Listener I/O dispatcher-1 >> "User-Agent: Axis2[\r][\n]"
[2017-01-14 10:09:19,207] DEBUG - wire HTTP-Listener I/O dispatcher-1 >> "Host: cio-dashboard-dev-nirodha2:8290[\r][\n]"
[2017-01-14 10:09:19,207] DEBUG - wire HTTP-Listener I/O dispatcher-1 >> "Transfer-Encoding: chunked[\r][\n]"
[2017-01-14 10:09:19,208] DEBUG - wire HTTP-Listener I/O dispatcher-1 >> "[\r][\n]"
[2017-01-14 10:09:19,208] DEBUG - wire HTTP-Listener I/O dispatcher-1 >> "92[\r][\n]"
[2017-01-14 10:09:19,208] DEBUG - wire HTTP-Listener I/O dispatcher-1 >> "http://www.w3.org/2003/05/soap-envelope";>[\r][\n]"
[2017-01-14 10:09:19,208] DEBUG - wire HTTP-Listener I/O dispatcher-1 >> "0[\r][\n]"
[2017-01-14 10:09:19,209] DEBUG - wire HTTP-Listener I/O dispatcher-1 >> "[\r][\n]"
[2017-01-14 10:09:19,290]  INFO - ModuleDeployer Deploying module: addressing-1.6.1-wso2v19 - file:/home/ubuntu/unifiedDashboards_ESB/wso2esb-5.0.0/./repository/deployment/client/modul

[Dev] [DAS] [310] Error 'Execute Script' is not working after first execute.

2016-09-28 Thread Chanuka Dissanayake
Hi

I had come across the $subject in batch analytics when migrating from 3.0.0
to 3.1.0. Need to go back and come again to execute the update. In 3.0.0 it
worked perfectly.

What would be the problem here?

Thanks,
Chanuka.

-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][ESB][DSS] Sending batch request to DSS

2016-08-31 Thread Chanuka Dissanayake
Hi,

Removing 'blocking = true' worked.

Thank you Rajith, Malaka for the help.

Regards
Chanuka.


On Wed, Aug 31, 2016 at 8:28 PM, Rajith Vitharana  wrote:

> Hi Chanuka,
>
> Try with call mediator blocking=false.
>
> Thanks,
>
> On 31 August 2016 at 19:53, Malaka Silva  wrote:
>
>> Hi Chanuka,
>>
>> Shall we try to find the payload in messagecontext before iterator
>> mediator.
>>
>> You can use log mediator or mediation debugger to do that.
>>
>> On Wed, Aug 31, 2016 at 4:50 PM, Chanuka Dissanayake 
>> wrote:
>>
>>> Hi,
>>>
>>> I'm trying to do the $subject using ESB 5.0, DSS 3.5.0 and Salesforce
>>> Connector.
>>>
>>> When I remove the following call operations to the DSS from the sequence
>>> it's working perfectly.
>>>
>>> 
>>>> 
>>>> 
>>>> https://localhost:9448/se
>>>> rvices/SF_Data_Service/"/>
>>>> 
>>>>     
>>>
>>>
>>> Otherwise, It'll stop after the first batch received. Without continuing
>>> the operation (which need to be iterate until all the batches received).
>>>
>>> [I have attached both proxy and the sequence.]
>>>
>>> Thanks,
>>> Chanuka.
>>>
>>> --
>>> Chanuka Dissanayake
>>> *Software Engineer | **WSO2 Inc.*; http://wso2.com
>>>
>>> Mobile: +94 71 33 63 596
>>> Email: chan...@wso2.com
>>>
>>
>>
>>
>> --
>>
>> 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/
>> <http://wso2.com/about/team/malaka-silva/>
>> https://store.wso2.com/store/
>>
>> Don't make Trees rare, we should keep them with care
>>
>
>
>
> --
> Rajith Vitharana
>
> Senior Software Engineer,
> WSO2 Inc. : wso2.com
> Mobile : +94715883223
> Blog : http://lankavitharana.blogspot.com/
> <http://wso2.com/signature>
>



-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [DEV][ESB][DSS] Sending batch request to DSS

2016-08-31 Thread Chanuka Dissanayake
Hi,

I'm trying to do the $subject using ESB 5.0, DSS 3.5.0 and Salesforce
Connector.

When I remove the following call operations to the DSS from the sequence
it's working perfectly.

 "urn:insert_SF_Account_operation_batch_req"/>
> 
> 
> https://localhost:9448/services/SF_Data_Service/
> "/>
> 
> 


Otherwise, It'll stop after the first batch received. Without continuing
the operation (which need to be iterate until all the batches received).

[I have attached both proxy and the sequence.]

Thanks,
Chanuka.

-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com

http://ws.apache.org/ns/synapse";>



200
SELECT CreatedDate,Id,Name FROM Account






http://wso2.org/salesforce/adaptor";>







200

















http://ws.apache.org/ns/synapse";>






http://ws.wso2.org/dataservice"/>




http://org.apache.synapse/xsd"; xmlns:p="http://ws.wso2.org/dataservice"/>





http://org.apache.synapse/xsd"; xmlns:rec="urn:partner.soap.sforce.com">








http://ws.wso2.org/dataservice"/>






http://ws.wso2.org/dataservice"; xpath="//p:insert_SF_Account_operation_batch_req"/>

http://ws.wso2.org/dataservice"/>












https://localhost:9448/services/SF_Data_Service/"/>



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


[Dev] [ESB] 5.0 - DataMapper input xml loading.

2016-08-29 Thread Chanuka Dissanayake
Hi All,

I have came across an issue when loading sample input xml to data mapper.
Sample input xml can not have namespaces as default namespaces and same
namespace should be given with the same namespace prefix. Otherwise
unexpected behaviours can be occur during the transformation. Should these
be in the docs?

Thanks & Regards,
Chanuka.
-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][AppM] Cannot add web application 'Failed to add asset.'

2016-05-04 Thread Chanuka Dissanayake
Thanks Dinusha, It's working now.

Regards,
Chanuka.

On Wed, May 4, 2016 at 12:39 PM, Dinusha Senanayaka 
wrote:

> Hi Chahuka,
>
> There were couple of configuration issues in the setup. should work now.
> Btw, you might have to recreate your App.
>
> - In the clustering section 127.0.0.1 has used has the localMemberHost,
> hence the clustering has not worked. Due to that registry indexing has not
> worked properly. That's why apps are not appeared on store.
> - There was incorrect URL defined for Gateway URL in app-manager.xml.
>
> Regards,
> Dinusha.
>
>
>
>
> On Wed, May 4, 2016 at 10:28 AM, Chanuka Dissanayake 
> wrote:
>
>> Hi Dinusha,
>>
>> This issue is fixed now. We applied a patch to staging deployment and
>>> there were some nginx config issues too.
>>
>>
>> Thanks for the fix. BTW there's a issue in the Store side as well.
>> Initially published app doesn't appear in the store, it should be be
>> unpublished and republished again.
>>
>> @jithendra, thanks for the help.
>>
>> Regards,
>> Chanuka.
>>
>> On Tue, May 3, 2016 at 5:27 PM, Dinusha Senanayaka 
>> wrote:
>>
>>> Hi Chanuka,
>>>
>>> This issue is fixed now. We applied a patch to staging deployment and
>>> there were some nginx config issues too.
>>>
>>> Regards,
>>> Dinusha.
>>>
>>> On Tue, May 3, 2016 at 11:59 AM, Chanuka Dissanayake 
>>> wrote:
>>>
>>>> Hi Dinusha,
>>>>
>>>> Thanks for the help. I can add the web application now, but I'm not
>>>> able to publish it even though I have the required permission. Jithendra
>>>> also checked with the super user, but the same problem. What could be the
>>>> issue here?
>>>>
>>>> Regards,
>>>> Chanuka.
>>>>
>>>> On Tue, May 3, 2016 at 10:02 AM, Dinusha Senanayaka 
>>>> wrote:
>>>>
>>>>> Hi Chanuka,
>>>>>
>>>>> This seems to be a issue with setting permissions to registry resource
>>>>> in mounted environment [1]. Will provide a patch ASAP.
>>>>>
>>>>> [1] https://wso2.org/jira/browse/REGISTRY-2214
>>>>>
>>>>> Regards,
>>>>> Dinusha.
>>>>>
>>>>> On Mon, May 2, 2016 at 12:14 PM, Chanuka Dissanayake >>>> > wrote:
>>>>>
>>>>>> What is the deployment ? Not a standalone setup of 1.2.0-M3 right ?
>>>>>>
>>>>>>
>>>>>> Yes, not a standalone. I have tried a new app but same error.
>>>>>>
>>>>>> Did you check the the permissions section in the resource metadata
>>>>>>> page in registry browser. Were they properly set?
>>>>>>>
>>>>>>> @jithendra, could you check this.
>>>>>>
>>>>>> On Mon, May 2, 2016 at 12:02 PM, Denuwanthi De Silva <
>>>>>> denuwan...@wso2.com> wrote:
>>>>>>
>>>>>>> Hi Chanuka,
>>>>>>>
>>>>>>> Did you check the the permissions section in the resource metadata
>>>>>>> page in registry browser. Were they properly set?
>>>>>>> Check the user core versions as it could be related to issues at
>>>>>>> [1][2].
>>>>>>>
>>>>>>> [1]https://wso2.org/jira/browse/CARBON-15771
>>>>>>> [2]https://wso2.org/jira/browse/IDENTITY-4291
>>>>>>>
>>>>>>> On Mon, May 2, 2016 at 11:52 AM, Dinusha Senanayaka <
>>>>>>> dinu...@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi Chanuka,
>>>>>>>>
>>>>>>>> What is the deployment ? Not a standalone setup of 1.2.0-M3 right ?
>>>>>>>> Btw, it says web app already exist. May be transaction failed at
>>>>>>>> intermediate state, if you tried to add it several times. Can you try
>>>>>>>> adding new app with different name and context too.
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> Dinusha.
>>>>>>>>
>>>>>>>> On Mon, May 2, 2016 at 11:46 AM, Chanuka Dissanayake <
>>>>>>>> chan...@wso2.com> wrote:
>>>>>>>>
>>>>>&

Re: [Dev] [DEV][AppM] Cannot add web application 'Failed to add asset.'

2016-05-03 Thread Chanuka Dissanayake
Hi Dinusha,

This issue is fixed now. We applied a patch to staging deployment and there
> were some nginx config issues too.


Thanks for the fix. BTW there's a issue in the Store side as well.
Initially published app doesn't appear in the store, it should be be
unpublished and republished again.

@jithendra, thanks for the help.

Regards,
Chanuka.

On Tue, May 3, 2016 at 5:27 PM, Dinusha Senanayaka  wrote:

> Hi Chanuka,
>
> This issue is fixed now. We applied a patch to staging deployment and
> there were some nginx config issues too.
>
> Regards,
> Dinusha.
>
> On Tue, May 3, 2016 at 11:59 AM, Chanuka Dissanayake 
> wrote:
>
>> Hi Dinusha,
>>
>> Thanks for the help. I can add the web application now, but I'm not able
>> to publish it even though I have the required permission. Jithendra also
>> checked with the super user, but the same problem. What could be the issue
>> here?
>>
>> Regards,
>> Chanuka.
>>
>> On Tue, May 3, 2016 at 10:02 AM, Dinusha Senanayaka 
>> wrote:
>>
>>> Hi Chanuka,
>>>
>>> This seems to be a issue with setting permissions to registry resource
>>> in mounted environment [1]. Will provide a patch ASAP.
>>>
>>> [1] https://wso2.org/jira/browse/REGISTRY-2214
>>>
>>> Regards,
>>> Dinusha.
>>>
>>> On Mon, May 2, 2016 at 12:14 PM, Chanuka Dissanayake 
>>> wrote:
>>>
>>>> What is the deployment ? Not a standalone setup of 1.2.0-M3 right ?
>>>>
>>>>
>>>> Yes, not a standalone. I have tried a new app but same error.
>>>>
>>>> Did you check the the permissions section in the resource metadata page
>>>>> in registry browser. Were they properly set?
>>>>>
>>>>> @jithendra, could you check this.
>>>>
>>>> On Mon, May 2, 2016 at 12:02 PM, Denuwanthi De Silva <
>>>> denuwan...@wso2.com> wrote:
>>>>
>>>>> Hi Chanuka,
>>>>>
>>>>> Did you check the the permissions section in the resource metadata
>>>>> page in registry browser. Were they properly set?
>>>>> Check the user core versions as it could be related to issues at
>>>>> [1][2].
>>>>>
>>>>> [1]https://wso2.org/jira/browse/CARBON-15771
>>>>> [2]https://wso2.org/jira/browse/IDENTITY-4291
>>>>>
>>>>> On Mon, May 2, 2016 at 11:52 AM, Dinusha Senanayaka 
>>>>> wrote:
>>>>>
>>>>>> Hi Chanuka,
>>>>>>
>>>>>> What is the deployment ? Not a standalone setup of 1.2.0-M3 right ?
>>>>>> Btw, it says web app already exist. May be transaction failed at
>>>>>> intermediate state, if you tried to add it several times. Can you try
>>>>>> adding new app with different name and context too.
>>>>>>
>>>>>> Regards,
>>>>>> Dinusha.
>>>>>>
>>>>>> On Mon, May 2, 2016 at 11:46 AM, Chanuka Dissanayake <
>>>>>> chan...@wso2.com> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> AppM version : 1.2.0 M3.
>>>>>>> I'm getting the $subject while trying to add an application *[1]*
>>>>>>> (I have the required permission). But when I tried to add the same
>>>>>>> application again, it's mentioning, Message,
>>>>>>>
>>>>>>>
>>>>>>> *Error occurred while adding the WebApp. A duplicate WebApp already
>>>>>>> exists with name - 'MyApp' and version - '1.0.0'*
>>>>>>>
>>>>>>> *[1]*
>>>>>>>
>>>>>>> TID: [-1234] [] [2016-05-02 11:29:55,652]  WARN
>>>>>>> {org.wso2.carbon.registry.core.jdbc.Repository} -  User
>>>>>>> chan...@wso2.com is not authorized to read the resource
>>>>>>> /_system/governance/appmgt/applicationdata/provider/chanuka-AT-wso2.com/MyApp/1.0.0/webapp.
>>>>>>> {org.wso2.carbon.registry.core.jdbc.Repository}
>>>>>>> TID: [-1234] [] [2016-05-02 11:29:55,660] ERROR
>>>>>>> {JAGGERY.assets.default.asset:jag} -
>>>>>>>  org.mozilla.javascript.WrappedException: Wrapped
>>>>>>> org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException:
>>>>

Re: [Dev] [DEV][AppM] Cannot add web application 'Failed to add asset.'

2016-05-02 Thread Chanuka Dissanayake
Hi Dinusha,

Thanks for the help. I can add the web application now, but I'm not able to
publish it even though I have the required permission. Jithendra also
checked with the super user, but the same problem. What could be the issue
here?

Regards,
Chanuka.

On Tue, May 3, 2016 at 10:02 AM, Dinusha Senanayaka 
wrote:

> Hi Chanuka,
>
> This seems to be a issue with setting permissions to registry resource in
> mounted environment [1]. Will provide a patch ASAP.
>
> [1] https://wso2.org/jira/browse/REGISTRY-2214
>
> Regards,
> Dinusha.
>
> On Mon, May 2, 2016 at 12:14 PM, Chanuka Dissanayake 
> wrote:
>
>> What is the deployment ? Not a standalone setup of 1.2.0-M3 right ?
>>
>>
>> Yes, not a standalone. I have tried a new app but same error.
>>
>> Did you check the the permissions section in the resource metadata page
>>> in registry browser. Were they properly set?
>>>
>>> @jithendra, could you check this.
>>
>> On Mon, May 2, 2016 at 12:02 PM, Denuwanthi De Silva > > wrote:
>>
>>> Hi Chanuka,
>>>
>>> Did you check the the permissions section in the resource metadata page
>>> in registry browser. Were they properly set?
>>> Check the user core versions as it could be related to issues at [1][2].
>>>
>>> [1]https://wso2.org/jira/browse/CARBON-15771
>>> [2]https://wso2.org/jira/browse/IDENTITY-4291
>>>
>>> On Mon, May 2, 2016 at 11:52 AM, Dinusha Senanayaka 
>>> wrote:
>>>
>>>> Hi Chanuka,
>>>>
>>>> What is the deployment ? Not a standalone setup of 1.2.0-M3 right ?
>>>> Btw, it says web app already exist. May be transaction failed at
>>>> intermediate state, if you tried to add it several times. Can you try
>>>> adding new app with different name and context too.
>>>>
>>>> Regards,
>>>> Dinusha.
>>>>
>>>> On Mon, May 2, 2016 at 11:46 AM, Chanuka Dissanayake 
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> AppM version : 1.2.0 M3.
>>>>> I'm getting the $subject while trying to add an application *[1]* (I
>>>>> have the required permission). But when I tried to add the same 
>>>>> application
>>>>> again, it's mentioning, Message,
>>>>>
>>>>>
>>>>> *Error occurred while adding the WebApp. A duplicate WebApp already
>>>>> exists with name - 'MyApp' and version - '1.0.0'*
>>>>>
>>>>> *[1]*
>>>>>
>>>>> TID: [-1234] [] [2016-05-02 11:29:55,652]  WARN
>>>>> {org.wso2.carbon.registry.core.jdbc.Repository} -  User
>>>>> chan...@wso2.com is not authorized to read the resource
>>>>> /_system/governance/appmgt/applicationdata/provider/chanuka-AT-wso2.com/MyApp/1.0.0/webapp.
>>>>> {org.wso2.carbon.registry.core.jdbc.Repository}
>>>>> TID: [-1234] [] [2016-05-02 11:29:55,660] ERROR
>>>>> {JAGGERY.assets.default.asset:jag} -
>>>>>  org.mozilla.javascript.WrappedException: Wrapped
>>>>> org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException:
>>>>> Resource does not exist at path
>>>>> /_system/governance/appmgt/applicationdata/provider/chanuka-AT-wso2.com/MyApp/1.0.0/webapp
>>>>> (/scripts/registry/registry-osgi.js#268)
>>>>> at
>>>>> org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1754)
>>>>> at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:148)
>>>>> at
>>>>> org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:225)
>>>>> at
>>>>> org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
>>>>> at
>>>>> org.jaggeryjs.rhino..scripts.registry.c0._c_anonymous_25(/scripts/registry/registry-osgi.js:268)
>>>>> at
>>>>> org.jaggeryjs.rhino..scripts.registry.c0.call(/scripts/registry/registry-osgi.js)
>>>>> at
>>>>> org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
>>>>> at
>>>>> org.jaggeryjs.rhino..scripts.registry.c0._c_anonymous_25(/scripts/registry/artifacts.js:360)
>>>>> at
>>>>> org.jaggeryjs.rhino..scripts.registry.c0.call(/scripts/registry/artifacts.js)
>>>>> at
>>>>> org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)
>>>&g

Re: [Dev] [DEV][AppM] Cannot add web application 'Failed to add asset.'

2016-05-01 Thread Chanuka Dissanayake
>
> What is the deployment ? Not a standalone setup of 1.2.0-M3 right ?


Yes, not a standalone. I have tried a new app but same error.

Did you check the the permissions section in the resource metadata page in
> registry browser. Were they properly set?
>
> @jithendra, could you check this.

On Mon, May 2, 2016 at 12:02 PM, Denuwanthi De Silva 
wrote:

> Hi Chanuka,
>
> Did you check the the permissions section in the resource metadata page in
> registry browser. Were they properly set?
> Check the user core versions as it could be related to issues at [1][2].
>
> [1]https://wso2.org/jira/browse/CARBON-15771
> [2]https://wso2.org/jira/browse/IDENTITY-4291
>
> On Mon, May 2, 2016 at 11:52 AM, Dinusha Senanayaka 
> wrote:
>
>> Hi Chanuka,
>>
>> What is the deployment ? Not a standalone setup of 1.2.0-M3 right ?
>> Btw, it says web app already exist. May be transaction failed at
>> intermediate state, if you tried to add it several times. Can you try
>> adding new app with different name and context too.
>>
>> Regards,
>> Dinusha.
>>
>> On Mon, May 2, 2016 at 11:46 AM, Chanuka Dissanayake 
>> wrote:
>>
>>> Hi,
>>>
>>> AppM version : 1.2.0 M3.
>>> I'm getting the $subject while trying to add an application *[1]* (I
>>> have the required permission). But when I tried to add the same application
>>> again, it's mentioning, Message,
>>>
>>>
>>> *Error occurred while adding the WebApp. A duplicate WebApp already
>>> exists with name - 'MyApp' and version - '1.0.0'*
>>>
>>> *[1]*
>>>
>>> TID: [-1234] [] [2016-05-02 11:29:55,652]  WARN
>>> {org.wso2.carbon.registry.core.jdbc.Repository} -  User chan...@wso2.com is
>>> not authorized to read the resource
>>> /_system/governance/appmgt/applicationdata/provider/chanuka-AT-wso2.com/MyApp/1.0.0/webapp.
>>> {org.wso2.carbon.registry.core.jdbc.Repository}
>>> TID: [-1234] [] [2016-05-02 11:29:55,660] ERROR
>>> {JAGGERY.assets.default.asset:jag} -
>>>  org.mozilla.javascript.WrappedException: Wrapped
>>> org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException:
>>> Resource does not exist at path
>>> /_system/governance/appmgt/applicationdata/provider/chanuka-AT-wso2.com/MyApp/1.0.0/webapp
>>> (/scripts/registry/registry-osgi.js#268)
>>> at
>>> org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1754)
>>> at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:148)
>>> at
>>> org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:225)
>>> at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
>>> at
>>> org.jaggeryjs.rhino..scripts.registry.c0._c_anonymous_25(/scripts/registry/registry-osgi.js:268)
>>> at
>>> org.jaggeryjs.rhino..scripts.registry.c0.call(/scripts/registry/registry-osgi.js)
>>> at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
>>> at
>>> org.jaggeryjs.rhino..scripts.registry.c0._c_anonymous_25(/scripts/registry/artifacts.js:360)
>>> at
>>> org.jaggeryjs.rhino..scripts.registry.c0.call(/scripts/registry/artifacts.js)
>>> at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)
>>> at
>>> org.jaggeryjs.rhino.publisher.modules.ext.scripts.c5._c_anonymous_2(/publisher/modules/ext/scripts/asset.lifecycle.action.save.js:70)
>>> at
>>> org.jaggeryjs.rhino.publisher.modules.ext.scripts.c5.call(/publisher/modules/ext/scripts/asset.lifecycle.action.save.js)
>>> at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
>>> at
>>> org.jaggeryjs.rhino.publisher.modules.ext.core.c2._c_anonymous_14(/publisher/modules/ext/core/extension.core.js:235)
>>> at
>>> org.jaggeryjs.rhino.publisher.modules.ext.core.c2.call(/publisher/modules/ext/core/extension.core.js)
>>> at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
>>> at
>>> org.jaggeryjs.rhino.publisher.modules.ext.core.c3._c_anonymous_10(/publisher/modules/ext/core/extension.management.js:161)
>>> at
>>> org.jaggeryjs.rhino.publisher.modules.ext.core.c3.call(/publisher/modules/ext/core/extension.management.js)
>>> at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)
>>> at
>>> org.jaggeryjs.rhino.publisher.modules.ext.core.c3._c_anonymous_8(/publisher/modules/ext/core/extension.management.js:111)
>>> at
>>> org.jaggeryjs.rhino.publisher.modules.ext.core.c3.call(/publish

[Dev] [DEV][AppM] Cannot add web application 'Failed to add asset.'

2016-05-01 Thread Chanuka Dissanayake
.run(NioEndpoint.java:1698)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by:
org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException:
Resource does not exist at path
/_system/governance/appmgt/applicationdata/provider/chanuka-AT-wso2.com/MyApp/1.0.0/webapp
at
org.wso2.carbon.registry.core.jdbc.handlers.builtin.MountHandler.get(MountHandler.java:455)
at
org.wso2.carbon.registry.core.jdbc.handlers.HandlerManager.get(HandlerManager.java:2444)
at
org.wso2.carbon.registry.core.jdbc.handlers.UserDefinedHandlerManager.get(UserDefinedHandlerManager.java:200)
at
org.wso2.carbon.registry.core.jdbc.handlers.HandlerLifecycleManager.get(HandlerLifecycleManager.java:914)
at
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.get(EmbeddedRegistry.java:512)
at
org.wso2.carbon.governance.registry.eventing.handlers.GovernanceEventingHandler.invokeAspect(GovernanceEventingHandler.java:332)
at
org.wso2.carbon.registry.core.jdbc.handlers.HandlerManager.invokeAspect(HandlerManager.java:2792)
at
org.wso2.carbon.registry.core.jdbc.handlers.HandlerLifecycleManager.invokeAspect(HandlerLifecycleManager.java:518)
at
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.invokeAspect(EmbeddedRegistry.java:2550)
at
org.wso2.carbon.registry.core.caching.CacheBackedRegistry.invokeAspect(CacheBackedRegistry.java:469)
at
org.wso2.carbon.registry.core.session.UserRegistry.invokeAspect(UserRegistry.java:1951)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
... 105 more
Caused by:
org.wso2.carbon.registry.core.secure.AuthorizationFailedException: User
chan...@wso2.com is not authorized to read the resource
/_system/governance/appmgt/applicationdata/provider/chanuka-AT-wso2.com/MyApp/1.0.0/webapp.
at org.wso2.carbon.registry.core.jdbc.Repository.get(Repository.java:193)
at
org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher.handleGet(MediaTypeMatcher.java:130)
at
org.wso2.carbon.registry.core.jdbc.handlers.HandlerManager.get(HandlerManager.java:2439)
at
org.wso2.carbon.registry.core.jdbc.handlers.HandlerLifecycleManager.get(HandlerLifecycleManager.java:910)
at
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.get(EmbeddedRegistry.java:512)
at
org.wso2.carbon.registry.core.session.UserRegistry.getInternal(UserRegistry.java:616)
at
org.wso2.carbon.registry.core.session.UserRegistry.access$400(UserRegistry.java:60)
at
org.wso2.carbon.registry.core.session.UserRegistry$5.run(UserRegistry.java:596)
at
org.wso2.carbon.registry.core.session.UserRegistry$5.run(UserRegistry.java:593)
at java.security.AccessController.doPrivileged(Native Method)
at
org.wso2.carbon.registry.core.session.UserRegistry.get(UserRegistry.java:593)
at
org.wso2.carbon.registry.core.jdbc.handlers.builtin.MountHandler.get(MountHandler.java:399)
... 120 more
 {JAGGERY.assets.default.asset:jag}


What would be the issue here?

Thanks,
Chanuka.

-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [ESB][Connector] Github connector - get List of commits on a repo.

2016-03-02 Thread Chanuka Dissanayake
Hi,

Current connector [1] doesn't support on the $subject.  Github API [2] is
supporting it, and need to implement the method inside the connector.
As a workaround we can do traverse thorough the pull request (refer [3])
per each repo and retrieve the list.


[1]
https://storepreview.wso2.com/store/assets/esbconnector/cf9c44c0-b637-4587-afae-ea55fe64b632
[2]
https://developer.github.com/v3/repos/commits/#list-commits-on-a-repository
[3]
https://docs.wso2.com/display/ESBCONNECTORS/Working+with+Pull+Requests+in+Github#WorkingwithPullRequestsinGithub-listPullRequestCommits

Thanks & Regards,
Chanuka.
-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [ESB][Connector] Salesforce - < salesforce.queryMore > retrieves same data.

2016-02-26 Thread Chanuka Dissanayake
Hi,

I'm using $subject to retrieve data from Salesforce objects which have more
than 2000 (which exceeds the maximum batch size). I refer [1], it'll
retrieve same data recursively. Following is the proxy service,




http://ws.apache.org/ns/synapse";>

  



  

  

  

  200

SELECT
AccountId,Action__c,Amount,Best_Case_Amount__c,Breakdown_Type__c,Channel_error__c,CloseDate,Closed_Month__c,Commission_included__c,Competitor_we_Lost_to__c,Confidence__c,Contact_Roles__c,Conversion_Date__c,CreatedDate,Created_Today__c,CurrencyIsoCode,Current_Year_Amount__c,Development_Support_Account_Key__c,Development_Support_Hours__c,Engagement_Code__c,End_Date__c,Expected_Case_Amount__c,First_Account_Sale__c,Fiscal,FiscalQuarter,FiscalYear,Id,If_Lost_Reason_Other_Please_Explain__c,Implied_Exchange_Rate__c,Includes_Consulting__c,Includes_Dev_Support__c,Includes_Production_Support__c,Includes_QuickStart__c,IsClosed,IsDeleted,IsWon,LastActivityDate,LastModifiedDate,Last_Account_Sale__c,LeadSource,Lead_Type__c,Line_Item_Divergence__c,Line_Item_Total_Amount_USD__c,Name,New_Breakdown_Type__c,Opportunity_Term__c,Opp_End_Date__c,Opp_Start_Date__c,OwnerId,Partnership__c,Partner_commission__c,Partner_Lead_Amount__c,Partner_Lead_Close_Date__c,Partner_Registration_Expires__c,Partner_Registration_Status__c,Partner_Sales_Contact_Email__c,Partner_Sales_Contact_Name__c,Prev_Year_Amount__c,Pricebook2Id,Prior_Stage__c,Production_Support_Amount__c,Products_in_use__c,Project_Code__c,Project__c,Reason_Lost__c,RecordTypeId,Referred_to_Partners__c,Registered_by__c,Renewal_Stage__c,RFI_RFQ_RFP_BID__c,Salesforce_Record_Id__c,Services_Amount__c,SFDC__c,StageName,Stage_Change_Date__c,Start_Date__c,Subscription_Activation_Date_del__c,Subscription_Deactivation_Date__c,Test_Formula__c,Type,Type_Code__c,unique_count__c,Worse_Case_Amount__c,Zero_Amount__c
FROM Opportunity WHERE Fiscal >'2013 1'

  

  http://wso2.org/salesforce/adaptor";>



  



  200



  



  

  

  

  



  



  UD_DAS

  EventStreamOpportunities_1_0_0_1

  1.0.1

  







  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  





  



  



  

  







  




[1]
https://docs.wso2.com/display/ESBCONNECTORS/Working+with+Salesforce+Connector+Operations

Thanks & Regards,
Chanuka.
-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][DAS][DSS] Error after installing DSS features on DAS

2015-12-16 Thread Chanuka Dissanayake
Hi Niranda,

I have checked it [1].

[1] 85 ACTIVE  io.dropwizard.metrics.json_3.1.2

regards,
Chanuka.

On Thu, Dec 17, 2015 at 11:09 AM, Niranda Perera  wrote:

> Hi Chanuka,
>
> can you start the server with the osgiconsole and see if
> the io.dropwizard.metrics:metrics-json bundle s available and properly
> wired?
>
> cheers
>
> On Thu, Dec 17, 2015 at 10:44 AM, Chanuka Dissanayake 
> wrote:
>
>>
>> Hi
>>
>> I'm getting this error relevant to spark after installing DSS (version
>> 4.3.4) features on DAS 3.0.0. Cannot execute spark queries.
>>
>>
>> [2015-12-17 10:27:42,811] ERROR
>>> {org.wso2.carbon.analytics.spark.core.internal.AnalyticsComponent} -  Error
>>> initializing analytics executor: com/codahale/metrics/json/MetricsModule
>>> java.lang.NoClassDefFoundError: com/codahale/metrics/json/MetricsModule
>>> at java.lang.Class.forName0(Native Method)
>>> at java.lang.Class.forName(Class.java:11)
>>> at
>>> org.apache.spark.metrics.MetricsSystem$$anonfun$registerSinks$1.apply(MetricsSystem.scala:186)
>>> at
>>> org.apache.spark.metrics.MetricsSystem$$anonfun$registerSinks$1.apply(MetricsSystem.scala:182)
>>> at
>>> scala.collection.mutable.HashMap$$anonfun$foreach$1.apply(HashMap.scala:98)
>>> at
>>> scala.collection.mutable.HashMap$$anonfun$foreach$1.apply(HashMap.scala:98)
>>> at
>>> scala.collection.mutable.HashTable$class.foreachEntry(HashTable.scala:226)
>>> at scala.collection.mutable.HashMap.foreachEntry(HashMap.scala:39)
>>> at scala.collection.mutable.HashMap.foreach(HashMap.scala:98)
>>> at
>>> org.apache.spark.metrics.MetricsSystem.registerSinks(MetricsSystem.scala:182)
>>> at org.apache.spark.metrics.MetricsSystem.start(MetricsSystem.scala:99)
>>> at org.apache.spark.SparkContext.(SparkContext.scala:506)
>>> at
>>> org.apache.spark.api.java.JavaSparkContext.(JavaSparkContext.scala:61)
>>> at
>>> org.wso2.carbon.analytics.spark.core.internal.SparkAnalyticsExecutor.initializeClient(SparkAnalyticsExecutor.java:296)
>>> at
>>> org.wso2.carbon.analytics.spark.core.internal.SparkAnalyticsExecutor.initializeSparkServer(SparkAnalyticsExecutor.java:174)
>>> at
>>> org.wso2.carbon.analytics.spark.core.internal.AnalyticsComponent.activate(AnalyticsComponent.java:69)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>> at java.lang.reflect.Method.invoke(Method.java:606)
>>> at
>>> org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
>>> at
>>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
>>> at
>>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
>>> at
>>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
>>> at
>>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
>>> at
>>> org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
>>> at
>>> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
>>> at
>>> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
>>> at
>>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
>>> at
>>> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
>>> at
>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
>>> at
>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
>>> at
>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
>>> at
>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
>>> at
>>> org.eclipse.osgi.fra

[Dev] [DEV][DAS][DSS] Error after installing DSS features on DAS

2015-12-16 Thread Chanuka Dissanayake
ernal.Activator.addProxyServlet(Activator.java:60)
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.init(ProxyServlet.java:40)
> at
> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.init(DelegationServlet.java:38)
> at
> org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
> at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
> at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
> at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5262)
> at
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5550)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> at
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
> at
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.ClassNotFoundException:
> com.codahale.metrics.json.MetricsModule cannot be found by
> spark-core_2.10_1.4.1.wso2v1
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> ... 155 more



Thanks & Regards,
Chanuka.

-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [DEV][DSS] Write a new query for a google spreadsheet data service

2015-12-16 Thread Chanuka Dissanayake
Hi,

I have a spreadsheet which have column names with spaces, how could I
$subject. I couldn't find a answer from the docs [1].

[1] https://docs.wso2.com/display/DSS350/Google+Spreadsheet

Thanks & Regards,
Chanuka.

-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [ESB] [DAS] Error while passing the data through publishEvent mediator

2015-09-09 Thread Chanuka Dissanayake
Hi,

I'm retrieving data set from Salesforce through ESB by using the Salesforce
connector [1]. My intention is here to pass the data set to DAS as a
payload. Therefore I used 'iterate' mediator [2] to iterate the data and
inside that I used publishEvent mediator to pass the data to DAS as
wso2events. But I'm getting this error [3] during the operation. First I
created a Sample static data and pass it successfully to the DAS without
getting the error and using the same 'EventSink' (which is 'eventSink14').
Proxy source [4]. What can be the possible error here?

Additionally: Also when I update the PublishEvent stream Pay load
attributes and trying to add a receiver from DAS, It is not identifying the
newly added Pay Load attribute(s) (which may be a bug). Because of that
it'll categorize as a inactive receiver [5]. Need to change the Stream name
or the version of the Stream as a workaround.

[1] https://docs.wso2.com/display/ESBCONNECTORS/Salesforce+Connector
[2] https://docs.wso2.com/display/ESB480/Iterate+Mediator
[3]

2015-09-09 17:09:53,741] ERROR - PublishEventMediator Cannot mediate
message. Failed to load event sink 'eventSink14'. Error: Event sink
"eventSink14" not found

[2015-09-09 17:09:53,741]  INFO - LogMediator To:
http://www.w3.org/2005/08/addressing/anonymous, WSAction: , SOAPAction: ,
MessageID: urn:uuid:0877c7fb-3e22-41d3-83ab-629edc9b59e9, Direction:
request, message = aa, Envelope: http://schemas.xmlsoap
.org/soap/envelope/">http://www.w3.org/2001/XMLSchema-instance";
xsi:type="QueryResult">true9

[2015-09-09 17:09:53,742] ERROR - PublishEventMediator Cannot mediate
message. Failed to load event sink 'eventSink14'. Error: Event sink
"eventSink14" not found

[2015-09-09 17:09:53,743] ERROR - PublishEventMediator Cannot mediate
message. Failed to load event sink 'eventSink14'. Error: Event sink
"eventSink14" not found

[2015-09-09 17:09:53,743]  INFO - LogMediator To:
http://www.w3.org/2005/08/addressing/anonymous, WSAction: , SOAPAction: ,
MessageID: urn:uuid:e16bc0a2-586c-4aa7-9d34-f03773b09efb, Direction:
request, message = aa, Envelope: http://schemas.xmlsoap
.org/soap/envelope/">http://www.w3.org/2001/XMLSchema-instance";
xsi:type="QueryResult">true9

[2015-09-09 17:09:53,744] ERROR - PublishEventMediator Cannot mediate
message. Failed to load event sink 'eventSink14'. Error: Event sink
"eventSink14" not found

[2015-09-09 17:09:53,744] ERROR - PublishEventMediator Cannot mediate
message. Failed to load event sink 'eventSink14'. Error: Event sink
"eventSink14" not found

[2015-09-09 17:09:53,746]  INFO - LogMediator To:
http://www.w3.org/2005/08/addressing/anonymous, WSAction: , SOAPAction: ,
MessageID: urn:uuid:08a723ab-9232-43db-ab66-be3feeac6fc1, Direction:
request, message = aa, Envelope: http://schemas.xmlsoap
.org/soap/envelope/">http://www.w3.org/2001/XMLSchema-instance";
xsi:type="QueryResult">true9

[4]


http://ws.apache.org/ns/synapse";
   name="esbtoBamProxyEvent"
   transports="https,http"
   statistics="disable"
   trace="disable"
   startOnLoad="true">
   
  
 
 
 
2000
SELECT Region__c, count(Id) FROM Account WHERE
Deactivation_Date__c >= TODAY Group by Region__c
 
 http://org.apache.synapse/xsd";
  id="dateIterater"
  preservePayload="true"
  expression="$body/ns1:queryResponse
/ns1:result/ns1:records">

   
  
 
  
  
 eventSink14
 publishEventStream123
 1.0.1
 

            

   
   


 
  
   

 
 
 
 
  
   
   




[5]


Thanks & Regards,
Chanuka.
​
-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] API Call Rate

2015-08-26 Thread Chanuka Dissanayake
Hi Gelareh,

You can see the throttling limit as a number when you are going to
subscribe to the api in store. See it below the tiers drop downbox in grey
color. Version: API Manager 1.9.0

Regards,
Chanuka.

On Wed, Aug 26, 2015 at 3:48 PM, Gelareh Abooghadareh <
abooghada...@m-creations.com> wrote:

> Hi everyone,
>
> I want to use the calling rate of an API which is managed in the API
> manager.
>
> Is there any possibility to get to this rate without installing Bam? As I
> don't need the graphical statistics, but only the rate as a number.
>
> Thanks and regards
>
> Gelareh
>
>
>
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [UES] Connecting a database to dashboard

2015-08-26 Thread Chanuka Dissanayake
Hi Tanya,

Thanks for the information. What I meant is, at the moment gadgets
are retrieving the data via streams right? So if we want to query the data
by joining few tables how can we do that, and it's not one time retrieval
we need to poll the data.

Regards,
Chanuka.

On Wed, Aug 26, 2015 at 12:41 PM, Tanya Madurapperuma 
wrote:

>
> On Wed, Aug 26, 2015 at 12:25 PM, Chanuka Dissanayake 
> wrote:
>
>> Hi,
>>
>> We are going to implement new gadgets(charts) in UES, for that data has
>> to be retrieved by joining mysql database tables (at the moments which is
>> relying on streams). I would like to know if there's a way of directly
>> querying a database in order to get the required data for the gadgets.
>>
>
> What do you mean by directly querying a database? Do you want to poll the
> data from the database into the gadget or just one time retrieval?
> Please have a look at [1] and [2]. Might be useful.
>
> [1] http://jaggeryjs.org/documentation.jag?api=rdb
> [2]
> https://docs.wso2.com/display/UES100/Creating+WebSocket+Enabled+Gadgets
>
> Thanks,
> Tanya
>
>>
>> Thanks & Regards,
>> Chanuka.
>>
>> --
>> Chanuka Dissanayake
>> *Software Engineer | **WSO2 Inc.*; http://wso2.com
>>
>> Mobile: +94 71 33 63 596
>> Email: chan...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Tanya Madurapperuma
>
> Senior Software Engineer,
> WSO2 Inc. : wso2.com
> Mobile : +94718184439
> Blog : http://tanyamadurapperuma.blogspot.com
>



-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [UES] Connecting a database to dashboard

2015-08-25 Thread Chanuka Dissanayake
Hi,

We are going to implement new gadgets(charts) in UES, for that data has to
be retrieved by joining mysql database tables (at the moments which is
relying on streams). I would like to know if there's a way of directly
querying a database in order to get the required data for the gadgets.

Thanks & Regards,
Chanuka.

-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Madusanka Premaratne

2015-08-17 Thread Chanuka Dissanayake
Congratulations Maduz..!

On Tue, Aug 18, 2015 at 2:09 AM, Akalanka Pagoda Arachchi <
darsha...@wso2.com> wrote:

> Congratz Maduz...!!!
>
> On Mon, Aug 17, 2015 at 11:17 AM, Tharindu Dharmarathna <
> tharin...@wso2.com> wrote:
>
>> congrats maduz !.
>>
>> On Mon, Aug 17, 2015 at 12:00 PM, Roshan Wijesena 
>> wrote:
>>
>>> Congratulations!
>>>
>>> On Sat, Aug 15, 2015 at 10:15 AM, Nuwan Dias  wrote:
>>>
>>>> Hi,
>>>>
>>>> It is with great pleasure we welcome Madusanka Premaratne as a
>>>> WSO2 Committer. @Madusanka, congratulations and keep up the good work!
>>>>
>>>> Thanks,
>>>> NuwanD.
>>>>
>>>> --
>>>> Nuwan Dias
>>>>
>>>> Technical Lead - WSO2, Inc. http://wso2.com
>>>> email : nuw...@wso2.com
>>>> Phone : +94 777 775 729
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Roshan Wijesena.
>>> Senior Software Engineer-WSO2 Inc.
>>> Mobile: *+94719154640 <%2B94719154640>*
>>> Email: ros...@wso2.com
>>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>>> lean.enterprise.middleware.
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> *Tharindu Dharmarathna*Associate Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: *+94779109091 <%2B94779109091>*
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Darshana Akalanka Pagoda Arachchi,*
> *Software Engineer*
> *078-4721791*
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Drupal - IS integration

2015-05-25 Thread Chanuka Dissanayake
Hi Nirmani,

It looks like when try to login, if that user doesn’t exist in the drupal
database, exception occurs but at the same time that user will get added in
to the drupal database. Therefore  at the second time you can log in
without an issue. Can you share the code and meanwhile check whether
these[1][2] solutions are working for you.

[1]
http://stackoverflow.com/questions/5728540/ldap-add-add-object-class-violation-error
[2] https://www.drupal.org/node/1920682
[3] https://www.drupal.org/node/2262207

Regards,
Chanuka.

On Mon, May 25, 2015 at 8:09 PM, Nirmani Meegahathenna 
wrote:

> Hi,
>
> I'm trying to integrate Drupal with IS for SSO provisioning. Followed this
> article.
>
> http://wso2.com/library/articles/2014/10/wso2-identity-server-single-sign-on-with-drupal/#installsimplesamlphp
>
> Using SimpleLdap module <https://www.drupal.org/project/simple_ldap> to
> connect with OT LDAP.
>
> Getting the error "*SimpleLdapException*: Object class violation in
> *SimpleLdap::ldap_add()* (line *316* of
> */var/www/html/drupal/sites/all/modules/simple_ldap/SimpleLdap.class.php*
> )."  when user try to login for the first time.
>
> What is the reason for this?
>
> Thanks.
>
> --
> Nirmani Meegahathenna
> *Software Engineer Intern*
> Mobile : +94 (0) 775 507684
> nirm...@wso2.com 
>



-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Mahesh Chinthaka

2015-04-29 Thread Chanuka Dissanayake
Congratulations Mahesh.. !

On Wed, Apr 29, 2015 at 11:43 AM, Vijitha Ekanayake 
wrote:

> Congratulations Mahesh ...!!!
>
> On Wed, Apr 29, 2015 at 9:21 AM, Madhawa Gunasekara 
> wrote:
>
>> Congratulations Mahesh
>>
>> On Wed, Apr 29, 2015 at 8:57 AM, Madhuranga Bandara 
>> wrote:
>>
>>> Congratulations Mahesh... !!!
>>>
>>> *Madhuranga Sampath Bandara*
>>> Software Engineer
>>>
>>> WSO2, Inc.;http://wso2.com/
>>> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com%2F&sa=D&sntz=1&usg=AFQjCNGJuLRux6KkJwXKVUCYOtEsNCmIAQ>
>>> lean.enterprise.middleware
>>> Mobile: +94722241065
>>>
>>> On Tue, Apr 28, 2015 at 9:27 AM, Dimuthu Leelarathne 
>>> wrote:
>>>
>>>> Hi all,
>>>>
>>>> It is with great pleasure that WSO2 welcomes Mahesh Chinthaka as WSO2
>>>> committer!
>>>>
>>>> Thank you for your hard work. Congratulation!
>>>>
>>>> thanks,
>>>> dimuthu
>>>>
>>>> --
>>>> Dimuthu Leelarathne
>>>> Architect & Product Lead of App Factory
>>>>
>>>> WSO2, Inc. (http://wso2.com)
>>>> email: dimut...@wso2.com
>>>> Mobile : 0773661935
>>>>
>>>> Lean . Enterprise . Middleware
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Madhawa Gunasekara*
>> Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: +94 719411002 <+94+719411002>
>> blog: *http://madhawa-gunasekara.blogspot.com
>> <http://madhawa-gunasekara.blogspot.com>*
>> linkedin: *http://lk.linkedin.com/in/mgunasekara
>> <http://lk.linkedin.com/in/mgunasekara>*
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Vijitha Ekanayake
> Software Engineer*, *WSO2, Inc.; http://wso2.com/
> Mobile : +94 777 24 73 39 | +94 718 74 44 08
> lean.enterprise.middleware
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please merge PR for IDENTITY-2710 & WSOTWOSP-165

2015-03-29 Thread Chanuka Dissanayake
Hi,

$subject contains the fixes for [1] & [2]. PR is in [3]

[1] https://wso2.org/jira/browse/IDENTITY-2710
[2] https://support.wso2.com/jira/browse/WSOTWOSP-165
[3] https://github.com/wso2/carbon-commons/pull/71

Thanks,
Chanuka.
-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please merge PR for IDENTITY-2737

2015-03-21 Thread Chanuka Dissanayake
$subject, contains the fixes for [1]. PR is in [2].

[1] https://wso2.org/jira/browse/IDENTITY-2737
[2] https://github.com/wso2/carbon-identity/pull/145

Thanks & Regards,
Chanuka

-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Malithi Edirisinghe

2015-03-20 Thread Chanuka Dissanayake
Congratulation Malithi.. :)

On Fri, Mar 20, 2015 at 3:10 PM, Lasitha Wattaladeniya 
wrote:

> Congratulations Malithi :)
>
> On Fri, Mar 20, 2015 at 3:06 PM, Pulasthi Mahawithana 
> wrote:
>
>> Congrats Malithi !
>>
>> On Fri, Mar 20, 2015 at 3:04 PM, Johann Nallathamby 
>> wrote:
>>
>>> Hi All,
>>>
>>> It's my pleasure to announce Malithi Edirisinghe as a WSO2 Committer.
>>> Malithi has been a valuable contributor for WSO2 Identity Server
>>> product, and in recognition of her contribution to WSO2, she has been voted
>>> as a WSO2 Committer.
>>>
>>> Malithi, congratulations and keep up the good work!
>>>
>>> Thanks & Regards.
>>>
>>> --
>>>
>>> *Johann Dilantha Nallathamby*
>>> Associate Technical Lead & Product Lead of WSO2 Identity Server
>>> Integration Technologies Team
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>>
>>> Mobile - *+9476950*
>>> Blog - *http://nallaa.wordpress.com <http://nallaa.wordpress.com>*
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Pulasthi Mahawithana*
>> Software Engineer
>> WSO2 Inc., http://wso2.com/
>> Mobile: +94-71-5179022
>> Blog: http://blog.pulasthi.org
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Lasitha Wattaladeniya
> Software Engineer
> WSO2, Inc. | http://wso2.com
> lean. enterprise. middleware
>
> Mobile : +94719397528
> Blog : techreadme.blogspot.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Amila Godwin Shrimal

2015-03-20 Thread Chanuka Dissanayake
Congratulation Godwin.. :)

On Fri, Mar 20, 2015 at 3:09 PM, Farasath Ahamed  wrote:

> Congratulations Godwin !!!
>
> On Fri, Mar 20, 2015 at 3:06 PM, Pulasthi Mahawithana 
> wrote:
>
>> Congrats Godwin !
>>
>> On Fri, Mar 20, 2015 at 3:04 PM, Johann Nallathamby 
>> wrote:
>>
>>> Hi All,
>>>
>>> It's my pleasure to announce Amila Godwin Shrimal as a WSO2 Committer.
>>> Godwin has been a valuable contributor for WSO2 Identity Server
>>> product, and in recognition of his contribution to WSO2, he has been voted
>>> as a WSO2 Committer.
>>>
>>> Godwin, congratulations and keep up the good work!
>>>
>>> Thanks & Regards.
>>>
>>> --
>>>
>>> *Johann Dilantha Nallathamby*
>>> Associate Technical Lead & Product Lead of WSO2 Identity Server
>>> Integration Technologies Team
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>>
>>> Mobile - *+9476950*
>>> Blog - *http://nallaa.wordpress.com <http://nallaa.wordpress.com>*
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Pulasthi Mahawithana*
>> Software Engineer
>> WSO2 Inc., http://wso2.com/
>> Mobile: +94-71-5179022
>> Blog: http://blog.pulasthi.org
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Farasath Ahamed*
> Software Engineering Intern
> WSO2 Inc.; http://wso2.com
>
> Mobile: +94 777 603 866
> E-Mail:  farasath <http://goog_1999535192>a...@wso2.com
> Blog: http://thepseudocode.blogspot.com/
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please merge PR for IDENTITY-2650

2015-03-18 Thread Chanuka Dissanayake
Hi,

$subject contains the fixes for [1]. PR is in [2].

The problem is SAML issuer data which is initialy stored in table
SP_INBOUND_AUTH are not deleted after the issuer was delete but only the
information in the registry was deleted.

Steps and the provided solution,

   1. Click delete. (configure-service-provider.jsp) -> [M]
   updateBeanAndRedirect(redirectURL)
  1. update-application-bean.jsp
  2. ApplicationBean->update()
  3. OnSuccess() redirect to -> remove_service_providers.jsp ->
  client.removeServiceProvider(issuer)
   2. Redirect to configure-service-provider.jsp ? action=delete &
   samlIssuer=()
  1. ApplicationBean -> deleteSAMLIssuer()
  2. ApplicationMgtClient.updateApplicationData() (to remove the values
  from database)

[1] https://wso2.org/jira/browse/IDENTITY-2650
[2] https://github.com/wso2/carbon-identity/pull/143

Thanks & Regards,
Chanuka.

-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please merge PR for IDENTITY-2725

2015-03-15 Thread Chanuka Dissanayake
Hi,

$subject. Contains fixes for [1]. PR is in [2]

[1] https://wso2.org/jira/browse/IDENTITY-2725
[2] https://github.com/wso2/carbon-identity/pull/137

Thanks,
Chanuka.
-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [IS] Error injecting: org.apache.maven.reporting.exec.DefaultMavenReportExecutor java.lang.NoClassDefFoundError: org/sonatype/aether/graph/DependencyFilter

2015-03-12 Thread Chanuka Dissanayake
li.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: java.lang.ClassNotFoundException:
org.sonatype.aether.graph.DependencyFilter
at
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
at
org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259)
at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:242)
at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227)
... 60 more

Thanks,
Chanuka.
-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Jaggery] Try finally blocks with out a catch block

2015-03-12 Thread Chanuka Dissanayake
Hi Mahesh,

Jaggery is JavaScript, hence *try, catch *and* finally* blocks can be used
within your code as you usual. Also,  passed JavaScript *Error* object can
be used to get a brief information about the error [1]. Also you can find a
sample in [2]. Hope this will help you.

[1]
http://ruchirawageesha.blogspot.com/2013/04/error-handling-in-jaggery.html
[2] http://jaggeryjs.org/documentation.jag?api=ws

Regards,
Chanuka.

On Wed, Mar 11, 2015 at 12:44 PM, Mahesh Chinthaka  wrote:

>
> Hi all ,
> I have been working on [1] and I found some codes written with try and
> finally blocks without a catch block in the module layer of a jaggery app.
>
> try {
>
> } finally {
>
> }
>
> Is this ok ?
> If so how the errors are caught and thrown, when it comes to exception
> handling ?
>
> [1] - https://wso2.org/jira/browse/APPFAC-2725
>
> Thoughts are much appreciated.
> Thanks.
>
> --
> *Mahesh Chinthaka Vidanagama* | Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 63 63 083 | Work: +94 112 145 345
> Email: mahe...@wso2.com | Web: www.wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Dinesh J Weerakkody

2015-03-11 Thread Chanuka Dissanayake
Congratulations Dinesh..!

On Thu, Mar 12, 2015 at 9:40 AM, Thusitha Thilina Dayaratne <
thusit...@wso2.com> wrote:

> Congratulations Dinesh ..!
>
> On Thu, Mar 12, 2015 at 8:59 AM, Lasitha Wattaladeniya 
> wrote:
>
>> Congratulations Dinesh :) !
>>
>> On Thu, Mar 12, 2015 at 8:53 AM, Vijitha Ekanayake 
>> wrote:
>>
>>> Congratulations Dinesh !!!
>>>
>>> On Thu, Mar 12, 2015 at 8:41 AM, Tharik Kanaka  wrote:
>>>
>>>> Congratulations Dinesh
>>>>
>>>> On Thu, Mar 12, 2015 at 8:33 AM, Ravindra Ranwala 
>>>> wrote:
>>>>
>>>>> Congratulations Dinesh !
>>>>>
>>>>> On Thu, Mar 12, 2015 at 8:30 AM, Chamalee De Silva 
>>>>> wrote:
>>>>>
>>>>>> congrats!
>>>>>>
>>>>>> On Thu, Mar 12, 2015 at 8:24 AM, Abimaran Kugathasan <
>>>>>> abima...@wso2.com> wrote:
>>>>>>
>>>>>>> Congrats!
>>>>>>>
>>>>>>> On Thu, Mar 12, 2015 at 8:17 AM, Nuwan Dias  wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> It is with great pleasure we welcome DineshW as a WSO2 Committer.
>>>>>>>> @Dinesh, congratulations and keep up the good work!
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> NuwanD.
>>>>>>>>
>>>>>>>> --
>>>>>>>> Nuwan Dias
>>>>>>>>
>>>>>>>> Associate Tech Lead - WSO2, Inc. http://wso2.com
>>>>>>>> email : nuw...@wso2.com
>>>>>>>> Phone : +94 777 775 729
>>>>>>>>
>>>>>>>> ___
>>>>>>>> Dev mailing list
>>>>>>>> Dev@wso2.org
>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Thanks
>>>>>>> Abimaran Kugathasan
>>>>>>>
>>>>>>> Software Engineer | WSO2 Inc
>>>>>>> Data & APIs Technologies Team
>>>>>>> Mobile : +94 773922820
>>>>>>>
>>>>>>> <http://stackoverflow.com/users/515034>
>>>>>>> <http://lk.linkedin.com/in/abimaran>
>>>>>>> <http://www.lkabimaran.blogspot.com/>  <https://github.com/abimaran>
>>>>>>>   <https://twitter.com/abimaran>
>>>>>>>
>>>>>>>
>>>>>>> ___
>>>>>>> Dev mailing list
>>>>>>> Dev@wso2.org
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> Chamalee De Silva
>>>>>>
>>>>>> Software Engineer | WSO2
>>>>>>
>>>>>> E:chama...@wso2.com 
>>>>>> M :0711540738| http://wso2.com <http://wso2.com/>
>>>>>>
>>>>>> ___
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Ravindra Ranwala
>>>>> Software Engineer
>>>>> WSO2, Inc: http://wso2.com
>>>>> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg>
>>>>> Mobile: +94714198770
>>>>>
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *Tharik Kanaka* | Associate Software Engineer
>>>>
>>>> WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka
>>>>
>>>> Email: tha...@wso2.com | Web: www.wso2.com
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Vijitha Ekanayake
>>> Software Engineer*, *WSO2, Inc.; http://wso2.com/
>>> Mobile : +94 777 24 73 39 | +94 718 74 44 08
>>> lean.enterprise.middleware
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Lasitha Wattaladeniya
>> Software Engineer
>> WSO2, Inc. | http://wso2.com
>> lean. enterprise. middleware
>>
>> Mobile : +94719397528
>> Blog : techreadme.blogspot.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thusitha Dayaratne
> Software Engineer
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> Mobile  +94712756809
> Blog  alokayasoya.blogspot.com
> Abouthttp://about.me/thusithathilina
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please merge PR for IDENTITY-3052 and APPM-333

2015-02-25 Thread Chanuka Dissanayake
Hi Supun,

I have attached the svn diff for patch0010 [1] in the JIRA [2], please
commit that as well.

[1]
https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/patches/patch0010/core/org.wso2.carbon.user.core/4.2.0
[2] https://wso2.org/jira/browse/IDENTITY-3052

Thanks,
Chanuka.

On Wed, Feb 25, 2015 at 8:13 PM, Supun Malinga  wrote:

> Merged. thanks.
>
> On Wed, Feb 25, 2015 at 5:33 PM, Chanuka Dissanayake 
> wrote:
>
>> Hi Supun,
>>
>> Corrected them. Fix is in [1].
>>
>> [1] https://github.com/wso2/carbon4-kernel/pull/140
>>
>> Thanks & Regards,
>> Chanuka.
>>
>> On Wed, Feb 25, 2015 at 12:28 PM, Supun Malinga  wrote:
>>
>>> Hi Chanuka,
>>>
>>> Added a comment. Please fix.. Let me know if you need more context.
>>>
>>> thanks,
>>>
>>> On Tue, Feb 24, 2015 at 10:23 PM, Supun Malinga  wrote:
>>>
>>>> Just noticed this mail. Sorry I have missed it somehow. I'll follow up.
>>>>
>>>> thanks,
>>>>
>>>> On Mon, Feb 23, 2015 at 6:41 PM, Sameera Jayasoma 
>>>> wrote:
>>>>
>>>>> SupunM, Can you look into the if this not already done?
>>>>>
>>>>>
>>>>> Thanks,
>>>>> Sameera.
>>>>>
>>>>> On Thu, Feb 19, 2015 at 12:17 PM, Chanuka Dissanayake <
>>>>> chan...@wso2.com> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> $subject. Contains fixes for [1] and [2]. PR is in [3].
>>>>>>
>>>>>> [1] https://wso2.org/jira/browse/APPM-333
>>>>>> [2] https://wso2.org/jira/browse/IDENTITY-3052
>>>>>> [3] https://github.com/wso2/carbon4-kernel/pull/140
>>>>>>
>>>>>> Thanks,
>>>>>> Chanuka.
>>>>>> --
>>>>>> Chanuka Dissanayake
>>>>>> *Software Engineer | **WSO2 Inc.*; http://wso2.com
>>>>>>
>>>>>> Mobile: +94 71 33 63 596
>>>>>> Email: chan...@wso2.com
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Sameera Jayasoma,
>>>>> Software Architect,
>>>>>
>>>>> WSO2, Inc. (http://wso2.com)
>>>>> email: same...@wso2.com
>>>>> blog: http://blog.sameera.org
>>>>> twitter: https://twitter.com/sameerajayasoma
>>>>> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
>>>>> Mobile: 0094776364456
>>>>>
>>>>> Lean . Enterprise . Middleware
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Supun Malinga,
>>>>
>>>> Senior Software Engineer,
>>>> WSO2 Inc.
>>>> http://wso2.com
>>>> email: sup...@wso2.com 
>>>> mobile: +94 (0)71 56 91 321
>>>>
>>>
>>>
>>>
>>> --
>>> Supun Malinga,
>>>
>>> Senior Software Engineer,
>>> WSO2 Inc.
>>> http://wso2.com
>>> email: sup...@wso2.com 
>>> mobile: +94 (0)71 56 91 321
>>>
>>
>>
>>
>> --
>> Chanuka Dissanayake
>> *Software Engineer | **WSO2 Inc.*; http://wso2.com
>>
>> Mobile: +94 71 33 63 596
>> Email: chan...@wso2.com
>>
>
>
>
> --
> Supun Malinga,
>
> Senior Software Engineer,
> WSO2 Inc.
> http://wso2.com
> email: sup...@wso2.com 
> mobile: +94 (0)71 56 91 321
>



-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please merge PR for IDENTITY-3052 and APPM-333

2015-02-25 Thread Chanuka Dissanayake
Hi Supun,

Corrected them. Fix is in [1].

[1] https://github.com/wso2/carbon4-kernel/pull/140

Thanks & Regards,
Chanuka.

On Wed, Feb 25, 2015 at 12:28 PM, Supun Malinga  wrote:

> Hi Chanuka,
>
> Added a comment. Please fix.. Let me know if you need more context.
>
> thanks,
>
> On Tue, Feb 24, 2015 at 10:23 PM, Supun Malinga  wrote:
>
>> Just noticed this mail. Sorry I have missed it somehow. I'll follow up.
>>
>> thanks,
>>
>> On Mon, Feb 23, 2015 at 6:41 PM, Sameera Jayasoma 
>> wrote:
>>
>>> SupunM, Can you look into the if this not already done?
>>>
>>>
>>> Thanks,
>>> Sameera.
>>>
>>> On Thu, Feb 19, 2015 at 12:17 PM, Chanuka Dissanayake 
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> $subject. Contains fixes for [1] and [2]. PR is in [3].
>>>>
>>>> [1] https://wso2.org/jira/browse/APPM-333
>>>> [2] https://wso2.org/jira/browse/IDENTITY-3052
>>>> [3] https://github.com/wso2/carbon4-kernel/pull/140
>>>>
>>>> Thanks,
>>>> Chanuka.
>>>> --
>>>> Chanuka Dissanayake
>>>> *Software Engineer | **WSO2 Inc.*; http://wso2.com
>>>>
>>>> Mobile: +94 71 33 63 596
>>>> Email: chan...@wso2.com
>>>>
>>>
>>>
>>>
>>> --
>>> Sameera Jayasoma,
>>> Software Architect,
>>>
>>> WSO2, Inc. (http://wso2.com)
>>> email: same...@wso2.com
>>> blog: http://blog.sameera.org
>>> twitter: https://twitter.com/sameerajayasoma
>>> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
>>> Mobile: 0094776364456
>>>
>>> Lean . Enterprise . Middleware
>>>
>>>
>>
>>
>> --
>> Supun Malinga,
>>
>> Senior Software Engineer,
>> WSO2 Inc.
>> http://wso2.com
>> email: sup...@wso2.com 
>> mobile: +94 (0)71 56 91 321
>>
>
>
>
> --
> Supun Malinga,
>
> Senior Software Engineer,
> WSO2 Inc.
> http://wso2.com
> email: sup...@wso2.com 
> mobile: +94 (0)71 56 91 321
>



-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] tharin...@opensource.lk

2015-02-23 Thread Chanuka Dissanayake
Hi Tharindu,

I assume you want to subscribe to the wso2dev mailing list. Please send a
mail to dev-requ...@wso2.org with the subject 'subscribe'. More information
abot wso2 mailing list can be found in [1].

[1] http://wso2.com/mail/

Regards,
Chanuka.

On Mon, Feb 23, 2015 at 4:19 PM, Tharindu Peiris 
wrote:

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


-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] The role list of a tenant user is not updated accurately when new roles are assigned

2015-02-23 Thread Chanuka Dissanayake
Hi Thilini,

Issue [1] is solved and PR is in [3] and merging is still pending. I have
reproduced this issue[2] and working on it now.

[1] https://wso2.org/jira/browse/APPM-333
[2] https://wso2.org/jira/browse/APPM-417
[3] https://github.com/wso2/carbon4-kernel/pull/140

Regards,
Chanuka.

On Mon, Feb 23, 2015 at 1:15 PM, Thilini Shanika  wrote:

> Hi Carbon/IS team,
>
> In WSO2 App Manager, we are experiencing issue [1] and issue [2] due to a
> bug in org.wso2.carbon.user.core/4.2.0 component in patch0009. In both
> issues, once we updated the user or the role, or once we restart the
> server, the issues get resolved and the accurate role list cab be
> displayed. This issue doesn't appear in org.wso2.carbon.user.core/4.2.0
> component in patch0008. IMO, this may be occurring due to a update failure
> in UserRoleCache. Can you please look into this issue?
>
>
>
> [1] - https://wso2.org/jira/browse/APPM-333
> [2] - https://wso2.org/jira/browse/APPM-417
>
> Thanks!
>
>
> --
> Thilini Shanika
> Software Engineer
> WSO2, Inc.; http://wso2.com
> 20, Palmgrove Avenue, Colombo 3
>
> E-mail: tgtshan...@gmail.com
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Integration New Test Module - BUILD FAILURE

2015-02-23 Thread Chanuka Dissanayake
Hi Nisala,

You get this error because it cannot find the wso2 AM 1.9.0 product zip
file in the particular relative path.

in parallel to your "integration" folder, create another folder with the
name "distribution". Inside that, create a folder with the name "target"
and add the WSO2 AM 1.9.0 zip file to that.

In tree view, it's like following.

integration
distribution
 |target
  |wso2am-1.9.0.zip

Regards,
Chanuka.

On Mon, Feb 23, 2015 at 3:25 PM, Krishantha Samaraweera  wrote:

> Did APIM distribution created successfully ? can you check whether the
> distribution is there in the local .m2 repo.
>
> Thanks,
> Krishantha.
>
> On Mon, Feb 23, 2015 at 2:51 PM, Nisala Nanayakkara 
> wrote:
>
>> When I tried to build the POM file in the directory
>> turing/apimgt/1.9.0/modules/integration, It gives the following error
>> message,
>>
>>
>>
>>
>> *"Failed to execute goal
>> org.apache.maven.plugins:maven-dependency-plugin:2.1:unpack
>> (unpack-mar-jks) on project org.wso2.carbon.am.backend.integration.test:
>> Unable to find artifact. Failure to find org.wso2.am:wso2am:zip:1.9.0 in
>> http://maven.wso2.org/nexus/content/repositories/releases/
>> <http://maven.wso2.org/nexus/content/repositories/releases/> was cached in
>> the local repository, resolution will not be reattempted until the update
>> interval of wso2.releases has elapsed or updates are forced"*
>> Did anybody get the same error ??
>>
>>
>> Thanks,
>> Nisala
>> --
>>
>> *Best Regards,Nisala Niroshana Nanayakkara,*
>> *Bsc. Eng Undergraduate | Department of Computer Science & Engineering |
>> University of Moratuwa | Sri Lanka*
>>
>> *Intern Software Engineer | WSO2 Lanka(pvt) Ltd *
>> *Director | Leo Club of University of Moratuwa.*
>> *Mobile | +94717600022*
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Krishantha Samaraweera
> Senior Technical Lead - Test Automation
> Mobile: +94 77 7759918
> WSO2, Inc.; http://wso2.com/
> lean . enterprise . middlewear.
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please merge PR for IDENTITY-3052 and APPM-333

2015-02-18 Thread Chanuka Dissanayake
Hi,

$subject. Contains fixes for [1] and [2]. PR is in [3].

[1] https://wso2.org/jira/browse/APPM-333
[2] https://wso2.org/jira/browse/IDENTITY-3052
[3] https://github.com/wso2/carbon4-kernel/pull/140

Thanks,
Chanuka.
-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Senduran Balasubramaniyam

2015-02-18 Thread Chanuka Dissanayake
Congratulations Senduran..!

On Wed, Feb 18, 2015 at 11:36 PM, Samith Dassanayake 
wrote:

> Congratz Senduran!
>
> On Wed, Feb 18, 2015 at 10:25 PM, Srisunmugaraja Paraparan <
> parapa...@wso2.com> wrote:
>
>> Congratulations Senduran .
>>
>> On Wed, Feb 18, 2015 at 10:12 PM, Ravi Undupitiya  wrote:
>>
>>> Congratulations Senduran!
>>>
>>> On Wed, Feb 18, 2015 at 3:36 AM, Kasun Indrasiri  wrote:
>>>
>>>> Hi devs,
>>>>
>>>> Its my pleasure to welcome Senduran Balasubramaniyam as a WSO2
>>>> Committer.
>>>>
>>>> Senduran, welcome aboard and keep up the good work!
>>>>
>>>> Thanks.
>>>>
>>>> --
>>>> Kasun Indrasiri
>>>> Software Architect
>>>> WSO2, Inc.; http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>> cell: +94 77 556 5206
>>>> Blog : http://kasunpanorama.blogspot.com/
>>>>
>>>
>>>
>>>
>>> --
>>> *Ravi Undupitiya*
>>> Senior Software Engineer; WSO2 http://wso2.com
>>>
>>>
>>> *E-mail: r...@wso2.com <http://wso2.com>**M: **+94 772 930 712
>>> <%2B94%C2%A0772%20930%20712>*
>>>
>>> Lean . Enterprise . Middleware
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Thanks & Regards
>> --
>> Srisunmugaraja Paraparan
>> Software Engineer,
>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>
>> email : parapa...@wso2.com, mobile : +94 77 0362151
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Best Regards
>
> Samith Dassanayake
> Software Engineer | Cloud TG
> WSO2, Inc. | http://wso2.com
> lean. enterprise. middleware
>
> Mobile : +947 76207351
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please merge PR for IDENTITY-3048

2015-02-18 Thread Chanuka Dissanayake
Hi

$subject, new PR [1], after resolving the conflicts.

[1] https://github.com/wso2/carbon-identity/pull/95

Thanks,
Chanuka.

On Tue, Feb 17, 2015 at 2:35 PM, Chanuka Dissanayake 
wrote:

> Hi,
>
> $subject. JIRA [1] and fix in [2].
>
> [1] https://wso2.org/jira/browse/IDENTITY-3048
> [2] https://github.com/wso2/carbon-identity/pull/86
>
> Thanks,
> Chanuka.
> --
> Chanuka Dissanayake
> *Software Engineer | **WSO2 Inc.*; http://wso2.com
>
> Mobile: +94 71 33 63 596
> Email: chan...@wso2.com
>



-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] getAllowedUIResourcesForUser

2015-02-17 Thread Chanuka Dissanayake
Hi Shiva,

FYI, document [1] provide API Functions of the Web Service,
including getAllowedUIResourcesForUser with an example.

[1]
https://wso2.org/jira/secure/attachment/35450/RemoteAuthorizationManager_API.pdf

Regards,
Chanuka.


On Wed, Feb 18, 2015 at 12:59 AM, Shiva Balachandran  wrote:

> Hi All,
>
> I am currently on the process of creating a patch for the above given
> admin service. the above state admin service does not produce the necessary
> result. I created a SOAP project in SOAPUI and sent in request as shown
> below,
>
> http://www.w3.org/2003/05/soap-envelope
> <http://www.google.com/url?q=http%3A%2F%2Fwww.w3.org%2F2003%2F05%2Fsoap-envelope&sa=D&sntz=1&usg=AFQjCNGfMX1ZVGPTZcRDvsElhc17DotqKg>"
> xmlns:ser="http://service.ws.um.carbon.wso2.org
> <http://www.google.com/url?q=http%3A%2F%2Fservice.ws.um.carbon.wso2.org&sa=D&sntz=1&usg=AFQjCNH557mdjhLWFzbjtRIX1rQuI2d6Yg>
> ">
>   
>   
>  
> 
> admin
> 
> /permission/admin/
>  
>   
> 
>
> But the only response i get is "Invalid permission root path", can someone
> please tell me is my configuration correct?
>
> I would like to know the usages of the above given admin service. Is there
> another method which we can use to acquire the required data which can be
> used as a workaround?
>
> Thank you.
>
> Regards,
> --
> Shiva Balachandran
> Software Engineer
> WSO2 Inc.
>
> Mobile - +94 774445788
> Blog - https://shivabalachandran.wordpress.com/
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please merge PR for IDENTITY-3048 and IDENTITY-2761

2015-02-17 Thread Chanuka Dissanayake
Hi,

$subject. Contains fixes for [1] and [2]. PR is in [3].

[1] https://wso2.org/jira/browse/IDENTITY-3048
[2] https://wso2.org/jira/browse/IDENTITY-2761
[3] https://github.com/wso2/carbon4-kernel/pull/138

Thanks,
Chanuka

-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please merge PR for IDENTITY-3048

2015-02-17 Thread Chanuka Dissanayake
Hi,

$subject. JIRA [1] and fix in [2].

[1] https://wso2.org/jira/browse/IDENTITY-3048
[2] https://github.com/wso2/carbon-identity/pull/86

Thanks,
Chanuka.
-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DSS] Clicking on Try it editor for DSS samples returns error

2015-02-16 Thread Chanuka Dissanayake
:589)
> at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
> at java.lang.Thread.run(Thread.java:695)
> Caused by: org.apache.axis2.AxisFault: The input stream for an incoming
> message is null.
> at
> org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:93)
> at
> org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:68)
> at
> org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:348)
> at
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:445)
> at
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
> at
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
> at
> org.wso2.carbon.statistics.stub.StatisticsAdminStub.getServiceStatistics(StatisticsAdminStub.java:3893)
> at
> org.wso2.carbon.statistics.ui.StatisticsAdminClient.getServiceStatistics(StatisticsAdminClient.java:77)
> ... 40 more
>
> [1] - https://docs.wso2.com/display/DSS322/Samples+Setup
> --
> Vinod Kavinda
> *Software Engineer*
> *WSO2, Inc <http://www.wso2.com>.*
> Mobile : +94 (0) 712 415544
> vi...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] User Authentication using AuthenticationAdminStub

2015-02-16 Thread Chanuka Dissanayake
Hi Pubudu,

Did you follow this[1] answer, seems like same kind of scenario,

[1]
http://stackoverflow.com/questions/6784463/error-trustanchors-parameter-must-be-non-empty



On Mon, Feb 16, 2015 at 5:11 PM, Pubudu Dodangoda  wrote:

> I am trying to authenticate admin/admin user using
> the org.wso2.carbon.authenticator.stub.AuthenticationAdminStub
>
>
> I get the following exception
> "org.apache.axis2.AxisFault: Connection has been shutdown:
> javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error:
> java.security.InvalidAlgorithmParameterException: the trustAnchors
> parameter must be non-empty"
>
> Following is a portion of the code,
>
>
> String trustStore =
> System.getProperty("user.dir") + File.separator +
> "src" +
> File.separator + "main" + File.separator +
> "resources" +
> File.separator + "wso2carbon.jks";
> System.setProperty("javax.net.ssl.trustStore", trustStore);
> System.setProperty("javax.net.ssl.trustStorePassword", "wso2carbon");
> serviceEndPoint = "
> https://localhost:9443/dashboardConfigs/";;
> AuthenticationAdminStub authStub = new
> AuthenticationAdminStub(serviceEndPoint);
> authStub._getServiceClient().getOptions().setManageSession(true);
> authenticate = authStub.login("admin", "admin","localhost");
>
>
> Can someone propose a solution?
> Thanks
> --
> Pubudu Dodangoda
> BSc Engineering(Hon's) Undergraduate
> Department of Computer Science Engineering
> University of Moratuwa
> 0716053681 / 0775192994
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Secondary userstore] [UI] "Disabled" parameter is marked as mandatory with a checkbox to tick

2015-02-16 Thread Chanuka Dissanayake
Noted.

On Mon, Feb 16, 2015 at 4:49 PM, Johann Nallathamby  wrote:

> Hi Chanuka,
>
> Since it is shown in the listing page lets remove it from the properties.
> Only in the backend it will be among the optional properties.
>
> On Mon, Feb 16, 2015 at 4:25 PM, Chanuka Dissanayake 
> wrote:
>
>> Hi,
>>
>> Noted. With the fix, "Disable" property is getting listed under the optional
>> properties.
>>
>> Thanks.
>>
>> On Mon, Feb 16, 2015 at 4:17 PM, Pushpalanka Jayawardhana > > wrote:
>>
>>>
>>>
>>> Pushpalanka.
>>> --
>>> Pushpalanka Jayawardhana, B.Sc.Eng.(Hons).
>>> Software Engineer, WSO2 Lanka (pvt) Ltd;  wso2.com/
>>> Mobile: +94779716248
>>> Blog: pushpalankajaya.blogspot.com/ | LinkedIn:
>>> lk.linkedin.com/in/pushpalanka/ | Twitter: @pushpalanka
>>>
>>>
>>> On Mon, Feb 16, 2015 at 4:04 PM, Johann Nallathamby 
>>> wrote:
>>>
>>>> But what about the backend? I guess it is still needed and we can have
>>>> it under optional properties right ?
>>>>
>>>> On Mon, Feb 16, 2015 at 3:48 PM, Pushpalanka Jayawardhana <
>>>> la...@wso2.com> wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> We have taken disable/enable functionality for user stores out into
>>>>> Listing space.
>>>>> Hence we can totally remove this property from listing in UI under
>>>>> properties. (Still we need the above modification)
>>>>>
>>>> Yes, exactly that's what I wanted to mean here.
>>>
>>>>
>>>>> Thanks,
>>>>> Pushpalanka.
>>>>> --
>>>>> Pushpalanka Jayawardhana, B.Sc.Eng.(Hons).
>>>>> Software Engineer, WSO2 Lanka (pvt) Ltd;  wso2.com/
>>>>> Mobile: +94779716248
>>>>> Blog: pushpalankajaya.blogspot.com/ | LinkedIn:
>>>>> lk.linkedin.com/in/pushpalanka/ | Twitter: @pushpalanka
>>>>>
>>>>>
>>>>> On Mon, Feb 16, 2015 at 3:36 PM, Chanuka Dissanayake >>>> > wrote:
>>>>>
>>>>>> Hi Johann,
>>>>>>
>>>>>> Following diff is the fix in user.core, and UI will be automatically
>>>>>> populated accordingly.
>>>>>>
>>>>>> -
>>>>>> setMandatoryProperty(UserStoreConfigConstants.disabled,"Disabled","false",UserStoreConfigConstants.disabledDescription,
>>>>>> false);
>>>>>>
>>>>>> +
>>>>>> setProperty(UserStoreConfigConstants.disabled,"Disabled","false",
>>>>>> UserStoreConfigConstants.disabledDescription);
>>>>>>
>>>>>> Above fix was done only for 
>>>>>> org.wso2.carbon.user.core.ReadWriteLDAPUserStoreManager,
>>>>>> same can be done for ReadOnlyLDAPUserStoreManager.
>>>>>>
>>>>>> Apart from that same issue is there in
>>>>>> org.wso2.carbon.user.core.ldap.ActiveDirectoryUserStoreManager and
>>>>>> org.wso2.carbon.identity.user.store.remote.CarbonRemoteUserStoreManager.
>>>>>> Along with this, I will fix those as well and send the pull request.
>>>>>>
>>>>>> Thanks,
>>>>>> Chanuka.
>>>>>>
>>>>>> On Mon, Feb 16, 2015 at 1:13 PM, Johann Nallathamby 
>>>>>> wrote:
>>>>>>
>>>>>>> [adding Pushpalanka to the thread]
>>>>>>>
>>>>>>> Why is disabled in mandadatory list in the backend. It can be
>>>>>>> optional. Default is 'enabled'.
>>>>>>>
>>>>>>> Can you explain. If there is not proper reason I think we can fix
>>>>>>> backend as well as front end correctly.
>>>>>>>
>>>>>>> Thanks.
>>>>>>>
>>>>>>> On Mon, Feb 16, 2015 at 12:55 PM, Chanuka Dissanayake <
>>>>>>> chan...@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi Johann,
>>>>>>>>
>>>>>>>> I looked into this issue and found the followings,
>>>>>>>>
>>>>>>>> This "Disabled" property is in a property list named "mandatories"
>>>>>&

Re: [Dev] [Secondary userstore] [UI] "Disabled" parameter is marked as mandatory with a checkbox to tick

2015-02-16 Thread Chanuka Dissanayake
Hi,

Noted. With the fix, "Disable" property is getting listed under the optional
properties.

Thanks.

On Mon, Feb 16, 2015 at 4:17 PM, Pushpalanka Jayawardhana 
wrote:

>
>
> Pushpalanka.
> --
> Pushpalanka Jayawardhana, B.Sc.Eng.(Hons).
> Software Engineer, WSO2 Lanka (pvt) Ltd;  wso2.com/
> Mobile: +94779716248
> Blog: pushpalankajaya.blogspot.com/ | LinkedIn:
> lk.linkedin.com/in/pushpalanka/ | Twitter: @pushpalanka
>
>
> On Mon, Feb 16, 2015 at 4:04 PM, Johann Nallathamby 
> wrote:
>
>> But what about the backend? I guess it is still needed and we can have it
>> under optional properties right ?
>>
>> On Mon, Feb 16, 2015 at 3:48 PM, Pushpalanka Jayawardhana > > wrote:
>>
>>> Hi All,
>>>
>>> We have taken disable/enable functionality for user stores out into
>>> Listing space.
>>> Hence we can totally remove this property from listing in UI under
>>> properties. (Still we need the above modification)
>>>
>> Yes, exactly that's what I wanted to mean here.
>
>>
>>> Thanks,
>>> Pushpalanka.
>>> --
>>> Pushpalanka Jayawardhana, B.Sc.Eng.(Hons).
>>> Software Engineer, WSO2 Lanka (pvt) Ltd;  wso2.com/
>>> Mobile: +94779716248
>>> Blog: pushpalankajaya.blogspot.com/ | LinkedIn:
>>> lk.linkedin.com/in/pushpalanka/ | Twitter: @pushpalanka
>>>
>>>
>>> On Mon, Feb 16, 2015 at 3:36 PM, Chanuka Dissanayake 
>>> wrote:
>>>
>>>> Hi Johann,
>>>>
>>>> Following diff is the fix in user.core, and UI will be automatically
>>>> populated accordingly.
>>>>
>>>> -
>>>> setMandatoryProperty(UserStoreConfigConstants.disabled,"Disabled","false",UserStoreConfigConstants.disabledDescription,
>>>> false);
>>>>
>>>> +
>>>> setProperty(UserStoreConfigConstants.disabled,"Disabled","false",
>>>> UserStoreConfigConstants.disabledDescription);
>>>>
>>>> Above fix was done only for 
>>>> org.wso2.carbon.user.core.ReadWriteLDAPUserStoreManager,
>>>> same can be done for ReadOnlyLDAPUserStoreManager.
>>>>
>>>> Apart from that same issue is there in
>>>> org.wso2.carbon.user.core.ldap.ActiveDirectoryUserStoreManager and
>>>> org.wso2.carbon.identity.user.store.remote.CarbonRemoteUserStoreManager.
>>>> Along with this, I will fix those as well and send the pull request.
>>>>
>>>> Thanks,
>>>> Chanuka.
>>>>
>>>> On Mon, Feb 16, 2015 at 1:13 PM, Johann Nallathamby 
>>>> wrote:
>>>>
>>>>> [adding Pushpalanka to the thread]
>>>>>
>>>>> Why is disabled in mandadatory list in the backend. It can be
>>>>> optional. Default is 'enabled'.
>>>>>
>>>>> Can you explain. If there is not proper reason I think we can fix
>>>>> backend as well as front end correctly.
>>>>>
>>>>> Thanks.
>>>>>
>>>>> On Mon, Feb 16, 2015 at 12:55 PM, Chanuka Dissanayake <
>>>>> chan...@wso2.com> wrote:
>>>>>
>>>>>> Hi Johann,
>>>>>>
>>>>>> I looked into this issue and found the followings,
>>>>>>
>>>>>> This "Disabled" property is in a property list named "mandatories" in
>>>>>> the userstore-config.jsp file in
>>>>>> org.wso2.carbon.identity.user.store.configuration.ui component. It
>>>>>> retrieves the mandatory properties list by calling
>>>>>> the 
>>>>>> UserStoreManagerRegistry.getUserStoreProperties(userStoreClass).getMandatoryProperties()
>>>>>> method in user.core.
>>>>>>
>>>>>> In the backend, this "Disabled" property is a mandatory property and
>>>>>> it is correct. In the UI, having the red color asterisk for the checkbox
>>>>>> may confuse the user where it suggests like it is mandatory to select the
>>>>>> checkbox.
>>>>>>
>>>>>> However we don't need to change the backend code since it is correct.
>>>>>> In UI, in order to remove the asterisk, a solution would be to remove 
>>>>>> this
>>>>>> property from mandatory properties list and adding it to opti

Re: [Dev] [Secondary userstore] [UI] "Disabled" parameter is marked as mandatory with a checkbox to tick

2015-02-16 Thread Chanuka Dissanayake
Hi Johann,

Following diff is the fix in user.core, and UI will be automatically
populated accordingly.

-
setMandatoryProperty(UserStoreConfigConstants.disabled,"Disabled","false",UserStoreConfigConstants.disabledDescription,
false);

+setProperty(UserStoreConfigConstants.disabled,"Disabled","false",
UserStoreConfigConstants.disabledDescription);

Above fix was done only for
org.wso2.carbon.user.core.ReadWriteLDAPUserStoreManager,
same can be done for ReadOnlyLDAPUserStoreManager.

Apart from that same issue is there in
org.wso2.carbon.user.core.ldap.ActiveDirectoryUserStoreManager and
org.wso2.carbon.identity.user.store.remote.CarbonRemoteUserStoreManager.
Along with this, I will fix those as well and send the pull request.

Thanks,
Chanuka.

On Mon, Feb 16, 2015 at 1:13 PM, Johann Nallathamby  wrote:

> [adding Pushpalanka to the thread]
>
> Why is disabled in mandadatory list in the backend. It can be optional.
> Default is 'enabled'.
>
> Can you explain. If there is not proper reason I think we can fix backend
> as well as front end correctly.
>
> Thanks.
>
> On Mon, Feb 16, 2015 at 12:55 PM, Chanuka Dissanayake 
> wrote:
>
>> Hi Johann,
>>
>> I looked into this issue and found the followings,
>>
>> This "Disabled" property is in a property list named "mandatories" in the
>> userstore-config.jsp file in
>> org.wso2.carbon.identity.user.store.configuration.ui component. It
>> retrieves the mandatory properties list by calling
>> the 
>> UserStoreManagerRegistry.getUserStoreProperties(userStoreClass).getMandatoryProperties()
>> method in user.core.
>>
>> In the backend, this "Disabled" property is a mandatory property and it
>> is correct. In the UI, having the red color asterisk for the checkbox may
>> confuse the user where it suggests like it is mandatory to select the
>> checkbox.
>>
>> However we don't need to change the backend code since it is correct. In
>> UI, in order to remove the asterisk, a solution would be to remove this
>> property from mandatory properties list and adding it to optional
>> properties list. Should we proceed with this approach ?
>>
>> Thanks
>> Chanuka
>>
>> On Fri, Feb 13, 2015 at 10:36 PM, Tharindu Edirisinghe <
>> tharin...@wso2.com> wrote:
>>
>>> Hi Nirodha,
>>>
>>> Thanks for pointing this out. We'll get this fixed.
>>>
>>> Regards,
>>> TharinduE
>>>
>>> On Fri, Feb 13, 2015 at 5:53 PM, Nirodha Pramod 
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> Please see the jira [1]. In the secondary userstore UI , the user is
>>>> sort of asked to mark the newly created userstore as disabled, by making it
>>>> mandatory with a checkbox. Usually in UI forms a single checkbox field is
>>>> not marked as mandatory which makes no sense. So this disabled parameter
>>>> should go as an optional.
>>>>
>>>> [1] https://wso2.org/jira/browse/IDENTITY-3048
>>>>
>>>> Thanks,
>>>> Nirodha
>>>>
>>>> --
>>>>
>>>> *Nirodha Gallage*
>>>> Senior Software Engineer, QA.
>>>> WSO2 Inc.: http://wso2.com/
>>>> Mobile: +94716429078
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Tharindu Edirisinghe
>>> Software Engineer | WSO2 Inc
>>> Identity Server Team
>>> mobile : +94 775 181586
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Chanuka Dissanayake
>> *Software Engineer | **WSO2 Inc.*; http://wso2.com
>>
>> Mobile: +94 71 33 63 596
>> Email: chan...@wso2.com
>>
>
>
>
> --
> Thanks & Regards,
>
> *Johann Dilantha Nallathamby*
> Associate Technical Lead & Product Lead of WSO2 Identity Server
> Integration Technologies Team
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - *+9476950*
> Blog - *http://nallaa.wordpress.com <http://nallaa.wordpress.com>*
>



-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Secondary userstore] [UI] "Disabled" parameter is marked as mandatory with a checkbox to tick

2015-02-15 Thread Chanuka Dissanayake
Hi Johann,

I looked into this issue and found the followings,

This "Disabled" property is in a property list named "mandatories" in the
userstore-config.jsp file in
org.wso2.carbon.identity.user.store.configuration.ui component. It
retrieves the mandatory properties list by calling
the 
UserStoreManagerRegistry.getUserStoreProperties(userStoreClass).getMandatoryProperties()
method in user.core.

In the backend, this "Disabled" property is a mandatory property and it is
correct. In the UI, having the red color asterisk for the checkbox may
confuse the user where it suggests like it is mandatory to select the
checkbox.

However we don't need to change the backend code since it is correct. In
UI, in order to remove the asterisk, a solution would be to remove this
property from mandatory properties list and adding it to optional
properties list. Should we proceed with this approach ?

Thanks
Chanuka

On Fri, Feb 13, 2015 at 10:36 PM, Tharindu Edirisinghe 
wrote:

> Hi Nirodha,
>
> Thanks for pointing this out. We'll get this fixed.
>
> Regards,
> TharinduE
>
> On Fri, Feb 13, 2015 at 5:53 PM, Nirodha Pramod  wrote:
>
>> Hi,
>>
>> Please see the jira [1]. In the secondary userstore UI , the user is sort
>> of asked to mark the newly created userstore as disabled, by making it
>> mandatory with a checkbox. Usually in UI forms a single checkbox field is
>> not marked as mandatory which makes no sense. So this disabled parameter
>> should go as an optional.
>>
>> [1] https://wso2.org/jira/browse/IDENTITY-3048
>>
>> Thanks,
>> Nirodha
>>
>> --
>>
>> *Nirodha Gallage*
>> Senior Software Engineer, QA.
>> WSO2 Inc.: http://wso2.com/
>> Mobile: +94716429078
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> Tharindu Edirisinghe
> Software Engineer | WSO2 Inc
> Identity Server Team
> mobile : +94 775 181586
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] No Established Sessions corresponding to Session Indexes provided.

2015-02-11 Thread Chanuka Dissanayake
Thanks Shavantha, I'll look into this.

On Thu, Feb 12, 2015 at 8:27 AM, Shavantha Weerasinghe 
wrote:

> Hi Chanuka
>
> I saw a similar issue reported having the public jira
> https://wso2.org/jira/browse/IDENTITY-2588.
>
> regards,
>
> Shavantha Weerasinghe
> Senior Software Engineer QA
> WSO2, Inc.
> lean.enterprise.middleware.
> http://wso2.com
> http://wso2.org
> Tel : 94 11 214 5345
> Fax :94 11 2145300
>
>
> On Mon, Feb 9, 2015 at 6:01 PM, Chanuka Dissanayake 
> wrote:
>
>> Hi,
>>
>> I have connected ES 2.0.0 and Another Jaggery app with IS 5.0.0 inorder
>> to enable SSO. When signing out following error appers [1]. I did check the
>> session and it contain the required information and also SSO is working
>> correctly between the applications.
>>
>> I did refer the documentation [2].
>>
>> [1]
>>
>> [2015-02-09 17:48:44,168]  INFO {JAGGERY.controllers.logout:jag} -
>> Logout URL: https://10.100.5.158:9443/samlsso
>>
>> [2015-02-09 17:48:44,500] ERROR
>> {org.wso2.carbon.identity.sso.saml.processors.LogoutRequestProcessor} -  No
>> Established Sessions corresponding to Session Indexes provided.
>> [2] https://docs.wso2.com/display/IS500/Enabling+SSO+for+WSO2+Servers
>>
>> Thanks,
>> Chanuka.
>> --
>> Chanuka Dissanayake
>> *Software Engineer | **WSO2 Inc.*; http://wso2.com
>>
>> Mobile: +94 71 33 63 596
>> Email: chan...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] No Established Sessions corresponding to Session Indexes provided.

2015-02-09 Thread Chanuka Dissanayake
Hi,

I have connected ES 2.0.0 and Another Jaggery app with IS 5.0.0 inorder to
enable SSO. When signing out following error appers [1]. I did check the
session and it contain the required information and also SSO is working
correctly between the applications.

I did refer the documentation [2].

[1]

[2015-02-09 17:48:44,168]  INFO {JAGGERY.controllers.logout:jag} -  Logout
URL: https://10.100.5.158:9443/samlsso

[2015-02-09 17:48:44,500] ERROR
{org.wso2.carbon.identity.sso.saml.processors.LogoutRequestProcessor} -  No
Established Sessions corresponding to Session Indexes provided.
[2] https://docs.wso2.com/display/IS500/Enabling+SSO+for+WSO2+Servers

Thanks,
Chanuka.
-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] SAML SSO relying party implementation for Jaggery applications

2015-02-06 Thread Chanuka Dissanayake
Hi Manjula,

Thanks for the quick response. I'll go through the suggestions and update
with the findings.

Thanks,
Chanuka.

On Fri, Feb 6, 2015 at 3:11 PM, Manjula Rathnayake 
wrote:

> Hi Chanuka,
>
> Currently we have a jaggery host object which provide SSO relying party
> implementation for jaggery applications. We are using that host object in
> API Manager publisher, store and AF appmgt applications. However later
> Nuwan came with a better implementation where less java code is used and
> most of SSO logic is implemented at jaggery layer, I assume UES uses this
> implementation.
> So you can use the scripts used in UES.
> Further [1] can be used to test SSO with API Manager jaggery apps.
>
> [1]. https://docs.wso2.com/display/AM180/Configuring+Single+Sign-on
>
> thank you.
>
>
> On Fri, Feb 6, 2015 at 3:04 PM, Chanuka Dissanayake 
> wrote:
>
>> Hi,
>>
>> I'm working on developing a jaggery client application that should
>> provide SSO with IS. I found this [1] thread and need to know whether there
>> are any documentation regarding this. Is there a repo that I can get this
>> plugin or any sample app that I can check the usability of the plugin?
>>
>> [1]
>> http://mail.wso2.org/mailarchive/architecture/2012-February/007600.html
>>
>> Thanks & Regards,
>> Chanuka.
>>
>> --
>> Chanuka Dissanayake
>> *Software Engineer | **WSO2 Inc.*; http://wso2.com
>>
>> Mobile: +94 71 33 63 596
>> Email: chan...@wso2.com
>>
>
>
>
> --
> Manjula Rathnayaka
> Software Engineer
> WSO2, Inc.
> Mobile:+94 77 743 1987
>



-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] SAML SSO relying party implementation for Jaggery applications

2015-02-06 Thread Chanuka Dissanayake
Hi,

I'm working on developing a jaggery client application that should provide
SSO with IS. I found this [1] thread and need to know whether there are any
documentation regarding this. Is there a repo that I can get this plugin or
any sample app that I can check the usability of the plugin?

[1] http://mail.wso2.org/mailarchive/architecture/2012-February/007600.html

Thanks & Regards,
Chanuka.

-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Tharindu Edirisinghe

2015-02-01 Thread Chanuka Dissanayake
t;>>
>>>>>>>>>>>>>>> Mobile: +94 71 427 9966
>>>>>>>>>>>>>>> Email: buddh...@wso2.com
>>>>>>>>>>>>>>> Blog:   https://buddhimawijeweera.wordpress.com
>>>>>>>>>>>>>>> GitHub Profile: https://github.com/Buddhima
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> ___
>>>>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> Vijitha Ekanayake
>>>>>>>>>>>>>> Software Engineer*, *WSO2, Inc.; http://wso2.com/
>>>>>>>>>>>>>> Mobile : +94 777 24 73 39 | +94 718 74 44 08
>>>>>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> ___
>>>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> *Chamin Nalinda*
>>>>>>>>>>>>>
>>>>>>>>>>>>> Intern - Engineering
>>>>>>>>>>>>> WSO2 Inc. http://www.wso2.com
>>>>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>>>>
>>>>>>>>>>>>> Mobile: (+94) 77 241 66 04
>>>>>>>>>>>>> Linkedin: https://www.linkedin.com/in/chaminnalinda
>>>>>>>>>>>>> Web: http://www.ckreativity.com
>>>>>>>>>>>>> Blog: http://techspiro.blogspot.com/
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> ___
>>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>> ___
>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Pumudu Ruhunage
>>>>>>>>>>> Associate Software Engineer | WSO2 Inc
>>>>>>>>>>> M: +94 779 664493  | http://wso2.com
>>>>>>>>>>>
>>>>>>>>>>> ___
>>>>>>>>>>> Dev mailing list
>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Thanks & Regards
>>>>>>>>>> --
>>>>>>>>>> Srisunmugaraja Paraparan
>>>>>>>>>> Software Engineer,
>>>>>>>>>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>>>>>>>>>
>>>>>>>>>> email : parapa...@wso2.com, mobile : +94 77 0362151
>>>>>>>>>>
>>>>>>>>>> ___
>>>>>>>>>> Dev mailing list
>>>>>>>>>> Dev@wso2.org
>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> --
>>>>>>>>> Sithumini Senevirathne
>>>>>>>>> Software Engineer
>>>>>>>>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>>>>>>>>
>>>>>>>>> email: sithumi...@wso2.com,   mobile: +94 756977999
>>>>>>>>>
>>>>>>>>> ___
>>>>>>>>> Dev mailing list
>>>>>>>>> Dev@wso2.org
>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Milinda Perera
>>>>>>>> Software Engineer;
>>>>>>>> WSO2 Inc. http://wso2.com ,
>>>>>>>> Mobile: (+94) 714 115 032
>>>>>>>>
>>>>>>>>
>>>>>>>> ___
>>>>>>>> Dev mailing list
>>>>>>>> Dev@wso2.org
>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Gayan Gunawardana
>>>>>>> Software Engineer; WSO2 Inc.; http://wso2.com/
>>>>>>> Email: ga...@wso2.com
>>>>>>> Mobile: +94 (71) 8020933
>>>>>>>
>>>>>>> ___
>>>>>>> Dev mailing list
>>>>>>> Dev@wso2.org
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Ravindra Ranwala
>>>>>> Software Engineer
>>>>>> WSO2, Inc: http://wso2.com
>>>>>> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg>
>>>>>> Mobile: +94714198770
>>>>>>
>>>>>>
>>>>>> ___
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Thanks and Regards,*
>>>>> Anuruddha Lanka Liyanarachchi
>>>>> Software Engineer - WSO2
>>>>> Mobile : +94 (0) 712762611
>>>>> Tel  : +94 112 145 345
>>>>> a nurudd...@wso2.com
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *Sam Sivayogam*
>>>>
>>>> Software Engineer
>>>> Mobile  : +94 772 906 439
>>>> Office   : +94 112 145 345
>>>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>>>> lean.enterprise.middleware.
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Best Regards,
>>>
>>> Kalpa Welivitigoda
>>> Software Engineer, WSO2 Inc. http://wso2.com
>>> Email: kal...@wso2.com
>>> Mobile: +94776509215
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS][ES] Enable SSO using LDAP as a common user store

2015-01-19 Thread Chanuka Dissanayake
Hi Danushka,

Thanks for the reply, I have looked into the acs file. In this scenario we
don't need to change the permissions in there.

@SameeraM, Thanks for the help,

in conf/identity.xml file, we *don't* need to change
*false* to *true.*

*Assertion Consumer URL *need to be change as
*https://localhost:9443/publisher/acs
<https://localhost:9443/publisher/acs> *because we are using https.

Thanks,
Chanuka.

On Mon, Jan 19, 2015 at 10:26 PM, Danushka Fernando 
wrote:

> Hi Chanuka
> Check the code of acs to see whether its checking for additional
> permissions.
>
> Thanks & Regards
> Danushka Fernando
> Software Engineer
> WSO2 inc. http://wso2.com/
> Mobile : +94716332729
>
> On Mon, Jan 19, 2015 at 12:24 PM, Chanuka Dissanayake 
> wrote:
>
>> Hi,
>>
>> I'm using ES 2.0.0 M4 pack and IS 5.0.0 fresh pack for $subject, I have
>> followed [1] and these steps [2], in cofiguring. I'm using a single tenant.
>> Console is not showing an error in both products.
>>
>> In publisher: After redirected to the page '
>> https://localhost:9763/publisher/acs' by IS, page is not available error.
>>
>> In store: It's not redirecting to the IS login page, but showing the
>> default ES login.
>>
>> I didn't configure the Mgt console for SSO.
>>
>> Is there any additional configurations that I'm missing here. I couldn't
>> find answer from the 'Enable SSO for Publisher and Store with an
>> External IS' thread.
>>
>> [1] https://docs.wso2.com/display/IS500/Enabling+SSO+for+WSO2+Servers
>> [2]
>> https://docs.google.com/document/d/1_w3Z6WwWWmbv9hYzwYBVxCtK-sZkxSTTC0PPcgOSfXs/edit
>>
>> Thanks,
>> Chanuka.
>>
>> --
>> Chanuka Dissanayake
>> *Software Engineer | **WSO2 Inc.*; http://wso2.com
>>
>> Mobile: +94 71 33 63 596
>> Email: chan...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [IS][ES] Enable SSO using LDAP as a common user store

2015-01-18 Thread Chanuka Dissanayake
Hi,

I'm using ES 2.0.0 M4 pack and IS 5.0.0 fresh pack for $subject, I have
followed [1] and these steps [2], in cofiguring. I'm using a single tenant.
Console is not showing an error in both products.

In publisher: After redirected to the page '
https://localhost:9763/publisher/acs' by IS, page is not available error.

In store: It's not redirecting to the IS login page, but showing the
default ES login.

I didn't configure the Mgt console for SSO.

Is there any additional configurations that I'm missing here. I couldn't
find answer from the 'Enable SSO for Publisher and Store with an External
IS' thread.

[1] https://docs.wso2.com/display/IS500/Enabling+SSO+for+WSO2+Servers
[2]
https://docs.google.com/document/d/1_w3Z6WwWWmbv9hYzwYBVxCtK-sZkxSTTC0PPcgOSfXs/edit

Thanks,
Chanuka.

-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Could not find rake-10.4.2 in any of the sources (Bundler::GemNotFound)

2015-01-11 Thread Chanuka Dissanayake
Hi,

I'm using Redmine SAML authentication plugin to integrate redmine with my
application inorder to enable Single Sign On(SSO) in redmine which made it
possible for users to login with the same username and password. Following
ruby and rails versions installed.

*ruby -v*: ruby 1.9.2p330 (2014-08-07 revision 47094) [x86_64-linux]

*rails -v*: Rails 3.2.19

*rake --version*:rake, version 10.4.2

I tried bundle install rake , bundle update but still doesn't work.

 The exception is as follows: ---
Could not find rake-10.4.2 in any of the sources (Bundler::GemNotFound)

  
/home/chanuka/.rvm/gems/ruby-1.9.2-p330@global/gems/bundler-1.7.9/lib/bundler/spec_set.rb:92:in
`block in materialize'
  
/home/chanuka/.rvm/gems/ruby-1.9.2-p330@global/gems/bundler-1.7.9/lib/bundler/spec_set.rb:85:in
`map!'
  
/home/chanuka/.rvm/gems/ruby-1.9.2-p330@global/gems/bundler-1.7.9/lib/bundler/spec_set.rb:85:in
`materialize'
  
/home/chanuka/.rvm/gems/ruby-1.9.2-p330@global/gems/bundler-1.7.9/lib/bundler/definition.rb:132:in
`specs'
  
/home/chanuka/.rvm/gems/ruby-1.9.2-p330@global/gems/bundler-1.7.9/lib/bundler/definition.rb:177:in
`specs_for'
  
/home/chanuka/.rvm/gems/ruby-1.9.2-p330@global/gems/bundler-1.7.9/lib/bundler/definition.rb:166:in
`requested_specs'
  
/home/chanuka/.rvm/gems/ruby-1.9.2-p330@global/gems/bundler-1.7.9/lib/bundler/environment.rb:18:in
`requested_specs'
  
/home/chanuka/.rvm/gems/ruby-1.9.2-p330@global/gems/bundler-1.7.9/lib/bundler/runtime.rb:13:in
`setup'
  
/home/chanuka/.rvm/gems/ruby-1.9.2-p330@global/gems/bundler-1.7.9/lib/bundler.rb:122:in
`setup'
  
/home/chanuka/.rvm/gems/ruby-1.9.2-p330@global/gems/bundler-1.7.9/lib/bundler/setup.rb:17:in
`'
  
/home/chanuka/.rvm/rubies/ruby-1.9.2-p330/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:128:in
`require'
  
/home/chanuka/.rvm/rubies/ruby-1.9.2-p330/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:128:in
`rescue in require'
  
/home/chanuka/.rvm/rubies/ruby-1.9.2-p330/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:39:in
`require'
  
/usr/lib/ruby/gems/ruby-1.9.2-p330/gems/passenger-4.0.57/lib/phusion_passenger/loader_shared_helpers.rb:263:in
`block in run_load_path_setup_code'
  
/usr/lib/ruby/gems/ruby-1.9.2-p330/gems/passenger-4.0.57/lib/phusion_passenger/loader_shared_helpers.rb:366:in
`running_bundler'
  
/usr/lib/ruby/gems/ruby-1.9.2-p330/gems/passenger-4.0.57/lib/phusion_passenger/loader_shared_helpers.rb:261:in
`run_load_path_setup_code'
  
/usr/lib/ruby/gems/ruby-1.9.2-p330/gems/passenger-4.0.57/helper-scripts/rack-preloader.rb:100:in
`preload_app'
  
/usr/lib/ruby/gems/ruby-1.9.2-p330/gems/passenger-4.0.57/helper-scripts/rack-preloader.rb:158:in
`'
  
/usr/lib/ruby/gems/ruby-1.9.2-p330/gems/passenger-4.0.57/helper-scripts/rack-preloader.rb:29:in
`'
  
/usr/lib/ruby/gems/ruby-1.9.2-p330/gems/passenger-4.0.57/helper-scripts/rack-preloader.rb:28:in
`'

Error IDc3ea07c4Application root/opt/redmine/redmine-2.6.0Environment
(value of RAILS_ENV, RACK_ENV, WSGI_ENV, NODE_ENV and PASSENGER_APP_ENV)
productionRuby interpreter command

/usr/lib/ruby/ruby-1.9.2-p330/lib/ruby/gems/1.9.1/wrappers/ruby


Thanks,
Chanuka.
-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Sandamal Weerasinghe

2014-12-29 Thread Chanuka Dissanayake
Congratulations Sandamal.. :)

On Mon, Dec 29, 2014 at 6:33 PM, Ravi Undupitiya  wrote:

> Congratulations Sandamal!!
>
> On Mon, Dec 29, 2014 at 7:54 AM, Kasun Indrasiri  wrote:
>
>> Hi devs,
>>
>> Its my pleasure to welcome Sandamal Weerasinghe as a WSO2 Committer.
>>
>> Sandamal, welcome aboard and keep up the good work.
>>
>> Thanks.
>>
>> --
>> Kasun Indrasiri
>> Software Architect
>> WSO2, Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> cell: +94 77 556 5206
>> Blog : http://kasunpanorama.blogspot.com/
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Ravi Undupitiya*
> Senior Software Engineer; WSO2 http://wso2.com
>
>
> *E-mail: r...@wso2.com <http://wso2.com>**M: **+94 772 930 712
> <%2B94%C2%A0772%20930%20712>*
>
> Lean . Enterprise . Middleware
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Hasintha Indrajee

2014-12-29 Thread Chanuka Dissanayake
>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Regards,
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> *Darshana Gunawardana*Software Engineer
>>>>>>>>>>> WSO2 Inc.; http://wso2.com
>>>>>>>>>>>
>>>>>>>>>>> *E-mail: darsh...@wso2.com *
>>>>>>>>>>> *Mobile: +94718566859 <%2B94718566859>*Lean . Enterprise .
>>>>>>>>>>> Middleware
>>>>>>>>>>>
>>>>>>>>>>> ___
>>>>>>>>>>> Dev mailing list
>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ___
>>>>>>>>>> Dev mailing list
>>>>>>>>>> Dev@wso2.org
>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Best Regards,
>>>>>>>>>
>>>>>>>>> Kalpa Welivitigoda
>>>>>>>>> Software Engineer, WSO2 Inc. http://wso2.com
>>>>>>>>> Email: kal...@wso2.com
>>>>>>>>> Mobile: +94776509215
>>>>>>>>>
>>>>>>>>> ___
>>>>>>>>> Dev mailing list
>>>>>>>>> Dev@wso2.org
>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Harsha Kumara
>>>>>>>> Software Engineer, WSO2 Inc.
>>>>>>>> Mobile: +94775505618
>>>>>>>> Blog:harshcreationz.blogspot.com
>>>>>>>>
>>>>>>>> ___
>>>>>>>> Dev mailing list
>>>>>>>> Dev@wso2.org
>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Vijitha Ekanayake
>>>>>>> Software Engineer*, *WSO2, Inc.; http://wso2.com/
>>>>>>> Mobile : +94 777 24 73 39 | +94 718 74 44 08
>>>>>>> lean.enterprise.middleware
>>>>>>>
>>>>>>> ___
>>>>>>> Dev mailing list
>>>>>>> Dev@wso2.org
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Thanks
>>>>>> Abimaran Kugathasan
>>>>>>
>>>>>> Software Engineer | WSO2 Inc
>>>>>> Data & APIs Technologies Team
>>>>>> Mobile : +94 773922820
>>>>>>
>>>>>> <http://stackoverflow.com/users/515034>
>>>>>> <http://lk.linkedin.com/in/abimaran>
>>>>>> <http://www.lkabimaran.blogspot.com/>  <https://github.com/abimaran>
>>>>>> <https://twitter.com/abimaran>
>>>>>>
>>>>>>
>>>>>> ___
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Chamin Nalinda*
>>>>>
>>>>> Intern - Engineering
>>>>> WSO2 Inc. http://www.wso2.com
>>>>> lean.enterprise.middleware
>>>>>
>>>>> Mobile: (+94) 77 241 66 04
>>>>> Linkedin: https://www.linkedin.com/in/chaminnalinda
>>>>> Web: http://www.ckreativity.com
>>>>> Blog: http://techspiro.blogspot.com/
>>>>>
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Milinda Perera
>>>> Software Engineer;
>>>> WSO2 Inc. http://wso2.com ,
>>>> Mobile: (+94) 714 115 032
>>>>
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Tharindu Edirisinghe
>>> Software Engineer | WSO2 Inc
>>> Identity Server Team
>>> mobile : +94 775 181586
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Thanuja Lakmal*
>> Software Engineer
>> WSO2 Inc. http://wso2.com/
>> *lean.enterprise.middleware*
>> Mobile: +94715979891 +94758009992
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Gayan Gunawardana
> Software Engineer; WSO2 Inc.; http://wso2.com/
> Email: ga...@wso2.com
> Mobile: +94 (71) 8020933
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [ES 2.0.0 M4] HTML tag, attribute "id" is not binding

2014-11-12 Thread Chanuka Dissanayake
Hi ES team,

I have found $subject while migrating the Asset Store. I have created the
jira [1]. Could you please look into it.

[1] https://wso2.org/jira/browse/STORE-550

Thanks,
Chanuka.

-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Lasindu Charith

2014-10-27 Thread Chanuka Dissanayake
Congratulations Lasindu!

On Mon, Oct 27, 2014 at 11:17 PM, Rajith Vitharana  wrote:

> Congratulations Lasindu  !!
>
> On Mon, Oct 20, 2014 at 8:48 PM, Kalpa Welivitigoda 
> wrote:
>
>> Congratulations Lasindu !
>>
>> On Tue, Oct 21, 2014 at 9:09 AM, Lakmal Warusawithana 
>> wrote:
>>
>>> Hi all,
>>>
>>> It's my pleasure to announce Lasindu as a WSO2 Committer. Lasindu has
>>> done great contributions to Apache Stratos and WSO2 Private PaaS products.
>>> And in recognition of his contribution he has been voted as a WSO2 commiter.
>>>
>>> Lasindu, welcome aboard and keep up the good work!.
>>>
>>> --
>>> Lakmal Warusawithana
>>> Vice President, Apache Stratos
>>> Director - Cloud Architecture; WSO2 Inc.
>>> Mobile : +94714289692
>>> Blog : http://lakmalsview.blogspot.com/
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Best Regards,
>>
>> Kalpa Welivitigoda
>> Software Engineer, WSO2 Inc. http://wso2.com
>> Email: kal...@wso2.com
>> Mobile: +94776509215
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Rajith Vitharana
>
> Software Engineer,
> WSO2 Inc. : wso2.com
> Mobile : +94715883223
> Blog : http://lankavitharana.blogspot.com/
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Tishan Dahanayakage

2014-10-22 Thread Chanuka Dissanayake
Congratulations Tishan..!

On Wed, Oct 22, 2014 at 4:12 PM, Chamila De Alwis  wrote:

> Congrats Tishan!
>
>
> Regards,
> Chamila de Alwis
> Software Engineer | WSO2 | +94772207163
> Blog: code.chamiladealwis.com
>
>
>
> On Fri, Oct 17, 2014 at 10:41 AM, Sriskandarajah Suhothayan  > wrote:
>
>> Hi all,
>>
>> It's our pleasure to welcome Tishan Dahanayakage as a WSO2
>> Committer. Tishan has contributed immensely to WSO2 Complex Event Processor
>> especially on Siddhi and shown great commitment.
>> In recognition of his contribution, he has been voted as a WSO2 Commiter.
>>
>>
>> Welcome aboard and keep up the good work  !
>>
>> Regards
>> Suho.
>>
>> --
>>
>> *S. Suhothayan*
>> Technical Lead & Team Lead of WSO2 Complex Event Processor
>>  *WSO2 Inc. *http://wso2.com
>> * <http://wso2.com/>*
>> lean . enterprise . middleware
>>
>>
>> *cell: (+94) 779 756 757 <%28%2B94%29%20779%20756%20757> | blog:
>> http://suhothayan.blogspot.com/ <http://suhothayan.blogspot.com/>twitter:
>> http://twitter.com/suhothayan <http://twitter.com/suhothayan> | linked-in:
>> http://lk.linkedin.com/in/suhothayan <http://lk.linkedin.com/in/suhothayan>*
>>
>> _______
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [CEP] NLP Toolbox 2 development using Stanford NLP

2014-08-21 Thread Chanuka Dissanayake
Hi All,

We have started our implementation on NLP Toolbox 2, where you can find the
previous discussion ([Architecture][CEP] NLP Toolbox). We came up with the
decision to implement the toolbox using Stanford NLP, based on the study
between OpenNLP and Stanford NLP and the discussion.

Our Implementaion includes following queries as Siddhi transformer
extentions,

*1. findNameEntityType(sentence, entityType)*

This operation takes a sentence and a predefined entity type as it's
inputs. It will return noun(s) in the sentence, that match the defined
entity type as event(s).

*2. findNLRegexPattern(sentence, regex)*

This operation takes a sentence and a regular expression as it's inputs. It
will return each match in the sentence, as an event.

*3. findRelationship(sentence, regex)*

This operation takes a sentence and a regular expression as it's inputs.
For each relationship extracted from the regular expression the operation
will return a triplet; subject, object and relationship as an event.

*4. findNameEntityTypeViaDictionary(sentence, dictionary, entityType)*

This operation takes a sentence, dictionary file and a predefined entity
type as it's inputs. It will return noun(s) in the sentence of the defined
entity type, that also exists in the dictionary as event(s).

Thanks,
-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev