Skip to content

Commit adac208

Browse files
committed
Add dev sdk key for testing
1 parent 889f278 commit adac208

File tree

2 files changed

+86
-1
lines changed

2 files changed

+86
-1
lines changed

examples/v7-optimizely-edge/.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,3 @@ next-env.d.ts
3838
# Edgio generated build directory
3939
/.edgio
4040
/node_modules
41-
lib/optimizely/*
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
{
2+
"accountId": "29260950578",
3+
"projectId": "29260950578",
4+
"revision": "3",
5+
"attributes": [],
6+
"audiences": [
7+
{
8+
"id": "$opt_dummy_audience",
9+
"name": "Optimizely-Generated Audience for Backwards Compatibility",
10+
"conditions": "[\"or\", {\"match\": \"exact\", \"name\": \"$opt_dummy_attribute\", \"type\": \"custom_attribute\", \"value\": \"$opt_dummy_value\"}]"
11+
}
12+
],
13+
"version": "4",
14+
"events": [],
15+
"integrations": [],
16+
"anonymizeIP": true,
17+
"botFiltering": false,
18+
"typedAudiences": [],
19+
"variables": [],
20+
"environmentKey": "development",
21+
"sdkKey": "2imW2dz6yoT3fzLKWFDmz",
22+
"featureFlags": [
23+
{
24+
"id": "179247",
25+
"key": "foo_flag",
26+
"rolloutId": "rollout-179247-29212200416",
27+
"experimentIds": ["9300000938906"],
28+
"variables": []
29+
}
30+
],
31+
"rollouts": [
32+
{
33+
"id": "rollout-179247-29212200416",
34+
"experiments": [
35+
{
36+
"id": "default-rollout-179247-29212200416",
37+
"key": "default-rollout-179247-29212200416",
38+
"status": "Running",
39+
"layerId": "rollout-179247-29212200416",
40+
"variations": [
41+
{
42+
"id": "587019",
43+
"key": "off",
44+
"featureEnabled": false,
45+
"variables": []
46+
}
47+
],
48+
"trafficAllocation": [{ "entityId": "587019", "endOfRange": 10000 }],
49+
"forcedVariations": {},
50+
"audienceIds": [],
51+
"audienceConditions": []
52+
}
53+
]
54+
}
55+
],
56+
"experiments": [
57+
{
58+
"id": "9300000938906",
59+
"key": "rule_one",
60+
"status": "Running",
61+
"layerId": "9300000712842",
62+
"variations": [
63+
{
64+
"id": "587020",
65+
"key": "on",
66+
"featureEnabled": true,
67+
"variables": []
68+
},
69+
{
70+
"id": "587019",
71+
"key": "off",
72+
"featureEnabled": false,
73+
"variables": []
74+
}
75+
],
76+
"trafficAllocation": [
77+
{ "entityId": "587019", "endOfRange": 2500 },
78+
{ "entityId": "587020", "endOfRange": 5000 }
79+
],
80+
"forcedVariations": {},
81+
"audienceIds": [],
82+
"audienceConditions": []
83+
}
84+
],
85+
"groups": []
86+
}

0 commit comments

Comments
 (0)