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

[Hub Generated] Review request for Microsoft.DocumentDB to add version stable/2023-08-15 #25110

Closed

Conversation

rsharm7
Copy link
Contributor

@rsharm7 rsharm7 commented Aug 2, 2023

This is a PR generated at OpenAPI Hub. You can view your work branch via this link.

ARM (Control Plane) API Specification Update Pull Request

PR review workflow diagram

Please understand this diagram before proceeding. It explains how to get your PR approved & merged.

diagram

[1] public repo review queue, private repo review queue
The PRs are processed by time opened, ascending. Your PR may show up on 2nd or later page.
If you addressed Step 1 from the diagram and your PR is not showing up in the queue, ensure the label ARMChangesRequested
is removed from your PR. This should cause the label WaitForARMFeedback to be added.
[2] https://aka.ms/azsdk/support/specreview-channel
[3] List of SDK breaking changes approvers in pinned Teams announcement
[4] public repo merge queue, private repo merge queue

If you need further help with anything, see Getting help section below.

Purpose of this PR

What's the purpose of this PR? Check all that apply. This is mandatory!

  • New API version. (Such PR should have been generated with OpenAPI Hub, per this wiki doc.)
  • Update existing version for a new feature. (This is applicable only when you are revising a private preview API version.)
  • Update existing version to fix swagger quality issues in S360.
  • Other, please clarify:
    • edit this with your clarification

Due diligence checklist

To merge this PR, you must go through the following checklist and confirm you understood
and followed the instructions by checking all the boxes:

ARM API changes review

  • If you want for the ARM team to review this PR, you must add the ARMReview label.
  • The automation may automatically add the ARMReview label, if appropriate.
    If this happens, proceed according to guidance given in GitHub comments also added by the automation.

Breaking change review

If you have any breaking changes as defined in the Breaking Change Policy,
follow the process outlined in the High-level Breaking Change Process doc.

Getting help

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Aug 2, 2023

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
️⚠️Breaking Change(Cross-Version): 207 Warnings warning [Detail]
compared swaggers (via Oad v0.10.4)] new version base version
cosmos-db.json 2023-08-15(d0803bd) 2023-04-15(main)
cosmos-db.json 2023-08-15(d0803bd) 2023-03-15-preview(main)
managedCassandra.json 2023-08-15(d0803bd) 2023-04-15(main)
managedCassandra.json 2023-08-15(d0803bd) 2023-03-15-preview(main)
mongorbac.json 2023-08-15(d0803bd) 2023-04-15(main)
mongorbac.json 2023-08-15(d0803bd) 2023-03-15-preview(main)
notebook.json 2023-08-15(d0803bd) 2023-04-15(main)
notebook.json 2023-08-15(d0803bd) 2023-03-15-preview(main)
privateEndpointConnection.json 2023-08-15(d0803bd) 2023-04-15(main)
privateEndpointConnection.json 2023-08-15(d0803bd) 2023-03-15-preview(main)
privateLinkResources.json 2023-08-15(d0803bd) 2023-04-15(main)
privateLinkResources.json 2023-08-15(d0803bd) 2023-03-15-preview(main)
rbac.json 2023-08-15(d0803bd) 2023-04-15(main)
rbac.json 2023-08-15(d0803bd) 2023-03-15-preview(main)
restorable.json 2023-08-15(d0803bd) 2023-04-15(main)
restorable.json 2023-08-15(d0803bd) 2023-03-15-preview(main)
services.json 2023-08-15(d0803bd) 2023-04-15(main)
services.json 2023-08-15(d0803bd) 2023-03-15-preview(main)

The following breaking changes are detected by comparison with the latest preview version:

Only 24 items are listed, please refer to log for more details.

Rule Message
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/graphs' removed or restructured?
Old: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L1499:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/graphs/{graphName}' removed or restructured?
Old: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L1535:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/partitionMerge' removed or restructured?
Old: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L2388:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/partitionMerge' removed or restructured?
Old: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L2456:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/throughputSettings/default/retrieveThroughputDistribution' removed or restructured?
Old: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L2744:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/throughputSettings/default/redistributeThroughput' removed or restructured?
Old: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L2812:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/throughputSettings/default/retrieveThroughputDistribution' removed or restructured?
Old: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L2880:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/throughputSettings/default/redistributeThroughput' removed or restructured?
Old: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L2951:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/throughputSettings/default/retrieveThroughputDistribution' removed or restructured?
Old: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L4010:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/throughputSettings/default/redistributeThroughput' removed or restructured?
Old: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L4078:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/throughputSettings/default/retrieveThroughputDistribution' removed or restructured?
Old: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L4146:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/throughputSettings/default/redistributeThroughput' removed or restructured?
Old: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L4217:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/partitionMerge' removed or restructured?
Old: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L4477:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/partitionMerge' removed or restructured?
Old: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L4545:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/views' removed or restructured?
Old: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L6848:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/views/{viewName}' removed or restructured?
Old: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L6887:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/views/{viewName}/throughputSettings/default' removed or restructured?
Old: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L7037:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/views/{viewName}/throughputSettings/default/migrateToAutoscale' removed or restructured?
Old: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L7136:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/views/{viewName}/throughputSettings/default/migrateToManualThroughput' removed or restructured?
Old: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L7195:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/backups' removed or restructured?
Old: Microsoft.DocumentDB/preview/2023-03-15-preview/managedCassandra.json#L344:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/backups/{backupId}' removed or restructured?
Old: Microsoft.DocumentDB/preview/2023-03-15-preview/managedCassandra.json#L386:5
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'GraphResourceCreateUpdateParameters' removed or renamed?
New: Microsoft.DocumentDB/stable/2023-08-15/cosmos-db.json#L5823:3
Old: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L7255:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'GraphResourceCreateUpdateProperties' removed or renamed?
New: Microsoft.DocumentDB/stable/2023-08-15/cosmos-db.json#L5823:3
Old: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L7255:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'GraphResource' removed or renamed?
New: Microsoft.DocumentDB/stable/2023-08-15/cosmos-db.json#L5823:3
Old: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L7255:3
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️⚠️LintDiff: 0 Warnings warning [Detail]
compared tags (via openapi-validator v2.1.3) new version base version
package-2023-08 package-2023-08(d0803bd) default(main)

The following errors/warnings exist before current PR submission:

Only 24 items are listed, please refer to log for more details.

Rule Message
PatchResponseCode LRO PATCH must have 200 and 202 return codes.
Location: Microsoft.DocumentDB/stable/2023-08-15/cosmos-db.json#L69
LroPostReturn A LRO POST operation must have both 200 & 202 return codes.
Location: Microsoft.DocumentDB/stable/2023-08-15/cosmos-db.json#L201
LroPostReturn 200 response for a LRO POST operation must have a response schema specified.
Location: Microsoft.DocumentDB/stable/2023-08-15/cosmos-db.json#L386
LroPostReturn 200 response for a LRO POST operation must have a response schema specified.
Location: Microsoft.DocumentDB/stable/2023-08-15/cosmos-db.json#L445
LroPostReturn 200 response for a LRO POST operation must have a response schema specified.
Location: Microsoft.DocumentDB/stable/2023-08-15/cosmos-db.json#L568
NoErrorCodeResponses Invalid status code specified. Please refer to the documentation for the allowed set.
Location: Microsoft.DocumentDB/stable/2023-08-15/cosmos-db.json#L641
OperationsApiResponseSchema The response schema of operations API '/providers/Microsoft.DocumentDB/operations' does not match the ARM specification. Please standardize the schema.
Location: Microsoft.DocumentDB/stable/2023-08-15/cosmos-db.json#L667
OperationsApiSchemaUsesCommonTypes Operations API path must follow the schema provided in the common types.
Location: Microsoft.DocumentDB/stable/2023-08-15/cosmos-db.json#L668
PathForNestedResource The path for nested resource doest not meet the valid resource pattern.
Location: Microsoft.DocumentDB/stable/2023-08-15/cosmos-db.json#L938
PathForNestedResource The path for nested resource doest not meet the valid resource pattern.
Location: Microsoft.DocumentDB/stable/2023-08-15/cosmos-db.json#L980
AvoidAnonymousTypes Inline/anonymous models must not be used, instead define a schema with a model name in the 'definitions' section and refer to it. This allows operations to share the models.
Location: Microsoft.DocumentDB/stable/2023-08-15/cosmos-db.json#L8914
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.DocumentDB/stable/2023-08-15/managedCassandra.json#L174
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.DocumentDB/stable/2023-08-15/managedCassandra.json#L183
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.DocumentDB/stable/2023-08-15/managedCassandra.json#L236
UnSupportedPatchProperties Mark the top-level property 'location', specified in the patch operation body, as readOnly or immutable. You could also choose to remove it from the request payload of the Patch operation. These properties are not patchable.
Location: Microsoft.DocumentDB/stable/2023-08-15/managedCassandra.json#L263
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.DocumentDB/stable/2023-08-15/managedCassandra.json#L274
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.DocumentDB/stable/2023-08-15/managedCassandra.json#L289
LroPostReturn A LRO POST operation must have both 200 & 202 return codes.
Location: Microsoft.DocumentDB/stable/2023-08-15/managedCassandra.json#L296
LroPostReturn 202 response for a LRO POST operation must not have a response schema specified.
Location: Microsoft.DocumentDB/stable/2023-08-15/managedCassandra.json#L296
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.DocumentDB/stable/2023-08-15/managedCassandra.json#L329
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.DocumentDB/stable/2023-08-15/managedCassandra.json#L338
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.DocumentDB/stable/2023-08-15/managedCassandra.json#L454
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.DocumentDB/stable/2023-08-15/managedCassandra.json#L463
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.DocumentDB/stable/2023-08-15/managedCassandra.json#L519
️❌Avocado: 27 Errors, 1 Warnings failed [Detail]

Only 24 items are listed, please refer to log for more details.

Rule Message
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/databaseAccounts/{}/apis/sql/databases is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/cosmos-db/resource-manager/readme.md
json: Microsoft.DocumentDB/stable/2016-03-31/cosmos-db.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/databaseAccounts/{}/apis/sql/databases/{} is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/cosmos-db/resource-manager/readme.md
json: Microsoft.DocumentDB/stable/2016-03-31/cosmos-db.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/databaseAccounts/{}/apis/sql/databases/{}/settings/throughput is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/cosmos-db/resource-manager/readme.md
json: Microsoft.DocumentDB/stable/2016-03-31/cosmos-db.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/databaseAccounts/{}/apis/sql/databases/{}/containers is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/cosmos-db/resource-manager/readme.md
json: Microsoft.DocumentDB/stable/2016-03-31/cosmos-db.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/databaseAccounts/{}/apis/sql/databases/{}/containers/{} is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/cosmos-db/resource-manager/readme.md
json: Microsoft.DocumentDB/stable/2016-03-31/cosmos-db.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/databaseAccounts/{}/apis/sql/databases/{}/containers/{}/settings/throughput is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/cosmos-db/resource-manager/readme.md
json: Microsoft.DocumentDB/stable/2016-03-31/cosmos-db.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/databaseAccounts/{}/apis/mongodb/databases is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/cosmos-db/resource-manager/readme.md
json: Microsoft.DocumentDB/stable/2016-03-31/cosmos-db.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/databaseAccounts/{}/apis/mongodb/databases/{} is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/cosmos-db/resource-manager/readme.md
json: Microsoft.DocumentDB/stable/2016-03-31/cosmos-db.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/databaseAccounts/{}/apis/mongodb/databases/{}/settings/throughput is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/cosmos-db/resource-manager/readme.md
json: Microsoft.DocumentDB/stable/2016-03-31/cosmos-db.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/databaseAccounts/{}/apis/mongodb/databases/{}/collections is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/cosmos-db/resource-manager/readme.md
json: Microsoft.DocumentDB/stable/2016-03-31/cosmos-db.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/databaseAccounts/{}/apis/mongodb/databases/{}/collections/{} is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/cosmos-db/resource-manager/readme.md
json: Microsoft.DocumentDB/stable/2016-03-31/cosmos-db.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/databaseAccounts/{}/apis/mongodb/databases/{}/collections/{}/settings/throughput is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/cosmos-db/resource-manager/readme.md
json: Microsoft.DocumentDB/stable/2016-03-31/cosmos-db.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/databaseAccounts/{}/apis/table/tables is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/cosmos-db/resource-manager/readme.md
json: Microsoft.DocumentDB/stable/2016-03-31/cosmos-db.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/databaseAccounts/{}/apis/table/tables/{} is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/cosmos-db/resource-manager/readme.md
json: Microsoft.DocumentDB/stable/2016-03-31/cosmos-db.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/databaseAccounts/{}/apis/table/tables/{}/settings/throughput is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/cosmos-db/resource-manager/readme.md
json: Microsoft.DocumentDB/stable/2016-03-31/cosmos-db.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/databaseAccounts/{}/apis/cassandra/keyspaces is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/cosmos-db/resource-manager/readme.md
json: Microsoft.DocumentDB/stable/2016-03-31/cosmos-db.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/databaseAccounts/{}/apis/cassandra/keyspaces/{} is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/cosmos-db/resource-manager/readme.md
json: Microsoft.DocumentDB/stable/2016-03-31/cosmos-db.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/databaseAccounts/{}/apis/cassandra/keyspaces/{}/settings/throughput is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/cosmos-db/resource-manager/readme.md
json: Microsoft.DocumentDB/stable/2016-03-31/cosmos-db.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/databaseAccounts/{}/apis/cassandra/keyspaces/{}/tables is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/cosmos-db/resource-manager/readme.md
json: Microsoft.DocumentDB/stable/2016-03-31/cosmos-db.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/databaseAccounts/{}/apis/cassandra/keyspaces/{}/tables/{} is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/cosmos-db/resource-manager/readme.md
json: Microsoft.DocumentDB/stable/2016-03-31/cosmos-db.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/databaseAccounts/{}/apis/cassandra/keyspaces/{}/tables/{}/settings/throughput is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/cosmos-db/resource-manager/readme.md
json: Microsoft.DocumentDB/stable/2016-03-31/cosmos-db.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/databaseAccounts/{}/apis/gremlin/databases is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/cosmos-db/resource-manager/readme.md
json: Microsoft.DocumentDB/stable/2016-03-31/cosmos-db.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/databaseAccounts/{}/apis/gremlin/databases/{} is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/cosmos-db/resource-manager/readme.md
json: Microsoft.DocumentDB/stable/2016-03-31/cosmos-db.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/databaseAccounts/{}/apis/gremlin/databases/{}/settings/throughput is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/cosmos-db/resource-manager/readme.md
json: Microsoft.DocumentDB/stable/2016-03-31/cosmos-db.json
️❌ApiReadinessCheck: 1 Errors, 0 Warnings failed [Detail]
Rule Message
API Readiness check failed. Please make sure your service is deployed. "code: InvalidResourceType,
message: The resource type 'operations' could not be found in the namespace 'Microsoft.DocumentDB' for api version '2023-08-15'. The supported api-versions are '2014-04-01,
2015-04-08,
2015-11-06,
2016-03-19,
2016-03-31,
2019-08-01-preview,
2019-08-01,
2019-12-12,
2020-03-01,
2020-04-01,
2020-06-01-preview,
2020-09-01,
2021-01-15,
2021-03-01-preview,
2021-03-15,
2021-04-01-preview,
2021-04-15,
2021-05-01-preview,
2021-05-15,
2021-06-15,
2021-07-01-preview,
2021-10-15,
2021-10-15-preview,
2021-11-15-preview,
2022-02-15-preview,
2022-05-15-preview,
2022-05-15,
2022-08-15-preview,
2022-08-15,
2022-11-15,
2022-11-15-preview,
2023-03-01-preview,
2023-03-15,
2023-03-15-preview,
2023-04-15'."
️⚠️~[NotRequired_Staging] ServiceAPIReadinessTest: 0 Warnings warning [Detail]

API Test is not triggered due to precheck failure. Check pipeline log for details.

️️✔️SwaggerAPIView succeeded [Detail] [Expand]
️️✔️CadlAPIView succeeded [Detail] [Expand]
️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
️️✔️ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️PoliCheck succeeded [Detail] [Expand]
Validation passed for PoliCheck.
️️✔️PrettierCheck succeeded [Detail] [Expand]
Validation passes for PrettierCheck.
️️✔️SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
️️✔️CadlValidation succeeded [Detail] [Expand]
Validation passes for CadlValidation.
️️✔️TypeSpec Validation succeeded [Detail] [Expand]
Validation passes for TypeSpec Validation.
️️✔️PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
️️✔️Automated merging requirements met succeeded [Detail] [Expand]
Posted by Swagger Pipeline | How to fix these errors?

@openapi-workflow-bot
Copy link

Hi, @rsharm7! Thank you for your pull request. To help get your PR merged:

  • Ensure you reviewed the checklists in the PR description.
  • Know that PR assignee is the person auto-assigned and responsible for your current PR review and approval.
  • For convenient view of the API changes made by this PR, refer to the URLs provided in the table in the Generated ApiView comment added to this PR. You can use ApiView to show API versions diff.
  • @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Aug 2, 2023

    Swagger Generation Artifacts

    ️️✔️ApiDocPreview succeeded [Detail] [Expand]
     Please click here to preview with your @microsoft account. 
    ️❌SDK Breaking Change Tracking failed [Detail]

    Breaking Changes Tracking


    azure-sdk-for-python-track2 - track2_azure-mgmt-cosmosdb - 9.2.0
    -	Model ThroughputSettingsGetPropertiesResource no longer has parameter instant_maximum_throughput
    -	Model ThroughputSettingsGetPropertiesResource no longer has parameter soft_allowed_maximum_throughput
    -	Model ThroughputSettingsResource no longer has parameter instant_maximum_throughput
    -	Model ThroughputSettingsResource no longer has parameter soft_allowed_maximum_throughput
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs] Generate from 87a215482bd4fdd68d2d4be1f98eb0bf00d89a07. SDK Automation 14.0.0
      command	sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json
      cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
      command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
      cmderr	[automation_generate.sh]
      cmderr	[automation_generate.sh] npm notice New minor version of npm available! 9.6.7 -> 9.8.1
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.8.1>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g [email protected]` to update!
      cmderr	[automation_generate.sh] npm notice
    • ️✔️track2_azure-mgmt-cosmosdb [View full logs]  [Preview SDK Changes]
      info	[Changelog]
    ️❌ azure-sdk-for-net-track2 failed [Detail]
    • Failed [Logs] Generate from 87a215482bd4fdd68d2d4be1f98eb0bf00d89a07. SDK Automation 14.0.0
      command	pwsh ./eng/scripts/Automation-Sdk-Init.ps1 ../azure-sdk-for-net_tmp/initInput.json ../azure-sdk-for-net_tmp/initOutput.json
      command	pwsh ./eng/scripts/Invoke-GenerateAndBuildV2.ps1 ../azure-sdk-for-net_tmp/generateInput.json ../azure-sdk-for-net_tmp/generateOutput.json
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1mGeneratePackage: �[0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:712
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m 712 | �[0m         �[36;1mGeneratePackage -projectFolder $projectFolder -sdkRootPath $s�[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1m         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[36;1m     | �[31;1mFailed to build sdk. exit code: False
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[0m
    • Azure.ResourceManager.CosmosDB [View full logs]  [Preview SDK Changes]
      info	[Changelog]
    ️⚠️ azure-sdk-for-java warning [Detail]
    • ⚠️Warning [Logs] Generate from 87a215482bd4fdd68d2d4be1f98eb0bf00d89a07. SDK Automation 14.0.0
      command	./eng/mgmt/automation/init.sh ../azure-sdk-for-java_tmp/initInput.json ../azure-sdk-for-java_tmp/initOutput.json
      cmderr	[init.sh] [notice] A new release of pip is available: 23.0.1 -> 23.2.1
      cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
      cmderr	[init.sh] [notice] A new release of pip is available: 23.0.1 -> 23.2.1
      cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
      command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
    • ️✔️azure-resourcemanager-cosmos-generated [View full logs]  [Preview SDK Changes]
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs] Generate from 87a215482bd4fdd68d2d4be1f98eb0bf00d89a07. SDK Automation 14.0.0
      command	sh ./eng/scripts/automation_init.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
      command	generator automation-v2 ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
    • ️✔️sdk/resourcemanager/cosmos/armcosmos [View full logs]  [Preview SDK Changes]
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs] Generate from 87a215482bd4fdd68d2d4be1f98eb0bf00d89a07. SDK Automation 14.0.0
      command	sh .scripts/automation_init.sh ../azure-sdk-for-js_tmp/initInput.json ../azure-sdk-for-js_tmp/initOutput.json
      warn	File azure-sdk-for-js_tmp/initOutput.json not found to read
      command	sh .scripts/automation_generate.sh ../azure-sdk-for-js_tmp/generateInput.json ../azure-sdk-for-js_tmp/generateOutput.json
      cmderr	[automation_generate.sh] [ERROR] Cannot generate changelog because the codes of local and npm may be the same.
    • ️✔️@azure/arm-cosmosdb [View full logs]  [Preview SDK Changes]
      info	[Changelog]
      error	breakingChangeTracking is enabled, but version or changelogItem is not found in output.
    ️️✔️ azure-resource-manager-schemas succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs] Generate from 87a215482bd4fdd68d2d4be1f98eb0bf00d89a07. Schema Automation 14.0.0
      command	.sdkauto/initScript.sh ../azure-resource-manager-schemas_tmp/initInput.json ../azure-resource-manager-schemas_tmp/initOutput.json
      warn	File azure-resource-manager-schemas_tmp/initOutput.json not found to read
      command	.sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json
    • ️✔️cosmos-db [View full logs]  [Preview Schema Changes]
    ️❌ azure-powershell failed [Detail]
    • Pipeline Framework Failed [Logs] Generate from 87a215482bd4fdd68d2d4be1f98eb0bf00d89a07. SDK Automation 14.0.0
      command	sh ./tools/SwaggerCI/init.sh ../azure-powershell_tmp/initInput.json ../azure-powershell_tmp/initOutput.json
      command	pwsh ./tools/SwaggerCI/psci.ps1 ../azure-powershell_tmp/generateInput.json ../azure-powershell_tmp/generateOutput.json
      SSL error: syscall failure: Broken pipe
      Error: SSL error: syscall failure: Broken pipe
    • ⚠️Az.cosmos-db.DefaultTag [View full logs
      error	Fatal error: SSL error: syscall failure: Broken pipe
      error	The following packages are still pending:
      error		Az.cosmos-db.DefaultTag
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Aug 2, 2023

    Generated ApiView

    Language Package Name ApiView Link
    Swagger Microsoft.DocumentDB https://apiview.dev/Assemblies/Review/05bef485a44a43d194bb2f9614b6700a
    Go sdk/resourcemanager/cosmos/armcosmos https://apiview.dev/Assemblies/Review/fedf83d69d514ba6ad6f07bac3058a90
    Java azure-resourcemanager-cosmos-generated https://apiview.dev/Assemblies/Review/4b6416d9211e464594abbc97a621df0d
    .Net Azure.ResourceManager.CosmosDB https://apiview.dev/Assemblies/Review/7befc6cb3d014b639c5877ab20c687a0
    JavaScript @azure/arm-cosmosdb https://apiview.dev/Assemblies/Review/0d89867c90914718aaf2a7d2b4bc9102

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

    Successfully merging this pull request may close these issues.

    2 participants