Commit Graph

539 Commits

Author SHA1 Message Date
Todd Baert f9e9a55ad5
feat!: migrate to sdk 0.5.0 (#114)
* feat!: migrate to sdk 0.5.0
2022-10-03 11:49:14 -04:00
github-actions[bot] 9af8e1c3e8
chore: release main (#111)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-22 07:26:32 -04:00
Todd Baert ea05b49309
fix: improved errors, handle undefined context props (#110)
Signed-off-by: Todd Baert <toddbaert@gmail.com>

Signed-off-by: Todd Baert <toddbaert@gmail.com>
2022-09-22 07:25:13 -04:00
github-actions[bot] 31f81e72c8
chore: release main (#103)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-20 16:05:53 -04:00
Todd Baert 2558d8025a
chore: change node -> js in readmes (#109)
change node -> js in readmes

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

Signed-off-by: Todd Baert <toddbaert@gmail.com>
2022-09-20 16:03:35 -04:00
Michael Beemer fcc360bffa
feat!: add support for environment variables (#107)
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
Co-authored-by: Todd Baert <toddbaert@gmail.com>
2022-09-20 15:51:02 -04:00
Todd Baert 60d6146e30
feat!: update to js-sdk (#108)
* feat!: update to js-sdk

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

* update provider template with JsonValue

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

Signed-off-by: Todd Baert <toddbaert@gmail.com>
2022-09-20 15:41:06 -04:00
Michael Beemer 326e65ad1e
feat: add Unix socket support (#97)
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2022-09-16 11:00:45 -04:00
Todd Baert d6db366a6e
fix!: Fix object parsing, remove HTTP (#102)
* fix: Fix object parsing

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

* JsonValue => JsonObject

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

* Handle undefined value

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

* Remove catch blocks and defaults from service

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

Signed-off-by: Todd Baert <toddbaert@gmail.com>
2022-09-13 11:49:31 -04:00
github-actions[bot] 3bc87990f3
chore: release main (#94)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-15 14:44:01 -04:00
Michael Beemer a733102f52
fix!: set openfeature sdk min version to 0.2.0 (#93)
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>

Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2022-08-15 13:01:53 -04:00
Michael Beemer 42adc7881f
refactor: update go feature flag provider to use not deprecated context transformer (#92)
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2022-08-15 11:09:45 -04:00
github-actions[bot] 31d1938257
chore: release main (#89)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2022-08-09 14:11:28 -04:00
Michael Beemer 9e26840650
feat: change flagD default port to 8013 (#85)
Signed-off-by: Michael Beemer <michael.beemer@dynatrace.com>
2022-08-09 14:05:13 -04:00
Michael Beemer 9f871f1880
feat: update flagd provider to use float api (#87)
* update flagd provider to use float api
* commented on why a float was used

Signed-off-by: Michael Beemer <michael.beemer@dynatrace.com>
2022-08-09 13:51:12 -04:00
github-actions[bot] 0f59d72c92
chore: release main (#81)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-07-29 10:42:25 -04:00
Michael Beemer f55bc20362
fix: Add buf dependency to release process (#80)
* Add buf to release please

Signed-off-by: Michael Beemer <michael.beemer@dynatrace.com>

* add buf dependency note

Signed-off-by: Michael Beemer <michael.beemer@dynatrace.com>
2022-07-29 10:41:24 -04:00
github-actions[bot] 4cc4a521c2
chore: release main (#79)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-07-29 10:25:09 -04:00
James Milligan 9d6cb86890
feat: flagd provider (#66)
* initial commit

Signed-off-by: James-Milligan <james@omnant.co.uk>

* nx format:write

Signed-off-by: James-Milligan <james@omnant.co.uk>

* udpated nxignore to exclude generated files

Signed-off-by: James-Milligan <james@omnant.co.uk>

* fixed linting issues

Signed-off-by: James-Milligan <james@omnant.co.uk>

* typo

Signed-off-by: James-Milligan <james@omnant.co.uk>

* removed nested .vscode

Signed-off-by: James-Milligan <james@omnant.co.uk>

* added typing to axios response objects

Signed-off-by: James-Milligan <james@omnant.co.uk>

* removed proto files from version control

Signed-off-by: James-Milligan <james@omnant.co.uk>

* required commit for nx run-command

Signed-off-by: James-Milligan <james@omnant.co.uk>

* actions

Signed-off-by: James-Milligan <james@omnant.co.uk>

* dependency updates + removal of cantextTransformer method

Signed-off-by: James-Milligan <james@omnant.co.uk>

* removed forked submodule

Signed-off-by: James-Milligan <james@omnant.co.uk>

* switched to open-feature/schemas

Signed-off-by: James-Milligan <james@omnant.co.uk>

* dependency sync

Signed-off-by: James-Milligan <james@omnant.co.uk>

* merge fixes

Signed-off-by: James-Milligan <james@omnant.co.uk>

* workspace fixes

Signed-off-by: James-Milligan <james@omnant.co.uk>

* merge fixes

Signed-off-by: James-Milligan <james@omnant.co.uk>

* merge fixes

Signed-off-by: James-Milligan <james@omnant.co.uk>

* merge fixes - added go to ci

Signed-off-by: James-Milligan <james@omnant.co.uk>

* merge fixes

Signed-off-by: James-Milligan <james@omnant.co.uk>

* updated go version in github action setup

Signed-off-by: James-Milligan <james@omnant.co.uk>

* squashed commits

Signed-off-by: James-Milligan <james@omnant.co.uk>

* buf setup test => avoid using go install buf

Signed-off-by: James-Milligan <james@omnant.co.uk>

* removed go setup + removed submodule issue => error

Signed-off-by: James-Milligan <james@omnant.co.uk>

* removed go setup + removed submodule issue => error

Signed-off-by: James-Milligan <james@omnant.co.uk>

* happy path unit tests

Signed-off-by: James-Milligan <james@omnant.co.uk>

* more unit tests + fixes

Signed-off-by: James-Milligan <james@omnant.co.uk>

* set noImplicitOverride to false

Signed-off-by: James-Milligan <james@omnant.co.uk>

* errorCode consolidation

Signed-off-by: James-Milligan <james@omnant.co.uk>

* removed tslint ignores and .vscode files

Signed-off-by: James-Milligan <james@omnant.co.uk>

* package.json cleanup

Signed-off-by: James-Milligan <james@omnant.co.uk>

* Update project.json

Signed-off-by: James Milligan <75740990+james-milligan@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Michael Beemer <beeme1mr@users.noreply.github.com>
Signed-off-by: James Milligan <75740990+james-milligan@users.noreply.github.com>

* PR updates

Signed-off-by: James-Milligan <james@omnant.co.uk>

* removed makefile

Signed-off-by: James-Milligan <james@omnant.co.uk>

* replaced hardcoded errorCode and reason values with imported values from nodesdk

Signed-off-by: James-Milligan <james@omnant.co.uk>

* style updates, simplification of provider construction, README updates

Signed-off-by: James-Milligan <james@omnant.co.uk>

* removed variant value "default_value" on error/default, simplified checkResponse function

Signed-off-by: James-Milligan <james@omnant.co.uk>

* Update README.md

Signed-off-by: James Milligan <75740990+james-milligan@users.noreply.github.com>

* Update libs/providers/flagd/package.json

Co-authored-by: Thomas Poignant <thomas.poignant@gmail.com>
Signed-off-by: James Milligan <75740990+james-milligan@users.noreply.github.com>

* added encodeURI to urls in http service

Signed-off-by: James-Milligan <james@omnant.co.uk>

* Update pushlish script

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

* encodeURIComponent(flagKey) in http service

Signed-off-by: James-Milligan <james@omnant.co.uk>

* added protocol option

Signed-off-by: James-Milligan <james@omnant.co.uk>

* update README

Signed-off-by: James-Milligan <james@omnant.co.uk>

Co-authored-by: Michael Beemer <beeme1mr@users.noreply.github.com>
Co-authored-by: Thomas Poignant <thomas.poignant@gmail.com>
Co-authored-by: Todd Baert <toddbaert@gmail.com>
2022-07-27 16:07:15 -04:00
github-actions[bot] 7db7d310e0
chore: release main (#78)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-07-23 09:31:21 -04:00
Thomas Poignant 3e4ab861c1
fix: Peer dependencies error (#77)
* 0.0.1 is not released yet

Signed-off-by: Thomas Poignant <thomas.poignant@gofeatureflag.org>

* bump to version 0.1.0

Signed-off-by: Thomas Poignant <thomas.poignant@gofeatureflag.org>
2022-07-23 09:28:57 -04:00
github-actions[bot] 656a0ddb9d
chore: release main (#76)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-07-21 16:29:36 -04:00
Todd Baert abac20d29f
fix: change test name (#75)
Signed-off-by: Todd Baert <toddbaert@gmail.com>
2022-07-21 16:28:05 -04:00
github-actions[bot] 0b851755a2
chore: release main (#74)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-07-21 16:23:07 -04:00
Todd Baert 89c8cfe981
fix: shell scripts in templates (#73)
Fix script

Signed-off-by: Todd Baert <toddbaert@gmail.com>
2022-07-21 16:21:13 -04:00
github-actions[bot] b4246781b1
chore: release main (#72)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-07-21 15:55:48 -04:00
Todd Baert 080fc4b3c9
fix: add test (#71)
* Use more portable scripting in publish

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

* fix: add test

Signed-off-by: Todd Baert <toddbaert@gmail.com>
2022-07-21 15:54:21 -04:00
github-actions[bot] 333f9f035d
chore: release main (#70)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-07-21 15:09:08 -04:00
Thomas Poignant f32d3b0d8a
feat: Go feature flag provider (#64)
* New empty provider

Signed-off-by: Thomas Poignant <thomas.poignant@gofeatureflag.org>

* Go Feature Flag provider initialisation.

Signed-off-by: Thomas Poignant <thomas.poignant@gofeatureflag.org>

* Adding test to the go-feature-flag provider

Signed-off-by: Thomas Poignant <thomas.poignant@gofeatureflag.org>

* linting issues

Signed-off-by: Thomas Poignant <thomas.poignant@gofeatureflag.org>

* Edit readme

Signed-off-by: Thomas Poignant <thomas.poignant@gofeatureflag.org>

* Moved dependencies to the root

Signed-off-by: Michael Beemer <michael.beemer@dynatrace.com>

* Set inferred deps to dependencies in package.json

Signed-off-by: Michael Beemer <michael.beemer@dynatrace.com>

* export go feature flag provider

Signed-off-by: Michael Beemer <michael.beemer@dynatrace.com>

* Formatted and linted

Signed-off-by: Michael Beemer <michael.beemer@dynatrace.com>

* Remove semicolon eslint exclusion rule

Signed-off-by: Michael Beemer <michael.beemer@dynatrace.com>

* Add release please config

Signed-off-by: Michael Beemer <michael.beemer@dynatrace.com>

* chore: update to new publishing

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

Co-authored-by: Michael Beemer <michael.beemer@dynatrace.com>
Co-authored-by: Todd Baert <toddbaert@gmail.com>
2022-07-21 15:06:07 -04:00
github-actions[bot] 5847db4e46
chore(main): release open-telemetry-hook 1.2.0-alpha (#68)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-07-21 12:05:55 -04:00
github-actions[bot] 5064531008
chore(main): release open-telemetry-hook 1.1.0-alpha (#67)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-07-21 12:00:50 -04:00
Michael Beemer 0dd780271f
feat: Update OTel hook to latest semantic convention (#65)
Signed-off-by: Michael Beemer <michael.beemer@dynatrace.com>
2022-07-21 11:55:21 -04:00
Todd Baert ec729f4051
Add release-plz (#63)
Signed-off-by: Todd Baert <toddbaert@gmail.com>
2022-07-15 16:23:47 -04:00
Michael Beemer 2f146521ef Fixed otel hook 2022-06-13 18:30:42 -04:00
Michael Beemer 6cd4e95fd4 Added a hook and provider readme 2022-06-13 18:23:49 -04:00
Michael Beemer 34e7d84b03 Add provider generator 2022-06-13 11:53:39 -04:00
Michael Beemer 5d116493dc Updated OTel Hook 2022-06-10 14:32:09 -04:00
Michael Beemer 3f36647c4d Remove old otel hook 2022-06-09 16:29:45 -04:00
Michael Beemer ffaf6cc0ee Added OTel hook 2022-06-09 13:18:45 -04:00