Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.x: Global instance handling change (and relevant changes to testing) #9193

Open
wants to merge 17 commits into
base: main
Choose a base branch
from

Commits on Sep 2, 2024

  1. Global instances - to hold all instances that must be shared globally…

    …, yet support testing
    
    Refactored existing global instances to use it
    tomas-langer committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    4a881bd View commit details
    Browse the repository at this point in the history
  2. Fixed ConfigProvider not to handle Java service loader mappers.

    EnumMapperProvider as a proper service
    Support for existing instance descriptor, to be able to register custom instances during tests (even for types that do not have a service descriptor) + fixed appropriate code in registry, which used Set instead of List
    Fixed typo in registry module info
    tomas-langer committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    7499a1d View commit details
    Browse the repository at this point in the history
  3. Introduced web server service (for core registry) to allow setup that…

    … will work nicely once Helidon Service Inject is introduced
    tomas-langer committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    69d40b0 View commit details
    Browse the repository at this point in the history
  4. New testing module that

    - sets up registry with appropriate configuration (through annotations, test source, or static methods)
    - resets global instances when test class is done
    tomas-langer committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    f99237c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    18201bf View commit details
    Browse the repository at this point in the history
  6. Fix discovered when copying the concept of this class to global insta…

    …nces (ClassToInstanceStore)
    tomas-langer committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    78deefe View commit details
    Browse the repository at this point in the history
  7. javadoc fix

    tomas-langer committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    78870e7 View commit details
    Browse the repository at this point in the history
  8. Refactored back to use Context (with a slightly better handling of it).

    This also binds the current context to the test class that is executed, making parallel testing a possibility.
    tomas-langer committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    d2c51f8 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    4b69c25 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    213eb55 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    6583cc6 View commit details
    Browse the repository at this point in the history
  12. Javadoc fix.

    tomas-langer committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    88bf9f6 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2024

  1. Improve web server builder updates by supporting more than one implem…

    …entation.
    
    Also removed the no-op, as it is no longer needed
    tomas-langer committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    75f02b1 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2024

  1. Renamed context value.

    Using a more specific classifier.
    tomas-langer committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    5d7a683 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2024

  1. Javadoc update.

    tomas-langer committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    535c8fe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    554fd43 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2024

  1. Configuration menu
    Copy the full SHA
    e93c8a9 View commit details
    Browse the repository at this point in the history