-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
[Datafactory] Adding getFeatureValue API in factory scope #5591
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
2130f16
Adding getFeatureValue API in factory scope
hvermis d7a4ff9
Updating examples for IfNoneMatch header on get calls
hvermis cf4d18c
Fixing example validation errors
hvermis d74be6a
remove ifNoneMatch=null from examples
hvermis 33f4e80
More example validation fixes
hvermis 5157126
One more IR example fix
hvermis 3df9356
Deleted wrong property
hvermis 78e7ed2
Fixing last example
hvermis 0acb0cb
Restoring previous example
hvermis 0c1a334
Testing example for validation
hvermis ac3d41b
Reverting last commit
hvermis 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 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 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
24 changes: 24 additions & 0 deletions
24
...soft.DataFactory/stable/2018-06-01/examples/ExposureControl_GetFeatureValueByFactory.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "12345678-1234-1234-1234-12345678abc", | ||
"resourceGroupName": "exampleResourceGroup", | ||
"factoryName": "exampleFactoryName", | ||
"exposureControlRequest": { | ||
"featureName": "ADFIntegrationRuntimeSharingRbac", | ||
"featureType": "Feature" | ||
}, | ||
"api-version": "2018-06-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"Date": "Sat, 22 Dec 2018 09:46:07 GMT", | ||
"X-Content-Type-Options": "nosniff" | ||
}, | ||
"body": { | ||
"featureName": "ADFIntegrationRuntimeSharingRbac", | ||
"value": "False" | ||
} | ||
} | ||
} | ||
} |
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand that this is replicating and existing API at another scope, but is there a reason these aren't GET requests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All our APIs are following guideline where Get is used only on items modeled as resources, and the rest are actions with POST. FeatureValues are not modeled as resources, as we don't intend to allow CRUD operations on them, and no list by parent. Validators report these as errors.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@KrisBash I replied to your comment.