You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor OpenFeature Java SDK to separate API from implementation
- Created multi-module Maven structure with openfeature-api and openfeature-sdk modules
- Moved core interfaces and data types to API module for clean separation
- Implemented ServiceLoader pattern for automatic SDK discovery and loading
- Created focused interfaces replacing monolithic OpenFeatureAdvanced:
* OpenFeatureCore - basic operations
* OpenFeatureHooks - hook management
* OpenFeatureContext - evaluation context
* OpenFeatureEventHandling - provider events
* OpenFeatureTransactionContext - transaction context
* OpenFeatureLifecycle - shutdown operations
- Moved NoOp implementations to internal.noop package for better encapsulation
- Created EventProvider interface in API with abstract class in SDK for backward compatibility
- Updated HookContext initialization to use builder pattern throughout tests
- Migrated tests to appropriate modules (API vs SDK concerns)
- Fixed classpath and dependency issues for proper module separation
- Updated imports and references to use API interfaces where appropriate
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
Signed-off-by: Simon Schrottner <[email protected]>
[INFO] surefireArgLine set to -javaagent:/home/todd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.12/org.jacoco.agent-0.8.12-runtime.jar=destfile=/home/todd/git/java-sdk/target/coverage-reports/jacoco-ut.exec
[INFO] surefireArgLine set to -javaagent:/home/todd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.12/org.jacoco.agent-0.8.12-runtime.jar=destfile=/home/todd/git/java-sdk/target/coverage-reports/jacoco-ut.exec
[INFO] surefireArgLine set to -javaagent:/home/todd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.12/org.jacoco.agent-0.8.12-runtime.jar=destfile=/home/todd/git/java-sdk/target/coverage-reports/jacoco-ut.exec
0 commit comments