You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ol...@apache.org on 2018/02/12 12:24:28 UTC

[sling-org-apache-sling-karaf-integration-tests] branch feature/oak-1.8 updated (3c64b4e -> 4e6eba6)

This is an automated email from the ASF dual-hosted git repository.

olli pushed a change to branch feature/oak-1.8
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-karaf-integration-tests.git.


    from 3c64b4e  SLING-7442 Upgrade Karaf Features to Oak 1.8
     new 6d25dfa  SLING-3027 Improve Launchpad Karaf Features
     new 604764a  SLING-6130 Restrict access for principal everyone and move configuration to repoinit
     new e760558  SLING-7487 Upgrade Tinybundles to 3.0.0 (and bndlib to 3.5.0)
     new 4e6eba6  SLING-7489 Update Jackrabbit to 2.16.1

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 pom.xml                                            |  6 +++---
 .../AbstractSlingQuickstartOakTestSupport.java     |  5 +++--
 .../apache/sling/karaf/tests/bootstrap/TikaIT.java | 25 ++++++++++++++++++++--
 3 files changed, 29 insertions(+), 7 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
olli@apache.org.

[sling-org-apache-sling-karaf-integration-tests] 01/04: SLING-3027 Improve Launchpad Karaf Features

Posted by ol...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

olli pushed a commit to branch feature/oak-1.8
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-karaf-integration-tests.git

commit 6d25dfa602d0452f24f923019c7424fc7020771b
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Wed Feb 7 22:26:53 2018 +0100

    SLING-3027 Improve Launchpad Karaf Features
    
    replace Tika (Uber) Bundle by Tika Parsers and PDFBox bundles, see SLING-7125
---
 .../apache/sling/karaf/tests/bootstrap/TikaIT.java | 25 ++++++++++++++++++++--
 1 file changed, 23 insertions(+), 2 deletions(-)

diff --git a/src/test/java/org/apache/sling/karaf/tests/bootstrap/TikaIT.java b/src/test/java/org/apache/sling/karaf/tests/bootstrap/TikaIT.java
index 8b6298f..8aaa2eb 100644
--- a/src/test/java/org/apache/sling/karaf/tests/bootstrap/TikaIT.java
+++ b/src/test/java/org/apache/sling/karaf/tests/bootstrap/TikaIT.java
@@ -52,8 +52,29 @@ public class TikaIT extends KarafTestSupport {
     }
 
     @Test
-    public void testOrgApacheTikaBundle() {
-        final Bundle bundle = findBundle("org.apache.tika.bundle");
+    public void testOrgApacheTikaParsers() {
+        final Bundle bundle = findBundle("org.apache.tika.parsers");
+        assertNotNull(bundle);
+        assertEquals(Bundle.ACTIVE, bundle.getState());
+    }
+
+    @Test
+    public void testOrgApachePdfbox() {
+        final Bundle bundle = findBundle("org.apache.pdfbox");
+        assertNotNull(bundle);
+        assertEquals(Bundle.ACTIVE, bundle.getState());
+    }
+
+    @Test
+    public void testOrgApachePdfboxFontbox() {
+        final Bundle bundle = findBundle("org.apache.pdfbox.fontbox");
+        assertNotNull(bundle);
+        assertEquals(Bundle.ACTIVE, bundle.getState());
+    }
+
+    @Test
+    public void testOrgApachePdfboxJempbox() {
+        final Bundle bundle = findBundle("org.apache.pdfbox.jempbox");
         assertNotNull(bundle);
         assertEquals(Bundle.ACTIVE, bundle.getState());
     }

-- 
To stop receiving notification emails like this one, please contact
olli@apache.org.

[sling-org-apache-sling-karaf-integration-tests] 03/04: SLING-7487 Upgrade Tinybundles to 3.0.0 (and bndlib to 3.5.0)

Posted by ol...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

olli pushed a commit to branch feature/oak-1.8
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-karaf-integration-tests.git

commit e760558167886b02e496b3d7efac02f726e39bc4
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Fri Feb 9 12:12:13 2018 +0100

    SLING-7487 Upgrade Tinybundles to 3.0.0 (and bndlib to 3.5.0)
---
 pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index ae7b9cd..fad2941 100644
--- a/pom.xml
+++ b/pom.xml
@@ -124,7 +124,7 @@
     <dependency>
       <groupId>biz.aQute.bnd</groupId>
       <artifactId>biz.aQute.bndlib</artifactId>
-      <version>2.4.1</version>
+      <version>3.5.0</version>
       <scope>provided</scope>
     </dependency>
     <!-- logging -->
@@ -153,7 +153,7 @@
     <dependency>
       <groupId>org.ops4j.pax.tinybundles</groupId>
       <artifactId>tinybundles</artifactId>
-      <version>2.1.1</version>
+      <version>3.0.0</version>
     </dependency>
     <dependency>
       <groupId>org.apache.karaf</groupId>

-- 
To stop receiving notification emails like this one, please contact
olli@apache.org.

[sling-org-apache-sling-karaf-integration-tests] 02/04: SLING-6130 Restrict access for principal everyone and move configuration to repoinit

Posted by ol...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

olli pushed a commit to branch feature/oak-1.8
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-karaf-integration-tests.git

commit 604764a96c3b4f8ee1af78244d86bf5e8e5fe86b
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Thu Feb 8 21:07:51 2018 +0100

    SLING-6130 Restrict access for principal everyone and move configuration to repoinit
    
    * adjust IT
---
 .../karaf/tests/bootstrap/AbstractSlingQuickstartOakTestSupport.java | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/test/java/org/apache/sling/karaf/tests/bootstrap/AbstractSlingQuickstartOakTestSupport.java b/src/test/java/org/apache/sling/karaf/tests/bootstrap/AbstractSlingQuickstartOakTestSupport.java
index 84b46a2..d9c2cd9 100644
--- a/src/test/java/org/apache/sling/karaf/tests/bootstrap/AbstractSlingQuickstartOakTestSupport.java
+++ b/src/test/java/org/apache/sling/karaf/tests/bootstrap/AbstractSlingQuickstartOakTestSupport.java
@@ -170,16 +170,17 @@ public abstract class AbstractSlingQuickstartOakTestSupport extends KarafTestSup
         Session s = slingRepository.loginAdministrative(null);
         try {
             final Node root = s.getRootNode();
+            final Node content = root.getNodes("content").nextNode();
             final String name = uniqueName("assertCreateRetrieveNode");
             final String propName = "PN_" + name;
             final String propValue = "PV_" + name;
-            final Node child = nodeType == null ? root.addNode(name) : root.addNode(name, nodeType);
+            final Node child = nodeType == null ? content.addNode(name) : content.addNode(name, nodeType);
             child.setProperty(propName, propValue);
             child.setProperty("foo", child.getPath());
             s.save();
             s.logout();
             s = slingRepository.loginAdministrative(null);
-            final Node n = s.getNode("/" + name);
+            final Node n = s.getNode("/content/" + name);
             assertNotNull(n);
             assertEquals(propValue, n.getProperty(propName).getString());
             return n.getPath();

-- 
To stop receiving notification emails like this one, please contact
olli@apache.org.

[sling-org-apache-sling-karaf-integration-tests] 04/04: SLING-7489 Update Jackrabbit to 2.16.1

Posted by ol...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

olli pushed a commit to branch feature/oak-1.8
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-karaf-integration-tests.git

commit 4e6eba6a4d86cdf4d09dd1971cc11e0d06123fe5
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Sun Feb 11 21:52:12 2018 +0100

    SLING-7489 Update Jackrabbit to 2.16.1
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index fad2941..63ca611 100644
--- a/pom.xml
+++ b/pom.xml
@@ -35,7 +35,7 @@
   <description>Integration Tests for Apache Sling Karaf</description>
 
   <properties>
-    <org.apache.jackrabbit.version>2.16.0</org.apache.jackrabbit.version>
+    <org.apache.jackrabbit.version>2.16.1</org.apache.jackrabbit.version>
     <org.apache.karaf.version>4.2.0.M2</org.apache.karaf.version>
     <org.ops4j.pax.exam.version>4.11.0</org.ops4j.pax.exam.version>
   </properties>

-- 
To stop receiving notification emails like this one, please contact
olli@apache.org.