-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Add sync stack to azure-iot-deviceupdate #36905
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
samvaity
merged 20 commits into
Azure:main
from
chejiang-msft:user/chejiang/device-update-sync-stack
Oct 4, 2023
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
dae1ec3
Add generated files + modified test base
chejiang-msft c4eece8
Merge remote-tracking branch 'origin/main' into user/chejiang/device-…
chejiang-msft 2039516
Fix compile errors
chejiang-msft fb3a24b
Merge remote-tracking branch 'origin/main' into user/chejiang/device-…
chejiang-msft 894a534
First set of changes for gets
chejiang-msft 8c9ce39
Merge remote-tracking branch 'origin/main' into user/chejiang/device-…
chejiang-msft a91dc2a
Finished update client
chejiang-msft 4a5a37f
Finish management client + cleanup
chejiang-msft c22bb60
Merge remote-tracking branch 'origin/main' into user/chejiang/device-…
chejiang-msft 72a2d7d
Remove config file
chejiang-msft 99d8c06
Merge remote-tracking branch 'origin/main' into user/chejiang/device-…
chejiang-msft 17f9808
Modify pom file to run record mode
chejiang-msft 09fd230
Merge remote-tracking branch 'origin/main' into user/chejiang/device-…
chejiang-msft a982e22
Regenerate sdks + add new assets
chejiang-msft cac49b8
Fix docs
chejiang-msft af829e5
Fix breaking change error
chejiang-msft dac45f0
Merge remote-tracking branch 'origin/main' into user/chejiang/device-…
chejiang-msft 486e252
PR comments
chejiang-msft 8255da8
Merge remote-tracking branch 'origin/main' into user/chejiang/device-…
chejiang-msft 82a584f
Put jacoco check back to try to fix build
chejiang-msft 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| use: '@autorest/[email protected]' | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This file should be in |
||
| input-file: https://github.com/Azure/azure-rest-api-specs/blob/main/specification/deviceupdate/data-plane/Microsoft.DeviceUpdate/stable/2022-10-01/deviceupdate.json | ||
| java: true | ||
| output-folder: ./ | ||
| enable-sync-stack: true | ||
| generate-tests: true | ||
| regenerate-pom: false | ||
| title: DeviceUpdateClient | ||
| generate-sync-async-clients: true | ||
| generate-client-as-impl: true | ||
| generate-client-interfaces: false | ||
| service-interface-as-public: true | ||
| add-context-parameter: true | ||
| artifact-id: azure-iot-deviceupdate | ||
| data-plane: true | ||
| sync-methods: all | ||
| generate-samples: true | ||
| license-header: MICROSOFT_MIT_SMALL | ||
| namespace: com.azure.iot.deviceupdate | ||
| service-name: DeviceUpdate | ||
| context-client-method-parameter: true | ||
| azure-arm: false | ||
| credential-types: tokencredential | ||
| credential-scopes: https://api.adu.microsoft.com/.default | ||
| service-versions: | ||
| - '2022-10-01' | ||
| polling: | ||
| default: | ||
| strategy: >- | ||
| new OperationResourcePollingStrategyWithEndpoint<>({httpPipeline}, "https://" + this.client.getEndpoint(), null, null, {context}) | ||
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
111 changes: 51 additions & 60 deletions
111
...ure-iot-deviceupdate/src/main/java/com/azure/iot/deviceupdate/DeviceManagementClient.java
Large diffs are not rendered by default.
Oops, something went wrong.
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
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.
Uh oh!
There was an error while loading. Please reload this page.