Commit Graph

87 Commits

Author SHA1 Message Date
renovate[bot] 4e7b0e56d2
chore(deps): update pre-commit hook pre-commit/pre-commit-hooks to v5 (#129)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-22 23:47:27 +01:00
renovate[bot] d92e8c6635
chore(deps): update python docker tag to v3.13 (#127)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-22 22:30:07 +00:00
renovate[bot] 4e75a36646
chore(deps): update dependency grpcio-health-checking to v1.68.1 (#125)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-22 20:25:09 +00:00
renovate[bot] 8ac7ab784e
chore(deps): update codecov/codecov-action action to v4.6.0 (#124)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-22 17:29:49 +01:00
Anton Grübel 0b749b5dc8
ci: add renovate config (#123)
add renovate config

Signed-off-by: gruebel <anton.gruebel@gmail.com>
2024-12-22 17:24:17 +01:00
Simon Schrottner 3c3e9c86e7
feat(flagd): use test-harness version number for integration tests (#120)
* feat(flagd): use test-harness version number for integration tests

Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>

* fixup: migrating to pathlib

Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>

---------

Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>
2024-12-18 07:38:46 +01:00
Simon Schrottner 41d0ad8b6a
feat(flagd-rpc): adding grace attempts (#117)
* feat(flagd-rpc): add caching with tests

Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>
2024-12-12 08:12:24 -05:00
Simon Schrottner 16179e3e68
feat(flagd-rpc): add caching (#110)
add caching with tests

---

Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>
2024-12-06 09:47:34 -05:00
Simon Schrottner b62d3d1ab5
feat(flagd-rpc)!: add events for rpc mode, some breaking config fixes (#108)
* build(flagd): auto generate proto files from schema

Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>

* fixup: changing to mypy-protobuf

Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>

* fixup: changing to mypy-protobuf

Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>

* Update providers/openfeature-provider-flagd/src/openfeature/contrib/provider/flagd/resolvers/grpc.py

Co-authored-by: Todd Baert <todd.baert@dynatrace.com>
Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>

* Apply suggestions from code review

Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>

* Update providers/openfeature-provider-flagd/src/openfeature/contrib/provider/flagd/provider.py

Co-authored-by: Anton Grübel <anton.gruebel@gmail.com>
Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>

---------

Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>
Co-authored-by: Todd Baert <todd.baert@dynatrace.com>
Co-authored-by: Anton Grübel <anton.gruebel@gmail.com>
2024-11-28 10:20:31 -05:00
Anton Grübel 61e42e7bcf
build: setup mypy for each package independently (#116)
setup mypy for each package independently

Signed-off-by: gruebel <anton.gruebel@gmail.com>
2024-11-28 00:06:18 +01:00
Simon Schrottner 5adc68af00
build: readd build for the main branch(#113) (#114)
Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>
Co-authored-by: Todd Baert <todd.baert@dynatrace.com>
2024-11-27 14:36:46 +01:00
Anton Grübel 62cda8e5f8
build: auto generate proto files from schema (#115)
build(flagd): auto generate proto files from schema

Signed-off-by: gruebel <anton.gruebel@gmail.com>
Co-authored-by: Simon Schrottner <simon.schrottner@dynatrace.com>
2024-11-27 08:29:26 -05:00
Todd Baert c16883eb06
chore: update test config
Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
2024-11-25 14:03:10 -05:00
Simon Schrottner 93fee8593c
fix(flagd): fix semver version parsing to allow "v" prefix(#106) (#107)
* fix(flagd): fix semver version parsing to allow "v" prefix(#106)

Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>

* Update providers/openfeature-provider-flagd/src/openfeature/contrib/provider/flagd/resolvers/process/custom_ops.py

Co-authored-by: Anton Grübel <anton.gruebel@gmail.com>
Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>

---------

Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>
Co-authored-by: Anton Grübel <anton.gruebel@gmail.com>
2024-11-22 17:14:08 +01:00
Michael Beemer 038a343e50
ci: change to single quotes
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2024-11-21 14:18:44 -05:00
Michael Beemer 2cfcb83e95
ci: fix fromJSON input
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2024-11-21 14:17:53 -05:00
Michael Beemer 6ea99b5fe6
ci: prevent undefined from being passed to fromJSON
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2024-11-21 13:39:26 -05:00
Simon Schrottner eb31b83246
fix(flagd): improve targeting and fix fractional issue(#92) (#105)
Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>
2024-11-21 09:11:42 -05:00
Simon Schrottner ca76802420
fix: object resolution for RPC and Object types, add test-harness. (#103)
fix: object resolution for RPC and Object types, add test-harness

Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>
2024-11-19 07:53:55 -05:00
Simon Schrottner d936a47b17
test: Add Testcontainers and Gherkin execution for our test-harness (#101)
* feat: Add Testcontainers and Gherkin execution for our test-harness

Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>

* fixup: make tests run, only 4 tests are missing now

Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>

* fixup: adding gherkin tests for in-process via file

Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>

* fixup: deactivating the tests

Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>

* fixup: renaming FlagD to Flagd

Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>

---------

Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>
2024-11-18 12:28:42 -05:00
Anton Grübel a17c0e7289
chore: add Python 3.13 support (#95)
* add Python 3.13 support

Signed-off-by: gruebel <anton.gruebel@gmail.com>

* Update .github/workflows/build.yml

Co-authored-by: Michael Beemer <beeme1mr@users.noreply.github.com>
Signed-off-by: Federico Bond <federicobond@gmail.com>

---------

Signed-off-by: gruebel <anton.gruebel@gmail.com>
Signed-off-by: Federico Bond <federicobond@gmail.com>
Co-authored-by: Federico Bond <federicobond@gmail.com>
Co-authored-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2024-10-21 16:49:52 +02:00
Federico Bond adb8a69d9e
refactor: replace typing_extensions import (#98)
Signed-off-by: Federico Bond <federicobond@gmail.com>
2024-10-21 10:27:31 -03:00
Anton Grübel 430bac63c6
chore: switch buf action to new one (#96)
Signed-off-by: gruebel <anton.gruebel@gmail.com>
2024-10-03 07:58:09 -04:00
github-actions[bot] af174cadd2
chore(main): release openfeature-provider-ofrep 0.1.0 (#87)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-02 17:02:03 -04:00
Federico Bond cb42cc0001
feat: implement basic functionality of OFREP provider (#88)
Signed-off-by: Federico Bond <federicobond@gmail.com>
2024-10-02 16:56:34 -04:00
Anton Grübel 3327c8e2bc
chore: update pre-commit hooks (#94)
update pre-commit hooks

Signed-off-by: gruebel <anton.gruebel@gmail.com>
2024-09-02 17:45:33 +10:00
Simon Schrottner 7b34822afd
feat: Change fractional custom op from percentage-based to relative weighting. (#91)
Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>
2024-07-23 13:08:07 -04:00
Michael Beemer 0f5b0ca501
ci: restrict codecov to a single python version (#93)
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2024-07-11 16:51:37 -04:00
Anton Grübel 6af48e9fc4
ci: update release please to new GHA (#90)
Signed-off-by: gruebel <anton.gruebel@gmail.com>
2024-06-10 14:38:11 -04:00
Federico Bond 00a5a18a76
feat: add initial skeleton for OFREP provider (#86)
Signed-off-by: Federico Bond <federicobond@gmail.com>
2024-05-03 00:27:34 +10:00
Federico Bond a23f61e1c1
fix: remove modifications to license files (#81) 2024-04-23 06:02:19 +10:00
github-actions[bot] 5bcaaa20da
chore(main): release openfeature-provider-flagd 0.1.5 (#77)
Signed-off-by: OpenFeature Bot <109696520+openfeaturebot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2024-04-11 15:43:47 -04:00
Michael Beemer 689951331a
docs: remove experimental badge (#78)
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2024-04-11 14:56:39 -04:00
Cole Bailey 8cea5066ee
feat: in-process offline flagd resolver (#74)
Signed-off-by: Cole Bailey <cole.bailey@deliveryhero.com>
Co-authored-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2024-04-11 12:33:33 -04:00
Michael Beemer 3e5f8505f7
ci: upgrade codecov (#76)
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2024-04-11 12:27:42 -04:00
github-actions[bot] 6ac5db3d35
chore(main): release openfeature-provider-flagd 0.1.4 (#52)
Signed-off-by: OpenFeature Bot <109696520+openfeaturebot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-26 21:41:15 +11:00
Federico Bond 24260fb519
fix: fix types for hints in OTel TracingHook (#73)
Signed-off-by: Federico Bond <federicobond@gmail.com>
2024-03-26 07:43:42 +01:00
Anton Grübel b405925504
refactor: add mypy and fix typing issues (#72)
* add mypy and fix typing issues

Signed-off-by: gruebel <anton.gruebel@gmail.com>

* imrpove callable typing

Signed-off-by: gruebel <anton.gruebel@gmail.com>

---------

Signed-off-by: gruebel <anton.gruebel@gmail.com>
2024-03-21 14:45:04 +11:00
Anton Grübel 9411d0f578
chore: update ruff (#70)
Signed-off-by: gruebel <anton.gruebel@gmail.com>
2024-03-19 14:28:24 +11:00
github-actions[bot] 46ca72634a
chore(main): release openfeature-hooks-opentelemetry 0.1.3 (#69)
Signed-off-by: OpenFeature Bot <109696520+openfeaturebot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-18 08:54:43 +11:00
Federico Bond 8f26275a15
docs: fix add_hooks call in otel hooks README (#68)
Signed-off-by: Federico Bond <federicobond@gmail.com>
2024-03-17 20:17:09 +11:00
github-actions[bot] 79b53a9534
chore(main): release openfeature-hooks-opentelemetry 0.1.2 (#66)
Signed-off-by: OpenFeature Bot <109696520+openfeaturebot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-14 09:08:45 +11:00
Federico Bond 689662b59a
docs: update OTel hook readme with correct import paths (#65)
* docs: update OTel hook readme with correct import paths

Signed-off-by: Federico Bond <federicobond@gmail.com>

* docs: add missing references to readme

Signed-off-by: Federico Bond <federicobond@gmail.com>

---------

Signed-off-by: Federico Bond <federicobond@gmail.com>
2024-03-14 08:29:00 +11:00
github-actions[bot] 130d5c3485
chore(main): release openfeature-hooks-opentelemetry 0.1.1 (#53)
Signed-off-by: OpenFeature Bot <109696520+openfeaturebot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-13 12:49:30 +11:00
Federico Bond 707565669c
refactor: move OTel hooks to openfeature.contrib.hook (#64)
Signed-off-by: Federico Bond <federicobond@gmail.com>
2024-03-11 13:30:16 +11:00
Federico Bond a8b78b28fe
feat: implement environment-variable based config (#62)
Signed-off-by: Federico Bond <federicobond@gmail.com>
2024-03-11 12:08:52 +11:00
Federico Bond 7a7210f6f6
feat: replace schema with tls argument in FlagdProvider constructor (#61)
Signed-off-by: Federico Bond <federicobond@gmail.com>
2024-02-24 11:30:28 -03:00
Federico Bond 0149cf7ced
fix: respect timeout setting in grpc method calls (#60)
Signed-off-by: Federico Bond <federicobond@gmail.com>
2024-02-23 21:30:36 -03:00
Federico Bond 6508234486
fix: return proper metadata object in FlagdProvider (#59)
Signed-off-by: Federico Bond <federicobond@gmail.com>
2024-02-23 21:27:20 -03:00
Federico Bond ddd79a49b7
fix: include targetingKey in flagd serialized evaluation context (#58)
Signed-off-by: Federico Bond <federicobond@gmail.com>
2024-02-23 21:23:48 -03:00