Commit Graph

298 Commits

Author SHA1 Message Date
Todd Baert 5da918205b
chore: re-enable integration tests (#146)
Update test harness and re-enable integration test profile
2022-10-13 12:55:03 -04:00
github-actions[bot] d7fabaf003
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 <jabrahms@ebay.com>
2022-10-13 06:03:51 +00:00
renovate[bot] 118fe7dec2
chore(deps): update actions/checkout digest to 8230315 (#122)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-12 21:31:19 -07:00
renovate[bot] a33030c545
chore(deps): update github/codeql-action digest to 44edb7c (#133)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-12 21:21:04 -07:00
renovate[bot] 125b9c1bde
chore(deps): update amannn/action-semantic-pull-request digest to 7c194c2 (#144)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-12 10:04:50 -04:00
Justin Abrahms 60341ff163
chore: Remove dependabot. I like renovate better (#142) 2022-10-12 13:30:33 +00:00
renovate[bot] b063a621ab
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 <jabrahms@ebay.com>
2022-10-12 06:00:04 +00:00
renovate[bot] 90f569991b
chore(deps): update actions/setup-java digest to 3617c43 (#132)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-11 22:51:30 -07:00
Todd Baert 2192932863
feat!: add rw locks to client/api, hook accessor name (#131)
* fix: add read/write locks to client/api

Signed-off-by: Todd Baert <toddbaert@gmail.com>

* dont lock entire evaluation

Signed-off-by: Todd Baert <toddbaert@gmail.com>

* add tests

Signed-off-by: Todd Baert <toddbaert@gmail.com>

* fixup comment

Signed-off-by: Todd Baert <toddbaert@gmail.com>

* fixup pom comment

Signed-off-by: Todd Baert <toddbaert@gmail.com>

* increase lock granularity, imporove tests

Signed-off-by: Todd Baert <toddbaert@gmail.com>

* fix spotbugs

Signed-off-by: Todd Baert <toddbaert@gmail.com>

* remove commented test

Signed-off-by: Todd Baert <toddbaert@gmail.com>

Signed-off-by: Todd Baert <toddbaert@gmail.com>
2022-10-11 22:43:50 +00:00
renovate[bot] 71a5699f18
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>
2022-10-11 15:09:32 -07:00
Michael Beemer e04de2ae46
chore: exclude component in git tag (#143)
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>

Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2022-10-11 11:46:37 -07:00
dependabot[bot] 64a9affa92
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] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Justin Abrahms <jabrahms@ebay.com>
2022-10-10 19:12:18 +00:00
dependabot[bot] 348e3ebb96
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](e150063ee4...a82e6d0020)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-10 12:09:19 -07:00
dependabot[bot] bb36557f52
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](2541b1294d...93ea575cb5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-10 06:59:40 -07:00
renovate[bot] 5fb7c1f8be
chore(deps): update codecov/codecov-action digest to e0fbd59 (#126)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-10 06:50:25 -07:00
renovate[bot] 64ec731068
chore(deps): update github/codeql-action digest to 3d39294 (#127)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-07 10:23:44 +00:00
renovate[bot] b8a0850e10
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>
2022-10-07 03:20:13 -07:00
Justin Abrahms da7a662334
chore: Remove more perms (#130) 2022-10-06 21:54:15 -04:00
renovate[bot] ce89ecf1e7
chore(deps): update actions/setup-java digest to e150063 (#125)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-06 21:02:36 +00:00
renovate[bot] e7ba3f65e8
chore(deps): update actions/cache digest to a3f5edc (#121)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-06 13:59:08 -07:00
Justin Abrahms 2c0190793f
chore: Document where to find our SBOMs (#124) 2022-10-06 16:33:11 -04:00
Justin Abrahms e52fe0bae5
chore: I don't think we use that permission? (#123)
I don't think we use that permission?

Signed-off-by: Justin Abrahms <jabrahms@ebay.com>
2022-10-06 15:01:55 -04:00
Step Security Bot 73cc784491
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
2022-10-06 09:29:47 -07:00
Justin Abrahms 9647c3f04d
feat: Support for generating CycloneDX sboms (#119)
Signed-off-by: Justin Abrahms <justin@abrah.ms>
2022-10-06 14:31:35 +00:00
Todd Baert e9732b582d
feat!: use evaluation context interface (#112)
* POC - use evaluation context interface

Signed-off-by: Todd Baert <toddbaert@gmail.com>

* make .merge non-static

Signed-off-by: Todd Baert <toddbaert@gmail.com>

* improve naming

Signed-off-by: Todd Baert <toddbaert@gmail.com>

* add @override

Signed-off-by: Todd Baert <toddbaert@gmail.com>

* Update src/main/java/dev/openfeature/sdk/EvaluationContext.java

Co-authored-by: Justin Abrahms <jabrahms@ebay.com>
Signed-off-by: Todd Baert <toddbaert@gmail.com>

* Update src/main/java/dev/openfeature/sdk/MutableContext.java

Co-authored-by: Justin Abrahms <jabrahms@ebay.com>
Signed-off-by: Todd Baert <toddbaert@gmail.com>

* address PR feedback

Signed-off-by: Todd Baert <toddbaert@gmail.com>

Signed-off-by: Todd Baert <toddbaert@gmail.com>
Co-authored-by: Justin Abrahms <jabrahms@ebay.com>
2022-10-06 05:32:29 +00:00
Justin Abrahms 3788a3be8e
chore: add SAST scanning (#108)
* add SAST scanning

Refs #84

Signed-off-by: Justin Abrahms <justin@abrah.ms>

* Java scanning only

Signed-off-by: Justin Abrahms <justin@abrah.ms>

* Try codeql on the normal build to see how much longer it is.

Signed-off-by: Justin Abrahms <justin@abrah.ms>

Signed-off-by: Justin Abrahms <justin@abrah.ms>
2022-10-05 22:06:47 -04:00
dependabot[bot] faca91764f
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] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-05 15:37:45 -04:00
Todd Baert f245ef5e95
chore: fix dependabot pr titles (#118)
Signed-off-by: Todd Baert <toddbaert@gmail.com>

Signed-off-by: Todd Baert <toddbaert@gmail.com>
2022-10-05 12:09:08 -07:00
Justin Abrahms 29f32939f8
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 <justin@abrah.ms>

* Move write permissions to the specific job, rather than globally

Signed-off-by: Justin Abrahms <justin@abrah.ms>

* Run code scanning (slow auto-build) weekly

Signed-off-by: Justin Abrahms <justin@abrah.ms>

Signed-off-by: Justin Abrahms <justin@abrah.ms>
2022-10-05 15:02:59 -04:00
Justin Abrahms 6eeeddd2ea
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 <justin@abrah.ms>

* Missed 2 strings

Signed-off-by: Justin Abrahms <justin@abrah.ms>

* remove broken flagd import until changes absorbed

Signed-off-by: Todd Baert <toddbaert@gmail.com>

Signed-off-by: Justin Abrahms <justin@abrah.ms>
Signed-off-by: Todd Baert <toddbaert@gmail.com>
Co-authored-by: Todd Baert <toddbaert@gmail.com>
2022-10-05 11:46:04 -07:00
renovate[bot] 715fd032cf
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 <jabrahms@ebay.com>

* scope wasn't deleted on the other one

Signed-off-by: Justin Abrahms <jabrahms@ebay.com>

Signed-off-by: Justin Abrahms <jabrahms@ebay.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Justin Abrahms <jabrahms@ebay.com>
2022-10-01 21:40:12 -07:00
renovate[bot] a79ae45a4a
chore(deps): update actions/cache action to v3 (#101)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-01 21:11:09 -07:00
renovate[bot] 26a14ab2d4
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>
2022-10-01 20:58:59 -07:00
renovate[bot] 819a98defb
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>
2022-10-01 20:47:44 -07:00
renovate[bot] 40c521913a
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>
2022-10-01 19:52:18 -07:00
renovate[bot] ba1c528fca
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>
2022-10-01 19:50:45 -07:00
renovate[bot] 5f850fa3d8
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 <jabrahms@ebay.com>
2022-10-01 22:28:51 +00:00
renovate[bot] 6a7012ec3f
chore(deps): update codecov/codecov-action action to v3 (#102)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-01 15:27:22 -07:00
renovate[bot] 3d1a2337b6
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>
2022-10-01 14:28:47 -07:00
renovate[bot] 5e96d140c1
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>
2022-10-01 14:01:13 -07:00
renovate[bot] 2579fc6a80
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>
2022-10-01 15:43:54 +00:00
renovate[bot] 8ca655a788
fix(deps): update junit5 monorepo (#92)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-01 08:42:05 -07:00
renovate[bot] 7556d5278d
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>
2022-10-01 05:57:00 +00:00
renovate[bot] 7bd7815d30
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>
2022-09-30 22:55:20 -07:00
renovate[bot] c4210f1607
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>
2022-10-01 05:49:51 +00:00
renovate[bot] 0be28a007b
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>
2022-09-30 22:48:17 -07:00
renovate[bot] 475f3c02c1
chore: Configure Renovate (#86)
chore(deps): add renovate.json

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-01 02:38:43 +00:00
Justin Abrahms da788c2a51
chore: add CODEOWNERS (#85)
Create CODEOWNERS

refs https://github.com/open-feature/java-sdk/issues/83

Signed-off-by: Justin Abrahms <jabrahms@ebay.com>

Signed-off-by: Justin Abrahms <jabrahms@ebay.com>
2022-09-30 19:35:33 -07:00
Todd Baert 84f220d813
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
2022-09-30 12:41:48 -04:00
github-actions[bot] e108666a27
chore(main): release dev.openfeature.javasdk 0.2.2 (#76)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-23 09:35:31 -04:00