You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streams.apache.org by "Steve Blackmon (JIRA)" <ji...@apache.org> on 2018/02/14 17:11:00 UTC
[jira] [Resolved] (STREAMS-580) Namespacing with fallbacks in
ComponentConfigurator
[ https://issues.apache.org/jira/browse/STREAMS-580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Blackmon resolved STREAMS-580.
------------------------------------
Resolution: Fixed
> Namespacing with fallbacks in ComponentConfigurator
> ---------------------------------------------------
>
> Key: STREAMS-580
> URL: https://issues.apache.org/jira/browse/STREAMS-580
> Project: Streams
> Issue Type: Improvement
> Reporter: Steve Blackmon
> Assignee: Steve Blackmon
> Priority: Major
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> Add support for class and package based namespacing in ComponentConfigurator:
> - Add a new method to ComponentConfigurator - detectConfiguration()
> - When the caller does not provide a Config or a path to detectConfiguration, get fancy:
> - Look for the fields declared by the component POJO class on each of the following:
> - the SimpleClassName
> - the CanonicalClassName
> - each ancestor package of the CanonicalClassName, longest to shortest
> - if a field is specified at more than one package/class level, the class or longest package ancestor takes precedence.
> Write sufficient unit tests to demonstrate that this is working as intended.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)