From 2761e661b51f43668910419453d17b5f796b1ae0 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 27 Oct 2022 15:34:48 -0400 Subject: [PATCH 01/26] chore(deps): update actions/cache digest to 8bec1e4 (#159) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/merge.yml | 2 +- .github/workflows/pullrequest.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index 231fad90..6224db69 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -32,7 +32,7 @@ jobs: server-password: ${{ secrets.OSSRH_PASSWORD }} - name: Cache local Maven repository - uses: actions/cache@2b04a41915d2fed6cec2aa74821ba81689ff0816 + uses: actions/cache@8bec1e4cc329270e6364af0aee38d62e50012e62 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml index bccace75..7ce69a71 100644 --- a/.github/workflows/pullrequest.yml +++ b/.github/workflows/pullrequest.yml @@ -31,7 +31,7 @@ jobs: languages: java - name: Cache local Maven repository - uses: actions/cache@2b04a41915d2fed6cec2aa74821ba81689ff0816 + uses: actions/cache@8bec1e4cc329270e6364af0aee38d62e50012e62 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} From 113b5e5f2ed8b72e5c23dedbf8d13d0fd4d4f878 Mon Sep 17 00:00:00 2001 From: Pramesh Date: Thu, 3 Nov 2022 17:18:37 -0700 Subject: [PATCH 02/26] fix(deps): Spot bug scope change (#173) * chore: add integration tests (#77) * chore: add integration tests Signed-off-by: Todd Baert * improve POM spacing Signed-off-by: Todd Baert Signed-off-by: Todd Baert Signed-off-by: Bhandari, Pramesh(AWF) * chore(main): release dev.openfeature.javasdk 0.2.2 (#76) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by: Bhandari, Pramesh(AWF) * feat!: errorCode as enum, reason as string (#80) * feat!: errorCode as enum, reason as string - makes errorCode an enum - makes reason a string - adds errorMessage to resolution/evaluation details Signed-off-by: Bhandari, Pramesh(AWF) * chore: add CODEOWNERS (#85) Create CODEOWNERS refs https://github.com/open-feature/java-sdk/issues/83 Signed-off-by: Justin Abrahms Signed-off-by: Justin Abrahms Signed-off-by: Bhandari, Pramesh(AWF) * chore: Configure Renovate (#86) chore(deps): add renovate.json Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Bhandari, Pramesh(AWF) * chore(deps): update dependency com.github.spotbugs:spotbugs to v4.7.2 (#87) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Bhandari, Pramesh(AWF) * chore(deps): update dependency com.github.spotbugs:spotbugs-maven-plugin to v4.7.2.0 (#88) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Bhandari, Pramesh(AWF) * chore(deps): update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3.4.1 (#90) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Bhandari, Pramesh(AWF) * chore(deps): update dependency org.sonatype.plugins:nexus-staging-maven-plugin to v1.6.13 (#91) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Bhandari, Pramesh(AWF) * fix(deps): update junit5 monorepo (#92) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Bhandari, Pramesh(AWF) * chore(deps): update dependency org.apache.maven.plugins:maven-pmd-plugin to v3.19.0 (#97) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Bhandari, Pramesh(AWF) * fix(deps): update dependency io.cucumber:cucumber-bom to v7.8.0 (#100) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Bhandari, Pramesh(AWF) * chore(deps): update dependency org.mockito:mockito-core to v4.8.0 (#99) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Bhandari, Pramesh(AWF) * chore(deps): update codecov/codecov-action action to v3 (#102) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Bhandari, Pramesh(AWF) * chore(deps): update dependency org.apache.maven.plugins:maven-gpg-plugin to v1.6 (#96) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Justin Abrahms Signed-off-by: Bhandari, Pramesh(AWF) * chore(deps): update dependency org.apache.maven.plugins:maven-source-plugin to v3 (#105) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Bhandari, Pramesh(AWF) * chore(deps): update dependency org.apache.maven.plugins:maven-compiler-plugin to v3.10.1 (#95) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Bhandari, Pramesh(AWF) * chore(deps): update dependency org.apache.maven.plugins:maven-gpg-plugin to v3 (#104) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Bhandari, Pramesh(AWF) * chore(deps): update dependency org.apache.maven.plugins:maven-checkstyle-plugin to v3.2.0 (#94) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Bhandari, Pramesh(AWF) * chore(deps): update actions/cache action to v3 (#101) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Bhandari, Pramesh(AWF) * chore(deps): update dependency com.puppycrawl.tools:checkstyle to v8.45.1 (#93) * chore(deps): update dependency com.puppycrawl.tools:checkstyle to v8.45.1 * scope property went away in the latest version https://github.com/jshiell/checkstyle-idea/issues/525#issuecomment-832084505 Signed-off-by: Justin Abrahms * scope wasn't deleted on the other one Signed-off-by: Justin Abrahms Signed-off-by: Justin Abrahms Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Justin Abrahms Signed-off-by: Bhandari, Pramesh(AWF) * refactor!: Change the package name. Everyone knows it's java (or it doesn't matter) (#111) * Change the package name. Everyone knows it's java (or it doesn't matter) Fixes #82 Signed-off-by: Justin Abrahms * Missed 2 strings Signed-off-by: Justin Abrahms * remove broken flagd import until changes absorbed Signed-off-by: Todd Baert Signed-off-by: Justin Abrahms Signed-off-by: Todd Baert Co-authored-by: Todd Baert Signed-off-by: Bhandari, Pramesh(AWF) * chore: Write perms should be as tightly scoped as possible. (#107) * Add a dependabot file to keep deps up to date Signed-off-by: Justin Abrahms * Move write permissions to the specific job, rather than globally Signed-off-by: Justin Abrahms * Run code scanning (slow auto-build) weekly Signed-off-by: Justin Abrahms Signed-off-by: Justin Abrahms Signed-off-by: Bhandari, Pramesh(AWF) * chore: fix dependabot pr titles (#118) Signed-off-by: Todd Baert Signed-off-by: Todd Baert Signed-off-by: Bhandari, Pramesh(AWF) * chore: Bump cucumber-bom from 7.8.0 to 7.8.1 (#115) Bump cucumber-bom from 7.8.0 to 7.8.1 Bumps [cucumber-bom](https://github.com/cucumber/cucumber-jvm) from 7.8.0 to 7.8.1. - [Release notes](https://github.com/cucumber/cucumber-jvm/releases) - [Changelog](https://github.com/cucumber/cucumber-jvm/blob/main/CHANGELOG.md) - [Commits](https://github.com/cucumber/cucumber-jvm/compare/v7.8.0...v7.8.1) --- updated-dependencies: - dependency-name: io.cucumber:cucumber-bom dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: Bhandari, Pramesh(AWF) * chore: add SAST scanning (#108) * add SAST scanning Refs #84 Signed-off-by: Justin Abrahms * Java scanning only Signed-off-by: Justin Abrahms * Try codeql on the normal build to see how much longer it is. Signed-off-by: Justin Abrahms Signed-off-by: Justin Abrahms Signed-off-by: Bhandari, Pramesh(AWF) * feat!: use evaluation context interface (#112) * POC - use evaluation context interface Signed-off-by: Todd Baert * make .merge non-static Signed-off-by: Todd Baert * improve naming Signed-off-by: Todd Baert * add @override Signed-off-by: Todd Baert * Update src/main/java/dev/openfeature/sdk/EvaluationContext.java Co-authored-by: Justin Abrahms Signed-off-by: Todd Baert * Update src/main/java/dev/openfeature/sdk/MutableContext.java Co-authored-by: Justin Abrahms Signed-off-by: Todd Baert * address PR feedback Signed-off-by: Todd Baert Signed-off-by: Todd Baert Co-authored-by: Justin Abrahms Signed-off-by: Bhandari, Pramesh(AWF) * feat: Support for generating CycloneDX sboms (#119) Signed-off-by: Justin Abrahms Signed-off-by: Bhandari, Pramesh(AWF) * chore: [StepSecurity] ci: Harden GitHub Actions (#120) * [StepSecurity] ci: Harden GitHub Actions in release.yml * [StepSecurity] ci: Harden GitHub Actions in static-code-scanning.yaml * [StepSecurity] ci: Harden GitHub Actions in lint-pr.yml * [StepSecurity] ci: Harden GitHub Actions in merge.yml * [StepSecurity] ci: Harden GitHub Actions in pullrequest.yml Signed-off-by: Bhandari, Pramesh(AWF) * chore: I don't think we use that permission? (#123) I don't think we use that permission? Signed-off-by: Justin Abrahms Signed-off-by: Bhandari, Pramesh(AWF) * chore: Document where to find our SBOMs (#124) Signed-off-by: Bhandari, Pramesh(AWF) * chore(deps): update actions/cache digest to a3f5edc (#121) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Bhandari, Pramesh(AWF) * chore(deps): update actions/setup-java digest to e150063 (#125) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Bhandari, Pramesh(AWF) * chore: Remove more perms (#130) Signed-off-by: Bhandari, Pramesh(AWF) * chore(deps): update dependency org.cyclonedx:cyclonedx-maven-plugin to v2.7.1 (#128) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Bhandari, Pramesh(AWF) * chore(deps): update github/codeql-action digest to 3d39294 (#127) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Bhandari, Pramesh(AWF) * chore(deps): update codecov/codecov-action digest to e0fbd59 (#126) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Bhandari, Pramesh(AWF) * chore: Bump actions/checkout from 3.0.2 to 3.1.0 (#139) Bumps [actions/checkout](https://github.com/actions/checkout) from 3.0.2 to 3.1.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/2541b1294d2704b0964813337f33b291d3f8596b...93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: Bhandari, Pramesh(AWF) * chore: Bump actions/setup-java from e150063ee446b60ce2e35b040e81846da9001576 to a82e6d00200608b0b4c131bc9a89f7349786bd33 (#140) chore: Bump actions/setup-java Bumps [actions/setup-java](https://github.com/actions/setup-java) from e150063ee446b60ce2e35b040e81846da9001576 to a82e6d00200608b0b4c131bc9a89f7349786bd33. - [Release notes](https://github.com/actions/setup-java/releases) - [Commits](https://github.com/actions/setup-java/compare/e150063ee446b60ce2e35b040e81846da9001576...a82e6d00200608b0b4c131bc9a89f7349786bd33) --- updated-dependencies: - dependency-name: actions/setup-java dependency-type: direct:production ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: Bhandari, Pramesh(AWF) * chore: bump spotbugs-maven-plugin from 4.7.2.0 to 4.7.2.1 (#136) Bumps [spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin) from 4.7.2.0 to 4.7.2.1. - [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases) - [Commits](https://github.com/spotbugs/spotbugs-maven-plugin/compare/spotbugs-maven-plugin-4.7.2.0...spotbugs-maven-plugin-4.7.2.1) --- updated-dependencies: - dependency-name: com.github.spotbugs:spotbugs-maven-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Justin Abrahms Signed-off-by: Bhandari, Pramesh(AWF) * chore: exclude component in git tag (#143) Signed-off-by: Michael Beemer Signed-off-by: Michael Beemer Signed-off-by: Bhandari, Pramesh(AWF) * chore(deps): update dependency org.cyclonedx:cyclonedx-maven-plugin to v2.7.2 (#141) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Bhandari, Pramesh(AWF) * feat!: add rw locks to client/api, hook accessor name (#131) * fix: add read/write locks to client/api Signed-off-by: Todd Baert * dont lock entire evaluation Signed-off-by: Todd Baert * add tests Signed-off-by: Todd Baert * fixup comment Signed-off-by: Todd Baert * fixup pom comment Signed-off-by: Todd Baert * increase lock granularity, imporove tests Signed-off-by: Todd Baert * fix spotbugs Signed-off-by: Todd Baert * remove commented test Signed-off-by: Todd Baert Signed-off-by: Todd Baert Signed-off-by: Bhandari, Pramesh(AWF) * chore(deps): update actions/setup-java digest to 3617c43 (#132) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Bhandari, Pramesh(AWF) * chore(deps): update amannn/action-semantic-pull-request digest to b314c1b (#135) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Justin Abrahms Signed-off-by: Bhandari, Pramesh(AWF) * chore: Remove dependabot. I like renovate better (#142) Signed-off-by: Bhandari, Pramesh(AWF) * chore(deps): update amannn/action-semantic-pull-request digest to 7c194c2 (#144) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Bhandari, Pramesh(AWF) * chore(deps): update github/codeql-action digest to 44edb7c (#133) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Bhandari, Pramesh(AWF) * chore(deps): update actions/checkout digest to 8230315 (#122) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Bhandari, Pramesh(AWF) * chore(main): release 0.3.0 (#114) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Justin Abrahms Signed-off-by: Bhandari, Pramesh(AWF) * chore: re-enable integration tests (#146) Update test harness and re-enable integration test profile Signed-off-by: Bhandari, Pramesh(AWF) * chore(deps): update actions/cache digest to 9b0c1fc (#145) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Justin Abrahms Signed-off-by: Bhandari, Pramesh(AWF) * fix: merge eval context (#149) fix merge eval context Signed-off-by: Robert Grassian Signed-off-by: Robert Grassian Signed-off-by: Bhandari, Pramesh(AWF) * chore(main): release 0.3.1 (#150) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by: Bhandari, Pramesh(AWF) * chore(deps): update github/codeql-action digest to 297ec80 (#147) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Bhandari, Pramesh(AWF) * chore: update test/spec association numbers, badge (#156) * chore: update test/spec association numbers Signed-off-by: Todd Baert * chore: update spec tag Signed-off-by: Todd Baert Signed-off-by: Todd Baert Signed-off-by: Bhandari, Pramesh(AWF) * chore(deps): update actions/cache digest to 2b04a41 (#158) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Bhandari, Pramesh(AWF) * chore(security): [Snyk] Security upgrade com.github.spotbugs:spotbugs from 4.7.2 to 4.7.3 (#157) fix: pom.xml to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JAVA-ORGAPACHECOMMONS-3043138 Co-authored-by: snyk-bot Signed-off-by: Bhandari, Pramesh(AWF) * chore: Add docs link (#165) Signed-off-by: Todd Baert Signed-off-by: Todd Baert Signed-off-by: Bhandari, Pramesh(AWF) * chore: Mark project as active. (#167) Mark project as active. Signed-off-by: Justin Abrahms Signed-off-by: Justin Abrahms Signed-off-by: Bhandari, Pramesh(AWF) * chore(main): release 1.0.0 (#168) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by: Bhandari, Pramesh(AWF) * chore(deps): update actions/cache digest to 8bec1e4 (#159) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Bhandari, Pramesh(AWF) * changes spotbug scope to provided. Signed-off-by: Bhandari, Pramesh(AWF) Signed-off-by: Todd Baert Signed-off-by: Bhandari, Pramesh(AWF) Signed-off-by: Justin Abrahms Signed-off-by: Justin Abrahms Signed-off-by: dependabot[bot] Signed-off-by: Michael Beemer Signed-off-by: Robert Grassian Signed-off-by: Pramesh Co-authored-by: Todd Baert Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Justin Abrahms Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Step Security Bot Co-authored-by: Michael Beemer Co-authored-by: Robert Grassian <89157164+rgrassian-split@users.noreply.github.com> Co-authored-by: snyk-bot Co-authored-by: Bhandari, Pramesh(AWF) --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index bd7f8299..9036fe00 100644 --- a/pom.xml +++ b/pom.xml @@ -53,7 +53,7 @@ com.github.spotbugs spotbugs 4.7.3 - compile + provided From 785470213ef8154a2ec059d9a205ae0bea8cb717 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 9 Nov 2022 13:12:15 -0500 Subject: [PATCH 03/26] chore(deps): update dependency com.github.spotbugs:spotbugs-maven-plugin to v4.7.3.0 (#175) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 9036fe00..70ab38e3 100644 --- a/pom.xml +++ b/pom.xml @@ -416,7 +416,7 @@ com.github.spotbugs spotbugs-maven-plugin - 4.7.2.1 + 4.7.3.0 spotbugs-exclusions.xml From fcc8972022dd78fcdf5311373a8b8ad238368baa Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 9 Nov 2022 13:21:38 -0500 Subject: [PATCH 04/26] fix(deps): update dependency io.cucumber:cucumber-bom to v7.9.0 (#172) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 70ab38e3..12adae91 100644 --- a/pom.xml +++ b/pom.xml @@ -152,7 +152,7 @@ io.cucumber cucumber-bom - 7.8.1 + 7.9.0 pom import From 7f06b9af83c4ba5d2a35a5e45a4192fd101f3a92 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 9 Nov 2022 14:37:49 -0500 Subject: [PATCH 05/26] chore(deps): update dependency dev.openfeature.contrib.providers:flagd to v0.5.0 (#170) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 12adae91..90c2c76e 100644 --- a/pom.xml +++ b/pom.xml @@ -141,7 +141,7 @@ dev.openfeature.contrib.providers flagd - 0.4.1 + 0.5.0 test From ca68ae787196562da80c600a9d674308ed6a5bf4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 15 Nov 2022 17:54:22 -0500 Subject: [PATCH 06/26] chore(deps): update google-github-actions/release-please-action digest to 44c30b3 (#169) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 01841f20..b11068bd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: # Release-please creates a PR that tracks all changes steps: - - uses: google-github-actions/release-please-action@069d7229d7b10308de85bc606a91e0033e259c8e + - uses: google-github-actions/release-please-action@44c30b36230f7335e5da53e297d931807ccea116 id: release with: command: manifest From d6c45c3f07621211f2f25e450a164e3695f97611 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 16 Nov 2022 10:01:09 -0500 Subject: [PATCH 07/26] chore(deps): update dependency org.cyclonedx:cyclonedx-maven-plugin to v2.7.3 (#177) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 90c2c76e..b1691b36 100644 --- a/pom.xml +++ b/pom.xml @@ -189,7 +189,7 @@ org.cyclonedx cyclonedx-maven-plugin - 2.7.2 + 2.7.3 library 1.3 From ea14348edcfa09b2c389271ff88b9a359aef2b0d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 16 Nov 2022 15:30:39 +0000 Subject: [PATCH 08/26] chore(deps): update amannn/action-semantic-pull-request digest to 0b14f54 (#151) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/lint-pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint-pr.yml b/.github/workflows/lint-pr.yml index 5d63a004..8b4f92ea 100644 --- a/.github/workflows/lint-pr.yml +++ b/.github/workflows/lint-pr.yml @@ -18,6 +18,6 @@ jobs: name: Validate PR title runs-on: ubuntu-latest steps: - - uses: amannn/action-semantic-pull-request@7c194c28652f0faf98ad437c6cf291406d387b43 + - uses: amannn/action-semantic-pull-request@0b14f54ac155d88e12522156e52cb6e397745cfd env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 727e01340c75ce5d3a24d01e30c0d4dcefb03918 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 16 Nov 2022 09:46:57 -0800 Subject: [PATCH 09/26] chore(deps): update actions/cache digest to 5c79b3f (#176) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/merge.yml | 2 +- .github/workflows/pullrequest.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index 6224db69..c1083373 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -32,7 +32,7 @@ jobs: server-password: ${{ secrets.OSSRH_PASSWORD }} - name: Cache local Maven repository - uses: actions/cache@8bec1e4cc329270e6364af0aee38d62e50012e62 + uses: actions/cache@5c79b3fd6c0e87c9444fe7b18edafe7d9ba61531 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml index 7ce69a71..a35d66f7 100644 --- a/.github/workflows/pullrequest.yml +++ b/.github/workflows/pullrequest.yml @@ -31,7 +31,7 @@ jobs: languages: java - name: Cache local Maven repository - uses: actions/cache@8bec1e4cc329270e6364af0aee38d62e50012e62 + uses: actions/cache@5c79b3fd6c0e87c9444fe7b18edafe7d9ba61531 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} From 02d9cb9a65e532301feb3a9cf1324507b59b8637 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 16 Nov 2022 17:51:53 +0000 Subject: [PATCH 10/26] chore(deps): update actions/checkout digest to 1f9a0c2 (#154) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/merge.yml | 2 +- .github/workflows/pullrequest.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/static-code-scanning.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index c1083373..2cdd9f6e 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@8230315d06ad95c617244d2f265d237a1682d445 + - uses: actions/checkout@bf085276cecdb0cc76fbbe0687a5a0e786646936 - name: Set up JDK 8 uses: actions/setup-java@3617c43588448d532250f5c331dffcca90e398f1 with: diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml index a35d66f7..b96a2ef7 100644 --- a/.github/workflows/pullrequest.yml +++ b/.github/workflows/pullrequest.yml @@ -16,7 +16,7 @@ jobs: steps: - name: Check out the code - uses: actions/checkout@8230315d06ad95c617244d2f265d237a1682d445 + uses: actions/checkout@bf085276cecdb0cc76fbbe0687a5a0e786646936 - name: Set up JDK 8 uses: actions/setup-java@3617c43588448d532250f5c331dffcca90e398f1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b11068bd..45a65715 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,7 +29,7 @@ jobs: # These steps are only run if this was a merged release-please PR - name: checkout if: ${{ steps.release.outputs.releases_created }} - uses: actions/checkout@8230315d06ad95c617244d2f265d237a1682d445 + uses: actions/checkout@bf085276cecdb0cc76fbbe0687a5a0e786646936 - name: Set up JDK 8 if: ${{ steps.release.outputs.releases_created }} uses: actions/setup-java@3617c43588448d532250f5c331dffcca90e398f1 diff --git a/.github/workflows/static-code-scanning.yaml b/.github/workflows/static-code-scanning.yaml index 4686704e..9c351e66 100644 --- a/.github/workflows/static-code-scanning.yaml +++ b/.github/workflows/static-code-scanning.yaml @@ -29,7 +29,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@8230315d06ad95c617244d2f265d237a1682d445 + uses: actions/checkout@bf085276cecdb0cc76fbbe0687a5a0e786646936 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL From 79cc1250fbff71bd1358d4d99234d272a3ebd183 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 16 Nov 2022 17:57:25 +0000 Subject: [PATCH 11/26] chore(deps): update dependency org.mockito:mockito-core to v4.8.1 (#166) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index b1691b36..946c6fbe 100644 --- a/pom.xml +++ b/pom.xml @@ -66,7 +66,7 @@ org.mockito mockito-core - 4.8.0 + 4.8.1 test From bf985b9bdd3e4274696ab15db09c89b27b566201 Mon Sep 17 00:00:00 2001 From: Justin Abrahms Date: Wed, 16 Nov 2022 10:38:25 -0800 Subject: [PATCH 12/26] chore: Pass in a token to codecov to prevent build breaks (#180) Signed-off-by: Justin Abrahms --- .github/workflows/pullrequest.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml index b96a2ef7..9904c2c2 100644 --- a/.github/workflows/pullrequest.yml +++ b/.github/workflows/pullrequest.yml @@ -44,6 +44,7 @@ jobs: - name: Upload coverage to Codecov uses: codecov/codecov-action@e0fbd592d323cb2991fb586fdd260734fcb41fcb with: + token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos flags: unittests # optional name: coverage # optional fail_ci_if_error: true # optional (default = false) From 1b59dc4d3dd9c5c09cd48ffc2fd4d349c23ccfe8 Mon Sep 17 00:00:00 2001 From: Justin Abrahms Date: Wed, 16 Nov 2022 13:56:14 -0800 Subject: [PATCH 13/26] chore: Run fuzzing every night (#162) Run fuzzing every night Signed-off-by: Justin Abrahms Signed-off-by: Justin Abrahms --- .github/workflows/cflite_batch.yml | 38 ++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/cflite_batch.yml diff --git a/.github/workflows/cflite_batch.yml b/.github/workflows/cflite_batch.yml new file mode 100644 index 00000000..42163f61 --- /dev/null +++ b/.github/workflows/cflite_batch.yml @@ -0,0 +1,38 @@ +name: ClusterFuzzLite batch fuzzing +on: + schedule: + # ┌───────────── minute (0 - 59) + # │ ┌───────────── hour (0 - 23) + # │ │ ┌───────────── day of the month (1 - 31) + # │ │ │ ┌───────────── month (1 - 12 or JAN-DEC) + # │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT) + # │ │ │ │ │ + # │ │ │ │ │ + # │ │ │ │ │ + # * * * * * + - cron: '0 0 * * *' # Every 6th hour. Change this to whatever is suitable. +permissions: read-all +jobs: + BatchFuzzing: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + sanitizer: + - address + - undefined + steps: + - name: Build Fuzzers (${{ matrix.sanitizer }}) + id: build + uses: google/clusterfuzzlite/actions/build_fuzzers@v1 + with: + language: java + sanitizer: ${{ matrix.sanitizer }} + - name: Run Fuzzers (${{ matrix.sanitizer }}) + id: run + uses: google/clusterfuzzlite/actions/run_fuzzers@v1 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + fuzz-seconds: 3600 + mode: 'batch' + sanitizer: ${{ matrix.sanitizer }} From 1a40c97d23e0d6e170f9f5c0d30344f8ab043765 Mon Sep 17 00:00:00 2001 From: Todd Baert Date: Mon, 21 Nov 2022 02:25:45 -0500 Subject: [PATCH 14/26] chore: fix issues with compilation on later JDKs (#178) chore: fix compile/lint issues on 8+ Signed-off-by: Todd Baert Signed-off-by: Todd Baert --- README.md | 2 +- checkstyle-suppressions.xml | 7 ++++ checkstyle.xml | 32 ++++++++++++++----- pom.xml | 1 + spotbugs-exclusions.xml | 3 -- .../java/dev/openfeature/sdk/BooleanHook.java | 3 ++ .../java/dev/openfeature/sdk/DoubleHook.java | 3 ++ .../java/dev/openfeature/sdk/ErrorCode.java | 1 + .../sdk/FlagEvaluationDetails.java | 1 + .../sdk/FlagEvaluationOptions.java | 1 + .../dev/openfeature/sdk/FlagValueType.java | 1 + .../java/dev/openfeature/sdk/HookSupport.java | 5 ++- .../java/dev/openfeature/sdk/IntegerHook.java | 3 ++ .../dev/openfeature/sdk/MutableStructure.java | 15 ++++----- .../openfeature/sdk/OpenFeatureClient.java | 3 ++ .../openfeature/sdk/ProviderEvaluation.java | 1 + src/main/java/dev/openfeature/sdk/Reason.java | 3 ++ .../java/dev/openfeature/sdk/StringHook.java | 3 ++ src/main/java/dev/openfeature/sdk/Value.java | 5 ++- .../sdk/exceptions/FlagNotFoundError.java | 1 + .../sdk/exceptions/GeneralError.java | 1 + .../sdk/exceptions/InvalidContextError.java | 3 ++ .../sdk/exceptions/OpenFeatureError.java | 1 + .../sdk/exceptions/ParseError.java | 3 ++ .../exceptions/TargetingKeyMissingError.java | 3 ++ .../sdk/exceptions/TypeMismatchError.java | 3 ++ .../exceptions/ValueNotConvertableError.java | 3 ++ .../sdk/internal/AutoCloseableLock.java | 1 + .../openfeature/sdk/internal/ObjectUtils.java | 6 +++- 29 files changed, 94 insertions(+), 24 deletions(-) create mode 100644 checkstyle-suppressions.xml diff --git a/README.md b/README.md index 51591d0c..91145311 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ class MyClass { For complete documentation, visit: https://docs.openfeature.dev/docs/category/concepts ## Requirements -- Java 8+ +- Java 8+ (compiler target is 1.8) ## Installation diff --git a/checkstyle-suppressions.xml b/checkstyle-suppressions.xml new file mode 100644 index 00000000..ef1413bc --- /dev/null +++ b/checkstyle-suppressions.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/checkstyle.xml b/checkstyle.xml index a52e1bf7..f2bcb59a 100644 --- a/checkstyle.xml +++ b/checkstyle.xml @@ -34,6 +34,7 @@ + @@ -46,7 +47,23 @@ + + + + + + + + + + + + + + + @@ -223,7 +240,7 @@ - + + + + + + - - - - - - diff --git a/pom.xml b/pom.xml index 946c6fbe..b3fbfedc 100644 --- a/pom.xml +++ b/pom.xml @@ -369,6 +369,7 @@ 3.4.1 true + all,-missing diff --git a/spotbugs-exclusions.xml b/spotbugs-exclusions.xml index 673bf4b5..8105db97 100644 --- a/spotbugs-exclusions.xml +++ b/spotbugs-exclusions.xml @@ -27,9 +27,6 @@ - - - diff --git a/src/main/java/dev/openfeature/sdk/BooleanHook.java b/src/main/java/dev/openfeature/sdk/BooleanHook.java index 26fff41c..bc07d898 100644 --- a/src/main/java/dev/openfeature/sdk/BooleanHook.java +++ b/src/main/java/dev/openfeature/sdk/BooleanHook.java @@ -1,5 +1,8 @@ package dev.openfeature.sdk; +/** + * {@inheritDoc} + */ public interface BooleanHook extends Hook { @Override diff --git a/src/main/java/dev/openfeature/sdk/DoubleHook.java b/src/main/java/dev/openfeature/sdk/DoubleHook.java index 2ec179d9..1da0602d 100644 --- a/src/main/java/dev/openfeature/sdk/DoubleHook.java +++ b/src/main/java/dev/openfeature/sdk/DoubleHook.java @@ -1,5 +1,8 @@ package dev.openfeature.sdk; +/** + * {@inheritDoc} + */ public interface DoubleHook extends Hook { @Override diff --git a/src/main/java/dev/openfeature/sdk/ErrorCode.java b/src/main/java/dev/openfeature/sdk/ErrorCode.java index 2acf31ef..6b387e27 100644 --- a/src/main/java/dev/openfeature/sdk/ErrorCode.java +++ b/src/main/java/dev/openfeature/sdk/ErrorCode.java @@ -1,5 +1,6 @@ package dev.openfeature.sdk; +@SuppressWarnings("checkstyle:MissingJavadocType") public enum ErrorCode { PROVIDER_NOT_READY, FLAG_NOT_FOUND, PARSE_ERROR, TYPE_MISMATCH, TARGETING_KEY_MISSING, INVALID_CONTEXT, GENERAL } diff --git a/src/main/java/dev/openfeature/sdk/FlagEvaluationDetails.java b/src/main/java/dev/openfeature/sdk/FlagEvaluationDetails.java index d9c85be4..67ee853d 100644 --- a/src/main/java/dev/openfeature/sdk/FlagEvaluationDetails.java +++ b/src/main/java/dev/openfeature/sdk/FlagEvaluationDetails.java @@ -20,6 +20,7 @@ public class FlagEvaluationDetails implements BaseEvaluation { /** * Generate detail payload from the provider response. + * * @param providerEval provider response * @param flagKey key for the flag being evaluated * @param type of flag being returned diff --git a/src/main/java/dev/openfeature/sdk/FlagEvaluationOptions.java b/src/main/java/dev/openfeature/sdk/FlagEvaluationOptions.java index 81408be9..5fa1a93f 100644 --- a/src/main/java/dev/openfeature/sdk/FlagEvaluationOptions.java +++ b/src/main/java/dev/openfeature/sdk/FlagEvaluationOptions.java @@ -7,6 +7,7 @@ import lombok.Builder; import lombok.Singular; +@SuppressWarnings("checkstyle:MissingJavadocType") @lombok.Value @Builder public class FlagEvaluationOptions { diff --git a/src/main/java/dev/openfeature/sdk/FlagValueType.java b/src/main/java/dev/openfeature/sdk/FlagValueType.java index 62ca412f..11d43afb 100644 --- a/src/main/java/dev/openfeature/sdk/FlagValueType.java +++ b/src/main/java/dev/openfeature/sdk/FlagValueType.java @@ -1,5 +1,6 @@ package dev.openfeature.sdk; +@SuppressWarnings("checkstyle:MissingJavadocType") public enum FlagValueType { STRING, INTEGER, DOUBLE, OBJECT, BOOLEAN; } diff --git a/src/main/java/dev/openfeature/sdk/HookSupport.java b/src/main/java/dev/openfeature/sdk/HookSupport.java index eb2b4078..8563096e 100644 --- a/src/main/java/dev/openfeature/sdk/HookSupport.java +++ b/src/main/java/dev/openfeature/sdk/HookSupport.java @@ -1,6 +1,9 @@ package dev.openfeature.sdk; -import java.util.*; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; import java.util.function.Consumer; import java.util.stream.Collectors; import java.util.stream.IntStream; diff --git a/src/main/java/dev/openfeature/sdk/IntegerHook.java b/src/main/java/dev/openfeature/sdk/IntegerHook.java index a178904d..1386152e 100644 --- a/src/main/java/dev/openfeature/sdk/IntegerHook.java +++ b/src/main/java/dev/openfeature/sdk/IntegerHook.java @@ -1,5 +1,8 @@ package dev.openfeature.sdk; +/** + * {@inheritDoc} + */ public interface IntegerHook extends Hook { @Override diff --git a/src/main/java/dev/openfeature/sdk/MutableStructure.java b/src/main/java/dev/openfeature/sdk/MutableStructure.java index 99e741df..43a32f62 100644 --- a/src/main/java/dev/openfeature/sdk/MutableStructure.java +++ b/src/main/java/dev/openfeature/sdk/MutableStructure.java @@ -1,7 +1,10 @@ package dev.openfeature.sdk; import java.time.Instant; -import java.util.*; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Set; import java.util.stream.Collectors; import dev.openfeature.sdk.exceptions.ValueNotConvertableError; @@ -16,7 +19,7 @@ */ @ToString @EqualsAndHashCode -@SuppressWarnings("PMD.BeanMembersShouldSerialize") +@SuppressWarnings({"PMD.BeanMembersShouldSerialize", "checkstyle:MissingJavadocType"}) public class MutableStructure implements Structure { protected final Map attributes; @@ -66,13 +69,6 @@ public MutableStructure add(String key, Double value) { return this; } - /** - * Add date-time relevant key. - * - * @param key feature key - * @param value date-time value - * @return Structure - */ public MutableStructure add(String key, Instant value) { attributes.put(key, new Value(value)); return this; @@ -116,6 +112,7 @@ public Map asObjectMap() { /** * convertValue is converting the object type Value in a primitive type. + * * @param value - Value object to convert * @return an Object containing the primitive type. */ diff --git a/src/main/java/dev/openfeature/sdk/OpenFeatureClient.java b/src/main/java/dev/openfeature/sdk/OpenFeatureClient.java index 827c9215..74690fe9 100644 --- a/src/main/java/dev/openfeature/sdk/OpenFeatureClient.java +++ b/src/main/java/dev/openfeature/sdk/OpenFeatureClient.java @@ -14,6 +14,9 @@ import lombok.Getter; import lombok.extern.slf4j.Slf4j; +/** + * {@inheritDoc} + */ @Slf4j @SuppressWarnings({ "PMD.DataflowAnomalyAnalysis", "PMD.BeanMembersShouldSerialize", "unchecked", "rawtypes" }) public class OpenFeatureClient implements Client { diff --git a/src/main/java/dev/openfeature/sdk/ProviderEvaluation.java b/src/main/java/dev/openfeature/sdk/ProviderEvaluation.java index 3f2b69bc..9ba1ab9a 100644 --- a/src/main/java/dev/openfeature/sdk/ProviderEvaluation.java +++ b/src/main/java/dev/openfeature/sdk/ProviderEvaluation.java @@ -5,6 +5,7 @@ import javax.annotation.Nullable; +@SuppressWarnings("checkstyle:MissingJavadocType") @Data @Builder public class ProviderEvaluation implements BaseEvaluation { T value; diff --git a/src/main/java/dev/openfeature/sdk/Reason.java b/src/main/java/dev/openfeature/sdk/Reason.java index 107665bc..497fd66d 100644 --- a/src/main/java/dev/openfeature/sdk/Reason.java +++ b/src/main/java/dev/openfeature/sdk/Reason.java @@ -1,5 +1,8 @@ package dev.openfeature.sdk; +/** + * Predefined resolution reasons. + */ public enum Reason { DISABLED, SPLIT, TARGETING_MATCH, DEFAULT, UNKNOWN, ERROR } diff --git a/src/main/java/dev/openfeature/sdk/StringHook.java b/src/main/java/dev/openfeature/sdk/StringHook.java index 15ee5238..aac732d5 100644 --- a/src/main/java/dev/openfeature/sdk/StringHook.java +++ b/src/main/java/dev/openfeature/sdk/StringHook.java @@ -1,5 +1,8 @@ package dev.openfeature.sdk; +/** + * {@inheritDoc} + */ public interface StringHook extends Hook { @Override diff --git a/src/main/java/dev/openfeature/sdk/Value.java b/src/main/java/dev/openfeature/sdk/Value.java index 1caaf52e..a013064c 100644 --- a/src/main/java/dev/openfeature/sdk/Value.java +++ b/src/main/java/dev/openfeature/sdk/Value.java @@ -13,11 +13,14 @@ */ @ToString @EqualsAndHashCode -@SuppressWarnings("PMD.BeanMembersShouldSerialize") +@SuppressWarnings({"PMD.BeanMembersShouldSerialize", "checkstyle:MissingJavadocType"}) public class Value { private final Object innerObject; + /** + * Construct a new null Value. + */ public Value() { this.innerObject = null; } diff --git a/src/main/java/dev/openfeature/sdk/exceptions/FlagNotFoundError.java b/src/main/java/dev/openfeature/sdk/exceptions/FlagNotFoundError.java index 78a5077d..9ec850d3 100644 --- a/src/main/java/dev/openfeature/sdk/exceptions/FlagNotFoundError.java +++ b/src/main/java/dev/openfeature/sdk/exceptions/FlagNotFoundError.java @@ -4,6 +4,7 @@ import lombok.Getter; import lombok.experimental.StandardException; +@SuppressWarnings("checkstyle:MissingJavadocType") @StandardException public class FlagNotFoundError extends OpenFeatureError { private static final long serialVersionUID = 1L; diff --git a/src/main/java/dev/openfeature/sdk/exceptions/GeneralError.java b/src/main/java/dev/openfeature/sdk/exceptions/GeneralError.java index 3b0e57e8..d7256c3f 100644 --- a/src/main/java/dev/openfeature/sdk/exceptions/GeneralError.java +++ b/src/main/java/dev/openfeature/sdk/exceptions/GeneralError.java @@ -4,6 +4,7 @@ import lombok.Getter; import lombok.experimental.StandardException; +@SuppressWarnings("checkstyle:MissingJavadocType") @StandardException public class GeneralError extends OpenFeatureError { private static final long serialVersionUID = 1L; diff --git a/src/main/java/dev/openfeature/sdk/exceptions/InvalidContextError.java b/src/main/java/dev/openfeature/sdk/exceptions/InvalidContextError.java index 150c851a..e70c3efe 100644 --- a/src/main/java/dev/openfeature/sdk/exceptions/InvalidContextError.java +++ b/src/main/java/dev/openfeature/sdk/exceptions/InvalidContextError.java @@ -4,6 +4,9 @@ import lombok.Getter; import lombok.experimental.StandardException; +/** + * The evaluation context does not meet provider requirements. + */ @StandardException public class InvalidContextError extends OpenFeatureError { private static final long serialVersionUID = 1L; diff --git a/src/main/java/dev/openfeature/sdk/exceptions/OpenFeatureError.java b/src/main/java/dev/openfeature/sdk/exceptions/OpenFeatureError.java index c831bb5e..ded79dd6 100644 --- a/src/main/java/dev/openfeature/sdk/exceptions/OpenFeatureError.java +++ b/src/main/java/dev/openfeature/sdk/exceptions/OpenFeatureError.java @@ -3,6 +3,7 @@ import dev.openfeature.sdk.ErrorCode; import lombok.experimental.StandardException; +@SuppressWarnings("checkstyle:MissingJavadocType") @StandardException public abstract class OpenFeatureError extends RuntimeException { private static final long serialVersionUID = 1L; diff --git a/src/main/java/dev/openfeature/sdk/exceptions/ParseError.java b/src/main/java/dev/openfeature/sdk/exceptions/ParseError.java index 3aa5ad90..ac8fca87 100644 --- a/src/main/java/dev/openfeature/sdk/exceptions/ParseError.java +++ b/src/main/java/dev/openfeature/sdk/exceptions/ParseError.java @@ -4,6 +4,9 @@ import lombok.Getter; import lombok.experimental.StandardException; +/** + * An error was encountered parsing data, such as a flag configuration. + */ @StandardException public class ParseError extends OpenFeatureError { private static final long serialVersionUID = 1L; diff --git a/src/main/java/dev/openfeature/sdk/exceptions/TargetingKeyMissingError.java b/src/main/java/dev/openfeature/sdk/exceptions/TargetingKeyMissingError.java index e1886c90..12437dc7 100644 --- a/src/main/java/dev/openfeature/sdk/exceptions/TargetingKeyMissingError.java +++ b/src/main/java/dev/openfeature/sdk/exceptions/TargetingKeyMissingError.java @@ -4,6 +4,9 @@ import lombok.Getter; import lombok.experimental.StandardException; +/** + * The provider requires a targeting key and one was not provided in the evaluation context. + */ @StandardException public class TargetingKeyMissingError extends OpenFeatureError { private static final long serialVersionUID = 1L; diff --git a/src/main/java/dev/openfeature/sdk/exceptions/TypeMismatchError.java b/src/main/java/dev/openfeature/sdk/exceptions/TypeMismatchError.java index 08ab8012..d27c6209 100644 --- a/src/main/java/dev/openfeature/sdk/exceptions/TypeMismatchError.java +++ b/src/main/java/dev/openfeature/sdk/exceptions/TypeMismatchError.java @@ -4,6 +4,9 @@ import lombok.Getter; import lombok.experimental.StandardException; +/** + * The type of the flag value does not match the expected type. + */ @StandardException public class TypeMismatchError extends OpenFeatureError { private static final long serialVersionUID = 1L; diff --git a/src/main/java/dev/openfeature/sdk/exceptions/ValueNotConvertableError.java b/src/main/java/dev/openfeature/sdk/exceptions/ValueNotConvertableError.java index 443bea76..a681b5ef 100644 --- a/src/main/java/dev/openfeature/sdk/exceptions/ValueNotConvertableError.java +++ b/src/main/java/dev/openfeature/sdk/exceptions/ValueNotConvertableError.java @@ -4,6 +4,9 @@ import lombok.Getter; import lombok.experimental.StandardException; +/** + * The value can not be converted to a {@link dev.openfeature.sdk.Value}. + */ @StandardException public class ValueNotConvertableError extends OpenFeatureError { private static final long serialVersionUID = 1L; diff --git a/src/main/java/dev/openfeature/sdk/internal/AutoCloseableLock.java b/src/main/java/dev/openfeature/sdk/internal/AutoCloseableLock.java index 41fb5dc9..bf2f3042 100644 --- a/src/main/java/dev/openfeature/sdk/internal/AutoCloseableLock.java +++ b/src/main/java/dev/openfeature/sdk/internal/AutoCloseableLock.java @@ -1,5 +1,6 @@ package dev.openfeature.sdk.internal; +@SuppressWarnings("checkstyle:MissingJavadocType") public interface AutoCloseableLock extends AutoCloseable { /** diff --git a/src/main/java/dev/openfeature/sdk/internal/ObjectUtils.java b/src/main/java/dev/openfeature/sdk/internal/ObjectUtils.java index 2318bdc4..ff16422e 100644 --- a/src/main/java/dev/openfeature/sdk/internal/ObjectUtils.java +++ b/src/main/java/dev/openfeature/sdk/internal/ObjectUtils.java @@ -1,11 +1,15 @@ package dev.openfeature.sdk.internal; -import java.util.*; +import java.util.Arrays; +import java.util.Collection; +import java.util.List; +import java.util.Map; import java.util.function.Supplier; import java.util.stream.Collectors; import lombok.experimental.UtilityClass; +@SuppressWarnings("checkstyle:MissingJavadocType") @UtilityClass public class ObjectUtils { From 72fe979cfbbc01f2efc0445a0f59a4a9387dc2d4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 23 Nov 2022 14:23:28 -0500 Subject: [PATCH 15/26] chore(deps): update google-github-actions/release-please-action digest to ed61e76 (#183) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 45a65715..603c2037 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: # Release-please creates a PR that tracks all changes steps: - - uses: google-github-actions/release-please-action@44c30b36230f7335e5da53e297d931807ccea116 + - uses: google-github-actions/release-please-action@ed61e76296090fba410e2a73f43463f717504028 id: release with: command: manifest From c3e2de779c07735f8b0acaf79fa70bb9f5c56d74 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 23 Nov 2022 19:29:53 +0000 Subject: [PATCH 16/26] chore(deps): update actions/setup-java digest to de1bb2b (#153) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/merge.yml | 2 +- .github/workflows/pullrequest.yml | 2 +- .github/workflows/release.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index 2cdd9f6e..8ce30a92 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -22,7 +22,7 @@ jobs: steps: - uses: actions/checkout@bf085276cecdb0cc76fbbe0687a5a0e786646936 - name: Set up JDK 8 - uses: actions/setup-java@3617c43588448d532250f5c331dffcca90e398f1 + uses: actions/setup-java@19eeec562b37d29a1ad055b7de9c280bd0906d8d with: java-version: '8' distribution: 'temurin' diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml index 9904c2c2..553189b3 100644 --- a/.github/workflows/pullrequest.yml +++ b/.github/workflows/pullrequest.yml @@ -19,7 +19,7 @@ jobs: uses: actions/checkout@bf085276cecdb0cc76fbbe0687a5a0e786646936 - name: Set up JDK 8 - uses: actions/setup-java@3617c43588448d532250f5c331dffcca90e398f1 + uses: actions/setup-java@19eeec562b37d29a1ad055b7de9c280bd0906d8d with: java-version: '8' distribution: 'temurin' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 603c2037..40a0dc03 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,7 +32,7 @@ jobs: uses: actions/checkout@bf085276cecdb0cc76fbbe0687a5a0e786646936 - name: Set up JDK 8 if: ${{ steps.release.outputs.releases_created }} - uses: actions/setup-java@3617c43588448d532250f5c331dffcca90e398f1 + uses: actions/setup-java@19eeec562b37d29a1ad055b7de9c280bd0906d8d with: java-version: '8' distribution: 'temurin' From 4a437d57768965e5c0961ca9d3fe340584077e81 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 27 Nov 2022 10:26:50 -0800 Subject: [PATCH 17/26] chore(deps): update actions/cache digest to 6babf20 (#182) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/merge.yml | 2 +- .github/workflows/pullrequest.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index 8ce30a92..598136ac 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -32,7 +32,7 @@ jobs: server-password: ${{ secrets.OSSRH_PASSWORD }} - name: Cache local Maven repository - uses: actions/cache@5c79b3fd6c0e87c9444fe7b18edafe7d9ba61531 + uses: actions/cache@6babf202a422aac73d74f0f40020ca0673b0a4ba with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml index 553189b3..166fe799 100644 --- a/.github/workflows/pullrequest.yml +++ b/.github/workflows/pullrequest.yml @@ -31,7 +31,7 @@ jobs: languages: java - name: Cache local Maven repository - uses: actions/cache@5c79b3fd6c0e87c9444fe7b18edafe7d9ba61531 + uses: actions/cache@6babf202a422aac73d74f0f40020ca0673b0a4ba with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} From 17504af1b013210bd5d1167834b2237e673b9bc0 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 27 Nov 2022 19:53:19 +0000 Subject: [PATCH 18/26] chore(deps): update dependency org.mockito:mockito-core to v4.9.0 (#179) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index b3fbfedc..bd8743aa 100644 --- a/pom.xml +++ b/pom.xml @@ -66,7 +66,7 @@ org.mockito mockito-core - 4.8.1 + 4.9.0 test From b886c63a2f7ce279b587f7705650a90fa57631d9 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 27 Nov 2022 20:04:03 +0000 Subject: [PATCH 19/26] chore(deps): update github/codeql-action digest to 40542d3 (#160) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/pullrequest.yml | 4 ++-- .github/workflows/static-code-scanning.yaml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml index 166fe799..7c493456 100644 --- a/.github/workflows/pullrequest.yml +++ b/.github/workflows/pullrequest.yml @@ -26,7 +26,7 @@ jobs: cache: maven - name: Initialize CodeQL - uses: github/codeql-action/init@297ec80a468c234608046f51ee8c65da128a1e94 + uses: github/codeql-action/init@53060aa0c8f134324b2bc9c0b2a5db91dea711a0 with: languages: java @@ -51,4 +51,4 @@ jobs: verbose: true # optional (default = false) - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@297ec80a468c234608046f51ee8c65da128a1e94 + uses: github/codeql-action/analyze@53060aa0c8f134324b2bc9c0b2a5db91dea711a0 diff --git a/.github/workflows/static-code-scanning.yaml b/.github/workflows/static-code-scanning.yaml index 9c351e66..92fa9af5 100644 --- a/.github/workflows/static-code-scanning.yaml +++ b/.github/workflows/static-code-scanning.yaml @@ -33,12 +33,12 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@297ec80a468c234608046f51ee8c65da128a1e94 + uses: github/codeql-action/init@53060aa0c8f134324b2bc9c0b2a5db91dea711a0 with: languages: java - name: Autobuild - uses: github/codeql-action/autobuild@297ec80a468c234608046f51ee8c65da128a1e94 + uses: github/codeql-action/autobuild@53060aa0c8f134324b2bc9c0b2a5db91dea711a0 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@297ec80a468c234608046f51ee8c65da128a1e94 + uses: github/codeql-action/analyze@53060aa0c8f134324b2bc9c0b2a5db91dea711a0 From 1c4a821315a094a3193f4651961dac7f72a845ac Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 28 Nov 2022 00:30:46 -0800 Subject: [PATCH 20/26] chore(deps): update github/codeql-action digest to 9dac9f7 (#185) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/pullrequest.yml | 4 ++-- .github/workflows/static-code-scanning.yaml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml index 7c493456..d9fef97d 100644 --- a/.github/workflows/pullrequest.yml +++ b/.github/workflows/pullrequest.yml @@ -26,7 +26,7 @@ jobs: cache: maven - name: Initialize CodeQL - uses: github/codeql-action/init@53060aa0c8f134324b2bc9c0b2a5db91dea711a0 + uses: github/codeql-action/init@9dac9f748a23bc6702673c2ca9f5c9edff8db684 with: languages: java @@ -51,4 +51,4 @@ jobs: verbose: true # optional (default = false) - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@53060aa0c8f134324b2bc9c0b2a5db91dea711a0 + uses: github/codeql-action/analyze@9dac9f748a23bc6702673c2ca9f5c9edff8db684 diff --git a/.github/workflows/static-code-scanning.yaml b/.github/workflows/static-code-scanning.yaml index 92fa9af5..d315c28b 100644 --- a/.github/workflows/static-code-scanning.yaml +++ b/.github/workflows/static-code-scanning.yaml @@ -33,12 +33,12 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@53060aa0c8f134324b2bc9c0b2a5db91dea711a0 + uses: github/codeql-action/init@9dac9f748a23bc6702673c2ca9f5c9edff8db684 with: languages: java - name: Autobuild - uses: github/codeql-action/autobuild@53060aa0c8f134324b2bc9c0b2a5db91dea711a0 + uses: github/codeql-action/autobuild@9dac9f748a23bc6702673c2ca9f5c9edff8db684 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@53060aa0c8f134324b2bc9c0b2a5db91dea711a0 + uses: github/codeql-action/analyze@9dac9f748a23bc6702673c2ca9f5c9edff8db684 From 60d2cbbc140e76438bb655dad111de7f5facfad3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 28 Nov 2022 14:53:49 -0500 Subject: [PATCH 21/26] chore(deps): update dependency dev.openfeature.contrib.providers:flagd to v0.5.2 (#181) * chore(deps): update dependency dev.openfeature.contrib.providers:flagd to v0.5.2 * chore: relax gRPC deadline in integration test Signed-off-by: Todd Baert Signed-off-by: Todd Baert Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Todd Baert --- pom.xml | 2 +- .../java/dev/openfeature/sdk/integration/StepDefinitions.java | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index bd8743aa..a5517f68 100644 --- a/pom.xml +++ b/pom.xml @@ -141,7 +141,7 @@ dev.openfeature.contrib.providers flagd - 0.5.0 + 0.5.3 test diff --git a/src/test/java/dev/openfeature/sdk/integration/StepDefinitions.java b/src/test/java/dev/openfeature/sdk/integration/StepDefinitions.java index 892dc34f..10d72c09 100644 --- a/src/test/java/dev/openfeature/sdk/integration/StepDefinitions.java +++ b/src/test/java/dev/openfeature/sdk/integration/StepDefinitions.java @@ -45,7 +45,9 @@ public class StepDefinitions { @BeforeAll() public static void setup() { - OpenFeatureAPI.getInstance().setProvider(new FlagdProvider()); + FlagdProvider provider = new FlagdProvider(); + provider.setDeadline(3000); // set a generous deadline, to prevent timeouts in actions + OpenFeatureAPI.getInstance().setProvider(provider); client = OpenFeatureAPI.getInstance().getClient(); } From ba78048ae3789b8fefa2f748ca46acb77dad8b67 Mon Sep 17 00:00:00 2001 From: Justin Abrahms Date: Tue, 29 Nov 2022 00:06:27 -0800 Subject: [PATCH 22/26] chore: The language is jvm, not java. (#184) The language is jvm, not java. Signed-off-by: Justin Abrahms Signed-off-by: Justin Abrahms --- .github/workflows/cflite_batch.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cflite_batch.yml b/.github/workflows/cflite_batch.yml index 42163f61..bbbdd231 100644 --- a/.github/workflows/cflite_batch.yml +++ b/.github/workflows/cflite_batch.yml @@ -26,7 +26,7 @@ jobs: id: build uses: google/clusterfuzzlite/actions/build_fuzzers@v1 with: - language: java + language: jvm sanitizer: ${{ matrix.sanitizer }} - name: Run Fuzzers (${{ matrix.sanitizer }}) id: run From 37091bd03d58731ab6c1aa9794037b3d5398c6eb Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 29 Nov 2022 14:17:53 -0800 Subject: [PATCH 23/26] chore(deps): update github/codeql-action digest to 160613c (#187) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/pullrequest.yml | 4 ++-- .github/workflows/static-code-scanning.yaml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml index d9fef97d..f8744437 100644 --- a/.github/workflows/pullrequest.yml +++ b/.github/workflows/pullrequest.yml @@ -26,7 +26,7 @@ jobs: cache: maven - name: Initialize CodeQL - uses: github/codeql-action/init@9dac9f748a23bc6702673c2ca9f5c9edff8db684 + uses: github/codeql-action/init@160613c380ece8936349330e7b7b51ba4ea53698 with: languages: java @@ -51,4 +51,4 @@ jobs: verbose: true # optional (default = false) - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@9dac9f748a23bc6702673c2ca9f5c9edff8db684 + uses: github/codeql-action/analyze@160613c380ece8936349330e7b7b51ba4ea53698 diff --git a/.github/workflows/static-code-scanning.yaml b/.github/workflows/static-code-scanning.yaml index d315c28b..7f4706b0 100644 --- a/.github/workflows/static-code-scanning.yaml +++ b/.github/workflows/static-code-scanning.yaml @@ -33,12 +33,12 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@9dac9f748a23bc6702673c2ca9f5c9edff8db684 + uses: github/codeql-action/init@160613c380ece8936349330e7b7b51ba4ea53698 with: languages: java - name: Autobuild - uses: github/codeql-action/autobuild@9dac9f748a23bc6702673c2ca9f5c9edff8db684 + uses: github/codeql-action/autobuild@160613c380ece8936349330e7b7b51ba4ea53698 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@9dac9f748a23bc6702673c2ca9f5c9edff8db684 + uses: github/codeql-action/analyze@160613c380ece8936349330e7b7b51ba4ea53698 From 50480746250470cb9428d1d7e4fff471e173b1fd Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 30 Nov 2022 09:18:28 -0800 Subject: [PATCH 24/26] chore(deps): update actions/cache digest to e2d6144 (#186) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/merge.yml | 2 +- .github/workflows/pullrequest.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index 598136ac..d300c6da 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -32,7 +32,7 @@ jobs: server-password: ${{ secrets.OSSRH_PASSWORD }} - name: Cache local Maven repository - uses: actions/cache@6babf202a422aac73d74f0f40020ca0673b0a4ba + uses: actions/cache@e2d614414f9efb4e3358bd4f3092a6406b2e4a32 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml index f8744437..9f99a49b 100644 --- a/.github/workflows/pullrequest.yml +++ b/.github/workflows/pullrequest.yml @@ -31,7 +31,7 @@ jobs: languages: java - name: Cache local Maven repository - uses: actions/cache@6babf202a422aac73d74f0f40020ca0673b0a4ba + uses: actions/cache@e2d614414f9efb4e3358bd4f3092a6406b2e4a32 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} From 519f92e2c7e5a90fe42da235de21e577dbc973c8 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 30 Nov 2022 09:39:10 -0800 Subject: [PATCH 25/26] chore(deps): update github/codeql-action digest to a631f4b (#189) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/pullrequest.yml | 4 ++-- .github/workflows/static-code-scanning.yaml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml index 9f99a49b..02721d0e 100644 --- a/.github/workflows/pullrequest.yml +++ b/.github/workflows/pullrequest.yml @@ -26,7 +26,7 @@ jobs: cache: maven - name: Initialize CodeQL - uses: github/codeql-action/init@160613c380ece8936349330e7b7b51ba4ea53698 + uses: github/codeql-action/init@a631f4b0160a57d549a79d3bd5c377cefdd8518f with: languages: java @@ -51,4 +51,4 @@ jobs: verbose: true # optional (default = false) - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@160613c380ece8936349330e7b7b51ba4ea53698 + uses: github/codeql-action/analyze@a631f4b0160a57d549a79d3bd5c377cefdd8518f diff --git a/.github/workflows/static-code-scanning.yaml b/.github/workflows/static-code-scanning.yaml index 7f4706b0..b584ae49 100644 --- a/.github/workflows/static-code-scanning.yaml +++ b/.github/workflows/static-code-scanning.yaml @@ -33,12 +33,12 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@160613c380ece8936349330e7b7b51ba4ea53698 + uses: github/codeql-action/init@a631f4b0160a57d549a79d3bd5c377cefdd8518f with: languages: java - name: Autobuild - uses: github/codeql-action/autobuild@160613c380ece8936349330e7b7b51ba4ea53698 + uses: github/codeql-action/autobuild@a631f4b0160a57d549a79d3bd5c377cefdd8518f - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@160613c380ece8936349330e7b7b51ba4ea53698 + uses: github/codeql-action/analyze@a631f4b0160a57d549a79d3bd5c377cefdd8518f From 51a38c64d43bcb55d9fe8a83183b79ff9e16b854 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 30 Nov 2022 17:45:52 +0000 Subject: [PATCH 26/26] chore(main): release 1.0.1 (#174) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ README.md | 4 ++-- pom.xml | 2 +- version.txt | 2 +- 5 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 0878d456..0b8585c7 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1 +1 @@ -{".":"1.0.0"} \ No newline at end of file +{".":"1.0.1"} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 88757015..3a1e0aec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## [1.0.1](https://github.com/open-feature/java-sdk/compare/v1.0.0...v1.0.1) (2022-11-30) + + +### Bug Fixes + +* **deps:** Spot bug scope change ([#173](https://github.com/open-feature/java-sdk/issues/173)) ([113b5e5](https://github.com/open-feature/java-sdk/commit/113b5e5f2ed8b72e5c23dedbf8d13d0fd4d4f878)) +* **deps:** update dependency io.cucumber:cucumber-bom to v7.9.0 ([#172](https://github.com/open-feature/java-sdk/issues/172)) ([fcc8972](https://github.com/open-feature/java-sdk/commit/fcc8972022dd78fcdf5311373a8b8ad238368baa)) + ## [1.0.0](https://github.com/open-feature/java-sdk/compare/v0.3.1...v1.0.0) (2022-10-25) diff --git a/README.md b/README.md index 91145311..dae9848b 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ For complete documentation, visit: https://docs.openfeature.dev/docs/category/co dev.openfeature sdk - 1.0.0 + 1.0.1 ``` @@ -92,7 +92,7 @@ If you would like snapshot builds, this is the relevant repository information: ```groovy dependencies { - implementation 'dev.openfeature:sdk:1.0.0' + implementation 'dev.openfeature:sdk:1.0.1' } ``` diff --git a/pom.xml b/pom.xml index a5517f68..d7f878e2 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ dev.openfeature sdk - 1.0.0 + 1.0.1 UTF-8 diff --git a/version.txt b/version.txt index 3eefcb9d..7dea76ed 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.0.0 +1.0.1