Skip to content

Commit

Permalink
[chore] jsonlint
Browse files Browse the repository at this point in the history
  • Loading branch information
julianocosta89 committed Mar 13, 2024
1 parent 78a5078 commit 2c4dac9
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 54 deletions.
106 changes: 54 additions & 52 deletions src/flagd/demo.flagd.json
Original file line number Diff line number Diff line change
@@ -1,54 +1,56 @@
{
"$schema": "https://flagd.dev/schema/v0/flags.json",
"flags": {
"productCatalogFailure": {
"description": "Fail product catalog service on a specific product",
"state": "ENABLED",
"variants": {
"on": true,
"off": false
},
"defaultVariant": "off"
},
"recommendationServiceCacheFailure": {
"description": "Fail recommendation service cache",
"state": "ENABLED",
"variants": {
"on": true,
"off": false
},
"defaultVariant": "off"
},
"adServiceFailure": {
"description": "Fail ad service",
"state": "ENABLED",
"variants": {
"on": true,
"off": false
},
"defaultVariant": "off",
"targeting": {
"fractional": [
{ "var": "session" },
[
"on",
10
],
[
"off",
90
]
]
}
},
"cartServiceFailure": {
"description": "Fail cart service",
"state": "ENABLED",
"variants": {
"on": true,
"off": false
},
"defaultVariant": "off"
}
"$schema": "https://flagd.dev/schema/v0/flags.json",
"flags": {
"productCatalogFailure": {
"description": "Fail product catalog service on a specific product",
"state": "ENABLED",
"variants": {
"on": true,
"off": false
},
"defaultVariant": "off"
},
"recommendationServiceCacheFailure": {
"description": "Fail recommendation service cache",
"state": "ENABLED",
"variants": {
"on": true,
"off": false
},
"defaultVariant": "off"
},
"adServiceFailure": {
"description": "Fail ad service",
"state": "ENABLED",
"variants": {
"on": true,
"off": false
},
"defaultVariant": "off",
"targeting": {
"fractional": [
{
"var": "session"
},
[
"on",
10
],
[
"off",
90
]
]
}
},
"cartServiceFailure": {
"description": "Fail cart service",
"state": "ENABLED",
"variants": {
"on": true,
"off": false
},
"defaultVariant": "off"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1022,4 +1022,4 @@
"uid": "W2gX2zHVk",
"version": 1,
"weekStart": ""
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3362,4 +3362,4 @@
"uid": "BKf2sowmj",
"version": 72,
"weekStart": ""
}
}

0 comments on commit 2c4dac9

Please sign in to comment.