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:26:56 UTC

[sling-org-apache-sling-discovery-base] annotated tag org.apache.sling.discovery.base-2.0.0 created (now f504e07)

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

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


      at f504e07  (tag)
 tagging 9b2ed5880cac2fba2f13946c15fae87c284ddfcb (commit)
      by Karl Pauls
      on Mon May 8 09:58:55 2017 +0000

- Log -----------------------------------------------------------------
org.apache.sling.discovery.base-2.0.0
-----------------------------------------------------------------------

This annotated tag includes the following new commits:

     new 976d955  SLING-5173 : introducing discovery.base which is the sharable parts of discovery.impl for discovery.oak - eg it includes topology connectors and base classes - plus it also includes many it-kind tests of discovery.impl
     new 973f209  SLING-5173 : fixed getSocketConnectionTimeout to a more proper getSocketConnectTimeout
     new e375668  SLING-5173 : rename commons impl packages to base as they are meant for reuse by discovery.impl and discovery.oak - plus avoid using abstract component class with scr annotations - use abstract getters instead - plus some more fine-tuning of log messages - plus make discovery.impl's Config also implement DiscoveryLiteConfig - plus properly handle binds happening before activate in DiscoveryServiceImpl
     new 117b474  SLING-5173 related : minor wording fix
     new c854b64  SLING-5173 : fixed test logic
     new c2d2fec  SLING-5196 : using maven-bundle-plugin 2.5.3 to remain backwards-compatibility
     new 64c9956  SLING-5173 : using discovery.commons 1.0.0
     new a40c75a  [maven-release-plugin] prepare release org.apache.sling.discovery.base-1.0.0
     new 2341062  [maven-release-plugin] prepare for next development iteration
     new 4a397a1  update discovery dependencies to next snapshot versions until release versions available in maven central
     new d54675c  @no-jira : improve test stability
     new 246e567  SLING-5214: include millis in testing log formats
     new 6e20b46  SLING-5200 : add possibility of injecting delays into particular places during simulation, eg in resourceResolver.commit
     new 3e1f21d  SLING-5126 : another test variant added
     new 479ea55  SLING-5126 / SLING-5195 related: fixing a test
     new 65362f2  SLING-5216 / SLING-5195 : more test cases added
     new 568f6d9  SLING-5216 / SLING-5195 : more test cases added
     new f129180  SLING-5224 : increasing wait time from 100ms to 1000ms to avoid test failure on jenkins
     new b9c1fd9  SLING-5224 : more logging for testBoostrap
     new c49512e  SLING-5216 : another VotingHandler test case added - changed analyzeVotings return value for this - but no other changes to the analyzeVotings algo or code
     new 3279a2c  SLING-5241 : increasing wait time for receiving an event from 0.5s to 1.0s
     new 632c604  @no-jira using discovery.commons 1.0.2
     new 983e345  [maven-release-plugin] prepare release org.apache.sling.discovery.base-1.0.2
     new f6cffe9  [maven-release-plugin] prepare for next development iteration
     new e892c3d  @no-jira : moved discovery.commons to 1.0.3-SNAPSHOT
     new ac39af5  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 c7ead9e  SLING-5260 : made loop in testConnectorSwitching4139 last 15-20sec to cope with 10sec timeout
     new acd97d3  no-jira : added a 2sec wait time to increase test stability of testLongRunningListener
     new 61c247c  SLING-5264 : increasing timeouts to account for slowness of jenkins
     new a55019d  no-jira : increasing sleeps to account for another apache jenkins slowness - sling-trunk-1.7 2661
     new a04c6ca  no-jira : added another safety sleep of 2sec for testConnectorSwitching4139 to make sure those heartbeats/votings going on there have enough time to settle
     new 0371ca6  SLING-5264 follow-up : adding more logging to analyzeVotings/promote and AbstractDiscoveryServiceTest to track down still existing issue
     new 37ae575  SLING-5279 : tests made more stable wrt stopping a VirtualInstance that was likely not done yet and interfered with subsequent test runs
     new 1804fd3  no-jira : just some logger.debug messages fixed
     new ccd3ba5  no-jira : fixed a logger.info
     new a581e02  SLING-5284 : use dedicated PeriodicBackgroundJob-thread instead of scheduler
     new 717806c  SLING-5286 : re-activate fast topology change propagation
     new 7d02f0e  SLING-5284 : new PeriodicBackgroundJob requires upping the version to 1.1.0
     new c6e5b4b  SLING-5287 : lowering the testThirtyInstances test to be a testTwentyFourInstances - that should use less memory - lets see if that's enough
     new e171131  SLING-5251 : add config parameter useSyncTokenService that enables usage of a SyncTokenService if available. This increases synchronization QoS when for topology changes
     new d1b5f01  @no-jira using discovery.commons 1.0.4
     new cbc913d  [maven-release-plugin] prepare release org.apache.sling.discovery.base-1.1.0
     new c00f863  [maven-release-plugin] prepare for next development iteration
     new 8239aae  @no-jira using discovery.commons 1.0.5-SNAPSHOT
     new f2183ef  SLING-5303 : adding a few more loops to avoid a failure that happened on jenkins due to the fact that heartbeatsAndCheckView can throw exceptions when invoked during promotion/other repository changes in a test environment. More loops should help work around that.
     new 9a0e1e9  SLING-5313 : using jcr-commons 2.10.1 instead of the one referenced by sling.commons.testing which is 2.2.9
     new f120875  SLING-5326 : adding time-difference health-check 'ClocksInSyncHealthCheck'
     new f6bb466  no-jira : switching to discovery.commons 1.0.6
     new c571e7c  [maven-release-plugin] prepare release org.apache.sling.discovery.base-1.1.2
     new e1a75e2  [maven-release-plugin] prepare for next development iteration
     new f35f1c5  no-jira : switching to discovery.commons 1.0.7-SNAPSHOT
     new 923cb3d  Remove type from bundle dependencies
     new f7a5bdc  Switch to parent pom 26
     new 5faa5a7  SLING-5485 Remove Launchpad API dependency from Discovery Base
     new 4246578  SLING-5598 : exclude slow running test by newly introduced Slow junit category - to run them nevertheless use -PincludeSlowTests
     new 4a9ac3d  use org.apache.sling.commons.testing 2.0.26
     new 5d6933c  use org.apache.sling.discovery.commons 1.0.12
     new 7fcaa11  align Jackrabbit versions
     new 61dbee4  [maven-release-plugin] prepare release org.apache.sling.discovery.base-1.1.4
     new d7dda34  [maven-release-plugin] prepare for next development iteration
     new 2e4b045  SLING-5732 : discovery : avoid empty commit when nothing has changed
     new e88cbac  SLING-5231 : remove getAdministrativeResourceResolver from discovery components : merged patches from Carsten
     new db99b6b  SLING-5231 : remove getAdministrativeResourceResolver from discovery components : adjusted dependency on discovery.commons
     new 26383aa  no-jira : switching to in-release discovery.commons 1.0.18
     new f7d5374  [maven-release-plugin] prepare release org.apache.sling.discovery.base-1.1.6
     new 8b6f5ef  [maven-release-plugin] prepare for next development iteration
     new 2e64d05  no-jira : switching to next discovery.commons 1.0.19-SNAPSHOT
     new aea97dd  SLING-6689: Replace commons.json usage in org.apache.sling.discovery.base
     new ae43559  SLING-6689: Switch to geronimo provider for javax.json api.
     new 2a7093c  update to org.apache.sling.commons.johnzon 1.0.0
     new fe51cdd  SLING-6809 : toString improved to enlist more details - including a paranoia fallback that goes to the previous output in case of any Exception
     new d16b968  [maven-release-plugin] prepare release org.apache.sling.discovery.base-1.1.8
     new 1339ddd  [maven-release-plugin] prepare for next development iteration
     new 540bf4e  [maven-release-plugin] rollback the release of org.apache.sling.discovery.base-1.1.8
     new df4c3e6  SLING-6689: remove public method that leaks JSONObject.
     new 8b7f227  [maven-release-plugin] prepare release org.apache.sling.discovery.base-2.0.0
     new 9b2ed58  [maven-release-plugin] copy for tag org.apache.sling.discovery.base-2.0.0

The 77 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-base] 01/05: [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.base-2.0.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-discovery-base.git

commit 1339dddbc0ddc568b0677a31fd3df279dcd5229a
Author: Karl Pauls <pa...@apache.org>
AuthorDate: Sun May 7 21:37:58 2017 +0000

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

diff --git a/pom.xml b/pom.xml
index 248257d..b1d8c42 100644
--- a/pom.xml
+++ b/pom.xml
@@ -29,15 +29,15 @@
 
     <artifactId>org.apache.sling.discovery.base</artifactId>
     <packaging>bundle</packaging>
-    <version>1.1.8</version>
+    <version>1.1.9-SNAPSHOT</version>
 
     <name>Apache Sling Discovery Base</name>
     <description>Contains Connector and Properties support that some implementations might choose to build upon</description>
 
     <scm>
-        <connection>scm:svn:http://svn.apache.org/repos/asf/sling/tags/org.apache.sling.discovery.base-1.1.8</connection>
-        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.discovery.base-1.1.8</developerConnection>
-        <url>http://svn.apache.org/viewvc/sling/tags/org.apache.sling.discovery.base-1.1.8</url>
+        <connection>scm:svn:http://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/discovery/base</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/discovery/base</developerConnection>
+        <url>http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/discovery/base</url>
     </scm>
 
     <properties>
@@ -181,7 +181,7 @@
  		<dependency>
 			<groupId>org.apache.sling</groupId>
 			<artifactId>org.apache.sling.discovery.commons</artifactId>
-			<version>1.0.20</version>
+			<version>1.0.21-SNAPSHOT</version>
   		</dependency>
         <!-- besides including discovery.commons' normal jar above, 
               for testing a few test helper classes are also reused.
@@ -189,7 +189,7 @@
         <dependency>
             <groupId>org.apache.sling</groupId>
             <artifactId>org.apache.sling.discovery.commons</artifactId>
-            <version>1.0.20</version>
+            <version>1.0.21-SNAPSHOT</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-base] 02/05: [maven-release-plugin] rollback the release of org.apache.sling.discovery.base-1.1.8

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.base-2.0.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-discovery-base.git

commit 540bf4e42925088e10cf2537475f2f28ec876dad
Author: Karl Pauls <pa...@apache.org>
AuthorDate: Sun May 7 21:48:57 2017 +0000

    [maven-release-plugin] rollback the release of org.apache.sling.discovery.base-1.1.8
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/discovery/base@1794270 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index b1d8c42..ff73087 100644
--- a/pom.xml
+++ b/pom.xml
@@ -29,7 +29,7 @@
 
     <artifactId>org.apache.sling.discovery.base</artifactId>
     <packaging>bundle</packaging>
-    <version>1.1.9-SNAPSHOT</version>
+    <version>1.1.7-SNAPSHOT</version>
 
     <name>Apache Sling Discovery Base</name>
     <description>Contains Connector and Properties support that some implementations might choose to build upon</description>
@@ -181,7 +181,7 @@
  		<dependency>
 			<groupId>org.apache.sling</groupId>
 			<artifactId>org.apache.sling.discovery.commons</artifactId>
-			<version>1.0.21-SNAPSHOT</version>
+			<version>1.0.19-SNAPSHOT</version>
   		</dependency>
         <!-- besides including discovery.commons' normal jar above, 
               for testing a few test helper classes are also reused.
@@ -189,7 +189,7 @@
         <dependency>
             <groupId>org.apache.sling</groupId>
             <artifactId>org.apache.sling.discovery.commons</artifactId>
-            <version>1.0.21-SNAPSHOT</version>
+            <version>1.0.19-SNAPSHOT</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-base] 03/05: SLING-6689: remove public method that leaks JSONObject.

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.base-2.0.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-discovery-base.git

commit df4c3e69c80056ba16eba04a06579a5480270bbd
Author: Karl Pauls <pa...@apache.org>
AuthorDate: Mon May 8 09:28:40 2017 +0000

    SLING-6689: remove public method that leaks JSONObject.
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/discovery/base@1794299 13f79535-47bb-0310-9956-ffa450edef68
---
 .../sling/discovery/base/connectors/announcement/Announcement.java | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/src/main/java/org/apache/sling/discovery/base/connectors/announcement/Announcement.java b/src/main/java/org/apache/sling/discovery/base/connectors/announcement/Announcement.java
index 4878e6f..c9de955 100644
--- a/src/main/java/org/apache/sling/discovery/base/connectors/announcement/Announcement.java
+++ b/src/main/java/org/apache/sling/discovery/base/connectors/announcement/Announcement.java
@@ -238,11 +238,6 @@ public class Announcement {
     public String getOwnerId() {
         return ownerId;
     }
-
-    /** Convert this announcement into a json object **/
-    public JsonObject asJSONObject() {
-        return asJSONObject(false);
-    }
     
     /** Convert this announcement into a json object **/
     private JsonObject asJSONObject(boolean filterTimes) {
@@ -416,7 +411,7 @@ public class Announcement {
 
     /** Convert this announcement into json **/
     public String asJSON() {
-        return asJSON(asJSONObject());
+        return asJSON(asJSONObject(false));
     }
     
     private static String asJSON(JsonValue json) {

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

[sling-org-apache-sling-discovery-base] 04/05: [maven-release-plugin] prepare release org.apache.sling.discovery.base-2.0.0

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.base-2.0.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-discovery-base.git

commit 8b7f2279cb25821b87a876e4f4621ef724b4ce21
Author: Karl Pauls <pa...@apache.org>
AuthorDate: Mon May 8 09:58:41 2017 +0000

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

diff --git a/pom.xml b/pom.xml
index ff73087..2a2604f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -29,15 +29,15 @@
 
     <artifactId>org.apache.sling.discovery.base</artifactId>
     <packaging>bundle</packaging>
-    <version>1.1.7-SNAPSHOT</version>
+    <version>2.0.0</version>
 
     <name>Apache Sling Discovery Base</name>
     <description>Contains Connector and Properties support that some implementations might choose to build upon</description>
 
     <scm>
-        <connection>scm:svn:http://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/discovery/base</connection>
-        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/discovery/base</developerConnection>
-        <url>http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/discovery/base</url>
+        <connection>scm:svn:http://svn.apache.org/repos/asf/sling/tags/org.apache.sling.discovery.base-2.0.0</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.discovery.base-2.0.0</developerConnection>
+        <url>http://svn.apache.org/viewvc/sling/tags/org.apache.sling.discovery.base-2.0.0</url>
     </scm>
 
     <properties>
@@ -181,7 +181,7 @@
  		<dependency>
 			<groupId>org.apache.sling</groupId>
 			<artifactId>org.apache.sling.discovery.commons</artifactId>
-			<version>1.0.19-SNAPSHOT</version>
+			<version>1.0.20</version>
   		</dependency>
         <!-- besides including discovery.commons' normal jar above, 
               for testing a few test helper classes are also reused.
@@ -189,7 +189,7 @@
         <dependency>
             <groupId>org.apache.sling</groupId>
             <artifactId>org.apache.sling.discovery.commons</artifactId>
-            <version>1.0.19-SNAPSHOT</version>
+            <version>1.0.20</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-base] 05/05: [maven-release-plugin] copy for tag org.apache.sling.discovery.base-2.0.0

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.base-2.0.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-discovery-base.git

commit 9b2ed5880cac2fba2f13946c15fae87c284ddfcb
Author: Karl Pauls <pa...@apache.org>
AuthorDate: Mon May 8 09:58:55 2017 +0000

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

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