Skip to content
This repository has been archived by the owner on Nov 16, 2021. It is now read-only.

DS: Allow a condition towards a framework property #47

Open
kwin opened this issue Sep 30, 2020 · 3 comments
Open

DS: Allow a condition towards a framework property #47

kwin opened this issue Sep 30, 2020 · 3 comments
Assignees
Labels
publiccomment Public comment

Comments

@kwin
Copy link

kwin commented Sep 30, 2020

Sometimes a declarative service should only be active in case a framework property is set or set to a specific value. For a concrete use case look at https://issues.apache.org/jira/browse/SLING-9648?focusedCommentId=17173899&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17173899

@kwin kwin added the publiccomment Public comment label Sep 30, 2020
@tjwatson
Copy link
Contributor

I think this could be solved by the support coming for the Condition specification in R8 in DS. One could easily register a Condition to activate components based on framework launch properties.

@bjhargrave
Copy link
Member

We should use Conditions but have the Condition Factory support registering Conditions based upon properties presence/values.

@juergen-albert juergen-albert self-assigned this Sep 30, 2020
@juergen-albert
Copy link
Contributor

I added it as a todo for the Condition Factory Spec

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
publiccomment Public comment
Projects
None yet
Development

No branches or pull requests

4 participants