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

Adding PowerPlatform swagger. #10651

Merged
merged 44 commits into from
Sep 17, 2020
Merged

Adding PowerPlatform swagger. #10651

merged 44 commits into from
Sep 17, 2020

Conversation

rapatank
Copy link
Contributor

@rapatank rapatank commented Aug 31, 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.

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Aug 31, 2020

[Staging] Swagger Validation Report

️✔️BreakingChange [Detail]
 There are no breaking changes. 
️✔️LintDiff [Detail]
 Validation passes for LintDiff. 
️✔️Avocado [Detail]
 Validation passes for Avocado. 
️✔️ModelValidation [Detail]
 Validation passes for ModelValidation. 
️✔️SemanticValidation [Detail]
 Validation passes for SemanticValidation. 
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 Aug 31, 2020

azure-sdk-for-python - Release

⚠️ warning [Logs] [Expand Details]
  • ⚠️ Generate from 5e23a00 with merge commit 75f089d. SDK Automation 13.0.17.20200916.11
    Failed to find any changed packages. Please check the changed file list.
    /z/work/azure-sdk-for-python/sdk/azure-mgmt/powerplatform/__init__.py
    /z/work/azure-sdk-for-python/sdk/azure-mgmt/powerplatform/_configuration.py
    /z/work/azure-sdk-for-python/sdk/azure-mgmt/powerplatform/_power_platform.py
    /z/work/azure-sdk-for-python/sdk/azure-mgmt/powerplatform/models/__init__.py
    /z/work/azure-sdk-for-python/sdk/azure-mgmt/powerplatform/models/_models.py
    /z/work/azure-sdk-for-python/sdk/azure-mgmt/powerplatform/models/_models_py3.py
    /z/work/azure-sdk-for-python/sdk/azure-mgmt/powerplatform/models/_paged_models.py
    /z/work/azure-sdk-for-python/sdk/azure-mgmt/powerplatform/models/_power_platform_enums.py
    /z/work/azure-sdk-for-python/sdk/azure-mgmt/powerplatform/operations/__init__.py
    /z/work/azure-sdk-for-python/sdk/azure-mgmt/powerplatform/operations/_enterprise_policies_operations.py
    /z/work/azure-sdk-for-python/sdk/azure-mgmt/powerplatform/operations/_operations.py
    /z/work/azure-sdk-for-python/sdk/azure-mgmt/powerplatform/operations/_private_endpoint_connections_operations.py
    /z/work/azure-sdk-for-python/sdk/azure-mgmt/powerplatform/operations/_private_link_resources_operations.py
    /z/work/azure-sdk-for-python/sdk/azure-mgmt/powerplatform/operations/_subnets_operations.py
    /z/work/azure-sdk-for-python/sdk/azure-mgmt/powerplatform/version.py

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Aug 31, 2020

azure-sdk-for-js - Release

⚠️ warning [Logs] [Expand Details]
  • ⚠️ Generate from 5e23a00 with merge commit 75f089d. SDK Automation 13.0.17.20200916.11
    Failed to find any diff after autorest so no changed packages was found.

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Aug 31, 2020

azure-sdk-for-java - Release

⚠️ warning [Logs] [Expand Details]
  • ⚠️ Generate from 5e23a00 with merge commit 75f089d. SDK Automation 13.0.17.20200916.11
    Failed to find any diff after autorest so no changed packages was found.

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Aug 31, 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 Aug 31, 2020

azure-resource-manager-schemas - 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 Aug 31, 2020

azure-sdk-for-go - Release

️✔️ succeeded [Logs] [Expand Details]

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Aug 31, 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

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Aug 31, 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

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Aug 31, 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-assignment-bot openapi-assignment-bot bot added the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Sep 1, 2020
@raych1
Copy link
Member

raych1 commented Sep 1, 2020

@rapatank, please fix the CI check failures.

@raych1 raych1 added the Reviewed-ChangesRequested <valid label in PR review process>add this label when assignee request changes after review label Sep 1, 2020
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@raych1
Copy link
Member

raych1 commented Sep 11, 2020

Please go through the contribution checklist added as part of the review and mark them completed. This is a requirement before review can be continued.

@rapatank , could you reply chiragg4u if you complete above ask to start ARM review?

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

}
}
},
"Subnet": {
Copy link
Contributor

Choose a reason for hiding this comment

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

Subnet [](start = 5, length = 6)

I assume you are modeling it as a network subnet resource have you reviewed the network swagger definitions
specification\network\resource-manager\Microsoft.Network\stable\2018-11-01\virtualNetwork.json

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

@chiragg4u
Copy link
Contributor

Please resolve the model validation failures

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

"$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter"
Copy link
Member

Choose a reason for hiding this comment

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

This reference doesn't exist now and also needs to be updated.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks! done

"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter"
Copy link
Member

Choose a reason for hiding this comment

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

Same here.

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

"operationId": "Operations_List",
"parameters": [
{
"$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter"
Copy link
Member

Choose a reason for hiding this comment

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

Same here.

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, thanks!

@raych1 raych1 added the Reviewed-ChangesRequested <valid label in PR review process>add this label when assignee request changes after review label Sep 14, 2020
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@rapatank rapatank removed the Reviewed-ChangesRequested <valid label in PR review process>add this label when assignee request changes after review label Sep 14, 2020
},
"description": "An error response from the PowerPlatform service."
},
"Resource": {
Copy link
Contributor

Choose a reason for hiding this comment

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

As commented in different file; these should refer to global common definitions rather than copying locally.

]
}
},
"/providers/Microsoft.PowerPlatform/operations": {
Copy link
Contributor

Choose a reason for hiding this comment

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

"/providers/Microsoft.PowerPlatform/operations" [](start = 0, length = 51)

Nit: Normally operations API's are kept in the main swagger file.

@chiragg4u
Copy link
Contributor

Looked at the changes, API's seems to be OK and has been reviewed by the team internally. Marking ARMSignOff based on the discussion.

@chiragg4u chiragg4u added ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review and removed WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Sep 17, 2020
@raych1 raych1 merged commit 75f089d into master Sep 17, 2020
nitegupt pushed a commit to nitegupt/azure-rest-api-specs that referenced this pull request Sep 25, 2020
* PowerPlatform RP specifications

* PowerPlatform changes

* Updating powerplatform json

* Update definitions.json

* Updating the schema

* Updated the schema.

* Updates to schema

* Schema update

* Schema update

* Example update

* Update description

* Updating the swagger

* Updating the swagger definition

* Swagger update.

* Swagger updates

* Adding private link changes.

* Updates to readme.md

* Private link updates

* Schema update

* private link update

* response update

* Added systemData

* Updated description.

* Adding subnet configuration

* readme update.

* Adding systemData.

* Updated example

* Update

* Update to systemData

* Updates

* Updates

* Updated the version of common types

* readme.go update

* Update

* Updated version

* version update

* update

* update

* Updated "enterprisePromise" to "enterprisePolicy".

* Updates

* Updates

* Updating to use common type

* updates
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