[ https://issues.apache.org/jira/browse/STREAMS-580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16354526#comment-16354526 ]
ASF GitHub Bot commented on STREAMS-580: ---------------------------------------- steveblackmon commented on issue #421: STREAMS-580: Namespacing with fallbacks in ComponentConfigurator URL: https://github.com/apache/streams/pull/421#issuecomment-363562594 Basically this changeset unlocks the ability to make changes like this one: https://github.com/steveblackmon/incubator-streams/commit/73240167909816be8fa464857240d140a4289432#diff-bac50d9f2ed1a154a60243a9511b6fb5 see especially streams-contrib/streams-provider-twitter/src/main/resources/reference.conf within the streams repository, and in any code built with streams-config or using streams-contrib ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > 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)