Uploaded image for project: 'Streams'
  1. Streams
  2. STREAMS-580

Namespacing with fallbacks in ComponentConfigurator

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.6.0
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              steveblackmon Steve Blackmon
              steveblackmon Steve Blackmon
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified