-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Alexandre Chakroun <[email protected]>
- Loading branch information
Showing
9 changed files
with
223 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
providers/openfeature-flagd-provider/docker/docker-compose.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: '3.7' | ||
|
||
services: | ||
flagd: | ||
image: ghcr.io/open-feature/flagd:v0.9.2 | ||
ports: | ||
- '127.0.0.1:8013:8013' | ||
volumes: | ||
- ./:/etc/flagd | ||
command: start -x --uri file:./etc/flagd/flags.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"$schema": "https://flagd.dev/schema/v0/flags.json", | ||
"flags": { | ||
"boolean-flag": { | ||
"state": "ENABLED", | ||
"variants": { | ||
"on": true, | ||
"off": false | ||
}, | ||
"defaultVariant": "off" | ||
}, | ||
"integer-flag": { | ||
"state": "ENABLED", | ||
"variants": { | ||
"fourty-two": 42 | ||
}, | ||
"defaultVariant": "fourty-two" | ||
}, | ||
"float-flag": { | ||
"state": "ENABLED", | ||
"variants": { | ||
"four-point-two": 4.2 | ||
}, | ||
"defaultVariant": "four-point-two" | ||
}, | ||
"string-flag": { | ||
"state": "ENABLED", | ||
"variants": { | ||
"lilili": "lalala" | ||
}, | ||
"defaultVariant": "lilili" | ||
}, | ||
"object-flag": { | ||
"state": "ENABLED", | ||
"variants": { | ||
"real-object": { "real": "value" } | ||
}, | ||
"defaultVariant": "real-object" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
97 changes: 27 additions & 70 deletions
97
providers/openfeature-flagd-provider/lib/openfeature/flagd/provider/schema/v1/schema_pb.rb
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
35 changes: 18 additions & 17 deletions
35
...openfeature-flagd-provider/lib/openfeature/flagd/provider/schema/v1/schema_services_pb.rb
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Submodule schemas
updated
from 890ef6 to 8c72c1
Oops, something went wrong.