You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:28:54 UTC

[sling-org-apache-sling-discovery-oak] annotated tag org.apache.sling.discovery.oak-1.2.12 created (now 814659d)

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

rombert pushed a change to annotated tag org.apache.sling.discovery.oak-1.2.12
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-discovery-oak.git.


      at 814659d  (tag)
 tagging aa93e2898a9763ea6226a36a90a12349f7d3c697 (commit)
      by Stefan Egli
      on Wed Sep 21 14:59:50 2016 +0000

- Log -----------------------------------------------------------------
org.apache.sling.discovery.oak-1.2.12
-----------------------------------------------------------------------

This annotated tag includes the following new commits:

     new d1c3dce  SLING-4603 : added discovery.oak to the project - this is based on discovery.base, which handles topology connectors and contains a few other base classes that were factored out of discovery.impl for exactly this reuse
     new f889c65  SLING-4603 : some minor wording change
     new c03ca86  SLING-4603 : more aggressively clearing the idMap-cache to avoid stale entries on slingId change - plus added getSyncHistory to BaseSyncTokenConsistencyService to allow adding it to the webconsole for debug - plus some cleanup in webconsole wrt discoveryLite info
     new f030cb5  SLING-4603 : introducing configuration for syncToken enabling/disabling - plus using the ConsistencyServiceChain - plus more details when PROPERTIES_CHANGED
     new f32fadf  SLING-5173 : re-added complete consistency-history after introducing splitting them and using the ConsistencyServiceChain. Probably should be refactored into something slightly nicer though
     new e993509  SLING-5188 : similar to moving discovery.impl's topology webconsole, do the same for discovery.oak
     new e2707dd  SLING-5094 / SLING-5173 / SLING-4603 related : ensure that before invoking the ConsistencyService.sync no async events are still in the queue. This is achieved by enqueueing an async event too that once it gets triggered ensures that no async events are left. This mechanism ensures that before the syncToken is written, all TopologyEventListeners have received a TOPOLOGY_CHANGING - and only that guarantees that the syncToken mechanism carries a high guarantee.
     new 38813a3  SLING-5191 / SLING-4603 : rename ConsistencyService to ClusterSyncService - plus making timeout/interval values for the same configurable in discovery.oak
     new f845fb8  SLING-4603 : method renamed : handlePotentialTopologyChange, which is slightly confusing anyway, renamed to checkForTopologyChange
     new bf3ac64  SLING-4603 : switch to discovery.base/.commons 1.0.0
     new d22f2a2  [maven-release-plugin] prepare release org.apache.sling.discovery.oak-1.0.0
     new cf00b6e  [maven-release-plugin] prepare for next development iteration
     new 76cc1ee  update discovery dependencies to next snapshot versions until release versions available in maven central
     new 680771e  SLING-5214: include millis in testing log formats
     new ed30aaa  SLING-5215 : fixed getTopology to return the correct, previous oldView when the view is undefined, ie not current. This is achieved by making sure OakDiscoveryService sets the oldView whenever the view changes
     new 9ef7c5d  SLING-5216 / SLING-5195 : more test cases added
     new 122527a  @no-jira : adjusted discovery.base and .commons dependency to 1.0.2
     new 524b1a9  [maven-release-plugin] prepare release org.apache.sling.discovery.oak-1.0.2
     new 155b4a1  [maven-release-plugin] prepare for next development iteration
     new ba02791  @no-jira : adjusted discovery.base and .commons dependency to 1.0.3-SNAPSHOT
     new 917cac3  SLING-5256 : change in localClusterSyncTokenId should always trigger a TOPOLOGY_CHANGED - ensured by adjusting ViewStateManager.onlyDiffersInProperties and DefaultTopologyView.compareTopology accordingly including new tests for both - plus added OakDiscoveryServiceTest.testDescriptorSeqNumChange to verify that discovery.oak now properly detects otherwise-equal topologies when their sequence_number==localClusterSyncTokenId differs (unlikely to happen under normal load sit [...]
     new 8cc6d0f  SLING-5278 : adding a 2sec safety sleep to avoid failing test on jenkins - plus more logging in case it reoccurs
     new 9c09dd4  SLING-5284 : use dedicated PeriodicBackgroundJob-thread instead of scheduler
     new 1495890  SLING-5286 : re-activate fast topology change propagation
     new 65e191e  SLING-5284 : new PeriodicBackgroundJob requires upping of version to 1.1.0
     new e660d0b  @no-jira using discovery.commons 1.0.4 and discovery.base 1.1.0
     new db51f6d  [maven-release-plugin] prepare release org.apache.sling.discovery.oak-1.1.0
     new 5c615a6  [maven-release-plugin] prepare for next development iteration
     new bd43c5c  @no-jira using discovery.commons 1.0.5-SNAPSHOT and discovery.base 1.1.1-SNAPSHOT
     new 7a100d5  no-jira : fixing a log.info message that did not print out all parameters
     new e9ab194  SLING-5328 : add missing documentation
     new 5808792  SLING-5326 : adding time-difference health-check 'ClocksInSyncHealthCheck'
     new 4615883  SLING-5326 : removing unnecessary import
     new c9c8f13  SLING-5326 : adjusted health-check name to be more human readable
     new 2b08fde  SLING-5326 : renamed ClocksInSyncHC to SynchronizedClocksHC - like that better..
     new aae4a2f  SLING-5326 : corrected peer slingId for outgoing connectors that is shown in health-check messages
     new a6311ab  no-jira : switching to discovery.commons 1.0.6 and discovery.base 1.1.2
     new 8215919  [maven-release-plugin] prepare release org.apache.sling.discovery.oak-1.2.0
     new 17ed775  [maven-release-plugin] prepare for next development iteration
     new e69bb8a  no-jira : switching to discovery.commons 1.0.7-SNAPSHOT and discovery.base 1.1.3-SNAPSHOT
     new afa58bc  Remove type from bundle dependencies
     new f075830  Switch to parent pom 26
     new 7a5c7ee  SLING-5458 : support cluster id of discovery lite descriptor to be null - in which case discovery.oak stores and reads a clusterId property to/from /var/discovery/oak
     new 7bf9afb  SLING-5382 : avoid NPE when PropertyProviders are bind/unbind/changed before activate
     new cca6f1e  using earlier released version of discovery bundles for discovery.oak 1.2.2 release
     new f23ba39  SLING-5458 : requires changes in discovery.commons, so discovery.oak upps the dependency to discovery.commons and both need to be released
     new f603f1a  SLING-5458 : using in-release version of discovery.commons 1.0.8 for releasing discovery.oak 1.2.2
     new 9a29564  [maven-release-plugin] prepare release org.apache.sling.discovery.oak-1.2.2
     new b90089c  [maven-release-plugin] prepare for next development iteration
     new 6c25781  switching to discovery.commons 1.0.9-SNAPSHOT for next development iteration
     new 7991282  SLING-5464 : using in-release version of discovery.commons 1.0.10 for releasing discovery.oak 1.2.4
     new 6fe6c0e  [maven-release-plugin] prepare release org.apache.sling.discovery.oak-1.2.4
     new 8f4bf6d  [maven-release-plugin] prepare for next development iteration
     new a001240  switching to discovery.commons 1.0.11-SNAPSHOT for next development iteration
     new 1adb521  SLING-5480 : adjust query to reflect new naming convention used in oak for jmx mbeans
     new 5f7836e  switching discovery.commons 1.0.10 for now, as thats been released and stable enough at this point
     new 4e6ff6c  [maven-release-plugin] prepare release org.apache.sling.discovery.oak-1.2.6
     new da1c7cb  [maven-release-plugin] prepare for next development iteration
     new 796c800  SLING-5527 Remove Launchpad API dependency from Discovery Oak
     new 0f5eef0  SLING-5600 Fix and update Jackrabbit dependencies
     new 0de70f0  SLING-5598 : exclude slow running test by newly introduced Slow junit category - to run them nevertheless use -PincludeSlowTests
     new 10aec79  SLING-5697 Missing null check in OakViewChecker for slingHomePath
     new fbc30dc  use org.apache.sling.commons.testing 2.0.26
     new 7ed2d2f  use latest stable releases (Jackrabbit and Oak)
     new 9f70730  [maven-release-plugin] prepare release org.apache.sling.discovery.oak-1.2.8
     new 8c1bead  [maven-release-plugin] prepare for next development iteration
     new ddaa6c3  SLING-6020 : reduce 'No Descriptor value available' log error down to log warn
     new 2a89103  releng : switching to discovery.base 1.1.4 for the discovery.oak 1.2.10 release
     new 6756b4c  [maven-release-plugin] prepare release org.apache.sling.discovery.oak-1.2.10
     new 5793d45  [maven-release-plugin] prepare for next development iteration
     new e69784e  SLING-6055 Discovery: Use test scope for sling-mock dependency
     new 233d6c5  SLING-6065 : removed unnecessary log.error which is actually a legitimate case at startup
     new b9d8984  SLING-5995 : changing IdMapService from being an OSGi EventListener to a Sling ResourceChangeListener
     new 7438070  releng : switching discovery.commons to in-release-process 1.0.14
     new 77d5610  [maven-release-plugin] prepare release org.apache.sling.discovery.oak-1.2.12
     new aa93e28  [maven-release-plugin] copy for tag org.apache.sling.discovery.oak-1.2.12

The 76 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.


-- 
To stop receiving notification emails like this one, please contact
['"commits@sling.apache.org" <co...@sling.apache.org>'].

[sling-org-apache-sling-discovery-oak] 06/07: [maven-release-plugin] prepare release org.apache.sling.discovery.oak-1.2.12

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

rombert pushed a commit to annotated tag org.apache.sling.discovery.oak-1.2.12
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-discovery-oak.git

commit 77d561006d3d2f26c2c1501a744d4d259cbbadd4
Author: Stefan Egli <st...@apache.org>
AuthorDate: Wed Sep 21 14:59:36 2016 +0000

    [maven-release-plugin] prepare release org.apache.sling.discovery.oak-1.2.12
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/discovery/oak@1761764 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index 2005906..187c3a4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -29,7 +29,7 @@
 
     <artifactId>org.apache.sling.discovery.oak</artifactId>
     <packaging>bundle</packaging>
-    <version>1.2.11-SNAPSHOT</version>
+    <version>1.2.12</version>
 
     <name>Apache Sling Oak-Based Discovery Service</name>
     <description>Implementation of Apache Sling Discovery based on Jackrabbit Oak using its discovery-lite descriptor for in-cluster view detection and a TopologyView through HTTP POST heartbeats announcing sub-topologies to each other.</description>
@@ -42,9 +42,9 @@
     </properties>
 
     <scm>
-        <connection>scm:svn:http://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/discovery/oak</connection>
-        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/discovery/oak</developerConnection>
-        <url>http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/discovery/oak</url>
+        <connection>scm:svn:http://svn.apache.org/repos/asf/sling/tags/org.apache.sling.discovery.oak-1.2.12</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.discovery.oak-1.2.12</developerConnection>
+        <url>http://svn.apache.org/viewvc/sling/tags/org.apache.sling.discovery.oak-1.2.12</url>
     </scm>
 
     <build>

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.

[sling-org-apache-sling-discovery-oak] 04/07: SLING-5995 : changing IdMapService from being an OSGi EventListener to a Sling ResourceChangeListener

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

rombert pushed a commit to annotated tag org.apache.sling.discovery.oak-1.2.12
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-discovery-oak.git

commit b9d8984a86a502fd84965e8b08bda0dabf295405
Author: Stefan Egli <st...@apache.org>
AuthorDate: Wed Sep 21 14:46:59 2016 +0000

    SLING-5995 : changing IdMapService from being an OSGi EventListener to a Sling ResourceChangeListener
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/discovery/oak@1761756 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index 7eb0b67..7831112 100644
--- a/pom.xml
+++ b/pom.xml
@@ -151,7 +151,7 @@
 		<dependency>
 			<groupId>org.apache.sling</groupId>
 			<artifactId>org.apache.sling.discovery.commons</artifactId>
-			<version>1.0.10</version>
+			<version>1.0.13-SNAPSHOT</version>
             <scope>provided</scope>
 		</dependency>
         <!-- besides including discovery.commons' normal jar above, 
@@ -160,7 +160,7 @@
         <dependency>
             <groupId>org.apache.sling</groupId>
             <artifactId>org.apache.sling.discovery.commons</artifactId>
-            <version>1.0.10</version>
+            <version>1.0.13-SNAPSHOT</version>
             <scope>test</scope>
             <type>test-jar</type>
         </dependency>
@@ -183,7 +183,7 @@
 		<dependency>
 			<groupId>org.apache.sling</groupId>
 			<artifactId>org.apache.sling.api</artifactId>
-			<version>2.4.0</version>
+			<version>2.10.0</version>
             <scope>provided</scope>
 		</dependency>
         <dependency>

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.

[sling-org-apache-sling-discovery-oak] 07/07: [maven-release-plugin] copy for tag org.apache.sling.discovery.oak-1.2.12

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

rombert pushed a commit to annotated tag org.apache.sling.discovery.oak-1.2.12
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-discovery-oak.git

commit aa93e2898a9763ea6226a36a90a12349f7d3c697
Author: Stefan Egli <st...@apache.org>
AuthorDate: Wed Sep 21 14:59:50 2016 +0000

    [maven-release-plugin] copy for tag org.apache.sling.discovery.oak-1.2.12
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.discovery.oak-1.2.12@1761765 13f79535-47bb-0310-9956-ffa450edef68

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.

[sling-org-apache-sling-discovery-oak] 03/07: SLING-6065 : removed unnecessary log.error which is actually a legitimate case at startup

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

rombert pushed a commit to annotated tag org.apache.sling.discovery.oak-1.2.12
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-discovery-oak.git

commit 233d6c52e47facba4cd40e8fcd8e493837a95555
Author: Stefan Egli <st...@apache.org>
AuthorDate: Wed Sep 21 14:32:41 2016 +0000

    SLING-6065 : removed unnecessary log.error which is actually a legitimate case at startup
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/discovery/oak@1761753 13f79535-47bb-0310-9956-ffa450edef68
---
 .../java/org/apache/sling/discovery/oak/pinger/OakViewChecker.java | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/discovery/oak/pinger/OakViewChecker.java b/src/main/java/org/apache/sling/discovery/oak/pinger/OakViewChecker.java
index 4dd9e22..88c320d 100644
--- a/src/main/java/org/apache/sling/discovery/oak/pinger/OakViewChecker.java
+++ b/src/main/java/org/apache/sling/discovery/oak/pinger/OakViewChecker.java
@@ -313,7 +313,12 @@ public class OakViewChecker extends BaseViewChecker {
 
     protected void updateProperties() {
         if (discoveryService == null) {
-            logger.error("issueHeartbeat: discoveryService is null");
+            // SLING-6065: it's legitimate that updateProperties()
+            // (which comes from BaseViewChecker.issueHeartbeat())
+            // is called while discoveryService is not yet set. That's 
+            // due to the fact that discoveryService is set in initialize()
+            // which is called once the OakDiscoveryService is activated
+            // and that can come at a later point.
         } else {
             discoveryService.updateProperties();
         }

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.

[sling-org-apache-sling-discovery-oak] 05/07: releng : switching discovery.commons to in-release-process 1.0.14

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

rombert pushed a commit to annotated tag org.apache.sling.discovery.oak-1.2.12
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-discovery-oak.git

commit 74380708170bf38599e45d4a7b00d1a4496461da
Author: Stefan Egli <st...@apache.org>
AuthorDate: Wed Sep 21 14:56:06 2016 +0000

    releng : switching discovery.commons to in-release-process 1.0.14
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/discovery/oak@1761761 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 7831112..2005906 100644
--- a/pom.xml
+++ b/pom.xml
@@ -151,7 +151,7 @@
 		<dependency>
 			<groupId>org.apache.sling</groupId>
 			<artifactId>org.apache.sling.discovery.commons</artifactId>
-			<version>1.0.13-SNAPSHOT</version>
+			<version>1.0.14</version>
             <scope>provided</scope>
 		</dependency>
         <!-- besides including discovery.commons' normal jar above, 
@@ -160,7 +160,7 @@
         <dependency>
             <groupId>org.apache.sling</groupId>
             <artifactId>org.apache.sling.discovery.commons</artifactId>
-            <version>1.0.13-SNAPSHOT</version>
+            <version>1.0.14</version>
             <scope>test</scope>
             <type>test-jar</type>
         </dependency>

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.

[sling-org-apache-sling-discovery-oak] 01/07: [maven-release-plugin] prepare for next development iteration

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

rombert pushed a commit to annotated tag org.apache.sling.discovery.oak-1.2.12
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-discovery-oak.git

commit 5793d451f8a48d3a2ae4d33631da47765e0402e1
Author: Stefan Egli <st...@apache.org>
AuthorDate: Wed Aug 31 15:57:58 2016 +0000

    [maven-release-plugin] prepare for next development iteration
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/discovery/oak@1758636 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index a035a12..617f8c9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -29,7 +29,7 @@
 
     <artifactId>org.apache.sling.discovery.oak</artifactId>
     <packaging>bundle</packaging>
-    <version>1.2.10</version>
+    <version>1.2.11-SNAPSHOT</version>
 
     <name>Apache Sling Oak-Based Discovery Service</name>
     <description>Implementation of Apache Sling Discovery based on Jackrabbit Oak using its discovery-lite descriptor for in-cluster view detection and a TopologyView through HTTP POST heartbeats announcing sub-topologies to each other.</description>
@@ -42,9 +42,9 @@
     </properties>
 
     <scm>
-        <connection>scm:svn:http://svn.apache.org/repos/asf/sling/tags/org.apache.sling.discovery.oak-1.2.10</connection>
-        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.discovery.oak-1.2.10</developerConnection>
-        <url>http://svn.apache.org/viewvc/sling/tags/org.apache.sling.discovery.oak-1.2.10</url>
+        <connection>scm:svn:http://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/discovery/oak</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/discovery/oak</developerConnection>
+        <url>http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/discovery/oak</url>
     </scm>
 
     <build>

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.

[sling-org-apache-sling-discovery-oak] 02/07: SLING-6055 Discovery: Use test scope for sling-mock dependency

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

rombert pushed a commit to annotated tag org.apache.sling.discovery.oak-1.2.12
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-discovery-oak.git

commit e69784e5ab008253b108b7f7f17141dc0245c02a
Author: Stefan Seifert <ss...@apache.org>
AuthorDate: Thu Sep 15 12:59:09 2016 +0000

    SLING-6055 Discovery: Use test scope for sling-mock dependency
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/discovery/oak@1760925 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index 617f8c9..7eb0b67 100644
--- a/pom.xml
+++ b/pom.xml
@@ -304,9 +304,10 @@
             <scope>test</scope>
         </dependency>
         <dependency>
-          <groupId>org.apache.sling</groupId>
-          <artifactId>org.apache.sling.testing.sling-mock</artifactId>
-          <version>1.2.0</version>
+            <groupId>org.apache.sling</groupId>
+            <artifactId>org.apache.sling.testing.sling-mock</artifactId>
+            <version>1.2.0</version>
+            <scope>test</scope>
         </dependency>
         <dependency>
         	<groupId>org.apache.jackrabbit</groupId>

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.