Re: [Dev] [GSOC][Siddhi][DEV] Deployment and Code Management of PySiddhi

2017-08-09 Thread Madhawa Vidanapathirana
Hi,

I have sent PRs to both branches 3.x and master of [1] with relevant code
versions.
Kindly review and let me know any changes that are required.

Meanwhile, I will check on generation of *.whl files which are required for
distribution to PyPI.

[1] https://github.com/wso2/pysiddhi

Kind Regards,
Madhawa

On Wed, Aug 9, 2017 at 5:03 PM, Grainier Perera  wrote:

> Hi Madhawa,
>
> I have created a branch for PySiddhi 3.x at [1], and we are thinking of
> maintaining the PySiddhi 4.x in the master branch. Please send PRs to 3.x
> branch and master branch.
>
> [1] https://github.com/wso2/pysiddhi/tree/3.x
>
> Regards,
>
> On Wed, Aug 9, 2017 at 9:17 AM, Madhawa Vidanapathirana <
> madhawavidanapathir...@gmail.com> wrote:
>
>> Hi,
>>
>> I have prepared the branch for PySiddhi 3.1 (in fork of main repo) and it
>> is available at [1]. However, I am unable to send the PR since 3.1 branch
>> is not in the main repository at [2].
>>
>> Also, would be requiring a branch for 4.0 to PR the 4.0 version which
>> will be ready soon.
>>
>> [1] https://github.com/madhawav/PySiddhi/tree/3.1
>> [2] https://github.com/wso2/PySiddhi
>>
>> Kind Regards,
>>
>> --
>> *Madhawa Vidanapathirana*
>> Student
>> Department of Computer Science and Engineering
>> University of Moratuwa
>> Sri Lanka
>>
>> Mobile: (+94) 716874425 <+94%2071%20687%204425>
>> Email: madhawavidanapathir...@gmail.com
>> Linked-In: https://lk.linkedin.com/in/madhawa-vidanapathirana-3430b94
>>
>
>
>
> --
> Grainier Perera
> Senior Software Engineer
> Mobile : +94716122384 <+94%2071%20612%202384>
> WSO2 Inc. | http://wso2.com
> lean.enterprise.middleware
>



-- 
*Madhawa Vidanapathirana*
Student
Department of Computer Science and Engineering
University of Moratuwa
Sri Lanka

Mobile: (+94) 716874425
Email: madhawavidanapathir...@gmail.com
Linked-In: https://lk.linkedin.com/in/madhawa-vidanapathirana-3430b94
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Issue with WSO2 Add User functionality.

2017-08-09 Thread Tharindu Edirisinghe
Hi Karthik,

Can you modify the SERVER/repository/conf/carbon.xml file and disable the
XSS and CSRF valves using following config.



*false*


*false*


Then restart the server and check if you get the same issue. Let us know
the output so we can assist you to get the issue fixed.

Please not that above is just to check if the CSRF and XSS valves are
causing this issue, as it's not recommended to turn off security features
in the product.

Regards,
TharinduE

On Thu, Aug 10, 2017 at 10:18 AM, Tharindu Edirisinghe 
wrote:

> Hi Karthik,
>
> Here I am forwarding this email to WSO2 Dev mail group, since this is not
> related to a security issue in WSO2 products/services.
>
> Regards,
> Tharindu
>
> On Thu, Aug 10, 2017 at 10:07 AM, Karthik Saravanan <
> karthik_sarava...@persistent.com> wrote:
>
>> Hi WSO2 team,
>>
>> I am stuck deep in a problem. Your help will be very much appreciated.
>>
>>
>>
>> 1.   We had WSO2  running in our environment for a long time. We had
>> a JSP based client application to perform bulk upload of Users and this was
>> working fine.
>>
>> 2.   Since yesterday the bulk upload functionality is failing with
>> an exception  shown below and was reported to us by the client. The client
>> side JSP code has never been changed at all since 2 yrs.
>>
>>
>>
>> org.wso2.carbon.identity.mgt.stub.UserInformationRecoverySer
>> viceIdentityMgtServiceExceptionException: UserInformationRecoveryService
>> IdentityMgtServiceExceptionException
>>
>> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>> Method)
>>
>> at sun.reflect.NativeConstructorAccessorImpl.newInstance(Native
>> ConstructorAccessorImpl.java:57)
>>
>> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De
>> legatingConstructorAccessorImpl.java:45)
>>
>> at java.lang.reflect.Constructor.newInstance(Constructor.java:5
>> 26)
>>
>> at java.lang.Class.newInstance(Class.java:383)
>>
>> at org.wso2.carbon.identity.mgt.stub.UserInformationRecoverySer
>> viceStub.registerUser(UserInformationRecoveryServiceStub.java:685)
>>
>> at org.wso2.sample.inforecovery.client.UserInformationRecoveryC
>> lient.registerUser(UserInformationRecoveryClient.java:280)
>>
>> at org.genwi.clients.bemis.BemisClient.addBemisUser(BemisClient
>> .java:172)
>>
>> at org.wso2.sample.inforecovery.controller.SelfSignupController
>> .handleBulkUpload(SelfSignupController.java:336)
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> 3.   For past 2 months when we restarted the servers It used to only
>> check for patches and find no new patches and therefore start the servers
>> properly stating there are no patches to apply. The last patch was in March
>> 2017
>>
>> 4.   However when I restarted WSO2 yesterday it said it found a new
>> patch
>>
>>
>>
>> [2017-08-09 09:44:27,178]  INFO {org.wso2.carbon.server.util.PatchUtils}
>> -  
>> org.wso2.carbon.identity.application.authenticator.requestpath.oauth_4.2.0.jar
>> has been added
>>
>> [2017-08-09 09:44:27,178]  INFO 
>> {org.wso2.carbon.server.extensions.PatchInstaller}
>> -  Patch changes detected
>>
>> [2017-08-09 09:44:27,178]  INFO {org.wso2.carbon.server.util.PatchUtils}
>> -  Applying patches ...
>>
>> [2017-08-09 09:44:27,178]  INFO {org.wso2.carbon.server.util.PatchUtils}
>> -  restoring bundle backup directory
>>
>> [2017-08-09 09:54:20,390]  INFO {org.wso2.carbon.server.util.PatchUtils}
>> -  Checking for patch changes ...
>>
>> [2017-08-09 09:54:20,392]  INFO {org.wso2.carbon.server.util.PatchUtils}
>> -  New patch available - patch
>>
>> [2017-08-09 09:54:20,392]  INFO {org.wso2.carbon.server.util.PatchUtils}
>> -  New patch available - patch0001
>>
>> [2017-08-09 09:54:20,392]  INFO {org.wso2.carbon.server.util.PatchUtils}
>> -  New patch available - patch0002
>>
>> [2017-08-09 09:54:20,393]  INFO {org.wso2.carbon.server.util.PatchUtils}
>> -  New patch available - patch0003
>>
>> [2017-08-09 09:54:20,393]  INFO {org.wso2.carbon.server.util.PatchUtils}
>> -  New patch available - patch0004
>>
>> [2017-08-09 09:54:20,393]  INFO {org.wso2.carbon.server.util.PatchUtils}
>> -  New patch available - patch0005
>>
>> [2017-08-09 09:54:20,393]  INFO {org.wso2.carbon.server.util.PatchUtils}
>> -  New patch available - patch0006
>>
>> [2017-08-09 09:54:20,393]  INFO {org.wso2.carbon.server.util.PatchUtils}
>> -  New patch available - patch0007
>>
>> [2017-08-09 09:54:20,393]  INFO {org.wso2.carbon.server.util.PatchUtils}
>> -  New patch available - patch0008
>>
>> [2017-08-09 09:54:20,393]  INFO {org.wso2.carbon.server.util.PatchUtils}
>> -  New patch available - patch0009
>>
>> [2017-08-09 09:54:20,393]  INFO {org.wso2.carbon.server.util.PatchUtils}
>> -  New patch available - patch1016
>>
>> [2017-08-09 09:54:20,393]  INFO {org.wso2.carbon.server.util.PatchUtils}
>> -  New patch available - patch1464
>>
>> [2017-08-09 09:54:20,595]  INFO 
>> 

Re: [Dev] Issue with WSO2 Add User functionality.

2017-08-09 Thread Tharindu Edirisinghe
Hi Karthik,

Here I am forwarding this email to WSO2 Dev mail group, since this is not
related to a security issue in WSO2 products/services.

Regards,
Tharindu

On Thu, Aug 10, 2017 at 10:07 AM, Karthik Saravanan <
karthik_sarava...@persistent.com> wrote:

> Hi WSO2 team,
>
> I am stuck deep in a problem. Your help will be very much appreciated.
>
>
>
> 1.   We had WSO2  running in our environment for a long time. We had
> a JSP based client application to perform bulk upload of Users and this was
> working fine.
>
> 2.   Since yesterday the bulk upload functionality is failing with an
> exception  shown below and was reported to us by the client. The client
> side JSP code has never been changed at all since 2 yrs.
>
>
>
> org.wso2.carbon.identity.mgt.stub.UserInformationRecoveryService
> IdentityMgtServiceExceptionException: UserInformationRecoveryService
> IdentityMgtServiceExceptionException
>
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(
> NativeConstructorAccessorImpl.java:57)
>
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
> DelegatingConstructorAccessorImpl.java:45)
>
> at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
>
> at java.lang.Class.newInstance(Class.java:383)
>
> at org.wso2.carbon.identity.mgt.stub.
> UserInformationRecoveryServiceStub.registerUser(
> UserInformationRecoveryServiceStub.java:685)
>
> at org.wso2.sample.inforecovery.client.
> UserInformationRecoveryClient.registerUser(UserInformationRecoveryClient.
> java:280)
>
> at org.genwi.clients.bemis.BemisClient.addBemisUser(
> BemisClient.java:172)
>
> at org.wso2.sample.inforecovery.controller.SelfSignupController.
> handleBulkUpload(SelfSignupController.java:336)
>
>
>
>
>
>
>
>
>
> 3.   For past 2 months when we restarted the servers It used to only
> check for patches and find no new patches and therefore start the servers
> properly stating there are no patches to apply. The last patch was in March
> 2017
>
> 4.   However when I restarted WSO2 yesterday it said it found a new
> patch
>
>
>
> [2017-08-09 09:44:27,178]  INFO {org.wso2.carbon.server.util.PatchUtils}
> -  
> org.wso2.carbon.identity.application.authenticator.requestpath.oauth_4.2.0.jar
> has been added
>
> [2017-08-09 09:44:27,178]  INFO 
> {org.wso2.carbon.server.extensions.PatchInstaller}
> -  Patch changes detected
>
> [2017-08-09 09:44:27,178]  INFO {org.wso2.carbon.server.util.PatchUtils}
> -  Applying patches ...
>
> [2017-08-09 09:44:27,178]  INFO {org.wso2.carbon.server.util.PatchUtils}
> -  restoring bundle backup directory
>
> [2017-08-09 09:54:20,390]  INFO {org.wso2.carbon.server.util.PatchUtils}
> -  Checking for patch changes ...
>
> [2017-08-09 09:54:20,392]  INFO {org.wso2.carbon.server.util.PatchUtils}
> -  New patch available - patch
>
> [2017-08-09 09:54:20,392]  INFO {org.wso2.carbon.server.util.PatchUtils}
> -  New patch available - patch0001
>
> [2017-08-09 09:54:20,392]  INFO {org.wso2.carbon.server.util.PatchUtils}
> -  New patch available - patch0002
>
> [2017-08-09 09:54:20,393]  INFO {org.wso2.carbon.server.util.PatchUtils}
> -  New patch available - patch0003
>
> [2017-08-09 09:54:20,393]  INFO {org.wso2.carbon.server.util.PatchUtils}
> -  New patch available - patch0004
>
> [2017-08-09 09:54:20,393]  INFO {org.wso2.carbon.server.util.PatchUtils}
> -  New patch available - patch0005
>
> [2017-08-09 09:54:20,393]  INFO {org.wso2.carbon.server.util.PatchUtils}
> -  New patch available - patch0006
>
> [2017-08-09 09:54:20,393]  INFO {org.wso2.carbon.server.util.PatchUtils}
> -  New patch available - patch0007
>
> [2017-08-09 09:54:20,393]  INFO {org.wso2.carbon.server.util.PatchUtils}
> -  New patch available - patch0008
>
> [2017-08-09 09:54:20,393]  INFO {org.wso2.carbon.server.util.PatchUtils}
> -  New patch available - patch0009
>
> [2017-08-09 09:54:20,393]  INFO {org.wso2.carbon.server.util.PatchUtils}
> -  New patch available - patch1016
>
> [2017-08-09 09:54:20,393]  INFO {org.wso2.carbon.server.util.PatchUtils}
> -  New patch available - patch1464
>
> [2017-08-09 09:54:20,595]  INFO 
> {org.wso2.carbon.server.extensions.PatchInstaller}
> -  Patch changes detected
>
> [2017-08-09 09:54:20,595]  INFO {org.wso2.carbon.server.util.PatchUtils}
> -  Applying patches ...
>
>
>
>
>
> I am not sure if this was because of an abrupt restart that it re applied
> all the patches to maintain consistency. Ideally I wouldn’t expect old
> patches causing any issues because they were anyways applied once.
>
>
>
>
>
>
>
> Can you please help. I am really stuck.
>
>
>
> Thanks
>
> Karthik
>
>
>
>
> DISCLAIMER
> ==
> This e-mail may contain privileged and confidential information which is
> the property of Persistent Systems Ltd. It is intended only for the use of
> the individual or entity to which it is addressed. If you 

Re: [Dev] Please review and merge the PR

2017-08-09 Thread Dilan Udara Ariyaratne
Hi Ashen,

Went through the code and added few comments, Please go through and verify.

Thanks,
Dilan.

*Dilan U. Ariyaratne*
Senior Software Engineer
WSO2 Inc. 
Mobile: +94766405580 <%2B94766405580>
lean . enterprise . middleware


On Wed, Aug 9, 2017 at 1:44 PM, Ashen Weerathunga  wrote:

> Hi,
>
> Can you please review and merge the PR [1]. This is regarding the Issue
> [2].
>
> [1] https://github.com/wso2/carbon-kernel/pull/1464
> [2] https://github.com/wso2/carbon-kernel/issues/1467
>
>
> Thanks,
> Ashen
> --
> *Ashen Weerathunga*
> Software Engineer
> WSO2 Inc.: http://wso2.com
> lean.enterprise.middleware
>
> Email: as...@wso2.com
> Mobile: +94716042995 <94716042995>
> LinkedIn: *http://lk.linkedin.com/in/ashenweerathunga
> *
> 
>
> ___
> 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


Re: [Dev] Strange behaviour with 2 API Managers sharing the same db

2017-08-09 Thread Júnior
Hi Harsha,

It worked, Thank you!

2017-08-09 0:47 GMT-03:00 Harsha Kumara :

> Hi Junior,
>
> If the nodes are not clustered this cause because another node won't index
> the artifacts. In a noncluster mode, you have to enable skipCache in
> registry.xml.
>
> Skip caching by adding the following configuration under the
>  element in the /repository/
> conf/registry.xml file in all Publisher and Store nodes.
>
> This helps to avoid facing caching related issues in the Store and
> Publisher nodes by directly getting the API information from the database.
> true
>
> Thanks,
> Harsha
> On Wed, Aug 9, 2017 at 7:45 AM, Júnior  wrote:
>
>> Hi Everyone,
>>
>> I have the following setup:
>>
>> 2 API Manager instances not clustered sharing the same DB. The only thing
>> that is not shared is the Local Registry.
>>
>> We are able to use the import/export tool to import the API.
>>
>> And be able to see the APIs in store in both servers.
>>
>> But if I publish in one server, it doesn't show as published in the other
>> server.
>>
>> Could it be related to the cache in the registry mount?
>>
>> Does anyone has any clue about this?
>>
>> Thanks,
>>
>> --
>> Francisco Ribeiro
>> *SCEA|SCJP|SCWCD|IBM Certified SOA Associate*
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Harsha Kumara
> Software Engineer, WSO2 Inc.
> Mobile: +94775505618 <+94%2077%20550%205618>
> Blog:harshcreationz.blogspot.com
>



-- 
Francisco Ribeiro
*SCEA|SCJP|SCWCD|IBM Certified SOA Associate*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSOC][Siddhi][DEV] Deployment and Code Management of PySiddhi

2017-08-09 Thread Grainier Perera
Hi Madhawa,

I have created a branch for PySiddhi 3.x at [1], and we are thinking of
maintaining the PySiddhi 4.x in the master branch. Please send PRs to 3.x
branch and master branch.

[1] https://github.com/wso2/pysiddhi/tree/3.x

Regards,

On Wed, Aug 9, 2017 at 9:17 AM, Madhawa Vidanapathirana <
madhawavidanapathir...@gmail.com> wrote:

> Hi,
>
> I have prepared the branch for PySiddhi 3.1 (in fork of main repo) and it
> is available at [1]. However, I am unable to send the PR since 3.1 branch
> is not in the main repository at [2].
>
> Also, would be requiring a branch for 4.0 to PR the 4.0 version which will
> be ready soon.
>
> [1] https://github.com/madhawav/PySiddhi/tree/3.1
> [2] https://github.com/wso2/PySiddhi
>
> Kind Regards,
>
> --
> *Madhawa Vidanapathirana*
> Student
> Department of Computer Science and Engineering
> University of Moratuwa
> Sri Lanka
>
> Mobile: (+94) 716874425 <+94%2071%20687%204425>
> Email: madhawavidanapathir...@gmail.com
> Linked-In: https://lk.linkedin.com/in/madhawa-vidanapathirana-3430b94
>



-- 
Grainier Perera
Senior Software Engineer
Mobile : +94716122384
WSO2 Inc. | http://wso2.com
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Handling multiple files

2017-08-09 Thread Malaka Silva
Hi Amit,

What you observed is correct. In ESB/EI massage context it only keeps the
current context.

If you want to keep multiple content store those in properties and use
later using enrich mediator.

[1] https://docs.wso2.com/display/EI611/Enrich+Mediator
[2] http://mrmalakasilva.blogspot.com/search?q=enrich

On Wed, Aug 9, 2017 at 1:12 PM, Amit Rajvanshi 
wrote:

> Hi Malaka,
>
>
>
> I have tried with the below approach but could not get success.
>
> When I tried with multiple read mediator in mediation flow then last one
> is overriding the first data so eventually I have only one file data in
> mediation flow.
>
> And if I use clone mediator then each branch is executing separately .
>
> *Below is the screenshot of my sequence:*
>
>
>
>
>
> Am I doing it correctly or did you say something else ?
>
>
>
> Best regards,
> *Amit Rajvanshi*
>
> *Technical Consultant*
> *Office:  *+91-120-4737401 <+91%20120%20473%207401>
>
> *Mobile*: +91 9871001235 <+91%2098710%2001235>
>
> *Email*:arajvan...@salmon.com
>
> [image: cid:image003.png@01D2CA89.60AB8730] 
>
>
>
> *[image: cid:image004.jpg@01D2CA89.60AB8730]*
>  *[image:
> cid:image005.jpg@01D2CA89.60AB8730]*
>  *[image:
> cid:image006.jpg@01D2CA89.60AB8730]*
>  *[image:
> cid:image007.jpg@01D2CA89.60AB8730]*
>  *[image:
> cid:image008.jpg@01D2CA89.60AB8730]* 
>  *[image: cid:image009.jpg@01D2CA89.60AB8730]*
>  *[image:
> cid:image010.jpg@01D2CA89.60AB8730]* 
>
>
>
> Information contained in this e-mail and any attachments is confidential
> and intended for the use of the addressee only. Dissemination,
> distribution, copying or use of this communication without prior permission
> of the addressee is strictly prohibited. If you have received this
> transmission in error, please advise the originator by reply e-mail and
> delete it. Thank you. Salmon India’s Registered Address is: B-13, Sector
> 57, Noida (U.P.) 201301. Registered in India U72200DL2003PTC120356.
>
>
>
> *From:* Malaka Silva [mailto:mal...@wso2.com]
> *Sent:* 04 August 2017 19:55
> *To:* Amit Rajvanshi
> *Cc:* WSO2 Developers' List; Hariprasath Thanarajah
>
> *Subject:* Re: Handling multiple files
>
>
>
>
>
>
>
> On Fri, Aug 4, 2017 at 7:47 PM, Amit Rajvanshi 
> wrote:
>
> Thanks Malaka,
>
> So do u mean we need to trigger the process by injecting a message through
> schedule task and then use file connector to read three files on sftp and
> then perform the merge operation?
>
> ​Yes​
>
>
>
> File name contains one fix part of string with combination of datetime.
>
> ​In that case you can dynamically generate files path/names and read with
> file connector.​
>
>
>
>
>
> Regards,
>
> Amit Rajvanshi
>
>
>
>
>
>  Original message 
>
> From: Malaka Silva 
>
> Date: 04/08/2017 19:28 (GMT+05:30)
>
> To: Amit Rajvanshi 
>
> Cc: WSO2 Developers' List , Hariprasath Thanarajah <
> haripras...@wso2.com>
>
> Subject: Re: Handling multiple files
>
>
>
> Hi Amit,
>
>
>
> Do you know the file names that needs to be merged?
>
>
>
> You can try to implement the use case with file connector [1] and EI
> schedule tasks [2].
>
>
>
> [1] https://store.wso2.com/store/assets/esbconnector/
> details/48bab332-c6a6-4f5a-9b79-17e29c7ad4c6
>
> [2] https://docs.wso2.com/display/EI611/Working+with+Scheduled+Tasks
>
>
>
> On Fri, Aug 4, 2017 at 2:40 PM, Amit Rajvanshi 
> wrote:
>
> Hi Malaka,
>
>
>
> Is it possible to handle a scenario in wos2 ESB where I am receiving three
> CSV files from SFTP location and I need to merge them into single file.
>
> I do not want to create three separate instance for three files because
> all the information need to be map into single message and send it to
> Vendor.
>
>
>
> Any help will be useful.
>
>
>
> Best regards,
> *Amit Rajvanshi*
>
> *Technical Consultant*
> *Office:  *+91-120-4737401 <+91%20120%20473%207401>
>
> *Mobile*: +91 9871001235 <+91%2098710%2001235>
>
> *Email*:arajvan...@salmon.com
>
> [image: cid:image003.png@01D2CA89.60AB8730] 
>
>
>
> *[image: cid:image004.jpg@01D2CA89.60AB8730]*
>  *[image:
> cid:image005.jpg@01D2CA89.60AB8730]*
>  *[image:
> cid:image006.jpg@01D2CA89.60AB8730]*
>  *[image:
> cid:image007.jpg@01D2CA89.60AB8730]*
>  *[image:
> cid:image008.jpg@01D2CA89.60AB8730]* 
>  *[image: cid:image009.jpg@01D2CA89.60AB8730]*
> 

[Dev] [MSF4J] Avoid Response Entity Marshalling

2017-08-09 Thread Isuranga Perera
Hi,

I want to send a XML in form of a string as a Response. So the Content-Type
should be* text/xml. *Since I can't register a new EntityWriter I'm
unable to set Response entity (string) because entity writer for objects
tries to marshal the string and fails.
Appreciate if can you suggest a way to send a string with text/xml as
Content type.

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


[Dev] Please review and merge the PR

2017-08-09 Thread Ashen Weerathunga
Hi,

Can you please review and merge the PR [1]. This is regarding the Issue [2].

[1] https://github.com/wso2/carbon-kernel/pull/1464
[2] https://github.com/wso2/carbon-kernel/issues/1467


Thanks,
Ashen
-- 
*Ashen Weerathunga*
Software Engineer
WSO2 Inc.: http://wso2.com
lean.enterprise.middleware

Email: as...@wso2.com
Mobile: +94716042995 <94716042995>
LinkedIn: *http://lk.linkedin.com/in/ashenweerathunga
*

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


[Dev] [GSOC-2017] [IS] [OAuth DCRM] Integration Test for the implementation of OAuth 2.0 DCRM protocol

2017-08-09 Thread Abilashini Thiyagarajah
Hi,

Please find the PR of the integration test cases [1] for the implementation
of OAuth DCRM protocol [2].

Covered test cases in this PR as follow,

   1. Successful Read service provider
   2. Read request with invalid client ID in the endpoint URL
   3. Successful update service provider
   4. Update request with invalid client ID in the endpoint URL
   5. Update request with invalid client ID
   6. Update request with invalid client secret
   7. Update request without grant type
   8. Update request with invalid grant type
   9. Successful Delete service provider
   10. Delete request with invalid client ID in the endpoint URL

Please share your feedback to improve further

[1] https://github.com/wso2/product-is/pull/1293
[2] https://github.com/wso2-extensions/identity-inbound-auth-oauth/pull/396

Best Regards,
Abilashini

*Thiyagarajah Abilashini*
Student
Department of Computer Science and Engineering
University of Moratuwa, Sri Lanka
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev