[flags] feat: scaffold openfeature provider module#2996
Conversation
|
🎯 Code Coverage 🔗 Commit SHA: 2e65f37 | Docs | Datadog PR Page | Was this helpful? Give us feedback! |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## feature/flags-ofeat #2996 +/- ##
=======================================================
- Coverage 71.40% 71.31% -0.10%
=======================================================
Files 859 860 +1
Lines 31308 31316 +8
Branches 5275 5275
=======================================================
- Hits 22355 22330 -25
- Misses 7493 7516 +23
- Partials 1460 1470 +10
🚀 New features to boost your workflow:
|
| implementation(project(":dd-sdk-android-internal")) | ||
|
|
||
| // OpenFeature SDK | ||
| api("dev.openfeature:kotlin-sdk:0.6.2") |
There was a problem hiding this comment.
we need to move this lib declaration to libs.versions.toml
| // Build | ||
| id("com.android.library") | ||
| kotlin("android") | ||
| id("com.google.devtools.ksp") |
There was a problem hiding this comment.
are we going to generate anything in this module based on @NoOpImplementation annotation?
| testImplementation(testFixtures(project(":dd-sdk-android-core"))) | ||
| testImplementation(testFixtures(project(":features:dd-sdk-android-rum"))) |
There was a problem hiding this comment.
we can add these later if needed, not necessarily they will be needed
typotter
left a comment
There was a problem hiding this comment.
Thanks Nikita. ptal
| // Build | ||
| id("com.android.library") | ||
| kotlin("android") | ||
| id("com.google.devtools.ksp") |
| implementation(project(":dd-sdk-android-internal")) | ||
|
|
||
| // OpenFeature SDK | ||
| api("dev.openfeature:kotlin-sdk:0.6.2") |
| testImplementation(testFixtures(project(":dd-sdk-android-core"))) | ||
| testImplementation(testFixtures(project(":features:dd-sdk-android-rum"))) |
| // Generate NoOp implementations | ||
| ksp(project(":tools:noopfactory")) |
There was a problem hiding this comment.
this needs also to be removed, because there is no KSP plugin, so no ksp configuration type.
|
/merge |
|
View all feedbacks in Devflow UI.
This pull request is not mergeable according to GitHub. Common reasons include pending required checks, missing approvals, or merge conflicts — but it could also be blocked by other repository rules or settings.
The expected merge time in
|
There was a problem hiding this comment.
We will also need to add a job to publish this module and add it as a dependency for notify:merge-verification-metadata job (and update local_ci.sh), but let's do it another PR then.
6c2f8ab
into
feature/flags-ofeat
What does this PR do?
Scaffolds new Flags Openfeature provider module
Motivation
The incompleteness and instability of the Kotline Openfeature SDK led us to develop the
dd-sdk-android-flagsclient api. Until the Openfeature SDK is stable, we want to include it by way of a feature module.Additional Notes
Anything else we should know when reviewing?
This scaffold is based on the flags module
Review checklist (to be filled by reviewers)