Skip to content

Commit

Permalink
Add Netlify (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonsnir authored Sep 18, 2024
1 parent a3db0d2 commit 9d06439
Show file tree
Hide file tree
Showing 3 changed files with 109 additions and 0 deletions.
22 changes: 22 additions & 0 deletions integrations/netlify/assets/horizontal.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions integrations/netlify/assets/square.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
71 changes: 71 additions & 0 deletions integrations/netlify/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
{
"name": "Netlify",
"version": "1.0.0",
"overview": "Evaluate feature flags and bootstrap the LaunchDarkly Netlify SDK.",
"description": "Evaluate feature flags and bootstrap the LaunchDarkly Netlify SDK.",
"author": "Netlify",
"supportEmail": "[email protected]",
"links": {
"site": "https://www.netlify.com/",
"launchdarklyDocs": "https://docs.launchdarkly.com/integrations/netlify",
"privacyPolicy": "https://www.netlify.com/privacy/"
},
"categories": ["infrastructure"],
"icons": {
"square": "assets/square.svg",
"horizontal": "assets/horizontal.svg"
},
"capabilities": {
"featureStore": {
"formVariables": [
{
"key": "siteId",
"name": "Site ID",
"description": "Enter your Netlify site ID. This can be found in the Netlify UI, at Site configuration > Build & deploy > LaunchDarkly.",
"type": "string",
"placeholder": "e.g. e0d5cce2-679b-425a-bf5a-a4b298327a15",
"isSecret": false
},
{
"key": "syncToken",
"name": "Syncing Token",
"description": "Enter your Netlify site's LaunchDarkly syncing token. This can be found in the Netlify UI, at Site configuration > Build & deploy > LaunchDarkly.",
"placeholder": "e.g. 0ZWs3i3aHX66CVrrfaV7aQ",
"type": "string",
"isSecret": true
}
],
"validationRequest": {
"endpoint": {
"url": "https://{{siteId}.netlify.app/.official-launchdarkly/edge-config-test",
"method": "GET",
"headers": [
{
"name": "Authorization",
"value": "Bearer {{syncToken}}"
}
]
},
"parser": {
"success": "/success"
}
},
"featureStoreRequest": {
"endpoint": {
"url": "https://{{siteId}.netlify.app/.official-launchdarkly/edge-config",
"method": "PUT",
"headers": [
{
"name": "Authorization",
"value": "Bearer {{syncToken}}"
},
{
"name": "Content-Type",
"value": "application/json"
}
]
}
}
}
}
}

0 comments on commit 9d06439

Please sign in to comment.