-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Update Application Insights Schema to support WorkItemConfig operations #5870
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 12 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
3d96628
Updating WorkItemConfig API to define GET and PATCH
debugthings ef49556
Quick clean up of DELETED schema
debugthings 98bdd2f
Updating based on Lint recommendation
debugthings f72b3b5
Fixing examples errors
debugthings 3adf0cd
Fixing Config Object to allow freeform dictionary
debugthings 760ab4c
Fixing Config Object to allow freeform dictionary
debugthings dba4561
Fixing Config Object to allow freeform dictionary
debugthings d56af84
Suggestions by Tom and Marcin
jamdavi 0c75f16
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
jamdavi afbfaa9
Removing extra file from merge
jamdavi 0e5712a
Merge dumbness
jamdavi 9e4b98f
Merge fix
jamdavi f02d210
Fixing validation
jamdavi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,7 +8,7 @@ | |
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": {} | ||
| "body": { } | ||
| } | ||
| } | ||
| } | ||
20 changes: 20 additions & 0 deletions
20
...hts/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigGet.json
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2015-05-01", | ||
| "subscriptionId": "subid", | ||
| "resourceGroupName": "my-resource-group", | ||
| "resourceName": "my-component", | ||
| "workItemConfigId" : "Visual Studio Team Services" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "ConnectorId":"d334e2a4-6733-488e-8645-a9fdc1694f41", | ||
| "IsDefault":true, | ||
| "ConfigDisplayName":"Visual Studio Team Services", | ||
| "Id":"Visual Studio Team Services", | ||
| "ConfigProperties":"{\"VSOAccountBaseUrl\":\"https://testtodelete.visualstudio.com\",\"ProjectCollection\":\"DefaultCollection\",\"Project\":\"todeletefirst\",\"ResourceId\":\"d0662b05-439a-4a1b-840b-33a7f8b42ebf\",\"ConfigurationType\":\"Standard\",\"WorkItemType\":\"Bug\",\"AreaPath\":\"todeletefirst\",\"AssignedTo\":\"\"}" | ||
| } | ||
| } | ||
| } | ||
| } |
35 changes: 35 additions & 0 deletions
35
.../resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigUpdate.json
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2015-05-01", | ||
| "subscriptionId": "subid", | ||
| "resourceGroupName": "my-resource-group", | ||
| "resourceName": "my-component", | ||
| "workItemConfigId": "Visual Studio Team Services", | ||
| "WorkItemConfigurationProperties": { | ||
| "ConnectorId": "d334e2a4-6733-488e-8645-a9fdc1694f41", | ||
| "ConnectorDataConfiguration": "{\"VSOAccountBaseUrl\":\"https://testtodelete.visualstudio.com\",\"ProjectCollection\":\"DefaultCollection\",\"Project\":\"todeletefirst\",\"ResourceId\":\"d0662b05-439a-4a1b-840b-33a7f8b42ebf\",\"Custom\":\"{\\\"/fields/System.WorkItemType\\\":\\\"Bug\\\",\\\"/fields/System.AreaPath\\\":\\\"todeletefirst\\\",\\\"/fields/System.AssignedTo\\\":\\\"\\\"}\"}", | ||
| "WorkItemProperties": [ | ||
| { | ||
| "name": "Title", | ||
| "value": "Validate Only Title" | ||
| }, | ||
| { | ||
| "name": "Description", | ||
| "value": "Validate Only Description" | ||
| } | ||
| ], | ||
| "ValidateOnly": "true" | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "ConnectorId": "d334e2a4-6733-488e-8645-a9fdc1694f41", | ||
| "IsDefault": true, | ||
| "ConfigDisplayName": "Visual Studio Team Services", | ||
| "Id": "Visual Studio Team Services", | ||
| "ConfigProperties": "{\"VSOAccountBaseUrl\":\"https://testtodelete.visualstudio.com\",\"ProjectCollection\":\"DefaultCollection\",\"Project\":\"todeletefirst\",\"ResourceId\":\"d0662b05-439a-4a1b-840b-33a7f8b42ebf\",\"ConfigurationType\":\"Standard\",\"WorkItemType\":\"Bug\",\"AreaPath\":\"todeletefirst\",\"AssignedTo\":\"\"}" | ||
| } | ||
| } | ||
| } | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.