Skip to content

PortalSettings resource added to the Azure APIM specification #1679

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

Merged
merged 1 commit into from
Sep 25, 2017
Merged

PortalSettings resource added to the Azure APIM specification #1679

merged 1 commit into from
Sep 25, 2017

Conversation

promoisha
Copy link
Contributor

@promoisha promoisha commented Sep 13, 2017

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.

PR information

  • [+ ] The title of the PR is clear and informative.
  • [+ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
  • [+ ] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
  • If applicable, the PR references the bug/issue that it fixes.
  • [+ ] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

@msftclas
Copy link

@promoisha,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

"tags": [
"DelegationSettings"
],
"operationId": "DelegationSettings_CreateOrUpdate",
Copy link
Member

Choose a reason for hiding this comment

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

Add this file to the readme.md under 2017-03-01

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.

"parameters": {
"properties": {
"url": "http://contoso.com/delegation",
"validationKey": "nVF7aKIvr9mV/RM5lOD0sYoi8ThXTRHQP7o66hvUmjCDkPKR3qxPu/otJcNciz2aQdqPuzJH3ECG4TU2yZjQ7Q==",
Copy link

Choose a reason for hiding this comment

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

Should this key be public?

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, as it's not the actual key, but some hashed value of the URL.

@alvadb
Copy link

alvadb commented Sep 15, 2017

There are some linter errors (https://travis-ci.org/Azure/azure-rest-api-specs/jobs/275169528). Please fix.

@promoisha
Copy link
Contributor Author

@alvadb I fixed a bunch of linter warnings and left some minor warnings/errors out of the fix. The error that 'Operations API must be implemented' is not relevant to the resource I'm adding because it's not going to be registered in ARM.

@azuresdkciprbot
Copy link

Hi There,

I am the AutoRest Linter Azure bot. I am here to help. My task is to analyze the situation from the AutoRest linter perspective. Please review the below analysis result:

File: specification/apimanagement/resource-manager/readme.md
Before the PR: Warning(s): 69 Error(s): 22
After the PR: Warning(s): 78 Error(s): 22

AutoRest Linter Guidelines | AutoRest Linter Issues

Send feedback and make AutoRest Linter Azure Bot smarter day by day!

Thanks for your co-operation.

@alvadb
Copy link

alvadb commented Sep 20, 2017

Most of the errors from the linter appear to be from missing examples but there is one that is a casing issue:
{
"type": "Error",
"code": "DefinitionsPropertiesNamesCamelCase",
"message": "Property named: 'Value', for definition: 'QuotaCounterContract' must follow camelCase style. Example: 'value'.",
"id": "R3016",
"validationCategory": "RPCViolation",
"providerNamespace": null,
"resourceType": null,
"sources": [
"file:///home/travis/build/Azure/azure-rest-api-specs/specification/apimanagement/resource-manager/Microsoft.ApiManagement/2017-03-01/apimquotas.json:284:8 ($.definitions.QuotaCounterContract.properties.Value)"
]
}

Can you fix?

Also, there are a couple of semantic issues and the errors appear to indicate that there are duplicate paths. Please check: https://travis-ci.org/Azure/azure-rest-api-specs/jobs/276094929.

@promoisha
Copy link
Contributor Author

@alvadb We'll create a separate task for the error you mentioned, just to keep the current PR clean and to not block it with unrelated fixes. Regarding semantics, waiting for the response from @veronicagg.

@veronicagg
Copy link
Contributor

@promoisha I've replied on the related issue, thanks.

@promoisha
Copy link
Contributor Author

@alvadb I changed the code in order to put the enum values directly in the path, as per https://github.com/Azure/azure-rest-api-specs/issues/1678#issuecomment-331509672. There should be no issues with the portalsettings spec by now. Thanks.

@azuresdkciprbot
Copy link

Hi There,

I am the AutoRest Linter Azure bot. I am here to help. My task is to analyze the situation from the AutoRest linter perspective. Please review the below analysis result:

File: specification/apimanagement/resource-manager/readme.md
Before the PR: Warning(s): 69 Error(s): 22
After the PR: Warning(s): 78 Error(s): 22

💡 Please review potentially introduced Error(s)/Warning(s): Analysis Report 💡

AutoRest Linter Guidelines | AutoRest Linter Issues | Send feedback

Thanks for your co-operation.

@alvadb
Copy link

alvadb commented Sep 25, 2017

Will merge with the linter errors since they will be address in a subsequent check in.

@alvadb alvadb merged commit 5f6b337 into Azure:current Sep 25, 2017
@AutorestCI
Copy link

No modification for AutorestCI/azure-sdk-for-node

@AutorestCI
Copy link

No modification for AutorestCI/azure-sdk-for-python

@AutorestCI
Copy link

No modification for AutorestCI/azure-sdk-for-ruby

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants