[Dev] [ES] Tenant couldn't login to publisher when SSO is enabled with IS

2015-01-18 Thread Senduran Balasubramaniyam
Hi,

I am experiencing $subject, with ES 2.0.0 M5. Following are the changes I
made to configure SSO.

   - Shared registry and user database between ES and IS
   - In ES's user-mgt.xml, pointed the "UserStoreManager" to IS's embedded
   LDAP
   - Modified as following in publisher, store json

"identityProviderURL": "https://localhost:/samlsso"


   - Created a Service provider for publisher and store in IS as follows

 SP for publisher

Issuer: publisher

Assertion Consumer URL: https://localhost:/publisher/acs

Use fully qualified username in the NameID

Enable Response Signing

Enable Assertion Signing

Enable Single Logout


SP for store

Issuer: store

Assertion Consumer URL: https://localhost:/store/acs

Use fully qualified username in the NameID

Enable Response Signing

Enable Assertion Signing

Enable Single Logout


When admin login the publisher behaviors as expected. (i.e page is
redirected to IS login and redirected to publisher, if already a sso
session is available directly goes to  publisher)\
But when I log in  as a tenant, the browser is redirected to
https://localhost:9443/publisher/acs and following exception is shown in
the console

 INFO {JAGGERY.controllers.login:jag} -  Login URL:
https://localhost:9447/samlsso
org.opensaml.xml.validation.ValidationException: Signature did not validate
against the credential's key
at
org.opensaml.xml.signature.SignatureValidator.validate(SignatureValidator.java:78)
at org.wso2.store.sso.common.util.Util.validateSignature(Util.java:290)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:225)
at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
at
org.jaggeryjs.rhino..scripts.c0._c_anonymous_3(/scripts/sso.client.js:50)
at org.jaggeryjs.rhino..scripts.c0.call(/scripts/sso.client.js)
at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)
at
org.jaggeryjs.rhino.publisher.controllers.c1._c_anonymous_1(/publisher/controllers/acs.jag:48)
at
org.jaggeryjs.rhino.publisher.controllers.c1.call(/publisher/controllers/acs.jag)
at org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:23)
at
org.jaggeryjs.rhino.publisher.controllers.c1._c_script_0(/publisher/controllers/acs.jag:20)
at
org.jaggeryjs.rhino.publisher.controllers.c1.call(/publisher/controllers/acs.jag)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
at
org.jaggeryjs.rhino.publisher.controllers.c1.call(/publisher/controllers/acs.jag)
at
org.jaggeryjs.rhino.publisher.controllers.c1.exec(/publisher/controllers/acs.jag)
at
org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567)
at org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)
at
org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:559)
at org.jaggeryjs.jaggery.core.JaggeryServlet.doPost(JaggeryServlet.java:29)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:378)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
at org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at
org.wso2.carbon.tomcat.ext.valves.Compo

Re: [Dev] [ndatasource] Encrypting data source password

2015-01-18 Thread Rajith Vitharana
Hi,

If you need the place where encryption happens, it's in [1] method "encrypt"

[1] -
https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/core/org.wso2.carbon.core/4.2.0/src/main/java/org/wso2/carbon/core/util/CryptoUtil.java

Thanks,

On Mon, Jan 19, 2015 at 12:16 PM, Rajith Vitharana  wrote:

> Hi,
>
> It is done in class [1] method secureSaveElement
>
> [1] -
> https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/core/org.wso2.carbon.ndatasource.core/4.2.0/src/main/java/org/wso2/carbon/ndatasource/core/utils/DataSourceUtils.java
>
> Thanks,
>
> On Mon, Jan 19, 2015 at 11:59 AM, Akila Ravihansa Perera <
> raviha...@wso2.com> wrote:
>
>> Hi,
>>
>> I'm trying to find out the implementation logic of encrypting a data
>> source password when adding a new data source from the Carbon console. When
>> I try to add a new data source it is getting created in registry as
>> following;
>>
>> MyTestDStest data
>> source> type="RDBMS">oracle.jdbc.OracleDriver...mydeq_usr> encrypted="true">M/9Vf2jJLZTaIgyJJYSQTATcWkxdYyXiPkxMBPBurBJUqXuRvIWX6T8wt76cMW7lA9KN/0xiwKoSIKyQRMT6xi0SK7hCcKqTJcposC4LhL2/kR0ZIS5VANUpmV111068vPR/zt64L2pHqTcFlHE7De52UeA3JkCVN2c+ImzZcWE=select
>> 1 from dual
>>
>> It seems password is encrypted before storing as it should be. Can anyone
>> please point me to the source code in which this encryption() method is
>> called?
>>
>> Thanks.
>>
>> --
>> Akila Ravihansa Perera
>> Software Engineer, WSO2
>>
>> Blog: http://ravihansa3000.blogspot.com
>>
>
>
>
> --
> Rajith Vitharana
>
> Software Engineer,
> WSO2 Inc. : wso2.com
> Mobile : +94715883223
> Blog : http://lankavitharana.blogspot.com/
>



-- 
Rajith Vitharana

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


[Dev] Please merge the pull request for carbon-utils - GitIgnore modified to remove DS_Store files of MAC OS X

2015-01-18 Thread Hemika Kodikara
Hi All,

Please merge the PR [1].

[1] - https://github.com/wso2-dev/carbon-utils/pull/46


Thanks,
Hemika

Hemika Kodikara
Software Engineer
WSO2 Inc.
lean . enterprise . middleware
http://wso2.com

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


[Dev] Continuing the feature - Discover JAX-WS services by G-reg

2015-01-18 Thread KasunG Gajasinghe
Hi Pubudu,

This feature is in a working state, so you can test it out how it works.
Following are the improvements needed for this feature.

1. Instead of traversing the whole WEB-INF/classes for jax-ws services with
@WebService annotation, we should read the cxf-servlet.xml to find out the
resource classes.

I have used a library called scannotation to traverse, but with the above
change, we don't need to depend on that.

2. Support ws-discovery for webapps with multiple jax-ws services.

3. Test the ws-discovery bye message when a webapp is deleted. This doesn't
seem to work since we currently try to read the webapp folder to gather
some details.

The code can be found here [1]

[1]
https://github.com/wso2/carbon-deployment/tree/master/components/webapp-mgt/org.wso2.carbon.discovery.cxf

Regards,
KasunG


-- 

*Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [IS][ES] Enable SSO using LDAP as a common user store

2015-01-18 Thread Chanuka Dissanayake
Hi,

I'm using ES 2.0.0 M4 pack and IS 5.0.0 fresh pack for $subject, I have
followed [1] and these steps [2], in cofiguring. I'm using a single tenant.
Console is not showing an error in both products.

In publisher: After redirected to the page '
https://localhost:9763/publisher/acs' by IS, page is not available error.

In store: It's not redirecting to the IS login page, but showing the
default ES login.

I didn't configure the Mgt console for SSO.

Is there any additional configurations that I'm missing here. I couldn't
find answer from the 'Enable SSO for Publisher and Store with an External
IS' thread.

[1] https://docs.wso2.com/display/IS500/Enabling+SSO+for+WSO2+Servers
[2]
https://docs.google.com/document/d/1_w3Z6WwWWmbv9hYzwYBVxCtK-sZkxSTTC0PPcgOSfXs/edit

Thanks,
Chanuka.

-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ndatasource] Encrypting data source password

2015-01-18 Thread Rajith Vitharana
Hi,

It is done in class [1] method secureSaveElement

[1] -
https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/core/org.wso2.carbon.ndatasource.core/4.2.0/src/main/java/org/wso2/carbon/ndatasource/core/utils/DataSourceUtils.java

Thanks,

On Mon, Jan 19, 2015 at 11:59 AM, Akila Ravihansa Perera  wrote:

> Hi,
>
> I'm trying to find out the implementation logic of encrypting a data
> source password when adding a new data source from the Carbon console. When
> I try to add a new data source it is getting created in registry as
> following;
>
> MyTestDStest data
> source type="RDBMS">oracle.jdbc.OracleDriver...mydeq_usr encrypted="true">M/9Vf2jJLZTaIgyJJYSQTATcWkxdYyXiPkxMBPBurBJUqXuRvIWX6T8wt76cMW7lA9KN/0xiwKoSIKyQRMT6xi0SK7hCcKqTJcposC4LhL2/kR0ZIS5VANUpmV111068vPR/zt64L2pHqTcFlHE7De52UeA3JkCVN2c+ImzZcWE=select
> 1 from dual
>
> It seems password is encrypted before storing as it should be. Can anyone
> please point me to the source code in which this encryption() method is
> called?
>
> Thanks.
>
> --
> Akila Ravihansa Perera
> Software Engineer, WSO2
>
> Blog: http://ravihansa3000.blogspot.com
>



-- 
Rajith Vitharana

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


Re: [Dev] SVN External in APIM tests/resource

2015-01-18 Thread Krishantha Samaraweera
Hi,

On Fri, Jan 16, 2015 at 10:37 AM, Dinesh J Weerakkody 
wrote:

> Hi,
>
> Following SVN External links are there in test module of APIManager 1.9.0.
>
>- modules/integration/tests/src/test/resources
>- modules/integration/tests-ui/src/test/resources
>
> both locations are pointed to
>
>
> https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/platform-integration/platform-automated-test-suite/
> *1.8.0*/org.wso2.carbon.automation.test.repo/src/main/resources/artifacts/AM
> artifacts/AM
>
> I'm curious to know followings. please help me to understand.
>
>1. What is the reason for having a SVN external in these locations?
>
> This is to maintain centralised artefact repo to promote artefact
reusability among products and various test levels - e.g platform tests.
This concept is dropped in GIT based test suites and externals are no
longer required.

>
>1. Please note that it is pointed to 1.8.0 location. Is this pointed
>location is correct? I think it should be pointed to 1.9.0 location?
>
> You need to create next version of artefact repo.

>
>1. There are several directories in
>org.wso2.carbon.automation.test.repo/src/main/resources/artifacts/AM
>artifacts/ location such as BAM, AS. if this location is for APIM what is
>the reason for having other product folders?
>
>  Explained under #1

>
>1. If this is a common place to have all the configuration files why
>it is under 1.8.0? 1.8.0 is APIM version.
>
> It is PATS 1.8.0 (Platform Automated Test Suite) nothing related APIM 1.8.0

Thanks,
Krishantha.


> Thanks
>
> *Dinesh J. Weerakkody*
> Software Engineer
> WSO2 Inc.
> lean | enterprise | middleware
> M : +94 727 361788 | E : dine...@wso2.com | W : www.wso2.com
>



-- 
Krishantha Samaraweera
Senior Technical Lead - Test Automation
Mobile: +94 77 7759918
WSO2, Inc.; http://wso2.com/
lean . enterprise . middlewear.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [ndatasource] Encrypting data source password

2015-01-18 Thread Akila Ravihansa Perera
Hi,

I'm trying to find out the implementation logic of encrypting a data source
password when adding a new data source from the Carbon console. When I try
to add a new data source it is getting created in registry as following;

MyTestDStest data
sourceoracle.jdbc.OracleDriver...mydeq_usrM/9Vf2jJLZTaIgyJJYSQTATcWkxdYyXiPkxMBPBurBJUqXuRvIWX6T8wt76cMW7lA9KN/0xiwKoSIKyQRMT6xi0SK7hCcKqTJcposC4LhL2/kR0ZIS5VANUpmV111068vPR/zt64L2pHqTcFlHE7De52UeA3JkCVN2c+ImzZcWE=select
1 from dual

It seems password is encrypted before storing as it should be. Can anyone
please point me to the source code in which this encryption() method is
called?

Thanks.

-- 
Akila Ravihansa Perera
Software Engineer, WSO2

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


Re: [Dev] [CEP] Publishing events to CEP via HTTP, SOAP event adapters

2015-01-18 Thread Tishan Dahanayakage
Hi Farasath,

Here[1] you can find existing CEP samples and associated technologies with
them. Pick the samples which suits your scenario. Each sample will have a
producer which publish events to the CEP. Source of those can be found in
CEP_HOME/samples/producers. You can get a idea about how to write each
publisher/producer by going through those sources.

[1] https://docs.wso2.com/display/CEP310/Overview+of+Samples

Thanks,
Tishan

On Mon, Jan 19, 2015 at 11:45 AM, Farasath Ahamed 
wrote:

> Hi All,
>
> We are currently working on our add support to send extracted data Apache
> UIMA framework. We are managed to send events to CEP from UIMA using the
> data-bridge following[1].
>
> We are working on testing further with SOAP and HTTP event adapters. Are
> there any resources we could look at? Any existing classes we could use
> similar DataPublisher?
>
>
> [1]
> http://wso2.com/library/articles/2012/07/creating-custom-agents-publish-events-bamcep/#Connecting_to_backend
>
> --
> *Farasath Ahamed*
> Software Engineering Intern
> WSO2 Inc.; http://wso2.com
>
> Mobile: +94 777 603 866
> E-Mail:  farasath a...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Tishan Dahanayakage
Software Engineer
WSO2, Inc.
Mobile:+94 716481328

Disclaimer: This communication may contain privileged or other confidential
information and is intended exclusively for the addressee/s. If you are not
the intended recipient/s, or believe that you may have received this
communication in error, please reply to the sender indicating that fact and
delete the copy you received and in addition, you should not print, copy,
re-transmit, disseminate, or otherwise use the information contained in
this communication. Internet communications cannot be guaranteed to be
timely, secure, error or virus-free. The sender does not accept liability
for any errors or omissions.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Generating code coverage report for AF integration tests

2015-01-18 Thread Krishantha Samaraweera
On Fri, Jan 16, 2015 at 2:24 PM, Amalka Subasinghe  wrote:

> Here i'm giving required list of jars using jarlist file (I have attached
> the file).. In that case, do I still need to specify the filter.txt?
>

You still need to filter jars which you have already instrumented and could
cause AF startup problems. Following command will be useful to skip the
jars.

-ix @myfilters.txt


> On Fri, Jan 16, 2015 at 2:18 PM, Dharshana Warusavitharana <
> dharsha...@wso2.com> wrote:
>
>> Hi Amalka,
>>
>> In this case there are some jars you need to avoid from instrumenting as
>> example all equinox jars. To take coverage in certain product you need only
>> to instrument jars which are related to particular product.
>>
>> In Instrumentation EMMA what happens is it updates a metatag in jar so it
>> changes MD5 sum and some times default permisions of jars.
>>
>> Use following filters in filter.txt to eliminate unwated jars form
>> instrumenting
>>
>> -*.stub*-*.stub_-*.stub_4.0.0-*.stub--org.eclipse.*-*.equinox.*
>> -org.wso2.carbon.user.core.*-samples.*-*.log4j*-*.axis2*-*.ui*-*.tenant*
>> -*.stratos*-*.eventing*-*transports*
>> -org.wso2.carbon.mediation.statistics*-*startup*
>>
>> Thank You,
>> Dharshana.
>>
>> On Wed, Jan 14, 2015 at 12:17 PM, Amalka Subasinghe 
>> wrote:
>>
>>> Hi all,
>>>
>>> Currently I'm trying to $subject. Since AF integration tests runs in
>>> platform mode, we can't generate code coverage report via our existing test
>>> framework.
>>>
>>> I found a blog we can use for this. [1]
>>> as specified in the blog when I execute the xargs -n 1
>>> $JAVA_HOME/jre/bin/java -cp emma.jar emma instr -m overwrite -cp <
>>> jarlist.txt.
>>> It changes file permissions on appfactory jars, because of that I can't
>>> up the appfactory setup to run the tests.
>>>
>>> Does anyone have ideas on how to do this?
>>>
>>> [1]
>>> http://charithaka.blogspot.com/2009/05/run-time-code-coverage-using-emma.html
>>>
>>> Thanks
>>> Amalka
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> Dharshana Warusavitharana
>> Senior Software Engineer , Test Automation
>> WSO2 Inc. http://wso2.com
>> email : dharsha...@wso2.com 
>> Tel  : +94 11 214 5345
>> Fax :+94 11 2145300
>> cell : +94770342233
>> blog : http://dharshanaw.blogspot.com
>>
>> lean . enterprise . middleware
>>
>
>
>
> --
>
> Amalka Subasinghe
>
> WSO2 Inc.
> Mobile: +94 77 9401267
>



-- 
Krishantha Samaraweera
Senior Technical Lead - Test Automation
Mobile: +94 77 7759918
WSO2, Inc.; http://wso2.com/
lean . enterprise . middlewear.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [CEP] Publishing events to CEP via HTTP,SOAP event adapters

2015-01-18 Thread Farasath Ahamed
Hi All,

We are currently working on our add support to send extracted data Apache
UIMA framework. We are managed to send events to CEP from UIMA using the
data-bridge following[1].

We are working on testing further with SOAP and HTTP event adapters. Are
there any resources we could look at? Any existing classes we could use
similar DataPublisher?


[1]
http://wso2.com/library/articles/2012/07/creating-custom-agents-publish-events-bamcep/#Connecting_to_backend

-- 
*Farasath Ahamed*
Software Engineering Intern
WSO2 Inc.; http://wso2.com

Mobile: +94 777 603 866
E-Mail:  farasath a...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Upgrading jcifs and JSch to the latest versions

2015-01-18 Thread Sandamal Weerasinghe
Hi,

Please merge the above when possible.

Thanks.

Sandamal Weerasinghe | Software Engineer | WSO2 Lanka (Pvt) Ltd

Mobile - +94-77-144-9640

On Fri, Jan 16, 2015 at 10:50 AM, Sandamal Weerasinghe 
wrote:

> Hi Carbon Team,
>
> Please merge the pull request [1]
>
> [1] https://github.com/wso2/orbit/pull/54
>
> Thanks.
>
> Sandamal Weerasinghe | Software Engineer | WSO2 Lanka (Pvt) Ltd
>
> Mobile - +94-77-144-9640
>
> On Wed, Jan 14, 2015 at 2:42 PM, Sandamal Weerasinghe 
> wrote:
>
>> Hi all,
>>
>> Currently we are using jcifs_0.8.3 (released with Carbon 3.1.0)
>> and jsch_0.1.49 (released with Carbon 4.1.0). I am in the process of
>> upgrading them to the latest versions available on Maven.
>>
>> Thanks.
>>
>> Sandamal Weerasinghe | Software Engineer | WSO2 Lanka (Pvt) Ltd
>>
>> Mobile - +94-77-144-9640
>>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Is there a platform standard for pagination?

2015-01-18 Thread Dulitha Wijewantha
Hi guys,
Is there a platform standard for pagination? How does asset pagination work
in the registry right now?

Cheers~

-- 
Dulitha Wijewantha (Chan)
Software Engineer - Mobile Development
WSO2 Inc
Lean.Enterprise.Mobileware
 * ~Email   duli...@wso2.com *
*  ~Mobile +94712112165*
*  ~Website   dulitha.me *
*  ~Twitter @dulitharw *
  *~Github @dulichan *
  *~SO @chan *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] SS 1.5.0 pack for QA

2015-01-18 Thread Bhathiya Jayasekara
Hi all,

Here is today's pack for QA.

https://svn.wso2.org/repos/wso2/scratch/ss-dev/ss-150/19_01_2014/wso2ss-1.5.0-SNAPSHOT.zip

Thanks,
Bhathiya

On Fri, Jan 16, 2015 at 6:03 PM, Prabath Abeysekera 
wrote:

> Hi Asanka, Nuwan,
>
> Please report L1s for any usability/UI/doc issues.
>
> Cheers,
> Prabath
>
> On Fri, Jan 16, 2015 at 4:32 PM, Bhathiya Jayasekara 
> wrote:
>
>> HI all,
>>
>> Here is the new pack.
>>
>>
>> https://svn.wso2.org/repos/wso2/scratch/ss-dev/ss-150/16_01_2014/wso2ss-1.5.0-SNAPSHOT.zip
>>
>> Thanks,
>> Bhathiya
>>
>> On Tue, Jan 13, 2015 at 4:51 PM, Bhathiya Jayasekara 
>> wrote:
>>
>>> Hi all,
>>>
>>> Here is the latest pack.
>>>
>>>
>>> https://svn.wso2.org/repos/wso2/scratch/ss-dev/ss-150/wso2ss-1.5.0-SNAPSHOT.zip
>>>
>>> @Prabath: I built this from wso2-dev, as wso2-dev and wso2 repos are not
>>> synced yet. Can you please sync them?
>>>
>>> Thanks,
>>> --
>>> *Bhathiya Jayasekara*
>>> *Software Engineer,*
>>> *WSO2 inc., http://wso2.com *
>>>
>>> *Phone: +94715478185 <%2B94715478185>*
>>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
>>> *
>>> *Twitter: https://twitter.com/bhathiyax *
>>> *Blog: http://movingaheadblog.blogspot.com
>>> *
>>>
>>
>>
>>
>> --
>> *Bhathiya Jayasekara*
>> *Software Engineer,*
>> *WSO2 inc., http://wso2.com *
>>
>> *Phone: +94715478185 <%2B94715478185>*
>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
>> *
>> *Twitter: https://twitter.com/bhathiyax *
>> *Blog: http://movingaheadblog.blogspot.com
>> *
>>
>
>
>
> --
> Prabath Abeysekara
> Associate Technical Lead, Data TG.
> WSO2 Inc.
> Email: praba...@wso2.com
> Mobile: +94774171471
>



-- 
*Bhathiya Jayasekara*
*Software Engineer,*
*WSO2 inc., http://wso2.com *

*Phone: +94715478185 <%2B94715478185>*
*LinkedIn: http://www.linkedin.com/in/bhathiyaj
*
*Twitter: https://twitter.com/bhathiyax *
*Blog: http://movingaheadblog.blogspot.com
*



-- 
*Bhathiya Jayasekara*
*Software Engineer,*
*WSO2 inc., http://wso2.com *

*Phone: +94715478185*
*LinkedIn: http://www.linkedin.com/in/bhathiyaj
*
*Twitter: https://twitter.com/bhathiyax *
*Blog: http://movingaheadblog.blogspot.com
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Renaming "configurations.xml" as "ServerLifeCycle.xml" causes build failures in CDM P2 profile

2015-01-18 Thread Maheshika Goonetilleke
Hi Pulasthi

Now the build is sucessfull.

On Mon, Jan 19, 2015 at 10:20 AM, Pulasthi Supun  wrote:

> Hi Harshan,
>
> It seems that the Jenkins build is failing due to intermittent issue in
> Jenkins. That's why the changes are not in the nexus repo
>
> @Maheshika can you trigger a new build on carbon-governance.
>
> Best Regards,
> Pulasthi
>
> On Mon, Jan 19, 2015 at 10:06 AM, Harshan Liyanage 
> wrote:
>
>> Hi Pulasthi,
>>
>> I'm still getting following the error when building the product. Could
>> you please look into this?
>>
>> Installing org.wso2.carbon.governance.lifecycle.management.feature.group
>> 4.3.0.SNAPSHOT.
>> Installation failed.
>> An error occurred while configuring the installed items
>>  session context was:(profile=default,
>> phase=org.eclipse.equinox.internal.p2.engine.phases.Configure, operand=null
>> --> [R]org.wso2.carbon.governance.lifecycle.management.server.feature.group
>> 4.3.0.SNAPSHOT,
>> action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CopyAction).
>>  I/O Error while copying
>> /media/harshan/259f30ef-f1ea-4814-b37d-373af851aa09/harshan/development/cdm/cdm-new/product-cdm/product/modules/p2-profile-gen/target/
>> *wso2carbon-core-4.3.0*/repository/components/default/../features/org.wso2.carbon.governance.lifecycle.management.server_4.3.0.SNAPSHOT/lifecycles/configurations.xml
>> - see details.
>> Caused by:  java.io.IOException: Source:
>> /media/harshan/259f30ef-f1ea-4814-b37d-373af851aa09/harshan/development/cdm/cdm-new/product-cdm/product/modules/p2-profile-gen/target/wso2carbon-core-4.3.0/repository/components/default/../features/org.wso2.carbon.governance.lifecycle.management.server_4.3.0.SNAPSHOT/lifecycles/configurations.xmldoes
>> not exists
>> Application failed, log file location:
>> /home/harshan/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1421640058775.log
>>
>> [INFO]
>> 
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] WSO2 CDM - Parent . SUCCESS
>> [1.146s]
>> [INFO] WSO2 Carbon - Device Management Component . SUCCESS
>> [0.029s]
>> [INFO] WSO2 Carbon - Device Management Commons ... SUCCESS
>> [2.697s]
>> [INFO] WSO2 Carbon - Device Management Core .. SUCCESS
>> [5.330s]
>> [INFO] WSO2 Carbon - Mobile Device Management Impl ... SUCCESS
>> [8.036s]
>> [INFO] WSO2 Carbon - Policy Management Component . SUCCESS
>> [0.041s]
>> [INFO] WSO2 Carbon - Policy Management Common  SUCCESS
>> [0.676s]
>> [INFO] WSO2 Carbon - Policy Management Core .. SUCCESS
>> [0.792s]
>> [INFO] WSO2 Carbon - Policy Decision Point ... SUCCESS
>> [0.184s]
>> [INFO] WSO2 Carbon - Device Management Feature ... SUCCESS
>> [0.021s]
>> [INFO] WSO2 Carbon - Device Management Server Feature  SUCCESS
>> [0.731s]
>> [INFO] WSO2 Carbon - Mobile Implementation of Device Management  SUCCESS
>> [0.990s]
>> [INFO] WSO2 Carbon - Policy Management Feature ... SUCCESS
>> [0.014s]
>> [INFO] WSO2 Carbon - Policy Management Server Feature  SUCCESS
>> [0.236s]
>> [INFO] WSO2 Connected Device Manager (CDM) - Parent .. SUCCESS
>> [0.019s]
>> [INFO] WSO2 CDM REST API . SUCCESS
>> [2.164s]
>> [INFO] JAX-RS Windows API  SUCCESS
>> [2.418s]
>> [INFO] JAX-RS Android API  SUCCESS
>> [1.076s]
>> [INFO] WSO2 Connected Device Manager (CDM) - P2 Profile Gen  FAILURE
>> [18.229s]
>> [INFO] WSO2 Connected Device Manager (CDM) - Distribution  SKIPPED
>> [INFO] WSO2 CDM - Integration Tests .. SKIPPED
>> [INFO] WSO2 CDM Integration Test Common .. SKIPPED
>> [INFO] WSO2 CDM - Integration Admin Clients .. SKIPPED
>> [INFO] WSO2 CDM - Integration Test Utils . SKIPPED
>> [INFO] WSO2 CDM - Integration Test Ui Pages .. SKIPPED
>> [INFO]
>> 
>> [INFO] BUILD FAILURE
>> [INFO]
>> 
>> [INFO] Total time: 45.552s
>> [INFO] Finished at: Mon Jan 19 09:31:09 IST 2015
>> [INFO] Final Memory: 136M/1979M
>> [INFO]
>> 
>> [ERROR] Failed to execute goal
>> org.wso2.maven:carbon-p2-plugin:1.5.4:p2-profile-gen
>> (3-p2-profile-generation) on project wso2cdm-profile-gen: P2 publisher
>> return code was 13 -> [Help 1]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>> [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>> [ERR

Re: [Dev] Renaming "configurations.xml" as "ServerLifeCycle.xml" causes build failures in CDM P2 profile

2015-01-18 Thread Prabath Abeysekera
Thanks Pulasthi!

Cheers,
Prabath

On Mon, Jan 19, 2015 at 10:57 AM, Pulasthi Supun  wrote:

> Hi Harshan,
>
> The last Jenkins build that ran a moment ago was successful. The changes
> should be in nexus now.
>
> Best Regards,
> Pulasthi
>
> On Mon, Jan 19, 2015 at 10:52 AM, Harshan Liyanage 
> wrote:
>
>> Hi Pulasthi,
>>
>> It worked after I build the carbon-governance artifact locally. It must
>> be an issue with Jenkins build.
>>
>> Thanks,
>>
>> Lakshitha Harshan
>> Software Engineer
>> Mobile: *+94724423048*
>> Email: hars...@wso2.com
>> Blog : http://harshanliyanage.blogspot.com/
>> *WSO2, Inc. :** wso2.com *
>> lean.enterprise.middleware.
>>
>> On Mon, Jan 19, 2015 at 10:20 AM, Pulasthi Supun 
>> wrote:
>>
>>> Hi Harshan,
>>>
>>> It seems that the Jenkins build is failing due to intermittent issue in
>>> Jenkins. That's why the changes are not in the nexus repo
>>>
>>> @Maheshika can you trigger a new build on carbon-governance.
>>>
>>> Best Regards,
>>> Pulasthi
>>>
>>> On Mon, Jan 19, 2015 at 10:06 AM, Harshan Liyanage 
>>> wrote:
>>>
 Hi Pulasthi,

 I'm still getting following the error when building the product. Could
 you please look into this?

 Installing
 org.wso2.carbon.governance.lifecycle.management.feature.group
 4.3.0.SNAPSHOT.
 Installation failed.
 An error occurred while configuring the installed items
  session context was:(profile=default,
 phase=org.eclipse.equinox.internal.p2.engine.phases.Configure, operand=null
 --> [R]org.wso2.carbon.governance.lifecycle.management.server.feature.group
 4.3.0.SNAPSHOT,
 action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CopyAction).
  I/O Error while copying
 /media/harshan/259f30ef-f1ea-4814-b37d-373af851aa09/harshan/development/cdm/cdm-new/product-cdm/product/modules/p2-profile-gen/target/
 *wso2carbon-core-4.3.0*/repository/components/default/../features/org.wso2.carbon.governance.lifecycle.management.server_4.3.0.SNAPSHOT/lifecycles/configurations.xml
 - see details.
 Caused by:  java.io.IOException: Source:
 /media/harshan/259f30ef-f1ea-4814-b37d-373af851aa09/harshan/development/cdm/cdm-new/product-cdm/product/modules/p2-profile-gen/target/wso2carbon-core-4.3.0/repository/components/default/../features/org.wso2.carbon.governance.lifecycle.management.server_4.3.0.SNAPSHOT/lifecycles/configurations.xmldoes
 not exists
 Application failed, log file location:
 /home/harshan/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1421640058775.log

 [INFO]
 
 [INFO] Reactor Summary:
 [INFO]
 [INFO] WSO2 CDM - Parent . SUCCESS
 [1.146s]
 [INFO] WSO2 Carbon - Device Management Component . SUCCESS
 [0.029s]
 [INFO] WSO2 Carbon - Device Management Commons ... SUCCESS
 [2.697s]
 [INFO] WSO2 Carbon - Device Management Core .. SUCCESS
 [5.330s]
 [INFO] WSO2 Carbon - Mobile Device Management Impl ... SUCCESS
 [8.036s]
 [INFO] WSO2 Carbon - Policy Management Component . SUCCESS
 [0.041s]
 [INFO] WSO2 Carbon - Policy Management Common  SUCCESS
 [0.676s]
 [INFO] WSO2 Carbon - Policy Management Core .. SUCCESS
 [0.792s]
 [INFO] WSO2 Carbon - Policy Decision Point ... SUCCESS
 [0.184s]
 [INFO] WSO2 Carbon - Device Management Feature ... SUCCESS
 [0.021s]
 [INFO] WSO2 Carbon - Device Management Server Feature  SUCCESS
 [0.731s]
 [INFO] WSO2 Carbon - Mobile Implementation of Device Management
  SUCCESS [0.990s]
 [INFO] WSO2 Carbon - Policy Management Feature ... SUCCESS
 [0.014s]
 [INFO] WSO2 Carbon - Policy Management Server Feature  SUCCESS
 [0.236s]
 [INFO] WSO2 Connected Device Manager (CDM) - Parent .. SUCCESS
 [0.019s]
 [INFO] WSO2 CDM REST API . SUCCESS
 [2.164s]
 [INFO] JAX-RS Windows API  SUCCESS
 [2.418s]
 [INFO] JAX-RS Android API  SUCCESS
 [1.076s]
 [INFO] WSO2 Connected Device Manager (CDM) - P2 Profile Gen  FAILURE
 [18.229s]
 [INFO] WSO2 Connected Device Manager (CDM) - Distribution  SKIPPED
 [INFO] WSO2 CDM - Integration Tests .. SKIPPED
 [INFO] WSO2 CDM Integration Test Common .. SKIPPED
 [INFO] WSO2 CDM - Integration Admin Clients .. SKIPPED
 [INFO] WSO2 CDM - Integration Test Utils . SKIPPED
 [INFO] WSO2 CDM - Integration Test Ui Pages .. SKIPPED
 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 

Re: [Dev] Renaming "configurations.xml" as "ServerLifeCycle.xml" causes build failures in CDM P2 profile

2015-01-18 Thread Pulasthi Supun
Hi Harshan,

The last Jenkins build that ran a moment ago was successful. The changes
should be in nexus now.

Best Regards,
Pulasthi

On Mon, Jan 19, 2015 at 10:52 AM, Harshan Liyanage  wrote:

> Hi Pulasthi,
>
> It worked after I build the carbon-governance artifact locally. It must be
> an issue with Jenkins build.
>
> Thanks,
>
> Lakshitha Harshan
> Software Engineer
> Mobile: *+94724423048*
> Email: hars...@wso2.com
> Blog : http://harshanliyanage.blogspot.com/
> *WSO2, Inc. :** wso2.com *
> lean.enterprise.middleware.
>
> On Mon, Jan 19, 2015 at 10:20 AM, Pulasthi Supun 
> wrote:
>
>> Hi Harshan,
>>
>> It seems that the Jenkins build is failing due to intermittent issue in
>> Jenkins. That's why the changes are not in the nexus repo
>>
>> @Maheshika can you trigger a new build on carbon-governance.
>>
>> Best Regards,
>> Pulasthi
>>
>> On Mon, Jan 19, 2015 at 10:06 AM, Harshan Liyanage 
>> wrote:
>>
>>> Hi Pulasthi,
>>>
>>> I'm still getting following the error when building the product. Could
>>> you please look into this?
>>>
>>> Installing org.wso2.carbon.governance.lifecycle.management.feature.group
>>> 4.3.0.SNAPSHOT.
>>> Installation failed.
>>> An error occurred while configuring the installed items
>>>  session context was:(profile=default,
>>> phase=org.eclipse.equinox.internal.p2.engine.phases.Configure, operand=null
>>> --> [R]org.wso2.carbon.governance.lifecycle.management.server.feature.group
>>> 4.3.0.SNAPSHOT,
>>> action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CopyAction).
>>>  I/O Error while copying
>>> /media/harshan/259f30ef-f1ea-4814-b37d-373af851aa09/harshan/development/cdm/cdm-new/product-cdm/product/modules/p2-profile-gen/target/
>>> *wso2carbon-core-4.3.0*/repository/components/default/../features/org.wso2.carbon.governance.lifecycle.management.server_4.3.0.SNAPSHOT/lifecycles/configurations.xml
>>> - see details.
>>> Caused by:  java.io.IOException: Source:
>>> /media/harshan/259f30ef-f1ea-4814-b37d-373af851aa09/harshan/development/cdm/cdm-new/product-cdm/product/modules/p2-profile-gen/target/wso2carbon-core-4.3.0/repository/components/default/../features/org.wso2.carbon.governance.lifecycle.management.server_4.3.0.SNAPSHOT/lifecycles/configurations.xmldoes
>>> not exists
>>> Application failed, log file location:
>>> /home/harshan/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1421640058775.log
>>>
>>> [INFO]
>>> 
>>> [INFO] Reactor Summary:
>>> [INFO]
>>> [INFO] WSO2 CDM - Parent . SUCCESS
>>> [1.146s]
>>> [INFO] WSO2 Carbon - Device Management Component . SUCCESS
>>> [0.029s]
>>> [INFO] WSO2 Carbon - Device Management Commons ... SUCCESS
>>> [2.697s]
>>> [INFO] WSO2 Carbon - Device Management Core .. SUCCESS
>>> [5.330s]
>>> [INFO] WSO2 Carbon - Mobile Device Management Impl ... SUCCESS
>>> [8.036s]
>>> [INFO] WSO2 Carbon - Policy Management Component . SUCCESS
>>> [0.041s]
>>> [INFO] WSO2 Carbon - Policy Management Common  SUCCESS
>>> [0.676s]
>>> [INFO] WSO2 Carbon - Policy Management Core .. SUCCESS
>>> [0.792s]
>>> [INFO] WSO2 Carbon - Policy Decision Point ... SUCCESS
>>> [0.184s]
>>> [INFO] WSO2 Carbon - Device Management Feature ... SUCCESS
>>> [0.021s]
>>> [INFO] WSO2 Carbon - Device Management Server Feature  SUCCESS
>>> [0.731s]
>>> [INFO] WSO2 Carbon - Mobile Implementation of Device Management  SUCCESS
>>> [0.990s]
>>> [INFO] WSO2 Carbon - Policy Management Feature ... SUCCESS
>>> [0.014s]
>>> [INFO] WSO2 Carbon - Policy Management Server Feature  SUCCESS
>>> [0.236s]
>>> [INFO] WSO2 Connected Device Manager (CDM) - Parent .. SUCCESS
>>> [0.019s]
>>> [INFO] WSO2 CDM REST API . SUCCESS
>>> [2.164s]
>>> [INFO] JAX-RS Windows API  SUCCESS
>>> [2.418s]
>>> [INFO] JAX-RS Android API  SUCCESS
>>> [1.076s]
>>> [INFO] WSO2 Connected Device Manager (CDM) - P2 Profile Gen  FAILURE
>>> [18.229s]
>>> [INFO] WSO2 Connected Device Manager (CDM) - Distribution  SKIPPED
>>> [INFO] WSO2 CDM - Integration Tests .. SKIPPED
>>> [INFO] WSO2 CDM Integration Test Common .. SKIPPED
>>> [INFO] WSO2 CDM - Integration Admin Clients .. SKIPPED
>>> [INFO] WSO2 CDM - Integration Test Utils . SKIPPED
>>> [INFO] WSO2 CDM - Integration Test Ui Pages .. SKIPPED
>>> [INFO]
>>> 
>>> [INFO] BUILD FAILURE
>>> [INFO]
>>> 
>>> [INFO] Total time: 45.552s
>>> [INFO] Finished at: Mon Jan 19 09:31:09 IST 2015
>>> [INFO] Final Memory: 136M/1979M
>>> [INFO]
>>> 

Re: [Dev] Renaming "configurations.xml" as "ServerLifeCycle.xml" causes build failures in CDM P2 profile

2015-01-18 Thread Harshan Liyanage
Hi Pulasthi,

It worked after I build the carbon-governance artifact locally. It must be
an issue with Jenkins build.

Thanks,

Lakshitha Harshan
Software Engineer
Mobile: *+94724423048*
Email: hars...@wso2.com
Blog : http://harshanliyanage.blogspot.com/
*WSO2, Inc. :** wso2.com *
lean.enterprise.middleware.

On Mon, Jan 19, 2015 at 10:20 AM, Pulasthi Supun  wrote:

> Hi Harshan,
>
> It seems that the Jenkins build is failing due to intermittent issue in
> Jenkins. That's why the changes are not in the nexus repo
>
> @Maheshika can you trigger a new build on carbon-governance.
>
> Best Regards,
> Pulasthi
>
> On Mon, Jan 19, 2015 at 10:06 AM, Harshan Liyanage 
> wrote:
>
>> Hi Pulasthi,
>>
>> I'm still getting following the error when building the product. Could
>> you please look into this?
>>
>> Installing org.wso2.carbon.governance.lifecycle.management.feature.group
>> 4.3.0.SNAPSHOT.
>> Installation failed.
>> An error occurred while configuring the installed items
>>  session context was:(profile=default,
>> phase=org.eclipse.equinox.internal.p2.engine.phases.Configure, operand=null
>> --> [R]org.wso2.carbon.governance.lifecycle.management.server.feature.group
>> 4.3.0.SNAPSHOT,
>> action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CopyAction).
>>  I/O Error while copying
>> /media/harshan/259f30ef-f1ea-4814-b37d-373af851aa09/harshan/development/cdm/cdm-new/product-cdm/product/modules/p2-profile-gen/target/
>> *wso2carbon-core-4.3.0*/repository/components/default/../features/org.wso2.carbon.governance.lifecycle.management.server_4.3.0.SNAPSHOT/lifecycles/configurations.xml
>> - see details.
>> Caused by:  java.io.IOException: Source:
>> /media/harshan/259f30ef-f1ea-4814-b37d-373af851aa09/harshan/development/cdm/cdm-new/product-cdm/product/modules/p2-profile-gen/target/wso2carbon-core-4.3.0/repository/components/default/../features/org.wso2.carbon.governance.lifecycle.management.server_4.3.0.SNAPSHOT/lifecycles/configurations.xmldoes
>> not exists
>> Application failed, log file location:
>> /home/harshan/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1421640058775.log
>>
>> [INFO]
>> 
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] WSO2 CDM - Parent . SUCCESS
>> [1.146s]
>> [INFO] WSO2 Carbon - Device Management Component . SUCCESS
>> [0.029s]
>> [INFO] WSO2 Carbon - Device Management Commons ... SUCCESS
>> [2.697s]
>> [INFO] WSO2 Carbon - Device Management Core .. SUCCESS
>> [5.330s]
>> [INFO] WSO2 Carbon - Mobile Device Management Impl ... SUCCESS
>> [8.036s]
>> [INFO] WSO2 Carbon - Policy Management Component . SUCCESS
>> [0.041s]
>> [INFO] WSO2 Carbon - Policy Management Common  SUCCESS
>> [0.676s]
>> [INFO] WSO2 Carbon - Policy Management Core .. SUCCESS
>> [0.792s]
>> [INFO] WSO2 Carbon - Policy Decision Point ... SUCCESS
>> [0.184s]
>> [INFO] WSO2 Carbon - Device Management Feature ... SUCCESS
>> [0.021s]
>> [INFO] WSO2 Carbon - Device Management Server Feature  SUCCESS
>> [0.731s]
>> [INFO] WSO2 Carbon - Mobile Implementation of Device Management  SUCCESS
>> [0.990s]
>> [INFO] WSO2 Carbon - Policy Management Feature ... SUCCESS
>> [0.014s]
>> [INFO] WSO2 Carbon - Policy Management Server Feature  SUCCESS
>> [0.236s]
>> [INFO] WSO2 Connected Device Manager (CDM) - Parent .. SUCCESS
>> [0.019s]
>> [INFO] WSO2 CDM REST API . SUCCESS
>> [2.164s]
>> [INFO] JAX-RS Windows API  SUCCESS
>> [2.418s]
>> [INFO] JAX-RS Android API  SUCCESS
>> [1.076s]
>> [INFO] WSO2 Connected Device Manager (CDM) - P2 Profile Gen  FAILURE
>> [18.229s]
>> [INFO] WSO2 Connected Device Manager (CDM) - Distribution  SKIPPED
>> [INFO] WSO2 CDM - Integration Tests .. SKIPPED
>> [INFO] WSO2 CDM Integration Test Common .. SKIPPED
>> [INFO] WSO2 CDM - Integration Admin Clients .. SKIPPED
>> [INFO] WSO2 CDM - Integration Test Utils . SKIPPED
>> [INFO] WSO2 CDM - Integration Test Ui Pages .. SKIPPED
>> [INFO]
>> 
>> [INFO] BUILD FAILURE
>> [INFO]
>> 
>> [INFO] Total time: 45.552s
>> [INFO] Finished at: Mon Jan 19 09:31:09 IST 2015
>> [INFO] Final Memory: 136M/1979M
>> [INFO]
>> 
>> [ERROR] Failed to execute goal
>> org.wso2.maven:carbon-p2-plugin:1.5.4:p2-profile-gen
>> (3-p2-profile-generation) on project wso2cdm-profile-gen: P2 publisher
>> return code was 13 -> [Help 1]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e switch.
>> [ERROR] Re

Re: [Dev] Passing P2 repo URL as a parameter while writing a test case

2015-01-18 Thread Krishantha Samaraweera
Hi,

Please refer [1]. There's a separate section in automation.xml to define p2
repositories and you can get the values though AutomationContext.





https://wso2.org/repo
file:///home/krishantha/test




Thanks,
Krishantha.

[1]https://docs.wso2.com/display/TA430/Automation.xml+File

On Mon, Jan 19, 2015 at 10:13 AM, Nipuni Perera  wrote:

> Hi,
>
> I am writing tests for the fix, implemented to resolve[1]. This fixes the
> issues with feature management and I am using p2 repo URL[2] for the test
> case. Is it possible to parameterize this p2 repo URL instead using a
> hard-coded value?
>
> [1] https://wso2.org/jira/browse/CARBON-15127
> [2] http://dist.wso2.org/p2/carbon/releases/turing/
>
> Thanks,
> Nipuni
> --
> Nipuni Perera
> Software Engineer; WSO2 Inc.; http://wso2.com
> Email: nip...@wso2.com
> Git hub profile: https://github.com/nipuni
> Blog : http://nipunipererablog.blogspot.com/
> Mobile: +94 (71) 5626680
> 
>
>


-- 
Krishantha Samaraweera
Senior Technical Lead - Test Automation
Mobile: +94 77 7759918
WSO2, Inc.; http://wso2.com/
lean . enterprise . middlewear.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Renaming "configurations.xml" as "ServerLifeCycle.xml" causes build failures in CDM P2 profile

2015-01-18 Thread Pulasthi Supun
Hi Harshan,

It seems that the Jenkins build is failing due to intermittent issue in
Jenkins. That's why the changes are not in the nexus repo

@Maheshika can you trigger a new build on carbon-governance.

Best Regards,
Pulasthi

On Mon, Jan 19, 2015 at 10:06 AM, Harshan Liyanage  wrote:

> Hi Pulasthi,
>
> I'm still getting following the error when building the product. Could you
> please look into this?
>
> Installing org.wso2.carbon.governance.lifecycle.management.feature.group
> 4.3.0.SNAPSHOT.
> Installation failed.
> An error occurred while configuring the installed items
>  session context was:(profile=default,
> phase=org.eclipse.equinox.internal.p2.engine.phases.Configure, operand=null
> --> [R]org.wso2.carbon.governance.lifecycle.management.server.feature.group
> 4.3.0.SNAPSHOT,
> action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CopyAction).
>  I/O Error while copying
> /media/harshan/259f30ef-f1ea-4814-b37d-373af851aa09/harshan/development/cdm/cdm-new/product-cdm/product/modules/p2-profile-gen/target/
> *wso2carbon-core-4.3.0*/repository/components/default/../features/org.wso2.carbon.governance.lifecycle.management.server_4.3.0.SNAPSHOT/lifecycles/configurations.xml
> - see details.
> Caused by:  java.io.IOException: Source:
> /media/harshan/259f30ef-f1ea-4814-b37d-373af851aa09/harshan/development/cdm/cdm-new/product-cdm/product/modules/p2-profile-gen/target/wso2carbon-core-4.3.0/repository/components/default/../features/org.wso2.carbon.governance.lifecycle.management.server_4.3.0.SNAPSHOT/lifecycles/configurations.xmldoes
> not exists
> Application failed, log file location:
> /home/harshan/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1421640058775.log
>
> [INFO]
> 
> [INFO] Reactor Summary:
> [INFO]
> [INFO] WSO2 CDM - Parent . SUCCESS [1.146s]
> [INFO] WSO2 Carbon - Device Management Component . SUCCESS [0.029s]
> [INFO] WSO2 Carbon - Device Management Commons ... SUCCESS [2.697s]
> [INFO] WSO2 Carbon - Device Management Core .. SUCCESS [5.330s]
> [INFO] WSO2 Carbon - Mobile Device Management Impl ... SUCCESS [8.036s]
> [INFO] WSO2 Carbon - Policy Management Component . SUCCESS [0.041s]
> [INFO] WSO2 Carbon - Policy Management Common  SUCCESS [0.676s]
> [INFO] WSO2 Carbon - Policy Management Core .. SUCCESS [0.792s]
> [INFO] WSO2 Carbon - Policy Decision Point ... SUCCESS [0.184s]
> [INFO] WSO2 Carbon - Device Management Feature ... SUCCESS [0.021s]
> [INFO] WSO2 Carbon - Device Management Server Feature  SUCCESS [0.731s]
> [INFO] WSO2 Carbon - Mobile Implementation of Device Management  SUCCESS
> [0.990s]
> [INFO] WSO2 Carbon - Policy Management Feature ... SUCCESS [0.014s]
> [INFO] WSO2 Carbon - Policy Management Server Feature  SUCCESS [0.236s]
> [INFO] WSO2 Connected Device Manager (CDM) - Parent .. SUCCESS [0.019s]
> [INFO] WSO2 CDM REST API . SUCCESS [2.164s]
> [INFO] JAX-RS Windows API  SUCCESS [2.418s]
> [INFO] JAX-RS Android API  SUCCESS [1.076s]
> [INFO] WSO2 Connected Device Manager (CDM) - P2 Profile Gen  FAILURE
> [18.229s]
> [INFO] WSO2 Connected Device Manager (CDM) - Distribution  SKIPPED
> [INFO] WSO2 CDM - Integration Tests .. SKIPPED
> [INFO] WSO2 CDM Integration Test Common .. SKIPPED
> [INFO] WSO2 CDM - Integration Admin Clients .. SKIPPED
> [INFO] WSO2 CDM - Integration Test Utils . SKIPPED
> [INFO] WSO2 CDM - Integration Test Ui Pages .. SKIPPED
> [INFO]
> 
> [INFO] BUILD FAILURE
> [INFO]
> 
> [INFO] Total time: 45.552s
> [INFO] Finished at: Mon Jan 19 09:31:09 IST 2015
> [INFO] Final Memory: 136M/1979M
> [INFO]
> 
> [ERROR] Failed to execute goal
> org.wso2.maven:carbon-p2-plugin:1.5.4:p2-profile-gen
> (3-p2-profile-generation) on project wso2cdm-profile-gen: P2 publisher
> return code was 13 -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn  -rf :wso2cdm-profile-gen
>
> Thanks,
>
> Lakshitha Harshan
> Software Engineer
> Mobile: *+94724423048*
> Email: hars...@wso2.com
> Blog : http://

[Dev] [CDM] Conversion of common.Device and core.Device

2015-01-18 Thread Dulitha Wijewantha
Hi guys,
I am reading through the code and I came across 2 types of objects. One is
common.Device and the other is core.Device. As I understood the
common.Device is the business object (POJO) and core.Device is the DTO. I
found a convertDevice() method in DeviceManagementDAOUtil which converts
the business object to a DTO object.

I have implemented a getDevices by type method which returns DTO objects. I
will implement convertDevice method that converts DTOs to Business objects.

Cheers~

-- 
Dulitha Wijewantha (Chan)
Software Engineer - Mobile Development
WSO2 Inc
Lean.Enterprise.Mobileware
 * ~Email   duli...@wso2.com *
*  ~Mobile +94712112165*
*  ~Website   dulitha.me *
*  ~Twitter @dulitharw *
  *~Github @dulichan *
  *~SO @chan *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Passing P2 repo URL as a parameter while writing a test case

2015-01-18 Thread Nipuni Perera
Hi,

I am writing tests for the fix, implemented to resolve[1]. This fixes the
issues with feature management and I am using p2 repo URL[2] for the test
case. Is it possible to parameterize this p2 repo URL instead using a
hard-coded value?

[1] https://wso2.org/jira/browse/CARBON-15127
[2] http://dist.wso2.org/p2/carbon/releases/turing/

Thanks,
Nipuni
-- 
Nipuni Perera
Software Engineer; WSO2 Inc.; http://wso2.com
Email: nip...@wso2.com
Git hub profile: https://github.com/nipuni
Blog : http://nipunipererablog.blogspot.com/
Mobile: +94 (71) 5626680

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


Re: [Dev] Renaming "configurations.xml" as "ServerLifeCycle.xml" causes build failures in CDM P2 profile

2015-01-18 Thread Harshan Liyanage
Hi Pulasthi,

I'm still getting following the error when building the product. Could you
please look into this?

Installing org.wso2.carbon.governance.lifecycle.management.feature.group
4.3.0.SNAPSHOT.
Installation failed.
An error occurred while configuring the installed items
 session context was:(profile=default,
phase=org.eclipse.equinox.internal.p2.engine.phases.Configure, operand=null
--> [R]org.wso2.carbon.governance.lifecycle.management.server.feature.group
4.3.0.SNAPSHOT,
action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CopyAction).
 I/O Error while copying
/media/harshan/259f30ef-f1ea-4814-b37d-373af851aa09/harshan/development/cdm/cdm-new/product-cdm/product/modules/p2-profile-gen/target/
*wso2carbon-core-4.3.0*/repository/components/default/../features/org.wso2.carbon.governance.lifecycle.management.server_4.3.0.SNAPSHOT/lifecycles/configurations.xml
- see details.
Caused by:  java.io.IOException: Source:
/media/harshan/259f30ef-f1ea-4814-b37d-373af851aa09/harshan/development/cdm/cdm-new/product-cdm/product/modules/p2-profile-gen/target/wso2carbon-core-4.3.0/repository/components/default/../features/org.wso2.carbon.governance.lifecycle.management.server_4.3.0.SNAPSHOT/lifecycles/configurations.xmldoes
not exists
Application failed, log file location:
/home/harshan/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1421640058775.log

[INFO]

[INFO] Reactor Summary:
[INFO]
[INFO] WSO2 CDM - Parent . SUCCESS [1.146s]
[INFO] WSO2 Carbon - Device Management Component . SUCCESS [0.029s]
[INFO] WSO2 Carbon - Device Management Commons ... SUCCESS [2.697s]
[INFO] WSO2 Carbon - Device Management Core .. SUCCESS [5.330s]
[INFO] WSO2 Carbon - Mobile Device Management Impl ... SUCCESS [8.036s]
[INFO] WSO2 Carbon - Policy Management Component . SUCCESS [0.041s]
[INFO] WSO2 Carbon - Policy Management Common  SUCCESS [0.676s]
[INFO] WSO2 Carbon - Policy Management Core .. SUCCESS [0.792s]
[INFO] WSO2 Carbon - Policy Decision Point ... SUCCESS [0.184s]
[INFO] WSO2 Carbon - Device Management Feature ... SUCCESS [0.021s]
[INFO] WSO2 Carbon - Device Management Server Feature  SUCCESS [0.731s]
[INFO] WSO2 Carbon - Mobile Implementation of Device Management  SUCCESS
[0.990s]
[INFO] WSO2 Carbon - Policy Management Feature ... SUCCESS [0.014s]
[INFO] WSO2 Carbon - Policy Management Server Feature  SUCCESS [0.236s]
[INFO] WSO2 Connected Device Manager (CDM) - Parent .. SUCCESS [0.019s]
[INFO] WSO2 CDM REST API . SUCCESS [2.164s]
[INFO] JAX-RS Windows API  SUCCESS [2.418s]
[INFO] JAX-RS Android API  SUCCESS [1.076s]
[INFO] WSO2 Connected Device Manager (CDM) - P2 Profile Gen  FAILURE
[18.229s]
[INFO] WSO2 Connected Device Manager (CDM) - Distribution  SKIPPED
[INFO] WSO2 CDM - Integration Tests .. SKIPPED
[INFO] WSO2 CDM Integration Test Common .. SKIPPED
[INFO] WSO2 CDM - Integration Admin Clients .. SKIPPED
[INFO] WSO2 CDM - Integration Test Utils . SKIPPED
[INFO] WSO2 CDM - Integration Test Ui Pages .. SKIPPED
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 45.552s
[INFO] Finished at: Mon Jan 19 09:31:09 IST 2015
[INFO] Final Memory: 136M/1979M
[INFO]

[ERROR] Failed to execute goal
org.wso2.maven:carbon-p2-plugin:1.5.4:p2-profile-gen
(3-p2-profile-generation) on project wso2cdm-profile-gen: P2 publisher
return code was 13 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn  -rf :wso2cdm-profile-gen

Thanks,

Lakshitha Harshan
Software Engineer
Mobile: *+94724423048*
Email: hars...@wso2.com
Blog : http://harshanliyanage.blogspot.com/
*WSO2, Inc. :** wso2.com *
lean.enterprise.middleware.

On Mon, Jan 19, 2015 at 12:37 AM, Pulasthi Supun  wrote:

> Hi Prabath
>
> Pushed the changes into wso2 repo.
>
> Best Regards,
> Pulasthi
>
> On Sun, Jan 18, 2015 at 6:12 PM, Prabath Abeysekera 
> wrote:
>
>> Hi Pulasthi,
>>
>> Commit [1] causes CDM P2 profile to fail as [2] still refers to the older
>> configuration file, which is "configuration.xml". Pleas

[Dev] "Sample 152: Switching Transports and Message Format from SOAP to REST POX" doesn't make sence

2015-01-18 Thread Manuranga Perera
In [1] sample we are converting soap message to a pox. according to doc
"The REST/POX response is now transformed back into a SOAP message and
returned to the client."

but looking at the response (at the end of the doc) you can see it doesn't
have a . so it's not covered to SOAP.

Is this a bug? if not, please help me to understand why this is the correct
behavior.
(btw, I was able to get the expected behavior by adding )


[1]
https://docs.wso2.com/display/ESB480/Sample+152%3A+Switching+Transports+and+Message+Format+from+SOAP+to+REST+POX

-- 
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] possibility of use WSO2 ELB with non WSO2 products

2015-01-18 Thread Udara Liyanage
Hi,

WSO2 ELB identifies its members when the members sent the join messages
with their hostname. It uses tribes clustering to discover its members.
Since JBoss does not use tribes clustering, I think jboss servers can not
be load balanced by WSO2 ELB.

However you can statically configure Stratos LB to load balance jboss
servers. It supports only HTTP/S load balancing only.

On Fri, Jan 16, 2015 at 1:00 PM, Akila Nimantha [IT/EKO/LOITS] <
aki...@lolctech.com> wrote:

>  Hi all,
>
>
>
> Is it possible to use wso2 ELB with non wso2 products like jboss(app
> server).
>
>
>
> Regards,
>
> Akila
>
> This message (including any attachments) is intended only for the use of
> the individual or entity to which it is addressed and may contain
> information that is non-public, proprietary, privileged, confidential, and
> exempt from disclosure under applicable law or may constitute as attorney
> work product. If you are not the intended recipient, you are hereby
> notified that any use, dissemination, distribution, or copying of this
> communication is strictly prohibited. If you have received this
> communication in error, notify us immediately by telephone and (i) destroy
> this message if a facsimile or (ii) delete this message immediately if this
> is an electronic communication. Thank you.
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] SSO component in Enterprise Store

2015-01-18 Thread Dulitha Wijewantha
+1 for that idea. Currently, carbon js module [1] can be installed as a
feature. I believe the SSO module should be isolated into a feature where
the relevant component as well the js module is packaged.

[1] - carbon.feature.version

On Sat, Jan 17, 2015 at 9:04 AM, Prabath Abeysekera 
wrote:

> If this a re-usable component, why don't we take it out of the store
> specific bits and make it available a separate feature?
>
> Cheers,
> Prabath
>
> On Fri, Jan 16, 2015 at 3:10 PM, Dulitha Wijewantha 
> wrote:
>
>> Hi guys,
>> There is a component called org.wso2.store.sso.common [1] in Enterprise
>> store that is used by the sso jaggery module. This is bundled with the
>> Store feature in ES. How can we add this component to CDM?
>>
>> [1] -
>> https://github.com/wso2/product-es/tree/master/modules/components/sso-common
>>
>> Cheers~
>>
>> --
>> Dulitha Wijewantha (Chan)
>> Software Engineer - Mobile Development
>> WSO2 Inc
>> Lean.Enterprise.Mobileware
>>  * ~Email   duli...@wso2.com *
>> *  ~Mobile +94712112165 <%2B94712112165>*
>> *  ~Website   dulitha.me *
>> *  ~Twitter @dulitharw *
>>   *~Github @dulichan *
>>   *~SO @chan *
>>
>
>
>
> --
> Prabath Abeysekara
> Associate Technical Lead, Data TG.
> WSO2 Inc.
> Email: praba...@wso2.com
> Mobile: +94774171471
>



-- 
Dulitha Wijewantha (Chan)
Software Engineer - Mobile Development
WSO2 Inc
Lean.Enterprise.Mobileware
 * ~Email   duli...@wso2.com *
*  ~Mobile +94712112165*
*  ~Website   dulitha.me *
*  ~Twitter @dulitharw *
  *~Github @dulichan *
  *~SO @chan *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Renaming "configurations.xml" as "ServerLifeCycle.xml" causes build failures in CDM P2 profile

2015-01-18 Thread Pulasthi Supun
Hi Prabath

Pushed the changes into wso2 repo.

Best Regards,
Pulasthi

On Sun, Jan 18, 2015 at 6:12 PM, Prabath Abeysekera 
wrote:

> Hi Pulasthi,
>
> Commit [1] causes CDM P2 profile to fail as [2] still refers to the older
> configuration file, which is "configuration.xml". Please fix as appropriate.
>
> [1]
> https://github.com/wso2/carbon-governance/commit/56e21fcaacc982d5a59ece1678f6e98c984a778e
>
> [2]
> https://github.com/wso2/carbon-governance/blob/master/features/lifecycle-management/org.wso2.carbon.governance.lifecycle.management.server.feature/resources/p2.inf
>
>
> Cheers,
> Prabath
> --
> Prabath Abeysekara
> Associate Technical Lead, Data TG.
> WSO2 Inc.
> Email: praba...@wso2.com
> Mobile: +94774171471
>



-- 
--
Pulasthi Supun
Software Engineer; WSO2 Inc.; http://wso2.com,
Email: pulas...@wso2.com
Mobile: +94 (71) 9258281
Blog : http://pulasthisupun.blogspot.com/
Git hub profile: https://github.com/pulasthi
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [IS] Making authenticationendpoint webapp customizable

2015-01-18 Thread Malithi Edirisinghe
Hi All,

I'm working on $subject with regard to JIRA [1] and [2].

The existing authenticationendpoint webapp contains an
AuthenticationEndpoint servlet that maps for '\login.do' and 'retry.do' url
patterns and four other servlets; SAMLSSOLogin, OpenIDLogin, OAuth2Login
and PassiveSTSLogin. Each controls requests on that type.
One such scenario is as below.



So I see three approaches to make this app more configurable and
customizable.

*Approach 1:*
Replace each servlet mentioned above with a JSP such that the JSP will work
as a controller.
Allow to define custom page configurations for any url pattern from the
authenticationendpoint web.xml via servlet context parameters. They could
be either application specific or global.
Application Specific:

OauthSP-/oauth2_error.do

http://localhost:8080/customauthenticationendpoint/oauth2_error.do



Global:

/oauth2_error.do

http://localhost:8080/customauthenticationendpoint/oauth2_error.do


Each controller JSP will include logic to redirect, if custom page matching
the request URI exists. Thus, JSPs will include more java code and also
code duplicates.

*Approach 2:*
Have one JSP acting as a controller and map all url patterns for that in
the DD.
Allow to define custom page configurations for any url pattern from the
authenticationendpoint web.xml via servlet context parameters or servlet
init parameters.
In the existing app call to '\login.do' will finally end up with a forward
to login.jsp. But, in the middle resource is requested checking the request
parameter 'type'. So, it's also possible to differ pages as per the type.
To have that behaviour we have to map url patterns like '\samlsso_login.do'
to the same JSP and to forward in a call to '\login.do'. Here again the JSP
will include more java code.

*Approach 3:*
Implement a filter to work as the controller in the context path '\*'. Then
map each url pattern to the respective JSP in the web.xml.
Allow to define custom page configurations for any url pattern from the
authenticationendpoint web.xml via servlet context parameters.
So here, all calls will pass the filter. Hence, the filter can look for
custom configurations matching the request URI and redirect if found.
Introducing or replacing any page will be a simple configuration in the
web.xml.

Among, above three I prefer the third approach which is more clean and
configurable. Appreciate your views on this.

[1] https://wso2.org/jira/browse/IDENTITY-2977
[2] https://wso2.org/jira/browse/IDENTITY-2741

Thanks,
Malithi.

-- 

*Malithi Edirisinghe*
Senior Software Engineer
WSO2 Inc.

Mobile : +94 (0) 718176807
malit...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Urgent] [Greg] - Greg 5.0.0 server start up delays for several minutes

2015-01-18 Thread Prasanna Dangalla
Hi All,

Thanks. We'll check and update.

On Sat, Jan 17, 2015 at 9:14 PM, Pulasthi Supun  wrote:

> Hi Ruwan,
>
> Thanks, Will check with the changes.
>
> Best Regards,
> Pulasthi
>
> On Sat, Jan 17, 2015 at 9:12 PM, Ruwan Yatawara  wrote:
>
>> Hi All,
>>
>> Merged the PR.
>>
>> 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
>>
>>
>> On Sat, Jan 17, 2015 at 4:03 PM, Ruwan Yatawara  wrote:
>>
>>> Sure. Will merge. Don't have access to a computer atm. Give me a couple
>>> of hours.
>>>
>>> Regards,
>>> Ruwan
>>> On 17 Jan 2015 11:46, "Nuwan Dias"  wrote:
>>>
 @Ruwan, can you have a quick look and merge?

 On Sat, Jan 17, 2015 at 8:47 AM, Roshan Wijesena 
 wrote:

> Hi NuwanD,
>
> Please review and merge
> https://github.com/wso2-dev/carbon-apimgt/pull/16  pull request to
> wso2-dev carbon-apimgt.
>
> Regards
> Roshan.
>
> On Sat, Jan 17, 2015 at 12:28 AM, Pulasthi Supun 
> wrote:
>
>> Hi Roshan,
>>
>> Could you get someone from the API manager team to review it and
>> merge it as soon as possible. the governance lcm stub structure should be
>> accurate.
>>
>> Best Regards,
>> Pulasthi
>>
>> On Fri, Jan 16, 2015 at 10:03 PM, Roshan Wijesena 
>> wrote:
>>
>>> Hi Pulasthi,
>>>
>>> I have made a pull request for above concern [1] Please have a
>>> review on it.
>>>
>>> But I am not clear about one thing which is , "*The package
>>> structure does not have "stub*"" could you please clarify  more on
>>> the same?. Furthermore if below given pull request is wrong would it be
>>> possible to share a correct service stub repo for us to follow the same
>>> structure?. However I already  followed [2] repo structure to create my
>>>  pull request.
>>>
>>> [1] https://github.com/wso2-dev/carbon-apimgt/pull/16
>>> [2]
>>> https://github.com/wso2-dev/carbon-governance/tree/master/service-stubs/governance/org.wso2.carbon.governance.lcm.stub
>>>
>>> Thanks.
>>>
>>> Regards
>>> Roshan.
>>>
>>> On Fri, Jan 16, 2015 at 7:56 PM, Pulasthi Supun 
>>> wrote:
>>>
 Hi APIM team

 After further looking into this with sameera. we found out that the
 "org.wso2.carbon.apimgt.keymgt.stub" structure and exports are
 wrong. The package structure does not have "stub" hence it exports 
 "org.wso2.carbon.apimgt.impl.dto.xsd"
 which should be "org.wso2.carbon.apimgt.stub.impl.dto.xsd.

 And the bundle exports "org.wso2.carbon.apimgt.*" and this should
 be "org.wso2.carbon.apimgt.stub*" since this is a stub bundle.

 Can someone from the API Manager team look into this an provide the
 necessary changes as soon as possible since this is blocking the Greg 
 5.0.0
 M1 release.

 Regards,
 Pulasthi


 On Thu, Jan 15, 2015 at 5:09 PM, Prasanna Dangalla <
 prasa...@wso2.com> wrote:

> Hi apim team,
>
> Greg server hangs for several minutes after printing
>
> JAVA_HOME environment variable is set to
> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
> CARBON_HOME environment variable is set to
> /Users/prasanna/workspace/wso2/greg/git/prasanna/product-greg/modules/distribution/target/wso2greg-5.0.0-SNAPSHOT
>
> We debug in osgi console. Then we found following two apimanager
> osgi bundles were not started.
>
> 161INSTALLED   org.wso2.carbon.apimgt.core_4.3.0.SNAPSHOT
> 165INSTALLED
> org.wso2.carbon.apimgt.interceptor_4.3.0.SNAPSHOT
>
> diag 161 and diag 165 describes the following
>
> osgi> diag 161
> reference:file:../plugins/org.wso2.carbon.apimgt.core_4.3.0.SNAPSHOT.jar
> [161]
>   Package uses conflict: Import-Package:
> org.wso2.carbon.apimgt.impl; version="0.0.0"
>   Package uses conflict: Import-Package:
> org.wso2.carbon.apimgt.impl.utils; version="0.0.0"
>   Direct constraints which are unresolved:
> Missing optionally imported package
> org.wso2.carbon.apimgt.core_0.0.0.
> Missing optionally imported package
> org.wso2.carbon.apimgt.core.authenticate_0.0.0.
> Missing optionally imported package
> org.wso2.carbon.apimgt.core.gateway_0.0.0.
> Missing optionally imported package
> org.wso2.carbon.apimgt.core.internal_0.0.0.
> Missing optionally imported package
> org.wso2.carbon.apimgt.core.throttle_0.0.0.
> Missing optionally imported package
> org.

[Dev] Please merge the pull request - Making changes according to the rename of ServiceLifeCycle.xml

2015-01-18 Thread Thushara Ranawaka
Hi Pulasthi,

Please merge the PR[1].

[1] - https://github.com/wso2/carbon-governance/pull/19


-- 
Thushara Kasun Ranawaka
Software Engineer
WSO2 Inc.; 
lean.enterprise.middleware
Mobile : *+94 (0) 773438949*
*thusha...@wso2.com *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Renaming "configurations.xml" as "ServerLifeCycle.xml" causes build failures in CDM P2 profile

2015-01-18 Thread Prabath Abeysekera
Hi Pulasthi,

Commit [1] causes CDM P2 profile to fail as [2] still refers to the older
configuration file, which is "configuration.xml". Please fix as appropriate.

[1]
https://github.com/wso2/carbon-governance/commit/56e21fcaacc982d5a59ece1678f6e98c984a778e

[2]
https://github.com/wso2/carbon-governance/blob/master/features/lifecycle-management/org.wso2.carbon.governance.lifecycle.management.server.feature/resources/p2.inf


Cheers,
Prabath
-- 
Prabath Abeysekara
Associate Technical Lead, Data TG.
WSO2 Inc.
Email: praba...@wso2.com
Mobile: +94774171471
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please review and merge the pull request : New Integration Test cases for ESB

2015-01-18 Thread Vijitha Ekanayake
Hi,

Please merge pull request for ESB Samples 61,62 and Indirect and Resolving
endpoints[1] test cases.

[1] https://github.com/wso2-dev/product-esb/pull/144

-- 
Vijitha Ekanayake
Software Engineer*, *WSO2, Inc.; http://wso2.com/
Mobile : +94 777 24 73 39 | +94 718 74 44 08
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev