-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Billing RP spec changes for GTM FieldLed-Go-Big #6661
Conversation
Added spec for Recurring charges api
Renamed recurring charges to recurring products
Updated the billing frequency type to string
Billing RP spec changes for GTM FieldLed-Go-Big
In Testing, Please Ignore[Logs] (Generated from 1527d6f, Iteration 33)Python: test-repo-billy/azure-sdk-for-python [Logs] [Diff]
Java: test-repo-billy/azure-sdk-for-java [Logs] [Diff]Go: test-repo-billy/azure-sdk-for-go [Logs] [Diff]JavaScript: test-repo-billy/azure-sdk-for-js [Logs] [Diff]
Ruby: test-repo-billy/azure-sdk-for-ruby [Logs] [Diff]
|
Automation for azure-sdk-for-javaEncountered a Subprocess error: (azure-sdk-for-java)
Command: ['/usr/local/bin/autorest', '/tmp/tmpdd2hr_yz/rest/specification/billing/resource-manager/readme.md', '--azure-libraries-for-java-folder=/tmp/tmpdd2hr_yz/sdk', '--java', '--multiapi', '--use=@microsoft.azure/autorest.java@2.1.85', '--verbose'] AutoRest code generation utility [version: 2.0.4283; node: v10.15.3]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest
Loading AutoRest core '/root/.autorest/@microsoft.azure_autorest-core@2.0.4383/node_modules/@microsoft.azure/autorest-core/dist' (2.0.4383)
Loading AutoRest extension '@microsoft.azure/autorest.java' (2.1.85->2.1.85)
Loading AutoRest extension '@microsoft.azure/autorest.modeler' (2.3.38->2.3.38)
Processing batch task - {"tag":"package-2019-10-preview"} .
FATAL: System.Exception: Duplicate File Generation: src/main/java/com/microsoft/azure/management/billing/v2019_10_01_preview/implementation/AddressInner.java
at AutoRest.Core.CodeGenerator.<Write>d__13.MoveNext() in /home/vsts/work/1/s/autorest.common/src/CodeGenerator.cs:line 151
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at AutoRest.Core.CodeGenerator.<Write>d__12.MoveNext() in /home/vsts/work/1/s/autorest.common/src/CodeGenerator.cs:line 121
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at AutoRest.Java.Azure.Fluent.CodeGeneratorJvaf.<Generate>d__6.MoveNext() in /home/vsts/work/1/s/src/azurefluent/CodeGeneratorJvaf.cs:line 188
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at AutoRest.Java.Program.<ProcessInternal>d__3.MoveNext() in /home/vsts/work/1/s/src/Program.cs:line 114
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at NewPlugin.<Process>d__20.MoveNext() in /home/vsts/work/1/s/autorest.common/src/Plugins/NewPlugin.cs:line 163
FATAL: java/generate - FAILED
FATAL: Error: Plugin java reported failure.
Process() cancelled due to exception : Plugin java reported failure.
Failure during batch task - {"tag":"package-2019-10-preview"} -- Error: Plugin java reported failure..
Error: Plugin java reported failure. |
Automation for azure-sdk-for-pythonThe initial PR has been merged into your service PR: |
Automation for azure-sdk-for-goThe initial PR has been merged into your service PR: |
Can one of the admins verify this patch? |
Rolled back the changes in 2018-11-01-preview version
Fixed build errors
Fixed build error
Updated policy properties
Incorporated review comments
Updated action listInvoiceSectionsWithCreateSubscriptionPermission from GET to POST in this new iteration. |
Incorporated review comments
Updated autorenew request params
Updated types for payment methods and available balance
Updated invoice section list examples
Updated pricesheet download path
Updated type for Invoice and Policy
Updated namespace for agreements
POST on a collection URI in ARM is considered an anti-pattern. Is it possible to use PUT to create a billing role assignment on the billing account? If not, the alternative would be to have a POST action called createBillingRoleAssignment on a billingAccount resource. #Closed Refers to: specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/billing.json:3346 in 18ddcc3. [](commit_id = 18ddcc3, deletion_comment = False) |
You will need to specify the x-ms-enum extension. Also, you will need to use the modelAsString: true setting to make the linter happy. #Closed Refers to: specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/billing.json:4311 in 18ddcc3. [](commit_id = 18ddcc3, deletion_comment = False) |
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 added a few comments for the remaining issues.
Also, there are a lot of breaking changes in the API. I assume this is intentional, but how are you planning to deal with that? (If it was discussed with prior reviewers, I don’t have that context ☹.)
Fixed build errors
Fixed build errors
Sure. Done. |
Updated BillingRoleAssignments actions
@majastrz I have incorporated the comments provided. Please take a look. Regarding BillingRoleAssignments actions in List API, I have removed the POST operation from the List API and created a new path with createBillingRoleAssignment action. We had this in our previous version and the current change was done as part of improvement. We will attempt this change again when we have support for PUT operation in our platform in future. |
Added Transfer apis for partner led
Removing listInvoiceSectionsWithCreateSubscriptionPermission
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.
Signed off from ARM side.
* API updates * run prettier * Remove old examples * more changes * update property name * update readme.go.md Co-authored-by: ArcturusZhang <dapzhang@microsoft.com>
Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.
Contribution checklist:
ARM API Review Checklist
Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.
Please follow the link to find more details on API review process.