Re: [Dev] APIM 2.0.0-SNAPSHOT Nightly build - 22/05/2016

2016-05-25 Thread Maneesha Wijesekara
Hi Bhathiya.
In this nightly build (APIM 2.0.0-SNAPSHOT Nightly build - 22/05/2016), sql
scripts aren't available in [1] to create RDBMS schema for publishing
statistics. Is there any particular reason for not including above scripts
in latest release ?

[1] [APIM_HOME]/dbscripts

Regards
Maneesha

-- 
Maneesha Wijesekara
Software Engineer - QA Team
WSO2 Inc.

Email: manee...@wso2.com
Linkedin: http://linkedin.com/in/maneeshawijesekara
Mobile: +94712443119
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB 5.0.0][Mediation Debugger]After restarting debug process, it will not take previous debug points

2016-05-25 Thread Chathurika De Silva
Hi Chanaka

When testing the debugger, following observation was made

Currently if a Transport property such as SOAPAction is removed, it's
removed from the variable view but when the request is sent to the backend
it's added again by the ESB. Since we are explicitly removing it, shouldn't
the request fail? Currently it seems that clearing that property really
does not have an affect on the execution.

Can you please explain if this observation is credible?

Thank You
Erandi

On Mon, May 9, 2016 at 1:37 PM, Praneesha Chandrasiri 
wrote:

> Updated the information given on the "Resend ESB Debug Points" option in
> [1], to match the current implementation.
>
> Thanks everyone!
>
> [1] https://docs.wso2.com/display/ESB500/Debugging+Mediation
>
> On Mon, May 9, 2016 at 1:24 PM, Dilshani Subasinghe 
> wrote:
>
>> Hi Chanaka,
>>
>> Added a jira [1] and +1 for fixing it with this release.
>>
>> [1] https://wso2.org/jira/browse/DEVTOOLESB-208
>>
>> Regards,
>> Dilshani
>>
>>
>> On Mon, May 9, 2016 at 1:00 PM, Nuwan Pallewela  wrote:
>>
>>> Hi Chanaka,
>>>
>>> This is not reported as a public JIRA yet.
>>>
>>> Thanks,
>>> Nuwan
>>>
>>> On Mon, May 9, 2016 at 12:51 PM, Chanaka Fernando 
>>> wrote:
>>>
 Is there any public JIRA already created?

 On Mon, May 9, 2016 at 12:46 PM, Isabelle Mauny 
 wrote:

> +1 - Can we fix this in 5.0.0 …
> __
>
> Isabelle Mauny
> VP, Product Management; WSO2, Inc.;  http://wso2.com/
>
> On May 9, 2016, at 9:05 AM, Chathurika De Silva 
> wrote:
>
> Hi ESB Team
>
> Addition to dilshani' and nuwan's feedback, from user's perspective,
> when debug points are set and if the artifact is not changed, the need for
> him to resend debug point information is an additional task. Ideally it's
> better to give the same feel to a developer who is using this tool after
> using the general eclipse debugging (since we are based on eclipse). It's
> understandable that resend is needed when the artifact has changed, but if
> doesn't the developer should be able to start debugging without any extra
> effort from the tooling side. So is there any possibility in getting this
> fixed with this release rather than marking it as an improvement?
>
> Thank You
> Erandi
>
> On Mon, May 9, 2016 at 12:09 PM, Dilshani Subasinghe <
> dilsh...@wso2.com> wrote:
>
>> Hi ESB Team,
>>
>> After restarting debug process, it may not identify previously added
>> debug points. But newly added ESB points will be added to debug process
>> successfully.
>>
>> When we using the option "*Resend ESB Debug Points*", it may send
>> previous debug points too.
>>
>> As Far As I Feel, this is bit of misleading and I also took much time
>> to identify relevant option.
>>
>> What is the improvement you can do about that ?
>>
>> @Nisrin/Praneesha - As I seen in the blog post (
>> https://nuwanpallewela.wordpress.com/2016/04/10/how-to-debug-wso2-esb-mediation-flow/),
>> "*Resend ESB Debug Points*" will be useful when we changing the
>> artifact. But in documentation it may just give explanation like "Sends
>> all registered debugging points to the ESB Server".
>>
>> Hope it will be better to be more descriptive with relevant
>> functionalities (Ex: When to use). Because user may confuse with exact
>> options as they are having similar functionalities.
>>
>> Thank you
>>
>> --
>> Best Regards,
>>
>> Dilshani Subasinghe
>> Software Engineer - QA
>> WSO2, Inc.;http://wso2.com/
>> 
>> lean.enterprise.middleware
>> Mobile: +94773375185
>> Blog: dilshanilive.blogspot.com
>>
>
>
>
> --
> *Chathurika Erandi*
> Software Engineer,
> WSO2 Inc.
>
> *E-mail:* chathuri...@wso2.com
> *Mobile: *+94714 328 612
> *Blog*: chathurikaerandi.blogspot.com
>
> --
> You received this message because you are subscribed to the Google
> Groups "WSO2 Documentation Group" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to documentation+unsubscr...@wso2.com.
> For more options, visit https://groups.google.com/a/wso2.com/d/optout.
>
>
>


 --
 Thank you and Best Regards,
 Chanaka Fernando
 Senior Technical Lead
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 773337238
 Blog : http://soatutorials.blogspot.com
 LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0
 Twitter:https://twitter.com/chanakaudaya





>>>
>>>
>>> --
>>> --
>>>
>>> *Nuwan Chamara Pallewela*
>>>

[Dev] Carbon UI Issue with JSI18N Mapping from JavaScript

2016-05-25 Thread Gobinath Loganathan
Hi,

When I use Carbon jsi18n mapping in JavaScript, it generates 'ReferenceError:
org_wso2_carbon_event_publisher_ui_jsi18n is not defined' error in the
browser. The page source has the variable
*org_wso2_carbon_registry_resource_ui_jsi18n* instead of
*org_wso2_carbon_event_publisher_ui_jsi18n*.

The JSP and JavaScript code snippets are given below:
*resources/web/eventpublisher/index.jsp:*
...

...

*resources/web/eventpublisher/js/event_publisher.js:*
...
CARBON.showErrorDialog(org_wso2_carbon_event_publisher_ui_jsi18n["registry.resource.cache.timeout.nan"]);
...

*org/wso2/carbon/event/publisher/ui/i18n/Resources.properties:*
...
registry.resource.cache.timeout.nan=Cache timeout is not a numeric value:
...

Could anyone suggest a solution for this?

Thanks

Regards,
Gobinath
-- 
*Gobinath **Loganathan*
Software Engineer, WSO2 Inc. http://wso2.com

Email  : gobin...@wso2.com
Mobile : (+94) 770 780 210
Blog: javahelps.com 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] APIM 2.0.0-SNAPSHOT Nightly build - 22/05/2016

2016-05-25 Thread Rukshan Premathunga
Hi maneesha,

we moved those script into Analytics APIM. You can find in
 /dbscripts/statistics/ directory.

Thanks.

On Wed, May 25, 2016 at 1:52 PM, Maneesha Wijesekara 
wrote:

> Hi Bhathiya.
> In this nightly build (APIM 2.0.0-SNAPSHOT Nightly build - 22/05/2016),
> sql scripts aren't available in [1] to create RDBMS schema for publishing
> statistics. Is there any particular reason for not including above scripts
> in latest release ?
>
> [1] [APIM_HOME]/dbscripts
>
> Regards
> Maneesha
>
> --
> Maneesha Wijesekara
> Software Engineer - QA Team
> WSO2 Inc.
>
> Email: manee...@wso2.com
> Linkedin: http://linkedin.com/in/maneeshawijesekara
> Mobile: +94712443119
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Rukshan Chathuranga.
Software Engineer.
WSO2, Inc.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [AppCloud] [APPCLOUD-24] Streaming logs in application log page

2016-05-25 Thread Dakshika Jayathilaka
Hi all,

Shall we have a quick chat tomorrow ? Probably we can merge this with
existing UI.

Regards,

*Dakshika Jayathilaka*
PMC Member & Committer of Apache Stratos
Senior Software Engineer
WSO2, Inc.
lean.enterprise.middleware
0771100911

On Wed, May 25, 2016 at 11:40 AM, Manjula Rathnayake 
wrote:

> Hi all,
>
> We will work with UX team on supporting these features in a single page so
> user is not confused.
>
> thank you.
>
> On Wed, May 25, 2016 at 1:08 AM, Kasun De Silva  wrote:
>
>> ​
>>> full log access (and download - so they can share with us for support.)
>>
>>
>> +1, I totally forgot on having a log download option.Created a JIRA[1]  :D
>>
>> [1] https://wso2.org/jira/browse/APPCLOUD-160
>>
>> On Tue, May 24, 2016 at 11:10 AM, Dmitry Sotnikov 
>> wrote:
>>
>>> +1 for having both streaming (and indeed last ## of lines and not
>>> minutes) and full log access (and download - so they can share with us for
>>> support.)
>>>
>>> Dmitry
>>>
>>> On Tue, May 24, 2016 at 8:48 AM, Kasun De Silva  wrote:
>>>
 We need both options IMO. There are already snapshot logs available.
 (which is the full log option) We need tailing (streaming) option
 alongside. Lets get help from UX team on the UX aspects.

 Were you able to try out that both tailing option (that means
 streaming) with giving last number of lines or last 5 (or some number) mins
 options are possible ?

 These options are possible with snapshot logs. I have tested and back
 implementation is done. But I'm not sure whether this options are possible
 with streaming.

 If possible I'm +1 to go with last number of lines. Because there are
 always logs for any last number of lines, but not for all last number of
 minutes.


 On Mon, May 23, 2016 at 11:24 PM, Danushka Fernando >>> > wrote:

> Currently we have a page to load all logs. With Streaming I guess we
> need to go for tailing certain amount of time could be preconfigured and
> later we can let the user configure the time he wants to tail.
> There are two options
> Keep current full log option and stream last no of lines of the log in
> a separate page (That means have two log watching places one for full log
> and other for tailing last 5 mins)
> or
> Keep only tailing logs option.
> IMO we need both options. WDYT?
>
> Thanks & Regards
> Danushka Fernando
> Senior Software Engineer
> WSO2 inc. http://wso2.com/
> Mobile : +94716332729
>
> On Fri, May 20, 2016 at 9:53 PM, Kasun De Silva 
> wrote:
>
>> Hi Danushka,
>>
>> Streaming log option is similar to tailf in unix systems. I guess you
>> application is not actively producing any logs. That might be the reason
>> you don't get any output or experiencing this.
>>
>> First I would try following kube command in k8s console against my
>> respective pod.
>>
>> # Begin streaming the logs of a pod
>> ./kubectl logs -f 
>>
>> Go to 249 or 251 and try that. You can try more options as mentioned
>> in [3]. but make sure you have the "*-f "* option.
>>
>> Also you can try [1] from you browser against 249 or 251, that is
>> the direct api call to the k8s to get streaming of the logs. This is the
>> same call that is generated by the fabric8 when we are invoking 
>> streamRuntimeLogs()
>> method.
>>
>> Also I would have a web app that actively generate logs to test this
>> option. Something like [2]. You can just download the war file from [2] 
>> and
>> deploy it in AppCloud setup you are testing. Then just hit "
>> */logme*" from the browser and the application will
>> start generate logs continuously. This kind of application will help you
>> test this feature.
>>
>>
>> Finally I would try to see whether if we can pass tailing lines or 
>> .sinceSeconds()
>> or .tailingLines() options to streamRuntimeLogs() builder pattern,
>> better if something like .tailingLines(10) then streaming will
>> always starts with last 10 lines. In that case we need to modify the back
>> end code similar to "getRuntimeLogs(LogQuery query)" method.
>>
>> This is something I would try at the very end, if everything goes
>> smoothly above.
>>
>> Hope this information is helpful to you regarding this JIRA. Let me
>> know if you have any concerns.
>>
>>
>> [1] http://*:*/api/v1/namespaces/**/pods/
>> **/log?container=tomcat-server&*follow=true*
>> &previous=false×tamps=false
>>
>> [2]
>> https://github.com/kasundsilva/jsp-loggin/tree/master/sample.log.app.one/target
>>
>> [3] http://kubernetes.io/docs/user-guide/kubectl/kubectl_logs/
>>
>>
>> Thanks
>> Kasun
>>
>> *Kasun de Silva*
>> Software Engineer
>>
>> WSO2 Inc *. *|* E*mail : kas...@wso2.com | Mobile: +94
>

Re: [Dev] [AppCloud] [APPCLOUD-24] Streaming logs in application log page

2016-05-25 Thread Manjula Rathnayake
Hi Dakshika,

Invitation sent to discuss these improvements.

thank you.

On Wed, May 25, 2016 at 2:09 PM, Dakshika Jayathilaka 
wrote:

> Hi all,
>
> Shall we have a quick chat tomorrow ? Probably we can merge this with
> existing UI.
>
> Regards,
>
> *Dakshika Jayathilaka*
> PMC Member & Committer of Apache Stratos
> Senior Software Engineer
> WSO2, Inc.
> lean.enterprise.middleware
> 0771100911
>
> On Wed, May 25, 2016 at 11:40 AM, Manjula Rathnayake 
> wrote:
>
>> Hi all,
>>
>> We will work with UX team on supporting these features in a single page
>> so user is not confused.
>>
>> thank you.
>>
>> On Wed, May 25, 2016 at 1:08 AM, Kasun De Silva  wrote:
>>
>>> ​
 full log access (and download - so they can share with us for support.)
>>>
>>>
>>> +1, I totally forgot on having a log download option.Created a JIRA[1]
>>>  :D
>>>
>>> [1] https://wso2.org/jira/browse/APPCLOUD-160
>>>
>>> On Tue, May 24, 2016 at 11:10 AM, Dmitry Sotnikov 
>>> wrote:
>>>
 +1 for having both streaming (and indeed last ## of lines and not
 minutes) and full log access (and download - so they can share with us for
 support.)

 Dmitry

 On Tue, May 24, 2016 at 8:48 AM, Kasun De Silva 
 wrote:

> We need both options IMO. There are already snapshot logs available.
> (which is the full log option) We need tailing (streaming) option
> alongside. Lets get help from UX team on the UX aspects.
>
> Were you able to try out that both tailing option (that means
> streaming) with giving last number of lines or last 5 (or some number) 
> mins
> options are possible ?
>
> These options are possible with snapshot logs. I have tested and back
> implementation is done. But I'm not sure whether this options are possible
> with streaming.
>
> If possible I'm +1 to go with last number of lines. Because there are
> always logs for any last number of lines, but not for all last number of
> minutes.
>
>
> On Mon, May 23, 2016 at 11:24 PM, Danushka Fernando <
> danush...@wso2.com> wrote:
>
>> Currently we have a page to load all logs. With Streaming I guess we
>> need to go for tailing certain amount of time could be preconfigured and
>> later we can let the user configure the time he wants to tail.
>> There are two options
>> Keep current full log option and stream last no of lines of the log
>> in a separate page (That means have two log watching places one for full
>> log and other for tailing last 5 mins)
>> or
>> Keep only tailing logs option.
>> IMO we need both options. WDYT?
>>
>> Thanks & Regards
>> Danushka Fernando
>> Senior Software Engineer
>> WSO2 inc. http://wso2.com/
>> Mobile : +94716332729
>>
>> On Fri, May 20, 2016 at 9:53 PM, Kasun De Silva 
>> wrote:
>>
>>> Hi Danushka,
>>>
>>> Streaming log option is similar to tailf in unix systems. I guess
>>> you application is not actively producing any logs. That might be the
>>> reason you don't get any output or experiencing this.
>>>
>>> First I would try following kube command in k8s console against my
>>> respective pod.
>>>
>>> # Begin streaming the logs of a pod
>>> ./kubectl logs -f 
>>>
>>> Go to 249 or 251 and try that. You can try more options as
>>> mentioned in [3]. but make sure you have the "*-f "* option.
>>>
>>> Also you can try [1] from you browser against 249 or 251, that is
>>> the direct api call to the k8s to get streaming of the logs. This is the
>>> same call that is generated by the fabric8 when we are invoking 
>>> streamRuntimeLogs()
>>> method.
>>>
>>> Also I would have a web app that actively generate logs to test this
>>> option. Something like [2]. You can just download the war file from [2] 
>>> and
>>> deploy it in AppCloud setup you are testing. Then just hit "
>>> */logme*" from the browser and the application will
>>> start generate logs continuously. This kind of application will help you
>>> test this feature.
>>>
>>>
>>> Finally I would try to see whether if we can pass tailing lines or 
>>> .sinceSeconds()
>>> or .tailingLines() options to streamRuntimeLogs() builder pattern,
>>> better if something like .tailingLines(10) then streaming will
>>> always starts with last 10 lines. In that case we need to modify the 
>>> back
>>> end code similar to "getRuntimeLogs(LogQuery query)" method.
>>>
>>> This is something I would try at the very end, if everything goes
>>> smoothly above.
>>>
>>> Hope this information is helpful to you regarding this JIRA. Let me
>>> know if you have any concerns.
>>>
>>>
>>> [1] http://*:*/api/v1/namespaces/**/pods/
>>> **/log?container=tomcat-server&*follow=true*
>>> &previous=false×tamps=false
>>>
>>> [2]
>>> https://github.

[Dev] [UUF] Exception encountered while processing request for Sample apps

2016-05-25 Thread Sudharma Subasinghe
Hi,

I got the following exception while running samples under UUF 1.0.0-M5
release.

[2016-05-25 14:24:12,594] ERROR
{org.wso2.msf4j.internal.router.ChannelChunkResponder} - Resource method
threw an exception java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at
org.wso2.msf4j.internal.router.HttpMethodInfo.invoke(HttpMethodInfo.java:95)
at
org.wso2.msf4j.internal.router.HttpDispatcher.channelRead0(HttpDispatcher.java:53)
at
org.wso2.msf4j.internal.router.HttpDispatcher.channelRead0(HttpDispatcher.java:31)
at
io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
at
io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:32)
at
io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:299)
at
io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:36)
at
io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:110)
at
io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.wso2.carbon.uuf.exception.MalformedConfigurationException:
Cannot find the value of 'defaultTheme' in the root component
configurations.
at
org.wso2.carbon.uuf.api.Configuration.getDefaultThemeName(Configuration.java:82)
at org.wso2.carbon.uuf.core.App.(App.java:52)
at
org.wso2.carbon.uuf.internal.core.create.AppCreator.createApp(AppCreator.java:153)
at
org.wso2.carbon.uuf.internal.UUFRegistry.lambda$loadApps$12(UUFRegistry.java:145)
at
org.wso2.carbon.uuf.internal.UUFRegistry$$Lambda$58/518009976.apply(Unknown
Source)
at
java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at
java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at
java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.Iterator.forEachRemaining(Iterator.java:116)
at
java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502)
at
java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at
java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
at
org.wso2.carbon.uuf.internal.UUFRegistry.loadApps(UUFRegistry.java:149)
at org.wso2.carbon.uuf.internal.UUFRegistry.serve(UUFRegistry.java:81)
at
org.wso2.carbon.uuf.connector.ms.UUFMicroservice.execute(UUFMicroservice.java:105)
at
org.wso2.carbon.uuf.connector.ms.UUFMicroservice.get(UUFMicroservice.java:93)
... 15 more

Any thought on this is appreciated.

Thanks
Sudharma
-- 
Sudharma Subasinghe,
Software Engineer,
WSO2 Inc.
Email: sudhar...@wso2.com 
Mobile : +94 710 565 157 <%2B94%20718%20210%20200>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] APIM 2.0.0-SNAPSHOT Nightly build - 22/05/2016

2016-05-25 Thread Maneesha Wijesekara
Hi Rukshan,
I couldn't found a folder named 'Statistics' in directory
/dbscripts/
directory in *WSO2 API Manager Analytics 1.0.0 - Alpha2 *pack. Can you
confirm that it will be available in next analytics release ?

Regards
Maneesha

On Wed, May 25, 2016 at 2:02 PM, Rukshan Premathunga 
wrote:

> Hi maneesha,
>
> we moved those script into Analytics APIM. You can find in
>  /dbscripts/statistics/ directory.
>
> Thanks.
>
> On Wed, May 25, 2016 at 1:52 PM, Maneesha Wijesekara 
> wrote:
>
>> Hi Bhathiya.
>> In this nightly build (APIM 2.0.0-SNAPSHOT Nightly build - 22/05/2016),
>> sql scripts aren't available in [1] to create RDBMS schema for publishing
>> statistics. Is there any particular reason for not including above scripts
>> in latest release ?
>>
>> [1] [APIM_HOME]/dbscripts
>>
>> Regards
>> Maneesha
>>
>> --
>> Maneesha Wijesekara
>> Software Engineer - QA Team
>> WSO2 Inc.
>>
>> Email: manee...@wso2.com
>> Linkedin: http://linkedin.com/in/maneeshawijesekara
>> Mobile: +94712443119
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Rukshan Chathuranga.
> Software Engineer.
> WSO2, Inc.
>



-- 
Maneesha Wijesekara
Software Engineer - QA Team
WSO2 Inc.

Email: manee...@wso2.com
Linkedin: http://linkedin.com/in/maneeshawijesekara
Mobile: +94712443119
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Carbon UI Issue with JSI18N Mapping from JavaScript

2016-05-25 Thread Gobinath Loganathan
Hi,

I found the solution. I didn't add the jsi18n declaration in the parent JSP
(In my case *create_event_publisher.jsp*) where the script was invoked.



After adding it, everything works fine.

Thanks.

Regards,
Gobinath

On Wed, May 25, 2016 at 2:00 PM, Gobinath Loganathan 
wrote:

> Hi,
>
> When I use Carbon jsi18n mapping in JavaScript, it generates 'ReferenceError:
> org_wso2_carbon_event_publisher_ui_jsi18n is not defined' error in the
> browser. The page source has the variable
> *org_wso2_carbon_registry_resource_ui_jsi18n* instead of
> *org_wso2_carbon_event_publisher_ui_jsi18n*.
>
> The JSP and JavaScript code snippets are given below:
> *resources/web/eventpublisher/index.jsp:*
> ...
>   resourceBundle="org.wso2.carbon.event.publisher.ui.i18n.Resources"
>  request="<%=request%>"
>  namespace="org.wso2.carbon.event.publisher.ui"/>
> ...
>
> *resources/web/eventpublisher/js/event_publisher.js:*
> ...
>
> CARBON.showErrorDialog(org_wso2_carbon_event_publisher_ui_jsi18n["registry.resource.cache.timeout.nan"]);
> ...
>
> *org/wso2/carbon/event/publisher/ui/i18n/Resources.properties:*
> ...
> registry.resource.cache.timeout.nan=Cache timeout is not a numeric value:
> ...
>
> Could anyone suggest a solution for this?
>
> Thanks
>
> Regards,
> Gobinath
> --
> *Gobinath **Loganathan*
> Software Engineer, WSO2 Inc. http://wso2.com
>
> Email  : gobin...@wso2.com
> Mobile : (+94) 770 780 210
> Blog: javahelps.com 
>
>
>



-- 
*Gobinath **Loganathan*
Software Engineer, WSO2 Inc. http://wso2.com

Email  : gobin...@wso2.com
Mobile : (+94) 770 780 210
Blog: javahelps.com 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] APIM 2.0.0-SNAPSHOT Nightly build - 22/05/2016

2016-05-25 Thread Rukshan Premathunga
Hi Maneesha,

changes committed[1] 12 ago and changes may not include in Alpha 2 pack. So
you can find script form here[1].

[1]
https://github.com/ruks/analytics-apim/tree/139a8f82aef95a915f87d6e720210804309222f0/product/distribution/resources/dbscript/statistics

On Wed, May 25, 2016 at 2:33 PM, Maneesha Wijesekara 
wrote:

> Hi Rukshan,
> I couldn't found a folder named 'Statistics' in directory 
> /dbscripts/
> directory in *WSO2 API Manager Analytics 1.0.0 - Alpha2 *pack. Can you
> confirm that it will be available in next analytics release ?
>
> Regards
> Maneesha
>
> On Wed, May 25, 2016 at 2:02 PM, Rukshan Premathunga 
> wrote:
>
>> Hi maneesha,
>>
>> we moved those script into Analytics APIM. You can find in
>>  /dbscripts/statistics/ directory.
>>
>> Thanks.
>>
>> On Wed, May 25, 2016 at 1:52 PM, Maneesha Wijesekara 
>> wrote:
>>
>>> Hi Bhathiya.
>>> In this nightly build (APIM 2.0.0-SNAPSHOT Nightly build - 22/05/2016),
>>> sql scripts aren't available in [1] to create RDBMS schema for publishing
>>> statistics. Is there any particular reason for not including above scripts
>>> in latest release ?
>>>
>>> [1] [APIM_HOME]/dbscripts
>>>
>>> Regards
>>> Maneesha
>>>
>>> --
>>> Maneesha Wijesekara
>>> Software Engineer - QA Team
>>> WSO2 Inc.
>>>
>>> Email: manee...@wso2.com
>>> Linkedin: http://linkedin.com/in/maneeshawijesekara
>>> Mobile: +94712443119
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Rukshan Chathuranga.
>> Software Engineer.
>> WSO2, Inc.
>>
>
>
>
> --
> Maneesha Wijesekara
> Software Engineer - QA Team
> WSO2 Inc.
>
> Email: manee...@wso2.com
> Linkedin: http://linkedin.com/in/maneeshawijesekara
> Mobile: +94712443119
>



-- 
Rukshan Chathuranga.
Software Engineer.
WSO2, Inc.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] [VOTE] WSO2 Developer Studio Tooling for Platform RC2

2016-05-25 Thread Maheeka Jayasuriya
Hi all,

I have tested the project nature extension point and found no issues.

+1

Thanks,
Maheeka

Maheeka Jayasuriya
Software Engineer
Mobile : +9450661

On Mon, May 23, 2016 at 1:55 PM, Awanthika Senarath 
wrote:

> Hello Devs,
>
>
> We are pleased to announce the vote for RC-2 of *WSO2 Developer Studio Tooling
> for Platform 4.1.0.*
>
> P2 repository of WSO2 developer Studio  Tooling for Platform 4.1.0 is
> available here
> .
>  Source
> and Tag Location to be voted upon is available here
> 
> .
>
> Developer Studio 4.1.0  Tooling for Platform is released on Developer
> Studio kernel 4.1.0
> Developer Studio Kernel contains a single feature which has the bundles
> that are required to implement WSO2 specific product tooling on Eclipse.
>
>- This release contains Developer Studio migration to Eclipse mars
>- Improvements in the Developer Studio Updater tool for automatic
>updates
>
>
>
>1. [+] Stable - go ahead and release
>2. [-]  Broken - do not release (please explain why)
>
>
> The platform could to be tested on top of Developer Studio Kernel with
> compatible tooling SNAPSHOT versions available at [1].
>
>
> [1]
> http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/4.1.0/
>
>
> Awanthika Senarath
> Software Engineer, WSO2 Inc.
> Mobile: +94717681791
>
>
>
> ___
> 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] APIM 2.0.0-SNAPSHOT Nightly build - 22/05/2016

2016-05-25 Thread Maneesha Wijesekara
Hi Rukshan,
Thanks for the information. Will use it to create schemas.

Regards
Maneesha

On Wed, May 25, 2016 at 2:36 PM, Rukshan Premathunga 
wrote:

> Hi Maneesha,
>
> changes committed[1] 12 ago and changes may not include in Alpha 2 pack.
> So you can find script form here[1].
>
> [1]
> https://github.com/ruks/analytics-apim/tree/139a8f82aef95a915f87d6e720210804309222f0/product/distribution/resources/dbscript/statistics
>
> On Wed, May 25, 2016 at 2:33 PM, Maneesha Wijesekara 
> wrote:
>
>> Hi Rukshan,
>> I couldn't found a folder named 'Statistics' in directory 
>> /dbscripts/
>> directory in *WSO2 API Manager Analytics 1.0.0 - Alpha2 *pack. Can you
>> confirm that it will be available in next analytics release ?
>>
>> Regards
>> Maneesha
>>
>> On Wed, May 25, 2016 at 2:02 PM, Rukshan Premathunga 
>> wrote:
>>
>>> Hi maneesha,
>>>
>>> we moved those script into Analytics APIM. You can find in
>>>  /dbscripts/statistics/ directory.
>>>
>>> Thanks.
>>>
>>> On Wed, May 25, 2016 at 1:52 PM, Maneesha Wijesekara 
>>> wrote:
>>>
 Hi Bhathiya.
 In this nightly build (APIM 2.0.0-SNAPSHOT Nightly build - 22/05/2016),
 sql scripts aren't available in [1] to create RDBMS schema for publishing
 statistics. Is there any particular reason for not including above scripts
 in latest release ?

 [1] [APIM_HOME]/dbscripts

 Regards
 Maneesha

 --
 Maneesha Wijesekara
 Software Engineer - QA Team
 WSO2 Inc.

 Email: manee...@wso2.com
 Linkedin: http://linkedin.com/in/maneeshawijesekara
 Mobile: +94712443119

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


>>>
>>>
>>> --
>>> Rukshan Chathuranga.
>>> Software Engineer.
>>> WSO2, Inc.
>>>
>>
>>
>>
>> --
>> Maneesha Wijesekara
>> Software Engineer - QA Team
>> WSO2 Inc.
>>
>> Email: manee...@wso2.com
>> Linkedin: http://linkedin.com/in/maneeshawijesekara
>> Mobile: +94712443119
>>
>
>
>
> --
> Rukshan Chathuranga.
> Software Engineer.
> WSO2, Inc.
>



-- 
Maneesha Wijesekara
Software Engineer - QA Team
WSO2 Inc.

Email: manee...@wso2.com
Linkedin: http://linkedin.com/in/maneeshawijesekara
Mobile: +94712443119
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] JSON schema for JSON payloads without a root element - visual datamapper editor

2016-05-25 Thread Nuwan Pallewela
Hi Sohani,

On Wed, May 25, 2016 at 11:03 AM, Sohani Weerasinghe 
wrote:

> Hi All,
>
> Since there can be JSON payloads without a root element as shown below, we
> are in a process of generating the JSON schema for such payloads. Please
> find the implementation details
>
> eg 1:
>
> *Input*:
>
> [
> "777925",
> "732321"
> ]
>
> *JSON schema:*
>
> {
>   "$schema" : "http://json-schema.org/draft-04/schema#";,
>   "id" : "http://wso2jsonschema.org";,
>   "title" : "root",
>   "type" : "array",
>   "items" : {
> "id" : "http://wso2jsonschema.org/0";,
> "type" : "string"
>   }
> }
>
>
> I think this primitive array should be able to map.


> ​eg 2:
>
> *Input*:
>
> [
>{
>  "id": 0,
>  "species": "Capra hircus",
>  "name": "Goat"
>},
>{
>  "id": 1,
>  "species": "Panthera pardus",
>  "name": "Leopard"
>},
>{
>  "id": 2,
>  "species": "Equus zebra",
>  "name": "Zebra"
>}
>  ]
>
> *JSON Schema:*
>
> {
>   "$schema" : "http://json-schema.org/draft-04/schema#";,
>   "id" : "http://wso2jsonschema.org";,
>   "title" : "root",
>   "type" : "array",
>   "items" : {
> "id" : "http://wso2jsonschema.org/0";,
> "type" : "object",
> "properties" : {
>   "species" : {
> "id" : "http://wso2jsonschema.org/0/species";,
> "type" : "string"
>   },
>   "name" : {
> "id" : "http://wso2jsonschema.org/0/name";,
> "type" : "string"
>   },
>   "id" : {
> "id" : "http://wso2jsonschema.org/0/id";,
> "type" : "number"
>   }
> }
>   }
> }
>
>
> ​Thanks,
> Sohani
>
> Sohani Weerasinghe
> Software Engineer
> WSO2, Inc: http://wso2.com
>
> Mobile  : +94 716439774
> Blog :http://christinetechtips.blogspot.com/
> Twitter  : https://twitter.com/sohanichristine
>



-- 
--

*Nuwan Chamara Pallewela*


*Software Engineer*

*WSO2, Inc. *http://wso2.com
*lean . enterprise . middleware*

Email   *nuw...@wso2.com *
Mobile  *+94719079739@*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [APIM] Changing Default Tier Limits and Names

2016-05-25 Thread Harsha Kumara
Hi All,

Currently we are using very small number for our default tier values. We
are going to change them to more meaningful counts. Here are the current
limits. Also with the change of quota calculation and undesirability we
think of change the tier names as well.

Subscription Level Tiers

   - Gold - 20 req/min
   - Silver - 5 req/min
   - Bronze - 1 req/min



Resource Level Tiers

   - Ultimate - 20 req/min
   - Plus - 5  req/min
   - Basic -1 req/min


Application Level Tiers

   - Large - 20 req/min
   - Medium - 5 req/min
   - Small -1 req/min


Unauthenticated Tier - 60  req/min

*Proposed Limits*

Subscription Level Tiers

   - Gold - 5000  req/min
   - Silver - 2000 req/min
   - Bronze - 1000 req/min

Resource Level Tiers

   - 50KPerMin - 5 req/min
   - 20KPerMin - 2 req/min
   - 10KPerMin - 1  req/min

Application Level Tiers -> Per User Quota

   - 50PerMin - 50 req/min
   - 20PerMin  - 20 req/min
   - 10PerMin  - 10 req/min

Unauthenticated Tier - 500  req/min

Thanks,
Harsha

-- 
Harsha Kumara
Software Engineer, WSO2 Inc.
Mobile: +94775505618
Blog:harshcreationz.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] JSON schema for JSON payloads without a root element - visual datamapper editor

2016-05-25 Thread Sohani Weerasinghe
Sohani Weerasinghe
Software Engineer
WSO2, Inc: http://wso2.com

Mobile  : +94 716439774
Blog :http://christinetechtips.blogspot.com/
Twitter  : https://twitter.com/sohanichristine

On Wed, May 25, 2016 at 2:48 PM, Nuwan Pallewela  wrote:

> Hi Sohani,
>
> On Wed, May 25, 2016 at 11:03 AM, Sohani Weerasinghe 
> wrote:
>
>> Hi All,
>>
>> Since there can be JSON payloads without a root element as shown below,
>> we are in a process of generating the JSON schema for such payloads. Please
>> find the implementation details
>>
>> eg 1:
>>
>> *Input*:
>>
>> [
>> "777925",
>> "732321"
>> ]
>>
>> *JSON schema:*
>>
>> {
>>   "$schema" : "http://json-schema.org/draft-04/schema#";,
>>   "id" : "http://wso2jsonschema.org";,
>>   "title" : "root",
>>   "type" : "array",
>>   "items" : {
>> "id" : "http://wso2jsonschema.org/0";,
>> "type" : "string"
>>   }
>> }
>>
>>
>> I think this primitive array should be able to map.
>  Yes, This should be able to map and I'm in a process of implementing it
>
​eg 2:
>>
>> *Input*:
>>
>> [
>>{
>>  "id": 0,
>>  "species": "Capra hircus",
>>  "name": "Goat"
>>},
>>{
>>  "id": 1,
>>  "species": "Panthera pardus",
>>  "name": "Leopard"
>>},
>>{
>>  "id": 2,
>>  "species": "Equus zebra",
>>  "name": "Zebra"
>>}
>>  ]
>>
>> *JSON Schema:*
>>
>> {
>>   "$schema" : "http://json-schema.org/draft-04/schema#";,
>>   "id" : "http://wso2jsonschema.org";,
>>   "title" : "root",
>>   "type" : "array",
>>   "items" : {
>> "id" : "http://wso2jsonschema.org/0";,
>> "type" : "object",
>> "properties" : {
>>   "species" : {
>> "id" : "http://wso2jsonschema.org/0/species";,
>> "type" : "string"
>>   },
>>   "name" : {
>> "id" : "http://wso2jsonschema.org/0/name";,
>> "type" : "string"
>>   },
>>   "id" : {
>> "id" : "http://wso2jsonschema.org/0/id";,
>> "type" : "number"
>>   }
>> }
>>   }
>> }
>>
>>
>> ​Thanks,
>> Sohani
>>
>> Sohani Weerasinghe
>> Software Engineer
>> WSO2, Inc: http://wso2.com
>>
>> Mobile  : +94 716439774
>> Blog :http://christinetechtips.blogspot.com/
>> Twitter  : https://twitter.com/sohanichristine
>>
>
>
>
> --
> --
>
> *Nuwan Chamara Pallewela*
>
>
> *Software Engineer*
>
> *WSO2, Inc. *http://wso2.com
> *lean . enterprise . middleware*
>
> Email   *nuw...@wso2.com *
> Mobile  *+94719079739 <%2B94719079739>@*
>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] [VOTE] WSO2 Developer Studio Tooling for Platform RC2

2016-05-25 Thread Heshitha Hettihewa
Hi all,

I have tested BPS Tooling with the new platform and no major issues found.

+1

Thanks.

On Wed, May 25, 2016 at 2:40 PM, Maheeka Jayasuriya 
wrote:

> Hi all,
>
> I have tested the project nature extension point and found no issues.
>
> +1
>
> Thanks,
> Maheeka
>
> Maheeka Jayasuriya
> Software Engineer
> Mobile : +9450661
>
> On Mon, May 23, 2016 at 1:55 PM, Awanthika Senarath 
> wrote:
>
>> Hello Devs,
>>
>>
>> We are pleased to announce the vote for RC-2 of *WSO2 Developer Studio 
>> Tooling
>> for Platform 4.1.0.*
>>
>> P2 repository of WSO2 developer Studio  Tooling for Platform 4.1.0 is
>> available here
>> .
>>  Source
>> and Tag Location to be voted upon is available here
>> 
>> .
>>
>> Developer Studio 4.1.0  Tooling for Platform is released on Developer
>> Studio kernel 4.1.0
>> Developer Studio Kernel contains a single feature which has the bundles
>> that are required to implement WSO2 specific product tooling on Eclipse.
>>
>>- This release contains Developer Studio migration to Eclipse mars
>>- Improvements in the Developer Studio Updater tool for automatic
>>updates
>>
>>
>>
>>1. [+] Stable - go ahead and release
>>2. [-]  Broken - do not release (please explain why)
>>
>>
>> The platform could to be tested on top of Developer Studio Kernel with
>> compatible tooling SNAPSHOT versions available at [1].
>>
>>
>> [1]
>> http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/4.1.0/
>>
>>
>> Awanthika Senarath
>> Software Engineer, WSO2 Inc.
>> Mobile: +94717681791
>>
>>
>>
>> ___
>> 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
>
>


-- 
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] Get the offset number specified in the carbon.xml using carbon admin services.

2016-05-25 Thread Sirojan Tharmakulasingam
Hi,

I need to know the offset number specified in carbon.xml of a node in a
cluster. Is it possible with a carbon admin service? if so which admin
service, I need to use?

Regards,
-- 
Sirojan Tharmakulasingam
Software Engineer, WSO2 Inc. http://wso2.com
Email: siro...@wso2.com
Mobile: +94779797913
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [APPM] When Webapp/ Mobile App artifact is deleted, Solr indexing is not properly updated

2016-05-25 Thread Thilini Shanika
Hi all,

In App Manager, we have encountered the issue [1] while we were deleting
one or more webapps from the publishers app listing page. Basically, when
we delete an app or multiple apps, one or more applications disappeared
from app listing page, but those apps are still available in Carbon
console. We have debugged the artifact retrieving flow in of
carbon-appm, carbon-governance and carbon-registry and below is what
happens during this.

- App Publisher retrieves the available app artifacts through
GeneticArtifactManager's findGenericArtifacts(Query Map)  and
set PaginationContext count to be the length of total applications
available in registry.
- Applications are deleted from App Publisher through
GeneticArtifactManager's removeGenericArtifact(id) method
- Even though an application registry artifact is deleted, app deletion is
not getting reflected to indexing and during app retrieval, we have noticed
that the SolrDocument of the deleted App is still available in
SolrDocumentList retrieved from registry artifact search.

Due to this behavior, some of the already available apps are dropped from
paginated artifacts list since some non-existing artifacts are included in
search result set. But when the registry in reindexed, all the available
applications become visible in App Publisher.

Any insight on this is highly appreciated

Thanks
Thilini

[1] - https://wso2.org/jira/browse/APPM-1412



-- 
Thilini Shanika
Software Engineer
WSO2, Inc.; http://wso2.com
20, Palmgrove Avenue, Colombo 3

E-mail: tgtshan...@gmail.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APPM] When Webapp/ Mobile App artifact is deleted, Solr indexing is not properly updated

2016-05-25 Thread Chandana Napagoda
Hi Thilini,

It seems that you are not deleting App asset instances properly. Instead of
that, you guys are deleting parent collection of the App asset. So before
"artifactManager.removeGenericArtifact(artifactId);"[1] operation, you have
to delete the App asset using below code snippet :
artifactManager.removeGenericArtifact(appArtifact);

[1].
https://github.com/wso2/carbon-appmgt/blob/master/components/org.wso2.carbon.appmgt.impl/src/main/java/org/wso2/carbon/appmgt/impl/APIProviderImpl.java#L1963

Regards,
Chandana

On Wed, May 25, 2016 at 3:23 PM, Thilini Shanika  wrote:

> Hi all,
>
> In App Manager, we have encountered the issue [1] while we were deleting
> one or more webapps from the publishers app listing page. Basically, when
> we delete an app or multiple apps, one or more applications disappeared
> from app listing page, but those apps are still available in Carbon
> console. We have debugged the artifact retrieving flow in of
> carbon-appm, carbon-governance and carbon-registry and below is what
> happens during this.
>
> - App Publisher retrieves the available app artifacts through
> GeneticArtifactManager's findGenericArtifacts(Query Map)  and
> set PaginationContext count to be the length of total applications
> available in registry.
> - Applications are deleted from App Publisher through
> GeneticArtifactManager's removeGenericArtifact(id) method
> - Even though an application registry artifact is deleted, app deletion is
> not getting reflected to indexing and during app retrieval, we have noticed
> that the SolrDocument of the deleted App is still available in
> SolrDocumentList retrieved from registry artifact search.
>
> Due to this behavior, some of the already available apps are dropped from
> paginated artifacts list since some non-existing artifacts are included in
> search result set. But when the registry in reindexed, all the available
> applications become visible in App Publisher.
>
> Any insight on this is highly appreciated
>
> Thanks
> Thilini
>
> [1] - https://wso2.org/jira/browse/APPM-1412
>
>
>
> --
> Thilini Shanika
> Software Engineer
> WSO2, Inc.; http://wso2.com
> 20, Palmgrove Avenue, Colombo 3
>
> E-mail: tgtshan...@gmail.com
>
>


-- 
*Chandana Napagoda*
Senior Software Engineer
WSO2 Inc. - http://wso2.org

*Email  :  chand...@wso2.com **Mobile : +94718169299*

*Blog  :http://cnapagoda.blogspot.com *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [UUF] Exception encountered while processing request for Sample apps

2016-05-25 Thread Sudharma Subasinghe
I fixed the issue after changing carbon-uuf-maven-plugin version to 1.0.0-m3

On Wed, May 25, 2016 at 2:27 PM, Sudharma Subasinghe 
wrote:

>
> Hi,
>
> I got the following exception while running samples under UUF 1.0.0-M5
> release.
>
> [2016-05-25 14:24:12,594] ERROR
> {org.wso2.msf4j.internal.router.ChannelChunkResponder} - Resource method
> threw an exception java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at
> org.wso2.msf4j.internal.router.HttpMethodInfo.invoke(HttpMethodInfo.java:95)
> at
> org.wso2.msf4j.internal.router.HttpDispatcher.channelRead0(HttpDispatcher.java:53)
> at
> org.wso2.msf4j.internal.router.HttpDispatcher.channelRead0(HttpDispatcher.java:31)
> at
> io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
> at
> io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
> at
> io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:32)
> at
> io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:299)
> at
> io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:36)
> at
> io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:110)
> at
> io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: org.wso2.carbon.uuf.exception.MalformedConfigurationException:
> Cannot find the value of 'defaultTheme' in the root component
> configurations.
> at
> org.wso2.carbon.uuf.api.Configuration.getDefaultThemeName(Configuration.java:82)
> at org.wso2.carbon.uuf.core.App.(App.java:52)
> at
> org.wso2.carbon.uuf.internal.core.create.AppCreator.createApp(AppCreator.java:153)
> at
> org.wso2.carbon.uuf.internal.UUFRegistry.lambda$loadApps$12(UUFRegistry.java:145)
> at
> org.wso2.carbon.uuf.internal.UUFRegistry$$Lambda$58/518009976.apply(Unknown
> Source)
> at
> java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
> at
> java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
> at
> java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
> at java.util.Iterator.forEachRemaining(Iterator.java:116)
> at
> java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
> at
> java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512)
> at
> java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502)
> at
> java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
> at
> java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
> at
> java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
> at
> org.wso2.carbon.uuf.internal.UUFRegistry.loadApps(UUFRegistry.java:149)
> at org.wso2.carbon.uuf.internal.UUFRegistry.serve(UUFRegistry.java:81)
> at
> org.wso2.carbon.uuf.connector.ms.UUFMicroservice.execute(UUFMicroservice.java:105)
> at
> org.wso2.carbon.uuf.connector.ms.UUFMicroservice.get(UUFMicroservice.java:93)
> ... 15 more
>
> Any thought on this is appreciated.
>
> Thanks
> Sudharma
> --
> Sudharma Subasinghe,
> Software Engineer,
> WSO2 Inc.
> Email: sudhar...@wso2.com 
> Mobile : +94 710 565 157 <%2B94%20718%20210%20200>
>



-- 
Sudharma Subasinghe,
Software Engineer,
WSO2 Inc.
Email: sudhar...@wso2.com 
Mobile : +94 710 565 157 <%2B94%20718%20210%20200>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Difference in the ReadWriteLDAPUserStoreManager of Identity Server and API Manager

2016-05-25 Thread Ushani Balasooriya
+ Dev

Hi,

Can you please let us know whether this is an issue or done for a
reason ( *
>
>
> Latest identity server
>
>class="org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager">
>  name="TenantManager">org.wso2.carbon.user.core.tenant.CommonHybridLDAPTenantManager
>  name="ConnectionURL">ldap://localhost:${Ports.EmbeddedLDAP.LDAPServerPort}
> uid=admin,ou=system
> admin
>  name="UserSearchBase">ou=Users,dc=wso2,dc=org
> identityPerson
> uid
>  name="UserNameSearchFilter">(&(objectClass=person)(uid=?))
>  name="UserNameListFilter">(objectClass=person)
> 
> true
> true
>  name="GroupSearchBase">ou=Groups,dc=wso2,dc=org
> groupOfNames
> cn
>  name="GroupNameSearchFilter">(&(objectClass=groupOfNames)(cn=?))
>  name="GroupNameListFilter">(objectClass=groupOfNames)
> member
> false
>  name="UsernameJavaRegEx">[a-zA-Z0-9._-|//]{3,30}$
>  name="UsernameJavaScriptRegEx">^[\S]{3,30}$
> Username
> pattern policy violated
> ^[\S]{5,30}$
>  name="PasswordJavaScriptRegEx">^[\S]{5,30}$
> Password
> length should be within 5 to 30 characters
>  name="RolenameJavaRegEx">[a-zA-Z0-9._-|//]{3,30}$
>  name="RolenameJavaScriptRegEx">^[\S]{3,30}$
> true
> false
> true
> PLAIN_TEXT
> ,
> 100
> 100
> false
> WSO2.ORG
> true
> false
> 5000
> 
> 
> 
>
>
> regards,
> Shavantha Weerasinghe
> Senior Software Engineer QA
> WSO2, Inc.
> lean.enterprise.middleware.
> http://wso2.com
> http://wso2.org
> Tel : 94 11 214 5345
> Fax :94 11 2145300
>
>


-- 
*Ushani Balasooriya*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Get the offset number specified in the carbon.xml using carbon admin services.

2016-05-25 Thread Thusitha Thilina Dayaratne
Hi Sirojan,

AFAIK we can't take this from a existing admin service.
If you can access the admin services of a node then you know the portOffset
right?

Thanks

On Wed, May 25, 2016 at 3:14 PM, Sirojan Tharmakulasingam 
wrote:

> Hi,
>
> I need to know the offset number specified in carbon.xml of a node in a
> cluster. Is it possible with a carbon admin service? if so which admin
> service, I need to use?
>
> Regards,
> --
> Sirojan Tharmakulasingam
> Software Engineer, WSO2 Inc. http://wso2.com
> Email: siro...@wso2.com
> Mobile: +94779797913
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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

Mobile  +94712756809
Blog  alokayasoya.blogspot.com
Abouthttp://about.me/thusithathilina
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] [ESB] [LDAP Connector] SSL connection (port 636)

2016-05-25 Thread Vivekananthan Sivanayagam
Hi Malaka,

LDAP Connector is released and published in store [1].

[1]
https://store.wso2.com/store/assets/esbconnector/6e86496f-431e-43e2-bded-caedd10c4cb9




*Thank youVivekananthan Sivanayagam*

*Associate Software Engineer | WSO2*

*E:vivekanant...@wso2.com *
*M:+94752786138*

On Wed, May 25, 2016 at 8:42 AM, Vivekananthan Sivanayagam <
vivekanant...@wso2.com> wrote:

> Noted.
>
>
>
>
> *Thank youVivekananthan Sivanayagam*
>
> *Associate Software Engineer | WSO2*
>
> *E:vivekanant...@wso2.com *
> *M:+94752786138 <%2B94752786138>*
>
> On Wed, May 25, 2016 at 5:37 AM, Malaka Silva  wrote:
>
>> Please proceed and release.
>>
>> On Tue, May 24, 2016 at 6:21 PM, Vivekananthan Sivanayagam <
>> vivekanant...@wso2.com> wrote:
>>
>>> Hi Malaka,
>>>
>>> Yes, We can release after fixed.
>>>
>>>
>>>
>>>
>>> *Thank youVivekananthan Sivanayagam*
>>>
>>> *Associate Software Engineer | WSO2*
>>>
>>> *E:vivekanant...@wso2.com *
>>> *M:+94752786138 <%2B94752786138>*
>>>
>>> On Tue, May 24, 2016 at 3:44 PM, Malaka Silva  wrote:
>>>
 Can we fix those and release please?

 On Tue, May 24, 2016 at 2:32 PM, Vivekananthan Sivanayagam <
 vivekanant...@wso2.com> wrote:

> Hi Malaka,
>
> I have tested LDAP Connector with those changes, It is working fine ,
> but there is a problem when run the test cases because all the test case
> methods are skipped but it gets build success.
>
> Error is "Caused by: java.io.FileNotFoundException:
> /home/vive/Downloads/ldap/esb-connector-ldap/target/ldap-connector-1.0.1-SNAPSHOT.zip
> (No such file or directory)".
>
> There are few changes in pom file [1] that's why test cases are
> getting skipped .
>
> [1]
> https://github.com/wso2-extensions/esb-connector-ldap/pull/3/files#diff-600376dffeb79835ede4a0b285078036R195
>
>
>
>
> *Thank youVivekananthan Sivanayagam*
>
> *Associate Software Engineer | WSO2*
>
> *E:vivekanant...@wso2.com *
> *M:+94752786138 <%2B94752786138>*
>
> On Wed, May 18, 2016 at 8:36 PM, Vivekananthan Sivanayagam <
> vivekanant...@wso2.com> wrote:
>
>> Hi willian Antunes,
>>
>> Thank you for more details, I am looking on that.
>>
>>
>>
>>
>> *Thank youVivekananthan Sivanayagam*
>>
>> *Associate Software Engineer | WSO2*
>>
>> *E:vivekanant...@wso2.com *
>> *M:+94752786138 <%2B94752786138>*
>>
>> On Wed, May 18, 2016 at 7:53 PM, Willian Antunes <
>> willian.lima.antu...@gmail.com> wrote:
>>
>>> By the way I believe we could talk directly from the LDAP Connector
>>> JIRA issue  instead
>>> from here or use the pull request that I requested from GitHub
>>> , so
>>> we can keep the history of it from one place.
>>>
>>> On Wed, May 18, 2016 at 1:41 PM, Willian Antunes <
>>> willian.lima.antu...@gmail.com> wrote:
>>>
 Vivekananthan,

 Did you see what happened during the communication process? If
 didn't try to install an sniffer like Wireshark to understand which 
 error
 the LDAP server sent to you.

 There are two scenarios which you can use to test:

 1 - Set *secureConnection* and *disableSSLCertificateChecking both
 as true* in order to use a SSL port and ignore the certificate
 provided by the LDAP server.
 2 - Set *secureConnection* *as* *true* and 
 *disableSSLCertificateChecking
 as* *false* in order to use a SSL port and to validate the
 certificate provided by the LDAP server. You have to make sure you 
 have the
 ROOT CA was imported in your OS which was used to sign the LDAP
 certificate, if you don't then the connection will fail. Try to use an
 sniffer to understand what is happening.

 Important: Does not make sense to configure secureConnection as
 false and disableSSLCertificateChecking as true because you're not 
 using a
 secure port like 636.

 If you have any doubt please contact me!

 Regards,
 Antunes

 On Wed, May 18, 2016 at 4:05 AM, Vivekananthan Sivanayagam <
 vivekanant...@wso2.com> wrote:

> Hi Malaka,
>
> I am working on that and still I have a problem in configure LDAP
> with SSL connection. Without SSL connection, the connector is working 
> and
> according to the his changes, the SearchEntry method is working
> with onlyOneReference parameter. I need to check in SSL connection 
> part.
>
> I configured in ubuntu and I could not connect LDAP over SSL
> connection. When I configure with port 636,it shows "ldap_result: 
> Can't
> contact 

Re: [Dev] [DEV] [VOTE] WSO2 Developer Studio Tooling for Platform RC2

2016-05-25 Thread Nuwan Pallewela
Hi All,

I have noticed following issues while testing.
https://wso2.org/jira/browse/TOOLS-3412
https://wso2.org/jira/browse/TOOLS-3416

Thanks,
Nuwan

On Wed, May 25, 2016 at 3:08 PM, Heshitha Hettihewa 
wrote:

> Hi all,
>
> I have tested BPS Tooling with the new platform and no major issues found.
>
> +1
>
> Thanks.
>
> On Wed, May 25, 2016 at 2:40 PM, Maheeka Jayasuriya 
> wrote:
>
>> Hi all,
>>
>> I have tested the project nature extension point and found no issues.
>>
>> +1
>>
>> Thanks,
>> Maheeka
>>
>> Maheeka Jayasuriya
>> Software Engineer
>> Mobile : +9450661
>>
>> On Mon, May 23, 2016 at 1:55 PM, Awanthika Senarath 
>> wrote:
>>
>>> Hello Devs,
>>>
>>>
>>> We are pleased to announce the vote for RC-2 of *WSO2 Developer Studio 
>>> Tooling
>>> for Platform 4.1.0.*
>>>
>>> P2 repository of WSO2 developer Studio  Tooling for Platform 4.1.0 is
>>> available here
>>> .
>>>  Source
>>> and Tag Location to be voted upon is available here
>>> 
>>> .
>>>
>>> Developer Studio 4.1.0  Tooling for Platform is released on Developer
>>> Studio kernel 4.1.0
>>> Developer Studio Kernel contains a single feature which has the bundles
>>> that are required to implement WSO2 specific product tooling on Eclipse.
>>>
>>>- This release contains Developer Studio migration to Eclipse mars
>>>- Improvements in the Developer Studio Updater tool for automatic
>>>updates
>>>
>>>
>>>
>>>1. [+] Stable - go ahead and release
>>>2. [-]  Broken - do not release (please explain why)
>>>
>>>
>>> The platform could to be tested on top of Developer Studio Kernel with
>>> compatible tooling SNAPSHOT versions available at [1].
>>>
>>>
>>> [1]
>>> http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/4.1.0/
>>>
>>>
>>> Awanthika Senarath
>>> Software Engineer, WSO2 Inc.
>>> Mobile: +94717681791
>>>
>>>
>>>
>>> ___
>>> 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
>>
>>
>
>
> --
> 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
>
>


-- 
--

*Nuwan Chamara Pallewela*


*Software Engineer*

*WSO2, Inc. *http://wso2.com
*lean . enterprise . middleware*

Email   *nuw...@wso2.com *
Mobile  *+94719079739@*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [PC]Getting permission list for a Role

2016-05-25 Thread Sameera Gunarathne
Hi all,

As in $Subject I need to get the permissions list for a role(i.e
"internal/publisher) from the registry. Can I get the api method for this
task?

Thanks.
Regards,
Sameera.

-- 
Sameera Gunarathne
Software Engineer, WSO2 Inc. http://wso2.com

Email: samee...@wso2.com
Mobile: +94714155561
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Difference in the ReadWriteLDAPUserStoreManager of Identity Server and API Manager

2016-05-25 Thread Darshana Gunawardana
Specific tag, ISUserStoreManager used in product distribution level to
uncomment ldap userstore for necessary products. For others it may remain
that tag as (commented) ISUserStoreManager but it's better to have it as

>>
>>
>> Latest identity server
>>
>>   > class="org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager">
>> > name="TenantManager">org.wso2.carbon.user.core.tenant.CommonHybridLDAPTenantManager
>> > name="ConnectionURL">ldap://localhost:${Ports.EmbeddedLDAP.LDAPServerPort}
>> uid=admin,ou=system
>> admin
>> > name="UserSearchBase">ou=Users,dc=wso2,dc=org
>> > name="UserEntryObjectClass">identityPerson
>> uid
>> > name="UserNameSearchFilter">(&(objectClass=person)(uid=?))
>> > name="UserNameListFilter">(objectClass=person)
>> 
>> true
>> true
>> > name="GroupSearchBase">ou=Groups,dc=wso2,dc=org
>> groupOfNames
>> cn
>> > name="GroupNameSearchFilter">(&(objectClass=groupOfNames)(cn=?))
>> > name="GroupNameListFilter">(objectClass=groupOfNames)
>> member
>> false
>> > name="UsernameJavaRegEx">[a-zA-Z0-9._-|//]{3,30}$
>> > name="UsernameJavaScriptRegEx">^[\S]{3,30}$
>> Username
>> pattern policy violated
>> ^[\S]{5,30}$
>> > name="PasswordJavaScriptRegEx">^[\S]{5,30}$
>> Password
>> length should be within 5 to 30 characters
>> > name="RolenameJavaRegEx">[a-zA-Z0-9._-|//]{3,30}$
>> > name="RolenameJavaScriptRegEx">^[\S]{3,30}$
>> true
>> false
>> true
>> PLAIN_TEXT
>> ,
>> 100
>> 100
>> false
>> WSO2.ORG
>> true
>> false
>> 5000
>> 
>> 
>> 
>>
>>
>> regards,
>> Shavantha Weerasinghe
>> Senior Software Engineer QA
>> WSO2, Inc.
>> lean.enterprise.middleware.
>> http://wso2.com
>> http://wso2.org
>> Tel : 94 11 214 5345
>> Fax :94 11 2145300
>>
>>
>
>
> --
> *Ushani Balasooriya*
> Senior Software Engineer - QA;
> WSO2 Inc; http://www.wso2.com/.
>
>
>


-- 
Regards,


*Darshana Gunawardana*Senior Software Engineer
WSO2 Inc.; http://wso2.com

*E-mail: darsh...@wso2.com *
*Mobile: +94718566859*Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [PC]Getting permission list for a Role

2016-05-25 Thread Thusitha Thilina Dayaratne
Hi Sameera,

AFAIK you can use the UserAdmin service getRolePermissions method to get
the role permission

Thanks
Thusitha

On Wed, May 25, 2016 at 6:04 PM, Sameera Gunarathne 
wrote:

> Hi all,
>
> As in $Subject I need to get the permissions list for a role(i.e
> "internal/publisher) from the registry. Can I get the api method for this
> task?
>
> Thanks.
> Regards,
> Sameera.
>
> --
> Sameera Gunarathne
> Software Engineer, WSO2 Inc. http://wso2.com
> 
> Email: samee...@wso2.com
> Mobile: +94714155561
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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

Mobile  +94712756809
Blog  alokayasoya.blogspot.com
Abouthttp://about.me/thusithathilina
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Difference in the ReadWriteLDAPUserStoreManager of Identity Server and API Manager

2016-05-25 Thread Shavantha Weerasinghe
Hi Darshana

Reported a jira https://wso2.org/jira/browse/CARBON-15917 for the issue

regards,

Shavantha Weerasinghe
Senior Software Engineer QA
WSO2, Inc.
lean.enterprise.middleware.
http://wso2.com
http://wso2.org
Tel : 94 11 214 5345
Fax :94 11 2145300


On Wed, May 25, 2016 at 6:06 PM, Darshana Gunawardana 
wrote:

> Specific tag, ISUserStoreManager used in product distribution level to
> uncomment ldap userstore for necessary products. For others it may remain
> that tag as (commented) ISUserStoreManager but it's better to have it as
> 
>>>
>>>
>>> Latest identity server
>>>
>>>   >> class="org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager">
>>> >> name="TenantManager">org.wso2.carbon.user.core.tenant.CommonHybridLDAPTenantManager
>>> >> name="ConnectionURL">ldap://localhost:${Ports.EmbeddedLDAP.LDAPServerPort}
>>> >> name="ConnectionName">uid=admin,ou=system
>>> admin
>>> >> name="UserSearchBase">ou=Users,dc=wso2,dc=org
>>> >> name="UserEntryObjectClass">identityPerson
>>> uid
>>> >> name="UserNameSearchFilter">(&(objectClass=person)(uid=?))
>>> >> name="UserNameListFilter">(objectClass=person)
>>> 
>>> true
>>> true
>>> >> name="GroupSearchBase">ou=Groups,dc=wso2,dc=org
>>> >> name="GroupEntryObjectClass">groupOfNames
>>> cn
>>> >> name="GroupNameSearchFilter">(&(objectClass=groupOfNames)(cn=?))
>>> >> name="GroupNameListFilter">(objectClass=groupOfNames)
>>> member
>>> false
>>> >> name="UsernameJavaRegEx">[a-zA-Z0-9._-|//]{3,30}$
>>> >> name="UsernameJavaScriptRegEx">^[\S]{3,30}$
>>> Username
>>> pattern policy violated
>>> ^[\S]{5,30}$
>>> >> name="PasswordJavaScriptRegEx">^[\S]{5,30}$
>>> Password
>>> length should be within 5 to 30 characters
>>> >> name="RolenameJavaRegEx">[a-zA-Z0-9._-|//]{3,30}$
>>> >> name="RolenameJavaScriptRegEx">^[\S]{3,30}$
>>> true
>>> false
>>> true
>>> PLAIN_TEXT
>>> ,
>>> 100
>>> 100
>>> false
>>> WSO2.ORG
>>> true
>>> false
>>> 5000
>>> 
>>> 
>>> 
>>>
>>>
>>> regards,
>>> Shavantha Weerasinghe
>>> Senior Software Engineer QA
>>> WSO2, Inc.
>>> lean.enterprise.middleware.
>>> http://wso2.com
>>> http://wso2.org
>>> Tel : 94 11 214 5345
>>> Fax :94 11 2145300
>>>
>>>
>>
>>
>> --
>> *Ushani Balasooriya*
>> Senior Software Engineer - QA;
>> WSO2 Inc; http://www.wso2.com/.
>>
>>
>>
>
>
> --
> Regards,
>
>
> *Darshana Gunawardana*Senior Software Engineer
> WSO2 Inc.; http://wso2.com
>
> *E-mail: darsh...@wso2.com *
> *Mobile: +94718566859 <%2B94718566859>*Lean . Enterprise . Middleware
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [PC]Getting permission list for a Role

2016-05-25 Thread Sameera Medagammaddegedara
Hi Sameera,

Is it safe to assume that you are attempting to do this from within the PC
apps (is it in the Publisher?) ?

If yes, you can take a look at the following function:

https://github.com/wso2/carbon-store/blob/master/jaggery-modules/rxt/module/scripts/permissions/permissions.js#L589


Thank You,
Sameera

On Wed, May 25, 2016 at 6:25 PM, Thusitha Thilina Dayaratne <
thusit...@wso2.com> wrote:

> Hi Sameera,
>
> AFAIK you can use the UserAdmin service getRolePermissions method to get
> the role permission
>
> Thanks
> Thusitha
>
> On Wed, May 25, 2016 at 6:04 PM, Sameera Gunarathne 
> wrote:
>
>> Hi all,
>>
>> As in $Subject I need to get the permissions list for a role(i.e
>> "internal/publisher) from the registry. Can I get the api method for this
>> task?
>>
>> Thanks.
>> Regards,
>> Sameera.
>>
>> --
>> Sameera Gunarathne
>> Software Engineer, WSO2 Inc. http://wso2.com
>> 
>> Email: samee...@wso2.com
>> Mobile: +94714155561
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thusitha Dayaratne
> Software Engineer
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> Mobile  +94712756809
> Blog  alokayasoya.blogspot.com
> Abouthttp://about.me/thusithathilina
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Sameera Medagammaddegedara
Software Engineer

Contact:
Email: samee...@wso2.com
Mobile: + 94 077 255 3005
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Difference in the ReadWriteLDAPUserStoreManager of Identity Server and API Manager

2016-05-25 Thread Shavantha Weerasinghe
[+ sameera]


Hi Darshana
>
> Reported a jira https://wso2.org/jira/browse/CARBON-15917 for the issue
>
> regards,
>
> Shavantha Weerasinghe
> Senior Software Engineer QA
> WSO2, Inc.
> lean.enterprise.middleware.
> http://wso2.com
> http://wso2.org
> Tel : 94 11 214 5345
> Fax :94 11 2145300
>
>
> On Wed, May 25, 2016 at 6:06 PM, Darshana Gunawardana 
> wrote:
>
>> Specific tag, ISUserStoreManager used in product distribution level to
>> uncomment ldap userstore for necessary products. For others it may remain
>> that tag as (commented) ISUserStoreManager but it's better to have it as
>> 


 Latest identity server

   >>> class="org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager">
 >>> name="TenantManager">org.wso2.carbon.user.core.tenant.CommonHybridLDAPTenantManager
 >>> name="ConnectionURL">ldap://localhost:${Ports.EmbeddedLDAP.LDAPServerPort}
 >>> name="ConnectionName">uid=admin,ou=system
 admin
 >>> name="UserSearchBase">ou=Users,dc=wso2,dc=org
 >>> name="UserEntryObjectClass">identityPerson
 uid
 >>> name="UserNameSearchFilter">(&(objectClass=person)(uid=?))
 >>> name="UserNameListFilter">(objectClass=person)
 
 true
 true
 >>> name="GroupSearchBase">ou=Groups,dc=wso2,dc=org
 >>> name="GroupEntryObjectClass">groupOfNames
 cn
 >>> name="GroupNameSearchFilter">(&(objectClass=groupOfNames)(cn=?))
 >>> name="GroupNameListFilter">(objectClass=groupOfNames)
 member
 false
 >>> name="UsernameJavaRegEx">[a-zA-Z0-9._-|//]{3,30}$
 >>> name="UsernameJavaScriptRegEx">^[\S]{3,30}$
 >>> name="UsernameJavaRegExViolationErrorMsg">Username pattern policy
 violated
 ^[\S]{5,30}$
 >>> name="PasswordJavaScriptRegEx">^[\S]{5,30}$
 >>> name="PasswordJavaRegExViolationErrorMsg">Password length should be within
 5 to 30 characters
 >>> name="RolenameJavaRegEx">[a-zA-Z0-9._-|//]{3,30}$
 >>> name="RolenameJavaScriptRegEx">^[\S]{3,30}$
 true
 false
 true
 PLAIN_TEXT
 ,
 100
 100
 false
 WSO2.ORG
 true
 false
 5000
 
 
 


 regards,
 Shavantha Weerasinghe
 Senior Software Engineer QA
 WSO2, Inc.
 lean.enterprise.middleware.
 http://wso2.com
 http://wso2.org
 Tel : 94 11 214 5345
 Fax :94 11 2145300


>>>
>>>
>>> --
>>> *Ushani Balasooriya*
>>> Senior Software Engineer - QA;
>>> WSO2 Inc; http://www.wso2.com/.
>>>
>>>
>>>
>>
>>
>> --
>> Regards,
>>
>>
>> *Darshana Gunawardana*Senior Software Engineer
>> WSO2 Inc.; http://wso2.com
>>
>> *E-mail: darsh...@wso2.com *
>> *Mobile: +94718566859 <%2B94718566859>*Lean . Enterprise . Middleware
>>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [ml][cep][gsoc-6] Initial Project Meeting-Predictive Analysis with online data

2016-05-25 Thread Mahesh Dananjaya
Hi Maheshakya,
this is the one i need to post.please check.

Today we had a initial project meeting with wso2 ml team. what we discussed
architecture, best approaches and scope of the entire project. As i
underestood there will be three main component in the design.
1. CEP Siddhi Extension for the CEP streaming data interface
2. Core with Sample data points, recently saved model
3. Apache Spark MLLib algorithm wrapper

As long as we need to facilitate the streaming data support for the cep
siddhi, what i need initially is to developed a siddhi extension to get
events streams into my program. As we discussed the best approach is the
CEP Siddhi extension with Stream Processor extension to get cep event
streams into the program to incrementally learn the model to predictions
and analysis [1]. Extension will be the interface for cep to send data to
program. There can be different interface for different applications  to
use the program. This stream data from cep is taken as a batches rather
than single events.And also there will be outpur from my program to cep
which are the recent model information and parameters such as MSE, Cluster
center etc. After that there can be two approaches that we have not
finalized.

1. Collect K-Size batch from incoming data and learn model with that mini
batch and store the model.In this case memory requirement depends on K and
the number of features of the event. But this way we can achieve high level
of streaming perspectives such as data obsolesces and data horizon while
keeping relevant data while removing irrelevant data from the model
training.
2. Collect data into large memory and use moving window of K size n shift.
Where the n is the number if points that the window is moved after one
calculation. In that case we need a large memory.

Another approach that raised in that store the events/data points in a
database and use them later. As we discussed there can be two approaches to
send the updated/learned model into customer side. Time based and size
based approach. In that case  there can be a time window (one day, one
week, etc.) or a batch size (or both) in the K-size batch approach.

Then the other component, the wrapper around the spakl mllib SGD based
algorithms to for incremental learning. As i realized there will be memory
constraints and other constraints when we incrementally learn models with
stream data coming out of the cep, basically from the machine that cep is
deployed. Therefore we need to look into timing and performance while we
are using those algorithms on large data sets over time frequently.
Initially what we supposed to do is that develop that extension for
cep/siddhi to get stream data/events/sample points. after that we can move
with for mllib libs. Now we have three algorithms, linear regression,
k-mean clustering and logistic regression though we intially look only into
fisrt two.so this wees will be spent to develop that extension. thank you.

regards,
Mahesh.

[1]
https://docs.wso2.com/display/CEP400/Writing+a+Custom+Stream+Processor+Extension
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] SAML 2.0 Single Logout Profile Response handling for AS 6.0.0

2016-05-25 Thread Supun Malinga
On Thu, May 19, 2016 at 9:03 AM, Chiranga Alwis  wrote:

> Hi,
>
> I have been working on porting the past AS SAML 2.0 based single-sign-on
> valve to the new AS version.
>
> When refactoring and testing the already ported code, I came across the
> following issue within the invoke() method of the SAML 2.0 SSO Tomcat Valve
> [1].
>
> In the group of if-then and if-then-else statements which handle the SAML
> 2.0 Web Browser SSO and Single-Logout Profiles, I find the following code
> block which the program flow does not seem to enter within simple sign-in
> and logout processes.
>
> if (resolver.isSLORequest()) {
>
> if (log.isDebugEnabled()) {
> log.debug("Processing Single Log Out Request");
> }
> samlSSOManager = new SAML2SSOManager(ssoAgentConfig);
> samlSSOManager.doSLO(request);
>
> } else if (resolver.isSAML2SSOResponse()) {
>
>
> During debugging of the past AS 5.3.0 implementation and my current
> implementation, I have experienced that this block is never executed.
>


As per the offline chat, looks like we don't need this block. So +1 to
remove..
Pls double check if we are covered on the back channel requests.

thanks,

>
> In addition, the implementation of the resolver.isSLORequest() method in
> [2] has changed in latest versions and the carbon-identity version 4.5.6
> (used in AS 5.3.0) possesses an older implementation [3]. I tried adopting
> the new implementation which leads to an error during handling of
> Single-Logout responses from the side of Identity Server.
>
> Are there any scenarios which led to the introduction of the above
> mentioned logic when performing SSO? Any suggestions or ideas are highly
> appreciated.
>
> [1] - SAMLSSOValve.java
> 
> [2] - SSOAgentRequestResolver.java
> 
> [3] - SSOAgentRequestResolver.java
> 
>
> --
> Chiranga Alwis,
> Software Engineering Intern,
> +94 77 5930497
> +94 77 6368208
>



-- 
Supun Malinga,

Senior Software Engineer,
WSO2 Inc.
http://wso2.com
email: sup...@wso2.com 
mobile: +94 (0)71 56 91 321
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSoC Project: HTTP Load Balancer On Top Of WSO2 Gateway Discussion

2016-05-25 Thread Ravi Undupitiya
Hi Venkat,

Please find answers inline below.

On Tue, May 24, 2016 at 9:29 PM, Venkat Raman  wrote:
>
>
> 1) Why are we pushing variables in carbon message variables stack..??
>

One of the features of the language is to have variables we can declare and
use throughout the mediation flow. We are able to populate variables during
loading and during runtime and so variable stack is kept inside the carbon
message so each thread has its own variable stack. Hope that clarifies.


> 2) Also could you kindly explain how AbstractFlowController and
> FlowControllerCallback are working together.  My understanding is not quite
> clear on this.
>

AbstractFlowControllers are mediators that require controlling the flow
(like filter mediator) where we the mediation flow branching out, in which
case we want to mediate only the branch we're in and FlowControllerCallback
is a CarbonCallback that we pass on to receive method of mediators of a
particular branch. This allows us to continue mediation from the parent
once a branch is complete. You can test this out by debugging the
FilterMediator, try passing on the usual callback and then check by passing
on a FlowControllerCallback.

@IsuruR, please correct me if I'm wrong. :)


Thanks,
-- 
*Ravi Undupitiya*
Senior Software Engineer; WSO2 http://wso2.com


*E-mail: r...@wso2.com **M: **+94 772 930 712
<%2B94%C2%A0772%20930%20712>*

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


Re: [Dev] WSO2 private PaaS

2016-05-25 Thread Imesh Gunaratne
Hi Ravi,

Yes for sure, I will forward your request to the sales team.

Thanks

On Wed, May 25, 2016 at 8:05 PM, Ravi B R 
wrote:

> Hi Imesh,
>
>
>
> We are interested in WSO2 professional support services.
>
>
>
> Can you please connect to the right person to discuss and understand
> further on the support plans.
>
>
>
>
>
> Thanks & Regards
>
> *Ravi B.R, CSM*
>
>
>
> *L&T Technology Services Limited*
>
> Mysore Campus, KIADB Industrial Area, Hebbal Hootagalli, Mysore – 570 018,
> Karnataka, INDIA
>
> Tel: +91 821 2405651 | Mobile: +91 98 4577 5846
>
> www.lnttechservices.com 
>
>
>
> *From:* Sujatha Mandapati
> *Sent:* Wednesday, May 25, 2016 7:48 PM
> *To:* Salman Hussain 
> *Cc:* Ravi B R 
> *Subject:* FW: [Dev] WSO2 private PaaS
>
>
>
> FYI.
>
>
>
>
>
> Regards,
>
> Sujatha
>
>
>
> *From:* Imesh Gunaratne [mailto:im...@wso2.com ]
> *Sent:* 12 May 2016 01:14 PM
> *To:* Sujatha Mandapati
> *Cc:* dev@wso2.org
> *Subject:* Re: [Dev] WSO2 private PaaS
>
>
>
> Hi Sujatha,
>
>
>
> On Thu, May 12, 2016 at 12:00 PM, Sujatha Mandapati <
> sujatha.mandap...@lnttechservices.com> wrote:
>
> Hi,
>
>
>
> I have installed and run wso2 private paas.I want to add new claim
> dialects but I am not able to find the option of adding claim management in
> Private PaaS console. Any pointers for configuring claims for Private PaaS
> will be greatly helpful.
>
>
>
> You might need to setup a WSO2 Identity Server (IS) instance for this (by
> pointing to the same user-store). Private PaaS server does not include all
> IS features.
>
>
>
> Thanks
>
>
>
> --
>
> *Imesh Gunaratne*
> Senior Technical Lead
> WSO2 Inc: http://wso2.com
> T: +94 11 214 5345 M: +94 77 374 2057
> W: http://imesh.io TW: @imesh
> Lean . Enterprise . Middleware
>
> *L&T Technology Services Ltd*
>
> www.LntTechservices.com 
>
> This Email may contain confidential or privileged information for the
> intended recipient (s). If you are not the intended recipient, please do
> not use or disseminate the information, notify the sender and delete it
> from your system.
>
> *L&T Technology Services Ltd*
>
> www.LntTechservices.com 
>
> This Email may contain confidential or privileged information for the
> intended recipient (s). If you are not the intended recipient, please do
> not use or disseminate the information, notify the sender and delete it
> from your system.
>



-- 
*Imesh Gunaratne*
Senior Technical Lead
WSO2 Inc: http://wso2.com
T: +94 11 214 5345 M: +94 77 374 2057
W: http://imesh.io TW: @imesh
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSOC 16] Initial Project Progress

2016-05-25 Thread Osura Rathnayake
Hi Imesh,

okay i will find out the differences and update you. meanwhile i will check
azure sdk for java if it has all the classes we want.

On Wed, May 25, 2016 at 9:31 AM, Imesh Gunaratne  wrote:

>
>
> On Tue, May 24, 2016 at 10:22 PM, Osura Rathnayake 
> wrote:
>
>> Hi mentors,
>>
>> As you might already know, Azure has two deployment models , azure
>> classic (old portal) and azure resource manager (ARM)(new portal).
>> Unfortunately some functionalities of classic is not available in ARM vice
>> versa[1] but microsoft is rapidly developing all the functionalities across
>> both models. Also certain API references [2] are not available for both the
>> models, for an example, for network both classic and ARM API references are
>> available but for network security groups only classic is available, while
>> network security groups is a supported feature in ARM. shall we have a
>> hangout to discuss this matter?
>>
>
> IMO it would be okay to stick to one model. Can you please research on
> this and list out the differences between two models? That would help us to
> take a decision on this.
>
> Thanks
>
>>
>> [1]
>> https://blog.kloud.com.au/2016/04/05/azure-classic-vs-azure-resource-manager/
>>
>> [2] https://msdn.microsoft.com/en-us/library/azure/mt420159.aspx
>>
>>
>>
>> On Fri, May 20, 2016 at 11:05 AM, Isuru Haththotuwa 
>> wrote:
>>
>>> Hi Osura,
>>>
>>> Are you joining the hangout now?
>>>
>>> On Thu, May 19, 2016 at 7:37 PM, Osura Rathnayake 
>>> wrote:
>>>
 Hi Isuru,

 It's no problem. Okay let's have a hangout at 11 o'clock tomorrow.

 On Thursday, May 19, 2016, Isuru Haththotuwa  wrote:

> Hi Osura,
>
> Sorry for the delayed response.
>
> Shall we have a hangout at 11 AM on 20th May (Friday)?
>
> On Tue, May 17, 2016 at 9:09 PM, Osura Rathnayake 
> wrote:
>
>> Hi Imesh,
>>
>> Shall we have a hangout on Thursday or so?
>>
>>
>> On Thu, May 12, 2016 at 8:26 PM, Imesh Gunaratne 
>> wrote:
>>
>>> Hi Osura,
>>>
>>> On Thu, May 12, 2016 at 8:09 PM, Osura Rathnayake <
>>> osura...@gmail.com> wrote:
>>>
 Hi Mentors,

 I created a github repository so that all the work related to this
 project can be accumulated with ease.
 here is the link https://github.com/osuran/azure-membership-scheme
 .

>>>
>>> Great! Will you be able to arrange a Hangout and demonstrate what
>>> you did so far?
>>>
>>> Thanks
>>>
>>> On Thu, May 12, 2016 at 8:09 PM, Osura Rathnayake <
>>> osura...@gmail.com> wrote:
>>>
 Hi Mentors,

 I created a github repository so that all the work related to this
 project can be accumulated with ease.
 here is the link https://github.com/osuran/azure-membership-scheme
 .

 On Wed, May 11, 2016 at 11:22 AM, Osura Rathnayake <
 osura...@gmail.com> wrote:

> Hi Mentors,
>
> I sorted out all the errors and the cluster is up and running. Now
> I can see the log messages of members joining and leaving.
>
>
> On Wed, May 11, 2016 at 11:04 AM, Isuru Haththotuwa <
> isu...@wso2.com> wrote:
>
>> Hi Osura,
>>
>> Please refer [1] for configuring deployment synchronizer.
>>
>> Initially, its ok even if you disable the deployment synchronizer
>> and test the clustering.
>>
>> [1].
>> https://docs.wso2.com/display/CLUSTER44x/Configuring+SVN-Based+Deployment+Synchronizer
>>
>> On Wed, May 11, 2016 at 10:55 AM, Osura Rathnayake <
>> osura...@gmail.com> wrote:
>>
>>> Hi All,
>>>
>>> Thank you very much. I got it sorted out. I created a new user
>>> and granted permission on it.
>>> Can you please tell me the format of svn url and access protocol
>>> when configuring  , my repository is
>>> /home/as/svnrepo. I have attached the error I got as well.
>>>
>>> Thanks,
>>>
>>> On Wed, May 11, 2016 at 7:13 AM, Imesh Gunaratne >> > wrote:
>>>


 On Tue, May 10, 2016 at 11:12 PM, Osura Rathnayake <
 osura...@gmail.com> wrote:

> Hi Imesh,
>
> Now i'm getting this error. I can't connect to the DB from the
> client either.
>

 Credentials might be correct, I think the issue is with the
 permission. You might need to grant permission to the relevant 
 databases to
 your user for the given IP address. Please refer [1].

 [1] http://dev.mysql.com/doc/refman/5.5/en/grant.html

>
> Thanks
>
> On Tue, May 10, 20

[Dev] What is the Jira project for "carbon-gateway-framework"

2016-05-25 Thread Lahiru Sandaruwan
Hi,

$subject? Shall we update in Readme?

Thanks.

-- 
--
Lahiru Sandaruwan
Committer and PMC member, Apache Stratos,
Senior Software Engineer,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

phone: +94773325954
email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [PC]Getting permission list for a Role

2016-05-25 Thread Sameera Gunarathne
Hi SameeraM,

yeah it's needed to be done within PC apps. Thanks for your input.

Thanks.

Regards.
Sameera

On Wed, May 25, 2016 at 6:42 PM, Sameera Medagammaddegedara <
samee...@wso2.com> wrote:

> Hi Sameera,
>
> Is it safe to assume that you are attempting to do this from within the PC
> apps (is it in the Publisher?) ?
>
> If yes, you can take a look at the following function:
>
>
> https://github.com/wso2/carbon-store/blob/master/jaggery-modules/rxt/module/scripts/permissions/permissions.js#L589
>
>
> Thank You,
> Sameera
>
> On Wed, May 25, 2016 at 6:25 PM, Thusitha Thilina Dayaratne <
> thusit...@wso2.com> wrote:
>
>> Hi Sameera,
>>
>> AFAIK you can use the UserAdmin service getRolePermissions method to get
>> the role permission
>>
>> Thanks
>> Thusitha
>>
>> On Wed, May 25, 2016 at 6:04 PM, Sameera Gunarathne 
>> wrote:
>>
>>> Hi all,
>>>
>>> As in $Subject I need to get the permissions list for a role(i.e
>>> "internal/publisher) from the registry. Can I get the api method for this
>>> task?
>>>
>>> Thanks.
>>> Regards,
>>> Sameera.
>>>
>>> --
>>> Sameera Gunarathne
>>> Software Engineer, WSO2 Inc. http://wso2.com
>>> 
>>> Email: samee...@wso2.com
>>> Mobile: +94714155561
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Thusitha Dayaratne
>> Software Engineer
>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>
>> Mobile  +94712756809
>> Blog  alokayasoya.blogspot.com
>> Abouthttp://about.me/thusithathilina
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Sameera Medagammaddegedara
> Software Engineer
>
> Contact:
> Email: samee...@wso2.com
> Mobile: + 94 077 255 3005
>



-- 
Sameera Gunarathne
Software Engineer, WSO2 Inc. http://wso2.com

Email: samee...@wso2.com
Mobile: +94714155561
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] unable to open management console

2016-05-25 Thread Bikramjeet Singh
Hi,
I've installed wso2 IS and it's running successfully as shown in terminal
but i'm unable to start the management console at localhost:9443/carbon .
What i might be doing wrong?

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


Re: [Dev] unable to open management console

2016-05-25 Thread Fazlan Nazeem
Hi singh,

Can you make sure the url you visited is https://localhost:9443/carbon

On Wednesday, 25 May 2016, Bikramjeet Singh 
wrote:

> Hi,
> I've installed wso2 IS and it's running successfully as shown in terminal
> but i'm unable to start the management console at localhost:9443/carbon .
> What i might be doing wrong?
>
> Thanks
>


-- 
Thanks & Regards,

Fazlan Nazeem

*Software Engineer*

*WSO2 Inc*
Mobile : +94772338839
<%2B94%20%280%29%20773%20451194>
fazl...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] (no subject)

2016-05-25 Thread Manuranga Perera
I am running vagrent up [1] and I following error

==> wso2esb.4.9.0.dev.wso2.org: Error: Could not start Service[wso2esb]:
Execution of '/etc/init.d/wso2esb start' returned 2:
==> wso2esb.4.9.0.dev.wso2.org: Error:
/Stage[main]/Wso2esb/Wso2base::Server[/mnt/
192.168.100.2/wso2esb-4.9.0]/Service[wso2esb]/ensure
: change
from stopped to running failed: Could not start Service[wso2esb]: Execution
of '/etc/init.d/wso2esb start' returned 2:
==> wso2esb.4.9.0.dev.wso2.org: Notice:
/Stage[main]/Wso2esb/Wso2base::Server[/mnt/
192.168.100.2/wso2esb-4.9.0]/Service[wso2esb
]: Triggered
'refresh' from 2 events
==> wso2esb.4.9.0.dev.wso2.org: Notice:
/Stage[main]/Wso2esb/Wso2base::Server[/mnt/
192.168.100.2/wso2esb-4.9.0]/Notify[Successfully
 started WSO2
service [name] wso2esb, [CARBON_HOME] /mnt/192.168.100.2/wso2esb-4.9.0]:
Dependency Service[wso2esb] has failures: true
==> wso2esb.4.9.0.dev.wso2.org: Warning:
/Stage[main]/Wso2esb/Wso2base::Server[/mnt/
192.168.100.2/wso2esb-4.9.0]/Notify[Successfully
 started WSO2
service [name] wso2esb, [CARBON_HOME] /mnt/192.168.100.2/wso2esb-4.9.0]:
Skipping because of failed dependencies
==> wso2esb.4.9.0.dev.wso2.org: Notice: Finished catalog run in 13.66
seconds

Are these error lines expected ?

[1] https://github.com/wso2/puppet-modules/tree/master/vagrant
-- 
With regards,
*Manu*ranga Perera.

phone : 071 7 70 20 50
mail : m...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Vagrent from puppet modules startup error

2016-05-25 Thread Manuranga Perera
On Wed, May 25, 2016 at 4:07 PM, Manuranga Perera  wrote:

> I am running vagrent up [1] and I following error
>
> ==> wso2esb.4.9.0.dev.wso2.org: Error: Could not start Service[wso2esb]:
> Execution of '/etc/init.d/wso2esb start' returned 2:
> ==> wso2esb.4.9.0.dev.wso2.org: Error:
> /Stage[main]/Wso2esb/Wso2base::Server[/mnt/
> 192.168.100.2/wso2esb-4.9.0]/Service[wso2esb]/ensure
> :
> change from stopped to running failed: Could not start Service[wso2esb]:
> Execution of '/etc/init.d/wso2esb start' returned 2:
> ==> wso2esb.4.9.0.dev.wso2.org: Notice:
> /Stage[main]/Wso2esb/Wso2base::Server[/mnt/
> 192.168.100.2/wso2esb-4.9.0]/Service[wso2esb
> ]: Triggered
> 'refresh' from 2 events
> ==> wso2esb.4.9.0.dev.wso2.org: Notice:
> /Stage[main]/Wso2esb/Wso2base::Server[/mnt/
> 192.168.100.2/wso2esb-4.9.0]/Notify[Successfully
>  started
> WSO2 service [name] wso2esb, [CARBON_HOME] /mnt/
> 192.168.100.2/wso2esb-4.9.0]: Dependency Service[wso2esb] has failures:
> true
> ==> wso2esb.4.9.0.dev.wso2.org: Warning:
> /Stage[main]/Wso2esb/Wso2base::Server[/mnt/
> 192.168.100.2/wso2esb-4.9.0]/Notify[Successfully
>  started
> WSO2 service [name] wso2esb, [CARBON_HOME] /mnt/
> 192.168.100.2/wso2esb-4.9.0]: Skipping because of failed dependencies
> ==> wso2esb.4.9.0.dev.wso2.org: Notice: Finished catalog run in 13.66
> seconds
>
> Are these error lines expected ?
>
> [1] https://github.com/wso2/puppet-modules/tree/master/vagrant
> --
> With regards,
> *Manu*ranga Perera.
>
> phone : 071 7 70 20 50
> mail : m...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
With regards,
*Manu*ranga Perera.

phone : 071 7 70 20 50
mail : m...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Vagrent from puppet modules startup error

2016-05-25 Thread Manuranga Perera
I think I found the issue: I am running from windows the end-of-line marker
is different.

On Wed, May 25, 2016 at 4:09 PM, Manuranga Perera  wrote:

>
>
> On Wed, May 25, 2016 at 4:07 PM, Manuranga Perera  wrote:
>
>> I am running vagrent up [1] and I following error
>>
>> ==> wso2esb.4.9.0.dev.wso2.org: Error: Could not start Service[wso2esb]:
>> Execution of '/etc/init.d/wso2esb start' returned 2:
>> ==> wso2esb.4.9.0.dev.wso2.org: Error:
>> /Stage[main]/Wso2esb/Wso2base::Server[/mnt/
>> 192.168.100.2/wso2esb-4.9.0]/Service[wso2esb]/ensure
>> :
>> change from stopped to running failed: Could not start Service[wso2esb]:
>> Execution of '/etc/init.d/wso2esb start' returned 2:
>> ==> wso2esb.4.9.0.dev.wso2.org: Notice:
>> /Stage[main]/Wso2esb/Wso2base::Server[/mnt/
>> 192.168.100.2/wso2esb-4.9.0]/Service[wso2esb
>> ]: Triggered
>> 'refresh' from 2 events
>> ==> wso2esb.4.9.0.dev.wso2.org: Notice:
>> /Stage[main]/Wso2esb/Wso2base::Server[/mnt/
>> 192.168.100.2/wso2esb-4.9.0]/Notify[Successfully
>>  started
>> WSO2 service [name] wso2esb, [CARBON_HOME] /mnt/
>> 192.168.100.2/wso2esb-4.9.0]: Dependency Service[wso2esb] has failures:
>> true
>> ==> wso2esb.4.9.0.dev.wso2.org: Warning:
>> /Stage[main]/Wso2esb/Wso2base::Server[/mnt/
>> 192.168.100.2/wso2esb-4.9.0]/Notify[Successfully
>>  started
>> WSO2 service [name] wso2esb, [CARBON_HOME] /mnt/
>> 192.168.100.2/wso2esb-4.9.0]: Skipping because of failed dependencies
>> ==> wso2esb.4.9.0.dev.wso2.org: Notice: Finished catalog run in 13.66
>> seconds
>>
>> Are these error lines expected ?
>>
>> [1] https://github.com/wso2/puppet-modules/tree/master/vagrant
>> --
>> With regards,
>> *Manu*ranga Perera.
>>
>> phone : 071 7 70 20 50
>> mail : m...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> With regards,
> *Manu*ranga Perera.
>
> phone : 071 7 70 20 50
> mail : m...@wso2.com
>



-- 
With regards,
*Manu*ranga Perera.

phone : 071 7 70 20 50
mail : m...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Vagrent from puppet modules startup error

2016-05-25 Thread Imesh Gunaratne
Hi Manu,

On Thu, May 26, 2016 at 1:56 AM, Manuranga Perera  wrote:

> I think I found the issue: I am running from windows the end-of-line
> marker is different.
>

Yes, we might need to run this on a Linux box or using a bash shell on
Windows.

Thanks

>
> On Wed, May 25, 2016 at 4:09 PM, Manuranga Perera  wrote:
>
>>
>>
>> On Wed, May 25, 2016 at 4:07 PM, Manuranga Perera  wrote:
>>
>>> I am running vagrent up [1] and I following error
>>>
>>> ==> wso2esb.4.9.0.dev.wso2.org: Error: Could not start
>>> Service[wso2esb]: Execution of '/etc/init.d/wso2esb start' returned 2:
>>> ==> wso2esb.4.9.0.dev.wso2.org: Error:
>>> /Stage[main]/Wso2esb/Wso2base::Server[/mnt/
>>> 192.168.100.2/wso2esb-4.9.0]/Service[wso2esb]/ensure
>>> :
>>> change from stopped to running failed: Could not start Service[wso2esb]:
>>> Execution of '/etc/init.d/wso2esb start' returned 2:
>>> ==> wso2esb.4.9.0.dev.wso2.org: Notice:
>>> /Stage[main]/Wso2esb/Wso2base::Server[/mnt/
>>> 192.168.100.2/wso2esb-4.9.0]/Service[wso2esb
>>> ]: Triggered
>>> 'refresh' from 2 events
>>> ==> wso2esb.4.9.0.dev.wso2.org: Notice:
>>> /Stage[main]/Wso2esb/Wso2base::Server[/mnt/
>>> 192.168.100.2/wso2esb-4.9.0]/Notify[Successfully
>>>  started
>>> WSO2 service [name] wso2esb, [CARBON_HOME] /mnt/
>>> 192.168.100.2/wso2esb-4.9.0]: Dependency Service[wso2esb] has failures:
>>> true
>>> ==> wso2esb.4.9.0.dev.wso2.org: Warning:
>>> /Stage[main]/Wso2esb/Wso2base::Server[/mnt/
>>> 192.168.100.2/wso2esb-4.9.0]/Notify[Successfully
>>>  started
>>> WSO2 service [name] wso2esb, [CARBON_HOME] /mnt/
>>> 192.168.100.2/wso2esb-4.9.0]: Skipping because of failed dependencies
>>> ==> wso2esb.4.9.0.dev.wso2.org: Notice: Finished catalog run in 13.66
>>> seconds
>>>
>>> Are these error lines expected ?
>>>
>>> [1] https://github.com/wso2/puppet-modules/tree/master/vagrant
>>> --
>>> With regards,
>>> *Manu*ranga Perera.
>>>
>>> phone : 071 7 70 20 50
>>> mail : m...@wso2.com
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> With regards,
>> *Manu*ranga Perera.
>>
>> phone : 071 7 70 20 50
>> mail : m...@wso2.com
>>
>
>
>
> --
> With regards,
> *Manu*ranga Perera.
>
> phone : 071 7 70 20 50
> mail : m...@wso2.com
>



-- 
*Imesh Gunaratne*
Senior Technical Lead
WSO2 Inc: http://wso2.com
T: +94 11 214 5345 M: +94 77 374 2057
W: http://imesh.io TW: @imesh
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][Vote] Release WSO2 Puppet Modules 2.0.0

2016-05-25 Thread Chamila De Alwis
Hi,

Thanks for voting! This vote is now closed.

+1 - 12
-1  - 0

We will release WSO2 Puppet Modules 2.0.0 soon.


Regards,
Chamila de Alwis
Committer and PMC Member - Apache Stratos
Software Engineer | WSO2 | +94772207163
Blog: code.chamiladealwis.com



On Tue, May 24, 2016 at 5:15 PM, Anupama Pathirage  wrote:

> Hi,
>
> *[X] Stable* - go ahead and release
>
> Tested the default deployment for WSO2 DSS and verified README Files &
> configs.
>
> Regards,
> Anupama Pathirage
>
>
> On Tue, May 24, 2016 at 11:50 AM, Dharshana Warusavitharana <
> dharsha...@wso2.com> wrote:
>
>> Tested with WSO2 APIM
>>
>> [X] Stable - Go ahead and release
>>
>> Thank you,
>> Dharshana.
>>
>> On Tue, May 24, 2016 at 11:29 AM, Dimuthu De Lanerolle > > wrote:
>>
>>> Tested & verified following products for the deployment on below
>>> mentioned platforms.
>>>
>>> [1] WSO2 AS   - K8S
>>> [2] WSO2 ESB - K8S
>>> [3] WSO2 APIM - default
>>>
>>> [X] Stable - Go ahead and release
>>>
>>> Regards
>>>
>>> On Tue, May 24, 2016 at 11:01 AM, Thushara Ranawaka 
>>> wrote:
>>>
 Hi Everyone,

 Tested the default deployment for G-Reg 5.1.0 and went through
 configuration and found no blocking issues.

 [X] Stable - Go ahead and release

 Thanks,
 Thushara.


 On Tue, May 24, 2016 at 9:48 AM, Anuruddha Liyanarachchi <
 anurudd...@wso2.com> wrote:

> Hi
>
> *[X] Stable* - go ahead and release
>
> verified the following.
>
>- README Files
>- License Headers
>
> Tested the default and kubernetes deployment for the following
> products puppet modules.
>
>- WSO2 BPS
>- WSO2 ESB
>- WSO2 AS
>
>
> On Wed, May 18, 2016 at 10:24 PM, Chamila De Alwis 
> wrote:
>
>> Hi,
>>
>>
>> This is the first release candidate (RC1) for WSO2 Puppet Modules
>> 2.0.0. Please download, verify, and vote. Voting will be open for 72 
>> hours.
>>
>> [ ] Broken - Do not release (explain why)
>>
>> [ ] Stable - Go ahead and release
>>
>> Main features and fixes released with this release:
>>
>>-
>>
>>Updated Hiera data hierarchy to include deployment Platform
>>-
>>
>>Kubernetes based workflow supported, based on
>>wso2/kubernetes-artifacts
>>-
>>
>>system_file_list to copy files with scope outside of CARBON_HOME
>>-
>>
>>Platform specific configuration data sets for Kubernetes
>>-
>>
>>   Kubernetes deployment-ready Puppet modules
>>   -
>>
>>   Data sources matching a distributed set of Kubernetes MySQL
>>   Services
>>   -
>>
>>Streamlined Default platform YAML configuration data
>>-
>>
>>Optional update flags to control product pack and JDK cleanup
>>-
>>
>>Minor fixes on the Hiera data
>>-
>>
>>   Issues in YAML file formatting
>>   -
>>
>>   Puppet templates for identity.xml added to relevant products
>>   -
>>
>>   Proxy Port values assigned to different products are
>>   streamlined
>>   -
>>
>>   Hostname entries streamlined in default deployment platform
>>   data set
>>   -
>>
>>   Pass Through Port Mapping for WSO2 ESB
>>   -
>>
>>   Fixing Thrift Server IP configuration for WSO2 MB
>>   -
>>
>>   SecureVault parameters made optional
>>   -
>>
>>   Reusing Data Source related fields in YAML by inheriting from
>>   wso2/common.yaml
>>   -
>>
>>   Fix Symbolic Link creation in WSO2 DAS
>>   -
>>
>>   Fixed installation directory creation failure when parent
>>   directory doesn’t exist
>>   -
>>
>>   Removed use of Kubernetes Master details in Clustering
>>   templates
>>   -
>>
>>   Streamlined use of hiera, hiera_array, and hiera_hash lookup
>>   -
>>
>>WSO2 API Manager Gateway Manager-Worker separate profiles in
>>Hieradata
>>-
>>
>>WSO2 PPaaS Puppet module and Hiera data removed
>>-
>>
>>Deprecated older product versions
>>-
>>
>>   WSO2 AM 1.9.1
>>   -
>>
>>   WSO2 BRS 2.1.0
>>   -
>>
>>   WSO2 GREG 4.6.0
>>   -
>>
>>   WSO2 IS 5.0.0
>>   -
>>
>>   WSO2 MB 3.0.0
>>   -
>>
>>Improve Puppet Vagrant setup to use PUPPET_HOME environment
>>variable
>>-
>>
>>Included sample config.yaml files in the Puppet Vagrant setup to
>>quickly test standalone and distributed deployments
>>-
>>
>>Fixed Java System Prefs location issue
>>-
>>
>>Incl

[Dev] [Announce] WSO2 Puppet Modules 2.0.0 Released!

2016-05-25 Thread Chamila De Alwis
Hi,

WSO2 Private PaaS team is pleased to announce the release of WSO2 Puppet
Modules 2.0.0.

Main features and fixes released with this release:

   -

   Updated Hiera data hierarchy to include deployment Platform
   -

   Kubernetes based workflow supported, based on wso2/kubernetes-artifacts
   -

   system_file_list to copy files with scope outside of CARBON_HOME
   -

   Platform specific configuration data sets for Kubernetes
   -

  Kubernetes deployment-ready Puppet modules
  -

  Data sources matching a distributed set of Kubernetes MySQL Services
  -

   Streamlined Default platform YAML configuration data
   -

   Optional update flags to control product pack and JDK cleanup
   -

   Minor fixes on the Hiera data
   -

  Issues in YAML file formatting
  -

  Puppet templates for identity.xml added to relevant products
  -

  Proxy Port values assigned to different products are streamlined
  -

  Hostname entries streamlined in default deployment platform data set
  -

  Pass Through Port Mapping for WSO2 ESB
  -

  Fixing Thrift Server IP configuration for WSO2 MB
  -

  SecureVault parameters made optional
  -

  Reusing Data Source related fields in YAML by inheriting from
  wso2/common.yaml
  -

  Fix Symbolic Link creation in WSO2 DAS
  -

  Fixed installation directory creation failure when parent directory
  doesn’t exist
  -

  Removed use of Kubernetes Master details in Clustering templates
  -

  Streamlined use of hiera, hiera_array, and hiera_hash lookup
  -

   WSO2 API Manager Gateway Manager-Worker separate profiles in Hieradata
   -

   WSO2 PPaaS Puppet module and Hiera data removed
   -

   Deprecated older product versions
   -

  WSO2 AM 1.9.1
  -

  WSO2 BRS 2.1.0
  -

  WSO2 GREG 4.6.0
  -

  WSO2 IS 5.0.0
  -

  WSO2 MB 3.0.0
  -

   Improve Puppet Vagrant setup to use PUPPET_HOME environment variable
   -

   Included sample config.yaml files in the Puppet Vagrant setup to quickly
   test standalone and distributed deployments
   -

   Fixed Java System Prefs location issue
   -

   Included YAML Style Guide for Hiera data files


*Release artifacts:*
https://github.com/wso2/puppet-modules/releases/tag/v2.0.0


*Documentation:*
https://docs.wso2.com/display/PM200/WSO2+Puppet+Modules+Documentation



Regards,
Chamila de Alwis
Committer and PMC Member - Apache Stratos
Software Engineer | WSO2 | +94772207163
Blog: code.chamiladealwis.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2016-05-25 Thread Chamila De Alwis
Could you include the full output from the Puppet run? There might be
dependencies that have failed before the Service[wso2esb] instruction.


Regards,
Chamila de Alwis
Committer and PMC Member - Apache Stratos
Software Engineer | WSO2 | +94772207163
Blog: code.chamiladealwis.com



On Thu, May 26, 2016 at 1:37 AM, Manuranga Perera  wrote:

> I am running vagrent up [1] and I following error
>
> ==> wso2esb.4.9.0.dev.wso2.org: Error: Could not start Service[wso2esb]:
> Execution of '/etc/init.d/wso2esb start' returned 2:
> ==> wso2esb.4.9.0.dev.wso2.org: Error:
> /Stage[main]/Wso2esb/Wso2base::Server[/mnt/
> 192.168.100.2/wso2esb-4.9.0]/Service[wso2esb]/ensure
> :
> change from stopped to running failed: Could not start Service[wso2esb]:
> Execution of '/etc/init.d/wso2esb start' returned 2:
> ==> wso2esb.4.9.0.dev.wso2.org: Notice:
> /Stage[main]/Wso2esb/Wso2base::Server[/mnt/
> 192.168.100.2/wso2esb-4.9.0]/Service[wso2esb
> ]: Triggered
> 'refresh' from 2 events
> ==> wso2esb.4.9.0.dev.wso2.org: Notice:
> /Stage[main]/Wso2esb/Wso2base::Server[/mnt/
> 192.168.100.2/wso2esb-4.9.0]/Notify[Successfully
>  started
> WSO2 service [name] wso2esb, [CARBON_HOME] /mnt/
> 192.168.100.2/wso2esb-4.9.0]: Dependency Service[wso2esb] has failures:
> true
> ==> wso2esb.4.9.0.dev.wso2.org: Warning:
> /Stage[main]/Wso2esb/Wso2base::Server[/mnt/
> 192.168.100.2/wso2esb-4.9.0]/Notify[Successfully
>  started
> WSO2 service [name] wso2esb, [CARBON_HOME] /mnt/
> 192.168.100.2/wso2esb-4.9.0]: Skipping because of failed dependencies
> ==> wso2esb.4.9.0.dev.wso2.org: Notice: Finished catalog run in 13.66
> seconds
>
> Are these error lines expected ?
>
> [1] https://github.com/wso2/puppet-modules/tree/master/vagrant
> --
> With regards,
> *Manu*ranga Perera.
>
> phone : 071 7 70 20 50
> mail : m...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] [VOTE] WSO2 Developer Studio Tooling for Platform RC2

2016-05-25 Thread Sohani Weerasinghe
Hi All,

I have tested the updater tool functionality including installing features
and no major issues found

@Nuwan: I have tested [1] in Linux and couldn't reproduce the issue.

[1] https://wso2.org/jira/browse/TOOLS-3416

Sohani Weerasinghe
Software Engineer
WSO2, Inc: http://wso2.com

Mobile  : +94 716439774
Blog :http://christinetechtips.blogspot.com/
Twitter  : https://twitter.com/sohanichristine

On Wed, May 25, 2016 at 6:02 PM, Nuwan Pallewela  wrote:

> Hi All,
>
> I have noticed following issues while testing.
> https://wso2.org/jira/browse/TOOLS-3412
> https://wso2.org/jira/browse/TOOLS-3416
>
> Thanks,
> Nuwan
>
> On Wed, May 25, 2016 at 3:08 PM, Heshitha Hettihewa 
> wrote:
>
>> Hi all,
>>
>> I have tested BPS Tooling with the new platform and no major issues found.
>>
>> +1
>>
>> Thanks.
>>
>> On Wed, May 25, 2016 at 2:40 PM, Maheeka Jayasuriya 
>> wrote:
>>
>>> Hi all,
>>>
>>> I have tested the project nature extension point and found no issues.
>>>
>>> +1
>>>
>>> Thanks,
>>> Maheeka
>>>
>>> Maheeka Jayasuriya
>>> Software Engineer
>>> Mobile : +9450661
>>>
>>> On Mon, May 23, 2016 at 1:55 PM, Awanthika Senarath 
>>> wrote:
>>>
 Hello Devs,


 We are pleased to announce the vote for RC-2 of *WSO2 Developer Studio 
 Tooling
 for Platform 4.1.0.*

 P2 repository of WSO2 developer Studio  Tooling for Platform 4.1.0 is
 available here
 .
  Source
 and Tag Location to be voted upon is available here
 
 .

 Developer Studio 4.1.0  Tooling for Platform is released on Developer
 Studio kernel 4.1.0
 Developer Studio Kernel contains a single feature which has the bundles
 that are required to implement WSO2 specific product tooling on Eclipse.

- This release contains Developer Studio migration to Eclipse mars
- Improvements in the Developer Studio Updater tool for automatic
updates



1. [+] Stable - go ahead and release
2. [-]  Broken - do not release (please explain why)


 The platform could to be tested on top of Developer Studio Kernel with
 compatible tooling SNAPSHOT versions available at [1].


 [1]
 http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/4.1.0/


 Awanthika Senarath
 Software Engineer, WSO2 Inc.
 Mobile: +94717681791



 ___
 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
>>>
>>>
>>
>>
>> --
>> 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
>>
>>
>
>
> --
> --
>
> *Nuwan Chamara Pallewela*
>
>
> *Software Engineer*
>
> *WSO2, Inc. *http://wso2.com
> *lean . enterprise . middleware*
>
> Email   *nuw...@wso2.com *
> Mobile  *+94719079739 <%2B94719079739>@*
>
>
>
> ___
> 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] [ml][cep][gsoc-6] Initial Project Meeting-Predictive Analysis with online data

2016-05-25 Thread Supun Sethunga
Hi Mahesh,

Before you start on the siddhi extension, can you also do a small
evaluation on the rate that each of those SGD algorithms train models, and
share the results? (i.e: how long does it take to train a model, for
different sample sizes.).

AFAIU, the size of the 'K' or the window length (or the worst case, whether
to train as streaming or as batch), is strictly determined by the above
results.

Regards,
Supun

On Wed, May 25, 2016 at 7:05 PM, Mahesh Dananjaya  wrote:

> Hi Maheshakya,
> this is the one i need to post.please check.
>
> Today we had a initial project meeting with wso2 ml team. what we
> discussed architecture, best approaches and scope of the entire project. As
> i underestood there will be three main component in the design.
> 1. CEP Siddhi Extension for the CEP streaming data interface
> 2. Core with Sample data points, recently saved model
> 3. Apache Spark MLLib algorithm wrapper
>
> As long as we need to facilitate the streaming data support for the cep
> siddhi, what i need initially is to developed a siddhi extension to get
> events streams into my program. As we discussed the best approach is the
> CEP Siddhi extension with Stream Processor extension to get cep event
> streams into the program to incrementally learn the model to predictions
> and analysis [1]. Extension will be the interface for cep to send data to
> program. There can be different interface for different applications  to
> use the program. This stream data from cep is taken as a batches rather
> than single events.And also there will be outpur from my program to cep
> which are the recent model information and parameters such as MSE, Cluster
> center etc. After that there can be two approaches that we have not
> finalized.
>
> 1. Collect K-Size batch from incoming data and learn model with that mini
> batch and store the model.In this case memory requirement depends on K and
> the number of features of the event. But this way we can achieve high level
> of streaming perspectives such as data obsolesces and data horizon while
> keeping relevant data while removing irrelevant data from the model
> training.
> 2. Collect data into large memory and use moving window of K size n shift.
> Where the n is the number if points that the window is moved after one
> calculation. In that case we need a large memory.
>
> Another approach that raised in that store the events/data points in a
> database and use them later. As we discussed there can be two approaches to
> send the updated/learned model into customer side. Time based and size
> based approach. In that case  there can be a time window (one day, one
> week, etc.) or a batch size (or both) in the K-size batch approach.
>
> Then the other component, the wrapper around the spakl mllib SGD based
> algorithms to for incremental learning. As i realized there will be memory
> constraints and other constraints when we incrementally learn models with
> stream data coming out of the cep, basically from the machine that cep is
> deployed. Therefore we need to look into timing and performance while we
> are using those algorithms on large data sets over time frequently.
> Initially what we supposed to do is that develop that extension for
> cep/siddhi to get stream data/events/sample points. after that we can move
> with for mllib libs. Now we have three algorithms, linear regression,
> k-mean clustering and logistic regression though we intially look only into
> fisrt two.so this wees will be spent to develop that extension. thank you.
>
> regards,
> Mahesh.
>
> [1]
> https://docs.wso2.com/display/CEP400/Writing+a+Custom+Stream+Processor+Extension
>



-- 
*Supun Sethunga*
Software Engineer
WSO2, Inc.
http://wso2.com/
lean | enterprise | middleware
Mobile : +94 716546324
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] [VOTE] WSO2 Developer Studio Tooling for Platform RC2

2016-05-25 Thread Awanthika Senarath
Hello Nuwan,

Please find my comments inline,

I have noticed following issues while testing.


https://wso2.org/jira/browse/TOOLS-3412

As I have mentioned before this is a OS specific issue which comes in Linux
and not a blocker. We will attempt to fix this as we move on.

https://wso2.org/jira/browse/TOOLS-3416


We will look into this. It appears that this is caused by a memory leak due
to non heap-size setting[1] by the configurations.


[1] https://github.com/spring-projects/spring-boot/issues/4376




Regards
Awanthika



Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Thu, May 26, 2016 at 8:50 AM, Sohani Weerasinghe  wrote:

> Hi All,
>
> I have tested the updater tool functionality including installing features
> and no major issues found
>
> @Nuwan: I have tested [1] in Linux and couldn't reproduce the issue.
>
> [1] https://wso2.org/jira/browse/TOOLS-3416
>
> Sohani Weerasinghe
> Software Engineer
> WSO2, Inc: http://wso2.com
>
> Mobile  : +94 716439774
> Blog :http://christinetechtips.blogspot.com/
> Twitter  : https://twitter.com/sohanichristine
>
> On Wed, May 25, 2016 at 6:02 PM, Nuwan Pallewela  wrote:
>
>> Hi All,
>>
>> I have noticed following issues while testing.
>> https://wso2.org/jira/browse/TOOLS-3412
>> https://wso2.org/jira/browse/TOOLS-3416
>>
>> Thanks,
>> Nuwan
>>
>> On Wed, May 25, 2016 at 3:08 PM, Heshitha Hettihewa 
>> wrote:
>>
>>> Hi all,
>>>
>>> I have tested BPS Tooling with the new platform and no major issues
>>> found.
>>>
>>> +1
>>>
>>> Thanks.
>>>
>>> On Wed, May 25, 2016 at 2:40 PM, Maheeka Jayasuriya 
>>> wrote:
>>>
 Hi all,

 I have tested the project nature extension point and found no issues.

 +1

 Thanks,
 Maheeka

 Maheeka Jayasuriya
 Software Engineer
 Mobile : +9450661

 On Mon, May 23, 2016 at 1:55 PM, Awanthika Senarath >>> > wrote:

> Hello Devs,
>
>
> We are pleased to announce the vote for RC-2 of *WSO2 Developer Studio 
> Tooling
> for Platform 4.1.0.*
>
> P2 repository of WSO2 developer Studio  Tooling for Platform 4.1.0 is
> available here
> .
>  Source
> and Tag Location to be voted upon is available here
> 
> .
>
> Developer Studio 4.1.0  Tooling for Platform is released on Developer
> Studio kernel 4.1.0
> Developer Studio Kernel contains a single feature which has the
> bundles that are required to implement WSO2 specific product tooling on
> Eclipse.
>
>- This release contains Developer Studio migration to Eclipse mars
>- Improvements in the Developer Studio Updater tool for automatic
>updates
>
>
>
>1. [+] Stable - go ahead and release
>2. [-]  Broken - do not release (please explain why)
>
>
> The platform could to be tested on top of Developer Studio Kernel with
> compatible tooling SNAPSHOT versions available at [1].
>
>
> [1]
> http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/4.1.0/
>
>
> Awanthika Senarath
> Software Engineer, WSO2 Inc.
> Mobile: +94717681791
>
>
>
> ___
> 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


>>>
>>>
>>> --
>>> 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
>>>
>>>
>>
>>
>> --
>> --
>>
>> *Nuwan Chamara Pallewela*
>>
>>
>> *Software Engineer*
>>
>> *WSO2, Inc. *http://wso2.com
>> *lean . enterprise . middleware*
>>
>> Email   *nuw...@wso2.com *
>> Mobile  *+94719079739 <%2B94719079739>@*
>>
>>
>>
>> ___
>> 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] Difference in the ReadWriteLDAPUserStoreManager of Identity Server and API Manager

2016-05-25 Thread Darshana Gunawardana
Hi Shavantha,

Please note that I have reduce the priority since it's not a blocker.

@Push\Kasun : Please note and try to get it fixed for kernel 4.4.6 and IS
5.2.0.

Thanks

On Wed, May 25, 2016 at 6:48 PM, Shavantha Weerasinghe 
wrote:

>
> [+ sameera]
>
>
> Hi Darshana
>>
>> Reported a jira https://wso2.org/jira/browse/CARBON-15917 for the issue
>>
>> regards,
>>
>> Shavantha Weerasinghe
>> Senior Software Engineer QA
>> WSO2, Inc.
>> lean.enterprise.middleware.
>> http://wso2.com
>> http://wso2.org
>> Tel : 94 11 214 5345
>> Fax :94 11 2145300
>>
>>
>> On Wed, May 25, 2016 at 6:06 PM, Darshana Gunawardana 
>> wrote:
>>
>>> Specific tag, ISUserStoreManager used in product distribution level to
>>> uncomment ldap userstore for necessary products. For others it may remain
>>> that tag as (commented) ISUserStoreManager but it's better to have it as
>>> 
>
>
> Latest identity server
>
>    class="org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager">
>  name="TenantManager">org.wso2.carbon.user.core.tenant.CommonHybridLDAPTenantManager
>  name="ConnectionURL">ldap://localhost:${Ports.EmbeddedLDAP.LDAPServerPort}
>  name="ConnectionName">uid=admin,ou=system
> admin
>  name="UserSearchBase">ou=Users,dc=wso2,dc=org
>  name="UserEntryObjectClass">identityPerson
> uid
>  name="UserNameSearchFilter">(&(objectClass=person)(uid=?))
>  name="UserNameListFilter">(objectClass=person)
> 
> true
> true
>  name="GroupSearchBase">ou=Groups,dc=wso2,dc=org
>  name="GroupEntryObjectClass">groupOfNames
> cn
>  name="GroupNameSearchFilter">(&(objectClass=groupOfNames)(cn=?))
>  name="GroupNameListFilter">(objectClass=groupOfNames)
> member
> false
>  name="UsernameJavaRegEx">[a-zA-Z0-9._-|//]{3,30}$
>  name="UsernameJavaScriptRegEx">^[\S]{3,30}$
>  name="UsernameJavaRegExViolationErrorMsg">Username pattern policy
> violated
> ^[\S]{5,30}$
>  name="PasswordJavaScriptRegEx">^[\S]{5,30}$
>  name="PasswordJavaRegExViolationErrorMsg">Password length should be within
> 5 to 30 characters
>  name="RolenameJavaRegEx">[a-zA-Z0-9._-|//]{3,30}$
>  name="RolenameJavaScriptRegEx">^[\S]{3,30}$
> true
> false
> true
> PLAIN_TEXT
> ,
> 100
> 100
> false
> WSO2.ORG
> true
> false
> 5000
> 
> 
> 
>
>
> regards,
> Shavantha Weerasinghe
> Senior Software Engineer QA
> WSO2, Inc.
> lean.enterprise.middleware.
> http://wso2.com
> http://wso2.org
> Tel : 94 11 214 5345
> Fax :94 11 2145300
>
>


 --
 *Ushani Balasooriya*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.



>>>
>>>
>>> --
>>> Regards,
>>>
>>>
>>> *Darshana Gunawardana*Senior Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>>
>>> *E-mail: darsh...@wso2.com *
>>> *Mobile: +94718566859 <%2B94718566859>*Lean . Enterprise . Middleware
>>>
>>
>>
>


-- 
Regards,


*Darshana Gunawardana*Senior Software Engineer
WSO2 Inc.; http://wso2.com

*E-mail: darsh...@wso2.com *
*Mobile: +94718566859 <%2B94718566859>*Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [C5] Retrieving claim values with Claim Manager changes

2016-05-25 Thread Himasha Guruge
Hi ,

With the latest Claim Manager changes in carbon-security, following test
was done to retrieve user claim values for user admin. However, an empty
claim list is returned for the following line.

user.getClaims(claims);

While debugging, following stack trace was identified. I have used [1] and
[2] to create the database tables and test data values. Any idea on what
could be the issue? User object contains the claim mappings , however the
values are not retrieved.

Given *Caused by: org.h2.jdbc.JdbcSQLException: Invalid value "3" for
parameter "parameterIndex" [90008-191]* could it be an issue with the test
data?

org.wso2.carbon.bpmn[org.wso2.carbon.bpmn.core.integration.BPSUserIdentityManager]
: Error retrieving user info by id for: 41dadd2aea6e11e59ce95e5517507c66
org.wso2.carbon.security.caas.user.core.exception.IdentityStoreException:
Error occurred while retrieving user claims.
at
org.wso2.carbon.security.userstore.jdbc.connector.JDBCIdentityStoreConnector.getUserAttributeValues(JDBCIdentityStoreConnector.java:250)
at
org.wso2.carbon.security.caas.user.core.store.IdentityStore.getUserAttributeValues(IdentityStore.java:185)
at
org.wso2.carbon.security.caas.user.core.bean.User.getClaims(User.java:146)
at
org.wso2.carbon.bpmn.core.integration.BPSUserIdentityManager.findUserById(BPSUserIdentityManager.java:111)
at
org.wso2.carbon.bpmn.tests.osgi.BPMNClaimUserTaskTest.testInvokeClaimedUserTask(BPMNClaimUserTaskTest.java:144)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at
org.ops4j.pax.exam.raw.extender.intern.ProbeInvokerImpl.injectContextAndInvoke(ProbeInvokerImpl.java:125)
at
org.ops4j.pax.exam.raw.extender.intern.ProbeInvokerImpl.findAndInvoke(ProbeInvokerImpl.java:85)
at
org.ops4j.pax.exam.raw.extender.intern.ProbeInvokerImpl.call(ProbeInvokerImpl.java:73)
at
org.ops4j.pax.exam.nat.internal.NativeTestContainer.call(NativeTestContainer.java:112)
at
org.ops4j.pax.exam.spi.reactors.SingletonStagedReactor.invoke(SingletonStagedReactor.java:114)
at
org.ops4j.pax.exam.spi.reactors.PerSuiteStagedReactor.invoke(PerSuiteStagedReactor.java:47)
at org.ops4j.pax.exam.testng.listener.PaxExam.runByDriver(PaxExam.java:458)
at org.ops4j.pax.exam.testng.listener.PaxExam.run(PaxExam.java:308)
at
org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:212)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:652)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:845)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1153)
at
org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
at org.testng.TestRunner.privateRun(TestRunner.java:771)
at org.testng.TestRunner.run(TestRunner.java:621)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
at org.testng.SuiteRunner.run(SuiteRunner.java:259)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1199)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1124)
at org.testng.TestNG.run(TestNG.java:1032)
at
org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
at
org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
at
org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
at
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.h2.jdbc.JdbcSQLException: Invalid value "3" for parameter
"parameterIndex" [90008-191]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)

Thanks,

Himasha Guruge
*Software Engineer*
WS*O2* *Inc.*
Mobile: +94 777459299
himas...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [C5] Retrieving claim values with Claim Manager changes

2016-05-25 Thread Himasha Guruge
[1]
https://github.com/wso2-extensions/carbon-security-user-store-jdbc/blob/75d466dd4110ab55fb5dcb728b33611ec116bf63/feature/resources/database/WSO2CARBON_DB.sql

[2]
https://github.com/wso2-extensions/carbon-security-user-store-jdbc/blob/master/tests/osgi-tests/src/test/resources/h2_test_data.sql

On Thu, May 26, 2016 at 10:19 AM, Himasha Guruge  wrote:

> Hi ,
>
> With the latest Claim Manager changes in carbon-security, following test
> was done to retrieve user claim values for user admin. However, an empty
> claim list is returned for the following line.
>
> user.getClaims(claims);
>
> While debugging, following stack trace was identified. I have used [1] and
> [2] to create the database tables and test data values. Any idea on what
> could be the issue? User object contains the claim mappings , however the
> values are not retrieved.
>
> Given *Caused by: org.h2.jdbc.JdbcSQLException: Invalid value "3" for
> parameter "parameterIndex" [90008-191]* could it be an issue with the
> test data?
>
> org.wso2.carbon.bpmn[org.wso2.carbon.bpmn.core.integration.BPSUserIdentityManager]
> : Error retrieving user info by id for: 41dadd2aea6e11e59ce95e5517507c66
> org.wso2.carbon.security.caas.user.core.exception.IdentityStoreException:
> Error occurred while retrieving user claims.
> at
> org.wso2.carbon.security.userstore.jdbc.connector.JDBCIdentityStoreConnector.getUserAttributeValues(JDBCIdentityStoreConnector.java:250)
> at
> org.wso2.carbon.security.caas.user.core.store.IdentityStore.getUserAttributeValues(IdentityStore.java:185)
> at
> org.wso2.carbon.security.caas.user.core.bean.User.getClaims(User.java:146)
> at
> org.wso2.carbon.bpmn.core.integration.BPSUserIdentityManager.findUserById(BPSUserIdentityManager.java:111)
> at
> org.wso2.carbon.bpmn.tests.osgi.BPMNClaimUserTaskTest.testInvokeClaimedUserTask(BPMNClaimUserTaskTest.java:144)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> at
> org.ops4j.pax.exam.raw.extender.intern.ProbeInvokerImpl.injectContextAndInvoke(ProbeInvokerImpl.java:125)
> at
> org.ops4j.pax.exam.raw.extender.intern.ProbeInvokerImpl.findAndInvoke(ProbeInvokerImpl.java:85)
> at
> org.ops4j.pax.exam.raw.extender.intern.ProbeInvokerImpl.call(ProbeInvokerImpl.java:73)
> at
> org.ops4j.pax.exam.nat.internal.NativeTestContainer.call(NativeTestContainer.java:112)
> at
> org.ops4j.pax.exam.spi.reactors.SingletonStagedReactor.invoke(SingletonStagedReactor.java:114)
> at
> org.ops4j.pax.exam.spi.reactors.PerSuiteStagedReactor.invoke(PerSuiteStagedReactor.java:47)
> at org.ops4j.pax.exam.testng.listener.PaxExam.runByDriver(PaxExam.java:458)
> at org.ops4j.pax.exam.testng.listener.PaxExam.run(PaxExam.java:308)
> at
> org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:212)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:652)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:845)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1153)
> at
> org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
> at org.testng.TestRunner.privateRun(TestRunner.java:771)
> at org.testng.TestRunner.run(TestRunner.java:621)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
> at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
> at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
> at org.testng.SuiteRunner.run(SuiteRunner.java:259)
> at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
> at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
> at org.testng.TestNG.runSuitesSequentially(TestNG.java:1199)
> at org.testng.TestNG.runSuitesLocally(TestNG.java:1124)
> at org.testng.TestNG.run(TestNG.java:1032)
> at
> org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
> at
> org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
> at
> org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
> at
> org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
> at
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
> at
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
> Caused by: org.h2.jdbc.JdbcSQLException: Invalid value "3" for parameter
> "parameterIndex" [90008-191]
> at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
>
> Thanks,
>
> Himasha Guruge
> *Software Engineer*
> WS*O2* *Inc.*
> Mobile: +94 777459299
> himas...@wso2.com
>



-- 
Himasha Guruge
*Software Engineer*
WS*O2* *Inc.*
Mobile: +94 777459299
himas...@wso2.com
__

Re: [Dev] [APIM] Changing Default Tier Limits and Names

2016-05-25 Thread Nuwan Dias
Changing the names of the Resource Tiers and User Quota will be a problem
for migrating users :(.

If these tier names are recorded in the DB only, we can simply write an sql
script that replaces the old names with the new ones. But if they are
recorded in the rxt/swagger, we'll have more problems.

Thanks,
NuwanD.

On Wed, May 25, 2016 at 2:51 PM, Harsha Kumara  wrote:

> Hi All,
>
> Currently we are using very small number for our default tier values. We
> are going to change them to more meaningful counts. Here are the current
> limits. Also with the change of quota calculation and undesirability we
> think of change the tier names as well.
>
> Subscription Level Tiers
>
>- Gold - 20 req/min
>- Silver - 5 req/min
>- Bronze - 1 req/min
>
>
>
> Resource Level Tiers
>
>- Ultimate - 20 req/min
>- Plus - 5  req/min
>- Basic -1 req/min
>
>
> Application Level Tiers
>
>- Large - 20 req/min
>- Medium - 5 req/min
>- Small -1 req/min
>
>
> Unauthenticated Tier - 60  req/min
>
> *Proposed Limits*
>
> Subscription Level Tiers
>
>- Gold - 5000  req/min
>- Silver - 2000 req/min
>- Bronze - 1000 req/min
>
> Resource Level Tiers
>
>- 50KPerMin - 5 req/min
>- 20KPerMin - 2 req/min
>- 10KPerMin - 1  req/min
>
> Application Level Tiers -> Per User Quota
>
>- 50PerMin - 50 req/min
>- 20PerMin  - 20 req/min
>- 10PerMin  - 10 req/min
>
> Unauthenticated Tier - 500  req/min
>
> Thanks,
> Harsha
>
> --
> Harsha Kumara
> Software Engineer, WSO2 Inc.
> Mobile: +94775505618
> Blog:harshcreationz.blogspot.com
>



-- 
Nuwan Dias

Technical Lead - WSO2, Inc. http://wso2.com
email : nuw...@wso2.com
Phone : +94 777 775 729
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [C5] Retrieving claim values with Claim Manager changes

2016-05-25 Thread Thanuja Jayasinghe
Hi Himasha,

This is a known issue and Jayanga will provide a fix soon.

Thanks,
Thanuja

On Thu, May 26, 2016 at 10:19 AM, Himasha Guruge  wrote:

> [1]
> https://github.com/wso2-extensions/carbon-security-user-store-jdbc/blob/75d466dd4110ab55fb5dcb728b33611ec116bf63/feature/resources/database/WSO2CARBON_DB.sql
>
> [2]
> https://github.com/wso2-extensions/carbon-security-user-store-jdbc/blob/master/tests/osgi-tests/src/test/resources/h2_test_data.sql
>
> On Thu, May 26, 2016 at 10:19 AM, Himasha Guruge 
> wrote:
>
>> Hi ,
>>
>> With the latest Claim Manager changes in carbon-security, following test
>> was done to retrieve user claim values for user admin. However, an empty
>> claim list is returned for the following line.
>>
>> user.getClaims(claims);
>>
>> While debugging, following stack trace was identified. I have used [1]
>> and [2] to create the database tables and test data values. Any idea on
>> what could be the issue? User object contains the claim mappings , however
>> the values are not retrieved.
>>
>> Given *Caused by: org.h2.jdbc.JdbcSQLException: Invalid value "3" for
>> parameter "parameterIndex" [90008-191]* could it be an issue with the
>> test data?
>>
>> org.wso2.carbon.bpmn[org.wso2.carbon.bpmn.core.integration.BPSUserIdentityManager]
>> : Error retrieving user info by id for: 41dadd2aea6e11e59ce95e5517507c66
>> org.wso2.carbon.security.caas.user.core.exception.IdentityStoreException:
>> Error occurred while retrieving user claims.
>> at
>> org.wso2.carbon.security.userstore.jdbc.connector.JDBCIdentityStoreConnector.getUserAttributeValues(JDBCIdentityStoreConnector.java:250)
>> at
>> org.wso2.carbon.security.caas.user.core.store.IdentityStore.getUserAttributeValues(IdentityStore.java:185)
>> at
>> org.wso2.carbon.security.caas.user.core.bean.User.getClaims(User.java:146)
>> at
>> org.wso2.carbon.bpmn.core.integration.BPSUserIdentityManager.findUserById(BPSUserIdentityManager.java:111)
>> at
>> org.wso2.carbon.bpmn.tests.osgi.BPMNClaimUserTaskTest.testInvokeClaimedUserTask(BPMNClaimUserTaskTest.java:144)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:483)
>> at
>> org.ops4j.pax.exam.raw.extender.intern.ProbeInvokerImpl.injectContextAndInvoke(ProbeInvokerImpl.java:125)
>> at
>> org.ops4j.pax.exam.raw.extender.intern.ProbeInvokerImpl.findAndInvoke(ProbeInvokerImpl.java:85)
>> at
>> org.ops4j.pax.exam.raw.extender.intern.ProbeInvokerImpl.call(ProbeInvokerImpl.java:73)
>> at
>> org.ops4j.pax.exam.nat.internal.NativeTestContainer.call(NativeTestContainer.java:112)
>> at
>> org.ops4j.pax.exam.spi.reactors.SingletonStagedReactor.invoke(SingletonStagedReactor.java:114)
>> at
>> org.ops4j.pax.exam.spi.reactors.PerSuiteStagedReactor.invoke(PerSuiteStagedReactor.java:47)
>> at
>> org.ops4j.pax.exam.testng.listener.PaxExam.runByDriver(PaxExam.java:458)
>> at org.ops4j.pax.exam.testng.listener.PaxExam.run(PaxExam.java:308)
>> at
>> org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:212)
>> at org.testng.internal.Invoker.invokeMethod(Invoker.java:652)
>> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:845)
>> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1153)
>> at
>> org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
>> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
>> at org.testng.TestRunner.privateRun(TestRunner.java:771)
>> at org.testng.TestRunner.run(TestRunner.java:621)
>> at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
>> at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
>> at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
>> at org.testng.SuiteRunner.run(SuiteRunner.java:259)
>> at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
>> at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
>> at org.testng.TestNG.runSuitesSequentially(TestNG.java:1199)
>> at org.testng.TestNG.runSuitesLocally(TestNG.java:1124)
>> at org.testng.TestNG.run(TestNG.java:1032)
>> at
>> org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
>> at
>> org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
>> at
>> org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
>> at
>> org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
>> at
>> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
>> at
>> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
>> Caused by: org.h2.jdbc.JdbcSQLException: Invalid value "3" for parameter
>> "parameterIndex" [90008-191]
>> at org.h2.message.DbException.getJdbcSQLException(DbExcept

Re: [Dev] [C5] Retrieving claim values with Claim Manager changes

2016-05-25 Thread Himasha Guruge
Thanks for the quick response Thanuja.

On Thu, May 26, 2016 at 10:24 AM, Thanuja Jayasinghe 
wrote:

> Hi Himasha,
>
> This is a known issue and Jayanga will provide a fix soon.
>
> Thanks,
> Thanuja
>
> On Thu, May 26, 2016 at 10:19 AM, Himasha Guruge 
> wrote:
>
>> [1]
>> https://github.com/wso2-extensions/carbon-security-user-store-jdbc/blob/75d466dd4110ab55fb5dcb728b33611ec116bf63/feature/resources/database/WSO2CARBON_DB.sql
>>
>> [2]
>> https://github.com/wso2-extensions/carbon-security-user-store-jdbc/blob/master/tests/osgi-tests/src/test/resources/h2_test_data.sql
>>
>> On Thu, May 26, 2016 at 10:19 AM, Himasha Guruge 
>> wrote:
>>
>>> Hi ,
>>>
>>> With the latest Claim Manager changes in carbon-security, following test
>>> was done to retrieve user claim values for user admin. However, an empty
>>> claim list is returned for the following line.
>>>
>>> user.getClaims(claims);
>>>
>>> While debugging, following stack trace was identified. I have used [1]
>>> and [2] to create the database tables and test data values. Any idea on
>>> what could be the issue? User object contains the claim mappings , however
>>> the values are not retrieved.
>>>
>>> Given *Caused by: org.h2.jdbc.JdbcSQLException: Invalid value "3" for
>>> parameter "parameterIndex" [90008-191]* could it be an issue with the
>>> test data?
>>>
>>> org.wso2.carbon.bpmn[org.wso2.carbon.bpmn.core.integration.BPSUserIdentityManager]
>>> : Error retrieving user info by id for: 41dadd2aea6e11e59ce95e5517507c66
>>> org.wso2.carbon.security.caas.user.core.exception.IdentityStoreException:
>>> Error occurred while retrieving user claims.
>>> at
>>> org.wso2.carbon.security.userstore.jdbc.connector.JDBCIdentityStoreConnector.getUserAttributeValues(JDBCIdentityStoreConnector.java:250)
>>> at
>>> org.wso2.carbon.security.caas.user.core.store.IdentityStore.getUserAttributeValues(IdentityStore.java:185)
>>> at
>>> org.wso2.carbon.security.caas.user.core.bean.User.getClaims(User.java:146)
>>> at
>>> org.wso2.carbon.bpmn.core.integration.BPSUserIdentityManager.findUserById(BPSUserIdentityManager.java:111)
>>> at
>>> org.wso2.carbon.bpmn.tests.osgi.BPMNClaimUserTaskTest.testInvokeClaimedUserTask(BPMNClaimUserTaskTest.java:144)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>> at java.lang.reflect.Method.invoke(Method.java:483)
>>> at
>>> org.ops4j.pax.exam.raw.extender.intern.ProbeInvokerImpl.injectContextAndInvoke(ProbeInvokerImpl.java:125)
>>> at
>>> org.ops4j.pax.exam.raw.extender.intern.ProbeInvokerImpl.findAndInvoke(ProbeInvokerImpl.java:85)
>>> at
>>> org.ops4j.pax.exam.raw.extender.intern.ProbeInvokerImpl.call(ProbeInvokerImpl.java:73)
>>> at
>>> org.ops4j.pax.exam.nat.internal.NativeTestContainer.call(NativeTestContainer.java:112)
>>> at
>>> org.ops4j.pax.exam.spi.reactors.SingletonStagedReactor.invoke(SingletonStagedReactor.java:114)
>>> at
>>> org.ops4j.pax.exam.spi.reactors.PerSuiteStagedReactor.invoke(PerSuiteStagedReactor.java:47)
>>> at
>>> org.ops4j.pax.exam.testng.listener.PaxExam.runByDriver(PaxExam.java:458)
>>> at org.ops4j.pax.exam.testng.listener.PaxExam.run(PaxExam.java:308)
>>> at
>>> org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:212)
>>> at org.testng.internal.Invoker.invokeMethod(Invoker.java:652)
>>> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:845)
>>> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1153)
>>> at
>>> org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
>>> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
>>> at org.testng.TestRunner.privateRun(TestRunner.java:771)
>>> at org.testng.TestRunner.run(TestRunner.java:621)
>>> at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
>>> at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
>>> at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
>>> at org.testng.SuiteRunner.run(SuiteRunner.java:259)
>>> at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
>>> at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
>>> at org.testng.TestNG.runSuitesSequentially(TestNG.java:1199)
>>> at org.testng.TestNG.runSuitesLocally(TestNG.java:1124)
>>> at org.testng.TestNG.run(TestNG.java:1032)
>>> at
>>> org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
>>> at
>>> org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
>>> at
>>> org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
>>> at
>>> org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
>>> at
>>> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
>>> at
>>> org.apache.maven.surefire.booter.

Re: [Dev] [APIM] Changing Default Tier Limits and Names

2016-05-25 Thread Sam Sivayogam
IMO we need to change the throttling limits. With the new throttling
implementation we cannot guarantee 100% accuracy so if we use small limits,
the margin of error will be high. So it's better to use large limits than
the previous throttling limits.

Thanks,
Sam

On Thu, May 26, 2016 at 10:23 AM, Nuwan Dias  wrote:

> Changing the names of the Resource Tiers and User Quota will be a problem
> for migrating users :(.
>
> If these tier names are recorded in the DB only, we can simply write an
> sql script that replaces the old names with the new ones. But if they are
> recorded in the rxt/swagger, we'll have more problems.
>
> Thanks,
> NuwanD.
>
> On Wed, May 25, 2016 at 2:51 PM, Harsha Kumara  wrote:
>
>> Hi All,
>>
>> Currently we are using very small number for our default tier values. We
>> are going to change them to more meaningful counts. Here are the current
>> limits. Also with the change of quota calculation and undesirability we
>> think of change the tier names as well.
>>
>> Subscription Level Tiers
>>
>>- Gold - 20 req/min
>>- Silver - 5 req/min
>>- Bronze - 1 req/min
>>
>>
>>
>> Resource Level Tiers
>>
>>- Ultimate - 20 req/min
>>- Plus - 5  req/min
>>- Basic -1 req/min
>>
>>
>> Application Level Tiers
>>
>>- Large - 20 req/min
>>- Medium - 5 req/min
>>- Small -1 req/min
>>
>>
>> Unauthenticated Tier - 60  req/min
>>
>> *Proposed Limits*
>>
>> Subscription Level Tiers
>>
>>- Gold - 5000  req/min
>>- Silver - 2000 req/min
>>- Bronze - 1000 req/min
>>
>> Resource Level Tiers
>>
>>- 50KPerMin - 5 req/min
>>- 20KPerMin - 2 req/min
>>- 10KPerMin - 1  req/min
>>
>> Application Level Tiers -> Per User Quota
>>
>>- 50PerMin - 50 req/min
>>- 20PerMin  - 20 req/min
>>- 10PerMin  - 10 req/min
>>
>> Unauthenticated Tier - 500  req/min
>>
>> Thanks,
>> Harsha
>>
>> --
>> Harsha Kumara
>> Software Engineer, WSO2 Inc.
>> Mobile: +94775505618
>> Blog:harshcreationz.blogspot.com
>>
>
>
>
> --
> Nuwan Dias
>
> Technical Lead - WSO2, Inc. http://wso2.com
> email : nuw...@wso2.com
> Phone : +94 777 775 729
>



-- 
*Sam Sivayogam*

Software Engineer
Mobile  : +94 772 906 439
Office   : +94 112 145 345
*WSO2, Inc. :** wso2.com *
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM] Changing Default Tier Limits and Names

2016-05-25 Thread Nuwan Dias
The proposed limits are much larger than the existing ones.

On Thu, May 26, 2016 at 10:32 AM, Sam Sivayogam  wrote:

> IMO we need to change the throttling limits. With the new throttling
> implementation we cannot guarantee 100% accuracy so if we use small limits,
> the margin of error will be high. So it's better to use large limits than
> the previous throttling limits.
>
> Thanks,
> Sam
>
> On Thu, May 26, 2016 at 10:23 AM, Nuwan Dias  wrote:
>
>> Changing the names of the Resource Tiers and User Quota will be a problem
>> for migrating users :(.
>>
>> If these tier names are recorded in the DB only, we can simply write an
>> sql script that replaces the old names with the new ones. But if they are
>> recorded in the rxt/swagger, we'll have more problems.
>>
>> Thanks,
>> NuwanD.
>>
>> On Wed, May 25, 2016 at 2:51 PM, Harsha Kumara  wrote:
>>
>>> Hi All,
>>>
>>> Currently we are using very small number for our default tier values. We
>>> are going to change them to more meaningful counts. Here are the current
>>> limits. Also with the change of quota calculation and undesirability we
>>> think of change the tier names as well.
>>>
>>> Subscription Level Tiers
>>>
>>>- Gold - 20 req/min
>>>- Silver - 5 req/min
>>>- Bronze - 1 req/min
>>>
>>>
>>>
>>> Resource Level Tiers
>>>
>>>- Ultimate - 20 req/min
>>>- Plus - 5  req/min
>>>- Basic -1 req/min
>>>
>>>
>>> Application Level Tiers
>>>
>>>- Large - 20 req/min
>>>- Medium - 5 req/min
>>>- Small -1 req/min
>>>
>>>
>>> Unauthenticated Tier - 60  req/min
>>>
>>> *Proposed Limits*
>>>
>>> Subscription Level Tiers
>>>
>>>- Gold - 5000  req/min
>>>- Silver - 2000 req/min
>>>- Bronze - 1000 req/min
>>>
>>> Resource Level Tiers
>>>
>>>- 50KPerMin - 5 req/min
>>>- 20KPerMin - 2 req/min
>>>- 10KPerMin - 1  req/min
>>>
>>> Application Level Tiers -> Per User Quota
>>>
>>>- 50PerMin - 50 req/min
>>>- 20PerMin  - 20 req/min
>>>- 10PerMin  - 10 req/min
>>>
>>> Unauthenticated Tier - 500  req/min
>>>
>>> Thanks,
>>> Harsha
>>>
>>> --
>>> Harsha Kumara
>>> Software Engineer, WSO2 Inc.
>>> Mobile: +94775505618
>>> Blog:harshcreationz.blogspot.com
>>>
>>
>>
>>
>> --
>> Nuwan Dias
>>
>> Technical Lead - WSO2, Inc. http://wso2.com
>> email : nuw...@wso2.com
>> Phone : +94 777 775 729
>>
>
>
>
> --
> *Sam Sivayogam*
>
> Software Engineer
> Mobile  : +94 772 906 439
> Office   : +94 112 145 345
> *WSO2, Inc. :** wso2.com *
> lean.enterprise.middleware.
>



-- 
Nuwan Dias

Technical Lead - WSO2, Inc. http://wso2.com
email : nuw...@wso2.com
Phone : +94 777 775 729
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM] Changing Default Tier Limits and Names

2016-05-25 Thread Lakmali Baminiwatta
I think when migrating, we can't change the names/limits of exiting tiers
since it will be a problem to existing subscriptions. So IMO, instead of
renaming tiers, we should add these new resource level and app level tiers
while keeping the old ones as well.

Thanks,
Lakmali

On 26 May 2016 at 10:23, Nuwan Dias  wrote:

> Changing the names of the Resource Tiers and User Quota will be a problem
> for migrating users :(.
>
> If these tier names are recorded in the DB only, we can simply write an
> sql script that replaces the old names with the new ones. But if they are
> recorded in the rxt/swagger, we'll have more problems.
>
> Thanks,
> NuwanD.
>
> On Wed, May 25, 2016 at 2:51 PM, Harsha Kumara  wrote:
>
>> Hi All,
>>
>> Currently we are using very small number for our default tier values. We
>> are going to change them to more meaningful counts. Here are the current
>> limits. Also with the change of quota calculation and undesirability we
>> think of change the tier names as well.
>>
>> Subscription Level Tiers
>>
>>- Gold - 20 req/min
>>- Silver - 5 req/min
>>- Bronze - 1 req/min
>>
>>
>>
>> Resource Level Tiers
>>
>>- Ultimate - 20 req/min
>>- Plus - 5  req/min
>>- Basic -1 req/min
>>
>>
>> Application Level Tiers
>>
>>- Large - 20 req/min
>>- Medium - 5 req/min
>>- Small -1 req/min
>>
>>
>> Unauthenticated Tier - 60  req/min
>>
>> *Proposed Limits*
>>
>> Subscription Level Tiers
>>
>>- Gold - 5000  req/min
>>- Silver - 2000 req/min
>>- Bronze - 1000 req/min
>>
>> Resource Level Tiers
>>
>>- 50KPerMin - 5 req/min
>>- 20KPerMin - 2 req/min
>>- 10KPerMin - 1  req/min
>>
>> Application Level Tiers -> Per User Quota
>>
>>- 50PerMin - 50 req/min
>>- 20PerMin  - 20 req/min
>>- 10PerMin  - 10 req/min
>>
>> Unauthenticated Tier - 500  req/min
>>
>> Thanks,
>> Harsha
>>
>> --
>> Harsha Kumara
>> Software Engineer, WSO2 Inc.
>> Mobile: +94775505618
>> Blog:harshcreationz.blogspot.com
>>
>
>
>
> --
> Nuwan Dias
>
> Technical Lead - WSO2, Inc. http://wso2.com
> email : nuw...@wso2.com
> Phone : +94 777 775 729
>



-- 
Lakmali Baminiwatta
Senior Software Engineer
WSO2, Inc.: http://wso2.com
lean.enterprise.middleware
mobile:  +94 71 2335936
blog : lakmali.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM] Changing Default Tier Limits and Names

2016-05-25 Thread Sam Sivayogam
Yes. Thats what I meant we can use those proposed limits

On Thu, May 26, 2016 at 10:33 AM, Nuwan Dias  wrote:

> The proposed limits are much larger than the existing ones.
>
> On Thu, May 26, 2016 at 10:32 AM, Sam Sivayogam  wrote:
>
>> IMO we need to change the throttling limits. With the new throttling
>> implementation we cannot guarantee 100% accuracy so if we use small limits,
>> the margin of error will be high. So it's better to use large limits than
>> the previous throttling limits.
>>
>> Thanks,
>> Sam
>>
>> On Thu, May 26, 2016 at 10:23 AM, Nuwan Dias  wrote:
>>
>>> Changing the names of the Resource Tiers and User Quota will be a
>>> problem for migrating users :(.
>>>
>>> If these tier names are recorded in the DB only, we can simply write an
>>> sql script that replaces the old names with the new ones. But if they are
>>> recorded in the rxt/swagger, we'll have more problems.
>>>
>>> Thanks,
>>> NuwanD.
>>>
>>> On Wed, May 25, 2016 at 2:51 PM, Harsha Kumara  wrote:
>>>
 Hi All,

 Currently we are using very small number for our default tier values.
 We are going to change them to more meaningful counts. Here are the current
 limits. Also with the change of quota calculation and undesirability we
 think of change the tier names as well.

 Subscription Level Tiers

- Gold - 20 req/min
- Silver - 5 req/min
- Bronze - 1 req/min



 Resource Level Tiers

- Ultimate - 20 req/min
- Plus - 5  req/min
- Basic -1 req/min


 Application Level Tiers

- Large - 20 req/min
- Medium - 5 req/min
- Small -1 req/min


 Unauthenticated Tier - 60  req/min

 *Proposed Limits*

 Subscription Level Tiers

- Gold - 5000  req/min
- Silver - 2000 req/min
- Bronze - 1000 req/min

 Resource Level Tiers

- 50KPerMin - 5 req/min
- 20KPerMin - 2 req/min
- 10KPerMin - 1  req/min

 Application Level Tiers -> Per User Quota

- 50PerMin - 50 req/min
- 20PerMin  - 20 req/min
- 10PerMin  - 10 req/min

 Unauthenticated Tier - 500  req/min

 Thanks,
 Harsha

 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

>>>
>>>
>>>
>>> --
>>> Nuwan Dias
>>>
>>> Technical Lead - WSO2, Inc. http://wso2.com
>>> email : nuw...@wso2.com
>>> Phone : +94 777 775 729
>>>
>>
>>
>>
>> --
>> *Sam Sivayogam*
>>
>> Software Engineer
>> Mobile  : +94 772 906 439
>> Office   : +94 112 145 345
>> *WSO2, Inc. :** wso2.com *
>> lean.enterprise.middleware.
>>
>
>
>
> --
> Nuwan Dias
>
> Technical Lead - WSO2, Inc. http://wso2.com
> email : nuw...@wso2.com
> Phone : +94 777 775 729
>



-- 
*Sam Sivayogam*

Software Engineer
Mobile  : +94 772 906 439
Office   : +94 112 145 345
*WSO2, Inc. :** wso2.com *
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM] Changing Default Tier Limits and Names

2016-05-25 Thread Sam Sivayogam
What if we ship the 2.0.0 with the new tier definitions(new tier names, new
limits) and during migration we can check if there is any subscriptions for
the old tiers in version 1.10 and if there is existing subscriptions, we
can add those old tiers to 2.0.0 database using in the migration tool. In
that way existing subscriptions will be able get the old tier information
WDYT ?

Thanks,
Sam

On Thu, May 26, 2016 at 10:47 AM, Lakmali Baminiwatta 
wrote:

> I think when migrating, we can't change the names/limits of exiting tiers
> since it will be a problem to existing subscriptions. So IMO, instead of
> renaming tiers, we should add these new resource level and app level tiers
> while keeping the old ones as well.
>
> Thanks,
> Lakmali
>
> On 26 May 2016 at 10:23, Nuwan Dias  wrote:
>
>> Changing the names of the Resource Tiers and User Quota will be a problem
>> for migrating users :(.
>>
>> If these tier names are recorded in the DB only, we can simply write an
>> sql script that replaces the old names with the new ones. But if they are
>> recorded in the rxt/swagger, we'll have more problems.
>>
>> Thanks,
>> NuwanD.
>>
>> On Wed, May 25, 2016 at 2:51 PM, Harsha Kumara  wrote:
>>
>>> Hi All,
>>>
>>> Currently we are using very small number for our default tier values. We
>>> are going to change them to more meaningful counts. Here are the current
>>> limits. Also with the change of quota calculation and undesirability we
>>> think of change the tier names as well.
>>>
>>> Subscription Level Tiers
>>>
>>>- Gold - 20 req/min
>>>- Silver - 5 req/min
>>>- Bronze - 1 req/min
>>>
>>>
>>>
>>> Resource Level Tiers
>>>
>>>- Ultimate - 20 req/min
>>>- Plus - 5  req/min
>>>- Basic -1 req/min
>>>
>>>
>>> Application Level Tiers
>>>
>>>- Large - 20 req/min
>>>- Medium - 5 req/min
>>>- Small -1 req/min
>>>
>>>
>>> Unauthenticated Tier - 60  req/min
>>>
>>> *Proposed Limits*
>>>
>>> Subscription Level Tiers
>>>
>>>- Gold - 5000  req/min
>>>- Silver - 2000 req/min
>>>- Bronze - 1000 req/min
>>>
>>> Resource Level Tiers
>>>
>>>- 50KPerMin - 5 req/min
>>>- 20KPerMin - 2 req/min
>>>- 10KPerMin - 1  req/min
>>>
>>> Application Level Tiers -> Per User Quota
>>>
>>>- 50PerMin - 50 req/min
>>>- 20PerMin  - 20 req/min
>>>- 10PerMin  - 10 req/min
>>>
>>> Unauthenticated Tier - 500  req/min
>>>
>>> Thanks,
>>> Harsha
>>>
>>> --
>>> Harsha Kumara
>>> Software Engineer, WSO2 Inc.
>>> Mobile: +94775505618
>>> Blog:harshcreationz.blogspot.com
>>>
>>
>>
>>
>> --
>> Nuwan Dias
>>
>> Technical Lead - WSO2, Inc. http://wso2.com
>> email : nuw...@wso2.com
>> Phone : +94 777 775 729
>>
>
>
>
> --
> Lakmali Baminiwatta
> Senior Software Engineer
> WSO2, Inc.: http://wso2.com
> lean.enterprise.middleware
> mobile:  +94 71 2335936
> blog : lakmali.com
>
>


-- 
*Sam Sivayogam*

Software Engineer
Mobile  : +94 772 906 439
Office   : +94 112 145 345
*WSO2, Inc. :** wso2.com *
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM] Changing Default Tier Limits and Names

2016-05-25 Thread Uvindra Dias Jayasinha
I think we need to setup a meeting to discuss the impact on existing users,
there could be lots of things we need to consider.

On 26 May 2016 at 11:31, Sam Sivayogam  wrote:

> What if we ship the 2.0.0 with the new tier definitions(new tier names,
> new limits) and during migration we can check if there is any subscriptions
> for the old tiers in version 1.10 and if there is existing subscriptions,
> we can add those old tiers to 2.0.0 database using in the migration tool.
> In that way existing subscriptions will be able get the old tier
> information WDYT ?
>
> Thanks,
> Sam
>
> On Thu, May 26, 2016 at 10:47 AM, Lakmali Baminiwatta 
> wrote:
>
>> I think when migrating, we can't change the names/limits of exiting tiers
>> since it will be a problem to existing subscriptions. So IMO, instead of
>> renaming tiers, we should add these new resource level and app level tiers
>> while keeping the old ones as well.
>>
>> Thanks,
>> Lakmali
>>
>> On 26 May 2016 at 10:23, Nuwan Dias  wrote:
>>
>>> Changing the names of the Resource Tiers and User Quota will be a
>>> problem for migrating users :(.
>>>
>>> If these tier names are recorded in the DB only, we can simply write an
>>> sql script that replaces the old names with the new ones. But if they are
>>> recorded in the rxt/swagger, we'll have more problems.
>>>
>>> Thanks,
>>> NuwanD.
>>>
>>> On Wed, May 25, 2016 at 2:51 PM, Harsha Kumara  wrote:
>>>
 Hi All,

 Currently we are using very small number for our default tier values.
 We are going to change them to more meaningful counts. Here are the current
 limits. Also with the change of quota calculation and undesirability we
 think of change the tier names as well.

 Subscription Level Tiers

- Gold - 20 req/min
- Silver - 5 req/min
- Bronze - 1 req/min



 Resource Level Tiers

- Ultimate - 20 req/min
- Plus - 5  req/min
- Basic -1 req/min


 Application Level Tiers

- Large - 20 req/min
- Medium - 5 req/min
- Small -1 req/min


 Unauthenticated Tier - 60  req/min

 *Proposed Limits*

 Subscription Level Tiers

- Gold - 5000  req/min
- Silver - 2000 req/min
- Bronze - 1000 req/min

 Resource Level Tiers

- 50KPerMin - 5 req/min
- 20KPerMin - 2 req/min
- 10KPerMin - 1  req/min

 Application Level Tiers -> Per User Quota

- 50PerMin - 50 req/min
- 20PerMin  - 20 req/min
- 10PerMin  - 10 req/min

 Unauthenticated Tier - 500  req/min

 Thanks,
 Harsha

 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

>>>
>>>
>>>
>>> --
>>> Nuwan Dias
>>>
>>> Technical Lead - WSO2, Inc. http://wso2.com
>>> email : nuw...@wso2.com
>>> Phone : +94 777 775 729
>>>
>>
>>
>>
>> --
>> Lakmali Baminiwatta
>> Senior Software Engineer
>> WSO2, Inc.: http://wso2.com
>> lean.enterprise.middleware
>> mobile:  +94 71 2335936
>> blog : lakmali.com
>>
>>
>
>
> --
> *Sam Sivayogam*
>
> Software Engineer
> Mobile  : +94 772 906 439
> Office   : +94 112 145 345
> *WSO2, Inc. :** wso2.com *
> lean.enterprise.middleware.
>



-- 
Regards,
Uvindra

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