Jenkins build is back to normal : sling-trunk-1.6 » Apache Sling JAR Resource Bundle #1703
See https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$apache-sling-jar-resource-bundle/1703/
Build failed in Jenkins: sling-trunk-1.6 » Sling Servlet Archetype #1703
See https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$sling-servlet-archetype/1703/ -- [INFO] [INFO] [INFO] Building Sling Servlet Archetype 1.0.1-SNAPSHOT [INFO] [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ sling-servlet-archetype --- [INFO] Deleting https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$sling-servlet-archetype/ws/target [INFO] [INFO] --- maven-enforcer-plugin:1.0.1:enforce (enforce-java) @ sling-servlet-archetype --- [INFO] [INFO] --- maven-antrun-plugin:1.7:run (set-bundle-required-execution-environment) @ sling-servlet-archetype --- [INFO] Executing tasks main: [INFO] Executed tasks [INFO] [INFO] --- maven-remote-resources-plugin:1.4:process (default) @ sling-servlet-archetype --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ sling-servlet-archetype ---[INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 6 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-antrun-plugin:1.7:run (check-memory-task) @ sling-servlet-archetype --- [INFO] Executing tasks main: [echo] WARNING (SLING-443/SLING-1782) ** [echo] On most platforms, you'll get OutOfMemoryErrors when building unless you set [echo] on 32bit platforms: MAVEN_OPTS=-Xmx256M -XX:MaxPermSize=256M, see SLING-443 [echo] on 64bit platforms: MAVEN_OPTS=-Xmx512M -XX:MaxPermSize=512M, see SLING-1782 [echo] ** [INFO] Executed tasks [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ sling-servlet-archetype ---[INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 7 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-antrun-plugin:1.7:run (fix-crlfs) @ sling-servlet-archetype ---[INFO] Executing tasks main: [INFO] Executed tasks [INFO] [INFO] --- animal-sniffer-maven-plugin:1.9:check (default) @ sling-servlet-archetype --- [INFO] Checking unresolved references to org.codehaus.mojo.signature:java15:1.0 [INFO] [INFO] --- maven-archetype-plugin:2.2:jar (default-jar) @ sling-servlet-archetype --- [INFO] Building archetype jar: https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$sling-servlet-archetype/ws/target/sling-servlet-archetype-1.0.1-SNAPSHOT [INFO] [INFO] --- maven-enforcer-plugin:1.0.1:enforce (enforce-java) @ sling-servlet-archetype --- [INFO] [INFO] --- maven-antrun-plugin:1.7:run (set-bundle-required-execution-environment) @ sling-servlet-archetype --- [INFO] Executing tasks main: [INFO] Executed tasks Jun 24, 2013 4:55:19 PM hudson.maven.ExecutedMojo init WARNING: Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo [INFO] [INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @ sling-servlet-archetype ---
Build failed in Jenkins: sling-trunk-1.6 #1703
See https://builds.apache.org/job/sling-trunk-1.6/1703/changes Changes: [dklco] Fixing SLING-2834: adding support for var and scope variables for including the results of a response into a JSP variable -- [...truncated 2601 lines...] [INFO] Apache Sling Jackrabbit Embedded Repository ... SKIPPED [INFO] Apache Sling Jackrabbit UserManager Support ... SKIPPED [INFO] Apache Sling Jackrabbit JSR-283 Access Control Manager Support SKIPPED [INFO] Apache Sling Wrapper Bundle for the JCR API ... SKIPPED [INFO] Apache Sling Object Content Mapping ... SKIPPED [INFO] Apache Sling JCR Resource Resolver SKIPPED [INFO] Apache Sling JCR Repository Registration .. SKIPPED [INFO] Apache Sling Simple WebDAV Access to repositories . SKIPPED [INFO] Apache Sling DavEx Access to repositories . SKIPPED [INFO] Apache Sling JCR WebConsole Bundle SKIPPED [INFO] Apache Sling Servlet Resolver . SKIPPED [INFO] Apache Sling Default GET Servlets . SKIPPED [INFO] Apache Sling Default POST Servlets SKIPPED [INFO] Apache Sling Compat Servlets .. SKIPPED [INFO] Apache Sling Scripting Implementation API . SKIPPED [INFO] Apache Sling Scripting Core implementation SKIPPED [INFO] Apache Sling Scripting JavaScript Support . SKIPPED [INFO] Apache Sling Scripting JSP Support SKIPPED [INFO] Apache Sling JSP Tag Library .. SKIPPED [INFO] Apache Sling JSP Standard Tag Library . SKIPPED [INFO] Apache Sling Adapter Manager Implementation ... SKIPPED [INFO] Apache Sling Bundle Resource Provider . SKIPPED [INFO] Apache Sling Discovery API SKIPPED [INFO] Apache Sling Resource-Based Discovery Service . SKIPPED [INFO] Apache Sling Discovery Support Bundle . SKIPPED [INFO] Apache Sling Discovery Standalone Implementation .. SKIPPED [INFO] Apache Sling Event Support SKIPPED [INFO] Apache Sling Filesystem Resource Provider . SKIPPED [INFO] Apache Sling javax.activation bundle .. SKIPPED [INFO] Apache Sling Settings . SKIPPED [INFO] Apache Sling Thread Dumper SKIPPED [INFO] Apache Sling Web Console Branding . SKIPPED [INFO] Apache Sling Web Console Security Provider SKIPPED [INFO] Apache Sling Groovy Extensions SKIPPED [INFO] Apache Sling Explorer . SKIPPED [INFO] Apache Sling Test Tools ... SKIPPED [INFO] Apache Sling JUnit Core ... SKIPPED [INFO] Apache Sling JUnit Scriptable Tests Provider .. SKIPPED [INFO] Apache Sling JUnit Remote Tests Runners ... SKIPPED [INFO] Apache Sling Testing Resource Resolver Mock ... SKIPPED [INFO] Apache Sling Installer API SKIPPED [INFO] Apache Sling Installer SKIPPED [INFO] Apache Sling Installer WebConsole Plugin .. SKIPPED [INFO] Apache Sling File Installer ... SKIPPED [INFO] Apache Sling JCR Installer SKIPPED [INFO] Apache Sling Installer Configuration Admin Support SKIPPED [INFO] Apache Sling Deployment Package Installer . SKIPPED [INFO] Apache Sling Installer Integration Tests .. SKIPPED [INFO] Apache Sling Launchpad API SKIPPED [INFO] Apache Sling Launchpad Base ... SKIPPED [INFO] Apache Sling Launchpad Installer .. SKIPPED [INFO] Apache Sling Launchpad Content SKIPPED [INFO] Apache Sling Launchpad Application Builder SKIPPED [INFO] Apache Sling Sample Server-Side Tests . SKIPPED [INFO] Apache Sling Failing Server-Side Tests SKIPPED [INFO] Apache Sling Sample Integration Tests . SKIPPED [INFO] Apache Sling Launchpad Testing Services ... SKIPPED [INFO] Apache Sling Launchpad Testing Services WAR ... SKIPPED [INFO] Apache Sling Launchpad Testing Fragment Bundle SKIPPED [INFO] Apache Sling Launchpad Test Bundles ... SKIPPED [INFO] Apache Sling Integration Tests SKIPPED [INFO] Apache Sling Launchpad Testing SKIPPED [INFO] Apache Sling Launchpad Testing WAR version SKIPPED [INFO] Apache Sling (Builder) SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 19:40.236s [INFO] Finished at: Mon Jun 24 16:56:08 GMT+00:00 2013 [INFO] Final Memory: 63M/246M [INFO] [JENKINS] Archiving disabled [JENKINS]
Jenkins build is back to normal : sling-trunk-1.6 » Apache Sling Maven Plugin to create Jackrabbit OCM descriptors #1703
See https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$maven-jcrocm-plugin/1703/
Build failed in Jenkins: sling-trunk-1.7 » Apache Sling JSP Tag Library #73
See https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.scripting.jsp.taglib/73/changes Changes: [dklco] Fixing SLING-2834: adding support for var and scope variables for including the results of a response into a JSP variable -- [INFO] [INFO] [INFO] Building Apache Sling JSP Tag Library 2.1.9-SNAPSHOT [INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.scripting.jsp/2.0.8/org.apache.sling.scripting.jsp-2.0.8.pom Downloaded: http://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.scripting.jsp/2.0.8/org.apache.sling.scripting.jsp-2.0.8.pom (7 KB at 36.0 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.scripting.jsp/2.0.8/org.apache.sling.scripting.jsp-2.0.8.jar Downloaded: http://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.scripting.jsp/2.0.8/org.apache.sling.scripting.jsp-2.0.8.jar (2116 KB at 9236.5 KB/sec) [INFO] [INFO] Deleting https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.scripting.jsp.taglib/ws/target [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ org.apache.sling.scripting.jsp.taglib --- [INFO] [INFO] --- maven-enforcer-plugin:1.0.1:enforce (enforce-java) @ org.apache.sling.scripting.jsp.taglib --- [INFO] [INFO] --- maven-antrun-plugin:1.7:run (set-bundle-required-execution-environment) @ org.apache.sling.scripting.jsp.taglib ---[INFO] Executing tasks main: [INFO] Executed tasks [INFO] [INFO] --- maven-remote-resources-plugin:1.4:process (default) @ org.apache.sling.scripting.jsp.taglib --- [INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 4 resources [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ org.apache.sling.scripting.jsp.taglib ---[INFO] Copying 3 resources [INFO] [INFO] --- maven-antrun-plugin:1.7:run (check-memory-task) @ org.apache.sling.scripting.jsp.taglib ---[INFO] Executing tasks main: [echo] WARNING (SLING-443/SLING-1782) ** [echo] On most platforms, you'll get OutOfMemoryErrors when building unless you set [echo] on 32bit platforms: MAVEN_OPTS=-Xmx256M -XX:MaxPermSize=256M, see SLING-443 [echo] on 64bit platforms: MAVEN_OPTS=-Xmx512M -XX:MaxPermSize=512M, see SLING-1782 [echo] ** [INFO] Executed tasks [INFO] [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ org.apache.sling.scripting.jsp.taglib --- [INFO] Compiling 13 source files to https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.scripting.jsp.taglib/ws/target/classes [INFO] - [ERROR] COMPILATION ERROR : [INFO] - [ERROR] https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.scripting.jsp.taglib/ws/src/main/java/org/apache/sling/scripting/jsp/taglib/IncludeTagHandler.java:[34,25] error: package org.apache.tika.io does not exist [ERROR] https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.scripting.jsp.taglib/ws/src/main/java/org/apache/sling/scripting/jsp/taglib/IncludeTagHandler.java:[71,10] error: cannot find symbol [INFO] 2 errors [INFO] -
Build failed in Jenkins: sling-trunk-1.7 #73
See https://builds.apache.org/job/sling-trunk-1.7/73/changes Changes: [dklco] Fixing SLING-2834: adding support for var and scope variables for including the results of a response into a JSP variable -- [...truncated 9762 lines...] [INFO] Apache Sling Maven Plugin for Compiling JSP Sources into Bundles SUCCESS [43.197s] [INFO] Apache Sling Maven Plugin for Supporting Bundle Development SUCCESS [38.485s] [INFO] Apache Sling Launchpad Maven Plugin ... SUCCESS [2:34.405s] [INFO] Sling Launchpad Standalone Archetype .. SUCCESS [1:01.795s] [INFO] Sling Launchpad Webapp Archetype .. SUCCESS [58.062s] [INFO] Sling Initial Content Archetype ... SUCCESS [40.367s] [INFO] Sling Servlet Archetype ... SUCCESS [3:00.644s] [INFO] Sling Bundle Archetype SUCCESS [36.689s] [INFO] Sling JCRInstall Bundle Archetype . SUCCESS [29.344s] [INFO] Sling Taglib Archetype SUCCESS [28.038s] [INFO] Apache Sling API .. SUCCESS [1:27.926s] [INFO] Apache Sling Resource Resolver SUCCESS [1:01.620s] [INFO] Apache Sling System Bundle Extension: Java Transaction API SUCCESS [42.333s] [INFO] Apache Sling System Bundle Extension: XML APIs SUCCESS [32.215s] [INFO] Apache Sling System Bundle Extension: Activation API SUCCESS [35.032s] [INFO] Apache Sling System Bundle Extension: WS APIs . SUCCESS [35.093s] [INFO] Apache Sling Dynamic Class Loader Support . SUCCESS [52.505s] [INFO] Apache Sling JSON Library . SUCCESS [46.903s] [INFO] Apache Sling SLF4J Implementation . SUCCESS [52.043s] [INFO] Apache Sling OSGi LogService Implementation ... SUCCESS [35.086s] [INFO] Apache Sling MIME type mapping support SUCCESS [45.264s] [INFO] Apache Sling Commons OSGi support . SUCCESS [43.006s] [INFO] Apache Sling Scheduler Support SUCCESS [37.443s] [INFO] Apache Sling Testing Utilities SUCCESS [54.669s] [INFO] Apache Sling Thread Support ... SUCCESS [35.701s] [INFO] Apache Sling Authentication Service ... SUCCESS [43.451s] [INFO] Apache Sling OpenID Authentication SUCCESS [51.577s] [INFO] Apache Sling Form Based Authentication Handler SUCCESS [2:04.447s] [INFO] Apache Sling Authentication Selector .. SUCCESS [41.244s] [INFO] Apache Sling Engine Implementation SUCCESS [1:01.091s] [INFO] Apache Sling Repository API Bundle SUCCESS [34.426s] [INFO] Apache Sling JCR Base Bundle .. SUCCESS [42.299s] [INFO] Apache Sling JCR ClassLoader .. SUCCESS [37.652s] [INFO] Apache Sling Initial Content Loader ... SUCCESS [1:13.799s] [INFO] Apache Sling Jackrabbit Embedded Repository ... SUCCESS [1:51.183s] [INFO] Apache Sling Jackrabbit UserManager Support ... SUCCESS [1:02.672s] [INFO] Apache Sling Jackrabbit JSR-283 Access Control Manager Support SUCCESS [1:13.028s] [INFO] Apache Sling Wrapper Bundle for the JCR API ... SUCCESS [43.862s] [INFO] Apache Sling Object Content Mapping ... SUCCESS [1:48.059s] [INFO] Apache Sling JCR Resource Resolver SUCCESS [2:08.275s] [INFO] Apache Sling JCR Repository Registration .. SUCCESS [58.369s] [INFO] Apache Sling Simple WebDAV Access to repositories . SUCCESS [41.961s] [INFO] Apache Sling DavEx Access to repositories . SUCCESS [58.305s] [INFO] Apache Sling JCR WebConsole Bundle SUCCESS [41.388s] [INFO] Apache Sling Servlet Resolver . SUCCESS [1:10.104s] [INFO] Apache Sling Default GET Servlets . SUCCESS [55.152s] [INFO] Apache Sling Default POST Servlets SUCCESS [1:00.888s] [INFO] Apache Sling Compat Servlets .. SUCCESS [37.239s] [INFO] Apache Sling Scripting Implementation API . SUCCESS [36.497s] [INFO] Apache Sling Scripting Core implementation SUCCESS [46.835s] [INFO] Apache Sling Scripting JavaScript Support . SUCCESS [58.186s] [INFO] Apache Sling Scripting JSP Support SUCCESS [44.149s] [INFO] Apache Sling JSP Tag Library .. FAILURE [21.124s] [INFO] Apache Sling JSP Standard Tag Library . SKIPPED [INFO] Apache Sling Adapter Manager Implementation ... SKIPPED [INFO] Apache Sling Bundle Resource Provider . SKIPPED [INFO] Apache Sling Discovery API SKIPPED [INFO] Apache Sling Resource-Based Discovery Service . SKIPPED [INFO] Apache Sling Discovery Support Bundle . SKIPPED [INFO] Apache Sling Discovery Standalone Implementation .. SKIPPED [INFO] Apache Sling Event Support SKIPPED [INFO] Apache Sling
Re: [Status Update] Apache Cassandra backend for Sling
On Mon, Jun 24, 2013 at 4:02 AM, Ian Boston i...@tfd.co.uk wrote: Hi Dishara, Yes. 1 resource == 1 row. The columns within that row represent the properties of the resource. I suggest that you use standard property names where appropriate (eg sling:resourceType is the Resource.resourceType etc) The Resource itself should be adaptable to a generic CassandraResource (which will probably implement Resource) which will have a map of properties containing all the columns of the cassandra row. (optimise later) A CassandraResource might look and feel like a MapString, Object or it might have a MapString, Object getProperties() method, or better still be adaptable to a Map. The essential think is dont hard code the property names in the interface of CassandraResource for the moment. ie no getContentType() and no getMimeType(), as we dont really know what a CassandraResource will store. ResourceMetadata should be built from a subset of the CassandraResource properties. You won't need to implement a ResourceResolver, only a ResourceProvider (and Factory). I would use CQL in preference to other API methods. There is one thing that hasnt been mentioned, and thats the URL - Cassandra Row mapping. There are several ways of doing this. eg: URL = /content/cassandra/columnFamily/rowID Cassandra Column Family = columnFamily Cassandra RowID = rowID or URL = /content/cassandra/columnFamilySelector/remainder/of/the/path Cassandra Cassandra Column Family = mapOfColumnFamilies.get(columnFamilySelector) Cassandra RowID = function(/remainder/of/the/path) or to take that one stage further public interface CassandraMapper { String getCQL(String columnFamilySelector, String path); } Hi Ian Thank you for the detailed explanation. OK. +1 for this approach with the mentioned flexibility.But I need a small clarification. With this approach, URL = /content/cassandra/columnFamilySelectorROW-ID ROW-ID - function(/remainder/of/the/path). So you mean ROW-ID is something we have to programatically uniquely create right ? like a UUID. What is this /remainder/of/the/path means ? Can you give an example with real values in the context of a user who want to obtain a resource from cassandra. This is just for my understanding. URL = /content/cassandra/columnFamilySelector/remainderOfPath String cqlQuery = mapOfCassandraMappers.get(columnFamilySelector).getCQL(columnFamilySelector, remainderOfPath); Which would allow us provided one or more implementations of CassandraMapper to map between URL and CQL. HTH Ian On 23 June 2013 19:29, Dishara Wijewardana ddwijeward...@gmail.com wrote: Hi Ian, What is the data mapping should be between Cassandra and Sling resource. I mean is a Sling Resource maps to a Cassandra Column ? Or Column Family ? Because to get this Cassandra and Sling story correct we need to finalize this. For an example what we eventually returns is a Sling resource. Everything that needs to fill in to create Sling resource should be stored in Cassandra. In a Sling resource, - Path - direct sling resource path - ResourceType - nt:cassandra - ResourceSuperType - ? - ResourceMetadata - we can create this on the fly with the data from the corresponding column. At insertion, those need to be stored. Following are the ones which I thought might be useful by default to be set for any node. Please add if we need anything more. - ContentType - ContentLength - CreationTime - ModificationTime - ResourceResolver - Do we need a resolver in this case ? So I believe in CQL context, one ROW should represent a Sling resource. If that is the case for ResourceMetadata we might need a separate column to store it since it has multiple values. I am not sure whether we can do it with CQL, but it should be possible with hector APIs may be. Appreciate your thoughts ? On Wed, Jun 19, 2013 at 1:19 AM, Dishara Wijewardana ddwijeward...@gmail.com wrote: Hi Ian, I am starting this thread to keep track on things related to the GSoC project related milestone status updates and related discussions. So the first task over view will be as follows as per GSoC proposal provided. 1. Implementing a CassandraResourceProvider to READ from Cassandra. Implementation Details [1] [1] : Implementation Details: 1.A) Write a CassanrdaResourceProviderUtil which is basically a cassendra client which will facilitate all cassandra related operations required by other modules (CassandraResourceProvider and CassandraResourceResolver). 1.B) Implementation of CassandraResourceProvider 1.C) Implementation of CassandraResourceResolver 1.D) Implementation of CassandraResource And I will start writing the CassanrdaResourceProviderUtil class which will do basic add and get using hector API.
Build failed in Jenkins: sling-trunk-1.6 » Apache Sling Jackrabbit UserManager Support #1704
See https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.jcr.jackrabbit.usermanager/1704/ -- [INFO] [INFO] [INFO] Building Apache Sling Jackrabbit UserManager Support 2.2.1-SNAPSHOT [INFO] [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ org.apache.sling.jcr.jackrabbit.usermanager --- [INFO] [INFO] --- maven-enforcer-plugin:1.0.1:enforce (enforce-java) @ org.apache.sling.jcr.jackrabbit.usermanager --- [INFO] [INFO] --- maven-antrun-plugin:1.7:run (set-bundle-required-execution-environment) @ org.apache.sling.jcr.jackrabbit.usermanager --- [INFO] Executing tasks main: [INFO] Executed tasks [INFO] [INFO] --- maven-remote-resources-plugin:1.4:process (default) @ org.apache.sling.jcr.jackrabbit.usermanager --- [INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ org.apache.sling.jcr.jackrabbit.usermanager ---[INFO] Copying 1 resource [INFO] Copying 3 resources [INFO] [INFO] --- maven-antrun-plugin:1.7:run (check-memory-task) @ org.apache.sling.jcr.jackrabbit.usermanager --- [INFO] Executing tasks main: [echo] WARNING (SLING-443/SLING-1782) ** [echo] On most platforms, you'll get OutOfMemoryErrors when building unless you set [echo] on 32bit platforms: MAVEN_OPTS=-Xmx256M -XX:MaxPermSize=256M, see SLING-443 [echo] on 64bit platforms: MAVEN_OPTS=-Xmx512M -XX:MaxPermSize=512M, see SLING-1782 [echo] ** [INFO] Executed tasks [INFO] [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ org.apache.sling.jcr.jackrabbit.usermanager --- [INFO] Compiling 23 source files to https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.jcr.jackrabbit.usermanager/ws/target/classes [INFO] [INFO] --- maven-scr-plugin:1.12.0:scr (generate-scr-scrdescriptor) @ org.apache.sling.jcr.jackrabbit.usermanager --- [INFO] Generating 1 MetaType Descriptors in https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.jcr.jackrabbit.usermanager/ws/target/scr-plugin-generated/OSGI-INF/metatype/org.apache.sling.jackrabbit.usermanager.impl.resource.AuthorizableResourceProvider.xml [INFO] Generating 1 MetaType Descriptors in https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.jcr.jackrabbit.usermanager/ws/target/scr-plugin-generated/OSGI-INF/metatype/org.apache.sling.jackrabbit.usermanager.impl.post.UpdateUserServlet.xml [INFO] Generating 1 MetaType Descriptors in https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.jcr.jackrabbit.usermanager/ws/target/scr-plugin-generated/OSGI-INF/metatype/org.apache.sling.jackrabbit.usermanager.impl.post.CreateUserServlet.xml [INFO] Generating 1 MetaType Descriptors in https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.jcr.jackrabbit.usermanager/ws/target/scr-plugin-generated/OSGI-INF/metatype/org.apache.sling.jackrabbit.usermanager.impl.post.UpdateGroupServlet.xml [INFO] Generating 1 MetaType Descriptors in https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.jcr.jackrabbit.usermanager/ws/target/scr-plugin-generated/OSGI-INF/metatype/org.apache.sling.jackrabbit.usermanager.impl.post.DeleteAuthorizableServlet.xml [INFO] Generating 1 MetaType Descriptors in https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.jcr.jackrabbit.usermanager/ws/target/scr-plugin-generated/OSGI-INF/metatype/org.apache.sling.jackrabbit.usermanager.impl.post.ChangeUserPasswordServlet.xml [INFO] Generating 1 MetaType Descriptors in https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.jcr.jackrabbit.usermanager/ws/target/scr-plugin-generated/OSGI-INF/metatype/org.apache.sling.jackrabbit.usermanager.impl.post.CreateGroupServlet.xml [INFO] Generating 1 MetaType Descriptors in https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.jcr.jackrabbit.usermanager/ws/target/scr-plugin-generated/OSGI-INF/metatype/org.apache.sling.jackrabbit.usermanager.impl.AuthorizablePrivilegesInfoImpl.xml [INFO] Writing 1 Service Component Descriptors to https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.jcr.jackrabbit.usermanager/ws/target/scr-plugin-generated/OSGI-INF/org.apache.sling.jackrabbit.usermanager.impl.resource.AuthorizableResourceProvider.xml [INFO] Writing 1 Service Component Descriptors to
Build failed in Jenkins: sling-trunk-1.6 #1704
See https://builds.apache.org/job/sling-trunk-1.6/1704/changes Changes: [dklco] Fixing issue with incorrect import of Tika IOUtils instead of Commons IOUtils which was causing compilation failure. -- [...truncated 6414 lines...] [INFO] Apache Sling Initial Content Loader ... SUCCESS [1:42.662s] [INFO] Apache Sling Jackrabbit Embedded Repository ... SUCCESS [1:17.872s] [INFO] Apache Sling Jackrabbit UserManager Support ... FAILURE [1:06.531s] [INFO] Apache Sling Jackrabbit JSR-283 Access Control Manager Support SKIPPED [INFO] Apache Sling Wrapper Bundle for the JCR API ... SKIPPED [INFO] Apache Sling Object Content Mapping ... SKIPPED [INFO] Apache Sling JCR Resource Resolver SKIPPED [INFO] Apache Sling JCR Repository Registration .. SKIPPED [INFO] Apache Sling Simple WebDAV Access to repositories . SKIPPED [INFO] Apache Sling DavEx Access to repositories . SKIPPED [INFO] Apache Sling JCR WebConsole Bundle SKIPPED [INFO] Apache Sling Servlet Resolver . SKIPPED [INFO] Apache Sling Default GET Servlets . SKIPPED [INFO] Apache Sling Default POST Servlets SKIPPED [INFO] Apache Sling Compat Servlets .. SKIPPED [INFO] Apache Sling Scripting Implementation API . SKIPPED [INFO] Apache Sling Scripting Core implementation SKIPPED [INFO] Apache Sling Scripting JavaScript Support . SKIPPED [INFO] Apache Sling Scripting JSP Support SKIPPED [INFO] Apache Sling JSP Tag Library .. SKIPPED [INFO] Apache Sling JSP Standard Tag Library . SKIPPED [INFO] Apache Sling Adapter Manager Implementation ... SKIPPED [INFO] Apache Sling Bundle Resource Provider . SKIPPED [INFO] Apache Sling Discovery API SKIPPED [INFO] Apache Sling Resource-Based Discovery Service . SKIPPED [INFO] Apache Sling Discovery Support Bundle . SKIPPED [INFO] Apache Sling Discovery Standalone Implementation .. SKIPPED [INFO] Apache Sling Event Support SKIPPED [INFO] Apache Sling Filesystem Resource Provider . SKIPPED [INFO] Apache Sling javax.activation bundle .. SKIPPED [INFO] Apache Sling Settings . SKIPPED [INFO] Apache Sling Thread Dumper SKIPPED [INFO] Apache Sling Web Console Branding . SKIPPED [INFO] Apache Sling Web Console Security Provider SKIPPED [INFO] Apache Sling Groovy Extensions SKIPPED [INFO] Apache Sling Explorer . SKIPPED [INFO] Apache Sling Test Tools ... SKIPPED [INFO] Apache Sling JUnit Core ... SKIPPED [INFO] Apache Sling JUnit Scriptable Tests Provider .. SKIPPED [INFO] Apache Sling JUnit Remote Tests Runners ... SKIPPED [INFO] Apache Sling Testing Resource Resolver Mock ... SKIPPED [INFO] Apache Sling Installer API SKIPPED [INFO] Apache Sling Installer SKIPPED [INFO] Apache Sling Installer WebConsole Plugin .. SKIPPED [INFO] Apache Sling File Installer ... SKIPPED [INFO] Apache Sling JCR Installer SKIPPED [INFO] Apache Sling Installer Configuration Admin Support SKIPPED [INFO] Apache Sling Deployment Package Installer . SKIPPED [INFO] Apache Sling Installer Integration Tests .. SKIPPED [INFO] Apache Sling Launchpad API SKIPPED [INFO] Apache Sling Launchpad Base ... SKIPPED [INFO] Apache Sling Launchpad Installer .. SKIPPED [INFO] Apache Sling Launchpad Content SKIPPED [INFO] Apache Sling Launchpad Application Builder SKIPPED [INFO] Apache Sling Sample Server-Side Tests . SKIPPED [INFO] Apache Sling Failing Server-Side Tests SKIPPED [INFO] Apache Sling Sample Integration Tests . SKIPPED [INFO] Apache Sling Launchpad Testing Services ... SKIPPED [INFO] Apache Sling Launchpad Testing Services WAR ... SKIPPED [INFO] Apache Sling Launchpad Testing Fragment Bundle SKIPPED [INFO] Apache Sling Launchpad Test Bundles ... SKIPPED [INFO] Apache Sling Integration Tests SKIPPED [INFO] Apache Sling Launchpad Testing SKIPPED [INFO] Apache Sling Launchpad Testing WAR version SKIPPED [INFO] Apache Sling (Builder) SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 54:48.838s [INFO] Finished at: Mon Jun 24 20:26:06 GMT+00:00 2013 [INFO] Final Memory: 109M/283M [INFO]
Build failed in Jenkins: sling-trunk-1.6 » Sling Adapter Annotations #1705
See https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$adapter-annotations/1705/ -- [INFO] [INFO] [INFO] Building Sling Adapter Annotations 1.0.1-SNAPSHOT [INFO] [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ adapter-annotations ---[INFO] Deleting https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$adapter-annotations/ws/target [INFO] [INFO] --- maven-enforcer-plugin:1.0.1:enforce (enforce-java) @ adapter-annotations --- [INFO] [INFO] --- maven-antrun-plugin:1.7:run (set-bundle-required-execution-environment) @ adapter-annotations --- [INFO] Executing tasks main: [INFO] Executed tasks [INFO] [INFO] --- maven-remote-resources-plugin:1.4:process (default) @ adapter-annotations --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ adapter-annotations --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$adapter-annotations/ws/src/main/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-antrun-plugin:1.7:run (check-memory-task) @ adapter-annotations --- [INFO] Executing tasks main: [echo] WARNING (SLING-443/SLING-1782) ** [echo] On most platforms, you'll get OutOfMemoryErrors when building unless you set [echo] on 32bit platforms: MAVEN_OPTS=-Xmx256M -XX:MaxPermSize=256M, see SLING-443 [echo] on 64bit platforms: MAVEN_OPTS=-Xmx512M -XX:MaxPermSize=512M, see SLING-1782 [echo] ** [INFO] Executed tasks [INFO] [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ adapter-annotations --- [INFO] Compiling 3 source files to https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$adapter-annotations/ws/target/classes [INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$adapter-annotations/ws/src/test/resources [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ adapter-annotations ---[INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ adapter-annotations ---[INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ adapter-annotations --- [JENKINS] Recording test results[INFO] Checking unresolved references to org.codehaus.mojo.signature:java15:1.0 [INFO] [INFO] --- animal-sniffer-maven-plugin:1.9:check (default) @ adapter-annotations --- [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ adapter-annotations ---
Build failed in Jenkins: sling-trunk-1.7 » Apache Sling JCR Installer #74
See https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.installer.provider.jcr/74/ -- [INFO] [INFO] [INFO] Building Apache Sling JCR Installer 3.1.7-SNAPSHOT [INFO] [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ org.apache.sling.installer.provider.jcr ---[INFO] Deleting https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.installer.provider.jcr/ws/target [INFO] [INFO] --- maven-enforcer-plugin:1.0.1:enforce (enforce-java) @ org.apache.sling.installer.provider.jcr --- [INFO] [INFO] --- maven-antrun-plugin:1.7:run (set-bundle-required-execution-environment) @ org.apache.sling.installer.provider.jcr --- [INFO] Executing tasks main: [INFO] Executed tasks [INFO] [INFO] --- maven-remote-resources-plugin:1.4:process (default) @ org.apache.sling.installer.provider.jcr --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ org.apache.sling.installer.provider.jcr ---[INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-antrun-plugin:1.7:run (check-memory-task) @ org.apache.sling.installer.provider.jcr --- [INFO] Executing tasks main: [echo] WARNING (SLING-443/SLING-1782) ** [echo] On most platforms, you'll get OutOfMemoryErrors when building unless you set [echo] on 32bit platforms: MAVEN_OPTS=-Xmx256M -XX:MaxPermSize=256M, see SLING-443 [echo] on 64bit platforms: MAVEN_OPTS=-Xmx512M -XX:MaxPermSize=512M, see SLING-1782 [echo] ** [INFO] Executed tasks [INFO] [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ org.apache.sling.installer.provider.jcr --- [INFO] Compiling 8 source files to https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.installer.provider.jcr/ws/target/classes [INFO] [INFO] --- maven-scr-plugin:1.12.0:scr (generate-scr-scrdescriptor) @ org.apache.sling.installer.provider.jcr --- [INFO] Generating 1 MetaType Descriptors in https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.installer.provider.jcr/ws/target/scr-plugin-generated/OSGI-INF/metatype/org.apache.sling.installer.provider.jcr.impl.JcrInstaller.xml [INFO] Writing 1 Service Component Descriptors to https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.installer.provider.jcr/ws/target/scr-plugin-generated/OSGI-INF/org.apache.sling.installer.provider.jcr.impl.JcrInstaller.xml [INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ org.apache.sling.installer.provider.jcr ---[INFO] Copying 1 resource [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ org.apache.sling.installer.provider.jcr --- [INFO] Compiling 11 source files to https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.installer.provider.jcr/ws/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ org.apache.sling.installer.provider.jcr ---[INFO] Surefire report directory: https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.installer.provider.jcr/ws/target/surefire-reports --- T E S T S --- Results : Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [JENKINS] Recording test results
Jenkins build is back to normal : sling-trunk-1.7 » Apache Sling JSP Tag Library #74
See https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.scripting.jsp.taglib/74/changes
Jenkins build is back to stable : sling-trunk-1.7 » Apache Sling Event Support #74
See https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.event/74/
Jenkins build is unstable: sling-trunk-1.7 » Apache Sling Resource-Based Discovery Service #74
See https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.discovery.impl/74/
Build failed in Jenkins: sling-trunk-1.6 #1705
See https://builds.apache.org/job/sling-trunk-1.6/1705/changes Changes: [dklco] Added a Unit test for the new var option on the include tag -- [...truncated 307 lines...] [INFO] Apache Sling Engine Implementation SKIPPED [INFO] Apache Sling Repository API Bundle SKIPPED [INFO] Apache Sling JCR Base Bundle .. SKIPPED [INFO] Apache Sling JCR ClassLoader .. SKIPPED [INFO] Apache Sling Initial Content Loader ... SKIPPED [INFO] Apache Sling Jackrabbit Embedded Repository ... SKIPPED [INFO] Apache Sling Jackrabbit UserManager Support ... SKIPPED [INFO] Apache Sling Jackrabbit JSR-283 Access Control Manager Support SKIPPED [INFO] Apache Sling Wrapper Bundle for the JCR API ... SKIPPED [INFO] Apache Sling Object Content Mapping ... SKIPPED [INFO] Apache Sling JCR Resource Resolver SKIPPED [INFO] Apache Sling JCR Repository Registration .. SKIPPED [INFO] Apache Sling Simple WebDAV Access to repositories . SKIPPED [INFO] Apache Sling DavEx Access to repositories . SKIPPED [INFO] Apache Sling JCR WebConsole Bundle SKIPPED [INFO] Apache Sling Servlet Resolver . SKIPPED [INFO] Apache Sling Default GET Servlets . SKIPPED [INFO] Apache Sling Default POST Servlets SKIPPED [INFO] Apache Sling Compat Servlets .. SKIPPED [INFO] Apache Sling Scripting Implementation API . SKIPPED [INFO] Apache Sling Scripting Core implementation SKIPPED [INFO] Apache Sling Scripting JavaScript Support . SKIPPED [INFO] Apache Sling Scripting JSP Support SKIPPED [INFO] Apache Sling JSP Tag Library .. SKIPPED [INFO] Apache Sling JSP Standard Tag Library . SKIPPED [INFO] Apache Sling Adapter Manager Implementation ... SKIPPED [INFO] Apache Sling Bundle Resource Provider . SKIPPED [INFO] Apache Sling Discovery API SKIPPED [INFO] Apache Sling Resource-Based Discovery Service . SKIPPED [INFO] Apache Sling Discovery Support Bundle . SKIPPED [INFO] Apache Sling Discovery Standalone Implementation .. SKIPPED [INFO] Apache Sling Event Support SKIPPED [INFO] Apache Sling Filesystem Resource Provider . SKIPPED [INFO] Apache Sling javax.activation bundle .. SKIPPED [INFO] Apache Sling Settings . SKIPPED [INFO] Apache Sling Thread Dumper SKIPPED [INFO] Apache Sling Web Console Branding . SKIPPED [INFO] Apache Sling Web Console Security Provider SKIPPED [INFO] Apache Sling Groovy Extensions SKIPPED [INFO] Apache Sling Explorer . SKIPPED [INFO] Apache Sling Test Tools ... SKIPPED [INFO] Apache Sling JUnit Core ... SKIPPED [INFO] Apache Sling JUnit Scriptable Tests Provider .. SKIPPED [INFO] Apache Sling JUnit Remote Tests Runners ... SKIPPED [INFO] Apache Sling Testing Resource Resolver Mock ... SKIPPED [INFO] Apache Sling Installer API SKIPPED [INFO] Apache Sling Installer SKIPPED [INFO] Apache Sling Installer WebConsole Plugin .. SKIPPED [INFO] Apache Sling File Installer ... SKIPPED [INFO] Apache Sling JCR Installer SKIPPED [INFO] Apache Sling Installer Configuration Admin Support SKIPPED [INFO] Apache Sling Deployment Package Installer . SKIPPED [INFO] Apache Sling Installer Integration Tests .. SKIPPED [INFO] Apache Sling Launchpad API SKIPPED [INFO] Apache Sling Launchpad Base ... SKIPPED [INFO] Apache Sling Launchpad Installer .. SKIPPED [INFO] Apache Sling Launchpad Content SKIPPED [INFO] Apache Sling Launchpad Application Builder SKIPPED [INFO] Apache Sling Sample Server-Side Tests . SKIPPED [INFO] Apache Sling Failing Server-Side Tests SKIPPED [INFO] Apache Sling Sample Integration Tests . SKIPPED [INFO] Apache Sling Launchpad Testing Services ... SKIPPED [INFO] Apache Sling Launchpad Testing Services WAR ... SKIPPED [INFO] Apache Sling Launchpad Testing Fragment Bundle SKIPPED [INFO] Apache Sling Launchpad Test Bundles ... SKIPPED [INFO] Apache Sling Integration Tests SKIPPED [INFO] Apache Sling Launchpad Testing SKIPPED [INFO] Apache Sling Launchpad Testing WAR version SKIPPED [INFO] Apache Sling (Builder) SKIPPED [INFO] [INFO] BUILD FAILURE [INFO]
Build failed in Jenkins: sling-trunk-1.7 #74
See https://builds.apache.org/job/sling-trunk-1.7/74/changes Changes: [dklco] Fixing issue with incorrect import of Tika IOUtils instead of Commons IOUtils which was causing compilation failure. -- [...truncated 20122 lines...] [INFO] Apache Sling System Bundle Extension: Java Transaction API SUCCESS [38.701s] [INFO] Apache Sling System Bundle Extension: XML APIs SUCCESS [54.861s] [INFO] Apache Sling System Bundle Extension: Activation API SUCCESS [33.563s] [INFO] Apache Sling System Bundle Extension: WS APIs . SUCCESS [31.651s] [INFO] Apache Sling Dynamic Class Loader Support . SUCCESS [1:09.794s] [INFO] Apache Sling JSON Library . SUCCESS [59.935s] [INFO] Apache Sling SLF4J Implementation . SUCCESS [1:16.380s] [INFO] Apache Sling OSGi LogService Implementation ... SUCCESS [31.275s] [INFO] Apache Sling MIME type mapping support SUCCESS [59.419s] [INFO] Apache Sling Commons OSGi support . SUCCESS [48.954s] [INFO] Apache Sling Scheduler Support SUCCESS [1:15.469s] [INFO] Apache Sling Testing Utilities SUCCESS [9:08.737s] [INFO] Apache Sling Thread Support ... SUCCESS [1:34.719s] [INFO] Apache Sling Authentication Service ... SUCCESS [2:33.576s] [INFO] Apache Sling OpenID Authentication SUCCESS [1:31.469s] [INFO] Apache Sling Form Based Authentication Handler SUCCESS [1:52.752s] [INFO] Apache Sling Authentication Selector .. SUCCESS [35.234s] [INFO] Apache Sling Engine Implementation SUCCESS [1:53.345s] [INFO] Apache Sling Repository API Bundle SUCCESS [35.381s] [INFO] Apache Sling JCR Base Bundle .. SUCCESS [56.499s] [INFO] Apache Sling JCR ClassLoader .. SUCCESS [45.782s] [INFO] Apache Sling Initial Content Loader ... SUCCESS [1:45.419s] [INFO] Apache Sling Jackrabbit Embedded Repository ... SUCCESS [1:02.663s] [INFO] Apache Sling Jackrabbit UserManager Support ... SUCCESS [1:14.136s] [INFO] Apache Sling Jackrabbit JSR-283 Access Control Manager Support SUCCESS [50.968s] [INFO] Apache Sling Wrapper Bundle for the JCR API ... SUCCESS [30.079s] [INFO] Apache Sling Object Content Mapping ... SUCCESS [46.519s] [INFO] Apache Sling JCR Resource Resolver SUCCESS [2:15.085s] [INFO] Apache Sling JCR Repository Registration .. SUCCESS [49.686s] [INFO] Apache Sling Simple WebDAV Access to repositories . SUCCESS [45.692s] [INFO] Apache Sling DavEx Access to repositories . SUCCESS [46.506s] [INFO] Apache Sling JCR WebConsole Bundle SUCCESS [34.832s] [INFO] Apache Sling Servlet Resolver . SUCCESS [1:02.866s] [INFO] Apache Sling Default GET Servlets . SUCCESS [41.470s] [INFO] Apache Sling Default POST Servlets SUCCESS [43.830s] [INFO] Apache Sling Compat Servlets .. SUCCESS [38.850s] [INFO] Apache Sling Scripting Implementation API . SUCCESS [42.167s] [INFO] Apache Sling Scripting Core implementation SUCCESS [1:00.677s] [INFO] Apache Sling Scripting JavaScript Support . SUCCESS [57.965s] [INFO] Apache Sling Scripting JSP Support SUCCESS [46.172s] [INFO] Apache Sling JSP Tag Library .. SUCCESS [46.290s] [INFO] Apache Sling JSP Standard Tag Library . SUCCESS [36.548s] [INFO] Apache Sling Adapter Manager Implementation ... SUCCESS [44.094s] [INFO] Apache Sling Bundle Resource Provider . SUCCESS [34.767s] [INFO] Apache Sling Discovery API SUCCESS [33.125s] [INFO] Apache Sling Resource-Based Discovery Service . SUCCESS [9:06.421s] [INFO] Apache Sling Discovery Support Bundle . SUCCESS [40.532s] [INFO] Apache Sling Discovery Standalone Implementation .. SUCCESS [38.130s] [INFO] Apache Sling Event Support SUCCESS [9:39.286s] [INFO] Apache Sling Filesystem Resource Provider . SUCCESS [44.771s] [INFO] Apache Sling javax.activation bundle .. SUCCESS [28.048s] [INFO] Apache Sling Settings . SUCCESS [45.805s] [INFO] Apache Sling Thread Dumper SUCCESS [31.377s] [INFO] Apache Sling Web Console Branding . SUCCESS [55.999s] [INFO] Apache Sling Web Console Security Provider SUCCESS [33.659s] [INFO] Apache Sling Groovy Extensions SUCCESS [33.455s] [INFO] Apache Sling Explorer . SUCCESS [42.560s] [INFO] Apache Sling Test Tools ... SUCCESS [39.950s] [INFO] Apache Sling JUnit Core ... SUCCESS [57.875s] [INFO] Apache Sling JUnit Scriptable Tests Provider .. SUCCESS [42.220s] [INFO] Apache Sling JUnit Remote Tests Runners
Jenkins build is unstable: sling-trunk-1.7 » Apache Sling Sample Integration Tests #75
See https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.testing.samples.integrationtests/75/
Jenkins build is back to normal : sling-trunk-1.7 » Apache Sling JCR Installer #75
See https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.installer.provider.jcr/75/
Jenkins build is back to stable : sling-trunk-1.7 » Apache Sling Launchpad Testing #75
See https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.launchpad.testing/75/
Jenkins build is unstable: sling-trunk-1.7 » Apache Sling Launchpad Testing WAR version #75
See https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.launchpad.testing-war/75/
Jenkins build is back to stable : sling-trunk-1.7 » Apache Sling Resource-Based Discovery Service #75
See https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.discovery.impl/75/
Jenkins build is unstable: sling-trunk-1.7 #75
See https://builds.apache.org/job/sling-trunk-1.7/75/changes
Re: [Status Update] Apache Cassandra backend for Sling
Hi, (I might have errors in the CQL, Cassandra schema and the functions need proper escaping) Example 1: Zero depth tree wiht UUID as the rowid or key. URL /content/cassandra/pictures/13f58d5c95c70b6f then the column family is pictures and the URL - ROWID function just results in the ROWID being 13f58d5c95c70b6f and String cql = mapOfCassandraMappers.get(pictures).getCQL(pictures, 13f58d5c95c70b6f) System.err.println(cql); where String getCQL(String cf, String path) { return select * from +cf+ where rowid = '+path+'; } yields: select * from pictures where rowid = '13f58d5c95c70b6f' 13f58d5c95c70b6f would be generated by the application when the user created a new picture (by upload). Example 2: User specified URL /content/cassandra/catalogue/capacitors/electrolytic/axial/16v/10uf String cql = mapOfCassandraMappers.get(catalogue).getCQL(catalogue, capacitors/electrolytic/axial/16v/10uf) System.err.println(cql); where String getCQL(String cf, String path) { MessageDigest md = MessageDigest.getInstance(SHA1); String rowID = Base64.encode(md.finish(path.getBytes(UTF-8))); return select * from +cf+ where rowid = '+rowID+'; } yields select * from pictures where rowid = 'NzdlZmU4OTZmNGM4MzMwYzZ' If you want to find the parent then mapOfCassandraMappers.get(catalogue).getCQL(catalogue, capacitors/electrolytic/axial/16v) select * from pictures where rowid = 'ZGFzZGZzZnNkYWZzYWRmc2R' And if the parent is stored in the property parent then select * from pictures where parent = 'ZGFzZGZzZnNkYWZzYWRmc2R' will generate a list of children. (Not sure about performance) Example 3: User is allowed to enter the RowID directly (identical to Example 1 URL /content/cassandra/cannesfilmfestival/TomCruiseCassino-20130402112345-ieb.jpg where String getCQL(String cf, String path) { return select * from +cf+ where rowid = '+path+'; } yields: select * from pictures where rowid = ' TomCruiseCassino-20130402112345-ieb.jpg' Does that make sense ? Ian On 25 June 2013 05:29, Dishara Wijewardana ddwijeward...@gmail.com wrote: On Mon, Jun 24, 2013 at 4:02 AM, Ian Boston i...@tfd.co.uk wrote: Hi Dishara, Yes. 1 resource == 1 row. The columns within that row represent the properties of the resource. I suggest that you use standard property names where appropriate (eg sling:resourceType is the Resource.resourceType etc) The Resource itself should be adaptable to a generic CassandraResource (which will probably implement Resource) which will have a map of properties containing all the columns of the cassandra row. (optimise later) A CassandraResource might look and feel like a MapString, Object or it might have a MapString, Object getProperties() method, or better still be adaptable to a Map. The essential think is dont hard code the property names in the interface of CassandraResource for the moment. ie no getContentType() and no getMimeType(), as we dont really know what a CassandraResource will store. ResourceMetadata should be built from a subset of the CassandraResource properties. You won't need to implement a ResourceResolver, only a ResourceProvider (and Factory). I would use CQL in preference to other API methods. There is one thing that hasnt been mentioned, and thats the URL - Cassandra Row mapping. There are several ways of doing this. eg: URL = /content/cassandra/columnFamily/rowID Cassandra Column Family = columnFamily Cassandra RowID = rowID or URL = /content/cassandra/columnFamilySelector/remainder/of/the/path Cassandra Cassandra Column Family = mapOfColumnFamilies.get(columnFamilySelector) Cassandra RowID = function(/remainder/of/the/path) or to take that one stage further public interface CassandraMapper { String getCQL(String columnFamilySelector, String path); } Hi Ian Thank you for the detailed explanation. OK. +1 for this approach with the mentioned flexibility.But I need a small clarification. With this approach, URL = /content/cassandra/columnFamilySelectorROW-ID ROW-ID - function(/remainder/of/the/path). So you mean ROW-ID is something we have to programatically uniquely create right ? like a UUID. What is this /remainder/of/the/path means ? Can you give an example with real values in the context of a user who want to obtain a resource from cassandra. This is just for my understanding. URL = /content/cassandra/columnFamilySelector/remainderOfPath String cqlQuery = mapOfCassandraMappers.get(columnFamilySelector).getCQL(columnFamilySelector, remainderOfPath); Which would allow us provided one or more implementations of CassandraMapper to map between URL and CQL. HTH Ian On 23 June 2013 19:29, Dishara Wijewardana ddwijeward...@gmail.com wrote: Hi Ian, What is the data mapping should be between Cassandra and Sling resource. I mean is a Sling Resource maps to a