Re: [Dev] BAM -Message and Activity search based on Cassandra indexing

2014-07-25 Thread Inosh Goonewardena
Hi Asanka,

Let me clarify about current BAM indexing feature a bit more. In the
streams.properties file we can define two types of indexes, i.e secondary
indexes and custom indexes. However, through the message console, filtering
criteria can be only added on custom index properties. The reason is,
secondary indexes we refer here are default cassandra indexes[1] and there
are several limitations on using those secondary indexes in advanced search
queries(explained in [1] and mail thread [2]). As explained in [2], we have
chosen custom indexing mechanism because of those limitations we had with
secondary indexes.

As you have mentioned, currently, custom index affect only for the data
that is published after the index creation. This could be a useful thing to
have, but we have to think properly on the overhead it is going to add when
handling the size of already existing data and the time it will take to
complete the process. On the other hand, according the conclusion of mail
thread [3], we are planning to remove the define stream capabilities from
data agents and define all WSO2 inbuilt event definitions in corresponding
toolboxes. If that's the case, it is mandatory to deploy the toolbox before
we publish data, so that indexes also has to be added along with the
toolbox.

But anyway, there are some other limitations(pagination support, sorting)
as well in this message console/activity dashboard. The reason for most of
those limitations is using Cassandra based CFs for filtered searching
critireas. So that, we are planning to get rid of cassandra indexing and
introduce some other indexing mechanism in BAM 2.5.0(already in our
roadmap).

[1] - http://www.datastax.com/docs/1.1/ddl/indexes
[2] - [Architecture] Indexing in Cassandra to support BAM events & activity
search
[3] - [Architecture] Should we have one place to define event streams?


On Fri, Jul 25, 2014 at 5:15 PM, Asanka Vithanage  wrote:

> Hi Pandula,
>
> I am trying on a standalone pack with built-in cassandra. Basically we can
> add secondary indexs by updating the tBox streams.properties file, for Ex.
> we can add below line to Mediation_Statistics_Monitoring toolBox to create
> secondary indexs on direction,resource_id,stats_type fields.
>
> streams.definitions.defn1.secondaryindexes=direction,resource_id,stats_type
>
> My Point here is once we deploy the TBox with secondary indexes, It should
> start indexing immediately.Reported Bug[1] for this issue.
>
> [1] https://wso2.org/jira/browse/BAM-1715
>
>
>
>
> On Fri, Jul 25, 2014 at 3:38 PM, Pandula Kariyawasam 
> wrote:
>
>> Hi Asanka,
>>
>> It was a different story at that time :). Anyway, have you tried this out
>> in the latest pack in standalone mode, with built in Cassandra, and
>> Datastax Cassandra? Is there any special configuration to enable this? if
>> secondary index should index the already existing data, and if it is not
>> working in current release, then there is a bug, either on Cassandra side,
>> or on BAM side. You can get this confirm by adding indexing externally
>> using Cassandra CLI (As in doc you shared above) This should index the data
>> which are already there in the column. If it doesn't work, then Cassandra
>> side has a problem, else you have to debug with BAM team.
>>
>> Thanks,
>> Pandula
>>
>>
>> On Fri, Jul 25, 2014 at 2:38 PM, Asanka Vithanage 
>> wrote:
>>
>>> Hi Pandula,
>>>
>>> As per the BAM team secondary index should index the already existing
>>> data as well. When we create a secondary index on a cassandra column
>>> family,It should start the indexing process immediately so there shouldn't
>>> be a requirement to publish data again.
>>>
>>> I agree with your concern about load handling but as per Cassandra doc
>>> [1], It won't be a problem.But we have to do a test run to make sure.
>>>
>>> [1]http://www.datastax.com/docs/1.0/ddl/indexes
>>>
>>>
>>> On Fri, Jul 25, 2014 at 2:03 PM, Pandula Kariyawasam 
>>> wrote:
>>>
 Hi Asanka,

 As in BAM 241, Cassandra indexing will affect only for the data which
 receive after adding the index, and there is no mechanism to index the
 already existing data. If this implemented, we have to handle the size of
 already
 existing data, and the load it will create, and the time it will take
 to complete the process. I believe, it will be better if this can be added
 to BAM road map with a proper solution to all the upcoming problems.

 Thanks,
 Pandula


 On Fri, Jul 25, 2014 at 12:49 PM, Asanka Vithanage 
 wrote:

> Hi All,
>
> According to the current BAM  implementation, We are supporting
> message and activity search  based on the Cassandra indexing via message
> console UI.
>
> Currently to make data indexing work, we have to define indexing on
> tBox and deploy it.But even after tBox deployed, indexing won't get
> executed till we publish new set of data.
> So According to this there is no way to index e

Re: [Dev] [Patch method support for SCIM end points]

2014-07-25 Thread Prabath Siriwardena
On Fri, Jul 25, 2014 at 9:52 PM, Sagara Gunathunga  wrote:

>
>
>
> On Fri, Jul 25, 2014 at 5:37 PM, Gayan Gunawardana  wrote:
>
>> Hi All,
>>
>> I have added custom implementation for PATCH as mention in [1]. What is
>> the package naming convention we can use for this implementation. Will it
>> be fine something like "org.wso2.identity.annotations" ?
>>
>> [1]http://cxf.apache.org/docs/jax-rs-basics.html#JAX-RSBasics-HTTPMethod
>>
>>
>
>
> In case if you want to move this class into cxf.ext[1] component you could
> use "org.wso2.carbon.webapp.ext.jaxrs.designator" package name, this[2] may
> help you to write test cases for this.
>

+1

Thanks & regards,
-Prabath


>
> [1] -
> https://github.com/wso2-dev/carbon-deployment/tree/master/components/webapp-mgt/org.wso2.carbon.cxf.ext
> [2] -
> https://github.com/wso2-dev/product-as/tree/master/modules/integration/tests-integration/src/test/java/org/wso2/appserver/integration/tests/webapp/classloading
>
> Thanks !
>
>
>>
>>
>> On Mon, Jul 7, 2014 at 12:22 PM, Gayan Gunawardana 
>> wrote:
>>
>>> Thanks Ishara & Supun.
>>>
>>> Will proceed accordingly.
>>>
>>> Thanks,
>>> Gayan
>>>
>>>
>>> On Mon, Jul 7, 2014 at 12:11 PM, Supun Malinga  wrote:
>>>
 yeah. it looks like patch method is not supported OOTB, since as per
 the spec[5] patch method is not specified. So the usual practice seems to
 be implementing it by the user..

 [5]
 http://download.oracle.com/otndocs/jcp/jaxrs-2_0-fr-eval-spec/index.html

 thanks,


 On Mon, Jul 7, 2014 at 12:01 PM, Ishara Karunarathna 
 wrote:

> Hi Gayan,
>
>
> On Mon, Jul 7, 2014 at 11:46 AM, Gayan Gunawardana 
> wrote:
>
>> Hi All,
>>
>> The requirement based on [1]. Since wso2 identity server can act as a
>> SCIM provider, it exposes  REST end points with standard http methods 
>> (GET,
>> POST, PUT, DELETE). How ever according to [2] http PATCH method also
>> require to do patch operation. The idea of patch operation is, suppose we
>> need to add new user to existing group, with update operation we can 
>> update
>> entire list of users in a particular group so we have to send complete 
>> set
>> of users. Patch operation supports merging of existing users with new
>> users.
>>
>> The bottleneck to implement patch operation is currently [3] does not
>> support http PATCH method directly. But according to [4] it allows custom
>> annotation such as @Update or @Patch.
>>
>> WDYT?
>>
>
> +1,
> You will have to do the custom implementation to get PATCH support.
>
>>
>>
>> [1] https://wso2.org/jira/browse/IDENTITY-1891
>>
>> [2] http://tools.ietf.org/html/draft-ietf-scim-api-02#section-3.3.1
>>
>> [3] http://cxf.apache.org/docs/jax-rs.html
>>
>> [4]
>> http://cxf.apache.org/docs/jax-rs-basics.html#JAX-RSBasics-HTTPMethod
>>
>> Thanks,
>> Gayan
>>
>>
>> --
>> Gayan Gunawardana
>> Software Engineer; WSO2 Inc.; http://wso2.com/
>> Email: ga...@wso2.com
>> Mobile: +94 (71) 8020933
>>
>
>
>
> --
> Ishara Karunarathna
> Senior Software Engineer
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> email: isha...@wso2.com,   blog: isharaaruna.blogspot.com,   mobile: +94
> 718211678
>



 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 email: sup...@wso2.com 
 mobile: +94 (0)71 56 91 321

>>>
>>>
>>>
>>> --
>>> Gayan Gunawardana
>>> Software Engineer; WSO2 Inc.; http://wso2.com/
>>> Email: ga...@wso2.com
>>> Mobile: +94 (71) 8020933
>>>
>>
>>
>>
>> --
>> Gayan Gunawardana
>> Software Engineer; WSO2 Inc.; http://wso2.com/
>> Email: ga...@wso2.com
>> Mobile: +94 (71) 8020933
>>
>
>
>
> --
> Sagara Gunathunga
>
> Senior Technical Lead; WSO2, Inc.;  http://wso2.com
> V.P Apache Web Services;http://ws.apache.org/
> Linkedin; http://www.linkedin.com/in/ssagara
> Blog ;  http://ssagara.blogspot.com
>
>


-- 
Thanks & Regards,
Prabath

Twitter : @prabath
LinkedIn : http://www.linkedin.com/in/prabathsiriwardena

Mobile : +94 71 809 6732

http://blog.facilelogin.com
http://blog.api-security.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Patch method support for SCIM end points]

2014-07-25 Thread Sagara Gunathunga
On Fri, Jul 25, 2014 at 5:37 PM, Gayan Gunawardana  wrote:

> Hi All,
>
> I have added custom implementation for PATCH as mention in [1]. What is
> the package naming convention we can use for this implementation. Will it
> be fine something like "org.wso2.identity.annotations" ?
>
> [1]http://cxf.apache.org/docs/jax-rs-basics.html#JAX-RSBasics-HTTPMethod
>
>

Where do you keep this class ? if within the identity project you could use
something similar to "org.wso2.identity.jaxrs.designator" package name.

In case if you want to move this class into cxf.ext[1] component you could
use "org.wso2.carbon.webapp.ext.jaxrs.designator" package name, this[2] may
help you to write test cases for this.


[1] -
https://github.com/wso2-dev/carbon-deployment/tree/master/components/webapp-mgt/org.wso2.carbon.cxf.ext
[2] -
https://github.com/wso2-dev/product-as/tree/master/modules/integration/tests-integration/src/test/java/org/wso2/appserver/integration/tests/webapp/classloading

Thanks !


>
>
> On Mon, Jul 7, 2014 at 12:22 PM, Gayan Gunawardana  wrote:
>
>> Thanks Ishara & Supun.
>>
>> Will proceed accordingly.
>>
>> Thanks,
>> Gayan
>>
>>
>> On Mon, Jul 7, 2014 at 12:11 PM, Supun Malinga  wrote:
>>
>>> yeah. it looks like patch method is not supported OOTB, since as per the
>>> spec[5] patch method is not specified. So the usual practice seems to be
>>> implementing it by the user..
>>>
>>> [5]
>>> http://download.oracle.com/otndocs/jcp/jaxrs-2_0-fr-eval-spec/index.html
>>>
>>> thanks,
>>>
>>>
>>> On Mon, Jul 7, 2014 at 12:01 PM, Ishara Karunarathna 
>>> wrote:
>>>
 Hi Gayan,


 On Mon, Jul 7, 2014 at 11:46 AM, Gayan Gunawardana 
 wrote:

> Hi All,
>
> The requirement based on [1]. Since wso2 identity server can act as a
> SCIM provider, it exposes  REST end points with standard http methods 
> (GET,
> POST, PUT, DELETE). How ever according to [2] http PATCH method also
> require to do patch operation. The idea of patch operation is, suppose we
> need to add new user to existing group, with update operation we can 
> update
> entire list of users in a particular group so we have to send complete set
> of users. Patch operation supports merging of existing users with new
> users.
>
> The bottleneck to implement patch operation is currently [3] does not
> support http PATCH method directly. But according to [4] it allows custom
> annotation such as @Update or @Patch.
>
> WDYT?
>

 +1,
 You will have to do the custom implementation to get PATCH support.

>
>
> [1] https://wso2.org/jira/browse/IDENTITY-1891
>
> [2] http://tools.ietf.org/html/draft-ietf-scim-api-02#section-3.3.1
>
> [3] http://cxf.apache.org/docs/jax-rs.html
>
> [4]
> http://cxf.apache.org/docs/jax-rs-basics.html#JAX-RSBasics-HTTPMethod
>
> Thanks,
> Gayan
>
>
> --
> Gayan Gunawardana
> Software Engineer; WSO2 Inc.; http://wso2.com/
> Email: ga...@wso2.com
> Mobile: +94 (71) 8020933
>



 --
 Ishara Karunarathna
 Senior Software Engineer
 WSO2 Inc. - lean . enterprise . middleware |  wso2.com

 email: isha...@wso2.com,   blog: isharaaruna.blogspot.com,   mobile: +94
 718211678

>>>
>>>
>>>
>>> --
>>> Supun Malinga,
>>>
>>> Senior Software Engineer,
>>> WSO2 Inc.
>>> http://wso2.com
>>> email: sup...@wso2.com 
>>> mobile: +94 (0)71 56 91 321
>>>
>>
>>
>>
>> --
>> Gayan Gunawardana
>> Software Engineer; WSO2 Inc.; http://wso2.com/
>> Email: ga...@wso2.com
>> Mobile: +94 (71) 8020933
>>
>
>
>
> --
> Gayan Gunawardana
> Software Engineer; WSO2 Inc.; http://wso2.com/
> Email: ga...@wso2.com
> Mobile: +94 (71) 8020933
>



-- 
Sagara Gunathunga

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


Re: [Dev] [DEV] - Cannot Access Backend Service in Carbon Component

2014-07-25 Thread Chamila De Alwis
Hi,

It *was* a mismatch of the files.

In services.xml the permission line was different, I had missed a forward
slash.

Corrected

permission/protected/manage

to

*/*
permission/protected/manage

Thanks for the help Harsha! :)


On Fri, Jul 25, 2014 at 6:06 PM, Chamila De Alwis  wrote:

> Hi Harsha,
>
> Shouldn't SoaUI be able to access the service with credentials?
>
>
> On Fri, Jul 25, 2014 at 5:56 PM, Harsha Kumara  wrote:
>
>> Seems like your stub is not authenticated properly. Best thing you can do
>> is to double check it with the tutorial. If you do as mention in the
>> tutorial, it should be work.
>>
>>
>> On Fri, Jul 25, 2014 at 5:42 PM, Chamila De Alwis 
>> wrote:
>>
>>> Hi,
>>>
>>> I followed the tutorial[1] on creating a Carbon Component but after
>>> deploying the artifacts the backend service is blocked from being accessed.
>>>
>>> When I click on the Students link on the Carbon server management
>>> Console following stacktrace is shown.
>>>
>>>
>>>
>>>
>>> *[2014-07-25 13:16:37,141] ERROR {java.lang.Class} -  System failed to
>>> authorize.nulljava.lang.NullPointerExceptionat
>>> org.wso2.carbon.server.admin.module.handler.AuthorizationHandler.doAuthorization(AuthorizationHandler.java:119)
>>> *
>>>
>>> SoapUI displays the following response from the service.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *>> xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope
>>> ">
>>> http://www.w3.org/2003/05/soap-envelope
>>> "> 
>>> axis2ns1:50978
>>>  >> xml:lang="en-US">System failed to authorize.
>>> 
>>> *
>>>
>>>
>>>
>>> What is the cause of this?
>>>
>>> [1] -
>>> http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/
>>>
>>>
>>> --
>>>
>>> Regards,
>>> Chamila de Alwis
>>> Software Engineer | WSO2 | +94772207163
>>> Blog: code.chamiladealwis.com
>>>
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Harsha Kumara
>> Software Engineer, WSO2 Inc.
>> Mobile: +94775505618
>> Blog:harshcreationz.blogspot.com
>>
>
>
>
> --
>
> Regards,
> Chamila de Alwis
> Software Engineer | WSO2 | +94772207163
> Blog: code.chamiladealwis.com
>
>
>


-- 

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


Re: [Dev] [DEV] - Cannot Access Backend Service in Carbon Component

2014-07-25 Thread Harsha Kumara
Yep it should be possible.


On Fri, Jul 25, 2014 at 6:06 PM, Chamila De Alwis  wrote:

> Hi Harsha,
>
> Shouldn't SoaUI be able to access the service with credentials?
>
>
> On Fri, Jul 25, 2014 at 5:56 PM, Harsha Kumara  wrote:
>
>> Seems like your stub is not authenticated properly. Best thing you can do
>> is to double check it with the tutorial. If you do as mention in the
>> tutorial, it should be work.
>>
>>
>> On Fri, Jul 25, 2014 at 5:42 PM, Chamila De Alwis 
>> wrote:
>>
>>> Hi,
>>>
>>> I followed the tutorial[1] on creating a Carbon Component but after
>>> deploying the artifacts the backend service is blocked from being accessed.
>>>
>>> When I click on the Students link on the Carbon server management
>>> Console following stacktrace is shown.
>>>
>>>
>>>
>>>
>>> *[2014-07-25 13:16:37,141] ERROR {java.lang.Class} -  System failed to
>>> authorize.nulljava.lang.NullPointerExceptionat
>>> org.wso2.carbon.server.admin.module.handler.AuthorizationHandler.doAuthorization(AuthorizationHandler.java:119)
>>> *
>>>
>>> SoapUI displays the following response from the service.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *>> xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope
>>> ">
>>> http://www.w3.org/2003/05/soap-envelope
>>> "> 
>>> axis2ns1:50978
>>>  >> xml:lang="en-US">System failed to authorize.
>>> 
>>> *
>>>
>>>
>>>
>>> What is the cause of this?
>>>
>>> [1] -
>>> http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/
>>>
>>>
>>> --
>>>
>>> Regards,
>>> Chamila de Alwis
>>> Software Engineer | WSO2 | +94772207163
>>> Blog: code.chamiladealwis.com
>>>
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Harsha Kumara
>> Software Engineer, WSO2 Inc.
>> Mobile: +94775505618
>> Blog:harshcreationz.blogspot.com
>>
>
>
>
> --
>
> Regards,
> Chamila de Alwis
> Software Engineer | WSO2 | +94772207163
> Blog: code.chamiladealwis.com
>
>
>


-- 
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] [DEV] - Cannot Access Backend Service in Carbon Component

2014-07-25 Thread Chamila De Alwis
Hi Harsha,

Shouldn't SoaUI be able to access the service with credentials?


On Fri, Jul 25, 2014 at 5:56 PM, Harsha Kumara  wrote:

> Seems like your stub is not authenticated properly. Best thing you can do
> is to double check it with the tutorial. If you do as mention in the
> tutorial, it should be work.
>
>
> On Fri, Jul 25, 2014 at 5:42 PM, Chamila De Alwis 
> wrote:
>
>> Hi,
>>
>> I followed the tutorial[1] on creating a Carbon Component but after
>> deploying the artifacts the backend service is blocked from being accessed.
>>
>> When I click on the Students link on the Carbon server management Console
>> following stacktrace is shown.
>>
>>
>>
>>
>> *[2014-07-25 13:16:37,141] ERROR {java.lang.Class} -  System failed to
>> authorize.nulljava.lang.NullPointerExceptionat
>> org.wso2.carbon.server.admin.module.handler.AuthorizationHandler.doAuthorization(AuthorizationHandler.java:119)
>> *
>>
>> SoapUI displays the following response from the service.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *http://www.w3.org/2003/05/soap-envelope
>> ">
>> http://www.w3.org/2003/05/soap-envelope
>> "> 
>> axis2ns1:50978
>>  > xml:lang="en-US">System failed to authorize.
>> 
>> *
>>
>>
>>
>> What is the cause of this?
>>
>> [1] -
>> http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/
>>
>>
>> --
>>
>> Regards,
>> Chamila de Alwis
>> Software Engineer | WSO2 | +94772207163
>> Blog: code.chamiladealwis.com
>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Harsha Kumara
> Software Engineer, WSO2 Inc.
> Mobile: +94775505618
> Blog:harshcreationz.blogspot.com
>



-- 

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


Re: [Dev] [DEV] - Cannot Access Backend Service in Carbon Component

2014-07-25 Thread Harsha Kumara
Seems like your stub is not authenticated properly. Best thing you can do
is to double check it with the tutorial. If you do as mention in the
tutorial, it should be work.


On Fri, Jul 25, 2014 at 5:42 PM, Chamila De Alwis  wrote:

> Hi,
>
> I followed the tutorial[1] on creating a Carbon Component but after
> deploying the artifacts the backend service is blocked from being accessed.
>
> When I click on the Students link on the Carbon server management Console
> following stacktrace is shown.
>
>
>
>
> *[2014-07-25 13:16:37,141] ERROR {java.lang.Class} -  System failed to
> authorize.nulljava.lang.NullPointerExceptionat
> org.wso2.carbon.server.admin.module.handler.AuthorizationHandler.doAuthorization(AuthorizationHandler.java:119)
> *
>
> SoapUI displays the following response from the service.
>
>
>
>
>
>
>
>
>
>
>
>
>
> *http://www.w3.org/2003/05/soap-envelope
> ">
> http://www.w3.org/2003/05/soap-envelope
> ">
> axis2ns1:50978
>xml:lang="en-US">System failed to authorize.
> 
> *
>
>
>
> What is the cause of this?
>
> [1] -
> http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/
>
>
> --
>
> Regards,
> Chamila de Alwis
> Software Engineer | WSO2 | +94772207163
> Blog: code.chamiladealwis.com
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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


[Dev] [DEV] - Cannot Access Backend Service in Carbon Component

2014-07-25 Thread Chamila De Alwis
Hi,

I followed the tutorial[1] on creating a Carbon Component but after
deploying the artifacts the backend service is blocked from being accessed.

When I click on the Students link on the Carbon server management Console
following stacktrace is shown.




*[2014-07-25 13:16:37,141] ERROR {java.lang.Class} -  System failed to
authorize.nulljava.lang.NullPointerExceptionat
org.wso2.carbon.server.admin.module.handler.AuthorizationHandler.doAuthorization(AuthorizationHandler.java:119)
*

SoapUI displays the following response from the service.













*http://www.w3.org/2003/05/soap-envelope
">
http://www.w3.org/2003/05/soap-envelope
">
axis2ns1:50978
  System failed to authorize.

*



What is the cause of this?

[1] -
http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/


-- 

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


Re: [Dev] BAM -Message and Activity search based on Cassandra indexing

2014-07-25 Thread Asanka Vithanage
Hi Pandula,

I am trying on a standalone pack with built-in cassandra. Basically we can
add secondary indexs by updating the tBox streams.properties file, for Ex.
we can add below line to Mediation_Statistics_Monitoring toolBox to create
secondary indexs on direction,resource_id,stats_type fields.

streams.definitions.defn1.secondaryindexes=direction,resource_id,stats_type

My Point here is once we deploy the TBox with secondary indexes, It should
start indexing immediately.Reported Bug[1] for this issue.

[1] https://wso2.org/jira/browse/BAM-1715




On Fri, Jul 25, 2014 at 3:38 PM, Pandula Kariyawasam 
wrote:

> Hi Asanka,
>
> It was a different story at that time :). Anyway, have you tried this out
> in the latest pack in standalone mode, with built in Cassandra, and
> Datastax Cassandra? Is there any special configuration to enable this? if
> secondary index should index the already existing data, and if it is not
> working in current release, then there is a bug, either on Cassandra side,
> or on BAM side. You can get this confirm by adding indexing externally
> using Cassandra CLI (As in doc you shared above) This should index the data
> which are already there in the column. If it doesn't work, then Cassandra
> side has a problem, else you have to debug with BAM team.
>
> Thanks,
> Pandula
>
>
> On Fri, Jul 25, 2014 at 2:38 PM, Asanka Vithanage 
> wrote:
>
>> Hi Pandula,
>>
>> As per the BAM team secondary index should index the already existing
>> data as well. When we create a secondary index on a cassandra column
>> family,It should start the indexing process immediately so there shouldn't
>> be a requirement to publish data again.
>>
>> I agree with your concern about load handling but as per Cassandra doc
>> [1], It won't be a problem.But we have to do a test run to make sure.
>>
>> [1]http://www.datastax.com/docs/1.0/ddl/indexes
>>
>>
>> On Fri, Jul 25, 2014 at 2:03 PM, Pandula Kariyawasam 
>> wrote:
>>
>>> Hi Asanka,
>>>
>>> As in BAM 241, Cassandra indexing will affect only for the data which
>>> receive after adding the index, and there is no mechanism to index the
>>> already existing data. If this implemented, we have to handle the size of
>>> already
>>> existing data, and the load it will create, and the time it will take to
>>> complete the process. I believe, it will be better if this can be added to
>>> BAM road map with a proper solution to all the upcoming problems.
>>>
>>> Thanks,
>>> Pandula
>>>
>>>
>>> On Fri, Jul 25, 2014 at 12:49 PM, Asanka Vithanage 
>>> wrote:
>>>
 Hi All,

 According to the current BAM  implementation, We are supporting message
 and activity search  based on the Cassandra indexing via message console 
 UI.

 Currently to make data indexing work, we have to define indexing on
 tBox and deploy it.But even after tBox deployed, indexing won't get
 executed till we publish new set of data.
 So According to this there is no way to index existing cassandra data
 set through BAM.
 If its possible how can i achieve that?

 Further since indexing can be considered as separate feature directly
 bind with cassandra, I believe we should provide a separate UI to execute
 indexing stuffs and It will increase the usability of BAM indexing feature.
 WDYT?




 --
 Asanka Vithanage
 Senior Software Engineer -QA
 Mobile: +94 0716286708
 Email: asan...@wso2.com
 WSO2 Inc. www.wso2.com


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


>>>
>>>
>>> --
>>>
>>> *Pandula Kariyawasam K.B.*
>>> *Senior Software Engineer - QA*
>>> Mobile: +94772314510
>>>
>>> 
>>>
>>
>>
>>
>> --
>> Asanka Vithanage
>> Senior Software Engineer -QA
>> Mobile: +94 0716286708
>> Email: asan...@wso2.com
>> WSO2 Inc. www.wso2.com
>>
>>
>
>
> --
>
> *Pandula Kariyawasam K.B.*
> *Senior Software Engineer - QA*
> Mobile: +94772314510
>
> 
>



-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Patch method support for SCIM end points]

2014-07-25 Thread Gayan Gunawardana
Hi All,

I have added custom implementation for PATCH as mention in [1]. What is the
package naming convention we can use for this implementation. Will it be
fine something like "org.wso2.identity.annotations" ?

[1]http://cxf.apache.org/docs/jax-rs-basics.html#JAX-RSBasics-HTTPMethod


On Mon, Jul 7, 2014 at 12:22 PM, Gayan Gunawardana  wrote:

> Thanks Ishara & Supun.
>
> Will proceed accordingly.
>
> Thanks,
> Gayan
>
>
> On Mon, Jul 7, 2014 at 12:11 PM, Supun Malinga  wrote:
>
>> yeah. it looks like patch method is not supported OOTB, since as per the
>> spec[5] patch method is not specified. So the usual practice seems to be
>> implementing it by the user..
>>
>> [5]
>> http://download.oracle.com/otndocs/jcp/jaxrs-2_0-fr-eval-spec/index.html
>>
>> thanks,
>>
>>
>> On Mon, Jul 7, 2014 at 12:01 PM, Ishara Karunarathna 
>> wrote:
>>
>>> Hi Gayan,
>>>
>>>
>>> On Mon, Jul 7, 2014 at 11:46 AM, Gayan Gunawardana 
>>> wrote:
>>>
 Hi All,

 The requirement based on [1]. Since wso2 identity server can act as a
 SCIM provider, it exposes  REST end points with standard http methods (GET,
 POST, PUT, DELETE). How ever according to [2] http PATCH method also
 require to do patch operation. The idea of patch operation is, suppose we
 need to add new user to existing group, with update operation we can update
 entire list of users in a particular group so we have to send complete set
 of users. Patch operation supports merging of existing users with new
 users.

 The bottleneck to implement patch operation is currently [3] does not
 support http PATCH method directly. But according to [4] it allows custom
 annotation such as @Update or @Patch.

 WDYT?

>>>
>>> +1,
>>> You will have to do the custom implementation to get PATCH support.
>>>


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

 [2] http://tools.ietf.org/html/draft-ietf-scim-api-02#section-3.3.1

 [3] http://cxf.apache.org/docs/jax-rs.html

 [4]
 http://cxf.apache.org/docs/jax-rs-basics.html#JAX-RSBasics-HTTPMethod

 Thanks,
 Gayan


 --
 Gayan Gunawardana
 Software Engineer; WSO2 Inc.; http://wso2.com/
 Email: ga...@wso2.com
 Mobile: +94 (71) 8020933

>>>
>>>
>>>
>>> --
>>> Ishara Karunarathna
>>> Senior Software Engineer
>>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>>
>>> email: isha...@wso2.com,   blog: isharaaruna.blogspot.com,   mobile: +94
>>> 718211678
>>>
>>
>>
>>
>> --
>> Supun Malinga,
>>
>> Senior Software Engineer,
>> WSO2 Inc.
>> http://wso2.com
>> email: sup...@wso2.com 
>> mobile: +94 (0)71 56 91 321
>>
>
>
>
> --
> Gayan Gunawardana
> Software Engineer; WSO2 Inc.; http://wso2.com/
> Email: ga...@wso2.com
> Mobile: +94 (71) 8020933
>



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


[Dev] WSO2 AppFactory 2.0.1 Milestone 3 Released!

2014-07-25 Thread Gayan Dhanushka
WSO2 AppFactory 2.0.1 Milestone 3 Released!

WSO2 AppFactory team is pleased to announce the release of version 2.0.1 M3
of the WSO2 App Factory.

WSO2 App Factory is a multi-tenant, elastic and self-service enterprise
platform that enables multiple project teams to collaboratively create, run
and manage enterprise applications. Combining complete application
lifecycle management and Platform-as-a-Service (PaaS) capabilities, WSO2
App Factory makes it possible to develop, test, deploy to production and
retire applications with a single click. It also provides an easy way to
discover and consume apps and APIs through a user-friendly storefront.




 The distribution is available to download at [1] .

Bug fixes in this release can be found at [2].

Puppet manifests for App Factory can be found at [3].


We encourage you to report issues, documentation faults and feature
requests regarding WSO2 AppFactory through the public WSO2 AppFactory JIRA
.

[1]
https://svn.wso2.org/repos/wso2/scratch/appfactorycc_tags/2.0.1-M3/pack/wso2appfactory-2.0.1.zip
[2]
https://wso2.org/jira/browse/APPFAC-2312?jql=project%20%3D%20APPFAC%20AND%20fixVersion%20%3D%20%222.0.1-M3%22%20AND%20status%20%3D%20Resolved%20ORDER%20BY%20priority%20DESC
[3]
https://svn.wso2.org/repos/wso2/scratch/appfactorycc_tags/2.0.1-M3/appfactory_2.0.0/products/appfactory/2.0.1/modules/puppet-manifests/


-- WSO2 AppFactory Team --
Gayan Dhanuska
Software Engineer
http://wso2.com/
Lean Enterprise Middleware

Mobile
071 666 2327

Office
Tel   : 94 11 214 5345
Fax  : 94 11 214 5300

Twitter : https://twitter.com/gayanlggd
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] DevStudio's Import to Workspace fails for App Cloud projects

2014-07-25 Thread Kavith Lokuhewage
Hi Dmitry,


On Fri, Jul 25, 2014 at 3:33 PM, Dmitry Sotnikov  wrote:

> "Checkout and import" also failed:
>

Does this mean that whole process failed? Or just the "resolving
dependencies part" failed and you can see the project in project explorer
(see the attached screen-shot)?

Thanks.

-- 
*Kavith Lokuhewage*
Software Engineer
WSO2 Inc. - http://wso2.com
lean . enterprise . middleware
Mobile - +9477-9-145-123 | +9471-455-6-401
Linkedin   Twitter

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


Re: [Dev] [GReg] Compile error while building carbon-registry

2014-07-25 Thread Pulasthi Supun
Done

Regards,
Pulasthi


On Fri, Jul 25, 2014 at 4:48 PM, Gayashan Amarasinghe 
wrote:

> Thanks Pulasthi!
>
>
> On Fri, Jul 25, 2014 at 4:18 PM, Pulasthi Supun  wrote:
>
>> Hi,
>>
>> Will add and commit to carbon-registry.
>>
>> regards,
>>  Pulasthi
>>
>>
>>
>> On Thu, Jul 24, 2014 at 3:14 PM, Gayashan Amarasinghe 
>> wrote:
>>
>>> Hi all,
>>>
>>> I am getting the $subject on the carbon-registry git repo. Can we get
>>> this fixed? This dumpLite() method was added to the
>>> org.wso2.carbon.registry.core.Registry interface recently which is not
>>> implemented by WSRegistry.
>>>
>>> [ERROR] COMPILATION ERROR :
>>> [INFO] -
>>> *[ERROR]
>>> /home/gayashan/wso2/source/4.3/carbon-registry/components/registry/org.wso2.carbon.registry.ws.api/src/main/java/org/wso2/carbon/registry/ws/api/WSRegistry.java:[45,8]
>>> org.wso2.carbon.registry.ws.api.WSRegistry is not abstract and does not
>>> override abstract method dumpLite(java.lang.String,java.io.Writer) in
>>> org.wso2.carbon.registry.core.Registry*
>>> [INFO] 1 error
>>> [INFO] -
>>> [INFO]
>>> 
>>> [INFO] Reactor Summary:
>>> [INFO]
>>> [INFO] WSO2 Carbon - Platform Aggregator Pom . SUCCESS
>>> [0.120s]
>>> [INFO] WSO2 Carbon - Service Stubs - Aggregator Module ... SUCCESS
>>> [0.007s]
>>> [INFO] WSO2 Carbon - Registry - Activities Stub .. SUCCESS
>>> [3.557s]
>>> [INFO] WSO2 Carbon - Registry - Extensions Stub .. SUCCESS
>>> [3.590s]
>>> [INFO] WSO2 Carbon - Registry - Handlers Stub  SUCCESS
>>> [1.458s]
>>> [INFO] WSO2 Carbon - Registry - Indexing Stub  SUCCESS
>>> [2.016s]
>>> [INFO] WSO2 Carbon - Registry - Info Stub  SUCCESS
>>> [2.468s]
>>> [INFO] WSO2 Carbon - Registry - Profiles Stub  SUCCESS
>>> [1.453s]
>>> [INFO] WSO2 Carbon - Registry - Relations Stub ... SUCCESS
>>> [1.425s]
>>> [INFO] WSO2 Carbon - Registry - Resources Stub ... SUCCESS
>>> [4.751s]
>>> [INFO] WSO2 Carbon - Registry - Topics Stub .. SUCCESS
>>> [1.198s]
>>> [INFO] WSO2 Carbon - Registry - Search Stub .. SUCCESS
>>> [1.566s]
>>> [INFO] WSO2 Carbon - Registry - WS Registry Stub . SUCCESS
>>> [2.860s]
>>> [INFO] WSO2 Carbon - Registry - Properties Stub .. SUCCESS
>>> [1.373s]
>>> [INFO] WSO2 Carbon - Registry - Reporting Stub ... SUCCESS
>>> [1.447s]
>>> [INFO] WSO2 Carbon - Governance - Notifications Work list Human Task
>>> Stub  SUCCESS [2.041s]
>>> [INFO] WSO2 Carbon - Registry Aggregator Module .. SUCCESS
>>> [0.003s]
>>> [INFO] WSO2 Carbon - Registry - Administration ... SUCCESS
>>> [5.545s]
>>> [INFO] WSO2 Carbon - Registry - Common BE  SUCCESS
>>> [0.630s]
>>> [INFO] WSO2 Carbon - Registry - Common UI  SUCCESS
>>> [0.464s]
>>> [INFO] WSO2 Carbon - Registry - UDDI Service . SUCCESS
>>> [0.935s]
>>> [INFO] WSO2 Carbon - Registry - Servlet Registration . SUCCESS
>>> [0.558s]
>>> [INFO] WSO2 Carbon - Registry - Extensions ... SUCCESS
>>> [4.176s]
>>> [INFO] WSO2 Carbon - Registry - Eventing Implementation .. SUCCESS
>>> [0.846s]
>>> [INFO] WSO2 Carbon - Registry - Indexing BE .. SUCCESS
>>> [0.831s]
>>> [INFO] WSO2 Carbon - Registry - Relations UI . SUCCESS
>>> [0.430s]
>>> [INFO] WSO2 Carbon - Registry - Resources UI . SUCCESS
>>> [0.635s]
>>> [INFO] WSO2 Carbon - Registry - Properties UI  SUCCESS
>>> [0.384s]
>>> [INFO] WSO2 Carbon - Registry - Properties BE  SUCCESS
>>> [0.500s]
>>> [INFO] WSO2 Carbon - Registry - Extensions UI  SUCCESS
>>> [0.383s]
>>> [INFO] WSO2 Carbon - Registry - Resources BE . SUCCESS
>>> [0.661s]
>>> [INFO] WSO2 Carbon - Registry - Search UI  SUCCESS
>>> [0.399s]
>>> [INFO] WSO2 Carbon - Registry - Search BE  SUCCESS
>>> [0.554s]
>>> [INFO] WSO2 Carbon - Registry - Profiles BE .. SUCCESS
>>> [0.485s]
>>> [INFO] WSO2 Carbon - Registry - Profiles UI .. SUCCESS
>>> [0.360s]
>>> [INFO] WSO2 Carbon - Registry - Handlers UI .. SUCCESS
>>> [0.380s]
>>> [INFO] WSO2 Carbon - Registry - Handlers BE .. SUCCESS
>>> [0.497s]
>>> [INFO] WSO2 Carbon - Registry - Info UI .. SUCCESS
>>> [0.386s]
>>> [INFO] WSO2 Carbon - Registry - Info BE .. SUCCESS
>>> [0.560s]
>>> [INFO] WSO2 Carbon - Registry - Activities UI  SUCCESS
>>> [0.362s]
>>> [INFO] WSO2 Carbon - Registry - Activities BE  SUCCESS
>>> [0.455s]
>>> [INFO] WSO2 Carbon - Registry - Relations BE . SUCCESS
>>> [0.472s]
>>> [INFO] WSO2 Carbon - Registry - Web Service .. FAILURE
>>> [0.132s]
>>> [INFO] WSO2 Carbon - Registry - Web Service Client ... SKIPPED
>>> [INF

Re: [Dev] [GReg] Compile error while building carbon-registry

2014-07-25 Thread Gayashan Amarasinghe
Thanks Pulasthi!


On Fri, Jul 25, 2014 at 4:18 PM, Pulasthi Supun  wrote:

> Hi,
>
> Will add and commit to carbon-registry.
>
> regards,
> Pulasthi
>
>
>
> On Thu, Jul 24, 2014 at 3:14 PM, Gayashan Amarasinghe 
> wrote:
>
>> Hi all,
>>
>> I am getting the $subject on the carbon-registry git repo. Can we get
>> this fixed? This dumpLite() method was added to the
>> org.wso2.carbon.registry.core.Registry interface recently which is not
>> implemented by WSRegistry.
>>
>> [ERROR] COMPILATION ERROR :
>> [INFO] -
>> *[ERROR]
>> /home/gayashan/wso2/source/4.3/carbon-registry/components/registry/org.wso2.carbon.registry.ws.api/src/main/java/org/wso2/carbon/registry/ws/api/WSRegistry.java:[45,8]
>> org.wso2.carbon.registry.ws.api.WSRegistry is not abstract and does not
>> override abstract method dumpLite(java.lang.String,java.io.Writer) in
>> org.wso2.carbon.registry.core.Registry*
>> [INFO] 1 error
>> [INFO] -
>> [INFO]
>> 
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] WSO2 Carbon - Platform Aggregator Pom . SUCCESS
>> [0.120s]
>> [INFO] WSO2 Carbon - Service Stubs - Aggregator Module ... SUCCESS
>> [0.007s]
>> [INFO] WSO2 Carbon - Registry - Activities Stub .. SUCCESS
>> [3.557s]
>> [INFO] WSO2 Carbon - Registry - Extensions Stub .. SUCCESS
>> [3.590s]
>> [INFO] WSO2 Carbon - Registry - Handlers Stub  SUCCESS
>> [1.458s]
>> [INFO] WSO2 Carbon - Registry - Indexing Stub  SUCCESS
>> [2.016s]
>> [INFO] WSO2 Carbon - Registry - Info Stub  SUCCESS
>> [2.468s]
>> [INFO] WSO2 Carbon - Registry - Profiles Stub  SUCCESS
>> [1.453s]
>> [INFO] WSO2 Carbon - Registry - Relations Stub ... SUCCESS
>> [1.425s]
>> [INFO] WSO2 Carbon - Registry - Resources Stub ... SUCCESS
>> [4.751s]
>> [INFO] WSO2 Carbon - Registry - Topics Stub .. SUCCESS
>> [1.198s]
>> [INFO] WSO2 Carbon - Registry - Search Stub .. SUCCESS
>> [1.566s]
>> [INFO] WSO2 Carbon - Registry - WS Registry Stub . SUCCESS
>> [2.860s]
>> [INFO] WSO2 Carbon - Registry - Properties Stub .. SUCCESS
>> [1.373s]
>> [INFO] WSO2 Carbon - Registry - Reporting Stub ... SUCCESS
>> [1.447s]
>> [INFO] WSO2 Carbon - Governance - Notifications Work list Human Task
>> Stub  SUCCESS [2.041s]
>> [INFO] WSO2 Carbon - Registry Aggregator Module .. SUCCESS
>> [0.003s]
>> [INFO] WSO2 Carbon - Registry - Administration ... SUCCESS
>> [5.545s]
>> [INFO] WSO2 Carbon - Registry - Common BE  SUCCESS
>> [0.630s]
>> [INFO] WSO2 Carbon - Registry - Common UI  SUCCESS
>> [0.464s]
>> [INFO] WSO2 Carbon - Registry - UDDI Service . SUCCESS
>> [0.935s]
>> [INFO] WSO2 Carbon - Registry - Servlet Registration . SUCCESS
>> [0.558s]
>> [INFO] WSO2 Carbon - Registry - Extensions ... SUCCESS
>> [4.176s]
>> [INFO] WSO2 Carbon - Registry - Eventing Implementation .. SUCCESS
>> [0.846s]
>> [INFO] WSO2 Carbon - Registry - Indexing BE .. SUCCESS
>> [0.831s]
>> [INFO] WSO2 Carbon - Registry - Relations UI . SUCCESS
>> [0.430s]
>> [INFO] WSO2 Carbon - Registry - Resources UI . SUCCESS
>> [0.635s]
>> [INFO] WSO2 Carbon - Registry - Properties UI  SUCCESS
>> [0.384s]
>> [INFO] WSO2 Carbon - Registry - Properties BE  SUCCESS
>> [0.500s]
>> [INFO] WSO2 Carbon - Registry - Extensions UI  SUCCESS
>> [0.383s]
>> [INFO] WSO2 Carbon - Registry - Resources BE . SUCCESS
>> [0.661s]
>> [INFO] WSO2 Carbon - Registry - Search UI  SUCCESS
>> [0.399s]
>> [INFO] WSO2 Carbon - Registry - Search BE  SUCCESS
>> [0.554s]
>> [INFO] WSO2 Carbon - Registry - Profiles BE .. SUCCESS
>> [0.485s]
>> [INFO] WSO2 Carbon - Registry - Profiles UI .. SUCCESS
>> [0.360s]
>> [INFO] WSO2 Carbon - Registry - Handlers UI .. SUCCESS
>> [0.380s]
>> [INFO] WSO2 Carbon - Registry - Handlers BE .. SUCCESS
>> [0.497s]
>> [INFO] WSO2 Carbon - Registry - Info UI .. SUCCESS
>> [0.386s]
>> [INFO] WSO2 Carbon - Registry - Info BE .. SUCCESS
>> [0.560s]
>> [INFO] WSO2 Carbon - Registry - Activities UI  SUCCESS
>> [0.362s]
>> [INFO] WSO2 Carbon - Registry - Activities BE  SUCCESS
>> [0.455s]
>> [INFO] WSO2 Carbon - Registry - Relations BE . SUCCESS
>> [0.472s]
>> [INFO] WSO2 Carbon - Registry - Web Service .. FAILURE
>> [0.132s]
>> [INFO] WSO2 Carbon - Registry - Web Service Client ... SKIPPED
>> [INFO] WSO2 Carbon - Registry - Indexing UI .. SKIPPED
>>
>> ​Thanks.
>>
>> /Gayashan
>> ​
>>
>> --
>> *Gayashan Amarasinghe*
>> Software Engineer | Platform TG
>> WSO2, Inc. | http://wso2.com
>> lean. enterpr

Re: [Dev] [GReg] Compile error while building carbon-registry

2014-07-25 Thread Pulasthi Supun
Hi,

Will add and commit to carbon-registry.

regards,
Pulasthi



On Thu, Jul 24, 2014 at 3:14 PM, Gayashan Amarasinghe 
wrote:

> Hi all,
>
> I am getting the $subject on the carbon-registry git repo. Can we get this
> fixed? This dumpLite() method was added to the
> org.wso2.carbon.registry.core.Registry interface recently which is not
> implemented by WSRegistry.
>
> [ERROR] COMPILATION ERROR :
> [INFO] -
> *[ERROR]
> /home/gayashan/wso2/source/4.3/carbon-registry/components/registry/org.wso2.carbon.registry.ws.api/src/main/java/org/wso2/carbon/registry/ws/api/WSRegistry.java:[45,8]
> org.wso2.carbon.registry.ws.api.WSRegistry is not abstract and does not
> override abstract method dumpLite(java.lang.String,java.io.Writer) in
> org.wso2.carbon.registry.core.Registry*
> [INFO] 1 error
> [INFO] -
> [INFO]
> 
> [INFO] Reactor Summary:
> [INFO]
> [INFO] WSO2 Carbon - Platform Aggregator Pom . SUCCESS [0.120s]
> [INFO] WSO2 Carbon - Service Stubs - Aggregator Module ... SUCCESS [0.007s]
> [INFO] WSO2 Carbon - Registry - Activities Stub .. SUCCESS [3.557s]
> [INFO] WSO2 Carbon - Registry - Extensions Stub .. SUCCESS [3.590s]
> [INFO] WSO2 Carbon - Registry - Handlers Stub  SUCCESS [1.458s]
> [INFO] WSO2 Carbon - Registry - Indexing Stub  SUCCESS [2.016s]
> [INFO] WSO2 Carbon - Registry - Info Stub  SUCCESS [2.468s]
> [INFO] WSO2 Carbon - Registry - Profiles Stub  SUCCESS [1.453s]
> [INFO] WSO2 Carbon - Registry - Relations Stub ... SUCCESS [1.425s]
> [INFO] WSO2 Carbon - Registry - Resources Stub ... SUCCESS [4.751s]
> [INFO] WSO2 Carbon - Registry - Topics Stub .. SUCCESS [1.198s]
> [INFO] WSO2 Carbon - Registry - Search Stub .. SUCCESS [1.566s]
> [INFO] WSO2 Carbon - Registry - WS Registry Stub . SUCCESS [2.860s]
> [INFO] WSO2 Carbon - Registry - Properties Stub .. SUCCESS [1.373s]
> [INFO] WSO2 Carbon - Registry - Reporting Stub ... SUCCESS [1.447s]
> [INFO] WSO2 Carbon - Governance - Notifications Work list Human Task Stub
> SUCCESS [2.041s]
> [INFO] WSO2 Carbon - Registry Aggregator Module .. SUCCESS [0.003s]
> [INFO] WSO2 Carbon - Registry - Administration ... SUCCESS [5.545s]
> [INFO] WSO2 Carbon - Registry - Common BE  SUCCESS [0.630s]
> [INFO] WSO2 Carbon - Registry - Common UI  SUCCESS [0.464s]
> [INFO] WSO2 Carbon - Registry - UDDI Service . SUCCESS [0.935s]
> [INFO] WSO2 Carbon - Registry - Servlet Registration . SUCCESS [0.558s]
> [INFO] WSO2 Carbon - Registry - Extensions ... SUCCESS [4.176s]
> [INFO] WSO2 Carbon - Registry - Eventing Implementation .. SUCCESS [0.846s]
> [INFO] WSO2 Carbon - Registry - Indexing BE .. SUCCESS [0.831s]
> [INFO] WSO2 Carbon - Registry - Relations UI . SUCCESS [0.430s]
> [INFO] WSO2 Carbon - Registry - Resources UI . SUCCESS [0.635s]
> [INFO] WSO2 Carbon - Registry - Properties UI  SUCCESS [0.384s]
> [INFO] WSO2 Carbon - Registry - Properties BE  SUCCESS [0.500s]
> [INFO] WSO2 Carbon - Registry - Extensions UI  SUCCESS [0.383s]
> [INFO] WSO2 Carbon - Registry - Resources BE . SUCCESS [0.661s]
> [INFO] WSO2 Carbon - Registry - Search UI  SUCCESS [0.399s]
> [INFO] WSO2 Carbon - Registry - Search BE  SUCCESS [0.554s]
> [INFO] WSO2 Carbon - Registry - Profiles BE .. SUCCESS [0.485s]
> [INFO] WSO2 Carbon - Registry - Profiles UI .. SUCCESS [0.360s]
> [INFO] WSO2 Carbon - Registry - Handlers UI .. SUCCESS [0.380s]
> [INFO] WSO2 Carbon - Registry - Handlers BE .. SUCCESS [0.497s]
> [INFO] WSO2 Carbon - Registry - Info UI .. SUCCESS [0.386s]
> [INFO] WSO2 Carbon - Registry - Info BE .. SUCCESS [0.560s]
> [INFO] WSO2 Carbon - Registry - Activities UI  SUCCESS [0.362s]
> [INFO] WSO2 Carbon - Registry - Activities BE  SUCCESS [0.455s]
> [INFO] WSO2 Carbon - Registry - Relations BE . SUCCESS [0.472s]
> [INFO] WSO2 Carbon - Registry - Web Service .. FAILURE [0.132s]
> [INFO] WSO2 Carbon - Registry - Web Service Client ... SKIPPED
> [INFO] WSO2 Carbon - Registry - Indexing UI .. SKIPPED
>
> ​Thanks.
>
> /Gayashan
> ​
>
> --
> *Gayashan Amarasinghe*
> Software Engineer | Platform TG
> WSO2, Inc. | http://wso2.com
> lean. enterprise. middleware
>
> Mobile : +94718314517
> Blog : gayashan-a.blogspot.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
--
Pulasthi Supun
Software Engineer; WSO2 Inc.; http://wso2.com,
Email: pulas...

Re: [Dev] BAM -Message and Activity search based on Cassandra indexing

2014-07-25 Thread Pandula Kariyawasam
Hi Asanka,

It was a different story at that time :). Anyway, have you tried this out
in the latest pack in standalone mode, with built in Cassandra, and
Datastax Cassandra? Is there any special configuration to enable this? if
secondary index should index the already existing data, and if it is not
working in current release, then there is a bug, either on Cassandra side,
or on BAM side. You can get this confirm by adding indexing externally
using Cassandra CLI (As in doc you shared above) This should index the data
which are already there in the column. If it doesn't work, then Cassandra
side has a problem, else you have to debug with BAM team.

Thanks,
Pandula


On Fri, Jul 25, 2014 at 2:38 PM, Asanka Vithanage  wrote:

> Hi Pandula,
>
> As per the BAM team secondary index should index the already existing data
> as well. When we create a secondary index on a cassandra column family,It
> should start the indexing process immediately so there shouldn't be a
> requirement to publish data again.
>
> I agree with your concern about load handling but as per Cassandra doc
> [1], It won't be a problem.But we have to do a test run to make sure.
>
> [1]http://www.datastax.com/docs/1.0/ddl/indexes
>
>
> On Fri, Jul 25, 2014 at 2:03 PM, Pandula Kariyawasam 
> wrote:
>
>> Hi Asanka,
>>
>> As in BAM 241, Cassandra indexing will affect only for the data which
>> receive after adding the index, and there is no mechanism to index the
>> already existing data. If this implemented, we have to handle the size of
>> already
>> existing data, and the load it will create, and the time it will take to
>> complete the process. I believe, it will be better if this can be added to
>> BAM road map with a proper solution to all the upcoming problems.
>>
>> Thanks,
>> Pandula
>>
>>
>> On Fri, Jul 25, 2014 at 12:49 PM, Asanka Vithanage 
>> wrote:
>>
>>> Hi All,
>>>
>>> According to the current BAM  implementation, We are supporting message
>>> and activity search  based on the Cassandra indexing via message console UI.
>>>
>>> Currently to make data indexing work, we have to define indexing on tBox
>>> and deploy it.But even after tBox deployed, indexing won't get executed
>>> till we publish new set of data.
>>> So According to this there is no way to index existing cassandra data
>>> set through BAM.
>>> If its possible how can i achieve that?
>>>
>>> Further since indexing can be considered as separate feature directly
>>> bind with cassandra, I believe we should provide a separate UI to execute
>>> indexing stuffs and It will increase the usability of BAM indexing feature.
>>> WDYT?
>>>
>>>
>>>
>>>
>>> --
>>> Asanka Vithanage
>>> Senior Software Engineer -QA
>>> Mobile: +94 0716286708
>>> Email: asan...@wso2.com
>>> WSO2 Inc. www.wso2.com
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> *Pandula Kariyawasam K.B.*
>> *Senior Software Engineer - QA*
>> Mobile: +94772314510
>>
>> 
>>
>
>
>
> --
> Asanka Vithanage
> Senior Software Engineer -QA
> Mobile: +94 0716286708
> Email: asan...@wso2.com
> WSO2 Inc. www.wso2.com
>
>


-- 

*Pandula Kariyawasam K.B.*
*Senior Software Engineer - QA*
Mobile: +94772314510


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


Re: [Dev] Commit request to the kernal.

2014-07-25 Thread Roshan Wijesena
Hi All,

I have sent a git pull request for the above patch. [1]

https://github.com/wso2/carbon4-kernel/pull/17

Regards
Roshan.


On Thu, Jul 24, 2014 at 1:51 PM, Roshan Wijesena  wrote:

> Hi all.
>
> I have created a carbon jira [1] and patch is attached to that. please do
> need full in order to commit this to kernel.
>
> [1] https://wso2.org/jira/browse/CARBON-14878.
>
> Regards
> Roshan
>
>
> On Thu, Jul 24, 2014 at 11:40 AM, Roshan Wijesena  wrote:
>
>> Hi Devs,
>>
>> Could you please commit below attached patch to the kernel. In order to
>> fix jira  [1].
>>
>> https://wso2.org/jira/browse/APIMANAGER-2646.
>>
>> Regards
>> Roshan.
>> --
>> Roshan Wijesena.
>> Senior Software Engineer-WSO2 Inc.
>> Mobile: *+94752126789*
>> Email: ros...@wso2.com
>> *WSO2, Inc. :** wso2.com *
>> lean.enterprise.middleware.
>>
>
>
>
> --
> Roshan Wijesena.
> Senior Software Engineer-WSO2 Inc.
> Mobile: *+94752126789*
> Email: ros...@wso2.com
> *WSO2, Inc. :** wso2.com *
> lean.enterprise.middleware.
>



-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94752126789*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com *
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] DevStudio's Import to Workspace fails for App Cloud projects

2014-07-25 Thread Dmitry Sotnikov
"Checkout and import" also failed:

**[INFO]**

[2014-07-25 13:53:57.863] : Login Successful

**[INFO]**

[2014-07-25 13:53:57.864] : Fetching User Application From Server

**[INFO]**

[2014-07-25 13:54:27.901] : Fetching completed, Applications are loading to
the view

**[INFO]**

[2014-07-25 14:01:42.447] : Cloning with remote repository

**[INFO]**

[2014-07-25 14:01:42.648] : Cloning completed successfully

**[INFO]**

[2014-07-25 14:01:44.766] : Maven - Resolving project dependencies

**[ERROR]**

[2014-07-25 14:01:44.796] : Maven application directory was not specified,
and ${maven.home} is not provided in the system properties. Please specify
at least on of these.



Using this for a default JSP skeleton in App Cloud.

Dmitry


On Fri, Jul 25, 2014 at 1:43 PM, Kavith Lokuhewage  wrote:

> Hi Dmitry,
>
> On Fri, Jul 25, 2014 at 2:31 PM, Dmitry Sotnikov  wrote:
>
>> Kavith,
>>
>> So I now need to manually install Maven on my Mac in order to edit code
>> in Dev Studio?
>>
>
> Not necessarily. It is supposed to import the project into workspace
> whether "M2_HOME" is defined or not. It should print a error msg to console
> about its failure to resolve dependancies and continue to import the
> project in to workspace.
> Seems like there has been an issue with error handling when the flow is,
> first "checkout" and then "import to workspace".
> This is working properly if you click "Checkout and import" directly.
>
> I have created a JIRA [1] for this. Plus, I have also created a JIRA[2]
> for improving AF tools to use "embedded maven of eclipse" whenever possible.
>
> [1] : https://wso2.org/jira/browse/TOOLS-2585
> [2] : https://wso2.org/jira/browse/TOOLS-2586
>
> Thanks
> --
> *Kavith Lokuhewage*
> Software Engineer
> WSO2 Inc. - http://wso2.com
> lean . enterprise . middleware
> Mobile - +9477-9-145-123 | +9471-455-6-401
> Linkedin 
> Twitter 
>



-- 
Dmitry Sotnikov
VP of Cloud; WSO2, Inc.;  http://wso2.com/
email: dmi...@wso2.com; cell: +1.949.303.9653; Skype: DSotnikov
Lean . Enterprise . Middleware

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


Re: [Dev] DevStudio's Import to Workspace fails for App Cloud projects

2014-07-25 Thread Kavith Lokuhewage
Hi Dmitry,

On Fri, Jul 25, 2014 at 2:31 PM, Dmitry Sotnikov  wrote:

> Kavith,
>
> So I now need to manually install Maven on my Mac in order to edit code in
> Dev Studio?
>

Not necessarily. It is supposed to import the project into workspace
whether "M2_HOME" is defined or not. It should print a error msg to console
about its failure to resolve dependancies and continue to import the
project in to workspace.
Seems like there has been an issue with error handling when the flow is,
first "checkout" and then "import to workspace".
This is working properly if you click "Checkout and import" directly.

I have created a JIRA [1] for this. Plus, I have also created a JIRA[2] for
improving AF tools to use "embedded maven of eclipse" whenever possible.

[1] : https://wso2.org/jira/browse/TOOLS-2585
[2] : https://wso2.org/jira/browse/TOOLS-2586

Thanks
-- 
*Kavith Lokuhewage*
Software Engineer
WSO2 Inc. - http://wso2.com
lean . enterprise . middleware
Mobile - +9477-9-145-123 | +9471-455-6-401
Linkedin   Twitter

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


[Dev] KeyBinding to enable key board shortcuts for eclipse new wizard creation

2014-07-25 Thread Awanthika Senarath
Hi,

Is there a possibility to assign a key board shortcut for a new wizard
creation in eclipse (eg: new esb config creation wizard) without involving
java coding? i.e using configurations only?

 I was trying to get it done through plugin.xml configurations, using the
following configuration,





but it seems that the commandId field does not take a new wizard wizard id
as the command.

does anyone have previous experience in attempting something similar?

thanks and regards
-- 
Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] BAM -Message and Activity search based on Cassandra indexing

2014-07-25 Thread Asanka Vithanage
Hi Pandula,

As per the BAM team secondary index should index the already existing data
as well. When we create a secondary index on a cassandra column family,It
should start the indexing process immediately so there shouldn't be a
requirement to publish data again.

I agree with your concern about load handling but as per Cassandra doc [1],
It won't be a problem.But we have to do a test run to make sure.

[1]http://www.datastax.com/docs/1.0/ddl/indexes


On Fri, Jul 25, 2014 at 2:03 PM, Pandula Kariyawasam 
wrote:

> Hi Asanka,
>
> As in BAM 241, Cassandra indexing will affect only for the data which
> receive after adding the index, and there is no mechanism to index the
> already existing data. If this implemented, we have to handle the size of
> already
> existing data, and the load it will create, and the time it will take to
> complete the process. I believe, it will be better if this can be added to
> BAM road map with a proper solution to all the upcoming problems.
>
> Thanks,
> Pandula
>
>
> On Fri, Jul 25, 2014 at 12:49 PM, Asanka Vithanage 
> wrote:
>
>> Hi All,
>>
>> According to the current BAM  implementation, We are supporting message
>> and activity search  based on the Cassandra indexing via message console UI.
>>
>> Currently to make data indexing work, we have to define indexing on tBox
>> and deploy it.But even after tBox deployed, indexing won't get executed
>> till we publish new set of data.
>> So According to this there is no way to index existing cassandra data set
>> through BAM.
>> If its possible how can i achieve that?
>>
>> Further since indexing can be considered as separate feature directly
>> bind with cassandra, I believe we should provide a separate UI to execute
>> indexing stuffs and It will increase the usability of BAM indexing feature.
>> WDYT?
>>
>>
>>
>>
>> --
>> Asanka Vithanage
>> Senior Software Engineer -QA
>> Mobile: +94 0716286708
>> Email: asan...@wso2.com
>> WSO2 Inc. www.wso2.com
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *Pandula Kariyawasam K.B.*
> *Senior Software Engineer - QA*
> Mobile: +94772314510
>
> 
>



-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Bumping identity components to latest versions in APPM/APIM builds

2014-07-25 Thread Johann Nallathamby
We are not planning to release IS 5.1.0 on Git. We have created 5.1.0 for
writing integration tests until Git migration is completed. If you need
those new components you will have to release add them to chunk-13 and
release.

Thanks,
Johann.


On Fri, Jul 25, 2014 at 11:33 AM, Ruwan Yatawara  wrote:

> Hi IS team,
>
> We are in the process of $subject and have come to notice there are
> several components/features of which there are 4.2.4 versions that are not
> included (1 & 2) in the current chunk-13 builds nor in the IS 5.1.0 p2
> poms.
>
> Components in question are :
>
> org.wso2.carbon.identity.core.server.feature [1]
> org.wso2.carbon.identity.sso.saml.feature [2]
> org.wso2.carbon.identity.oauth.server.feature
>
> [1] fixes an issue with Identity PostGre scripts, so we need to include it
> in the build. Should we go and update all these components to 4.2.4
> versions for AM 1.7.1 / APPM 1.0.0 release? Please advice.
>
>
> Thanks and Regards,
>
> Ruwan Yatawara
>
> Senior Software Engineer,
> WSO2 Inc.
>
> email : ruw...@wso2.com
> mobile : +94 77 9110413
> blog : http://thoughts.ruwan-ace.com/
> www: :http://wso2.com
>
>


-- 
Thanks & Regards,

*Johann Dilantha Nallathamby*
Associate Technical Lead & Product Lead of WSO2 Identity Server
Integration Technologies Team
WSO2, Inc.
lean.enterprise.middleware

Mobile - *+9476950*
Blog - *http://nallaa.wordpress.com *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] BAM 2.4.2 Build - 24/07

2014-07-25 Thread Gokul Balakrishnan
The P2 repo has been added to the same location.

MD5: a2ae58873a4339fb506617f9b34660b0


On 24 July 2014 18:25, Gokul Balakrishnan  wrote:

> Please find the BAM pack from today's build at [1].
>
> MD5: A3B880EBCC2A8D3C1EA6130793FF43B4
>
> [1] https://svn.wso2.org/repos/wso2/people/gokul/bam/build/24-07/
>
> --
> *Balakrishnan Gokulakrishnan*
> Software Engineer,
> WSO2, Inc. http://wso2.com
> Mob: +94 77 593 5789 | +1 650 272 9927
>



-- 
*Balakrishnan Gokulakrishnan*
Software Engineer,
WSO2, Inc. http://wso2.com
Mob: +94 77 593 5789 | +1 650 272 9927
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] BAM -Message and Activity search based on Cassandra indexing

2014-07-25 Thread Pandula Kariyawasam
Hi Asanka,

As in BAM 241, Cassandra indexing will affect only for the data which
receive after adding the index, and there is no mechanism to index the
already existing data. If this implemented, we have to handle the size of
already
existing data, and the load it will create, and the time it will take to
complete the process. I believe, it will be better if this can be added to
BAM road map with a proper solution to all the upcoming problems.

Thanks,
Pandula


On Fri, Jul 25, 2014 at 12:49 PM, Asanka Vithanage  wrote:

> Hi All,
>
> According to the current BAM  implementation, We are supporting message
> and activity search  based on the Cassandra indexing via message console UI.
>
> Currently to make data indexing work, we have to define indexing on tBox
> and deploy it.But even after tBox deployed, indexing won't get executed
> till we publish new set of data.
> So According to this there is no way to index existing cassandra data set
> through BAM.
> If its possible how can i achieve that?
>
> Further since indexing can be considered as separate feature directly bind
> with cassandra, I believe we should provide a separate UI to execute
> indexing stuffs and It will increase the usability of BAM indexing feature.
> WDYT?
>
>
>
>
> --
> Asanka Vithanage
> Senior Software Engineer -QA
> Mobile: +94 0716286708
> Email: asan...@wso2.com
> WSO2 Inc. www.wso2.com
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Pandula Kariyawasam K.B.*
*Senior Software Engineer - QA*
Mobile: +94772314510


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


Re: [Dev] Identity server sample as a dependency in integration tests

2014-07-25 Thread Nuwan Wimalasekara
Hi Prasad,
Why can't you build the samples module before the integration module as
integration depends on samples.


modules/features
modules/p2-profile-gen
modules/distribution
modules/styles
modules/dashboard
modules/samples
modules/integration


Thanks,
Nuwanw



On Fri, Jul 25, 2014 at 1:54 PM, Prasad Tissera  wrote:

> We have written integration tests for SAML SSO using the travelocity
> sample war as a dependency. But when building the products samples are
> build after the integration tests. AFAIU Since this war file is not hosted
> in the p2 repo, this will result a build failure in a clean repo. What is
> the best approach to fix this issue?
>
> turing/products/is/5.1.0
>
> 
> modules/features
> modules/p2-profile-gen
>  modules/distribution
> modules/styles
> modules/dashboard
>  modules/integration
> modules/samples
> 
>
>
> --
> Prasad Tissera
> Software Engineer.
> Mobile : +94777223444
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Nuwan Wimalasekara
Senior Software Engineer - Test Automation
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

phone: +94 71 668 4620
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Idntity.application.mgt feature 4.2.1 is not updated in chunk13?

2014-07-25 Thread Johann Nallathamby
Yes.


On Fri, Jul 25, 2014 at 10:23 AM, Vijayaratha Vijayasingam 
wrote:

> APIM uses this module, is it OK if we ship this with AM 1.7.1?
>
>
> On 25 July 2014 05:38, Johann Nallathamby  wrote:
>
>> We have not updated chunk POMs as we are not planning to go with any
>> chunk any time soon. Our plan is to go with 4.3.0 in Git.
>>
>>
>> On Thu, Jul 24, 2014 at 9:06 PM, Vijayaratha Vijayasingam <
>> rat...@wso2.com> wrote:
>>
>>> IS team;
>>>
>>> I see a new version of org.wso2.carbon.identity.application.mgt feature
>>> 4.2.1 has been created..But chunk poms are not updated..
>>> Please check..
>>> --
>>> -Ratha
>>> mobile: (+94)755906608
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Thanks & Regards,
>>
>> *Johann Dilantha Nallathamby*
>> Associate Technical Lead & Product Lead of WSO2 Identity Server
>> Integration Technologies Team
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - *+9476950*
>> Blog - *http://nallaa.wordpress.com *
>>
>
>
>
> --
> -Ratha
> mobile: (+94)755906608
>



-- 
Thanks & Regards,

*Johann Dilantha Nallathamby*
Associate Technical Lead & Product Lead of WSO2 Identity Server
Integration Technologies Team
WSO2, Inc.
lean.enterprise.middleware

Mobile - *+9476950*
Blog - *http://nallaa.wordpress.com *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Identity server sample as a dependency in integration tests

2014-07-25 Thread Prasad Tissera
We have written integration tests for SAML SSO using the travelocity sample
war as a dependency. But when building the products samples are build after
the integration tests. AFAIU Since this war file is not hosted in the p2
repo, this will result a build failure in a clean repo. What is the best
approach to fix this issue?

turing/products/is/5.1.0


modules/features
modules/p2-profile-gen
modules/distribution
modules/styles
modules/dashboard
modules/integration
modules/samples



-- 
Prasad Tissera
Software Engineer.
Mobile : +94777223444
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] SAML Performance Testing

2014-07-25 Thread Daya Attapattu
Thanks, Pavithra.  I think I can use this.  - Daya



On Fri, Jul 25, 2014 at 1:04 PM, Pavithra Madurangi 
wrote:

> Hi Daya,
>
> FYR, I've attached a sample jmeter script in which uses are read from csv
> file..
>
> HTH.
>
> Regards,
> Pavithra
>
>
> On Fri, Jul 25, 2014 at 12:48 PM, Pavithra Madurangi 
> wrote:
>
>>
>>
>>
>> On Fri, Jul 25, 2014 at 10:38 AM, Danushka Fernando 
>> wrote:
>>
>>> Hi Daya
>>> AFAIU what you want to do is modify the jmeter script in a way it will
>>> login using SAML with different users rather than the same user. Did I get
>>> it right? If so you can have a set of users and passwords in a csv file and
>>> point to it from the jmeter script and you can run as the users in the csv
>>> in the threads. Will that work for you?
>>> ​
>>>
>> ​
>> Hi Daya,
>>
>> If your requirement is ​the mentioned by Danushka, yes it can be done by
>> modifying the script and reading users from csv file..
>>
>> That's the way we also do the load/performance testing..The script I've
>> pointed is just a basic script and you have to modify it according to your
>> requirement..
>>
>> If you need any help in modifying the script , please talk to Nirodha or
>> Ushani (Since I''m on leave today)
>>
>> Regards,
>> Pavithra
>>
>>> ​
>>>
>>> Thanks & Regards
>>> Danushka Fernando
>>> Software Engineer
>>> WSO2 inc. http://wso2.com/
>>> Mobile : +94716332729
>>>
>>>
>>> On Fri, Jul 25, 2014 at 9:12 AM, Dulanja Liyanage 
>>> wrote:
>>>
 Hi Daya,

 I don't know how the jmeter script provided by Pavithra works, but if
 the individual requests go *without taking previous cookies* then IS
 will do everything all over again, rather than reading from caches.

 Even if the requests are sent with previous cookies, if we send the
 SAML request with ForceAuthn attribute then IS won't use previous
 authenticated sessions.

 Thanks
 Dulanja


 On Fri, Jul 25, 2014 at 8:34 AM, Daya Attapattu  wrote:

> Asela,
> Pavithra gave me a jmeter script on SAML.   It runs 1 iteration, 1
> thread.  I can increase both , but it will not be a good performance test
> due to caching.  I think we have to change user to ensure assertions are
> independent.  Have you done this, previously?  Do you have a jmeter 
> script?
>
> Malintha,
> Thanks for all discussions about automation.  I need some help on
> this.  I will be running this on in-house performance machines.  I know 
> the
> sequence of activities required to get the test going (jmeter script will
> be modified, but that does not change the process).  Please let me know a
> free time for you.
>
> Please note that I will be going to EPF this morning (Friday, 25/7).
>  I should be back by 11:00 or so.
>
> --
> Daya Atapattu
> WSO2 Inc.
> Phone: +94 77 047 4730, +1 203 484 7099
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 Dulanja Liyanage
 WSO2 Inc.
 M: +94776764717

 ___
 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
>>>
>>>
>>
>>
>> --
>> *Pavithra Madurangi*
>> Associate Technical Lead - QA.
>> WSO2 Inc.: http://wso2.com/
>> Mobile: +94777207357 / +94773814110
>>
>
>
>
> --
> *Pavithra Madurangi*
> Associate Technical Lead - QA.
> WSO2 Inc.: http://wso2.com/
> Mobile: +94777207357 / +94773814110
>



-- 
Daya Atapattu
WSO2 Inc.
Phone: +94 77 047 4730, +1 203 484 7099
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] BAM -Message and Activity search based on Cassandra indexing

2014-07-25 Thread Asanka Vithanage
Hi All,

According to the current BAM  implementation, We are supporting message and
activity search  based on the Cassandra indexing via message console UI.

Currently to make data indexing work, we have to define indexing on tBox
and deploy it.But even after tBox deployed, indexing won't get executed
till we publish new set of data.
So According to this there is no way to index existing cassandra data set
through BAM.
If its possible how can i achieve that?

Further since indexing can be considered as separate feature directly bind
with cassandra, I believe we should provide a separate UI to execute
indexing stuffs and It will increase the usability of BAM indexing feature.
WDYT?




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] SAML Performance Testing

2014-07-25 Thread Pavithra Madurangi
On Fri, Jul 25, 2014 at 10:38 AM, Danushka Fernando 
wrote:

> Hi Daya
> AFAIU what you want to do is modify the jmeter script in a way it will
> login using SAML with different users rather than the same user. Did I get
> it right? If so you can have a set of users and passwords in a csv file and
> point to it from the jmeter script and you can run as the users in the csv
> in the threads. Will that work for you?
> ​
>
​
Hi Daya,

If your requirement is ​the mentioned by Danushka, yes it can be done by
modifying the script and reading users from csv file..

That's the way we also do the load/performance testing..The script I've
pointed is just a basic script and you have to modify it according to your
requirement..

If you need any help in modifying the script , please talk to Nirodha or
Ushani (Since I''m on leave today)

Regards,
Pavithra

> ​
>
> Thanks & Regards
> Danushka Fernando
> Software Engineer
> WSO2 inc. http://wso2.com/
> Mobile : +94716332729
>
>
> On Fri, Jul 25, 2014 at 9:12 AM, Dulanja Liyanage 
> wrote:
>
>> Hi Daya,
>>
>> I don't know how the jmeter script provided by Pavithra works, but if the
>> individual requests go *without taking previous cookies* then IS will do
>> everything all over again, rather than reading from caches.
>>
>> Even if the requests are sent with previous cookies, if we send the SAML
>> request with ForceAuthn attribute then IS won't use previous authenticated
>> sessions.
>>
>> Thanks
>> Dulanja
>>
>>
>> On Fri, Jul 25, 2014 at 8:34 AM, Daya Attapattu  wrote:
>>
>>> Asela,
>>> Pavithra gave me a jmeter script on SAML.   It runs 1 iteration, 1
>>> thread.  I can increase both , but it will not be a good performance test
>>> due to caching.  I think we have to change user to ensure assertions are
>>> independent.  Have you done this, previously?  Do you have a jmeter script?
>>>
>>> Malintha,
>>> Thanks for all discussions about automation.  I need some help on this.
>>>  I will be running this on in-house performance machines.  I know the
>>> sequence of activities required to get the test going (jmeter script will
>>> be modified, but that does not change the process).  Please let me know a
>>> free time for you.
>>>
>>> Please note that I will be going to EPF this morning (Friday, 25/7).  I
>>> should be back by 11:00 or so.
>>>
>>> --
>>> Daya Atapattu
>>> WSO2 Inc.
>>> Phone: +94 77 047 4730, +1 203 484 7099
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Dulanja Liyanage
>> WSO2 Inc.
>> M: +94776764717
>>
>> ___
>> 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
>
>


-- 
*Pavithra Madurangi*
Associate Technical Lead - QA.
WSO2 Inc.: http://wso2.com/
Mobile: +94777207357 / +94773814110
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev