-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy pathmanifest.json
More file actions
111 lines (111 loc) · 4.7 KB
/
manifest.json
File metadata and controls
111 lines (111 loc) · 4.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "Akamai EdgeWorkers",
"version": "1.0.0",
"overview": "Evaluate feature flags with our LaunchDarkly Akamai Edge SDK from your Akamai EdgeWorker functions.",
"description": "Evaluate feature flags with our LaunchDarkly Akamai Edge SDK from your Akamai EdgeWorker functions by storing flag data in Akamai's EdgeKV store.",
"author": "LaunchDarkly",
"supportEmail": "support@launchdarkly.com",
"links": {
"site": "https://www.akamai.com/",
"launchdarklyDocs": "https://launchdarkly.com/docs/integrations/akamai",
"privacyPolicy": "https://www.akamai.com/legal/compliance/privacy-trust-center/"
},
"categories": ["infrastructure"],
"icons": {
"square": "assets/square.svg",
"horizontal": "assets/horizontal.svg"
},
"capabilities": {
"featureStore": {
"formVariables": [
{
"key": "hostname",
"name": "Host",
"description": "The unique host domain that will receive API requests. You can find this on your API client details page from your Akamai [Identity and Access Management](https://techdocs.akamai.com/developer/docs/create-a-client-with-custom-permissions) dashboard.",
"type": "string",
"placeholder": "e.g. abcd-xxxxxx-xxxx.luna-dev.akamaiapis.net",
"isSecret": false
},
{
"key": "network",
"name": "Network",
"description": "Akamai network environment to execute the API request on.",
"type": "enum",
"defaultValue": "production",
"allowedValues": ["production", "staging"]
},
{
"key": "namespaceId",
"name": "EdgeKV namespace",
"description": "EdgeKV namespace identifier where data will be stored.",
"type": "string",
"placeholder": "e.g. default",
"isSecret": false
},
{
"key": "groupId",
"name": "EdgeKV group",
"description": "Unique identifier for the group within your EdgeKV namespace.",
"type": "string",
"placeholder": "e.g. 12345",
"isSecret": false
},
{
"key": "clientSecret",
"name": "Client secret",
"description": "Enter the API client secret generated from the Akamai Control Center. To learn more, read the Akamai instructions for [authentication credentials](https://techdocs.akamai.com/developer/docs/set-up-authentication-credentials).",
"type": "string",
"placeholder": "e.g. xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxx",
"isSecret": true
},
{
"key": "clientToken",
"name": "Client token",
"description": "Enter the API client token generated from the Akamai Control Center. To learn more, read the Akamai instructions for [authentication credentials](https://techdocs.akamai.com/developer/docs/set-up-authentication-credentials).",
"type": "string",
"placeholder": "e.g. akaa-xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxx",
"isSecret": true
},
{
"key": "accessToken",
"name": "Access token",
"description": "Enter the API client access token generated from the Akamai Control Center. To learn more, read the Akamai instructions for [authentication credentials](https://techdocs.akamai.com/developer/docs/set-up-authentication-credentials).",
"type": "string",
"placeholder": "e.g. akaa-xxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx",
"isSecret": true
}
],
"validationRequest": {
"endpoint": {
"url": "https://{{hostname}}/edgekv/v1/networks/{{network}}/namespaces/{{namespaceId}}",
"method": "GET",
"headers": [
{
"name": "Authorization",
"value": "{{edgeGridAuth 'GET' '/edgekv/v1/networks/{{network}}/namespaces/{{namespaceId}}' hostname network namespaceId groupId _featureStoreKey clientSecret clientToken accessToken}}"
}
]
},
"parser": {
"success": "/success"
}
},
"featureStoreRequest": {
"endpoint": {
"url": "https://{{hostname}}/edgekv/v1/networks/{{network}}/namespaces/{{namespaceId}}/groups/{{groupId}}/items/{{_featureStoreKey}}",
"method": "PUT",
"headers": [
{
"name": "Authorization",
"value": "{{edgeGridAuth 'PUT' '/edgekv/v1/networks/{{network}}/namespaces/{{namespaceId}}/groups/{{groupId}}/items/{{_featureStoreKey}}' hostname network namespaceId groupId _featureStoreKey clientSecret clientToken accessToken}}"
},
{
"name": "Content-Type",
"value": "text/plain"
}
]
}
}
}
}
}