Re: [Dev] Regarding the messageContext creation for Custom Inbounds

2017-07-21 Thread Hariprasath Thanarajah
[-support-dev][+dev]

On Fri, Jul 21, 2017 at 11:58 AM, Hariprasath Thanarajah <
haripras...@wso2.com> wrote:

> Hi All,
>
> When we extend the GenericPollingConsumer, ListeningConsumer or
> EventBasedConsumer to create a custom inbound for ESB there we don't have a
> method to pass the messageContext in that particular class[1]. In the
> custom inbound, we have a requirement to set the property in the
> messageContext[2] and need gets the values from the sequence For that we
> need to override the injectMessage method within the custom inbound[3].
>
> One way to overcome this we can create a utility method to create the
> message context and for the injectMessage we can pass the messageContext in
> the GenericPollingConsumer.
>
> Any thoughts?
>
> [1] - https://github.com/wso2/carbon-mediation/blob/master/
> components/inbound-endpoints/org.wso2.carbon.inbound.
> endpoint/src/main/java/org/wso2/carbon/inbound/endpoint/protocol/generic/
> GenericPollingConsumer.java#L77
>
> [2] - https://github.com/hariss63/esb-inbound-kafka/blob/master/
> src/main/java/org/wso2/carbon/inbound/kafka/KafkaMessageConsumer.java#L306
>
> [3] - https://github.com/hariss63/esb-inbound-kafka/blob/master/
> src/main/java/org/wso2/carbon/inbound/kafka/KafkaMessageConsumer.java#L327
>
> --
>
>
> *Thank you and Regards,**Hariprasath Thanarajah*
> Software Engineer | WSO2
> E: haripras...@wso2.com
> M: +94 75 2806528 <+94%2075%20280%206528>, +94 77 7216903
> <+94%2077%20721%206903>
> Blog: hariwso2.blogspot.com
>
> Skype : hariss636
> LinkedIn : https://www.linkedin.com/in/hariprasath-thanarajah-5234b660
>
> WSO2, Inc.
> lean . enterprise . middleware
>
> https://wso2.com/signature
> http://wso2.com/about/team/hariprashath-thanarajah/
>



-- 


*Thank you and Regards,**Hariprasath Thanarajah*
Software Engineer | WSO2
E: haripras...@wso2.com
M: +94 75 2806528, +94 77 7216903
Blog: hariwso2.blogspot.com

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

WSO2, Inc.
lean . enterprise . middleware

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


Re: [Dev] [IS] Admin/Tenant Admin Users cannot be filtered to get the SCIM ID

2017-07-21 Thread Indunil Upeksha Rathnayake
Hi,

I have checked followings with IS 5.3.0 WUM updated pack.

1) List users
curl -v -k --user admin:admin https://localhost:9443/wso2/scim/Users
Result: *{"Errors":[{"description":"Users not found in the user
store.","code":"404"}]}*

2) Filter admin user
curl -v -k --user admin:admin
https://localhost:9443/wso2/scim/Users?filter=userName+Eq+%22admin%22
Result:
*{"schemas":["urn:scim:schemas:core:1.0"],"totalResults":1,"Resources":[{"userName":"admin"}]}*

Seems like there is a contradiction here. When listing all the users, admin
user details won't retrieved, but retrieved with the filtering. Since admin
user doesn't have a SCIM ID, it shouldn't retrieved in any scenarios. WDT?

Thanks and Regards


On Fri, Nov 6, 2015 at 9:33 AM, Nadeesha Meegoda  wrote:

> Thanks Chamila. Unerstood!
>
> On Thu, Nov 5, 2015 at 9:48 PM, Chamila Wijayarathna 
> wrote:
>
>> Hi Nadeesha,
>>
>> As I mentioned in my previous mail, super admin and tenant admin are not
>> created with a SCIM ID, so you can't retrieve them using SCIM GET.
>>
>> I was suggesting above request to get other users of tenant, if you are
>> interested, since the command you were using previously for retrieving
>> tenant users were wrong.
>>
>> Thanks
>>
>> On Thu, Nov 5, 2015 at 5:03 PM, Nadeesha Meegoda 
>> wrote:
>>
>>> Hi all,
>>>
>>> So I requested to get the SCIM ID as what Chamila mentioned by the
>>> following command
>>> curl -v -k --user ten...@new.com:123456 https://localhost:9443/wso2/
>>> scim/Users?filter=userNameEqtenant
>>>
>>> But still this doesn't give any result only a http 404 error. So tenant
>>> admins also are considered for the special flaw?
>>>
>>> On Thu, Nov 5, 2015 at 3:41 PM, Gayan Gunawardana 
>>> wrote:
>>>


 On Thu, Nov 5, 2015 at 3:13 PM, Darshana Gunawardana  wrote:

>
>
> On Thu, Nov 5, 2015 at 12:45 PM, Gayan Gunawardana 
> wrote:
>
>>
>>
>> On Thu, Nov 5, 2015 at 11:26 AM, Chamila Wijayarathna <
>> cham...@wso2.com> wrote:
>>
>>> Hi Nadeesha,
>>>
>>> When creating super admin or tenant admin users, they don't get
>>> created with a SCIM ID since they are considered as special users in IS.
>>> Because of this when listing users through scim, those users will not 
>>> get
>>> listed.
>>> But if you want, you can add a SCIM ID manually by updating the user
>>> and then you will be able to list the also as SCIM Users.
>>>
>>> When listing users of tenants, you need to use credentials of tenant
>>> admin users. When sending SCIM request with admin:admin, you will only 
>>> see
>>> users at super tenant. Also for filter, don't use @tenant.com,
>>> because if u logged in as tenant admin and list users, there you won't 
>>> see
>>> user name with @tenant.com, so your curl command to filter a user
>>> at tenant should be as follows.
>>>
>>> curl -v -k --user ad...@tenant.com:admin123 http
>>> s://localhost:9443/wso2/scim/Users?filter=userNameEqtenant
>>> 
>>>
>>> Thanks
>>>
>>> On Wed, Nov 4, 2015 at 8:40 PM, Nadeesha Meegoda >> > wrote:
>>>
 Hi Chamila,

 I'm using the embedded ldap which comes default in IS. In that SCIM
 comes enabled as default.

 On Wed, Nov 4, 2015 at 6:27 PM, Chamila Wijayarathna <
 cham...@wso2.com> wrote:

> Hi Nadeesha,
>
> What is the value of SCIMEnabled configuration in your
> user-mgt.xml?
>
> Are you using LDAP or JDBC user store manager?
>
 @Chamila
>>
>> admin user is added in very fist server start up by calling
>> "addInitialAdminData" in AbstractUserStoreManager. In embedded ldap
>> scenario concrete "doAddUser" method will be invoked in
>> ReadWriteLDAPUserStoreManager so user will be directly added to user 
>> store
>> without going through SCIM listener (without going through any listener).
>> Since there is no SCIM listener engagement SCIM ID will not be added to
>> user store.
>>
>> I am not sure about we are not getting SCIM ID just because of admin
>> user is a special user or kind of implementation we have right now.
>>
>
> Chamila checked with me on this and he meant admin user is special due
> to the same reason you explained above. Basically admin user is created
> through special flow compared to normal users.
>
 If we generate SCIM ID even in that special flaw. Is that correct ?

>
> Thanks,
>
>>
>> Adding Johann.
>>
>>>
> Thanks
>
> On Wed, Nov 4, 2015 at 6:20 PM, Nadeesha Meegoda <
> nadees...@wso2.com> wrote:
>
>> Hi IS 

Re: [Dev] [IS] Admin/Tenant Admin Users cannot be filtered to get the SCIM ID

2017-07-21 Thread Sathya Bandara
Hi Indunil,

SCIM support for admin users is not provided by current user core
implementation. Hence, in the current implementation admin users do not
have a SCIM user_id which prevents SCIM based CRUD operations on admin
users. I'm currently working on implementing this feature for products that
support SCIM which will resolve this issue.

Thanks,
Sathya

On Fri, Jul 21, 2017 at 2:29 PM, Gayan Gunawardana  wrote:

> Whatever the implementation behavior should be identical among user list
> command and user filter command. With new implementation if admin user has
> SCIM ID it will be returned from both list and filter.
>
> On Fri, Jul 21, 2017 at 2:17 PM, Hasanthi Purnima Dissanayake <
> hasan...@wso2.com> wrote:
>
>> Hi Indunil,
>>
>> Please refer following mail in Architecture [1]. Seems Sathya is going to
>> provide SCIM support for admin users by generating admin users' SCIM
>> userId. After this implementation it seems this issue will be fixed.
>>
>> [1] mail : [Architecture] [IS] SCIM Support for Admin Users
>>
>> Thanks,
>>
>> Hasanthi Dissanayake
>>
>> Software Engineer | WSO2
>>
>> E: hasan...@wso2.com
>> M :0718407133| http://wso2.com 
>>
>> On Fri, Jul 21, 2017 at 2:11 PM, Gayan Gunawardana 
>> wrote:
>>
>>>
>>>
>>> On Fri, Jul 21, 2017 at 2:06 PM, Indunil Upeksha Rathnayake <
>>> indu...@wso2.com> wrote:
>>>
 Hi,

 I have checked followings with IS 5.3.0 WUM updated pack.

 1) List users
 curl -v -k --user admin:admin https://localhost:9443/wso2/scim/Users
 Result: *{"Errors":[{"description":"Users not found in the user
 store.","code":"404"}]}*

 2) Filter admin user
 curl -v -k --user admin:admin https://localhost:9443/wso2/sc
 im/Users?filter=userName+Eq+%22admin%22
 Result:
 *{"schemas":["urn:scim:schemas:core:1.0"],"totalResults":1,"Resources":[{"userName":"admin"}]}*

 Seems like there is a contradiction here. When listing all the users,
 admin user details won't retrieved, but retrieved with the filtering. Since
 admin user doesn't have a SCIM ID, it shouldn't retrieved in any scenarios.
 WDT?

>>> Yes so filter command should not return admin user if it doesn't have
>>> SCIM ID.
>>>

 Thanks and Regards


 On Fri, Nov 6, 2015 at 9:33 AM, Nadeesha Meegoda 
 wrote:

> Thanks Chamila. Unerstood!
>
> On Thu, Nov 5, 2015 at 9:48 PM, Chamila Wijayarathna  > wrote:
>
>> Hi Nadeesha,
>>
>> As I mentioned in my previous mail, super admin and tenant admin are
>> not created with a SCIM ID, so you can't retrieve them using SCIM GET.
>>
>> I was suggesting above request to get other users of tenant, if you
>> are interested, since the command you were using previously for 
>> retrieving
>> tenant users were wrong.
>>
>> Thanks
>>
>> On Thu, Nov 5, 2015 at 5:03 PM, Nadeesha Meegoda 
>> wrote:
>>
>>> Hi all,
>>>
>>> So I requested to get the SCIM ID as what Chamila mentioned by the
>>> following command
>>> curl -v -k --user ten...@new.com:123456
>>> https://localhost:9443/wso2/scim/Users?filter=userNameEqtenant
>>>
>>> But still this doesn't give any result only a http 404 error. So
>>> tenant admins also are considered for the special flaw?
>>>
>>> On Thu, Nov 5, 2015 at 3:41 PM, Gayan Gunawardana 
>>> wrote:
>>>


 On Thu, Nov 5, 2015 at 3:13 PM, Darshana Gunawardana <
 darsh...@wso2.com> wrote:

>
>
> On Thu, Nov 5, 2015 at 12:45 PM, Gayan Gunawardana  > wrote:
>
>>
>>
>> On Thu, Nov 5, 2015 at 11:26 AM, Chamila Wijayarathna <
>> cham...@wso2.com> wrote:
>>
>>> Hi Nadeesha,
>>>
>>> When creating super admin or tenant admin users, they don't get
>>> created with a SCIM ID since they are considered as special users 
>>> in IS.
>>> Because of this when listing users through scim, those users will 
>>> not get
>>> listed.
>>> But if you want, you can add a SCIM ID manually by updating the
>>> user and then you will be able to list the also as SCIM Users.
>>>
>>> When listing users of tenants, you need to use credentials of
>>> tenant admin users. When sending SCIM request with admin:admin, you 
>>> will
>>> only see users at super tenant. Also for filter, don't use @
>>> tenant.com, because if u logged in as tenant admin and list
>>> users, there you won't see user name with @tenant.com, so your
>>> curl command to filter a user at tenant should be as follows.
>>>
>>> curl -v -k --user ad...@tenant.com:admin123 http
>>> 

Re: [Dev] [IS] Admin/Tenant Admin Users cannot be filtered to get the SCIM ID

2017-07-21 Thread Indunil Upeksha Rathnayake
Hi,



On Fri, Jul 21, 2017 at 2:29 PM, Gayan Gunawardana  wrote:

> Whatever the implementation behavior should be identical among user list
> command and user filter command. With new implementation if admin user has
> SCIM ID it will be returned from both list and filter.
>

Yes.  I have created a JIRA to handle this issue.

[1] https://wso2.org/jira/browse/IDENTITY-6177


> On Fri, Jul 21, 2017 at 2:17 PM, Hasanthi Purnima Dissanayake <
> hasan...@wso2.com> wrote:
>
>> Hi Indunil,
>>
>> Please refer following mail in Architecture [1]. Seems Sathya is going to
>> provide SCIM support for admin users by generating admin users' SCIM
>> userId. After this implementation it seems this issue will be fixed.
>>
>> [1] mail : [Architecture] [IS] SCIM Support for Admin Users
>>
>> Thanks,
>>
>> Hasanthi Dissanayake
>>
>> Software Engineer | WSO2
>>
>> E: hasan...@wso2.com
>> M :0718407133| http://wso2.com 
>>
>> On Fri, Jul 21, 2017 at 2:11 PM, Gayan Gunawardana 
>> wrote:
>>
>>>
>>>
>>> On Fri, Jul 21, 2017 at 2:06 PM, Indunil Upeksha Rathnayake <
>>> indu...@wso2.com> wrote:
>>>
 Hi,

 I have checked followings with IS 5.3.0 WUM updated pack.

 1) List users
 curl -v -k --user admin:admin https://localhost:9443/wso2/scim/Users
 Result: *{"Errors":[{"description":"Users not found in the user
 store.","code":"404"}]}*

 2) Filter admin user
 curl -v -k --user admin:admin https://localhost:9443/wso2/sc
 im/Users?filter=userName+Eq+%22admin%22
 Result:
 *{"schemas":["urn:scim:schemas:core:1.0"],"totalResults":1,"Resources":[{"userName":"admin"}]}*

 Seems like there is a contradiction here. When listing all the users,
 admin user details won't retrieved, but retrieved with the filtering. Since
 admin user doesn't have a SCIM ID, it shouldn't retrieved in any scenarios.
 WDT?

>>> Yes so filter command should not return admin user if it doesn't have
>>> SCIM ID.
>>>

 Thanks and Regards


 On Fri, Nov 6, 2015 at 9:33 AM, Nadeesha Meegoda 
 wrote:

> Thanks Chamila. Unerstood!
>
> On Thu, Nov 5, 2015 at 9:48 PM, Chamila Wijayarathna  > wrote:
>
>> Hi Nadeesha,
>>
>> As I mentioned in my previous mail, super admin and tenant admin are
>> not created with a SCIM ID, so you can't retrieve them using SCIM GET.
>>
>> I was suggesting above request to get other users of tenant, if you
>> are interested, since the command you were using previously for 
>> retrieving
>> tenant users were wrong.
>>
>> Thanks
>>
>> On Thu, Nov 5, 2015 at 5:03 PM, Nadeesha Meegoda 
>> wrote:
>>
>>> Hi all,
>>>
>>> So I requested to get the SCIM ID as what Chamila mentioned by the
>>> following command
>>> curl -v -k --user ten...@new.com:123456
>>> https://localhost:9443/wso2/scim/Users?filter=userNameEqtenant
>>>
>>> But still this doesn't give any result only a http 404 error. So
>>> tenant admins also are considered for the special flaw?
>>>
>>> On Thu, Nov 5, 2015 at 3:41 PM, Gayan Gunawardana 
>>> wrote:
>>>


 On Thu, Nov 5, 2015 at 3:13 PM, Darshana Gunawardana <
 darsh...@wso2.com> wrote:

>
>
> On Thu, Nov 5, 2015 at 12:45 PM, Gayan Gunawardana  > wrote:
>
>>
>>
>> On Thu, Nov 5, 2015 at 11:26 AM, Chamila Wijayarathna <
>> cham...@wso2.com> wrote:
>>
>>> Hi Nadeesha,
>>>
>>> When creating super admin or tenant admin users, they don't get
>>> created with a SCIM ID since they are considered as special users 
>>> in IS.
>>> Because of this when listing users through scim, those users will 
>>> not get
>>> listed.
>>> But if you want, you can add a SCIM ID manually by updating the
>>> user and then you will be able to list the also as SCIM Users.
>>>
>>> When listing users of tenants, you need to use credentials of
>>> tenant admin users. When sending SCIM request with admin:admin, you 
>>> will
>>> only see users at super tenant. Also for filter, don't use @
>>> tenant.com, because if u logged in as tenant admin and list
>>> users, there you won't see user name with @tenant.com, so your
>>> curl command to filter a user at tenant should be as follows.
>>>
>>> curl -v -k --user ad...@tenant.com:admin123 http
>>> s://localhost:9443/wso2/scim/Users?filter=userNameEqtenant
>>> 
>>>
>>> Thanks
>>>
>>> On Wed, Nov 4, 2015 at 8:40 PM, Nadeesha Meegoda <
>>> 

Re: [Dev] Is quartz-2.3.0.wso2v1 orbit bundle created properly ?

2017-07-21 Thread Pubudu Fernando
Hi Mohan,

No, this was not tested in a product distribution. Really sorry about that.
Will send a PR to fix this as you suggested.

Thanks,
Pubudu

On Thu, Jul 20, 2017 at 10:19 PM, Mohanadarshan Vivekanandalingam <
mo...@wso2.com> wrote:

> Hi Team,
>
> We have faced below issue after upgrading the carbon-transports version
> for product-sp milestone release.
>
> Cannot complete the install because one or more required items could not
> be found.
>  Software being installed: WSO2 MSF4J Feature 2.3.0.m2
> (org.wso2.msf4j.feature.group 2.3.0.m2)
>  Missing requirement: quartz 2.3.0.wso2v1 (quartz 2.3.0.wso2v1) requires
> 'package commonj.work 0.0.0' but it could not be found
>  Cannot satisfy dependency:
>   From: WSO2 Carbon Transport Connector Framework Feature 4.4.17
> (org.wso2.carbon.connector.framework.feature.group 4.4.17)
>   To: quartz [2.3.0.wso2v1]
>  Cannot satisfy dependency:
>   From: WSO2 MSF4J Feature 2.3.0.m2 (org.wso2.msf4j.feature.group 2.3.0.m2)
>   To: org.wso2.carbon.connector.framework.feature.group [4.3.0.m2,5.0.0)
>
> When we analyzed the related orbit bundle, I could see there are some
> external dependencies are defined in the Import-Package section of the
> manifest as shown below.
>
> Import-Package: com.mchange.v2.c3p0,com.zaxxer.hikari;version="[2.3,3)
>  ",commonj.work;resolution:=optional,javax.ejb;resolution:=optional,ja
>  vax.jms;resolution:=optional,javax.mail;resolution:=optional,javax.ma
>  il.internet;resolution:=optional,javax.management,javax.management.op
>  enmbean,javax.naming,javax.servlet;resolution:=optional,javax.servlet
>  .http;resolution:=optional,javax.sql;resolution:=optional,javax.trans
>  action;resolution:=optional,javax.xml.bind,javax.xml.namespace,javax.
>  xml.parsers,javax.xml.xpath,oracle.sql;resolution:=optional,org.jboss
>  .logging;resolution:=optional,org.jboss.naming;resolution:=optional,o
>  rg.jboss.system;resolution:=optional,org.quartz,org.quartz.impl.match
>  ers,org.quartz.impl.triggers,org.quartz.jobs;resolution:=optional,org
>  .quartz.spi,org.slf4j;version="[1.7,2)",org.terracotta.toolkit;resolu
>  tion:=optional,org.terracotta.toolkit.atomic;resolution:=optional,org
>  .terracotta.toolkit.builder;resolution:=optional,org.terracotta.toolk
>  it.cluster;resolution:=optional,org.terracotta.toolkit.collections;re
>  solution:=optional,org.terracotta.toolkit.concurrent.locks;resolution
>  :=optional,org.terracotta.toolkit.config;resolution:=optional,org.ter
>  racotta.toolkit.internal;resolution:=optional,org.terracotta.toolkit.
>  internal.concurrent.locks;resolution:=optional,org.terracotta.toolkit
>  .rejoin;resolution:=optional,org.terracotta.toolkit.search;resolution
>  :=optional,org.terracotta.toolkit.search.attribute;resolution:=option
>  al,org.terracotta.toolkit.store;resolution:=optional,org.w3c.dom,org.
>  xml.sax,weblogic.jdbc.jts;resolution:=optional,weblogic.jdbc.vendor.o
>  racle;resolution:=optional
>
> IMO, above is not correct, then we'll ended up adding more and more
> external dependencies to use this orbit bundle. @Pubudu, Have we tested
> above orbit bundle in any product distribution before doing the release ?
>
> I have checked the pom file of existing orbit release of quartz
> (2.1.1.wso2v1) and it has below entries. IMO, below should be the correct
> way to handle this..
>
>   
> 
> org.apache.felix
> maven-bundle-plugin
> 1.4.0
> true
> 
> 
> ${pom.artifactId} SymbolicName>
> ${pom.artifactId}
> 
> org.quartz.*;version="2.1.1"
> 
> **
> ***
> 
> 
> 
> 
>
> @Thusitha, Nira and team, appreciate your input on this ?
>
> Thanks,
> Mohan
>
> --
> *V. Mohanadarshan*
> *Associate Tech Lead,*
> *Data Technologies Team,*
> *WSO2, Inc. http://wso2.com  *
> *lean.enterprise.middleware.*
>
> email: mo...@wso2.com
> phone:(+94) 771117673 <+94%2077%20111%207673>
>



-- 
Best Regards,

*Pubudu Fernando*
Software Engineer
WSO2, Inc. (www.wso2.com)
m: +94 77 888 2543

  


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


Re: [Dev] Fwd: Possible Bug Reports

2017-07-21 Thread Sagar Kapadia
Hi Chiranga,
please find the link to source of the custom event publisher project.

https://drive.google.com/file/d/0BwqZCw5oc2rwb013Q2hwRTdEY0U/view?usp=sharing


I can run it in Eclipse and it shows the desired output [
Hello World Before!!
Registered Factory
Registered Service
Hello World AFter!!
3 is the id I get when I do ss in the osgi console
However, when I deploy it to WSO2 DAS in the dropins folder, it shows no
messages . When I do "start 3" ,it prints the following error message
gogo: BundleException: The bundle "CustomEventPublisher_1.0.0.201707211505
[3]" could not be resolved. Reason: Missing Constraint: Import-Package:
org.osgi.service.component; version="1.2.2"

This problem did not occur earlier and I seem to have messed up the
configuration of the project somehow. Previously, I used to get a listing
of registered services, on doing "b 3"
I will try to fix this issue , but am sending the code in the mean time
Sincerely,
Sagar


On Fri, Jul 21, 2017 at 1:53 PM, Sagar Kapadia  wrote:

> Hi Chiranga,
> I am using wso2das-3.1.0
> Sagar
>
>
> On Fri, Jul 21, 2017 at 10:36 AM, Chiranga Alwis 
> wrote:
>
>> Hi Sagar,
>>
>> can you please specify the WSO2 Data Analytics Server version you are
>> using, as well?
>>
>> On Thu, Jul 20, 2017 at 11:00 PM, Chiranga Alwis 
>> wrote:
>>
>>> Hi Sagar,
>>>
>>> it would be helpful if you could share the code mentioned in part a. of
>>> your question.
>>>
>>> On Thu, Jul 20, 2017 at 1:02 PM, Chandana Napagoda 
>>> wrote:
>>>
 +Chiranga

 On Thu, Jul 20, 2017 at 11:39 AM, Sagar Kapadia 
 wrote:

>
> -- Forwarded message --
> From: Sagar Kapadia 
> Date: Wed, Jul 19, 2017 at 5:05 PM
> Subject: Possible Bug Reports
> To: dev-requ...@wso2.org, ash...@avinashi.com,
> sa...@cloudnineconsulting.in
>
>
> Hi,
> a. Custom OSGI components are not recognized.
> I created a custom event publisher and copied the jar to dropins
> folder. The start method of the Activator class was called. But the
> activate method was never called. I can share the code if required
> This issue has been reported by someone else previously.
> https://wso2.org/jira/browse/CARBON-12728
>
> I have updated to latest version using WUM.
>
> b. The documentation of sample to create a custom event publisher is
> out of date. The classes have been replaced by interfaces and vice versa 
> in
> the present version of the library
>
> c. Console doesnt show up in windows 7 , similar to this question on
> SO, which hasnt been
> answered yet
>
> https://stackoverflow.com/questions/43608516/new-with-wso2-das
> d. The Http Publisher writes events to the Trace, but does not
> actually do a POST. The configuration is as below
> 
>    trace="enable" xmlns="http://wso2.org/carbon/eventpublisher;>
>   
>   
>   
> 
> HttpPost
> https://requestb.in/1atd4211
>   
> 
> and traces are
> 16:51:26,157 [-] [Grizzly(2)]  INFO EVENT_TRACE_LOGGER TenantId :
> -1234, Event Publisher : RequestBinPublihser2, after processing
> {"event":{"metaData":{"payload":"RT @WernWatt: Net terug van
> #bzacongres The future of firefighting #SmartCity #WearableTechnology
> #verdomdInteressant https://t.co/6AqhU6r3…","topic
> ":"tweets/gesucfator1978"},"payloadData":{"id":887633471555993600,"text":"RT
> @WernWatt: Net terug van #bzacongres The future of firefighting #SmartCity
> #WearableTechnology #verdomdInteressant https://t.co/6AqhU6r3…","creat
> ed_on":null}}}
>
>
>
> I would have filed a bug report, but have forgotten my password and am
> unable to login.
> I sent a mail regarding this, but have not received any reply yet.
> Please confirm whether this bug exists.
>
> We are evaluating WSO2 Data Analytics Server, and need to know if
> there is a bug, or we should be doing something differently.
> Sincerely,
> Sagar R. Kapadia
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 *Chandana Napagoda*
 Associate Technical Lead
 WSO2 Inc. - http://wso2.org

 *Email  :  chand...@wso2.com **Mobile :
 +94718169299 <+94%2071%20816%209299>*

 *Blog  :http://cnapagoda.blogspot.com
  | http://chandana.napagoda.com
 *

 *Linkedin : http://www.linkedin.com/in/chandananapagoda
 *


>>>
>>>
>>> --
>>> Yours sincerely,
>>>
>>> *Chiranga Alwis*
>>> Software Engineer | WSO2
>>>
>>> *Mobile : *+94775930497 

Re: [Dev] Is quartz-2.3.0.wso2v1 orbit bundle created properly ?

2017-07-21 Thread Mohanadarshan Vivekanandalingam
On Fri, Jul 21, 2017 at 12:39 PM, Pubudu Fernando  wrote:

> Hi Mohan,
>
> No, this was not tested in a product distribution. Really sorry about
> that. Will send a PR to fix this as you suggested.
>

No worries Pubudu.. Let's do a orbit release and fix the
carbon-transports..

Thanks,
Mohan


>
> Thanks,
> Pubudu
>
> On Thu, Jul 20, 2017 at 10:19 PM, Mohanadarshan Vivekanandalingam <
> mo...@wso2.com> wrote:
>
>> Hi Team,
>>
>> We have faced below issue after upgrading the carbon-transports version
>> for product-sp milestone release.
>>
>> Cannot complete the install because one or more required items could not
>> be found.
>>  Software being installed: WSO2 MSF4J Feature 2.3.0.m2
>> (org.wso2.msf4j.feature.group 2.3.0.m2)
>>  Missing requirement: quartz 2.3.0.wso2v1 (quartz 2.3.0.wso2v1) requires
>> 'package commonj.work 0.0.0' but it could not be found
>>  Cannot satisfy dependency:
>>   From: WSO2 Carbon Transport Connector Framework Feature 4.4.17
>> (org.wso2.carbon.connector.framework.feature.group 4.4.17)
>>   To: quartz [2.3.0.wso2v1]
>>  Cannot satisfy dependency:
>>   From: WSO2 MSF4J Feature 2.3.0.m2 (org.wso2.msf4j.feature.group
>> 2.3.0.m2)
>>   To: org.wso2.carbon.connector.framework.feature.group [4.3.0.m2,5.0.0)
>>
>> When we analyzed the related orbit bundle, I could see there are some
>> external dependencies are defined in the Import-Package section of the
>> manifest as shown below.
>>
>> Import-Package: com.mchange.v2.c3p0,com.zaxxer.hikari;version="[2.3,3)
>>  ",commonj.work;resolution:=optional,javax.ejb;resolution:=optional,ja
>>  vax.jms;resolution:=optional,javax.mail;resolution:=optional,javax.ma
>>  il.internet;resolution:=optional,javax.management,javax.management.op
>>  enmbean,javax.naming,javax.servlet;resolution:=optional,javax.servlet
>>  .http;resolution:=optional,javax.sql;resolution:=optional,javax.trans
>>  action;resolution:=optional,javax.xml.bind,javax.xml.namespace,javax.
>>  xml.parsers,javax.xml.xpath,oracle.sql;resolution:=optional,org.jboss
>>  .logging;resolution:=optional,org.jboss.naming;resolution:=optional,o
>>  rg.jboss.system;resolution:=optional,org.quartz,org.quartz.impl.match
>>  ers,org.quartz.impl.triggers,org.quartz.jobs;resolution:=optional,org
>>  .quartz.spi,org.slf4j;version="[1.7,2)",org.terracotta.toolkit;resolu
>>  tion:=optional,org.terracotta.toolkit.atomic;resolution:=optional,org
>>  .terracotta.toolkit.builder;resolution:=optional,org.terracotta.toolk
>>  it.cluster;resolution:=optional,org.terracotta.toolkit.collections;re
>>  solution:=optional,org.terracotta.toolkit.concurrent.locks;resolution
>>  :=optional,org.terracotta.toolkit.config;resolution:=optional,org.ter
>>  racotta.toolkit.internal;resolution:=optional,org.terracotta.toolkit.
>>  internal.concurrent.locks;resolution:=optional,org.terracotta.toolkit
>>  .rejoin;resolution:=optional,org.terracotta.toolkit.search;resolution
>>  :=optional,org.terracotta.toolkit.search.attribute;resolution:=option
>>  al,org.terracotta.toolkit.store;resolution:=optional,org.w3c.dom,org.
>>  xml.sax,weblogic.jdbc.jts;resolution:=optional,weblogic.jdbc.vendor.o
>>  racle;resolution:=optional
>>
>> IMO, above is not correct, then we'll ended up adding more and more
>> external dependencies to use this orbit bundle. @Pubudu, Have we tested
>> above orbit bundle in any product distribution before doing the release ?
>>
>> I have checked the pom file of existing orbit release of quartz
>> (2.1.1.wso2v1) and it has below entries. IMO, below should be the correct
>> way to handle this..
>>
>>   
>> 
>> org.apache.felix
>> maven-bundle-plugin
>> 1.4.0
>> true
>> 
>> 
>> ${pom.art
>> ifactId}
>> ${pom.artifactId}
>> 
>> org.quartz.*;version="2.1.1"
>> 
>> **
>> ***
>> 
>> 
>> 
>> 
>>
>> @Thusitha, Nira and team, appreciate your input on this ?
>>
>> Thanks,
>> Mohan
>>
>> --
>> *V. Mohanadarshan*
>> *Associate Tech Lead,*
>> *Data Technologies Team,*
>> *WSO2, Inc. http://wso2.com  *
>> *lean.enterprise.middleware.*
>>
>> email: mo...@wso2.com
>> phone:(+94) 771117673 <+94%2077%20111%207673>
>>
>
>
>
> --
> Best Regards,
>
> *Pubudu Fernando*
> Software Engineer
> WSO2, Inc. (www.wso2.com)
> m: +94 77 888 2543 <+94%2077%20888%202543>
>
>   
> 
> 
>
>


-- 
*V. Mohanadarshan*
*Associate Tech Lead,*
*Data Technologies Team,*
*WSO2, Inc. http://wso2.com  *
*lean.enterprise.middleware.*

email: mo...@wso2.com
phone:(+94) 771117673
___
Dev mailing list

Re: [Dev] [IS]User account locking

2017-07-21 Thread Isura Karunaratne
Hi Hanen,

I guess you have not enabled Account Lock from Resident IDP UI. As Hasanthi
pointed out, try the docs and let us know the feedback.

Thanks
Isura.

On Fri, Jul 21, 2017 at 1:33 PM, Hasanthi Purnima Dissanayake <
hasan...@wso2.com> wrote:

> Hi Hanen,
>
> Yes the feature is tested in IS 5.3.0. Did you configure. Please refer the
> 'Configuring the WSO2 Identity Server for account locking' part of [1]. In
> IS 5.3.0 we need to configure some properties using UI as well. So please
> use the document to configure account locking in IS 5.3.0. If still you
> can't make this to work please get back to us.
>
> [1] https://docs.wso2.com/display/IS530/User+Account+Locking+
> and+Account+Disabling#04a3bc93b073466dae2c618e35801c93
>
> Thanks,
> Hasanthi
>
>
> Hasanthi Dissanayake
>
> Software Engineer | WSO2
>
> E: hasan...@wso2.com
> M :0718407133| http://wso2.com 
>
> On Fri, Jul 21, 2017 at 1:02 PM, Hanen Ben Rhouma 
> wrote:
>
>> Hello guys,
>>
>> I have a question related to user account locking. I tried locking admin
>> and even a simple user (with only login permission) via GUI as well as via
>> SOAP call but nothing worked, the accounts are still able to login. Was
>> this feature tested for the 5.3.0 version?
>>
>>
>> Regards,
>> Hanen
>>
>> ___
>> 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
>
>


-- 

*Isura Dilhara Karunaratne*
Senior Software Engineer | WSO2
Email: is...@wso2.com
Mob : +94 772 254 810
Blog : http://isurad.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] Admin/Tenant Admin Users cannot be filtered to get the SCIM ID

2017-07-21 Thread Gayan Gunawardana
Whatever the implementation behavior should be identical among user list
command and user filter command. With new implementation if admin user has
SCIM ID it will be returned from both list and filter.

On Fri, Jul 21, 2017 at 2:17 PM, Hasanthi Purnima Dissanayake <
hasan...@wso2.com> wrote:

> Hi Indunil,
>
> Please refer following mail in Architecture [1]. Seems Sathya is going to
> provide SCIM support for admin users by generating admin users' SCIM
> userId. After this implementation it seems this issue will be fixed.
>
> [1] mail : [Architecture] [IS] SCIM Support for Admin Users
>
> Thanks,
>
> Hasanthi Dissanayake
>
> Software Engineer | WSO2
>
> E: hasan...@wso2.com
> M :0718407133| http://wso2.com 
>
> On Fri, Jul 21, 2017 at 2:11 PM, Gayan Gunawardana  wrote:
>
>>
>>
>> On Fri, Jul 21, 2017 at 2:06 PM, Indunil Upeksha Rathnayake <
>> indu...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> I have checked followings with IS 5.3.0 WUM updated pack.
>>>
>>> 1) List users
>>> curl -v -k --user admin:admin https://localhost:9443/wso2/scim/Users
>>> Result: *{"Errors":[{"description":"Users not found in the user
>>> store.","code":"404"}]}*
>>>
>>> 2) Filter admin user
>>> curl -v -k --user admin:admin https://localhost:9443/wso2/sc
>>> im/Users?filter=userName+Eq+%22admin%22
>>> Result:
>>> *{"schemas":["urn:scim:schemas:core:1.0"],"totalResults":1,"Resources":[{"userName":"admin"}]}*
>>>
>>> Seems like there is a contradiction here. When listing all the users,
>>> admin user details won't retrieved, but retrieved with the filtering. Since
>>> admin user doesn't have a SCIM ID, it shouldn't retrieved in any scenarios.
>>> WDT?
>>>
>> Yes so filter command should not return admin user if it doesn't have
>> SCIM ID.
>>
>>>
>>> Thanks and Regards
>>>
>>>
>>> On Fri, Nov 6, 2015 at 9:33 AM, Nadeesha Meegoda 
>>> wrote:
>>>
 Thanks Chamila. Unerstood!

 On Thu, Nov 5, 2015 at 9:48 PM, Chamila Wijayarathna 
 wrote:

> Hi Nadeesha,
>
> As I mentioned in my previous mail, super admin and tenant admin are
> not created with a SCIM ID, so you can't retrieve them using SCIM GET.
>
> I was suggesting above request to get other users of tenant, if you
> are interested, since the command you were using previously for retrieving
> tenant users were wrong.
>
> Thanks
>
> On Thu, Nov 5, 2015 at 5:03 PM, Nadeesha Meegoda 
> wrote:
>
>> Hi all,
>>
>> So I requested to get the SCIM ID as what Chamila mentioned by the
>> following command
>> curl -v -k --user ten...@new.com:123456
>> https://localhost:9443/wso2/scim/Users?filter=userNameEqtenant
>>
>> But still this doesn't give any result only a http 404 error. So
>> tenant admins also are considered for the special flaw?
>>
>> On Thu, Nov 5, 2015 at 3:41 PM, Gayan Gunawardana 
>> wrote:
>>
>>>
>>>
>>> On Thu, Nov 5, 2015 at 3:13 PM, Darshana Gunawardana <
>>> darsh...@wso2.com> wrote:
>>>


 On Thu, Nov 5, 2015 at 12:45 PM, Gayan Gunawardana 
 wrote:

>
>
> On Thu, Nov 5, 2015 at 11:26 AM, Chamila Wijayarathna <
> cham...@wso2.com> wrote:
>
>> Hi Nadeesha,
>>
>> When creating super admin or tenant admin users, they don't get
>> created with a SCIM ID since they are considered as special users in 
>> IS.
>> Because of this when listing users through scim, those users will 
>> not get
>> listed.
>> But if you want, you can add a SCIM ID manually by updating the
>> user and then you will be able to list the also as SCIM Users.
>>
>> When listing users of tenants, you need to use credentials of
>> tenant admin users. When sending SCIM request with admin:admin, you 
>> will
>> only see users at super tenant. Also for filter, don't use @
>> tenant.com, because if u logged in as tenant admin and list
>> users, there you won't see user name with @tenant.com, so your
>> curl command to filter a user at tenant should be as follows.
>>
>> curl -v -k --user ad...@tenant.com:admin123 http
>> s://localhost:9443/wso2/scim/Users?filter=userNameEqtenant
>> 
>>
>> Thanks
>>
>> On Wed, Nov 4, 2015 at 8:40 PM, Nadeesha Meegoda <
>> nadees...@wso2.com> wrote:
>>
>>> Hi Chamila,
>>>
>>> I'm using the embedded ldap which comes default in IS. In that
>>> SCIM comes enabled as default.
>>>
>>> On Wed, Nov 4, 2015 at 6:27 PM, Chamila Wijayarathna <
>>> cham...@wso2.com> wrote:
>>>
 Hi Nadeesha,

Re: [Dev] WSO2 EI 6.1.1 MessageTracer

2017-07-21 Thread Sashika Wijesinghe
Hi Melodias,

You can use the EI 6.1.1 analytics profile for message tracing. For more
information refer [1].

[1] https://docs.wso2.com/display/EI611/WSO2+Enterprise+Integrator+Analytics

Regards,
Sashika

On Fri, Jul 21, 2017 at 2:15 PM, Melodias  wrote:

> Hi dev,
> Is there an option to enable MessageTracer in integrator?
>
>
>
> --
> View this message in context: http://wso2-oxygen-tank.10903.
> n7.nabble.com/WSO2-EI-6-1-1-MessageTracer-tp150502.html
> Sent from the WSO2 Development mailing list archive at Nabble.com.
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>



-- 

*Sashika WijesingheSoftware Engineer - QA Team*
Mobile : +94 (0) 774537487
sash...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] Admin/Tenant Admin Users cannot be filtered to get the SCIM ID

2017-07-21 Thread Gayan Gunawardana
On Fri, Jul 21, 2017 at 2:06 PM, Indunil Upeksha Rathnayake <
indu...@wso2.com> wrote:

> Hi,
>
> I have checked followings with IS 5.3.0 WUM updated pack.
>
> 1) List users
> curl -v -k --user admin:admin https://localhost:9443/wso2/scim/Users
> Result: *{"Errors":[{"description":"Users not found in the user
> store.","code":"404"}]}*
>
> 2) Filter admin user
> curl -v -k --user admin:admin https://localhost:9443/wso2/
> scim/Users?filter=userName+Eq+%22admin%22
> Result:
> *{"schemas":["urn:scim:schemas:core:1.0"],"totalResults":1,"Resources":[{"userName":"admin"}]}*
>
> Seems like there is a contradiction here. When listing all the users,
> admin user details won't retrieved, but retrieved with the filtering. Since
> admin user doesn't have a SCIM ID, it shouldn't retrieved in any scenarios.
> WDT?
>
Yes so filter command should not return admin user if it doesn't have SCIM
ID.

>
> Thanks and Regards
>
>
> On Fri, Nov 6, 2015 at 9:33 AM, Nadeesha Meegoda 
> wrote:
>
>> Thanks Chamila. Unerstood!
>>
>> On Thu, Nov 5, 2015 at 9:48 PM, Chamila Wijayarathna 
>> wrote:
>>
>>> Hi Nadeesha,
>>>
>>> As I mentioned in my previous mail, super admin and tenant admin are not
>>> created with a SCIM ID, so you can't retrieve them using SCIM GET.
>>>
>>> I was suggesting above request to get other users of tenant, if you are
>>> interested, since the command you were using previously for retrieving
>>> tenant users were wrong.
>>>
>>> Thanks
>>>
>>> On Thu, Nov 5, 2015 at 5:03 PM, Nadeesha Meegoda 
>>> wrote:
>>>
 Hi all,

 So I requested to get the SCIM ID as what Chamila mentioned by the
 following command
 curl -v -k --user ten...@new.com:123456 https://localhost:9443/wso2/sc
 im/Users?filter=userNameEqtenant

 But still this doesn't give any result only a http 404 error. So tenant
 admins also are considered for the special flaw?

 On Thu, Nov 5, 2015 at 3:41 PM, Gayan Gunawardana 
 wrote:

>
>
> On Thu, Nov 5, 2015 at 3:13 PM, Darshana Gunawardana <
> darsh...@wso2.com> wrote:
>
>>
>>
>> On Thu, Nov 5, 2015 at 12:45 PM, Gayan Gunawardana 
>> wrote:
>>
>>>
>>>
>>> On Thu, Nov 5, 2015 at 11:26 AM, Chamila Wijayarathna <
>>> cham...@wso2.com> wrote:
>>>
 Hi Nadeesha,

 When creating super admin or tenant admin users, they don't get
 created with a SCIM ID since they are considered as special users in 
 IS.
 Because of this when listing users through scim, those users will not 
 get
 listed.
 But if you want, you can add a SCIM ID manually by updating the
 user and then you will be able to list the also as SCIM Users.

 When listing users of tenants, you need to use credentials of
 tenant admin users. When sending SCIM request with admin:admin, you 
 will
 only see users at super tenant. Also for filter, don't use @
 tenant.com, because if u logged in as tenant admin and list users,
 there you won't see user name with @tenant.com, so your curl
 command to filter a user at tenant should be as follows.

 curl -v -k --user ad...@tenant.com:admin123 http
 s://localhost:9443/wso2/scim/Users?filter=userNameEqtenant
 

 Thanks

 On Wed, Nov 4, 2015 at 8:40 PM, Nadeesha Meegoda <
 nadees...@wso2.com> wrote:

> Hi Chamila,
>
> I'm using the embedded ldap which comes default in IS. In that
> SCIM comes enabled as default.
>
> On Wed, Nov 4, 2015 at 6:27 PM, Chamila Wijayarathna <
> cham...@wso2.com> wrote:
>
>> Hi Nadeesha,
>>
>> What is the value of SCIMEnabled configuration in your
>> user-mgt.xml?
>>
>> Are you using LDAP or JDBC user store manager?
>>
> @Chamila
>>>
>>> admin user is added in very fist server start up by calling
>>> "addInitialAdminData" in AbstractUserStoreManager. In embedded ldap
>>> scenario concrete "doAddUser" method will be invoked in
>>> ReadWriteLDAPUserStoreManager so user will be directly added to user 
>>> store
>>> without going through SCIM listener (without going through any 
>>> listener).
>>> Since there is no SCIM listener engagement SCIM ID will not be added to
>>> user store.
>>>
>>> I am not sure about we are not getting SCIM ID just because of admin
>>> user is a special user or kind of implementation we have right now.
>>>
>>
>> Chamila checked with me on this and he meant admin user is special
>> due to the same reason you explained above. Basically admin user is 
>> created
>> through 

Re: [Dev] [VOTE] Release WSO2 Carbon Kernel 4.4.17 RC2

2017-07-21 Thread Thusitha Thilina Dayaratne
Hi Isshara,

We have already called the vote for RC3. But due to an issue, we had to
drop that as well. Will call the RC4 vote ASAP.

Mail thread - "[VOTE] Release WSO2 Carbon Kernel 4.4.17 RC3"

Thanks
Thusitha

On Fri, Jul 21, 2017 at 1:16 PM, Ishara Karunarathna 
wrote:

> HI Chandana,
>
> IS team is waiting on this kernel release.
> You have already fixed the issue raised by Lahiru. Can you give us an
> update of this release.
>
> -Ishara
>
> On Wed, Jul 19, 2017 at 12:45 PM, Lahiru Manohara 
> wrote:
>
>> Hi Chandana,
>>
>> I have created an issue [1].
>>
>> 1. https://github.com/wso2/carbon-kernel/issues/1442
>>
>> Best Regards,
>>
>> On Wed, Jul 19, 2017 at 11:56 AM, Chandana Napagoda 
>> wrote:
>>
>>> Hi All,
>>>
>>> We are dropping the carbon kernel 4.4.17 RC2 and will share the new
>>> release candidate soon.
>>>
>>> @Lahiru, Could you please create an issue for this?
>>>
>>> Regards,
>>> Chandana
>>>
>>> On Tue, Jul 18, 2017 at 2:45 PM, Lahiru Manohara 
>>> wrote:
>>>
 The provided public certificate in the default keystore is expired. It
 is issued only for 3 months and it is already expired. Please update the
 certificate with a longer duration.

 [x] Broken - Do not release

 Best Regards,

 On Fri, Jul 14, 2017 at 11:40 PM, Rushmin Fernando 
 wrote:

> Built IS 5.x.x branch with the integrations tests.
>
> Manually tested user management.
>   1) In tenants
>   2) Using the embedded LDAP primary user store
>   3) Using a JDBC secondary user store
>
>
> Found no issues.
>
> [ x] Stable  - Go ahead and release
>
> On Fri, Jul 14, 2017 at 2:04 PM, Chandana Napagoda 
> wrote:
>
>> Hi All,
>>
>> This is the 2nd release candidate of WSO2 Carbon Kernel 4.4.17.
>>
>> This release fixes the following issues
>> https://github.com/wso2/carbon-kernel/milestone/15?closed=1
>>
>> Please download and test your products with kernel 4.4.17 RC2 and
>> vote. The vote will be open for 72 hours or as long as needed.
>>
>> Maven staging repository:
>> https://maven.wso2.org/nexus/content/repositories/orgwso2carbon-1184/
>>
>> The tag to be voted upon:
>> https://github.com/wso2/carbon-kernel/releases/tag/v4.4.17-rc2
>>
>> [ ] Broken - Do not release (explain why)
>> [ ] Stable  - Go ahead and release
>>
>> Thank you
>> Platform Team
>>
>> --
>> *Chandana Napagoda*
>> Associate Technical Lead
>> WSO2 Inc. - http://wso2.org
>>
>> *Email  :  chand...@wso2.com **Mobile :
>> +94718169299 <+94%2071%20816%209299>*
>>
>> *Blog  :http://cnapagoda.blogspot.com
>>  | http://chandana.napagoda.com
>> *
>>
>> *Linkedin : http://www.linkedin.com/in/chandananapagoda
>> *
>>
>>
>
>
> --
> *Best Regards*
>
> *Rushmin Fernando*
> *Technical Lead*
>
> WSO2 Inc.  - Lean . Enterprise . Middleware
>
> mobile : +94775615183
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 *Lahiru Manohara*
 *Software Engineer*
 Mobile: +94716561576
 WSO2 Inc. | http://wso2.com
 lean.enterprise.middleware


>>>
>>>
>>> --
>>> *Chandana Napagoda*
>>> Associate Technical Lead
>>> WSO2 Inc. - http://wso2.org
>>>
>>> *Email  :  chand...@wso2.com **Mobile : +94718169299
>>> <+94%2071%20816%209299>*
>>>
>>> *Blog  :http://cnapagoda.blogspot.com
>>>  | http://chandana.napagoda.com
>>> *
>>>
>>> *Linkedin : http://www.linkedin.com/in/chandananapagoda
>>> *
>>>
>>>
>>
>>
>> --
>> *Lahiru Manohara*
>> *Software Engineer*
>> Mobile: +94716561576
>> WSO2 Inc. | http://wso2.com
>> lean.enterprise.middleware
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Ishara Karunarathna
> Associate Technical Lead
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> email: isha...@wso2.com,   blog: isharaaruna.blogspot.com,   mobile:
> +94717996791 <+94%2071%20799%206791>
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thusitha Dayaratne
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

Mobile  +94712756809
Blog  alokayasoya.blogspot.com
Abouthttp://about.me/thusithathilina


Re: [Dev] Fwd: Possible Bug Reports

2017-07-21 Thread Sagar Kapadia
Hi Chiranga,
I am using wso2das-3.1.0
Sagar


On Fri, Jul 21, 2017 at 10:36 AM, Chiranga Alwis  wrote:

> Hi Sagar,
>
> can you please specify the WSO2 Data Analytics Server version you are
> using, as well?
>
> On Thu, Jul 20, 2017 at 11:00 PM, Chiranga Alwis 
> wrote:
>
>> Hi Sagar,
>>
>> it would be helpful if you could share the code mentioned in part a. of
>> your question.
>>
>> On Thu, Jul 20, 2017 at 1:02 PM, Chandana Napagoda 
>> wrote:
>>
>>> +Chiranga
>>>
>>> On Thu, Jul 20, 2017 at 11:39 AM, Sagar Kapadia 
>>> wrote:
>>>

 -- Forwarded message --
 From: Sagar Kapadia 
 Date: Wed, Jul 19, 2017 at 5:05 PM
 Subject: Possible Bug Reports
 To: dev-requ...@wso2.org, ash...@avinashi.com,
 sa...@cloudnineconsulting.in


 Hi,
 a. Custom OSGI components are not recognized.
 I created a custom event publisher and copied the jar to dropins
 folder. The start method of the Activator class was called. But the
 activate method was never called. I can share the code if required
 This issue has been reported by someone else previously.
 https://wso2.org/jira/browse/CARBON-12728

 I have updated to latest version using WUM.

 b. The documentation of sample to create a custom event publisher is
 out of date. The classes have been replaced by interfaces and vice versa in
 the present version of the library

 c. Console doesnt show up in windows 7 , similar to this question on
 SO, which hasnt been
 answered yet

 https://stackoverflow.com/questions/43608516/new-with-wso2-das
 d. The Http Publisher writes events to the Trace, but does not actually
 do a POST. The configuration is as below
 
 >>>   trace="enable" xmlns="http://wso2.org/carbon/eventpublisher;>
   
   
   
 
 HttpPost
 https://requestb.in/1atd4211
   
 
 and traces are
 16:51:26,157 [-] [Grizzly(2)]  INFO EVENT_TRACE_LOGGER TenantId :
 -1234, Event Publisher : RequestBinPublihser2, after processing
 {"event":{"metaData":{"payload":"RT @WernWatt: Net terug van
 #bzacongres The future of firefighting #SmartCity #WearableTechnology
 #verdomdInteressant https://t.co/6AqhU6r3…","topic
 ":"tweets/gesucfator1978"},"payloadData":{"id":887633471555993600,"text":"RT
 @WernWatt: Net terug van #bzacongres The future of firefighting #SmartCity
 #WearableTechnology #verdomdInteressant https://t.co/6AqhU6r3…","creat
 ed_on":null}}}



 I would have filed a bug report, but have forgotten my password and am
 unable to login.
 I sent a mail regarding this, but have not received any reply yet.
 Please confirm whether this bug exists.

 We are evaluating WSO2 Data Analytics Server, and need to know if
 there is a bug, or we should be doing something differently.
 Sincerely,
 Sagar R. Kapadia


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


>>>
>>>
>>> --
>>> *Chandana Napagoda*
>>> Associate Technical Lead
>>> WSO2 Inc. - http://wso2.org
>>>
>>> *Email  :  chand...@wso2.com **Mobile : +94718169299
>>> <+94%2071%20816%209299>*
>>>
>>> *Blog  :http://cnapagoda.blogspot.com
>>>  | http://chandana.napagoda.com
>>> *
>>>
>>> *Linkedin : http://www.linkedin.com/in/chandananapagoda
>>> *
>>>
>>>
>>
>>
>> --
>> Yours sincerely,
>>
>> *Chiranga Alwis*
>> Software Engineer | WSO2
>>
>> *Mobile : *+94775930497 <+94%2077%20593%200497>
>> *Email: *chirangaal...@gmail.com
>> *LinkedIn: *https://lk.linkedin.com/in/chiranga-alwis-391342a9
>>
>> 
>>
>
>
>
> --
> Yours sincerely,
>
> *Chiranga Alwis*
> Software Engineer | WSO2
>
> *Mobile : *+94775930497
> *Email: *chirangaal...@gmail.com
> *LinkedIn: *https://lk.linkedin.com/in/chiranga-alwis-391342a9
>
> 
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 EI 6.1.1 MessageTracer

2017-07-21 Thread Melodias
Hi dev,
Is there an option to enable MessageTracer in integrator?



--
View this message in context: 
http://wso2-oxygen-tank.10903.n7.nabble.com/WSO2-EI-6-1-1-MessageTracer-tp150502.html
Sent from the WSO2 Development mailing list archive at Nabble.com.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [IS]User account locking

2017-07-21 Thread Hanen Ben Rhouma
Hello guys,

I have a question related to user account locking. I tried locking admin
and even a simple user (with only login permission) via GUI as well as via
SOAP call but nothing worked, the accounts are still able to login. Was
this feature tested for the 5.3.0 version?


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


Re: [Dev] [VOTE] Release WSO2 Carbon Kernel 4.4.17 RC2

2017-07-21 Thread Ishara Karunarathna
HI Chandana,

IS team is waiting on this kernel release.
You have already fixed the issue raised by Lahiru. Can you give us an
update of this release.

-Ishara

On Wed, Jul 19, 2017 at 12:45 PM, Lahiru Manohara  wrote:

> Hi Chandana,
>
> I have created an issue [1].
>
> 1. https://github.com/wso2/carbon-kernel/issues/1442
>
> Best Regards,
>
> On Wed, Jul 19, 2017 at 11:56 AM, Chandana Napagoda 
> wrote:
>
>> Hi All,
>>
>> We are dropping the carbon kernel 4.4.17 RC2 and will share the new
>> release candidate soon.
>>
>> @Lahiru, Could you please create an issue for this?
>>
>> Regards,
>> Chandana
>>
>> On Tue, Jul 18, 2017 at 2:45 PM, Lahiru Manohara 
>> wrote:
>>
>>> The provided public certificate in the default keystore is expired. It
>>> is issued only for 3 months and it is already expired. Please update the
>>> certificate with a longer duration.
>>>
>>> [x] Broken - Do not release
>>>
>>> Best Regards,
>>>
>>> On Fri, Jul 14, 2017 at 11:40 PM, Rushmin Fernando 
>>> wrote:
>>>
 Built IS 5.x.x branch with the integrations tests.

 Manually tested user management.
   1) In tenants
   2) Using the embedded LDAP primary user store
   3) Using a JDBC secondary user store


 Found no issues.

 [ x] Stable  - Go ahead and release

 On Fri, Jul 14, 2017 at 2:04 PM, Chandana Napagoda 
 wrote:

> Hi All,
>
> This is the 2nd release candidate of WSO2 Carbon Kernel 4.4.17.
>
> This release fixes the following issues
> https://github.com/wso2/carbon-kernel/milestone/15?closed=1
>
> Please download and test your products with kernel 4.4.17 RC2 and
> vote. The vote will be open for 72 hours or as long as needed.
>
> Maven staging repository:
> https://maven.wso2.org/nexus/content/repositories/orgwso2carbon-1184/
>
> The tag to be voted upon:
> https://github.com/wso2/carbon-kernel/releases/tag/v4.4.17-rc2
>
> [ ] Broken - Do not release (explain why)
> [ ] Stable  - Go ahead and release
>
> Thank you
> Platform Team
>
> --
> *Chandana Napagoda*
> Associate Technical Lead
> WSO2 Inc. - http://wso2.org
>
> *Email  :  chand...@wso2.com **Mobile :
> +94718169299 <+94%2071%20816%209299>*
>
> *Blog  :http://cnapagoda.blogspot.com
>  | http://chandana.napagoda.com
> *
>
> *Linkedin : http://www.linkedin.com/in/chandananapagoda
> *
>
>


 --
 *Best Regards*

 *Rushmin Fernando*
 *Technical Lead*

 WSO2 Inc.  - Lean . Enterprise . Middleware

 mobile : +94775615183



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


>>>
>>>
>>> --
>>> *Lahiru Manohara*
>>> *Software Engineer*
>>> Mobile: +94716561576
>>> WSO2 Inc. | http://wso2.com
>>> lean.enterprise.middleware
>>>
>>>
>>
>>
>> --
>> *Chandana Napagoda*
>> Associate Technical Lead
>> WSO2 Inc. - http://wso2.org
>>
>> *Email  :  chand...@wso2.com **Mobile : +94718169299
>> <+94%2071%20816%209299>*
>>
>> *Blog  :http://cnapagoda.blogspot.com 
>> | http://chandana.napagoda.com *
>>
>> *Linkedin : http://www.linkedin.com/in/chandananapagoda
>> *
>>
>>
>
>
> --
> *Lahiru Manohara*
> *Software Engineer*
> Mobile: +94716561576
> WSO2 Inc. | http://wso2.com
> lean.enterprise.middleware
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Ishara Karunarathna
Associate Technical Lead
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

email: isha...@wso2.com,   blog: isharaaruna.blogspot.com,   mobile:
+94717996791
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS]User account locking

2017-07-21 Thread Hasanthi Purnima Dissanayake
Hi Hanen,

Yes the feature is tested in IS 5.3.0. Did you configure. Please refer the
'Configuring the WSO2 Identity Server for account locking' part of [1]. In
IS 5.3.0 we need to configure some properties using UI as well. So please
use the document to configure account locking in IS 5.3.0. If still you
can't make this to work please get back to us.

[1]
https://docs.wso2.com/display/IS530/User+Account+Locking+and+Account+Disabling#04a3bc93b073466dae2c618e35801c93

Thanks,
Hasanthi


Hasanthi Dissanayake

Software Engineer | WSO2

E: hasan...@wso2.com
M :0718407133| http://wso2.com 

On Fri, Jul 21, 2017 at 1:02 PM, Hanen Ben Rhouma 
wrote:

> Hello guys,
>
> I have a question related to user account locking. I tried locking admin
> and even a simple user (with only login permission) via GUI as well as via
> SOAP call but nothing worked, the accounts are still able to login. Was
> this feature tested for the 5.3.0 version?
>
>
> Regards,
> Hanen
>
> ___
> 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] [IS] Admin/Tenant Admin Users cannot be filtered to get the SCIM ID

2017-07-21 Thread Hasanthi Purnima Dissanayake
Hi Indunil,

Please refer following mail in Architecture [1]. Seems Sathya is going to
provide SCIM support for admin users by generating admin users' SCIM
userId. After this implementation it seems this issue will be fixed.

[1] mail : [Architecture] [IS] SCIM Support for Admin Users

Thanks,

Hasanthi Dissanayake

Software Engineer | WSO2

E: hasan...@wso2.com
M :0718407133| http://wso2.com 

On Fri, Jul 21, 2017 at 2:11 PM, Gayan Gunawardana  wrote:

>
>
> On Fri, Jul 21, 2017 at 2:06 PM, Indunil Upeksha Rathnayake <
> indu...@wso2.com> wrote:
>
>> Hi,
>>
>> I have checked followings with IS 5.3.0 WUM updated pack.
>>
>> 1) List users
>> curl -v -k --user admin:admin https://localhost:9443/wso2/scim/Users
>> Result: *{"Errors":[{"description":"Users not found in the user
>> store.","code":"404"}]}*
>>
>> 2) Filter admin user
>> curl -v -k --user admin:admin https://localhost:9443/wso2/sc
>> im/Users?filter=userName+Eq+%22admin%22
>> Result:
>> *{"schemas":["urn:scim:schemas:core:1.0"],"totalResults":1,"Resources":[{"userName":"admin"}]}*
>>
>> Seems like there is a contradiction here. When listing all the users,
>> admin user details won't retrieved, but retrieved with the filtering. Since
>> admin user doesn't have a SCIM ID, it shouldn't retrieved in any scenarios.
>> WDT?
>>
> Yes so filter command should not return admin user if it doesn't have SCIM
> ID.
>
>>
>> Thanks and Regards
>>
>>
>> On Fri, Nov 6, 2015 at 9:33 AM, Nadeesha Meegoda 
>> wrote:
>>
>>> Thanks Chamila. Unerstood!
>>>
>>> On Thu, Nov 5, 2015 at 9:48 PM, Chamila Wijayarathna 
>>> wrote:
>>>
 Hi Nadeesha,

 As I mentioned in my previous mail, super admin and tenant admin are
 not created with a SCIM ID, so you can't retrieve them using SCIM GET.

 I was suggesting above request to get other users of tenant, if you are
 interested, since the command you were using previously for retrieving
 tenant users were wrong.

 Thanks

 On Thu, Nov 5, 2015 at 5:03 PM, Nadeesha Meegoda 
 wrote:

> Hi all,
>
> So I requested to get the SCIM ID as what Chamila mentioned by the
> following command
> curl -v -k --user ten...@new.com:123456 https://localhost:9443/wso2/sc
> im/Users?filter=userNameEqtenant
>
> But still this doesn't give any result only a http 404 error. So
> tenant admins also are considered for the special flaw?
>
> On Thu, Nov 5, 2015 at 3:41 PM, Gayan Gunawardana 
> wrote:
>
>>
>>
>> On Thu, Nov 5, 2015 at 3:13 PM, Darshana Gunawardana <
>> darsh...@wso2.com> wrote:
>>
>>>
>>>
>>> On Thu, Nov 5, 2015 at 12:45 PM, Gayan Gunawardana 
>>> wrote:
>>>


 On Thu, Nov 5, 2015 at 11:26 AM, Chamila Wijayarathna <
 cham...@wso2.com> wrote:

> Hi Nadeesha,
>
> When creating super admin or tenant admin users, they don't get
> created with a SCIM ID since they are considered as special users in 
> IS.
> Because of this when listing users through scim, those users will not 
> get
> listed.
> But if you want, you can add a SCIM ID manually by updating the
> user and then you will be able to list the also as SCIM Users.
>
> When listing users of tenants, you need to use credentials of
> tenant admin users. When sending SCIM request with admin:admin, you 
> will
> only see users at super tenant. Also for filter, don't use @
> tenant.com, because if u logged in as tenant admin and list
> users, there you won't see user name with @tenant.com, so your
> curl command to filter a user at tenant should be as follows.
>
> curl -v -k --user ad...@tenant.com:admin123 http
> s://localhost:9443/wso2/scim/Users?filter=userNameEqtenant
> 
>
> Thanks
>
> On Wed, Nov 4, 2015 at 8:40 PM, Nadeesha Meegoda <
> nadees...@wso2.com> wrote:
>
>> Hi Chamila,
>>
>> I'm using the embedded ldap which comes default in IS. In that
>> SCIM comes enabled as default.
>>
>> On Wed, Nov 4, 2015 at 6:27 PM, Chamila Wijayarathna <
>> cham...@wso2.com> wrote:
>>
>>> Hi Nadeesha,
>>>
>>> What is the value of SCIMEnabled configuration in your
>>> user-mgt.xml?
>>>
>>> Are you using LDAP or JDBC user store manager?
>>>
>> @Chamila

 admin user is added in very fist server start up by calling
 "addInitialAdminData" in AbstractUserStoreManager. In embedded ldap
 scenario concrete "doAddUser" method will be invoked in
 

Re: [Dev] Mail Attachment

2017-07-21 Thread Hariprasath Thanarajah
Hi Malaka,

For the moment we can't able send a mail with attachment using gmail
connector. The issue can be track in the public jira[1],

[1] - https://wso2.org/jira/browse/ESBCONNECT-214

On Fri, Jul 21, 2017 at 7:59 PM, Malaka Silva  wrote:

> Hi Amit,
>
> Can you provide more details how are you sending the mail. Are you using
> ESB SMTP transport or GMail connector?
>
> We can send messages with attachments using gmail connector. [1]
>
> @Haprprasath - Can we do the same use case with GMail connector?
>
> [1] https://docs.wso2.com/display/ESBCONNECTORS/Working+
> with+Messages+in+Gmail#WorkingwithMessagesinGmail-sendMailWithAttachment
>
> + wso2 dev
>
> -- Forwarded message --
> From: Amit Rajvanshi 
> Date: Fri, Jul 21, 2017 at 2:45 PM
> Subject: Mail Attachment
> To: Malaka Silva 
>
>
> Hi Malaka,
>
>
>
> Could you please help me , I have stuck in the middle of development in
> WSO2 ESB.
>
> I need to attach a file (available on system directory) while sending the
> mail through a sequence mediator.
>
> Any reference will be appreciated.
>
>
>
> 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.
>
>
> 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.
>
>
>
> --
>
> Best Regards,
>
> Malaka Silva
> Associate Director / Architect
> 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/
> 
> https://store.wso2.com/store/
>
> Don't make Trees rare, we should keep them with care
>



-- 


*Thank you and Regards,**Hariprasath Thanarajah*
Software Engineer | WSO2
E: haripras...@wso2.com
M: +94 75 2806528, +94 77 7216903
Blog: hariwso2.blogspot.com

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

WSO2, Inc.
lean . enterprise . middleware

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


Re: [Dev] Error while building carbon-apimgt.

2017-07-21 Thread Nadeeshani Pathirennehelage
Hi,

Full error log is attached herewith.

Thank you.

On Fri, Jul 21, 2017 at 4:03 PM, Nadeeshani Pathirennehelage <
nadeesha...@wso2.com> wrote:

> Hi All,
>
> I got this issue while trying to build carbon-apimgt using Java 8.
>
> First got an error saying to install npm.
>
> *Before installing npm*
>
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time: 03:33 min
> [INFO] Finished at: 2017-07-21T14:04:07+05:30
> [INFO] Final Memory: 139M/2662M
> [INFO] 
> 
> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec
> (npm install (initialize)) on project 
> org.wso2.carbon.apimgt.publisher.feature:
> Command execution failed. Cannot run program "npm" (in directory
> "/home/tharindu/CODEBASE/GIT/WSO2/carbon-apimgt/features/
> apimgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/publisher"):
> error=2, No such file or directory -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/
> MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn  -rf :org.wso2.carbon.apimgt.publisher.feature
>
>
>
>
> *After installing npm*
> I tried installing npm in the following two ways:
> Ubuntu 15.06 - npm version 1.4.21 in ubuntu software center.
> Ubuntu 16.06 - npm version 3.5.2 in ubuntu software center.
>
> Then I got the following error.
>
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time: 02:52 min
> [INFO] Finished at: 2017-07-21T12:17:21+05:30
> [INFO] Final Memory: 131M/1333M
> [INFO] 
> 
> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec
> (npm run build (compile)) on project org.wso2.carbon.apimgt.publisher.feature:
> Command execution failed. Process exited with an error: 1 (Exit value: 1)
> -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/
> MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn  -rf :org.wso2.carbon.apimgt.publisher.feature
>
> Any thoughts or help on this is highly appreciated.
>
> Thank you,
> Nadeeshani.
>
> --
> Pathirennehelage Nadeeshani
> Software Engineer | WSO2 Inc.
> Platform Security Team
> mobile : +94 716545223 <+94%2071%20654%205223>
>
>


-- 
Pathirennehelage Nadeeshani
Software Engineer | WSO2 Inc.
Platform Security Team
mobile : +94 716545223
> wso2_apim_publisher@1.0.0 build_prod 
> /home/nadeeshani/Desktop/WSO2Products/github/APIM/carbon-apimgt/features/apimgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/publisher
> NODE_ENV=production webpack -p --progress --colors --config webpack.config.js

/home/nadeeshani/Desktop/WSO2Products/github/APIM/carbon-apimgt/features/apimgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/publisher/webpack.config.js:1
(function (exports, require, module, __filename, __dirname) { let path = 
require('path');
  ^^^

SyntaxError: Block-scoped declarations (let, const, function, class) not yet 
supported outside strict mode
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at requireConfig 
(/home/nadeeshani/Desktop/WSO2Products/github/APIM/carbon-apimgt/features/apimgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/publisher/node_modules/webpack/bin/convert-argv.js:96:18)
at 
/home/nadeeshani/Desktop/WSO2Products/github/APIM/carbon-apimgt/features/apimgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/publisher/node_modules/webpack/bin/convert-argv.js:109:17
at Array.forEach (native)

npm ERR! Linux 4.4.0-83-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "build_prod"
npm ERR! node v4.8.4
npm ERR! npm  v2.15.11
npm ERR! code ELIFECYCLE

[Dev] WSO2 EI 6.1.1 Custom URLs for proxy service

2017-07-21 Thread Melodias
Hi,
I try to set custom URLs for proxy service. I try to config integrator like
in version esb 4.8.1 :
http://wso2.com/library/knowledge-base/2011/01/custom-urls-wso2-esb-proxy-services/
but it dosen't work.

Is option to set custom URLs in Integrator?



--
View this message in context: 
http://wso2-oxygen-tank.10903.n7.nabble.com/WSO2-EI-6-1-1-Custom-URLs-for-proxy-service-tp150513.html
Sent from the WSO2 Development mailing list archive at Nabble.com.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error while building carbon-apimgt.

2017-07-21 Thread Nadeeshani Pathirennehelage
Hi Sajith,

It worked after following your suggestions. Thank you.

Thanks,
Nadeeshani.



On Fri, Jul 21, 2017 at 4:28 PM, Sajith Kariyawasam  wrote:

> Seems your node.js version is not up todate.
>
> If you are in Ubuntu 15, try updraing node to version 6.x ?
> If in Ubuntu 16 you can install version 7.x
>
> Also, upgrade your npm version to >= 4.x
>
> On Fri, Jul 21, 2017 at 4:14 PM, Nadeeshani Pathirennehelage <
> nadeesha...@wso2.com> wrote:
>
>> Hi,
>>
>> Full error log is attached herewith.
>>
>> Thank you.
>>
>> On Fri, Jul 21, 2017 at 4:03 PM, Nadeeshani Pathirennehelage <
>> nadeesha...@wso2.com> wrote:
>>
>>> Hi All,
>>>
>>> I got this issue while trying to build carbon-apimgt using Java 8.
>>>
>>> First got an error saying to install npm.
>>>
>>> *Before installing npm*
>>>
>>> [INFO] 
>>> 
>>> [INFO] BUILD FAILURE
>>> [INFO] 
>>> 
>>> [INFO] Total time: 03:33 min
>>> [INFO] Finished at: 2017-07-21T14:04:07+05:30
>>> [INFO] Final Memory: 139M/2662M
>>> [INFO] 
>>> 
>>> [ERROR] Failed to execute goal 
>>> org.codehaus.mojo:exec-maven-plugin:1.5.0:exec
>>> (npm install (initialize)) on project 
>>> org.wso2.carbon.apimgt.publisher.feature:
>>> Command execution failed. Cannot run program "npm" (in directory
>>> "/home/tharindu/CODEBASE/GIT/WSO2/carbon-apimgt/features/api
>>> mgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/publisher"):
>>> error=2, No such file or directory -> [Help 1]
>>> [ERROR]
>>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>>> -e switch.
>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>> [ERROR]
>>> [ERROR] For more information about the errors and possible solutions,
>>> please read the following articles:
>>> [ERROR] [Help 1] http://cwiki.apache.org/conflu
>>> ence/display/MAVEN/MojoExecutionException
>>> [ERROR]
>>> [ERROR] After correcting the problems, you can resume the build with the
>>> command
>>> [ERROR]   mvn  -rf :org.wso2.carbon.apimgt.publisher.feature
>>>
>>>
>>>
>>>
>>> *After installing npm*
>>> I tried installing npm in the following two ways:
>>> Ubuntu 15.06 - npm version 1.4.21 in ubuntu software center.
>>> Ubuntu 16.06 - npm version 3.5.2 in ubuntu software center.
>>>
>>> Then I got the following error.
>>>
>>> [INFO] BUILD FAILURE
>>> [INFO] 
>>> 
>>> [INFO] Total time: 02:52 min
>>> [INFO] Finished at: 2017-07-21T12:17:21+05:30
>>> [INFO] Final Memory: 131M/1333M
>>> [INFO] 
>>> 
>>> [ERROR] Failed to execute goal 
>>> org.codehaus.mojo:exec-maven-plugin:1.5.0:exec
>>> (npm run build (compile)) on project 
>>> org.wso2.carbon.apimgt.publisher.feature:
>>> Command execution failed. Process exited with an error: 1 (Exit value: 1)
>>> -> [Help 1]
>>> [ERROR]
>>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>>> -e switch.
>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>> [ERROR]
>>> [ERROR] For more information about the errors and possible solutions,
>>> please read the following articles:
>>> [ERROR] [Help 1] http://cwiki.apache.org/conflu
>>> ence/display/MAVEN/MojoExecutionException
>>> [ERROR]
>>> [ERROR] After correcting the problems, you can resume the build with the
>>> command
>>> [ERROR]   mvn  -rf :org.wso2.carbon.apimgt.publisher.feature
>>>
>>> Any thoughts or help on this is highly appreciated.
>>>
>>> Thank you,
>>> Nadeeshani.
>>>
>>> --
>>> Pathirennehelage Nadeeshani
>>> Software Engineer | WSO2 Inc.
>>> Platform Security Team
>>> mobile : +94 716545223 <+94%2071%20654%205223>
>>>
>>>
>>
>>
>> --
>> Pathirennehelage Nadeeshani
>> Software Engineer | WSO2 Inc.
>> Platform Security Team
>> mobile : +94 716545223 <+94%2071%20654%205223>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Sajith Kariyawasam
> *Associate Tech Lead*
> *WSO2 Inc.; http://wso2.com *
> *Committer and PMC member, Apache Stratos *
> *AMIE (SL)*
> *Mobile: 0772269575*
>



-- 
Pathirennehelage Nadeeshani
Software Engineer | WSO2 Inc.
Platform Security Team
mobile : +94 716545223
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] SCIM 2.0 Compliance Test Suite HTTP client

2017-07-21 Thread Vindula Jayawardana
Hi,

As I mentioned in the proposal, the intended http client for the project is
Feign client [1]. However, it was experienced that using the feign as the
http client makes the implementation process more lagging due to following
reasons.

1. The documentation support for the client is not that sufficient (less
documentation/blogs).
2. As the compliance test exploits most of the http features, the current
feign implementation has caused addition efforts to be made to accommodate
the necessary requirements(eg: extension schema based operations).

Due to the above reasons and since the project is deadline sensitive, I
think it would be much more flexible to use apache http client [2] as the
http client for the project. This change can be accommodated without much
of effort and also as the client is an established client, the mentioned
difficulties will be mitigated. What do you think?

[1] - https://github.com/OpenFeign/feign
[2] - https://hc.apache.org/

Thank you,
*Vindula Jayawardana*
Computer Science and Engineering Dept.
University of Moratuwa
mobile : +713462554
Email : vindul...@gmail.com






*“Respect is how to treat everyone, not just those you want to impress. "*


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


[Dev] Error while building carbon-apimgt.

2017-07-21 Thread Nadeeshani Pathirennehelage
Hi All,

I got this issue while trying to build carbon-apimgt using Java 8.

First got an error saying to install npm.

*Before installing npm*

[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 03:33 min
[INFO] Finished at: 2017-07-21T14:04:07+05:30
[INFO] Final Memory: 139M/2662M
[INFO]

[ERROR] Failed to execute goal
org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (npm install (initialize))
on project org.wso2.carbon.apimgt.publisher.feature: Command execution
failed. Cannot run program "npm" (in directory
"/home/tharindu/CODEBASE/GIT/WSO2/carbon-apimgt/features/apimgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/publisher"):
error=2, No such file or directory -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn  -rf :org.wso2.carbon.apimgt.publisher.feature




*After installing npm*
I tried installing npm in the following two ways:
Ubuntu 15.06 - npm version 1.4.21 in ubuntu software center.
Ubuntu 16.06 - npm version 3.5.2 in ubuntu software center.

Then I got the following error.

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 02:52 min
[INFO] Finished at: 2017-07-21T12:17:21+05:30
[INFO] Final Memory: 131M/1333M
[INFO]

[ERROR] Failed to execute goal
org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (npm run build (compile)) on
project org.wso2.carbon.apimgt.publisher.feature: Command execution failed.
Process exited with an error: 1 (Exit value: 1) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn  -rf :org.wso2.carbon.apimgt.publisher.feature

Any thoughts or help on this is highly appreciated.

Thank you,
Nadeeshani.

-- 
Pathirennehelage Nadeeshani
Software Engineer | WSO2 Inc.
Platform Security Team
mobile : +94 716545223
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error while building carbon-apimgt.

2017-07-21 Thread Sajith Kariyawasam
Seems your node.js version is not up todate.

If you are in Ubuntu 15, try updraing node to version 6.x ?
If in Ubuntu 16 you can install version 7.x

Also, upgrade your npm version to >= 4.x

On Fri, Jul 21, 2017 at 4:14 PM, Nadeeshani Pathirennehelage <
nadeesha...@wso2.com> wrote:

> Hi,
>
> Full error log is attached herewith.
>
> Thank you.
>
> On Fri, Jul 21, 2017 at 4:03 PM, Nadeeshani Pathirennehelage <
> nadeesha...@wso2.com> wrote:
>
>> Hi All,
>>
>> I got this issue while trying to build carbon-apimgt using Java 8.
>>
>> First got an error saying to install npm.
>>
>> *Before installing npm*
>>
>> [INFO] 
>> 
>> [INFO] BUILD FAILURE
>> [INFO] 
>> 
>> [INFO] Total time: 03:33 min
>> [INFO] Finished at: 2017-07-21T14:04:07+05:30
>> [INFO] Final Memory: 139M/2662M
>> [INFO] 
>> 
>> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec
>> (npm install (initialize)) on project 
>> org.wso2.carbon.apimgt.publisher.feature:
>> Command execution failed. Cannot run program "npm" (in directory
>> "/home/tharindu/CODEBASE/GIT/WSO2/carbon-apimgt/features/api
>> mgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/publisher"):
>> error=2, No such file or directory -> [Help 1]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>> [ERROR] [Help 1] http://cwiki.apache.org/conflu
>> ence/display/MAVEN/MojoExecutionException
>> [ERROR]
>> [ERROR] After correcting the problems, you can resume the build with the
>> command
>> [ERROR]   mvn  -rf :org.wso2.carbon.apimgt.publisher.feature
>>
>>
>>
>>
>> *After installing npm*
>> I tried installing npm in the following two ways:
>> Ubuntu 15.06 - npm version 1.4.21 in ubuntu software center.
>> Ubuntu 16.06 - npm version 3.5.2 in ubuntu software center.
>>
>> Then I got the following error.
>>
>> [INFO] BUILD FAILURE
>> [INFO] 
>> 
>> [INFO] Total time: 02:52 min
>> [INFO] Finished at: 2017-07-21T12:17:21+05:30
>> [INFO] Final Memory: 131M/1333M
>> [INFO] 
>> 
>> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec
>> (npm run build (compile)) on project 
>> org.wso2.carbon.apimgt.publisher.feature:
>> Command execution failed. Process exited with an error: 1 (Exit value: 1)
>> -> [Help 1]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>> [ERROR] [Help 1] http://cwiki.apache.org/conflu
>> ence/display/MAVEN/MojoExecutionException
>> [ERROR]
>> [ERROR] After correcting the problems, you can resume the build with the
>> command
>> [ERROR]   mvn  -rf :org.wso2.carbon.apimgt.publisher.feature
>>
>> Any thoughts or help on this is highly appreciated.
>>
>> Thank you,
>> Nadeeshani.
>>
>> --
>> Pathirennehelage Nadeeshani
>> Software Engineer | WSO2 Inc.
>> Platform Security Team
>> mobile : +94 716545223 <+94%2071%20654%205223>
>>
>>
>
>
> --
> Pathirennehelage Nadeeshani
> Software Engineer | WSO2 Inc.
> Platform Security Team
> mobile : +94 716545223 <+94%2071%20654%205223>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Sajith Kariyawasam
*Associate Tech Lead*
*WSO2 Inc.; http://wso2.com *
*Committer and PMC member, Apache Stratos *
*AMIE (SL)*
*Mobile: 0772269575*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Fwd: Mail Attachment

2017-07-21 Thread Malaka Silva
Hi Amit,

Can you provide more details how are you sending the mail. Are you using
ESB SMTP transport or GMail connector?

We can send messages with attachments using gmail connector. [1]

@Haprprasath - Can we do the same use case with GMail connector?

[1]
https://docs.wso2.com/display/ESBCONNECTORS/Working+with+Messages+in+Gmail#WorkingwithMessagesinGmail-sendMailWithAttachment

+ wso2 dev

-- Forwarded message --
From: Amit Rajvanshi 
Date: Fri, Jul 21, 2017 at 2:45 PM
Subject: Mail Attachment
To: Malaka Silva 


Hi Malaka,



Could you please help me , I have stuck in the middle of development in
WSO2 ESB.

I need to attach a file (available on system directory) while sending the
mail through a sequence mediator.

Any reference will be appreciated.



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.


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.



-- 

Best Regards,

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

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

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

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


Re: [Dev] SCIM 2.0 Compliance Test Suite HTTP client

2017-07-21 Thread Gayan Gunawardana
On Fri, Jul 21, 2017 at 6:07 PM, Vindula Jayawardana <
vindula...@cse.mrt.ac.lk> wrote:

> Hi,
>
> As I mentioned in the proposal, the intended http client for the project
> is Feign client [1]. However, it was experienced that using the feign as
> the http client makes the implementation process more lagging due to
> following reasons.
>
> 1. The documentation support for the client is not that sufficient (less
> documentation/blogs).
> 2. As the compliance test exploits most of the http features, the current
> feign implementation has caused addition efforts to be made to accommodate
> the necessary requirements(eg: extension schema based operations).
>
> Due to the above reasons and since the project is deadline sensitive, I
> think it would be much more flexible to use apache http client [2] as the
> http client for the project. This change can be accommodated without much
> of effort and also as the client is an established client, the mentioned
> difficulties will be mitigated. What do you think?
>
+1
We can have a look at Feign client [1] and analyze difficulties a bit. IMO
making lot of effort to get it working with Feign client is not a main
objective of the project. If Feign client is more harder to use due to
above reasons you mentioned, can switch http client. If you can make http
client configurable with some default implementation would be great.

>
> [1] - https://github.com/OpenFeign/feign
> [2] - https://hc.apache.org/
>
> Thank you,
> *Vindula Jayawardana*
> Computer Science and Engineering Dept.
> University of Moratuwa
> mobile : +713462554
> Email : vindul...@gmail.com
>
> 
> 
> 
> 
>
> *“Respect is how to treat everyone, not just those you want to impress. "*
>
>
> *-Richard Branson-*
>
>
>


-- 
Gayan Gunawardana
Senior 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


Re: [Dev] Enriching the response array with corresponding elements in the request array . Facing issue, require guidance.

2017-07-21 Thread Manorama Perera
Hi Aditya,

You can enrich the AggregateMediator response using input request without
as below.

Inside the iterate mediator store the input payload in a property as below.


   
  
 
 

 
  
   


In the outSequence, before aggregate, you can enrich the backend response with
the above property value.



   
   

.
.

.


Thanks,
Manorama


On Wed, Jul 19, 2017 at 4:30 PM, aditya shivankar <
shivankar.adit...@gmail.com> wrote:

> Input request :
>
> [
> {
>"id" : "1",
> "make" : "TAHB"
> },
> {
> "id" : "2",
> "make" : "Tonda"
> },
> {
> "id" : "3",
> "make" : "Tamsung"
> }
> ]
>
>
> I am using iterate, to send each element of above array as request to a
> backend service( In myactual project this is not so simple service i.e. its
> reponse is very complex with lots of arrays and sub-arrays(child arrays)in
> it . for better understanding of issue I kept it like this ).
>
> The responses of the backend service are aggregated in one soap xml by
> AggregateMediator.
>
> Below is response from AggregateMediator
>
> 
> http://schemas.xmlsoap.org/soap/envelope/
> ">
> 
> 
> 
> 3
> Mobile
> S8
> 
> 
> 2
> Car
> Tmaze
> 
> 
> 1
> Home
> 5000sqft
> 
> 
> 
> 
>
> I want to enrich above response from AggregateMediator like below using
> input request.
> i.e. I want to merge input request and output of backend service.(id is
> common between them.)
>
>
> 
> http://schemas.xmlsoap.org/soap/envelope/
> ">
> 
> 
> 
> 3
> Mobile
> S8
> Tamsung
> 
> 
> 2
> Car
> Tmaze
> Tonda
> 
> 
> 1
> Home
> 5000sqft
> TAHB
> 
> 
> 
> 
>
>
> I kept input request array in a property before calling backend services
> and was able to access it in response flow.
> but the problem is both request and response are arrays. How could I run
> two foreach on two different arrays simultaneously and also match their id
> before updating each array element of response.
>
> Please find attachments.
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Manorama Perera
Software Engineer
WSO2, Inc.;  http://wso2.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] SCIM 2.0 Compliance Test Suite HTTP client

2017-07-21 Thread Sagara Gunathunga
On Sat, Jul 22, 2017 at 9:01 AM, Gayan Gunawardana  wrote:

>
>
> On Fri, Jul 21, 2017 at 6:07 PM, Vindula Jayawardana <
> vindula...@cse.mrt.ac.lk> wrote:
>
>> Hi,
>>
>> As I mentioned in the proposal, the intended http client for the project
>> is Feign client [1]. However, it was experienced that using the feign as
>> the http client makes the implementation process more lagging due to
>> following reasons.
>>
>> 1. The documentation support for the client is not that sufficient (less
>> documentation/blogs).
>> 2. As the compliance test exploits most of the http features, the current
>> feign implementation has caused addition efforts to be made to accommodate
>> the necessary requirements(eg: extension schema based operations).
>>
>> Due to the above reasons and since the project is deadline sensitive, I
>> think it would be much more flexible to use apache http client [2] as the
>> http client for the project. This change can be accommodated without much
>> of effort and also as the client is an established client, the mentioned
>> difficulties will be mitigated. What do you think?
>>
> +1
> We can have a look at Feign client [1] and analyze difficulties a bit. IMO
> making lot of effort to get it working with Feign client is not a main
> objective of the project. If Feign client is more harder to use due to
> above reasons you mentioned, can switch http client. If you can make http
> client configurable with some default implementation would be great.
>

Use of Feign client is not the top most objective of this project hence +1
to use Apache HTTP Client but please make sure to use latest version
available.

BTW as we use Feign client in some other places in WSO2 please send a mail
to dev list mentioning  the difficulties  you faced.


Thanks !

>
>> [1] - https://github.com/OpenFeign/feign
>> [2] - https://hc.apache.org/
>>
>> Thank you,
>> *Vindula Jayawardana*
>> Computer Science and Engineering Dept.
>> University of Moratuwa
>> mobile : +713462554
>> Email : vindul...@gmail.com
>>
>> 
>> 
>> 
>> 
>>
>> *“Respect is how to treat everyone, not just those you want to impress. "*
>>
>>
>> *-Richard Branson-*
>>
>>
>>
>
>
> --
> Gayan Gunawardana
> Senior 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
>
>


-- 
Sagara Gunathunga

Associate Director / Architect; WSO2, Inc.;  http://wso2.com
V.P Apache Web Services;http://ws.apache.org/
Linkedin; http://www.linkedin.com/in/ssagara
Blog ;  http://ssagara.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Where is the create publishers, streams and receivers page in wso2das-4.0.0-M6

2017-07-21 Thread Sagar Kapadia
Hi,
I installed wso2das-4.0.0-M6, and ran it using the "editor.bat" command.
However, I cant figure out where is the localhost:9443/carbon page which
was present in wso2das-3.1.0. I need that to create
streams, publishers and receivers. The composer in wso2das-4.0.0-M6 allows
me to handle events by linking streams. But where do I create the steams,
receivers and publishers themselves?
Sagar
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 EI 6.1.1 Custom URLs for proxy service

2017-07-21 Thread Melodias
Ok, its work, It was my bad. I set offset on port in axis.xml



--
View this message in context: 
http://wso2-oxygen-tank.10903.n7.nabble.com/WSO2-EI-6-1-1-Custom-URLs-for-proxy-service-tp150513p150514.html
Sent from the WSO2 Development mailing list archive at Nabble.com.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev