-
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
Improvements/Fixes for ACR SDK #6457
Comments
Adding more details:
|
This is currently a blocking issue for us. It would be great if this can be prioritized. |
@graypj Will take a look at that immediately. Is the issue just that the success code is incorrect? |
That's what I found. I haven't tested other scenarios. |
To update. I have replicated issue 3. Also confirmed 202 is the only expected correct status. The same issue exists for patch which also relies on 204 but should be 201. We do have a more updated swagger that does include Put for /v2/{name}/manifests/{reference} and addresses these last couple of issues at estebanreyl@4f95280 . I am currently working on top of it to address the other concerns and validate the generation of the SDK. You can probably look forward to a lot of progress tomorrow as it took me some time to understand how this all worked. Nonetheless if the 202 issue was the blocking component we could build the sdk using autorest immediately before proceeding with getting everything upstream. @graypj How are you using the SDK, are you manually building it or using the preview nugget package ? |
We are currently using the preview nugget package. Can that be updated as well when these features are added? |
Absolutely, Ill begin asking how this can be carried out. |
To update on the previous point it seems as soon as this goes through here we can quickly get the preview nugget package out. As an additional update, as of commit estebanreyl@4999232 I have at least in theory (Still working on testing to make sure everything is indeed running smoothly) implemented items 1,2,3 along with fixing other portions of the swagger that seem to be inconsistent with our api. Still need to do a lot of testing and oauth2 is pending. Will update as appropiate. |
Added @erich-wang since it is .NET SDK related issue |
Please refer to the process (visible only to Microsoft employee) if you need to generate .net management SDK from swagger spec |
https://github.com/AzureCR/azure-rest-api-specs/tree/estebanreyl/dot_net_sdk Is now housing the most updated work in progress of this. Oauth2 paths have been added though the entire flow (As a result of Swagger 2 limitations) will be custom built in C# for that particular sdk. The same will have to be done for others generated from this swagger. Most paths have been verified to work. Still have to look at distinct versions of manifests though. |
To update as of AzureCR@5b84330 all discussed features have been implemented and tested. I will begin the process of making sure everything is up to standards as specified here . Will hopefully get through that quickly and PR. |
We have been notified that some features are not currently supported/working as expected in the Azure Container Registries SDK for .NET generated from our provided swagger in particular :
Other API calls also require validation/testing. This is a small issue tracker for this work item. Will update as more progress is done.
The text was updated successfully, but these errors were encountered: