You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tamaya.apache.org by "Oliver B. Fischer (JIRA)" <ji...@apache.org> on 2017/04/03 04:54:41 UTC
[jira] [Commented] (TAMAYA-253) Make raw evaluation of policy
pluggable.
[ https://issues.apache.org/jira/browse/TAMAYA-253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15952995#comment-15952995 ]
Oliver B. Fischer commented on TAMAYA-253:
------------------------------------------
Hi [~anatole], can we close this issue or is there something still to do?
> Make raw evaluation of policy pluggable.
> ----------------------------------------
>
> Key: TAMAYA-253
> URL: https://issues.apache.org/jira/browse/TAMAYA-253
> Project: Tamaya
> Issue Type: Improvement
> Components: Core, tamaya-spisupport
> Affects Versions: 0.2-incubating
> Reporter: Anatole Tresch
> Assignee: Anatole Tresch
> Labels: Raw-Property-Evaluation, tamaya-clarifying-03, tamaya-wating-response
> Fix For: 0.3-incubating
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> Make the evaluation part for the raw properties (before they enter the filter chain) pluggable. The interface proposed (including a default implementation in core/spi-support):
> {noformat}
> /**
> * Component SPI which encapsulates the evaluation of a single or full <b>raw</b>value
> * for a {@link ConfigurationContext}.
> */
> public interface ConfigValueEvaluator {
> /**
> * Evaluates single value using a {@link ConfigurationContext}.
> * @param key the config key, not null.
> * @param context the context, not null.
> * @return the value, or null.
> */
> PropertyValue evaluteRawValue(String key, ConfigurationContext context);
> /**
> * Evaluates all property values from a {@link ConfigurationContext}.
> * @param context the context, not null.
> * @return the value, or null.
> */
> Iterable<PropertyValue> evaluateRawValues(ConfigurationContext context);
> }
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)