Skip to content
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

Try Fix Billing Swagger #10276

Merged
merged 1 commit into from
Sep 14, 2020
Merged

Conversation

LianwMS
Copy link
Contributor

@LianwMS LianwMS commented Jul 28, 2020

MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.

Contribution checklist:

If any further question about AME onboarding or validation tools, please view the FAQ.

ARM API Review Checklist

  • Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

    • Adding new API(s)
    • Adding a new API version
    • Adding a new service
  • If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist

If there are following updates in the PR, ensure to request an approval from API Review Board as defined in the Breaking Change Policy.

  • Removing API(s) in stable version
  • Removing properties in stable version
  • Removing API version(s) in stable version
  • Updating API in stable version with Breaking Change Validation errors
  • Updating API(s) in preview over 1 year

Please follow the link to find more details on PR review process.

@LianwMS LianwMS requested a review from wilcobmsft as a code owner July 28, 2020 13:10
@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Jul 28, 2020

[Staging] Swagger Validation Report

BreakingChange: 1 Errors, 0 Warnings [Detail] [Expand]
Rule Message
1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'subscriptionGuidParameter' removed or renamed?
New: Microsoft.Billing/preview/2018-03-01-preview/billingV2.json#L360:3
Old: Microsoft.Billing/preview/2018-03-01-preview/billingV2.json#L360:3
️✔️LintDiff [Detail]
 Validation passes for LintDiff. 
️✔️Avocado [Detail]
 Validation passes for Avocado. 
Posted by Swagger Pipeline | How to fix these errors?

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jul 28, 2020

Azure CLI Extension Generation - Release

No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jul 28, 2020

azure-sdk-for-java - Release

⚠️ warning [Logs] [Expand Details]
  • ⚠️ Generate from 91b4a2e with merge commit 7a82688. SDK Automation 13.0.17.20200909.5
  • ️✔️sdk/billing/mgmt-v2017_02_27_preview [View full logs]  [Release SDK Changes]
    Unable to get details about the head commit. This is probably because the head commit is in a fork that we don't have permission to read from. HttpError: Not Found {"name":"HttpError","status":404,"headers":{"access-control-allow-origin":"*","access-control-expose-headers":"ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset","connection":"close","content-encoding":"gzip","content-security-policy":"default-src 'none'","content-type":"application/json; charset=utf-8","date":"Mon, 14 Sep 2020 02:29:04 GMT","referrer-policy":"origin-when-cross-origin, strict-origin-when-cross-origin","server":"GitHub.com","status":"404 Not Found","strict-transport-security":"max-age=31536000; includeSubdomains; preload","transfer-encoding":"chunked","vary":"Accept-Encoding, Accept, X-Requested-With","x-content-type-options":"nosniff","x-frame-options":"deny","x-github-media-type":"github.v3; param=machine-man-preview; format=json","x-github-request-id":"04C0:5EC1:BD5737:1B13FDB:5F5ED570","x-xss-protection":"1; mode=block"},"request":{"method":"POST","url":"https://api.github.com/app/installations//access_tokens","headers":{"accept":"application/vnd.github.machine-man-preview+json","user-agent":"octokit.js/16.43.1 Node.js/13.14.0 (Linux 5.4; x64)","authorization":"bearer [REDACTED]","content-type":"application/json; charset=utf-8"},"body":"{}","request":{"validate":{"commit_sha":{"alias":"ref","deprecated":true,"type":"string"},"owner":{"required":true,"type":"string"},"ref":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"sha":{"alias":"ref","deprecated":true,"type":"string"}}}},"documentation_url":"https://docs.github.com/rest"}
  • ️✔️sdk/billing/mgmt-v2017_04_24_preview [View full logs]  [Release SDK Changes]
    Unable to get details about the head commit. This is probably because the head commit is in a fork that we don't have permission to read from. HttpError: Not Found {"name":"HttpError","status":404,"headers":{"access-control-allow-origin":"*","access-control-expose-headers":"ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset","connection":"close","content-encoding":"gzip","content-security-policy":"default-src 'none'","content-type":"application/json; charset=utf-8","date":"Mon, 14 Sep 2020 02:29:16 GMT","referrer-policy":"origin-when-cross-origin, strict-origin-when-cross-origin","server":"GitHub.com","status":"404 Not Found","strict-transport-security":"max-age=31536000; includeSubdomains; preload","transfer-encoding":"chunked","vary":"Accept-Encoding, Accept, X-Requested-With","x-content-type-options":"nosniff","x-frame-options":"deny","x-github-media-type":"github.v3; param=machine-man-preview; format=json","x-github-request-id":"0500:4A1F:8F4DE4:17974FC:5F5ED57C","x-xss-protection":"1; mode=block"},"request":{"method":"POST","url":"https://api.github.com/app/installations//access_tokens","headers":{"accept":"application/vnd.github.machine-man-preview+json","user-agent":"octokit.js/16.43.1 Node.js/13.14.0 (Linux 5.4; x64)","authorization":"bearer [REDACTED]","content-type":"application/json; charset=utf-8"},"body":"{}","request":{"validate":{"commit_sha":{"alias":"ref","deprecated":true,"type":"string"},"owner":{"required":true,"type":"string"},"ref":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"sha":{"alias":"ref","deprecated":true,"type":"string"}}}},"documentation_url":"https://docs.github.com/rest"}
  • ️✔️sdk/billing/mgmt-v2018_03_01_preview [View full logs]  [Release SDK Changes]
    Unable to get details about the head commit. This is probably because the head commit is in a fork that we don't have permission to read from. HttpError: Not Found {"name":"HttpError","status":404,"headers":{"access-control-allow-origin":"*","access-control-expose-headers":"ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset","connection":"close","content-encoding":"gzip","content-security-policy":"default-src 'none'","content-type":"application/json; charset=utf-8","date":"Mon, 14 Sep 2020 02:29:26 GMT","referrer-policy":"origin-when-cross-origin, strict-origin-when-cross-origin","server":"GitHub.com","status":"404 Not Found","strict-transport-security":"max-age=31536000; includeSubdomains; preload","transfer-encoding":"chunked","vary":"Accept-Encoding, Accept, X-Requested-With","x-content-type-options":"nosniff","x-frame-options":"deny","x-github-media-type":"github.v3; param=machine-man-preview; format=json","x-github-request-id":"0505:1B89:15D1F44:24F7151:5F5ED586","x-xss-protection":"1; mode=block"},"request":{"method":"POST","url":"https://api.github.com/app/installations//access_tokens","headers":{"accept":"application/vnd.github.machine-man-preview+json","user-agent":"octokit.js/16.43.1 Node.js/13.14.0 (Linux 5.4; x64)","authorization":"bearer [REDACTED]","content-type":"application/json; charset=utf-8"},"body":"{}","request":{"validate":{"commit_sha":{"alias":"ref","deprecated":true,"type":"string"},"owner":{"required":true,"type":"string"},"ref":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"sha":{"alias":"ref","deprecated":true,"type":"string"}}}},"documentation_url":"https://docs.github.com/rest"}
  • ⚠️sdk/billing/mgmt-v2018_11_01_preview [View full logs]  [Release SDK Changes]
      [mvn] [ERROR] COMPILATION ERROR : 
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/implementation/PriceSheetsInner.java:[130,39] method getPostOrDeleteResultWithHeadersAsync in class com.microsoft.azure.AzureClient cannot be applied to given types;
      [mvn]   required: rx.Observable>,java.lang.reflect.Type,java.lang.Class
      [mvn]   found: rx.Observable>,com.microsoft.azure.LongRunningOperationOptions,java.lang.reflect.Type,java.lang.Class
      [mvn]   reason: cannot infer type-variable(s) T,THeader
      [mvn]     (actual and formal argument lists differ in length)
      [mvn] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project azure-mgmt-billing: Compilation failure
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/implementation/PriceSheetsInner.java:[130,39] method getPostOrDeleteResultWithHeadersAsync in class com.microsoft.azure.AzureClient cannot be applied to given types;
      [mvn] [ERROR]   required: rx.Observable>,java.lang.reflect.Type,java.lang.Class
      [mvn] [ERROR]   found: rx.Observable>,com.microsoft.azure.LongRunningOperationOptions,java.lang.reflect.Type,java.lang.Class
      [mvn] [ERROR]   reason: cannot infer type-variable(s) T,THeader
      [mvn] [ERROR]     (actual and formal argument lists differ in length)
      [mvn] [ERROR] -> [Help 1]
      [mvn] [ERROR] 
      [mvn] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [mvn] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [mvn] [ERROR] 
      [mvn] [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [mvn] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
      Unable to get details about the head commit. This is probably because the head commit is in a fork that we don't have permission to read from. HttpError: Not Found {"name":"HttpError","status":404,"headers":{"access-control-allow-origin":"*","access-control-expose-headers":"ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset","connection":"close","content-encoding":"gzip","content-security-policy":"default-src 'none'","content-type":"application/json; charset=utf-8","date":"Mon, 14 Sep 2020 02:29:35 GMT","referrer-policy":"origin-when-cross-origin, strict-origin-when-cross-origin","server":"GitHub.com","status":"404 Not Found","strict-transport-security":"max-age=31536000; includeSubdomains; preload","transfer-encoding":"chunked","vary":"Accept-Encoding, Accept, X-Requested-With","x-content-type-options":"nosniff","x-frame-options":"deny","x-github-media-type":"github.v3; param=machine-man-preview; format=json","x-github-request-id":"0540:34A7:1775082:26D21B6:5F5ED58F","x-xss-protection":"1; mode=block"},"request":{"method":"POST","url":"https://api.github.com/app/installations//access_tokens","headers":{"accept":"application/vnd.github.machine-man-preview+json","user-agent":"octokit.js/16.43.1 Node.js/13.14.0 (Linux 5.4; x64)","authorization":"bearer [REDACTED]","content-type":"application/json; charset=utf-8"},"body":"{}","request":{"validate":{"commit_sha":{"alias":"ref","deprecated":true,"type":"string"},"owner":{"required":true,"type":"string"},"ref":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"sha":{"alias":"ref","deprecated":true,"type":"string"}}}},"documentation_url":"https://docs.github.com/rest"}
    • ⚠️sdk/billing/mgmt-v2019_10_01_preview [View full logs]  [Release SDK Changes]
        [mvn] [ERROR] COMPILATION ERROR : 
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/billing/mgmt-v2019_10_01_preview/src/main/java/com/microsoft/azure/management/billing/v2019_10_01_preview/implementation/PriceSheetsInner.java:[146,39] method getPostOrDeleteResultWithHeadersAsync in class com.microsoft.azure.AzureClient cannot be applied to given types;
        [mvn]   required: rx.Observable>,java.lang.reflect.Type,java.lang.Class
        [mvn]   found: rx.Observable>,com.microsoft.azure.LongRunningOperationOptions,java.lang.reflect.Type,java.lang.Class
        [mvn]   reason: cannot infer type-variable(s) T,THeader
        [mvn]     (actual and formal argument lists differ in length)
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/billing/mgmt-v2019_10_01_preview/src/main/java/com/microsoft/azure/management/billing/v2019_10_01_preview/implementation/PriceSheetsInner.java:[303,39] method getPostOrDeleteResultWithHeadersAsync in class com.microsoft.azure.AzureClient cannot be applied to given types;
        [mvn]   required: rx.Observable>,java.lang.reflect.Type,java.lang.Class
        [mvn]   found: rx.Observable>,com.microsoft.azure.LongRunningOperationOptions,java.lang.reflect.Type,java.lang.Class
        [mvn]   reason: cannot infer type-variable(s) T,THeader
        [mvn]     (actual and formal argument lists differ in length)
        [mvn] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project azure-mgmt-billing: Compilation failure: Compilation failure: 
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/billing/mgmt-v2019_10_01_preview/src/main/java/com/microsoft/azure/management/billing/v2019_10_01_preview/implementation/PriceSheetsInner.java:[146,39] method getPostOrDeleteResultWithHeadersAsync in class com.microsoft.azure.AzureClient cannot be applied to given types;
        [mvn] [ERROR]   required: rx.Observable>,java.lang.reflect.Type,java.lang.Class
        [mvn] [ERROR]   found: rx.Observable>,com.microsoft.azure.LongRunningOperationOptions,java.lang.reflect.Type,java.lang.Class
        [mvn] [ERROR]   reason: cannot infer type-variable(s) T,THeader
        [mvn] [ERROR]     (actual and formal argument lists differ in length)
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/billing/mgmt-v2019_10_01_preview/src/main/java/com/microsoft/azure/management/billing/v2019_10_01_preview/implementation/PriceSheetsInner.java:[303,39] method getPostOrDeleteResultWithHeadersAsync in class com.microsoft.azure.AzureClient cannot be applied to given types;
        [mvn] [ERROR]   required: rx.Observable>,java.lang.reflect.Type,java.lang.Class
        [mvn] [ERROR]   found: rx.Observable>,com.microsoft.azure.LongRunningOperationOptions,java.lang.reflect.Type,java.lang.Class
        [mvn] [ERROR]   reason: cannot infer type-variable(s) T,THeader
        [mvn] [ERROR]     (actual and formal argument lists differ in length)
        [mvn] [ERROR] -> [Help 1]
        [mvn] [ERROR] 
        [mvn] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [mvn] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
        [mvn] [ERROR] 
        [mvn] [ERROR] For more information about the errors and possible solutions, please read the following articles:
        [mvn] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
        Unable to get details about the head commit. This is probably because the head commit is in a fork that we don't have permission to read from. HttpError: Not Found {"name":"HttpError","status":404,"headers":{"access-control-allow-origin":"*","access-control-expose-headers":"ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset","connection":"close","content-encoding":"gzip","content-security-policy":"default-src 'none'","content-type":"application/json; charset=utf-8","date":"Mon, 14 Sep 2020 02:29:45 GMT","referrer-policy":"origin-when-cross-origin, strict-origin-when-cross-origin","server":"GitHub.com","status":"404 Not Found","strict-transport-security":"max-age=31536000; includeSubdomains; preload","transfer-encoding":"chunked","vary":"Accept-Encoding, Accept, X-Requested-With","x-content-type-options":"nosniff","x-frame-options":"deny","x-github-media-type":"github.v3; param=machine-man-preview; format=json","x-github-request-id":"0545:3CFC:14B4BAF:23E56DC:5F5ED599","x-xss-protection":"1; mode=block"},"request":{"method":"POST","url":"https://api.github.com/app/installations//access_tokens","headers":{"accept":"application/vnd.github.machine-man-preview+json","user-agent":"octokit.js/16.43.1 Node.js/13.14.0 (Linux 5.4; x64)","authorization":"bearer [REDACTED]","content-type":"application/json; charset=utf-8"},"body":"{}","request":{"validate":{"commit_sha":{"alias":"ref","deprecated":true,"type":"string"},"owner":{"required":true,"type":"string"},"ref":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"sha":{"alias":"ref","deprecated":true,"type":"string"}}}},"documentation_url":"https://docs.github.com/rest"}
      • ⚠️sdk/billing/mgmt-v2020_05_01 [View full logs]  [Release SDK Changes]
          [mvn] [ERROR] COMPILATION ERROR : 
          [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/billing/mgmt-v2020_05_01/src/main/java/com/microsoft/azure/management/billing/v2020_05_01/implementation/InvoicesInner.java:[603,39] method getPostOrDeleteResultWithHeadersAsync in class com.microsoft.azure.AzureClient cannot be applied to given types;
          [mvn]   required: rx.Observable>,java.lang.reflect.Type,java.lang.Class
          [mvn]   found: rx.Observable>,com.microsoft.azure.LongRunningOperationOptions,java.lang.reflect.Type,java.lang.Class
          [mvn]   reason: cannot infer type-variable(s) T,THeader
          [mvn]     (actual and formal argument lists differ in length)
          [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/billing/mgmt-v2020_05_01/src/main/java/com/microsoft/azure/management/billing/v2020_05_01/implementation/InvoicesInner.java:[957,39] method getPostOrDeleteResultWithHeadersAsync in class com.microsoft.azure.AzureClient cannot be applied to given types;
          [mvn]   required: rx.Observable>,java.lang.reflect.Type,java.lang.Class
          [mvn]   found: rx.Observable>,com.microsoft.azure.LongRunningOperationOptions,java.lang.reflect.Type,java.lang.Class
          [mvn]   reason: cannot infer type-variable(s) T,THeader
          [mvn]     (actual and formal argument lists differ in length)
          [mvn] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project azure-mgmt-billing: Compilation failure: Compilation failure: 
          [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/billing/mgmt-v2020_05_01/src/main/java/com/microsoft/azure/management/billing/v2020_05_01/implementation/InvoicesInner.java:[603,39] method getPostOrDeleteResultWithHeadersAsync in class com.microsoft.azure.AzureClient cannot be applied to given types;
          [mvn] [ERROR]   required: rx.Observable>,java.lang.reflect.Type,java.lang.Class
          [mvn] [ERROR]   found: rx.Observable>,com.microsoft.azure.LongRunningOperationOptions,java.lang.reflect.Type,java.lang.Class
          [mvn] [ERROR]   reason: cannot infer type-variable(s) T,THeader
          [mvn] [ERROR]     (actual and formal argument lists differ in length)
          [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/billing/mgmt-v2020_05_01/src/main/java/com/microsoft/azure/management/billing/v2020_05_01/implementation/InvoicesInner.java:[957,39] method getPostOrDeleteResultWithHeadersAsync in class com.microsoft.azure.AzureClient cannot be applied to given types;
          [mvn] [ERROR]   required: rx.Observable>,java.lang.reflect.Type,java.lang.Class
          [mvn] [ERROR]   found: rx.Observable>,com.microsoft.azure.LongRunningOperationOptions,java.lang.reflect.Type,java.lang.Class
          [mvn] [ERROR]   reason: cannot infer type-variable(s) T,THeader
          [mvn] [ERROR]     (actual and formal argument lists differ in length)
          [mvn] [ERROR] -> [Help 1]
          [mvn] [ERROR] 
          [mvn] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
          [mvn] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
          [mvn] [ERROR] 
          [mvn] [ERROR] For more information about the errors and possible solutions, please read the following articles:
          [mvn] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
          Unable to get details about the head commit. This is probably because the head commit is in a fork that we don't have permission to read from. HttpError: Not Found {"name":"HttpError","status":404,"headers":{"access-control-allow-origin":"*","access-control-expose-headers":"ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset","connection":"close","content-encoding":"gzip","content-security-policy":"default-src 'none'","content-type":"application/json; charset=utf-8","date":"Mon, 14 Sep 2020 02:29:54 GMT","referrer-policy":"origin-when-cross-origin, strict-origin-when-cross-origin","server":"GitHub.com","status":"404 Not Found","strict-transport-security":"max-age=31536000; includeSubdomains; preload","transfer-encoding":"chunked","vary":"Accept-Encoding, Accept, X-Requested-With","x-content-type-options":"nosniff","x-frame-options":"deny","x-github-media-type":"github.v3; param=machine-man-preview; format=json","x-github-request-id":"0580:1B87:606F5C:F2F4BE:5F5ED5A2","x-xss-protection":"1; mode=block"},"request":{"method":"POST","url":"https://api.github.com/app/installations//access_tokens","headers":{"accept":"application/vnd.github.machine-man-preview+json","user-agent":"octokit.js/16.43.1 Node.js/13.14.0 (Linux 5.4; x64)","authorization":"bearer [REDACTED]","content-type":"application/json; charset=utf-8"},"body":"{}","request":{"validate":{"commit_sha":{"alias":"ref","deprecated":true,"type":"string"},"owner":{"required":true,"type":"string"},"ref":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"sha":{"alias":"ref","deprecated":true,"type":"string"}}}},"documentation_url":"https://docs.github.com/rest"}

        @openapi-sdkautomation
        Copy link

        openapi-sdkautomation bot commented Jul 28, 2020

        azure-sdk-for-python - Release

        - Breaking Change detected in SDK

        ⚠️ warning [Logs] [Expand Details]
        • ⚠️ Generate from 91b4a2e with merge commit 7a82688. SDK Automation 13.0.17.20200909.5
        • ⚠️azure-mgmt-billing [View full logs]  [Release SDK Changes] Breaking Change Detected
          [build_conf] INFO:packaging_tools:Building template azure-mgmt-billing
          [build_conf] INFO:packaging_tools.conf:Skipping default conf since the file exists
          [build_conf] INFO:packaging_tools:Skipping CHANGELOG.md template, since a previous one was found
          [build_conf] INFO:packaging_tools:Template done azure-mgmt-billing
          [build_package] /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
          [build_package]   warnings.warn(msg)
          [build_package] /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
          [build_package]   warnings.warn(msg)
          Unable to get details about the head commit. This is probably because the head commit is in a fork that we don't have permission to read from. HttpError: Not Found {"name":"HttpError","status":404,"headers":{"access-control-allow-origin":"*","access-control-expose-headers":"ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset","connection":"close","content-encoding":"gzip","content-security-policy":"default-src 'none'","content-type":"application/json; charset=utf-8","date":"Mon, 14 Sep 2020 02:18:37 GMT","referrer-policy":"origin-when-cross-origin, strict-origin-when-cross-origin","server":"GitHub.com","status":"404 Not Found","strict-transport-security":"max-age=31536000; includeSubdomains; preload","transfer-encoding":"chunked","vary":"Accept-Encoding, Accept, X-Requested-With","x-content-type-options":"nosniff","x-frame-options":"deny","x-github-media-type":"github.v3; param=machine-man-preview; format=json","x-github-request-id":"0582:7853:232EF13:3BE9CAF:5F5ED2FD","x-xss-protection":"1; mode=block"},"request":{"method":"POST","url":"https://api.github.com/app/installations//access_tokens","headers":{"accept":"application/vnd.github.machine-man-preview+json","user-agent":"octokit.js/16.43.1 Node.js/13.14.0 (Linux 5.4; x64)","authorization":"bearer [REDACTED]","content-type":"application/json; charset=utf-8"},"body":"{}","request":{"validate":{"commit_sha":{"alias":"ref","deprecated":true,"type":"string"},"owner":{"required":true,"type":"string"},"ref":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"sha":{"alias":"ref","deprecated":true,"type":"string"}}}},"documentation_url":"https://docs.github.com/rest"}
          [breaking_change_setup] Ignoring mock: markers 'python_version <= "2.7"' don't match your environment
          [ChangeLog] Size of delta 96.323% size of original (original: 72877 chars, delta: 70197 chars)
          [ChangeLog] **Features**
          [ChangeLog] 
          [ChangeLog]   - Added operation InvoicesOperations.download_billing_subscription_invoice
          [ChangeLog]   - Added operation InvoicesOperations.list_by_billing_account
          [ChangeLog]   - Added operation InvoicesOperations.download_invoice
          [ChangeLog]   - Added operation InvoicesOperations.get_by_id
          [ChangeLog]   - Added operation InvoicesOperations.get_by_subscription_and_invoice_id
          [ChangeLog]   - Added operation InvoicesOperations.list_by_billing_profile
          [ChangeLog]   - Added operation InvoicesOperations.list_by_billing_subscription
          [ChangeLog]   - Added operation group TransactionsOperations
          [ChangeLog]   - Added operation group BillingRoleDefinitionsOperations
          [ChangeLog]   - Added operation group AvailableBalancesOperations
          [ChangeLog]   - Added operation group CustomersOperations
          [ChangeLog]   - Added operation group InvoiceSectionsOperations
          [ChangeLog]   - Added operation group ProductsOperations
          [ChangeLog]   - Added operation group BillingSubscriptionsOperations
          [ChangeLog]   - Added operation group BillingPropertyOperations
          [ChangeLog]   - Added operation group PoliciesOperations
          [ChangeLog]   - Added operation group BillingProfilesOperations
          [ChangeLog]   - Added operation group AgreementsOperations
          [ChangeLog]   - Added operation group BillingAccountsOperations
          [ChangeLog]   - Added operation group InstructionsOperations
          [ChangeLog]   - Added operation group BillingPermissionsOperations
          [ChangeLog]   - Added operation group AddressOperations
          [ChangeLog]   - Added operation group BillingRoleAssignmentsOperations
          [ChangeLog] 
          [ChangeLog] **Breaking changes**
          [ChangeLog] 
          [ChangeLog]   - Model EnrollmentAccount has a new signature
          [ChangeLog]   - Model Invoice has a new signature
          [ChangeLog]   - Removed operation InvoicesOperations.get_latest
          [ChangeLog]   - Removed operation InvoicesOperations.list

        @openapi-sdkautomation
        Copy link

        openapi-sdkautomation bot commented Jul 28, 2020

        Trenton Generation - Release

        No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

        @openapi-sdkautomation
        Copy link

        openapi-sdkautomation bot commented Jul 28, 2020

        azure-sdk-for-python-track2 - Release

        No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

        @openapi-sdkautomation
        Copy link

        openapi-sdkautomation bot commented Jul 28, 2020

        azure-sdk-for-net - Release

        ️✔️ succeeded [Logs] [Expand Details]
        • ️✔️ Generate from 91b4a2e with merge commit 7a82688. SDK Automation 13.0.17.20200909.5
          [AutoRest] realpath(): Permission denied
          [AutoRest] realpath(): Permission denied
          [AutoRest] realpath(): Permission denied
          [AutoRest] realpath(): Permission denied
          [AutoRest] realpath(): Permission denied
          [AutoRest] realpath(): Permission denied
        • ️✔️Microsoft.Azure.Management.Billing [View full logs]  [Release SDK Changes]
          Unable to get details about the head commit. This is probably because the head commit is in a fork that we don't have permission to read from. HttpError: Not Found {"name":"HttpError","status":404,"headers":{"access-control-allow-origin":"*","access-control-expose-headers":"ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset","connection":"close","content-encoding":"gzip","content-security-policy":"default-src 'none'","content-type":"application/json; charset=utf-8","date":"Mon, 14 Sep 2020 02:20:54 GMT","referrer-policy":"origin-when-cross-origin, strict-origin-when-cross-origin","server":"GitHub.com","status":"404 Not Found","strict-transport-security":"max-age=31536000; includeSubdomains; preload","transfer-encoding":"chunked","vary":"Accept-Encoding, Accept, X-Requested-With","x-content-type-options":"nosniff","x-frame-options":"deny","x-github-media-type":"github.v3; param=machine-man-preview; format=json","x-github-request-id":"05C0:5001:214B476:39981C2:5F5ED386","x-xss-protection":"1; mode=block"},"request":{"method":"POST","url":"https://api.github.com/app/installations//access_tokens","headers":{"accept":"application/vnd.github.machine-man-preview+json","user-agent":"octokit.js/16.43.1 Node.js/13.14.0 (Linux 5.4; x64)","authorization":"bearer [REDACTED]","content-type":"application/json; charset=utf-8"},"body":"{}","request":{"validate":{"commit_sha":{"alias":"ref","deprecated":true,"type":"string"},"owner":{"required":true,"type":"string"},"ref":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"sha":{"alias":"ref","deprecated":true,"type":"string"}}}},"documentation_url":"https://docs.github.com/rest"}

        @openapi-sdkautomation
        Copy link

        openapi-sdkautomation bot commented Jul 28, 2020

        azure-sdk-for-js - Release

        ️✔️ succeeded [Logs] [Expand Details]
        • ️✔️ Generate from 91b4a2e with merge commit 7a82688. SDK Automation 13.0.17.20200909.5
        • ️✔️@azure/arm-billing [View full logs]  [Release SDK Changes]
          Only show 100 items here, please refer to log for details.
          [npmPack] npm WARN deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-node-resolve.
          [npmPack] npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
          [npmPack] npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
          [npmPack] npm notice created a lockfile as package-lock.json. You should commit this file.
          [npmPack] loaded rollup.config.js with warnings
          [npmPack] (!) Unused external imports
          [npmPack] default imported from external module 'rollup' but never used
          [npmPack] 
          [npmPack] ./esm/billingManagementClient.js → ./dist/arm-billing.js...
          [npmPack] created ./dist/arm-billing.js in 608ms
          [npmPack] npm notice 
          [npmPack] npm notice package: @azure/[email protected]
          [npmPack] npm notice === Tarball Contents === 
          [npmPack] npm notice 1.8kB   esm/operations/address.js                           
          [npmPack] npm notice 460B    esm/models/addressMappers.js                        
          [npmPack] npm notice 3.5kB   esm/operations/agreements.js                        
          [npmPack] npm notice 1.0kB   esm/models/agreementsMappers.js                     
          [npmPack] npm notice 298.4kB dist/arm-billing.js                                 
          [npmPack] npm notice 107.6kB dist/arm-billing.min.js                             
          [npmPack] npm notice 1.9kB   esm/operations/availableBalances.js                 
          [npmPack] npm notice 1.0kB   esm/models/availableBalancesMappers.js              
          [npmPack] npm notice 7.4kB   esm/operations/billingAccounts.js                   
          [npmPack] npm notice 1.1kB   esm/models/billingAccountsMappers.js                
          [npmPack] npm notice 2.9kB   esm/billingManagementClient.js                      
          [npmPack] npm notice 2.5kB   esm/billingManagementClientContext.js               
          [npmPack] npm notice 3.3kB   esm/operations/billingPeriods.js                    
          [npmPack] npm notice 1.0kB   esm/models/billingPeriodsMappers.js                 
          [npmPack] npm notice 8.1kB   esm/operations/billingPermissions.js                
          [npmPack] npm notice 490B    esm/models/billingPermissionsMappers.js             
          [npmPack] npm notice 6.4kB   esm/operations/billingProfiles.js                   
          [npmPack] npm notice 1.1kB   esm/models/billingProfilesMappers.js                
          [npmPack] npm notice 2.8kB   esm/operations/billingPropertyOperations.js         
          [npmPack] npm notice 1.0kB   esm/models/billingPropertyOperationsMappers.js      
          [npmPack] npm notice 13.6kB  esm/operations/billingRoleAssignments.js            
          [npmPack] npm notice 1.0kB   esm/models/billingRoleAssignmentsMappers.js         
          [npmPack] npm notice 10.0kB  esm/operations/billingRoleDefinitions.js            
          [npmPack] npm notice 1.0kB   esm/models/billingRoleDefinitionsMappers.js         
          [npmPack] npm notice 14.3kB  esm/operations/billingSubscriptions.js              
          [npmPack] npm notice 1.2kB   esm/models/billingSubscriptionsMappers.js           
          [npmPack] npm notice 5.3kB   esm/operations/customers.js                         
          [npmPack] npm notice 1.0kB   esm/models/customersMappers.js                      
          [npmPack] npm notice 3.1kB   esm/operations/enrollmentAccounts.js                
          [npmPack] npm notice 1.0kB   esm/models/enrollmentAccountsMappers.js             
          [npmPack] npm notice 345B    esm/models/index.js                                 
          [npmPack] npm notice 1.0kB   esm/operations/index.js                             
          [npmPack] npm notice 5.0kB   esm/operations/instructions.js                      
          [npmPack] npm notice 1.0kB   esm/models/instructionsMappers.js                   
          [npmPack] npm notice 13.8kB  esm/operations/invoices.js                          
          [npmPack] npm notice 6.9kB   esm/operations/invoiceSections.js                   
          [npmPack] npm notice 1.1kB   esm/models/invoiceSectionsMappers.js                
          [npmPack] npm notice 1.1kB   esm/models/invoicesMappers.js                       
          [npmPack] npm notice 95.1kB  esm/models/mappers.js                               
          [npmPack] npm notice 2.3kB   esm/operations/operations.js                        
          [npmPack] npm notice 472B    esm/models/operationsMappers.js                     
          [npmPack] npm notice 5.8kB   esm/models/parameters.js                            
          [npmPack] npm notice 5.2kB   esm/operations/policies.js                          
          [npmPack] npm notice 996B    esm/models/policiesMappers.js                       
          [npmPack] npm notice 12.5kB  esm/operations/products.js                          
          [npmPack] npm notice 1.2kB   esm/models/productsMappers.js                       
          [npmPack] npm notice 983B    rollup.config.js                                    
          [npmPack] npm notice 2.6kB   esm/operations/transactions.js                      
          [npmPack] npm notice 1.0kB   esm/models/transactionsMappers.js                   
          [npmPack] npm notice 1.6kB   package.json                                        
          [npmPack] npm notice 457B    tsconfig.json                                       
          [npmPack] npm notice 751B    esm/operations/address.d.ts.map                     
          [npmPack] npm notice 1.0kB   esm/operations/address.js.map                       
          [npmPack] npm notice 206B    esm/models/addressMappers.d.ts.map                  
          [npmPack] npm notice 219B    esm/models/addressMappers.js.map                    
          [npmPack] npm notice 1.6kB   esm/operations/agreements.d.ts.map                  
          [npmPack] npm notice 2.1kB   esm/operations/agreements.js.map                    
          [npmPack] npm notice 598B    esm/models/agreementsMappers.d.ts.map               
          [npmPack] npm notice 611B    esm/models/agreementsMappers.js.map                 
          [npmPack] npm notice 679.9kB dist/arm-billing.js.map                             
          [npmPack] npm notice 84.1kB  dist/arm-billing.min.js.map                         
          [npmPack] npm notice 819B    esm/operations/availableBalances.d.ts.map           
          [npmPack] npm notice 1.1kB   esm/operations/availableBalances.js.map             
          [npmPack] npm notice 599B    esm/models/availableBalancesMappers.d.ts.map        
          [npmPack] npm notice 612B    esm/models/availableBalancesMappers.js.map          
          [npmPack] npm notice 2.5kB   esm/operations/billingAccounts.d.ts.map             
          [npmPack] npm notice 3.9kB   esm/operations/billingAccounts.js.map               
          [npmPack] npm notice 647B    esm/models/billingAccountsMappers.d.ts.map          
          [npmPack] npm notice 660B    esm/models/billingAccountsMappers.js.map            
          [npmPack] npm notice 1.3kB   esm/billingManagementClient.d.ts.map                
          [npmPack] npm notice 2.0kB   esm/billingManagementClient.js.map                  
          [npmPack] npm notice 481B    esm/billingManagementClientContext.d.ts.map         
          [npmPack] npm notice 1.3kB   esm/billingManagementClientContext.js.map           
          [npmPack] npm notice 1.4kB   esm/operations/billingPeriods.d.ts.map              
          [npmPack] npm notice 2.1kB   esm/operations/billingPeriods.js.map                
          [npmPack] npm notice 606B    esm/models/billingPeriodsMappers.d.ts.map           
          [npmPack] npm notice 619B    esm/models/billingPeriodsMappers.js.map             
          [npmPack] npm notice 3.7kB   esm/operations/billingPermissions.d.ts.map          
          [npmPack] npm notice 4.8kB   esm/operations/billingPermissions.js.map            
          [npmPack] npm notice 231B    esm/models/billingPermissionsMappers.d.ts.map       
          [npmPack] npm notice 244B    esm/models/billingPermissionsMappers.js.map         
          [npmPack] npm notice 2.0kB   esm/operations/billingProfiles.d.ts.map             
          [npmPack] npm notice 3.2kB   esm/operations/billingProfiles.js.map               
          [npmPack] npm notice 621B    esm/models/billingProfilesMappers.d.ts.map          
          [npmPack] npm notice 634B    esm/models/billingProfilesMappers.js.map            
          [npmPack] npm notice 999B    esm/operations/billingPropertyOperations.d.ts.map   
          [npmPack] npm notice 1.6kB   esm/operations/billingPropertyOperations.js.map     

        @openapi-sdkautomation
        Copy link

        openapi-sdkautomation bot commented Jul 28, 2020

        azure-sdk-for-go - Release

        ⚠️ warning [Logs] [Expand Details]
        • ⚠️ Generate from 91b4a2e with merge commit 7a82688. SDK Automation 13.0.17.20200909.5
        • ️✔️billing/mgmt/2020-05-01 [View full logs]  [Release SDK Changes]
          Unable to get details about the head commit. This is probably because the head commit is in a fork that we don't have permission to read from. HttpError: Not Found {"name":"HttpError","status":404,"headers":{"access-control-allow-origin":"*","access-control-expose-headers":"ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset","connection":"close","content-encoding":"gzip","content-security-policy":"default-src 'none'","content-type":"application/json; charset=utf-8","date":"Mon, 14 Sep 2020 02:30:01 GMT","referrer-policy":"origin-when-cross-origin, strict-origin-when-cross-origin","server":"GitHub.com","status":"404 Not Found","strict-transport-security":"max-age=31536000; includeSubdomains; preload","transfer-encoding":"chunked","vary":"Accept-Encoding, Accept, X-Requested-With","x-content-type-options":"nosniff","x-frame-options":"deny","x-github-media-type":"github.v3; param=machine-man-preview; format=json","x-github-request-id":"0401:183C:BFDBC4:1B4FCF7:5F5ED5A9","x-xss-protection":"1; mode=block"},"request":{"method":"POST","url":"https://api.github.com/app/installations//access_tokens","headers":{"accept":"application/vnd.github.machine-man-preview+json","user-agent":"octokit.js/16.43.1 Node.js/13.14.0 (Linux 5.4; x64)","authorization":"bearer [REDACTED]","content-type":"application/json; charset=utf-8"},"body":"{}","request":{"validate":{"commit_sha":{"alias":"ref","deprecated":true,"type":"string"},"owner":{"required":true,"type":"string"},"ref":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"sha":{"alias":"ref","deprecated":true,"type":"string"}}}},"documentation_url":"https://docs.github.com/rest"}
        • ⚠️preview/billing/mgmt/2017-02-27-preview [View full logs
          No file is changed.
        • ⚠️preview/billing/mgmt/2017-04-24-preview [View full logs
          No file is changed.
        • ⚠️preview/billing/mgmt/2018-03-01-preview [View full logs
          No file is changed.
        • ⚠️preview/billing/mgmt/2018-11-01-preview [View full logs
          No file is changed.

        @azuresdkci
        Copy link
        Contributor

        Can one of the admins verify this patch?

        @LianwMS LianwMS force-pushed the lianw/fixBillingSwagger branch from 693d32b to 91b4a2e Compare July 29, 2020 03:12
        @azure-pipelines
        Copy link

        Azure Pipelines successfully started running 1 pipeline(s).

        @asarkar84
        Copy link
        Contributor

        Approved

        @ChenTanyi
        Copy link
        Contributor

        Per Retirement of Preview guidance, products in Preview for over one year need to move to GA or retire; require CVP exemption after 1 year in preview.

        @ChenTanyi ChenTanyi added Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 and removed BreakingChangeReviewRequired labels Sep 14, 2020
        @ChenTanyi ChenTanyi merged commit 7a82688 into Azure:master Sep 14, 2020
        @openapi-sdkautomation
        Copy link

        openapi-sdkautomation bot commented Sep 14, 2020

        azure-resource-manager-schemas - Release

        ⚠️ warning [Logs] [Expand Details]
        • ⚠️ Generate from 91b4a2e with merge commit 7a82688. Schema Automation 13.0.17.20200909.5
          Failed to find any diff after autorest so no changed packages was found.

        nitegupt pushed a commit to nitegupt/azure-rest-api-specs that referenced this pull request Sep 25, 2020
        iscai-msft added a commit to iscai-msft/azure-rest-api-specs that referenced this pull request Oct 14, 2020
        …into formrecognizer_regeneration
        
        * 'master' of https://github.com/Azure/azure-rest-api-specs:
          [Hub Generated] Review request for Microsoft.DigitalTwins to add version stable/2020-10-31 (Azure#10653)
          [SRP] Introduce 2020-08-01-preview version. (Azure#10570)
          Update Readmes for Python for Automanage (Azure#10633)
          Incident entities (Azure#10648)
          Fix Billing Swagger (Azure#10276)
          Connected machine az cli (Azure#10640)
          [Azure Stack] Updates to Azs.AzureBridge.Admin spec (Azure#9035)
        Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
        Labels
        Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 CI-BreakingChange-Python
        Projects
        None yet
        Development

        Successfully merging this pull request may close these issues.

        4 participants