Re: [Dev] [C5] Expose a RESTful service in Carbon Kernel 5
Hi Pradeep, We have a poc level working implementation with Java reflections. But our idea is to write a ultra fast data binding frame work which generate java byte code at deployment time and use that to invoke JAXRS resource, not java reflection which is obviously slow. Feature wise we will follow the JAXRS specs and implement only the basic features that require to expose a JAXRS service and request/response handling. JSON will be our standard data format for request and response. It would be great if you can points out the requirements that you think we should support in our light weight implementation. Thanks, Shameera. On Fri, May 2, 2014 at 11:26 AM, Pradeep Fernando prad...@wso2.com wrote: Hi kishanthan/devs, I believe we already have the first cut implementation of that. If so shall we do a quick review. I want to see the capabilities it has right now vs things what we need... thanks On Wed, Apr 30, 2014 at 9:02 PM, Aruna Karunarathna ar...@wso2.comwrote: Thanks Kishanthan. On Wed, Apr 30, 2014 at 5:40 PM, Kishanthan Thangarajah kishant...@wso2.com wrote: Not with the latest milestone. The plan is to include this for the next milestone (a light weight RESTful admin services framework). On Wed, Apr 30, 2014 at 12:46 PM, Aruna Karunarathna ar...@wso2.comwrote: Hi all, Can we do the $subject with the current latest milestone release? Regards, -- * Aruna Sujith Karunarathna* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com -- *Kishanthan Thangarajah* Senior Software Engineer, Platform Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan* -- * Aruna Sujith Karunarathna* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Pradeep Fernando* Associate Technical Lead;WSO2 Inc.; http://wso2.com blog: http://pradeepfernando.blogspot.com m: +94776603662 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Software Engineer - WSO2 Inc.* *email: shameera AT wso2.com shame...@wso2.com , shameera AT apache.org shame...@apache.org* *phone: +9471 922 1454* *Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561 *Twitter : *https://twitter.com/Shameera_R ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [IS] IS 4.6.0 travelocity Sample not building
Hi, I am getting the following error when trying to build 4.6.0 travelocity SSO sample. [INFO] Scanning for projects... [ERROR] The build could not read 1 project - [Help 1] [ERROR] [ERROR] The project org.wso2.identity:org.wso2.sample.is.sso.agent:1.1.0 (/home/shani/sranasinghe/DevServices/StateOFAZ/customCode/sso/SSOAgentSample/pom.xml) has 1 error [ERROR] Non-resolvable parent POM for org.wso2.identity:wso2is-identity-samples-sso:4.6.0: Failure to find org.wso2.identity:wso2is-identity-samples:pom:4.6.0 in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-nexus has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ org.wso2.identity:wso2is-identity-samples-sso:4.6.0, /home/shani/sranasinghe/DevServices/StateOFAZ/customCode/sso/pom.xml, line 22, column 13 - [Help 2] [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/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException -- Thanks and Regards *,Shani Ranasinghe* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 77 2273555 linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Invitation: Code Review - ESB NTask Integration @ Fri May 2, 2014 1:30pm - 2:30pm (is...@wso2.com)
BEGIN:VCALENDAR PRODID:-//Google Inc//Google Calendar 70.9054//EN VERSION:2.0 CALSCALE:GREGORIAN METHOD:REQUEST BEGIN:VEVENT DTSTART:20140502T08Z DTEND:20140502T09Z DTSTAMP:20140502T063339Z ORGANIZER;CN=Ishan Jayawardena:mailto:is...@wso2.com UID:7ok4cgb4ossth9mmk6b225o...@google.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Malaka Silva;X-NUM-GUESTS=0:mailto:mal...@wso2.com ATTENDEE;CUTYPE=RESOURCE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TR UE;CN=LK 3rd Floor Meeting Room - Kernel;X-NUM-GUESTS=0:mailto:wso2.com_323 4323338383134353...@resource.calendar.google.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Miyuru Wanninayaka;X-NUM-GUESTS=0:mailto:miy...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Dushan Abeyruwan;X-NUM-GUESTS=0:mailto:dus...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Chanaka Fernando;X-NUM-GUESTS=0:mailto:chana...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Jeewantha Dharmaparakrama;X-NUM-GUESTS=0:mailto:jeewan...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Kasun Indrasiri;X-NUM-GUESTS=0:mailto:ka...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=dev@wso2.org;X-NUM-GUESTS=0:mailto:dev@wso2.org ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Isuru Udana;X-NUM-GUESTS=0:mailto:isu...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE ;CN=Ishan Jayawardena;X-NUM-GUESTS=0:mailto:is...@wso2.com CREATED:20140502T063339Z DESCRIPTION:Code review of ESB Ntask integration\nView your event at http:/ /www.google.com/calendar/event?action=VIEWeid=N29rNGNnYjRvc3N0aDltbWs2YjIy NW9yM3MgZGV2QHdzbzIub3Jntok=MTQjaXNoYW5Ad3NvMi5jb20wODZmNzRjNTBiNDhlNzIxNj cxMTJlYmNjOTdjMDg0MDYyNDIxMjAzctz=Asia/Colombohl=en. LAST-MODIFIED:20140502T063339Z LOCATION:LK 3rd Floor Meeting Room - Kernel SEQUENCE:0 STATUS:CONFIRMED SUMMARY:Code Review - ESB NTask Integration TRANSP:OPAQUE END:VEVENT END:VCALENDAR invite.ics Description: application/ics ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Commits] [Carbon-platform] svn commit r199557 - in carbon/platform/branches/turing/components/load-balancer: lb-endpoint/org.wso2.carbon.lb.endpoint/4.2.0/src/main/java/org/wso2/carbon/lb/e
Hi Isuru, Sorry about this, I have reverted. Cheers, *Dhanuka Ranasinghe* Senior Software Engineer WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 715381915 On Wed, Apr 30, 2014 at 11:47 AM, Isuru Udana isu...@wso2.com wrote: Hi Dhanuka, These commits were done for the already released components. Please revert these commits and commit to the unreleased versions. On Fri, Apr 4, 2014 at 2:38 PM, dhan...@wso2.com wrote: Author: dhan...@wso2.com Date: Fri Apr 4 14:38:03 2014 New Revision: 199557 URL: http://wso2.org/svn/browse/wso2?view=revrevision=199557 Log: LB-142 Added: carbon/platform/branches/turing/components/load-balancer/org.wso2.carbon.lb.common/4.2.0/src/main/java/org/wso2/carbon/lb/common/group/mgt/SessionAwareGroupManagementAgent.java Modified: carbon/platform/branches/turing/components/load-balancer/lb-endpoint/org.wso2.carbon.lb.endpoint/4.2.0/src/main/java/org/wso2/carbon/lb/endpoint/cluster/manager/ClusterDomainManagerImpl.java carbon/platform/branches/turing/components/load-balancer/lb-endpoint/org.wso2.carbon.lb.endpoint/4.2.0/src/main/java/org/wso2/carbon/lb/endpoint/endpoint/TenantAwareLoadBalanceEndpoint.java carbon/platform/branches/turing/components/load-balancer/lb-endpoint/org.wso2.carbon.lb.endpoint/4.2.0/src/main/java/org/wso2/carbon/lb/endpoint/group/mgt/GroupMgtAgentBuilder.java Modified: carbon/platform/branches/turing/components/load-balancer/lb-endpoint/org.wso2.carbon.lb.endpoint/4.2.0/src/main/java/org/wso2/carbon/lb/endpoint/cluster/manager/ClusterDomainManagerImpl.java URL: http://wso2.org/svn/browse/wso2/carbon/platform/branches/turing/components/load-balancer/lb-endpoint/org.wso2.carbon.lb.endpoint/4.2.0/src/main/java/org/wso2/carbon/lb/endpoint/cluster/manager/ClusterDomainManagerImpl.java?rev=199557r1=199556r2=199557view=diff == --- carbon/platform/branches/turing/components/load-balancer/lb-endpoint/org.wso2.carbon.lb.endpoint/4.2.0/src/main/java/org/wso2/carbon/lb/endpoint/cluster/manager/ClusterDomainManagerImpl.java (original) +++ carbon/platform/branches/turing/components/load-balancer/lb-endpoint/org.wso2.carbon.lb.endpoint/4.2.0/src/main/java/org/wso2/carbon/lb/endpoint/cluster/manager/ClusterDomainManagerImpl.java Fri Apr 4 14:38:03 2014 @@ -31,6 +31,7 @@ import org.wso2.carbon.lb.common.conf.util.Constants; import org.wso2.carbon.lb.common.conf.util.HostContext; import org.wso2.carbon.lb.common.conf.util.TenantDomainContext; +import org.wso2.carbon.lb.common.group.mgt.SessionAwareGroupManagementAgent; import org.wso2.carbon.lb.endpoint.TenantLoadBalanceMembershipHandler; import org.wso2.carbon.lb.endpoint.util.ConfigHolder; @@ -174,7 +175,7 @@ */ if (clusteringAgent.getGroupManagementAgent(domain, subDomain) == null) { -clusteringAgent.addGroupManagementAgent(new HazelcastGroupManagementAgent(), +clusteringAgent.addGroupManagementAgent(new SessionAwareGroupManagementAgent(), domain, subDomain,-1); if (log.isDebugEnabled()) { Modified: carbon/platform/branches/turing/components/load-balancer/lb-endpoint/org.wso2.carbon.lb.endpoint/4.2.0/src/main/java/org/wso2/carbon/lb/endpoint/endpoint/TenantAwareLoadBalanceEndpoint.java URL: http://wso2.org/svn/browse/wso2/carbon/platform/branches/turing/components/load-balancer/lb-endpoint/org.wso2.carbon.lb.endpoint/4.2.0/src/main/java/org/wso2/carbon/lb/endpoint/endpoint/TenantAwareLoadBalanceEndpoint.java?rev=199557r1=199556r2=199557view=diff == --- carbon/platform/branches/turing/components/load-balancer/lb-endpoint/org.wso2.carbon.lb.endpoint/4.2.0/src/main/java/org/wso2/carbon/lb/endpoint/endpoint/TenantAwareLoadBalanceEndpoint.java (original) +++ carbon/platform/branches/turing/components/load-balancer/lb-endpoint/org.wso2.carbon.lb.endpoint/4.2.0/src/main/java/org/wso2/carbon/lb/endpoint/endpoint/TenantAwareLoadBalanceEndpoint.java Fri Apr 4 14:38:03 2014 @@ -44,6 +44,7 @@ import org.wso2.carbon.lb.common.conf.LoadBalancerConfiguration; import org.wso2.carbon.lb.common.conf.util.HostContext; import org.wso2.carbon.lb.common.conf.util.TenantDomainContext; +import org.wso2.carbon.lb.common.group.mgt.SessionAwareGroupManagementAgent; import org.wso2.carbon.lb.common.util.DomainMapping; import org.wso2.carbon.lb.endpoint.TenantAwareLoadBalanceEndpointException; import org.wso2.carbon.lb.endpoint.TenantLoadBalanceMembershipHandler; @@ -142,7 +143,7 @@ throw new TenantAwareLoadBalanceEndpointException(msg, e); } } else { -groupManagementAgent = new
[Dev] [IS] IS 4.6.0 SSO sample not building
Hi, I am getting the following error when trying to build 4.6.0 travelocity SSO sample. [INFO] Scanning for projects... [ERROR] The build could not read 1 project - [Help 1] [ERROR] [ERROR] The project org.wso2.identity:org.wso2.sample.is.sso.agent:1.1.0 (/customCode/sso/SSOAgentSample/pom.xml) has 1 error [ERROR] Non-resolvable parent POM for org.wso2.identity:wso2is-identity-samples-sso:4.6.0: Failure to find org.wso2.identity:wso2is-identity-samples:pom:4.6.0 in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-nexus has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ org.wso2.identity:wso2is-identity-samples-sso:4.6.0, /customCode/sso/pom.xml, line 22, column 13 - [Help 2] [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/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException -- Thanks and Regards *,Shani Ranasinghe* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 77 2273555 linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Please apply the diff on attached to APIMANAGER-2158
Kind reminder. On Fri, Apr 25, 2014 at 3:02 PM, Chamil Jeewantha cha...@wso2.com wrote: $subject. Thanks! -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com Mobile: +94716813892 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com Mobile: +94716813892 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [IS] IS 4.6.0 SSO sample not building
Hi, It's because of missing parent pom. It's available at the parent directory from there (in svn repo), but it also depends on the its parent, and so on. As a workaround to get the sample build, I removed the parent entry from the pom.xml, and added the groupID and version separately. So the Final pom will be, project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; groupIdorg.wso2.identity/groupId version4.6.0/version modelVersion4.0.0/modelVersion artifactIdwso2is-identity-samples-sso/artifactId packagingpom/packaging nameIdentity Server : SSO Samples/name modules moduleSSOAgentSample/module /modules /project On Fri, May 2, 2014 at 12:27 PM, Shani Ranasinghe sh...@wso2.com wrote: Hi, I am getting the following error when trying to build 4.6.0 travelocity SSO sample. [INFO] Scanning for projects... [ERROR] The build could not read 1 project - [Help 1] [ERROR] [ERROR] The project org.wso2.identity:org.wso2.sample.is.sso.agent:1.1.0 (/customCode/sso/SSOAgentSample/pom.xml) has 1 error [ERROR] Non-resolvable parent POM for org.wso2.identity:wso2is-identity-samples-sso:4.6.0: Failure to find org.wso2.identity:wso2is-identity-samples:pom:4.6.0 in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-nexus has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ org.wso2.identity:wso2is-identity-samples-sso:4.6.0, /customCode/sso/pom.xml, line 22, column 13 - [Help 2] [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/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException -- Thanks and Regards *,Shani Ranasinghe* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 77 2273555 linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Pulasthi Mahawithana* Software Engineer WSO2 Inc., http://wso2.com/ Mobile: +94-71-5179022 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [IS] IS 4.6.0 travelocity Sample not building
Please find the built samples from [1]. If you want to build from source you might have to build the org.wso2.carbon.identity.sso.agent jar manually and then build the sample. The agent jar 1.1.0 is not hosted in the repo. [1] https://svn.wso2.org/repos/wso2/people/johann/SSOAgentSampleBinaries/ On Fri, May 2, 2014 at 12:02 PM, Shani Ranasinghe sh...@wso2.com wrote: Hi, I am getting the following error when trying to build 4.6.0 travelocity SSO sample. [INFO] Scanning for projects... [ERROR] The build could not read 1 project - [Help 1] [ERROR] [ERROR] The project org.wso2.identity:org.wso2.sample.is.sso.agent:1.1.0 (/home/shani/sranasinghe/DevServices/StateOFAZ/customCode/sso/SSOAgentSample/pom.xml) has 1 error [ERROR] Non-resolvable parent POM for org.wso2.identity:wso2is-identity-samples-sso:4.6.0: Failure to find org.wso2.identity:wso2is-identity-samples:pom:4.6.0 in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-nexus has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ org.wso2.identity:wso2is-identity-samples-sso:4.6.0, /home/shani/sranasinghe/DevServices/StateOFAZ/customCode/sso/pom.xml, line 22, column 13 - [Help 2] [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/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException -- Thanks and Regards *,Shani Ranasinghe* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 77 2273555 linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab -- Thanks Regards, *Johann Dilantha Nallathamby* Senior Software Engineer Integration Technologies Team WSO2, Inc. lean.enterprise.middleware Mobile - *+9476950* Blog - *http://nallaa.wordpress.com http://nallaa.wordpress.com* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Do we need the capability to publish same web application through the multiple applications in AppManager
On Thu, May 1, 2014 at 5:14 PM, Rajeeva Uthayasangar raje...@wso2.comwrote: Hi Dinusha, In BAM scenario, tracking ID is generated based on context and version of the proxy web app in app manager.So if we create two proxy web apps for a real app, tracing ID will be unique. And in the Handler, we are validating the tracking ID against the context before publish. Scenario that i'm telling is something like this, Actual web-appGatewaycontextTrackingcode Web-App-A (i) /myapp1 (i) trackingCode1 (ii) /myapp2(ii) trackingCode2 If we include trackingCode1 into web-app-A then only the /myapp1 requests will be counts for the stats according to this we are validating the tracking ID against the context before publish. If user needs the stats for both (i) (ii), then we should be able to include both tracking codes into web-app-A. Anyway, we ll talk FF about this on Monday. Regards, Dinusha. Thanks, Rajeeva On Thu, May 1, 2014 at 1:55 PM, Ravi Undupitiya r...@wso2.com wrote: Hi Dinusha, From the GA perspective, I don't think this is an issue (if I'm understanding you correctly, sorry if i'm not). Currently the unique ID sent to google analytics is stored in a cookie that takes the API name into consideration. So for each app manager app in your scenario (even if they use the same backend app) there will be two unique ID's - and hence will be treated as separate invocations (also the document paths stored will be different - it will be up to the user to identify the different apps on GA by looking at the paths) . For both applications, if we use the same tracking code, it doesn't matter as we create two unique ID's as explained above. On Thu, May 1, 2014 at 12:06 PM, Dinusha Senanayaka dinu...@wso2.comwrote: Hi, $subject is something practical (AFAIS). Say we have a web-app A. Then we have published two applications in AppM by pointing to the web-app A as endpoint. If we need to collect stats, we need to include the tracking code generated by AppM for that particular web-app. Can we include multiple tracking codes with the js script that we are using ? (If we include only single code,then the counters will not be correct) Regards, Dinusha. -- Dinusha Dilrukshi Senior Software Engineer WSO2 Inc.: http://wso2.com/ Mobile: +94725255071 Blog: http://dinushasblog.blogspot.com/ -- *Ravi Undupitiya* Software Engineer; WSO2 Inc.; http://wso2.com *E-mail: r...@wso2.com http://wso2.com**M: **+94 772 930 712 %2B94%C2%A0772%20930%20712* Lean . Enterprise . Middleware -- *Rajeeva Uthayasangar* Software Engineer WSO2, Inc.:http://wso2.com Mobile: +94777298873 -- Dinusha Dilrukshi Senior Software Engineer WSO2 Inc.: http://wso2.com/ Mobile: +94725255071 Blog: http://dinushasblog.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [IS] IS 4.6.0 SSO sample not building
[Response from Johann] Please find the built samples from [1]. If you want to build from source you might have to build the org.wso2.carbon.identity.sso.agent jar manually and then build the sample. The agent jar 1.1.0 is not hosted in the repo. [1] https://svn.wso2.org/repos/wso2/people/johann/SSOAgentSampleBinaries/ On Fri, May 2, 2014 at 12:23 AM, Pulasthi Mahawithana pulast...@wso2.comwrote: Hi, It's because of missing parent pom. It's available at the parent directory from there (in svn repo), but it also depends on the its parent, and so on. As a workaround to get the sample build, I removed the parent entry from the pom.xml, and added the groupID and version separately. So the Final pom will be, project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; groupIdorg.wso2.identity/groupId version4.6.0/version modelVersion4.0.0/modelVersion artifactIdwso2is-identity-samples-sso/artifactId packagingpom/packaging nameIdentity Server : SSO Samples/name modules moduleSSOAgentSample/module /modules /project On Fri, May 2, 2014 at 12:27 PM, Shani Ranasinghe sh...@wso2.com wrote: Hi, I am getting the following error when trying to build 4.6.0 travelocity SSO sample. [INFO] Scanning for projects... [ERROR] The build could not read 1 project - [Help 1] [ERROR] [ERROR] The project org.wso2.identity:org.wso2.sample.is.sso.agent:1.1.0 (/customCode/sso/SSOAgentSample/pom.xml) has 1 error [ERROR] Non-resolvable parent POM for org.wso2.identity:wso2is-identity-samples-sso:4.6.0: Failure to find org.wso2.identity:wso2is-identity-samples:pom:4.6.0 in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-nexus has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ org.wso2.identity:wso2is-identity-samples-sso:4.6.0, /customCode/sso/pom.xml, line 22, column 13 - [Help 2] [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/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException -- Thanks and Regards *,Shani Ranasinghe* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 77 2273555 linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Pulasthi Mahawithana* Software Engineer WSO2 Inc., http://wso2.com/ Mobile: +94-71-5179022 -- Thanks and Regards *,Shani Ranasinghe* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 77 2273555 linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [IS] IS 4.6.0 SSO sample not building
Hi Johann/Pulasthi, Thanks a lot for the information. I think I got it wrong when Ishara gave me the information offline. Thank you for the help. @Pulasthi, thanks for the quick workaround suggested. On Fri, May 2, 2014 at 12:44 AM, Shani Ranasinghe sh...@wso2.com wrote: [Response from Johann] Please find the built samples from [1]. If you want to build from source you might have to build the org.wso2.carbon.identity.sso.agent jar manually and then build the sample. The agent jar 1.1.0 is not hosted in the repo. [1] https://svn.wso2.org/repos/wso2/people/johann/SSOAgentSampleBinaries/ On Fri, May 2, 2014 at 12:23 AM, Pulasthi Mahawithana pulast...@wso2.comwrote: Hi, It's because of missing parent pom. It's available at the parent directory from there (in svn repo), but it also depends on the its parent, and so on. As a workaround to get the sample build, I removed the parent entry from the pom.xml, and added the groupID and version separately. So the Final pom will be, project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; groupIdorg.wso2.identity/groupId version4.6.0/version modelVersion4.0.0/modelVersion artifactIdwso2is-identity-samples-sso/artifactId packagingpom/packaging nameIdentity Server : SSO Samples/name modules moduleSSOAgentSample/module /modules /project On Fri, May 2, 2014 at 12:27 PM, Shani Ranasinghe sh...@wso2.com wrote: Hi, I am getting the following error when trying to build 4.6.0 travelocity SSO sample. [INFO] Scanning for projects... [ERROR] The build could not read 1 project - [Help 1] [ERROR] [ERROR] The project org.wso2.identity:org.wso2.sample.is.sso.agent:1.1.0 (/customCode/sso/SSOAgentSample/pom.xml) has 1 error [ERROR] Non-resolvable parent POM for org.wso2.identity:wso2is-identity-samples-sso:4.6.0: Failure to find org.wso2.identity:wso2is-identity-samples:pom:4.6.0 in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-nexus has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ org.wso2.identity:wso2is-identity-samples-sso:4.6.0, /customCode/sso/pom.xml, line 22, column 13 - [Help 2] [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/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException -- Thanks and Regards *,Shani Ranasinghe* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 77 2273555 linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Pulasthi Mahawithana* Software Engineer WSO2 Inc., http://wso2.com/ Mobile: +94-71-5179022 -- Thanks and Regards *,Shani Ranasinghe* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 77 2273555 linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab -- Thanks and Regards *,Shani Ranasinghe* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 77 2273555 linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 ESB Connector Store Icons
Hi ChanakaJ On Fri, May 2, 2014 at 9:00 AM, Malaka Silva mal...@wso2.com wrote: Hi All, IMO we should not modify the backgroung color and layout outside what vendors(Third parties) are using. Eg: - Salesforce logo is in green color whereas standard is blue. Yes, I feel the same as we should not modify exiting vendors layout colors, overall felt only salesforce has such issue. meantime, can we get the remaining connector images as well [1] shows you the connectors we have at the moment https://github.com/wso2-dev/esb-connectors we should add, facebook,gmail.amazon s3,google drive,suvaymonkey, sugerCRM. Best Regards, Malaka On Fri, May 2, 2014 at 8:08 AM, Chanaka Jayasena chan...@wso2.com wrote: Hi Dushan, [1] contains the images you requested for the Connector Store. Amazon s3 and Survey Monkey icons are missing. I will upload those ones they are done. 1 - https://drive.google.com/a/wso2.com/folderview?id=0B_CCkDYHWyB9VGlJc0MzWnRpYkUusp=sharing#grid thanks, Chanaka -- Chanaka Jayasena Senior Software Engineer; WSO2, Inc.; http://wso2.com/ email: chan...@wso2.com; cell: +94 77 785 5565 blog: http://chanaka3d.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/http://wso2.com/about/team/malaka-silva/ Save a tree -Conserve nature Save the world for your future. Print this email only if it is absolutely necessary. -- Dushan Abeyruwan | Associate Tech Lead Integration Technologies Team PMC Member Apache Synpase WSO2 Inc. http://wso2.com/ Blog:http://dushansview.blogspot.com/ Mobile:(0094)713942042 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [C5] Kernel build fails when using org.osgi.framework.wiring package
Hi all, I'm using the org.osgi.framework.wiring in a carbon component and the following error occurs when I try to build. Cannot complete the install because one or more required items could not be found. Software being installed: WSO2 Carbon Kernel - Carbon Server Feature 5.0.0.SNAPSHOT (org.wso2.carbon.core.server.feature.group 5.0.0.SNAPSHOT) Missing requirement: WSO2 Carbon Kernel - Patching 5.0.0.SNAPSHOT (org.wso2.carbon.patching 5.0.0.SNAPSHOT) requires '*package org.osgi.framework.wiring [1.7.0,1.8.0)*' but it could not be found Cannot satisfy dependency: From: WSO2 Carbon Kernel - Carbon Server Feature 5.0.0.SNAPSHOT (org.wso2.carbon.core.server.feature.group 5.0.0.SNAPSHOT) To: org.wso2.carbon.patching [5.0.0.SNAPSHOT] Application failed, log file location: /home/aruna/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1399013930201.log [INFO] [INFO] Reactor Summary: [INFO] [INFO] WSO2 Carbon Kernel - Parent Pom ... SUCCESS [0.120s] [INFO] WSO2 Carbon Kernel - Dependent Projects ... SUCCESS [0.006s] [INFO] WSO2 Carbon Kernel - Maven P2 Profile Gen Plugin .. SUCCESS [2.329s] [INFO] WSO2 Carbon Kernel - Launcher . SUCCESS [1.418s] [INFO] WSO2 Carbon Kernel - Configuration and Context Model SUCCESS [0.782s] [INFO] WSO2 Carbon Kernel - Server Configuration . SUCCESS [1.053s] [INFO] WSO2 Carbon Kernel - Utils SUCCESS [0.206s] [INFO] WSO2 Carbon Kernel - Deployment Engine SUCCESS [0.824s] [INFO] WSO2 Carbon Kernel - Samples / Hello World Bundle . SUCCESS [0.173s] [INFO] WSO2 Carbon Kernel - Samples / Webapp Bundle .. SUCCESS [0.216s] [INFO] WSO2 Carbon Kernel - Runtime Manager .. SUCCESS [0.650s] [INFO] WSO2 Carbon Kernel - Clustering ... SUCCESS [37.122s] [INFO] WSO2 Carbon Kernel - Transport SUCCESS [0.224s] [INFO] WSO2 Carbon Kernel - Extensions ... SUCCESS [0.166s] [INFO] WSO2 Carbon Kernel - Patching . SUCCESS [0.205s] [INFO] WSO2 Carbon Kernel - Features Parent .. SUCCESS [0.004s] [INFO] WSO2 Carbon Kernel - Carbon Server Feature SUCCESS [0.268s] [INFO] WSO2 Carbon Kernel - Carbon Runtime Feature ... SUCCESS [0.235s] [INFO] WSO2 Carbon Kernel - Distribution . FAILURE [7.823s] [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 54.513s [INFO] Finished at: Fri May 02 12:28:51 IST 2014 [INFO] Final Memory: 55M/982M [INFO] [ERROR] Failed to execute goal org.wso2.maven:carbon-p2-plugin:1.5.4-SNAPSHOT:p2-profile-gen (feature-installation) on project wso2carbon-kernel: 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 goals -rf :wso2carbon-kernel Following is the Import-Package of the pom.xml file, of the component. Import-Package org.slf4j.*;version=${slf4j.logging.import.version.range}, org.osgi.framework.*;version=${osgi.framework.import.version.range}, *org.osgi.framework.wiring.*;version=[1.1.0, 1.2.0),* org.wso2.carbon.utils.*;version=${carbon.kernel.package.import.version.range}, javax.xml.bind.*;version=${osgi.framework.packages.import.version.range}, javax.xml.validation.*;version=${osgi.framework.packages.import.version.range}, javax.xml.transform.*;version=${osgi.framework.packages.import.version.range}, /Import-Package What may be the cause for the above error?.. Any help is highly appreciated. Regards, -- *Aruna Sujith Karunarathna* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Do we need the capability to publish same web application through the multiple applications in AppManager
Hi Dinusha, Earlier we are sending the one tracking ID and we validated that against the context to ensure that user is sending the tracking ID which is generated by App manager. But when we create multiple proxy apps for a real web app, we should allow to send multiple tracking IDs in the request. It can be done via sending an array of tracking IDs in the request. Thanks, Rajeeva. On Fri, May 2, 2014 at 1:10 PM, Dinusha Senanayaka dinu...@wso2.com wrote: On Thu, May 1, 2014 at 5:14 PM, Rajeeva Uthayasangar raje...@wso2.comwrote: Hi Dinusha, In BAM scenario, tracking ID is generated based on context and version of the proxy web app in app manager.So if we create two proxy web apps for a real app, tracing ID will be unique. And in the Handler, we are validating the tracking ID against the context before publish. Scenario that i'm telling is something like this, Actual web-appGatewaycontextTrackingcode Web-App-A (i) /myapp1 (i) trackingCode1 (ii) /myapp2(ii) trackingCode2 If we include trackingCode1 into web-app-A then only the /myapp1 requests will be counts for the stats according to this we are validating the tracking ID against the context before publish. If user needs the stats for both (i) (ii), then we should be able to include both tracking codes into web-app-A. Anyway, we ll talk FF about this on Monday. Regards, Dinusha. Thanks, Rajeeva On Thu, May 1, 2014 at 1:55 PM, Ravi Undupitiya r...@wso2.com wrote: Hi Dinusha, From the GA perspective, I don't think this is an issue (if I'm understanding you correctly, sorry if i'm not). Currently the unique ID sent to google analytics is stored in a cookie that takes the API name into consideration. So for each app manager app in your scenario (even if they use the same backend app) there will be two unique ID's - and hence will be treated as separate invocations (also the document paths stored will be different - it will be up to the user to identify the different apps on GA by looking at the paths) . For both applications, if we use the same tracking code, it doesn't matter as we create two unique ID's as explained above. On Thu, May 1, 2014 at 12:06 PM, Dinusha Senanayaka dinu...@wso2.comwrote: Hi, $subject is something practical (AFAIS). Say we have a web-app A. Then we have published two applications in AppM by pointing to the web-app A as endpoint. If we need to collect stats, we need to include the tracking code generated by AppM for that particular web-app. Can we include multiple tracking codes with the js script that we are using ? (If we include only single code,then the counters will not be correct) Regards, Dinusha. -- Dinusha Dilrukshi Senior Software Engineer WSO2 Inc.: http://wso2.com/ Mobile: +94725255071 Blog: http://dinushasblog.blogspot.com/ -- *Ravi Undupitiya* Software Engineer; WSO2 Inc.; http://wso2.com *E-mail: r...@wso2.com http://wso2.com**M: **+94 772 930 712 %2B94%C2%A0772%20930%20712* Lean . Enterprise . Middleware -- *Rajeeva Uthayasangar* Software Engineer WSO2, Inc.:http://wso2.com Mobile: +94777298873 -- Dinusha Dilrukshi Senior Software Engineer WSO2 Inc.: http://wso2.com/ Mobile: +94725255071 Blog: http://dinushasblog.blogspot.com/ -- *Rajeeva Uthayasangar* Software Engineer WSO2, Inc.:http://wso2.com Mobile: +94777298873 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Do we need the capability to publish same web application through the multiple applications in AppManager
On Fri, May 2, 2014 at 1:46 PM, Rajeeva Uthayasangar raje...@wso2.comwrote: Hi Dinusha, Earlier we are sending the one tracking ID and we validated that against the context to ensure that user is sending the tracking ID which is generated by App manager. But when we create multiple proxy apps for a real web app, we should allow to send multiple tracking IDs in the request. It can be done via sending an array of tracking IDs in the request. Yes, we need to improve our stat publisher to handle this. Get the persisted tracking-code that maps for the request context and if it is contains in the tracking-code list comes with the web-app, then publish stats for that particular gateway app. Regards, Dinusha. Thanks, Rajeeva. On Fri, May 2, 2014 at 1:10 PM, Dinusha Senanayaka dinu...@wso2.comwrote: On Thu, May 1, 2014 at 5:14 PM, Rajeeva Uthayasangar raje...@wso2.comwrote: Hi Dinusha, In BAM scenario, tracking ID is generated based on context and version of the proxy web app in app manager.So if we create two proxy web apps for a real app, tracing ID will be unique. And in the Handler, we are validating the tracking ID against the context before publish. Scenario that i'm telling is something like this, Actual web-appGatewaycontextTrackingcode Web-App-A (i) /myapp1 (i) trackingCode1 (ii) /myapp2(ii) trackingCode2 If we include trackingCode1 into web-app-A then only the /myapp1 requests will be counts for the stats according to this we are validating the tracking ID against the context before publish. If user needs the stats for both (i) (ii), then we should be able to include both tracking codes into web-app-A. Anyway, we ll talk FF about this on Monday. Regards, Dinusha. Thanks, Rajeeva On Thu, May 1, 2014 at 1:55 PM, Ravi Undupitiya r...@wso2.com wrote: Hi Dinusha, From the GA perspective, I don't think this is an issue (if I'm understanding you correctly, sorry if i'm not). Currently the unique ID sent to google analytics is stored in a cookie that takes the API name into consideration. So for each app manager app in your scenario (even if they use the same backend app) there will be two unique ID's - and hence will be treated as separate invocations (also the document paths stored will be different - it will be up to the user to identify the different apps on GA by looking at the paths) . For both applications, if we use the same tracking code, it doesn't matter as we create two unique ID's as explained above. On Thu, May 1, 2014 at 12:06 PM, Dinusha Senanayaka dinu...@wso2.comwrote: Hi, $subject is something practical (AFAIS). Say we have a web-app A. Then we have published two applications in AppM by pointing to the web-app A as endpoint. If we need to collect stats, we need to include the tracking code generated by AppM for that particular web-app. Can we include multiple tracking codes with the js script that we are using ? (If we include only single code,then the counters will not be correct) Regards, Dinusha. -- Dinusha Dilrukshi Senior Software Engineer WSO2 Inc.: http://wso2.com/ Mobile: +94725255071 Blog: http://dinushasblog.blogspot.com/ -- *Ravi Undupitiya* Software Engineer; WSO2 Inc.; http://wso2.com *E-mail: r...@wso2.com http://wso2.com**M: **+94 772 930 712 %2B94%C2%A0772%20930%20712* Lean . Enterprise . Middleware -- *Rajeeva Uthayasangar* Software Engineer WSO2, Inc.:http://wso2.com Mobile: +94777298873 -- Dinusha Dilrukshi Senior Software Engineer WSO2 Inc.: http://wso2.com/ Mobile: +94725255071 Blog: http://dinushasblog.blogspot.com/ -- *Rajeeva Uthayasangar* Software Engineer WSO2, Inc.:http://wso2.com Mobile: +94777298873 -- Dinusha Dilrukshi Senior Software Engineer WSO2 Inc.: http://wso2.com/ Mobile: +94725255071 Blog: http://dinushasblog.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Do we need the capability to publish same web application through the multiple applications in AppManager
Hi, Yes I have implemented in the same way you mentioned. Thanks, Rajeeva. On Fri, May 2, 2014 at 2:42 PM, Dinusha Senanayaka dinu...@wso2.com wrote: On Fri, May 2, 2014 at 1:46 PM, Rajeeva Uthayasangar raje...@wso2.comwrote: Hi Dinusha, Earlier we are sending the one tracking ID and we validated that against the context to ensure that user is sending the tracking ID which is generated by App manager. But when we create multiple proxy apps for a real web app, we should allow to send multiple tracking IDs in the request. It can be done via sending an array of tracking IDs in the request. Yes, we need to improve our stat publisher to handle this. Get the persisted tracking-code that maps for the request context and if it is contains in the tracking-code list comes with the web-app, then publish stats for that particular gateway app. Regards, Dinusha. Thanks, Rajeeva. On Fri, May 2, 2014 at 1:10 PM, Dinusha Senanayaka dinu...@wso2.comwrote: On Thu, May 1, 2014 at 5:14 PM, Rajeeva Uthayasangar raje...@wso2.comwrote: Hi Dinusha, In BAM scenario, tracking ID is generated based on context and version of the proxy web app in app manager.So if we create two proxy web apps for a real app, tracing ID will be unique. And in the Handler, we are validating the tracking ID against the context before publish. Scenario that i'm telling is something like this, Actual web-appGatewaycontextTrackingcode Web-App-A (i) /myapp1 (i) trackingCode1 (ii) /myapp2(ii) trackingCode2 If we include trackingCode1 into web-app-A then only the /myapp1 requests will be counts for the stats according to this we are validating the tracking ID against the context before publish. If user needs the stats for both (i) (ii), then we should be able to include both tracking codes into web-app-A. Anyway, we ll talk FF about this on Monday. Regards, Dinusha. Thanks, Rajeeva On Thu, May 1, 2014 at 1:55 PM, Ravi Undupitiya r...@wso2.com wrote: Hi Dinusha, From the GA perspective, I don't think this is an issue (if I'm understanding you correctly, sorry if i'm not). Currently the unique ID sent to google analytics is stored in a cookie that takes the API name into consideration. So for each app manager app in your scenario (even if they use the same backend app) there will be two unique ID's - and hence will be treated as separate invocations (also the document paths stored will be different - it will be up to the user to identify the different apps on GA by looking at the paths) . For both applications, if we use the same tracking code, it doesn't matter as we create two unique ID's as explained above. On Thu, May 1, 2014 at 12:06 PM, Dinusha Senanayaka dinu...@wso2.comwrote: Hi, $subject is something practical (AFAIS). Say we have a web-app A. Then we have published two applications in AppM by pointing to the web-app A as endpoint. If we need to collect stats, we need to include the tracking code generated by AppM for that particular web-app. Can we include multiple tracking codes with the js script that we are using ? (If we include only single code,then the counters will not be correct) Regards, Dinusha. -- Dinusha Dilrukshi Senior Software Engineer WSO2 Inc.: http://wso2.com/ Mobile: +94725255071 Blog: http://dinushasblog.blogspot.com/ -- *Ravi Undupitiya* Software Engineer; WSO2 Inc.; http://wso2.com *E-mail: r...@wso2.com http://wso2.com**M: **+94 772 930 712 %2B94%C2%A0772%20930%20712* Lean . Enterprise . Middleware -- *Rajeeva Uthayasangar* Software Engineer WSO2, Inc.:http://wso2.com Mobile: +94777298873 -- Dinusha Dilrukshi Senior Software Engineer WSO2 Inc.: http://wso2.com/ Mobile: +94725255071 Blog: http://dinushasblog.blogspot.com/ -- *Rajeeva Uthayasangar* Software Engineer WSO2, Inc.:http://wso2.com Mobile: +94777298873 -- Dinusha Dilrukshi Senior Software Engineer WSO2 Inc.: http://wso2.com/ Mobile: +94725255071 Blog: http://dinushasblog.blogspot.com/ -- *Rajeeva Uthayasangar* Software Engineer WSO2, Inc.:http://wso2.com Mobile: +94777298873 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] APIM Exception in First time Subscription to API
Hi, In EMM APIM integration I am getting this exception, only first time subscription to newly created API. After first time subscription this exception will not come again. Any idea to avoid this? [2014-05-02 16:15:17,523] ERROR {org.apache.axis2.engine.AxisEngine} - The service cannot be found for the endpoint reference (EPR) https://10.100.5.3:9443/services/APIAuthenticationService org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) https://10.100.5.3:9443/services/APIAuthenticationService at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:78) at org.apache.axis2.engine.Phase.invoke(Phase.java:329) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172) at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146) at org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:231) at javax.servlet.http.HttpServlet.service(HttpServlet.java:755) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178) at org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:66) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:66) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:66) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:66) at org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:66) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:66) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:66) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:66) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:66) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:66) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:66) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:66) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:66) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:66) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:66) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:66) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:66) at
[Dev] Bean Mediator Property Serialization
Hi All, In ESB Management Console all possible properties for Bean Mediator are displayed and also serialized regardless of the Action (i.e Remove, Create, Set_Property,Get_Property). I think only relevant properties should be displayed and serialized as listed below. If the Action is Create - Var and Class If the Action is Remove - Var If the Action is Set_Property - Var, Property, Value type and Literal If the the Action is Get_Property - Var, Property, Target type and Literal. WDYT? Please correct if this is wrong Thanks, Sohani Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter : https://twitter.com/sohanichristine ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 ESB Connector Store Icons
Noted. I will update and provide you with the remaining connector icons as well. Thanks, Chanaka On Fri, May 2, 2014 at 1:20 PM, Dushan Abeyruwan dus...@wso2.com wrote: Hi ChanakaJ On Fri, May 2, 2014 at 9:00 AM, Malaka Silva mal...@wso2.com wrote: Hi All, IMO we should not modify the backgroung color and layout outside what vendors(Third parties) are using. Eg: - Salesforce logo is in green color whereas standard is blue. Yes, I feel the same as we should not modify exiting vendors layout colors, overall felt only salesforce has such issue. meantime, can we get the remaining connector images as well [1] shows you the connectors we have at the moment https://github.com/wso2-dev/esb-connectors we should add, facebook,gmail.amazon s3,google drive,suvaymonkey, sugerCRM. Best Regards, Malaka On Fri, May 2, 2014 at 8:08 AM, Chanaka Jayasena chan...@wso2.comwrote: Hi Dushan, [1] contains the images you requested for the Connector Store. Amazon s3 and Survey Monkey icons are missing. I will upload those ones they are done. 1 - https://drive.google.com/a/wso2.com/folderview?id=0B_CCkDYHWyB9VGlJc0MzWnRpYkUusp=sharing#grid thanks, Chanaka -- Chanaka Jayasena Senior Software Engineer; WSO2, Inc.; http://wso2.com/ email: chan...@wso2.com; cell: +94 77 785 5565 blog: http://chanaka3d.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/http://wso2.com/about/team/malaka-silva/ Save a tree -Conserve nature Save the world for your future. Print this email only if it is absolutely necessary. -- Dushan Abeyruwan | Associate Tech Lead Integration Technologies Team PMC Member Apache Synpase WSO2 Inc. http://wso2.com/ Blog:http://dushansview.blogspot.com/ Mobile:(0094)713942042 -- Chanaka Jayasena Senior Software Engineer; WSO2, Inc.; http://wso2.com/ email: chan...@wso2.com; cell: +94 77 785 5565 blog: http://chanaka3d.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Architecture] [App Factory] Provide custom URL for Production deployed application via the URL mapper
hi All, This is how Domain Mapping functionality is currently being implemented in App Factory front as a generic solution. Only AppOwner has permissions to do the domain mapping. The Domain cloudapps.com is configurable in appfactory.xml Under each Deployment stage defined in appfactory.xml a new tag has introduced in order to enable/disable url mapper on that particular stage as follows: AllowDomainMappingfalse/AllowDomainMapping Add a subdomain --- User can add a subdomain via the Application Home page. When user add a subdomain it will be saved in application.rxt file. Based on the assigned subdomain, urls get generated for the app versions for the Domain mappings enabled stages as follows. Say Domain Mapping has enabled only for Development and Production stages and there are 3 branches of the application. Given subdomain is foo. foo 1.0.0 Porduction foo 1.1.0 Test foo 1.2.o Development foo master Development So in the above scenario following urls will be created on the fly: foo 1.0.0 Production http://foo-1.0.0-dev.cloudapps.com http://foo-1.0.0-prod.cloudapps.com foo 1.1.0 Test http://foo-1.1.0-dev.cloudapps.com http://foo-1.1.0-prod.cloudapps.com foo 1.2.0 Development http://foo-1.2.0-dev.cloudapps.com http://foo-1.2.0-prod.cloudapps.com foo master Development http://foo-master-dev.cloudapps.com These url mappings will be send to respective AppServer (Cartridge) based on the stage. These url mappings will be send to respective Stratos Manager based on the stage. The CNAME records will be send to AWS Route 53. Update a subdomain - User can update the subdomain via the Aplication Home page. When user edit the subdomain it will be saved in application.rxt file. Based on the assigned subdomain, urls get generated for the app versions for the Domain mappings enabled stages as follows. Say Domain Mapping has enabled only for Development and Production stages and there are 3 branches of the application. Updated subdomain is bar. foo 1.0.0 Porduction foo 1.1.0 Test foo 1.2.o Development foo master Development So in the above scenario following urls will be created on the fly: foo 1.0.0 Porduction http://bar-1.0.0-dev.cloudapps.com http://bar-1.0.0-prod.cloudapps.com foo 1.1.0 Test http://bar-1.1.0-dev.cloudapps.com http://bar-1.1.0-prod.cloudapps.com foo 1.2.0 Development http://bar-1.2.0-dev.cloudapps.com http://bar-1.2.0-prod.cloudapps.com foo master Development http://bar-master-dev.cloudapps.com The old url mappings will be updated with new url mappings in respective AppServer (Cartridge) based on the stage. The old url mappings will be deleted and new url mappings will be saved in Stratos Manager based on the stage. The old CNAME records will be deleted and new CNAME records will be added to AWS Route 53. SubDomain validation Each subdomain is validated against already existing domains via Stratos Manager of a particular stage for it's availability. Production Stage specific customization --- For all the versions in Production stage will get a option to specify which version will get the fine-grained url. Say I choose 1.1.0 version. Then the mapped url of the 1.1.0 will be as follows: foo 1.0.0 Porduction foo 1.1.0 Porductionhttp://foo.cloudapps.com foo 1.2.0 Porduction This url mapping will be send to Prod AppServer (Cartridge). This url mappings will be send to Prod Stratos Manager. This CNAME record will be send to AWS Route 53. I do not delete the http://foo-1.1.0-prod.cloudapps.com entry from AS/SM or AWS. Because user can choose any other version in Production instead of 1.1.0. Then we only need to do the following: The old url mapping will be updated with new url mapping in Prod AppServer (Cartridge). It doesn't require to change Prod SM or AWS entry as the url invocation can be handled on the fly via jaggery front based on the selected version. The previous version can go ahead with it's old url which is http://foo-1.1.0-prod.cloudapps.com. SubDomain deleteion will not be implemented for this release. On Sat, Apr 26, 2014 at 1:52 PM, Imesh Gunaratne im...@wso2.com wrote: Domain mapping implementation in Stratos has been started after completing 4.0.0-rc1 release work. I will update the status ASAP. Thanks On Fri, Apr 25, 2014 at 4:26 PM, Punnadi Gunarathna punn...@wso2.comwrote: Yes Amila, I was wrong. We can validate that from AF front itself. On Fri, Apr 25, 2014 at 3:54 PM, Amila Maha Arachchi ami...@wso2.comwrote: My question is based on your statement Subdomain will be *validated*for its availability via the API provided in Stratos Manager Why do we need to validate the availability of the subdomain, if we maintain the list of mapped domains within AF. On Fri, Apr 25, 2014 at 3:46 PM, Punnadi Gunarathna punn...@wso2.comwrote: Hi Amila, Of course we will store the production url corresponding to
Re: [Dev] ERROR - HazelcastGroupManagementAgent Could not add application member in ELB , Created ESB cluster.
Hi, There is a conflict with the names. EG: in loadbalancer.conf management node is given as *mgt.esb.wso2con.com http://mgt.esb.wso2con.com.* But in Manager -axis2.xml found following. parameter name=localMemberHost*local.mgt.esb*/parameter Best Regards, Malaka On Fri, May 2, 2014 at 9:01 PM, Chathurika Mahaarachchi chathur...@wso2.com wrote: Hi , Following error is observed in ELB side when starting the management node of the ESB worker manager setup. [2014-05-02 20:23:03,905] INFO - HazelcastGroupManagementAgent Member joined [75b433da-dc8e-4296-b325-0c696f24e920]: local.mgt.esb/ 10.100.1.179:4100 [2014-05-02 20:23:03,905] INFO - HazelcastGroupManagementAgent Member joined [75b433da-dc8e-4296-b325-0c696f24e920]: local.mgt.esb/ 10.100.1.179:4100 [2014-05-02 20:23:35,969] ERROR - HazelcastGroupManagementAgent Could not add application member Host:10.100.1.179, Remote Host:null, Port: 4100, HTTP:8281, HTTPS:8244, Domain: wso2con.domain, Sub-domain:mgt, Active:true Can someone explain what should be the reason for this issue. Attached configuration details. Thanks Regards, -- *Chathurika Mahaarachchi* Software Engineer, QA. WSO2 Inc.: http://wso2.com/ lean.enterprise.middleware Mobile: +94718223950 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/http://wso2.com/about/team/malaka-silva/ Save a tree -Conserve nature Save the world for your future. Print this email only if it is absolutely necessary. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] org.wso2.carbon.social component for AF release
Hi, We need to release the component org.wso2.carbon.social component with App Factory 2.0.0. Currently the source is located at [1]. We are going to add the component to Turing based on the current source located there. What do you think? Is the current source is at release ready state? [1] https://github.com/wso2/enterprise-store/blob/master/modules/components/social Regards -- Shamika Ariyawansa Senior Software Engineer WSO2, Inc.; http://wso2.com LK - +94 7639629 Ext 5999 US - +1 408 754 7388 Ext 51732 Mob:+ 94 772929486 *twitter: **https://twitter.com/Amila_Shamika*https://twitter.com/Amila_Shamika *linked-in: *http://www.linkedin.com/pub/dir/Shamika/Ariyawansa *Lean . Enterprise . Middleware* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] AppServer - CommodityQuote Sample - scenario 4 (Encryption) does not work
On Thu, May 1, 2014 at 5:03 PM, Afkham Azeez az...@wso2.com wrote: I get the following error on the server side when I try to run the sample client: Just tried sample with AS 5.2.1. It seems to be that sample is working file.. Null point can be geneated when encrypted key or data in the security header is not sent from the client. Could you please try with tcpmon and verify the message from client to server. Thanks, Asela. [2014-05-01 16:58:54,385] ERROR {org.apache.catalina.core.StandardWrapperValve} - Servlet.service() for servlet [bridgeservlet] in context with path [/] threw exception java.lang.NullPointerException at org.apache.rampart.builder.SymmetricBindingBuilder.getEncryptedKey(SymmetricBindingBuilder.java:840) at org.apache.rampart.builder.SymmetricBindingBuilder.doSignBeforeEncrypt(SymmetricBindingBuilder.java:418) at org.apache.rampart.builder.SymmetricBindingBuilder.build(SymmetricBindingBuilder.java:86) at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:144) at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:65) at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340) at org.apache.axis2.engine.Phase.invoke(Phase.java:313) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261) at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:515) at org.apache.axis2.transport.http.AxisServlet.handleFault(AxisServlet.java:433) at org.apache.axis2.transport.http.AxisServlet.processAxisFault(AxisServlet.java:398) at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:188) What could be the reason? -- Afkham Azeez Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ email: az...@wso2.com cell: +94 77 3320919 blog: http://blog.afkham.org twitter: http://twitter.com/afkham_azeez linked-in: http://lk.linkedin.com/in/afkhamazeez Lean . Enterprise . Middleware -- Thanks Regards, Asela ATL Mobile : +94 777 625 933 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [AppFactory] Publishing Notifications to App Wall and User Wall in App Factory
Hi all, When an app or a service is created and deployed from AF onto the AS, we need to get the deployment status of the deployed artifact and publish the status as a Event to wall/ MB. To do this, we need to get the deployment status from AS and notify the status as an Event. i. war / jaxrs/ jaxws/ jaggery deployment - implementing Tomcat LifecycleListener ii. dbs deployment - extending AxisObserver After registering the above DeploymentInterceptors, it will capture the artifact status. An event will be created with the status and that event will be notified to the dispatcher. Thanks Manisha On Thu, Apr 24, 2014 at 3:58 PM, Manisha Gayathri mani...@wso2.com wrote: Yes Shiro.. They will go either to the App /User wall appropriately. Thanks Manisha On Thu, Apr 24, 2014 at 3:57 PM, Shiroshica Kulatilake sh...@wso2.comwrote: Hi Manisha, Quick question - would category 3 above (i.e. notifications) go to the wall as well ? - for FYI purposes .. Thank you, Shiro On Thu, Apr 24, 2014 at 3:25 PM, Manisha Gayathri mani...@wso2.comwrote: Hi all, Extracting from Dmitry's main uberstories, I have created the doc below which contains a breakdown of notifications that we need to publish on App Factory wall/s. This will be available for the GA release on May Below are the type of messages: - User wall will contain specific messages to user - App wall will contain messages that we can broadcast to other users of the app too with regard to the application - The notifications that we need to show as CRITICAL or ERROR messages will go through WSO2 MB - Critical errors such as Server Down, Services not available etc will be notified to Cloud DevOps via email. https://docs.google.com/a/wso2.com/spreadsheets/d/12IKBQxnskG9m5YAsCyMiCk0_dCxzyda_E_xPz9YVOT4/edit#gid=221227486 Any feedback on above is welcome. Thanks Manisha -- ~Regards *Manisha Eleperuma* Software Engineer WSO2, Inc.: http://wso2.com lean.enterprise.middleware *blog: http://manisha-eleperuma.blogspot.com/ http://manisha-eleperuma.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Shiroshica Kulatilake Architect, WSO2, Inc. http://wso2.com/ Phone: +94 776523867 -- ~Regards *Manisha Eleperuma* Software Engineer WSO2, Inc.: http://wso2.com lean.enterprise.middleware *blog: http://manisha-eleperuma.blogspot.com/ http://manisha-eleperuma.blogspot.com/* *mobile: +94 71 8279777 %2B94%2071%208279777* -- ~Regards *Manisha Eleperuma* Software Engineer WSO2, Inc.: http://wso2.com lean.enterprise.middleware *blog: http://manisha-eleperuma.blogspot.com/ http://manisha-eleperuma.blogspot.com/* *mobile: +94 71 8279777 %2B94%2071%208279777* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [Blocker] Issues with AM_DB scripts for Oracle
Hi, Following two blocking issues were found with the oracle script for AM_DB on 29th April pack. Please have a look. [1] https://wso2.org/jira/browse/APIMANAGER-2266 [2] https://wso2.org/jira/browse/APIMANAGER-2268 regards, Nirodha -- *Nirodha Gallage* Senior Software Engineer, QA. WSO2 Inc.: http://wso2.com/ Mobile: +94716429078 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Extensibility of JDBCAuthorizationManager.
Hi all In user management area we have made lot of stuff extensible. We can write our own user store managers, tenant managers and authorization managers. So most of the time when we write a custom one we extend form an existing one. For example We implement tenant managers extended from JDBCTenantManager user store managers extended from ReadOnlyLDAPUserStoreManager / ReadWriteLDAPUserStoreManager. Because what we want to customize might not be the whole class. It could be a one operation of the class. Like that the implementation of Authorization Manager we can extend from is JDBCAuthorizationManager. But current implementation of JDBCAuthorizationManager is not extensible due to following reasons. 1. All the object level variables are private not protected. 2. Lot of methods of the class are private. 3. SearchResult class is visible only to the particular package. If we make all necessary private things protected, then some one can extend it and write his/her own Authorization Manager. Can we update JDBCAuthorizationManager code to make it extensible. Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev