Make io.helidon.microprofile.tests:helidon-microprofile-tests-junit5 inherit from io.helidon.microprofile:helidon-microprofile-project instead of io.helidon.microprofile.tests:tests-project.
io.helidon.microprofile.tests:tests-project is not deployed to Maven and thus cannot be in the parent pom chain of any pom that needs to be deployed (otherwise effective pom resolution fails).
* CDI.current().getBeanManager() now available during shutdown
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
* Guarding debug statement
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
* Allow user-provided CDI extensions to veto JAX-RS classes so that they are not included as part of an application during discovery. Changed JaxRsCdiExtension to use a different event to process classes. Updated the bookstore-mp test to verify the veto process and also modernized its tests.
Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
* Fixed checkstyle issues.
Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
* Injection of web target with correct endpoint.
* Support for junit5 tests already in MP Config implementation
* Support for inherited repeating annotations.
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
* MP Testing
* support for per test method CDI container.
* support custom config sources
* support for constructor injection in single CDI container mode
* support for `SeContainer` parameter in per test method CDI container mode
* validations of annotations depending on mode
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
* Limit module visibility by making several classes package private. None of these classes should be used directly by Helidon applications.
Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
* Removed public from constructors and fixed copyrights.
Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
* Replacing FailSafe and Hystrix by our own implementation of FT primitives. Some minor changes to our first version of these primitive operations was necessary to be fully compatible with MP and pass all the TCKs.
Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
* Update surefire and failsafe to 3.0.0-M5
Remove dependencies on jupiter-engine, and junit-platform-surefire-provider
* disable module path for surefire and failsafe
* version.lib.surefire.testng to 3.0.0-M5
remove duplicates dependencies in tests/integration/mp-grpc/pom.xml
suppress warnings in top level pom
* add back junit-jupiter-engine
* add junit:junit in config/jgit as jgit.junit requires junit4
* add junit-jupiter-api to database-se archetype
* Use CDI (instead of simple instantiation) to instantiate and inject Application instances during OpenAPI processing
Signed-off-by: tim.quinn@oracle.com <tim.quinn@oracle.com>
* Introduces an ExecutorServices implementation to Helidon's repackaged Weld implementation to ensure context classloaders are never null.
Signed-off-by: Laird Nelson <laird.nelson@oracle.com>
* Security now has higher priority
* Abac now correctly handles validator config
* Other services that expose endpoints have changed priority
* Added an integration test for #2297
* Support for bean producers in different package than beans that have package local methods.
* Update to proxy services
- name is generated with super interface first
- proxy classes are defined using private lookup
- proxy classes are defined using a class loader for weld specific packages
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
* Support for SE mappers in MP.
* Removed mandatory use of object mapping from security providers.
* Use direct APIs to retrieve booleans.
* Fixes to object mapping support in MP.
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
* MP to SE config now works including environment variables.
* Empty config now does not create an executor service.
* Using the same classloader when null is sent in MP config.
* Added env var test.
* Ensure the reference config uses its own configuration (intermitent failure fix)
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Co-authored-by: Romain Grecourt <romain.grecourt@oracle.com>
* Features simplification.
* Added excludes
* Moved initialization of log to native image extension
* Log statements for unsupported features in native image
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
* Fail deployment for Gauges in RequestScoped beans
* Warn for Gauges not in (ApplicationScoped or Singleton) beans
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>