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:29:16 UTC
[sling-org-apache-sling-distribution-api] annotated tag
org.apache.sling.distribution.api-0.1.2 created (now 67cc74d)
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a change to annotated tag org.apache.sling.distribution.api-0.1.2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-distribution-api.git.
at 67cc74d (tag)
tagging 4eab771940f9fd93c0b16bab1f517ba08a27a164 (commit)
by Marius Petria
on Tue Sep 22 12:29:01 2015 +0000
- Log -----------------------------------------------------------------
org.apache.sling.distribution.api-0.1.2
-----------------------------------------------------------------------
This annotated tag includes the following new commits:
new bd3ed77 SLING-4144 - split distribution api and core bundles
new 4d345fa SLING-3553 - varius minor fixes (final modifiers, visibility issues, etc.)
new 27aaeb8 SLING-3891 - moved readme under contrib/extensions/distribution, minor javadoc fix
new bb4d86d SLING-4145 - removing DistributionEvent subclass of Event, moving getTopic to DistributionEventType
new a1bf08f SLING-4153 - removed serializable, made request constructors consistent, adjusted jsr305 annotations
new 59123d0 SLING-4149: renaming factory to resource based & adding defaults
new be563e4 SLING-4153 - ManagedDC extending from DC, renaming DQueueDistributionStrategy to DQueueDispatchingStrategy
new 4005ce5 Ignore Eclipse .settings folder
new 398a774 SLING-4153: Cleaning DistributionComponentFactory of all constants and making it a ConsumerType
new 88a73b7 SLING-4153: Making DistributionComponentFactory delegate creation of subcomponents
new 7b41092 SLING-4145, SLING-4190 - dispatching strategy returning item states instead of boolean, removed explicit time from request, status in response is now a message
new 51130fd SLING-4153 - improve javadoc, added distribution request state, minor fixes
new af544d5 SLING-4153 - moved paths and request type into package's packageinfo
new 8af85bb SLING-4153 - Queue#remove returns the removed item, Importer#importPackage returns void
new da0dfb5 SLING-4514: Generating OSGI configs from content and starting services using osgi services
new 12388d5 SLING-4153: hiding authorization strategy and request time
new 7e0fede SLING-4153 - fixed transport API to just expose the secret
new 0dbbaae SLING-4153 - fixed transport API to just expose the secret
new 40c4804 SLING-3836: adding shallow distribution option to requests
new 446a23a SLING-4153: changing events to be controlled by agent + some name changes for settings
new 02ce703 SLING-4060: creating dedicated factories for sync and queue agents
new 8d4cc3d SLING-4146 - queueprovider/processor should be providertypes
new 57644a4 SLING-4146 - queue should be a providertype too
new 635f789 SLING-4153 - improved queue's javadoc
new a805a68 SLING-4153 - renamed QueueItemState to QueueItemStatus
new 8456fe0 SLING-4153: adding distributor type and making DistributionRequest and interface
new c2e9e7a SLING-4153: changing distribution response to a provider interface
new 6e70271 SLING-4153: moving all extensions API from api package to core
new 65a5114 SLING-4153: changing distribution topic names
new 9cbb70e SLING-4153 - fixed request states, removed useless asStream method in transport secret
new 6e96d9d SLING-4153 - moved communication to root distribution package
new c67e19c SLING-4153 - moved communication to root distribution package
new e41b72e SLING-4153 - moved communication to root distribution package
new 13faa96 Update svn:ignore property
new a6e0208 SLING-3553 - fixed trivial issue in log statement
new fd8d109 SLING-4367: trigger package imported event after succesful import
new 02f05de SLING-4368: transport secret providers should receive the transport uri
new ddb2630 SLING-4389: Adding a trivial request type TEST for testing connectivity of a distribution agent
new 7a998eb SLING-4391: changing distribution event api to contain constants
new 716565b [maven-release-plugin] prepare release org.apache.sling.distribution.api-0.1.0
new 6cfbcd3 [maven-release-plugin] prepare for next development iteration
new 8f736e1 Use latest parent pom
new 9f43e3e Update contrib modules to Parent 23
new 4d1a2a2 set parent version to 24 and add empty relativePath where missing
new 0b9af7d SLING-5046: allow distribution requests with deep paths subset
new 4559f3a SLING-5047: specific request state for failed executions vs non existing agents
new 00388a2 SLING-5046: adding provider type to all types outside transport
new 5603526 [maven-release-plugin] prepare release org.apache.sling.distribution.api-0.1.1
new 0e21e21 Undo previous release attempt
new be1aa04 [maven-release-plugin] prepare release org.apache.sling.distribution.api-0.1.2
new 4eab771 [maven-release-plugin] copy for tag org.apache.sling.distribution.api-0.1.2
The 51 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-distribution-api] 05/11: SLING-5046: allow
distribution requests with deep paths subset
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.distribution.api-0.1.2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-distribution-api.git
commit 0b9af7de9a2a8fc1440806ac6cba15f9b9c8388d
Author: Marius Petria <mp...@apache.org>
AuthorDate: Mon Sep 21 08:26:58 2015 +0000
SLING-5046: allow distribution requests with deep paths subset
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/distribution/api@1704234 13f79535-47bb-0310-9956-ffa450edef68
---
.../distribution/SimpleDistributionRequest.java | 25 ++++++++++++++++------
.../event/DistributionEventProperties.java | 3 +++
.../sling/distribution/event/package-info.java | 2 +-
.../apache/sling/distribution/package-info.java | 2 +-
4 files changed, 23 insertions(+), 9 deletions(-)
diff --git a/src/main/java/org/apache/sling/distribution/SimpleDistributionRequest.java b/src/main/java/org/apache/sling/distribution/SimpleDistributionRequest.java
index b5c849d..debe870 100644
--- a/src/main/java/org/apache/sling/distribution/SimpleDistributionRequest.java
+++ b/src/main/java/org/apache/sling/distribution/SimpleDistributionRequest.java
@@ -20,6 +20,8 @@ package org.apache.sling.distribution;
import javax.annotation.Nonnull;
import java.util.Arrays;
+import java.util.HashSet;
+import java.util.Set;
/**
* A {@link SimpleDistributionRequest} is a {@link DistributionRequest} where all paths are either "deep" or "shallow".
@@ -28,8 +30,7 @@ public final class SimpleDistributionRequest implements DistributionRequest {
private final DistributionRequestType requestType;
-
- private final boolean deep;
+ private final Set<String> deepPaths;
private final String[] paths;
/**
@@ -39,9 +40,7 @@ public final class SimpleDistributionRequest implements DistributionRequest {
* @param paths the array of paths to be distributed
*/
public SimpleDistributionRequest(@Nonnull DistributionRequestType requestType, boolean isDeep, @Nonnull String... paths) {
- this.requestType = requestType;
- this.deep = isDeep;
- this.paths = paths;
+ this(requestType, paths, isDeep? new HashSet<String>(Arrays.asList(paths)) : new HashSet<String>());
}
/**
@@ -53,6 +52,18 @@ public final class SimpleDistributionRequest implements DistributionRequest {
this(requestType, false, paths);
}
+
+ /**
+ * Creates a distribution request with "shallow" paths.
+ * @param requestType the request type
+ * @param paths the array of paths to be distributed
+ */
+ public SimpleDistributionRequest(@Nonnull DistributionRequestType requestType, @Nonnull String[] paths, @Nonnull Set<String> deepPaths) {
+ this.requestType = requestType;
+ this.paths = paths;
+ this.deepPaths = deepPaths;
+ }
+
/**
* get the {@link DistributionRequestType} associated with this request
*
@@ -78,7 +89,7 @@ public final class SimpleDistributionRequest implements DistributionRequest {
* @return <code>true</code> if the path is deep
*/
public boolean isDeep(@Nonnull String path) {
- return deep;
+ return deepPaths.contains(path);
}
@Override
@@ -86,7 +97,7 @@ public final class SimpleDistributionRequest implements DistributionRequest {
return "SimpleDistributionRequest{" +
"requestType=" + requestType +
", paths=" + Arrays.toString(paths) +
- ", deep=" + deep +
+ ", deep=" + Arrays.toString(deepPaths.toArray(new String[0])) +
'}';
}
diff --git a/src/main/java/org/apache/sling/distribution/event/DistributionEventProperties.java b/src/main/java/org/apache/sling/distribution/event/DistributionEventProperties.java
index 06c6acf..743aba3 100644
--- a/src/main/java/org/apache/sling/distribution/event/DistributionEventProperties.java
+++ b/src/main/java/org/apache/sling/distribution/event/DistributionEventProperties.java
@@ -19,9 +19,12 @@
package org.apache.sling.distribution.event;
+import aQute.bnd.annotation.ProviderType;
+
/**
* an interface containing of the possible properties of events related to distribution
*/
+@ProviderType
public interface DistributionEventProperties {
/**
diff --git a/src/main/java/org/apache/sling/distribution/event/package-info.java b/src/main/java/org/apache/sling/distribution/event/package-info.java
index 5382163..10640fd 100644
--- a/src/main/java/org/apache/sling/distribution/event/package-info.java
+++ b/src/main/java/org/apache/sling/distribution/event/package-info.java
@@ -17,7 +17,7 @@
* under the License.
*/
-@Version("0.1.0")
+@Version("0.1.1")
package org.apache.sling.distribution.event;
import aQute.bnd.annotation.Version;
diff --git a/src/main/java/org/apache/sling/distribution/package-info.java b/src/main/java/org/apache/sling/distribution/package-info.java
index 272bf55..a7da64d 100644
--- a/src/main/java/org/apache/sling/distribution/package-info.java
+++ b/src/main/java/org/apache/sling/distribution/package-info.java
@@ -17,7 +17,7 @@
* under the License.
*/
-@Version("0.1.0")
+@Version("0.2.0")
package org.apache.sling.distribution;
import aQute.bnd.annotation.Version;
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-distribution-api] 04/11: set parent version
to 24 and add empty relativePath where missing
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.distribution.api-0.1.2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-distribution-api.git
commit 4d1a2a243db7449d40750760ba4f4dc124a33c3b
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Tue Jul 7 07:36:29 2015 +0000
set parent version to 24 and add empty relativePath where missing
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/distribution/api@1689588 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index c5520e3..89dbe86 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,7 +25,8 @@
<parent>
<groupId>org.apache.sling</groupId>
<artifactId>sling</artifactId>
- <version>23</version>
+ <version>24</version>
+ <relativePath/>
</parent>
<!-- ======================================================================= -->
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-distribution-api] 08/11:
[maven-release-plugin] prepare release
org.apache.sling.distribution.api-0.1.1
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.distribution.api-0.1.2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-distribution-api.git
commit 560352669f2d57b9ed8a2f5040bc58b44752806b
Author: Marius Petria <mp...@apache.org>
AuthorDate: Tue Sep 22 12:19:00 2015 +0000
[maven-release-plugin] prepare release org.apache.sling.distribution.api-0.1.1
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/distribution/api@1704592 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/pom.xml b/pom.xml
index 89dbe86..800f3e5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -26,14 +26,14 @@
<groupId>org.apache.sling</groupId>
<artifactId>sling</artifactId>
<version>24</version>
- <relativePath/>
+ <relativePath />
</parent>
<!-- ======================================================================= -->
<!-- P R O J E C T -->
<!-- ======================================================================= -->
<artifactId>org.apache.sling.distribution.api</artifactId>
- <version>0.1.1-SNAPSHOT</version>
+ <version>0.1.1</version>
<packaging>bundle</packaging>
<name>Apache Sling Distribution API</name>
@@ -42,10 +42,10 @@
</description>
<scm>
- <connection>scm:svn:http://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/distribution/api</connection>
- <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/distribution/api
+ <connection>scm:svn:http://svn.apache.org/repos/asf/sling/tags/org.apache.sling.distribution.api-0.1.1</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.distribution.api-0.1.1
</developerConnection>
- <url>http://svn.apache.org/viewvc/sling/trunk/contrib/extensions/distribution/api</url>
+ <url>http://svn.apache.org/viewvc/sling/tags/org.apache.sling.distribution.api-0.1.1</url>
</scm>
<!-- ======================================================================= -->
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-distribution-api] 10/11:
[maven-release-plugin] prepare release
org.apache.sling.distribution.api-0.1.2
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.distribution.api-0.1.2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-distribution-api.git
commit be1aa040a4290cec0835329bf4098088997cf606
Author: Marius Petria <mp...@apache.org>
AuthorDate: Tue Sep 22 12:28:43 2015 +0000
[maven-release-plugin] prepare release org.apache.sling.distribution.api-0.1.2
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/distribution/api@1704596 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/pom.xml b/pom.xml
index 89dbe86..b89234a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -26,14 +26,14 @@
<groupId>org.apache.sling</groupId>
<artifactId>sling</artifactId>
<version>24</version>
- <relativePath/>
+ <relativePath />
</parent>
<!-- ======================================================================= -->
<!-- P R O J E C T -->
<!-- ======================================================================= -->
<artifactId>org.apache.sling.distribution.api</artifactId>
- <version>0.1.1-SNAPSHOT</version>
+ <version>0.1.2</version>
<packaging>bundle</packaging>
<name>Apache Sling Distribution API</name>
@@ -42,10 +42,10 @@
</description>
<scm>
- <connection>scm:svn:http://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/distribution/api</connection>
- <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/distribution/api
+ <connection>scm:svn:http://svn.apache.org/repos/asf/sling/tags/org.apache.sling.distribution.api-0.1.2</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.distribution.api-0.1.2
</developerConnection>
- <url>http://svn.apache.org/viewvc/sling/trunk/contrib/extensions/distribution/api</url>
+ <url>http://svn.apache.org/viewvc/sling/tags/org.apache.sling.distribution.api-0.1.2</url>
</scm>
<!-- ======================================================================= -->
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-distribution-api] 01/11:
[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.distribution.api-0.1.2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-distribution-api.git
commit 6cfbcd3345544fa5dd42b0b6ff191a2d93e4446f
Author: Tommaso Teofili <to...@apache.org>
AuthorDate: Tue Mar 24 13:33:47 2015 +0000
[maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/distribution/api@1668890 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/pom.xml b/pom.xml
index b557f37..1350284 100644
--- a/pom.xml
+++ b/pom.xml
@@ -32,7 +32,7 @@
<!-- P R O J E C T -->
<!-- ======================================================================= -->
<artifactId>org.apache.sling.distribution.api</artifactId>
- <version>0.1.0</version>
+ <version>0.1.1-SNAPSHOT</version>
<packaging>bundle</packaging>
<name>Apache Sling Distribution API</name>
@@ -41,10 +41,10 @@
</description>
<scm>
- <connection>scm:svn:http://svn.apache.org/repos/asf/sling/tags/org.apache.sling.distribution.api-0.1.0</connection>
- <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.distribution.api-0.1.0
+ <connection>scm:svn:http://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/distribution/api</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/distribution/api
</developerConnection>
- <url>http://svn.apache.org/viewvc/sling/tags/org.apache.sling.distribution.api-0.1.0</url>
+ <url>http://svn.apache.org/viewvc/sling/trunk/contrib/extensions/distribution/api</url>
</scm>
<!-- ======================================================================= -->
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-distribution-api] 11/11:
[maven-release-plugin] copy for tag org.apache.sling.distribution.api-0.1.2
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.distribution.api-0.1.2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-distribution-api.git
commit 4eab771940f9fd93c0b16bab1f517ba08a27a164
Author: Marius Petria <mp...@apache.org>
AuthorDate: Tue Sep 22 12:29:01 2015 +0000
[maven-release-plugin] copy for tag org.apache.sling.distribution.api-0.1.2
git-svn-id: https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.distribution.api-0.1.2@1704597 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-distribution-api] 03/11: Update contrib
modules to Parent 23
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.distribution.api-0.1.2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-distribution-api.git
commit 9f43e3eaf37e482715993c3db63f143c78376d86
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Thu Jun 25 13:10:59 2015 +0000
Update contrib modules to Parent 23
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/distribution/api@1687503 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 45c9c79..c5520e3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,7 +25,7 @@
<parent>
<groupId>org.apache.sling</groupId>
<artifactId>sling</artifactId>
- <version>22</version>
+ <version>23</version>
</parent>
<!-- ======================================================================= -->
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-distribution-api] 06/11: SLING-5047:
specific request state for failed executions vs non existing agents
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.distribution.api-0.1.2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-distribution-api.git
commit 4559f3aaedcd79d8af860a1284aa2cf945f9550f
Author: Marius Petria <mp...@apache.org>
AuthorDate: Mon Sep 21 09:00:02 2015 +0000
SLING-5047: specific request state for failed executions vs non existing agents
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/distribution/api@1704238 13f79535-47bb-0310-9956-ffa450edef68
---
.../sling/distribution/DistributionRequestState.java | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/src/main/java/org/apache/sling/distribution/DistributionRequestState.java b/src/main/java/org/apache/sling/distribution/DistributionRequestState.java
index 68da98d..0390242 100644
--- a/src/main/java/org/apache/sling/distribution/DistributionRequestState.java
+++ b/src/main/java/org/apache/sling/distribution/DistributionRequestState.java
@@ -18,6 +18,8 @@
*/
package org.apache.sling.distribution;
+import aQute.bnd.annotation.ProviderType;
+
/**
* The different states a {@link org.apache.sling.distribution.DistributionRequest} can have during its lifecycle.
* Allowed transitions of {@link org.apache.sling.distribution.DistributionRequestState} for a certain
@@ -31,6 +33,7 @@ package org.apache.sling.distribution;
* will only results in {@code #DISTRIBUTED} or {@code #DROPPED} {@link org.apache.sling.distribution.DistributionRequestState}s
* while requests executed asynchronously can result in any of {@code #DISTRIBUTED}, {@code #DROPPED} or {@code #ACCEPTED} states.
*/
+@ProviderType
public enum DistributionRequestState {
/**
@@ -40,13 +43,19 @@ public enum DistributionRequestState {
DISTRIBUTED,
/**
- * The request has been dropped and the content could not be successfully
- * distributed from the source to target instance, this means the request
- * execution failed during one of: creation, queueing, transport, persistence.
+ * The request has been dropped and the content was not distributed from the source to target instance,
+ * because no distribution agent was found to serve it.
*/
DROPPED,
/**
+ * The request has been dropped and the content could not be successfully
+ * distributed from the source to target instance because the request
+ * execution failed during one of the phases: creation, queueing, transport, persistence.
+ */
+ FAILED,
+
+ /**
* The request has been accepted, as a consequence the content to be distributed
* has been created and queued (and it will be eventually processed asynchronously).
*/
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-distribution-api] 07/11: SLING-5046: adding
provider type to all types outside transport
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.distribution.api-0.1.2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-distribution-api.git
commit 00388a2ecf1dcd46711e59b9243878bfe2e86005
Author: Marius Petria <mp...@apache.org>
AuthorDate: Tue Sep 22 12:08:23 2015 +0000
SLING-5046: adding provider type to all types outside transport
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/distribution/api@1704589 13f79535-47bb-0310-9956-ffa450edef68
---
.../java/org/apache/sling/distribution/DistributionRequestType.java | 3 +++
.../java/org/apache/sling/distribution/SimpleDistributionRequest.java | 4 ++++
.../org/apache/sling/distribution/event/DistributionEventTopics.java | 4 +++-
3 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/sling/distribution/DistributionRequestType.java b/src/main/java/org/apache/sling/distribution/DistributionRequestType.java
index bd34e24..6b44713 100644
--- a/src/main/java/org/apache/sling/distribution/DistributionRequestType.java
+++ b/src/main/java/org/apache/sling/distribution/DistributionRequestType.java
@@ -18,6 +18,8 @@
*/
package org.apache.sling.distribution;
+import aQute.bnd.annotation.ProviderType;
+
import javax.annotation.CheckForNull;
/**
@@ -30,6 +32,7 @@ import javax.annotation.CheckForNull;
* {@code PULL} requests can for example lead to the creation of a "command package" that will trigger fetching of content
* from the target instance.
*/
+@ProviderType
public enum DistributionRequestType {
/**
diff --git a/src/main/java/org/apache/sling/distribution/SimpleDistributionRequest.java b/src/main/java/org/apache/sling/distribution/SimpleDistributionRequest.java
index debe870..e2a98d2 100644
--- a/src/main/java/org/apache/sling/distribution/SimpleDistributionRequest.java
+++ b/src/main/java/org/apache/sling/distribution/SimpleDistributionRequest.java
@@ -18,6 +18,8 @@
*/
package org.apache.sling.distribution;
+import aQute.bnd.annotation.ProviderType;
+
import javax.annotation.Nonnull;
import java.util.Arrays;
import java.util.HashSet;
@@ -26,6 +28,7 @@ import java.util.Set;
/**
* A {@link SimpleDistributionRequest} is a {@link DistributionRequest} where all paths are either "deep" or "shallow".
*/
+@ProviderType
public final class SimpleDistributionRequest implements DistributionRequest {
@@ -57,6 +60,7 @@ public final class SimpleDistributionRequest implements DistributionRequest {
* Creates a distribution request with "shallow" paths.
* @param requestType the request type
* @param paths the array of paths to be distributed
+ * @param deepPaths the set of paths that are to be distributed in depth (with all their children)
*/
public SimpleDistributionRequest(@Nonnull DistributionRequestType requestType, @Nonnull String[] paths, @Nonnull Set<String> deepPaths) {
this.requestType = requestType;
diff --git a/src/main/java/org/apache/sling/distribution/event/DistributionEventTopics.java b/src/main/java/org/apache/sling/distribution/event/DistributionEventTopics.java
index 890ebe0..f06feb2 100644
--- a/src/main/java/org/apache/sling/distribution/event/DistributionEventTopics.java
+++ b/src/main/java/org/apache/sling/distribution/event/DistributionEventTopics.java
@@ -18,12 +18,14 @@
*/
package org.apache.sling.distribution.event;
+import aQute.bnd.annotation.ProviderType;
+
/**
* an interface containing of the possible topics of events related to distribution
*/
+@ProviderType
public interface DistributionEventTopics {
-
public static final String EVENT_BASE = "org/apache/sling/distribution";
/**
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-distribution-api] 09/11: Undo previous
release attempt
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.distribution.api-0.1.2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-distribution-api.git
commit 0e21e21e721e21273a59c9bd4281567ae6fc9276
Author: Marius Petria <mp...@apache.org>
AuthorDate: Tue Sep 22 12:26:56 2015 +0000
Undo previous release attempt
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/distribution/api@1704595 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/pom.xml b/pom.xml
index 800f3e5..89dbe86 100644
--- a/pom.xml
+++ b/pom.xml
@@ -26,14 +26,14 @@
<groupId>org.apache.sling</groupId>
<artifactId>sling</artifactId>
<version>24</version>
- <relativePath />
+ <relativePath/>
</parent>
<!-- ======================================================================= -->
<!-- P R O J E C T -->
<!-- ======================================================================= -->
<artifactId>org.apache.sling.distribution.api</artifactId>
- <version>0.1.1</version>
+ <version>0.1.1-SNAPSHOT</version>
<packaging>bundle</packaging>
<name>Apache Sling Distribution API</name>
@@ -42,10 +42,10 @@
</description>
<scm>
- <connection>scm:svn:http://svn.apache.org/repos/asf/sling/tags/org.apache.sling.distribution.api-0.1.1</connection>
- <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.distribution.api-0.1.1
+ <connection>scm:svn:http://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/distribution/api</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/distribution/api
</developerConnection>
- <url>http://svn.apache.org/viewvc/sling/tags/org.apache.sling.distribution.api-0.1.1</url>
+ <url>http://svn.apache.org/viewvc/sling/trunk/contrib/extensions/distribution/api</url>
</scm>
<!-- ======================================================================= -->
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-distribution-api] 02/11: Use latest parent
pom
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.distribution.api-0.1.2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-distribution-api.git
commit 8f736e177789111707f1e8a1cfb5acf32d27425d
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Mon Apr 27 16:34:19 2015 +0000
Use latest parent pom
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/distribution/api@1676331 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 1350284..45c9c79 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,7 +25,7 @@
<parent>
<groupId>org.apache.sling</groupId>
<artifactId>sling</artifactId>
- <version>20</version>
+ <version>22</version>
</parent>
<!-- ======================================================================= -->
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.