Re: [Dev] WSO2 Committers += Sudharma Subasinghe

2017-01-26 Thread Menaka Jayawardena
Congratulations Sudharma!

On Fri, Jan 27, 2017 at 9:14 AM, Hasitha Aravinda  wrote:

> Hi All,
>
> It is my pleasure to welcome Sudharma Subasinghe as a WSO2 Committer.
> Sudharma has been a valuable contributor to WSO2 Business Process
> Server and in Integration space. In recognition of her commitment and
> contributions, she has been voted as a WSO2 Committer.
>
> Sudharma, welcome aboard and keep up the good work.!
>
> Thanks,
> Hasitha.
>
> --
> --
> Hasitha Aravinda,
> Associate Technical Lead,
> WSO2 Inc.
> Email: hasi...@wso2.com
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>



-- 
*Menaka Jayawardena*
*Software Engineer - WSO2 Inc*
*Tel : 071 350 5470*
*LinkedIn: https://lk.linkedin.com/in/menakajayawardena
*
*Blog: https://menakamadushanka.wordpress.com/
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [C5] Obtaining hostname in carbon kernel 5

2017-01-26 Thread Charini Nanayakkara
Hi Kishanthan

Thank you! Will further discuss the matter with the team

Regards
Charini

On Thu, Jan 26, 2017 at 6:30 PM, Kishanthan Thangarajah  wrote:

> Providing hostname information is part of the transport framework. That is
> why it is not provided from the kernel in C5. We have to see how to expose
> these kind of information from the relevant transport implementation level.
>
> On Thu, Jan 26, 2017 at 5:10 PM, Charini Nanayakkara 
> wrote:
>
>> Hi,
>>
>> We are in the process of moving carbon analytics common to C5. When
>> migrating, it was noted that C5 disallows us to obtain the hostname (or the
>> server url) unlike in C4. Since the hostname is required in many instances,
>> is it going to be supported in a latter version of C5? Or is there an
>> alternative way of obtaining the server hostname?
>>
>> Thank you
>> Charini
>> --
>> *Charini Vimansha Nanayakkara*
>> Software Engineer at WSO2
>>
>> Mobile: 0714126293
>> E-mail: chari...@wso2.com
>> Blog: http://www.charini.me/
>>
>> 
>>
>
>
>
> --
> *Kishanthan Thangarajah*
> Technical Lead,
> Platform Technologies Team,
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - +94773426635 <+94%2077%20342%206635>
> Blog - *http://kishanthan.wordpress.com *
> Twitter - *http://twitter.com/kishanthan *
>



-- 
*Charini Vimansha Nanayakkara*
Software Engineer at WSO2

Mobile: 0714126293
E-mail: chari...@wso2.com
Blog: http://www.charini.me/


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


[Dev] WSO2 Committers += Sudharma Subasinghe

2017-01-26 Thread Hasitha Aravinda
Hi All,

It is my pleasure to welcome Sudharma Subasinghe as a WSO2 Committer.
Sudharma has been a valuable contributor to WSO2 Business Process
Server and in Integration space. In recognition of her commitment and
contributions, she has been voted as a WSO2 Committer.

Sudharma, welcome aboard and keep up the good work.!

Thanks,
Hasitha.

-- 
--
Hasitha Aravinda,
Associate Technical Lead,
WSO2 Inc.
Email: hasi...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error when using appm restapi

2017-01-26 Thread Lakshani Gamage
Hi Susinda,

You have to build the new  *api#appm#publisher#v1.1.war *from the source
code and add it to /core/repository/deployment/server/webapps.

In your payload, there is a param value called *iconFile*. It should be
replaced by *thumbnailUrl*.

Thanks,
Lakshani

On Thu, Jan 26, 2017 at 8:39 PM, Susinda Perera  wrote:

> Hi Lakshani
>
> Thank you very much for attending to this and for the fix. How can i get
> the fix. Can we have it as a patch?
> Could you also tell what exactly the issue with POST body. As i remember
> when we compared the two payloads (mine and what's in the doc) we could not
> see much difference.
>
> Thanks
> Susinda
>
>
> On Thu, Jan 26, 2017 at 6:21 PM, Lakshani Gamage 
> wrote:
>
>> Hi Susinda,
>>
>> There were some issues in "*Create Mobile App*" REST API. Please find
>> the fixes from [1].
>>
>> With this fix, carbonContext.getLoggedInUser() returns the loggedin user
>> name.
>>
>> Please note, your POST body is also not correct. Correct POST body is in
>> [2].
>>
>> [1] https://github.com/wso2/carbon-appmgt/pull/593/commits/4798f
>> 751c75445195f3b8636f6b97a1e137397e7
>> [2] https://docs.wso2.com/display/APPM120/app-manager/publisher/
>> #!/operations#AppsApi#appsAppTypePost
>>
>> Thanks,
>> Lakshani
>>
>> On Thu, Jan 26, 2017 at 11:48 AM, Lahiru Cooray  wrote:
>>
>>> Hi Susinda,
>>> Normally we see this error when the payload is invalid. First please
>>> verify the payload with [1]. And carbonContext.getLoggedInUser() can
>>> return null when the token is expired.
>>>
>>>
>>> [1] https://docs.wso2.com/display/APPM120/app-manager/publis
>>> her/#!/operations#AppsApi#appsAppTypePost
>>>
>>>
>>>
>>> On Thu, Jan 26, 2017 at 11:25 AM, Susinda Perera 
>>> wrote:
>>>
 Hi All

 I'm getting following error[1] when I use following request to 
 *https://localhost:9443/api/appm/publisher/v1.1/apps/mobileapp
 * to
 create a app.  Note that Authorization Bearer header is also present.
 From debug found that carbonContext.getLoggedInUser() returns null.
 Any idea what is wrong or can someone give some insight.

 POST
 {"displayName":"Catalog","iconFile":"89e4b6619898.jpg","description":"Sample
 application","banner":"402fd08981a33fb8.jpg","mediaType":"ap
 plication\/vnd.wso2-mobileapp+xml","type":"enterprise","vers
 ion":"1.0","marketType":"enterprise","platform":"android","
 screenshots":["bd0deb0dd7a4d8ed.jpg","17ade2074eec7adf.jpg",
 "caded496ebe7700c.jpg"],"provider":"admin","appType":"androi
 d","name":"Catalog","category":"Business","appmeta":{"path":
 "2d40ed0e1b22977c.apk","package":"org.wso2.app.catalog
 ","version":"1.0"}}

 [1]
 ERROR - GlobalThrowableMapper One or more request body parameters
 contain disallowed values.


 --
 *Susinda Perera*
 Software Engineer
 B.Sc.(Eng), M.Sc(Computer Science), AMIE(SL)
 Mobile:(+94)716049075
 Blog: susinda.blogspot.com
 WSO2 Inc. http://wso2.com/
 Tel : 94 11 214 5345 Fax :94 11 2145300


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


>>>
>>>
>>> --
>>> *Lahiru Cooray*
>>> Software Engineer
>>> WSO2, Inc.;http://wso2.com/
>>> lean.enterprise.middleware
>>>
>>> Mobile: +94 715 654154 <+94%2071%20565%204154>
>>>
>>
>>
>>
>> --
>> Lakshani Gamage
>>
>> *Software Engineer, WSO2*
>>
>> *Mobile : +94 71 5478184 <%2B94%20%280%29%20773%20451194>*
>> *Blog : http://lakshanigamage.blogspot.com/
>> *
>>
>
>
>
> --
> *Susinda Perera*
> Software Engineer
> B.Sc.(Eng), M.Sc(Computer Science), AMIE(SL)
> Mobile:(+94)716049075
> Blog: susinda.blogspot.com
> WSO2 Inc. http://wso2.com/
> Tel : 94 11 214 5345 Fax :94 11 2145300
>
>


-- 
Lakshani Gamage

*Software Engineer, WSO2*

*Mobile : +94 71 5478184 <%2B94%20%280%29%20773%20451194>*
*Blog : http://lakshanigamage.blogspot.com/
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Automation Testing Plan for SCIM Provider

2017-01-26 Thread Gayan Gunawardana
Hi All,

We are in the process of writing test cases for repository [1]. This is bit
different than other repositories where we have OSGI tests. For SCIM we
have to test micro services exposed by SCIM provider component[2]. We are
planning to go with same approach as in ms4j test cases [3].

According to off-line discussion had with DharshanaW, service runtime can
be generated by running[4] as a server which includes carbon-kernel+SCIM
feature+dependent features for SCIM feature.

Appreciate your feedback and suggestions if you have any concerns regarding
above approach.

[1] https://github.com/wso2-extensions/identity-inbound-provisioning-scim2
[2]
https://github.com/wso2-extensions/identity-inbound-provisioning-scim2/tree/master/components/org.wso2.carbon.identity.inbound.provisioning.scim2.provider
[3] https://github.com/wso2/msf4j/tree/master/core/src/test
[4]
https://github.com/wso2-extensions/identity-inbound-provisioning-scim2/tree/master/tests/distribution

Thanks,
Gayan
-- 
Gayan Gunawardana
Software Engineer; WSO2 Inc.; http://wso2.com/
Email: ga...@wso2.com
Mobile: +94 (71) 8020933
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [IS] Changing ${carbon.protocol} and ${carbon.host} parameterized values used in identity.xml

2017-01-26 Thread Farasath Ahamed
Hi,

In identity.xml we have used some parameterized values when constructing
endpoint urls,

For example,


*${carbon.protocol}://${carbon.host}:${carbon.management.port}*
/samlsso

*${carbon.protocol}://${carbon.host}:${carbon.management.port}*
/authenticationendpoint/samlsso_logout.do

*${carbon.protocol}://${carbon.host}:${carbon.management.port}*
/authenticationendpoint/samlsso_notification.do


>From the code, I can see that these values are replaced by HTTPS transport
parameters related to the carbon management console, ie. that is https port
number. Suppose If I want to use HTTP only, is there a way to make a config
change that will make the protocol value and port number be picked for HTTP
rather HTTPs?


Thanks,
Farasath Ahamed
Software Engineer, WSO2 Inc.; http://wso2.com
Mobile: +94777603866
Blog: blog.farazath.com
Twitter: @farazath619 

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


Re: [Dev] Error when using appm restapi

2017-01-26 Thread Susinda Perera
Hi Lakshani

Thank you very much for attending to this and for the fix. How can i get
the fix. Can we have it as a patch?
Could you also tell what exactly the issue with POST body. As i remember
when we compared the two payloads (mine and what's in the doc) we could not
see much difference.

Thanks
Susinda


On Thu, Jan 26, 2017 at 6:21 PM, Lakshani Gamage  wrote:

> Hi Susinda,
>
> There were some issues in "*Create Mobile App*" REST API. Please find the
> fixes from [1].
>
> With this fix, carbonContext.getLoggedInUser() returns the loggedin user
> name.
>
> Please note, your POST body is also not correct. Correct POST body is in
> [2].
>
> [1] https://github.com/wso2/carbon-appmgt/pull/593/commits/
> 4798f751c75445195f3b8636f6b97a1e137397e7
> [2] https://docs.wso2.com/display/APPM120/app-manager/publisher/
> #!/operations#AppsApi#appsAppTypePost
>
> Thanks,
> Lakshani
>
> On Thu, Jan 26, 2017 at 11:48 AM, Lahiru Cooray  wrote:
>
>> Hi Susinda,
>> Normally we see this error when the payload is invalid. First please
>> verify the payload with [1]. And carbonContext.getLoggedInUser() can
>> return null when the token is expired.
>>
>>
>> [1] https://docs.wso2.com/display/APPM120/app-manager/publis
>> her/#!/operations#AppsApi#appsAppTypePost
>>
>>
>>
>> On Thu, Jan 26, 2017 at 11:25 AM, Susinda Perera 
>> wrote:
>>
>>> Hi All
>>>
>>> I'm getting following error[1] when I use following request to 
>>> *https://localhost:9443/api/appm/publisher/v1.1/apps/mobileapp
>>> * to
>>> create a app.  Note that Authorization Bearer header is also present.
>>> From debug found that carbonContext.getLoggedInUser() returns null.
>>> Any idea what is wrong or can someone give some insight.
>>>
>>> POST
>>> {"displayName":"Catalog","iconFile":"89e4b6619898.jpg","description":"Sample
>>> application","banner":"402fd08981a33fb8.jpg","mediaType":"ap
>>> plication\/vnd.wso2-mobileapp+xml","type":"enterprise","
>>> version":"1.0","marketType":"enterprise","platform":"androi
>>> d","screenshots":["bd0deb0dd7a4d8ed.jpg","17ade2074eec7adf.
>>> jpg","caded496ebe7700c.jpg"],"provider":"admin","appType":"
>>> android","name":"Catalog","category":"Business","appmeta"
>>> :{"path":"2d40ed0e1b22977c.apk","package":"org.wso2.app.
>>> catalog","version":"1.0"}}
>>>
>>> [1]
>>> ERROR - GlobalThrowableMapper One or more request body parameters
>>> contain disallowed values.
>>>
>>>
>>> --
>>> *Susinda Perera*
>>> Software Engineer
>>> B.Sc.(Eng), M.Sc(Computer Science), AMIE(SL)
>>> Mobile:(+94)716049075
>>> Blog: susinda.blogspot.com
>>> WSO2 Inc. http://wso2.com/
>>> Tel : 94 11 214 5345 Fax :94 11 2145300
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Lahiru Cooray*
>> Software Engineer
>> WSO2, Inc.;http://wso2.com/
>> lean.enterprise.middleware
>>
>> Mobile: +94 715 654154 <+94%2071%20565%204154>
>>
>
>
>
> --
> Lakshani Gamage
>
> *Software Engineer, WSO2*
>
> *Mobile : +94 71 5478184 <%2B94%20%280%29%20773%20451194>*
> *Blog : http://lakshanigamage.blogspot.com/
> *
>



-- 
*Susinda Perera*
Software Engineer
B.Sc.(Eng), M.Sc(Computer Science), AMIE(SL)
Mobile:(+94)716049075
Blog: susinda.blogspot.com
WSO2 Inc. http://wso2.com/
Tel : 94 11 214 5345 Fax :94 11 2145300
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please Review and Merge (WebSocket Suppport for Carbon-Messaging)

2017-01-26 Thread Irunika Weeraratne
Hi,
Fixed the issues mentioned.
Please review and merge.

Thanks,
Irunika

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


On Thu, Jan 26, 2017 at 7:04 PM, Irunika Weeraratne 
wrote:

> Noted.
>
> Thanks,
> Irunika
>
> *Irunika Weeraratne*
> *Software Engineer | WSO2, Inc. *
> *Email : irun...@wso2.com *
> *LinkedIn : https://lk.linkedin.com/in/irunika
> *
> *Mobile : +94712403314 <+94%2071%20240%203314>*
> *Lean . Enterprise . Middleware*
>
>
> On Thu, Jan 26, 2017 at 4:34 PM, Kishanthan Thangarajah <
> kishant...@wso2.com> wrote:
>
>> PR has some formatting issue to be fixed. Can you look into it?
>>
>> On Thu, Jan 26, 2017 at 12:03 PM, Irunika Weeraratne 
>> wrote:
>>
>>> Hi all,
>>> Can you please review and merge the PR?
>>>
>>> Thanks,
>>> Irunika
>>>
>>> *Irunika Weeraratne*
>>> *Software Engineer | WSO2, Inc. *
>>> *Email : irun...@wso2.com *
>>> *LinkedIn : https://lk.linkedin.com/in/irunika
>>> *
>>> *Mobile : +94712403314 <+94%2071%20240%203314>*
>>> *Lean . Enterprise . Middleware*
>>>
>>>
>>> On Wed, Jan 25, 2017 at 3:35 PM, Irunika Weeraratne 
>>> wrote:
>>>
 Hi all,
 I modified the Carbon-Messaging according to the requirements.
 Please review and merge.
 https://github.com/wso2/carbon-messaging/pull/40

 Thanks,
 Irunika

 *Irunika Weeraratne*
 *Software Engineer | WSO2, Inc. *
 *Email : irun...@wso2.com *
 *LinkedIn : https://lk.linkedin.com/in/irunika
 *
 *Mobile : +94712403314 <+94%2071%20240%203314>*
 *Lean . Enterprise . Middleware*


 On Mon, Jan 2, 2017 at 12:47 PM, Irunika Weeraratne 
 wrote:

> Hi all,
> I did necessary changes after the review.
> Please review and merge
> https://github.com/wso2/carbon-messaging/pull/40
>
> Thanks,
> Irunika
>
> *Irunika Weeraratne*
> *Software Engineer | WSO2, Inc. *
> *Email : irun...@wso2.com *
> *LinkedIn : https://lk.linkedin.com/in/irunika
> *
> *Mobile : +94712403314 <+94%2071%20240%203314>*
> *Lean . Enterprise . Middleware*
>
>
> On Fri, Dec 23, 2016 at 1:36 PM, Irunika Weeraratne 
> wrote:
>
>> Noted.
>>
>> Thanks,
>> Irunika
>>
>> *Irunika Weeraratne*
>> *Software Engineer | WSO2, Inc. *
>> *Email : irun...@wso2.com *
>> *LinkedIn : https://lk.linkedin.com/in/irunika
>> *
>> *Mobile : +94712403314 <+94%2071%20240%203314>*
>> *Lean . Enterprise . Middleware*
>>
>>
>> On Fri, Dec 23, 2016 at 1:30 PM, Kishanthan Thangarajah <
>> kishant...@wso2.com> wrote:
>>
>>> Adding @dev
>>>
>>> @Irunika, always copy the relevant mailing list.
>>>
>>> On Fri, Dec 23, 2016 at 1:17 PM, Irunika Weeraratne <
>>> irun...@wso2.com> wrote:
>>>
 Hi,
 Please review and merge
 https://github.com/wso2/carbon-messaging/pull/39

 Thanks,
 Irunika
 *Irunika Weeraratne*
 *Software Engineer | WSO2, Inc. *
 *Email : irun...@wso2.com *
 *LinkedIn : https://lk.linkedin.com/in/irunika
 *
 *Mobile : +94712403314 <+94%2071%20240%203314>*
 *Lean . Enterprise . Middleware*


>>>
>>>
>>> --
>>> *Kishanthan Thangarajah*
>>> Technical Lead,
>>> Platform Technologies Team,
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>>
>>> Mobile - +94773426635 <+94%2077%20342%206635>
>>> Blog - *http://kishanthan.wordpress.com
>>> *
>>> Twitter - *http://twitter.com/kishanthan
>>> *
>>>
>>
>>
>

>>>
>>
>>
>> --
>> *Kishanthan Thangarajah*
>> Technical Lead,
>> Platform Technologies Team,
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - +94773426635 <+94%2077%20342%206635>
>> Blog - *http://kishanthan.wordpress.com
>> *
>> Twitter - *http://twitter.com/kishanthan *
>>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please Review and Merge (WebSocket Suppport for Carbon-Messaging)

2017-01-26 Thread Irunika Weeraratne
Noted.

Thanks,
Irunika

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


On Thu, Jan 26, 2017 at 4:34 PM, Kishanthan Thangarajah  wrote:

> PR has some formatting issue to be fixed. Can you look into it?
>
> On Thu, Jan 26, 2017 at 12:03 PM, Irunika Weeraratne 
> wrote:
>
>> Hi all,
>> Can you please review and merge the PR?
>>
>> Thanks,
>> Irunika
>>
>> *Irunika Weeraratne*
>> *Software Engineer | WSO2, Inc. *
>> *Email : irun...@wso2.com *
>> *LinkedIn : https://lk.linkedin.com/in/irunika
>> *
>> *Mobile : +94712403314 <+94%2071%20240%203314>*
>> *Lean . Enterprise . Middleware*
>>
>>
>> On Wed, Jan 25, 2017 at 3:35 PM, Irunika Weeraratne 
>> wrote:
>>
>>> Hi all,
>>> I modified the Carbon-Messaging according to the requirements.
>>> Please review and merge.
>>> https://github.com/wso2/carbon-messaging/pull/40
>>>
>>> Thanks,
>>> Irunika
>>>
>>> *Irunika Weeraratne*
>>> *Software Engineer | WSO2, Inc. *
>>> *Email : irun...@wso2.com *
>>> *LinkedIn : https://lk.linkedin.com/in/irunika
>>> *
>>> *Mobile : +94712403314 <+94%2071%20240%203314>*
>>> *Lean . Enterprise . Middleware*
>>>
>>>
>>> On Mon, Jan 2, 2017 at 12:47 PM, Irunika Weeraratne 
>>> wrote:
>>>
 Hi all,
 I did necessary changes after the review.
 Please review and merge
 https://github.com/wso2/carbon-messaging/pull/40

 Thanks,
 Irunika

 *Irunika Weeraratne*
 *Software Engineer | WSO2, Inc. *
 *Email : irun...@wso2.com *
 *LinkedIn : https://lk.linkedin.com/in/irunika
 *
 *Mobile : +94712403314 <+94%2071%20240%203314>*
 *Lean . Enterprise . Middleware*


 On Fri, Dec 23, 2016 at 1:36 PM, Irunika Weeraratne 
 wrote:

> Noted.
>
> Thanks,
> Irunika
>
> *Irunika Weeraratne*
> *Software Engineer | WSO2, Inc. *
> *Email : irun...@wso2.com *
> *LinkedIn : https://lk.linkedin.com/in/irunika
> *
> *Mobile : +94712403314 <+94%2071%20240%203314>*
> *Lean . Enterprise . Middleware*
>
>
> On Fri, Dec 23, 2016 at 1:30 PM, Kishanthan Thangarajah <
> kishant...@wso2.com> wrote:
>
>> Adding @dev
>>
>> @Irunika, always copy the relevant mailing list.
>>
>> On Fri, Dec 23, 2016 at 1:17 PM, Irunika Weeraratne > > wrote:
>>
>>> Hi,
>>> Please review and merge
>>> https://github.com/wso2/carbon-messaging/pull/39
>>>
>>> Thanks,
>>> Irunika
>>> *Irunika Weeraratne*
>>> *Software Engineer | WSO2, Inc. *
>>> *Email : irun...@wso2.com *
>>> *LinkedIn : https://lk.linkedin.com/in/irunika
>>> *
>>> *Mobile : +94712403314 <+94%2071%20240%203314>*
>>> *Lean . Enterprise . Middleware*
>>>
>>>
>>
>>
>> --
>> *Kishanthan Thangarajah*
>> Technical Lead,
>> Platform Technologies Team,
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - +94773426635 <+94%2077%20342%206635>
>> Blog - *http://kishanthan.wordpress.com
>> *
>> Twitter - *http://twitter.com/kishanthan
>> *
>>
>
>

>>>
>>
>
>
> --
> *Kishanthan Thangarajah*
> Technical Lead,
> Platform Technologies Team,
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - +94773426635 <+94%2077%20342%206635>
> Blog - *http://kishanthan.wordpress.com *
> Twitter - *http://twitter.com/kishanthan *
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [C5] Obtaining hostname in carbon kernel 5

2017-01-26 Thread Kishanthan Thangarajah
Providing hostname information is part of the transport framework. That is
why it is not provided from the kernel in C5. We have to see how to expose
these kind of information from the relevant transport implementation level.

On Thu, Jan 26, 2017 at 5:10 PM, Charini Nanayakkara 
wrote:

> Hi,
>
> We are in the process of moving carbon analytics common to C5. When
> migrating, it was noted that C5 disallows us to obtain the hostname (or the
> server url) unlike in C4. Since the hostname is required in many instances,
> is it going to be supported in a latter version of C5? Or is there an
> alternative way of obtaining the server hostname?
>
> Thank you
> Charini
> --
> *Charini Vimansha Nanayakkara*
> Software Engineer at WSO2
>
> Mobile: 0714126293
> E-mail: chari...@wso2.com
> Blog: http://www.charini.me/
>
> 
>



-- 
*Kishanthan Thangarajah*
Technical Lead,
Platform Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635
Blog - *http://kishanthan.wordpress.com *
Twitter - *http://twitter.com/kishanthan *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error when using appm restapi

2017-01-26 Thread Lakshani Gamage
Hi Susinda,

There were some issues in "*Create Mobile App*" REST API. Please find the
fixes from [1].

With this fix, carbonContext.getLoggedInUser() returns the loggedin user
name.

Please note, your POST body is also not correct. Correct POST body is in
[2].

[1]
https://github.com/wso2/carbon-appmgt/pull/593/commits/4798f751c75445195f3b8636f6b97a1e137397e7
[2]
https://docs.wso2.com/display/APPM120/app-manager/publisher/#!/operations#AppsApi#appsAppTypePost

Thanks,
Lakshani

On Thu, Jan 26, 2017 at 11:48 AM, Lahiru Cooray  wrote:

> Hi Susinda,
> Normally we see this error when the payload is invalid. First please
> verify the payload with [1]. And carbonContext.getLoggedInUser() can
> return null when the token is expired.
>
>
> [1] https://docs.wso2.com/display/APPM120/app-manager/
> publisher/#!/operations#AppsApi#appsAppTypePost
>
>
>
> On Thu, Jan 26, 2017 at 11:25 AM, Susinda Perera  wrote:
>
>> Hi All
>>
>> I'm getting following error[1] when I use following request to 
>> *https://localhost:9443/api/appm/publisher/v1.1/apps/mobileapp
>> * to
>> create a app.  Note that Authorization Bearer header is also present.
>> From debug found that carbonContext.getLoggedInUser() returns null.
>> Any idea what is wrong or can someone give some insight.
>>
>> POST
>> {"displayName":"Catalog","iconFile":"89e4b6619898.jpg","description":"Sample
>> application","banner":"402fd08981a33fb8.jpg","mediaType":"
>> application\/vnd.wso2-mobileapp+xml","type":"enterpr
>> ise","version":"1.0","marketType":"enterprise","platform":"
>> android","screenshots":["bd0deb0dd7a4d8ed.jpg","17ade2074eec
>> 7adf.jpg","caded496ebe7700c.jpg"],"provider":"admin","
>> appType":"android","name":"Catalog","category":"Business"
>> ,"appmeta":{"path":"2d40ed0e1b22977c.apk","package":"org.wso2.app.catalog
>> ","version":"1.0"}}
>>
>> [1]
>> ERROR - GlobalThrowableMapper One or more request body parameters contain
>> disallowed values.
>>
>>
>> --
>> *Susinda Perera*
>> Software Engineer
>> B.Sc.(Eng), M.Sc(Computer Science), AMIE(SL)
>> Mobile:(+94)716049075
>> Blog: susinda.blogspot.com
>> WSO2 Inc. http://wso2.com/
>> Tel : 94 11 214 5345 Fax :94 11 2145300
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Lahiru Cooray*
> Software Engineer
> WSO2, Inc.;http://wso2.com/
> lean.enterprise.middleware
>
> Mobile: +94 715 654154 <+94%2071%20565%204154>
>



-- 
Lakshani Gamage

*Software Engineer, WSO2*

*Mobile : +94 71 5478184 <%2B94%20%280%29%20773%20451194>*
*Blog : http://lakshanigamage.blogspot.com/
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [UUF] Renaming artifact ID of the common default theme

2017-01-26 Thread Ayesha Dissanayaka
Oppz, My bad. Got it resolved.



On Thu, Jan 26, 2017 at 5:39 PM, Ayesha Dissanayaka  wrote:

> Hi Shan,
>
> Getting below error while trying to update carbon-uuf-common version to
> 1.0.0-m3 in IS6.[1]
>
> Also I observe that 1.0.0-m3 artifacts are not listed here[2].
>
> Failed to execute goal on project org.wso2.carbon.iam.user-portal.feature:
>> Could not resolve dependencies for project org.wso2.is:org.wso2.carbon.
>> iam.user-portal.feature:carbon-feature:6.0.0-SNAPSHOT: Failure to find
>> org.wso2.carbon.uuf.common:org.wso2.carbon.uuf.common.
>> theme.default.theme:zip:uuf-theme:1.0.0-m3 in
>> http://maven.wso2.org/nexus/content/repositories/releases/  ...
>>
>
> Even, trying to build 1.0.0-m3 tag locally didn't work for me.
>
> [1] https://github.com/wso2/product-is/blob/6.0.x-C5_m3/pom.xml#L852
> [2] http://maven.wso2.org/nexus/content/repositories/releases/
> org/wso2/carbon/uuf/common/org.wso2.carbon.uuf.common.theme.default.theme/
>
> Please, have a look.
>
> Thanks!
> -Ayesha
>
>
> On Wed, Jan 25, 2017 at 10:28 AM, Shan Mahanama  wrote:
>
>> Hi all,
>>
>> This change has been implemented and available in UUF Common 1.0.0-m3 [1]
>> version.
>>
>> [1] https://github.com/wso2/carbon-uuf-common/releases/tag/v1.0.0-m3
>>
>> Thanks,
>> Shan.
>>
>> On Mon, Jan 23, 2017 at 5:22 PM, Shan Mahanama  wrote:
>>
>>> Hi all,
>>>
>>> Following the proposed UUF naming conventions, we will rename the
>>> default theme in the UUF Commons repo [1] as below.
>>>
>>>- Artifact ID and the directory name will be renamed to
>>>*org.wso2.carbon.uuf.common.default.theme*
>>>
>>> [1] https://github.com/wso2/carbon-uuf-common
>>>
>>> Thanks,
>>> Shan.
>>>
>>> --
>>> Shan Mahanama
>>>
>>> Software Engineer, WSO2 Inc. http://wso2.com
>>> 
>>> Email: sh...@wso2.com
>>> Mobile: +94 71 2000 498
>>>
>>>
>>>
>>
>>
>> --
>> Shan Mahanama
>>
>> Software Engineer, WSO2 Inc. http://wso2.com
>> 
>> Email: sh...@wso2.com
>> Mobile: +94 71 2000 498
>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Ayesha Dissanayaka*
> Software Engineer,
> WSO2, Inc : http://wso2.com
> 
> 20, Palmgrove Avenue, Colombo 3
> E-Mail: aye...@wso2.com 
>



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

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


Re: [Dev] [UUF] Renaming artifact ID of the common default theme

2017-01-26 Thread Ayesha Dissanayaka
Hi Shan,

Getting below error while trying to update carbon-uuf-common version to
1.0.0-m3 in IS6.[1]

Also I observe that 1.0.0-m3 artifacts are not listed here[2].

Failed to execute goal on project org.wso2.carbon.iam.user-portal.feature:
> Could not resolve dependencies for project 
> org.wso2.is:org.wso2.carbon.iam.user-portal.feature:carbon-feature:6.0.0-SNAPSHOT:
> Failure to find
> org.wso2.carbon.uuf.common:org.wso2.carbon.uuf.common.theme.default.theme:zip:uuf-theme:1.0.0-m3
> in http://maven.wso2.org/nexus/content/repositories/releases/  ...
>

Even, trying to build 1.0.0-m3 tag locally didn't work for me.

[1] https://github.com/wso2/product-is/blob/6.0.x-C5_m3/pom.xml#L852
[2]
http://maven.wso2.org/nexus/content/repositories/releases/org/wso2/carbon/uuf/common/org.wso2.carbon.uuf.common.theme.default.theme/

Please, have a look.

Thanks!
-Ayesha


On Wed, Jan 25, 2017 at 10:28 AM, Shan Mahanama  wrote:

> Hi all,
>
> This change has been implemented and available in UUF Common 1.0.0-m3 [1]
> version.
>
> [1] https://github.com/wso2/carbon-uuf-common/releases/tag/v1.0.0-m3
>
> Thanks,
> Shan.
>
> On Mon, Jan 23, 2017 at 5:22 PM, Shan Mahanama  wrote:
>
>> Hi all,
>>
>> Following the proposed UUF naming conventions, we will rename the default
>> theme in the UUF Commons repo [1] as below.
>>
>>- Artifact ID and the directory name will be renamed to
>>*org.wso2.carbon.uuf.common.default.theme*
>>
>> [1] https://github.com/wso2/carbon-uuf-common
>>
>> Thanks,
>> Shan.
>>
>> --
>> Shan Mahanama
>>
>> Software Engineer, WSO2 Inc. http://wso2.com
>> 
>> Email: sh...@wso2.com
>> Mobile: +94 71 2000 498
>>
>>
>>
>
>
> --
> Shan Mahanama
>
> Software Engineer, WSO2 Inc. http://wso2.com
> 
> Email: sh...@wso2.com
> Mobile: +94 71 2000 498
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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

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


[Dev] [C5] Obtaining hostname in carbon kernel 5

2017-01-26 Thread Charini Nanayakkara
Hi,

We are in the process of moving carbon analytics common to C5. When
migrating, it was noted that C5 disallows us to obtain the hostname (or the
server url) unlike in C4. Since the hostname is required in many instances,
is it going to be supported in a latter version of C5? Or is there an
alternative way of obtaining the server hostname?

Thank you
Charini
-- 
*Charini Vimansha Nanayakkara*
Software Engineer at WSO2

Mobile: 0714126293
E-mail: chari...@wso2.com
Blog: http://www.charini.me/


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


Re: [Dev] Please Review and Merge (WebSocket Suppport for Carbon-Messaging)

2017-01-26 Thread Kishanthan Thangarajah
PR has some formatting issue to be fixed. Can you look into it?

On Thu, Jan 26, 2017 at 12:03 PM, Irunika Weeraratne 
wrote:

> Hi all,
> Can you please review and merge the PR?
>
> Thanks,
> Irunika
>
> *Irunika Weeraratne*
> *Software Engineer | WSO2, Inc. *
> *Email : irun...@wso2.com *
> *LinkedIn : https://lk.linkedin.com/in/irunika
> *
> *Mobile : +94712403314 <+94%2071%20240%203314>*
> *Lean . Enterprise . Middleware*
>
>
> On Wed, Jan 25, 2017 at 3:35 PM, Irunika Weeraratne 
> wrote:
>
>> Hi all,
>> I modified the Carbon-Messaging according to the requirements.
>> Please review and merge.
>> https://github.com/wso2/carbon-messaging/pull/40
>>
>> Thanks,
>> Irunika
>>
>> *Irunika Weeraratne*
>> *Software Engineer | WSO2, Inc. *
>> *Email : irun...@wso2.com *
>> *LinkedIn : https://lk.linkedin.com/in/irunika
>> *
>> *Mobile : +94712403314 <+94%2071%20240%203314>*
>> *Lean . Enterprise . Middleware*
>>
>>
>> On Mon, Jan 2, 2017 at 12:47 PM, Irunika Weeraratne 
>> wrote:
>>
>>> Hi all,
>>> I did necessary changes after the review.
>>> Please review and merge
>>> https://github.com/wso2/carbon-messaging/pull/40
>>>
>>> Thanks,
>>> Irunika
>>>
>>> *Irunika Weeraratne*
>>> *Software Engineer | WSO2, Inc. *
>>> *Email : irun...@wso2.com *
>>> *LinkedIn : https://lk.linkedin.com/in/irunika
>>> *
>>> *Mobile : +94712403314 <+94%2071%20240%203314>*
>>> *Lean . Enterprise . Middleware*
>>>
>>>
>>> On Fri, Dec 23, 2016 at 1:36 PM, Irunika Weeraratne 
>>> wrote:
>>>
 Noted.

 Thanks,
 Irunika

 *Irunika Weeraratne*
 *Software Engineer | WSO2, Inc. *
 *Email : irun...@wso2.com *
 *LinkedIn : https://lk.linkedin.com/in/irunika
 *
 *Mobile : +94712403314 <+94%2071%20240%203314>*
 *Lean . Enterprise . Middleware*


 On Fri, Dec 23, 2016 at 1:30 PM, Kishanthan Thangarajah <
 kishant...@wso2.com> wrote:

> Adding @dev
>
> @Irunika, always copy the relevant mailing list.
>
> On Fri, Dec 23, 2016 at 1:17 PM, Irunika Weeraratne 
> wrote:
>
>> Hi,
>> Please review and merge
>> https://github.com/wso2/carbon-messaging/pull/39
>>
>> Thanks,
>> Irunika
>> *Irunika Weeraratne*
>> *Software Engineer | WSO2, Inc. *
>> *Email : irun...@wso2.com *
>> *LinkedIn : https://lk.linkedin.com/in/irunika
>> *
>> *Mobile : +94712403314 <+94%2071%20240%203314>*
>> *Lean . Enterprise . Middleware*
>>
>>
>
>
> --
> *Kishanthan Thangarajah*
> Technical Lead,
> Platform Technologies Team,
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - +94773426635 <+94%2077%20342%206635>
> Blog - *http://kishanthan.wordpress.com
> *
> Twitter - *http://twitter.com/kishanthan
> *
>


>>>
>>
>


-- 
*Kishanthan Thangarajah*
Technical Lead,
Platform Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635
Blog - *http://kishanthan.wordpress.com *
Twitter - *http://twitter.com/kishanthan *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Carbon-mediation 4.6.10 released

2017-01-26 Thread Heshitha Hettihewa
Hi All,

Carbon-mediation 4.6.10 released.

org.wso2.carbon.mediation
carbon-mediation
4.6.10

Thanks.
-- 
Heshitha Hettihewa
*Software Engineer*
Mobile : +94716866386
<%2B94%20%280%29%20773%20451194>
heshit...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Synapse-2.1.7-wso2v10 Released

2017-01-26 Thread Heshitha Hettihewa
Hi all,

Synapse version 2.1.7-wso2v10 Released

org.apache.synapse
Apache-Synapse
2.1.7-wso2v10

Thanks.
-- 
Heshitha Hettihewa
*Software Engineer*
Mobile : +94716866386
<%2B94%20%280%29%20773%20451194>
heshit...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Axis2 Transport 2.0.0-wso2v1 Released

2017-01-26 Thread Heshitha Hettihewa
Hi all,

Axis2 Transports version 2.0.0-wso2v1 Released

org.apache.axis2.transport
axis2-transports
2.0.0-wso2v1

Thanks.
-- 
Heshitha Hettihewa
*Software Engineer*
Mobile : +94716866386
<%2B94%20%280%29%20773%20451194>
heshit...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev