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

Added monitor subnet to SapMonitor model #8915

Merged
merged 4 commits into from
Apr 9, 2020
Merged

Added monitor subnet to SapMonitor model #8915

merged 4 commits into from
Apr 9, 2020

Conversation

PakDLiu
Copy link
Contributor

@PakDLiu PakDLiu commented Apr 1, 2020

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:

  • I have reviewed the documentation for the workflow.
  • Validation tools were run on swagger spec(s) and have all been fixed in this PR.
  • The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

  • Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
  • adding/removing APIs.
  • adding/removing properties.
  • adding/removing API-version.
  • adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

  • If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
    Please follow the link to find more details on API review process.

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@azuresdkci
Copy link
Contributor

Can one of the admins verify this patch?

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Apr 1, 2020

azure-sdk-for-java - Release

️✔️ succeeded [Logs] [Expand Details]

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Apr 1, 2020

azure-sdk-for-python - Release

⚠️ warning [Logs] [Expand Details]
  • ⚠️ Generate from ff1fa6d with merge commit 4e19db6. SDK Automation 13.0.17.20200326.3
    Failed to find any diff after autorest so no changed packages was found.

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Apr 1, 2020

azure-sdk-for-js - Release

️✔️ succeeded [Logs] [Expand Details]

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Apr 1, 2020

azure-sdk-for-go - Release

⚠️ warning [Logs] [Expand Details]
  • ⚠️ Generate from ff1fa6d with merge commit 4e19db6. SDK Automation 13.0.17.20200326.3
  • ⚠️preview/hanaonazure/mgmt/2017-11-03-preview [Logs
      No file is changed.

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Apr 1, 2020

    azure-cli-extensions - 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 Apr 1, 2020

    azure-sdk-for-net - 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

    @ArcturusZhang
    Copy link
    Member

    Hi @PakDLiu could you please provide some information about the breaking change? Adding properties to response is identified as a breaking change by the breaking change tool.
    The new field subnet is added only to responses, does this mean that field should be readonly?

    @ArcturusZhang ArcturusZhang added the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Apr 2, 2020
    @PakDLiu
    Copy link
    Contributor Author

    PakDLiu commented Apr 2, 2020

    Yes, I added the new field: monitorSubnet.
    It is required in the request.
    It should also be returned in the response

    @@ -617,6 +617,10 @@
    "readOnly": true,
    "type": "string",
    "description": "The version of the payload running in the Collector VM"
    },
    "monitorSubnet": {
    Copy link
    Member

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    monitorSubnet [](start = 9, length = 13)

    Is this property required?

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    yes

    Copy link
    Member

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    Then this is a breaking change that should be done in a new API version.


    In reply to: 402059679 [](ancestors = 402059679)

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    This is still a preview API version and the API is still in flux.
    We also know that no one outside of our team is using this API yet.

    Copy link
    Member

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    Got it. That's fine then.

    In general, I would recommend working in a development branch in the public or private Swagger repo when the API is still in flux. What's in master branch in this repo is considered public and available for use regardless of the -preview suffix on the API version.


    In reply to: 402062621 [](ancestors = 402062621)

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    I see, thanks!
    Will do that in the future

    @@ -16,7 +16,8 @@
    "enableCustomerAnalytics": true,
    "logAnalyticsWorkspaceArmId": "",
    "logAnalyticsWorkspaceId": "",
    "logAnalyticsWorkspaceSharedKey": ""
    "logAnalyticsWorkspaceSharedKey": "",
    Copy link
    Member

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    "" [](start = 42, length = 2)

    Can you provide example resource IDs for all the properties that are being specified. "" is not really helpful to users. (This comment applies to all examples and properties in the examples.)

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    done

    @majastrz majastrz added ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review and removed ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Apr 2, 2020
    Copy link
    Member

    @majastrz majastrz left a comment

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    Please update examples to make them more meaningful, but the change looks good to me. Signed off from ARM side.

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @ArcturusZhang
    Copy link
    Member

    Hi @PakDLiu could you please resolve the CI failures? (Except the breaking change since it is acceptable for a preview API) then this will be good to merge, thanks

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @PakDLiu
    Copy link
    Contributor Author

    PakDLiu commented Apr 3, 2020

    Didn't notice there were other errors.
    Fixed

    Copy link
    Member

    @ArcturusZhang ArcturusZhang left a comment

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    LGTM 👍

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @akning-ms akning-ms merged commit 4e19db6 into Azure:master Apr 9, 2020
    00Kai0 pushed a commit to 00Kai0/azure-rest-api-specs that referenced this pull request Oct 12, 2020
    * Added monitor subnet to SapMonitor model
    
    * updated examples
    
    * Fixed JSON
    
    * fixed examples
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    5 participants