Last active
March 17, 2016 23:40
-
-
Save apucacao/21c7330dee02223f0d7b to your computer and use it in GitHub Desktop.
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
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" href="styles.css" /> | |
</head> | |
<body class="ld"> | |
<script src="sdk/scripts/VSS.SDK.js"></script> | |
<script> | |
VSS.init({ | |
usePlatformScripts: true | |
}); | |
</script> | |
<script> | |
VSS.ready(function() { | |
console.log('rmTab ready'); | |
}); | |
</script> | |
</body> | |
</html> |
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
{ | |
"manifestVersion": 1, | |
"id": "launchdarkly-extension", | |
"version": "0.5.0", | |
"name": "LaunchDarkly VSTS Extension", | |
"description": "LaunchDarkly Visual Studio Team Services extension", | |
"publisher": "launchdarkly", | |
"targets": [ | |
{ | |
"id": "Microsoft.VisualStudio.Services" | |
} | |
], | |
"icons": { | |
"default": "static/images/launchdarkly_hd_whitebg.jpg" | |
}, | |
"categories": [ | |
"Build and release" | |
], | |
"files": [ | |
{ | |
"path": "Rollout" | |
} | |
], | |
"contributions": [ | |
{ | |
"id": "LaunchDarkly.WorkItemPage", | |
"type": "ms.vss-work-web.work-item-form-page", | |
"description": "LaunchDarkly Work Item Page", | |
"targets": [ | |
"ms.vss-work-web.work-item-form" | |
], | |
"properties": { | |
"name": "LaunchDarkly", | |
"uri": "static/workItemPage.html" | |
} | |
}, | |
{ | |
"id": "LaunchDarkly.RMSummarySection", | |
"type": "ms.vss-releaseManagement-web.release-summary-section", | |
"targets": [ | |
"ms.vss-releaseManagement-web.release-details-summary-tab" | |
], | |
"properties": { | |
"name": "LaunchDarkly Summary", | |
"uri": "static/rmSummarySection.html" | |
} | |
}, | |
{ | |
"id": "LaunchDarkly.RMTab", | |
"type": "ms.vss-releaseManagement-web.release-summary-tab", | |
"targets": [ | |
"ms.vss-releaseManagement-web.release-details-view" | |
], | |
"properties": { | |
"name": "LaunchDarkly Tab", | |
"uri": "static/rmTab.html" | |
} | |
}, | |
{ | |
"id": "LaunchDarkly.Endpoint", | |
"description": "LaunchDarkly provides feature flags as a service.", | |
"type": "ms.vss-endpoint.service-endpoint-type", | |
"targets": [ | |
"ms.vss-endpoint.endpoint-types" | |
], | |
"properties": { | |
"name": "launchdarkly", | |
"displayName": "LaunchDarkly", | |
"url": "https://f24113ef.ngrok.io/api", | |
"inputDescriptors": [], | |
"authenticationSchemes": [ | |
{ | |
"type": "ms.vss-endpoint.endpoint-auth-scheme-token", | |
"inputDescriptors": [ | |
{ | |
"id": "apitoken", | |
"name": "API Key", | |
"description": "API key for connection to LaunchDarkly", | |
"inputMode": "textbox", | |
"isConfidential": false, | |
"validation": { | |
"isRequired": true, | |
"dataType": "string" | |
} | |
} | |
], | |
"headers": [ | |
{ | |
"name": "Authorization", | |
"value": "api_key {{endpoint.apitoken}}" | |
} | |
] | |
} | |
], | |
"dataSources": [ | |
{ | |
"name": "Flags", | |
"endpointUrl": "https://f24113ef.ngrok.io/proxy/api/features", | |
"resultSelector": "jsonpath:$.items" | |
}, | |
{ | |
"name": "FlagByKey", | |
"endpointUrl": "https://f24113ef.ngrok.io/proxy/api/features/{{flagKey}}", | |
"resultSelector": "jsonpath:$" | |
} | |
] | |
} | |
}, | |
{ | |
"id": "LaunchDarkly.Rollout.Task", | |
"type": "ms.vss-distributed-task.task", | |
"targets": [ | |
"ms.vss-distributed-task.tasks" | |
], | |
"properties": { | |
"name": "Rollout" | |
} | |
} | |
], | |
"scopes": [ | |
"vso.profile", | |
"vso.serviceendpoint_query", | |
"vso.work", | |
"vso.release" | |
], | |
"baseUri": "https://f24113ef.ngrok.io" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment