You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Amit Gupta (JIRA)" <ji...@apache.org> on 2012/11/19 19:49:58 UTC
[jira] [Created] (SLING-2671) TenantProvider configuration should
be allow multiple values
Amit Gupta created SLING-2671:
---------------------------------
Summary: TenantProvider configuration should be allow multiple values
Key: SLING-2671
URL: https://issues.apache.org/jira/browse/SLING-2671
Project: Sling
Issue Type: Bug
Components: JCR
Reporter: Amit Gupta
Tenants Path Matcher configuration property should allow multiple values for TenantProvider Implementation.
diff --git a/contrib/extensions/tenant/src/main/java/org/apache/sling/tenant/internal/TenantProviderImpl.java b/contrib/extensions/tenant/src/main/java/org/apache/sling/tenant/internal/TenantProviderImpl.java
index 8cc366c..86ab106 100644
--- a/contrib/extensions/tenant/src/main/java/org/apache/sling/tenant/internal/TenantProviderImpl.java
+++ b/contrib/extensions/tenant/src/main/java/org/apache/sling/tenant/internal/TenantProviderImpl.java
@@ -36,6 +36,7 @@ import org.apache.felix.scr.annotations.Component;
import org.apache.felix.scr.annotations.Deactivate;
import org.apache.felix.scr.annotations.Properties;
import org.apache.felix.scr.annotations.Property;
+import org.apache.felix.scr.annotations.PropertyUnbounded;
import org.apache.felix.scr.annotations.Reference;
import org.apache.felix.scr.annotations.Service;
import org.apache.sling.api.resource.LoginException;
@@ -78,6 +79,7 @@ public class TenantProviderImpl implements TenantProvider {
@Property(
value = {},
+ unbounded = PropertyUnbounded.ARRAY,
label = "Tenants Path Matcher",
description = "Defines tenants path matcher i.e. /content/sample/([^/]+)/*, used while resolving path to tenant")
private static final String TENANT_PATH_MATCHER = "tenant.path.matcher";
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (SLING-2671) TenantProvider configuration should
be allow multiple values
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-2671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger updated SLING-2671:
-------------------------------------
Component/s: (was: JCR)
Extensions
> TenantProvider configuration should be allow multiple values
> ------------------------------------------------------------
>
> Key: SLING-2671
> URL: https://issues.apache.org/jira/browse/SLING-2671
> Project: Sling
> Issue Type: Bug
> Components: Extensions
> Reporter: Amit Gupta
> Assignee: Felix Meschberger
> Fix For: Tenant 1.0
>
>
> Tenants Path Matcher configuration property should allow multiple values for TenantProvider Implementation.
> diff --git a/contrib/extensions/tenant/src/main/java/org/apache/sling/tenant/internal/TenantProviderImpl.java b/contrib/extensions/tenant/src/main/java/org/apache/sling/tenant/internal/TenantProviderImpl.java
> index 8cc366c..86ab106 100644
> --- a/contrib/extensions/tenant/src/main/java/org/apache/sling/tenant/internal/TenantProviderImpl.java
> +++ b/contrib/extensions/tenant/src/main/java/org/apache/sling/tenant/internal/TenantProviderImpl.java
> @@ -36,6 +36,7 @@ import org.apache.felix.scr.annotations.Component;
> import org.apache.felix.scr.annotations.Deactivate;
> import org.apache.felix.scr.annotations.Properties;
> import org.apache.felix.scr.annotations.Property;
> +import org.apache.felix.scr.annotations.PropertyUnbounded;
> import org.apache.felix.scr.annotations.Reference;
> import org.apache.felix.scr.annotations.Service;
> import org.apache.sling.api.resource.LoginException;
> @@ -78,6 +79,7 @@ public class TenantProviderImpl implements TenantProvider {
> @Property(
> value = {},
> + unbounded = PropertyUnbounded.ARRAY,
> label = "Tenants Path Matcher",
> description = "Defines tenants path matcher i.e. /content/sample/([^/]+)/*, used while resolving path to tenant")
> private static final String TENANT_PATH_MATCHER = "tenant.path.matcher";
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (SLING-2671) TenantProvider configuration should
be allow multiple values
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-2671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger updated SLING-2671:
-------------------------------------
Fix Version/s: Tenant 1.0
> TenantProvider configuration should be allow multiple values
> ------------------------------------------------------------
>
> Key: SLING-2671
> URL: https://issues.apache.org/jira/browse/SLING-2671
> Project: Sling
> Issue Type: Bug
> Components: JCR
> Reporter: Amit Gupta
> Assignee: Felix Meschberger
> Fix For: Tenant 1.0
>
>
> Tenants Path Matcher configuration property should allow multiple values for TenantProvider Implementation.
> diff --git a/contrib/extensions/tenant/src/main/java/org/apache/sling/tenant/internal/TenantProviderImpl.java b/contrib/extensions/tenant/src/main/java/org/apache/sling/tenant/internal/TenantProviderImpl.java
> index 8cc366c..86ab106 100644
> --- a/contrib/extensions/tenant/src/main/java/org/apache/sling/tenant/internal/TenantProviderImpl.java
> +++ b/contrib/extensions/tenant/src/main/java/org/apache/sling/tenant/internal/TenantProviderImpl.java
> @@ -36,6 +36,7 @@ import org.apache.felix.scr.annotations.Component;
> import org.apache.felix.scr.annotations.Deactivate;
> import org.apache.felix.scr.annotations.Properties;
> import org.apache.felix.scr.annotations.Property;
> +import org.apache.felix.scr.annotations.PropertyUnbounded;
> import org.apache.felix.scr.annotations.Reference;
> import org.apache.felix.scr.annotations.Service;
> import org.apache.sling.api.resource.LoginException;
> @@ -78,6 +79,7 @@ public class TenantProviderImpl implements TenantProvider {
> @Property(
> value = {},
> + unbounded = PropertyUnbounded.ARRAY,
> label = "Tenants Path Matcher",
> description = "Defines tenants path matcher i.e. /content/sample/([^/]+)/*, used while resolving path to tenant")
> private static final String TENANT_PATH_MATCHER = "tenant.path.matcher";
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (SLING-2671) TenantProvider configuration should
be allow multiple values
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-2671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger reassigned SLING-2671:
----------------------------------------
Assignee: Felix Meschberger
> TenantProvider configuration should be allow multiple values
> ------------------------------------------------------------
>
> Key: SLING-2671
> URL: https://issues.apache.org/jira/browse/SLING-2671
> Project: Sling
> Issue Type: Bug
> Components: JCR
> Reporter: Amit Gupta
> Assignee: Felix Meschberger
> Fix For: Tenant 1.0
>
>
> Tenants Path Matcher configuration property should allow multiple values for TenantProvider Implementation.
> diff --git a/contrib/extensions/tenant/src/main/java/org/apache/sling/tenant/internal/TenantProviderImpl.java b/contrib/extensions/tenant/src/main/java/org/apache/sling/tenant/internal/TenantProviderImpl.java
> index 8cc366c..86ab106 100644
> --- a/contrib/extensions/tenant/src/main/java/org/apache/sling/tenant/internal/TenantProviderImpl.java
> +++ b/contrib/extensions/tenant/src/main/java/org/apache/sling/tenant/internal/TenantProviderImpl.java
> @@ -36,6 +36,7 @@ import org.apache.felix.scr.annotations.Component;
> import org.apache.felix.scr.annotations.Deactivate;
> import org.apache.felix.scr.annotations.Properties;
> import org.apache.felix.scr.annotations.Property;
> +import org.apache.felix.scr.annotations.PropertyUnbounded;
> import org.apache.felix.scr.annotations.Reference;
> import org.apache.felix.scr.annotations.Service;
> import org.apache.sling.api.resource.LoginException;
> @@ -78,6 +79,7 @@ public class TenantProviderImpl implements TenantProvider {
> @Property(
> value = {},
> + unbounded = PropertyUnbounded.ARRAY,
> label = "Tenants Path Matcher",
> description = "Defines tenants path matcher i.e. /content/sample/([^/]+)/*, used while resolving path to tenant")
> private static final String TENANT_PATH_MATCHER = "tenant.path.matcher";
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (SLING-2671) TenantProvider configuration should
be allow multiple values
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-2671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger resolved SLING-2671.
--------------------------------------
Resolution: Fixed
Thanks for providing the patch. I have applied it in Rev. 1411616
> TenantProvider configuration should be allow multiple values
> ------------------------------------------------------------
>
> Key: SLING-2671
> URL: https://issues.apache.org/jira/browse/SLING-2671
> Project: Sling
> Issue Type: Bug
> Components: Extensions
> Reporter: Amit Gupta
> Assignee: Felix Meschberger
> Fix For: Tenant 1.0
>
>
> Tenants Path Matcher configuration property should allow multiple values for TenantProvider Implementation.
> diff --git a/contrib/extensions/tenant/src/main/java/org/apache/sling/tenant/internal/TenantProviderImpl.java b/contrib/extensions/tenant/src/main/java/org/apache/sling/tenant/internal/TenantProviderImpl.java
> index 8cc366c..86ab106 100644
> --- a/contrib/extensions/tenant/src/main/java/org/apache/sling/tenant/internal/TenantProviderImpl.java
> +++ b/contrib/extensions/tenant/src/main/java/org/apache/sling/tenant/internal/TenantProviderImpl.java
> @@ -36,6 +36,7 @@ import org.apache.felix.scr.annotations.Component;
> import org.apache.felix.scr.annotations.Deactivate;
> import org.apache.felix.scr.annotations.Properties;
> import org.apache.felix.scr.annotations.Property;
> +import org.apache.felix.scr.annotations.PropertyUnbounded;
> import org.apache.felix.scr.annotations.Reference;
> import org.apache.felix.scr.annotations.Service;
> import org.apache.sling.api.resource.LoginException;
> @@ -78,6 +79,7 @@ public class TenantProviderImpl implements TenantProvider {
> @Property(
> value = {},
> + unbounded = PropertyUnbounded.ARRAY,
> label = "Tenants Path Matcher",
> description = "Defines tenants path matcher i.e. /content/sample/([^/]+)/*, used while resolving path to tenant")
> private static final String TENANT_PATH_MATCHER = "tenant.path.matcher";
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira