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

NSP related comments #28950

Conversation

vandit15
Copy link
Contributor

@vandit15 vandit15 commented May 2, 2024

No description provided.

@vandit15 vandit15 requested a review from pjohari-ms as a code owner May 2, 2024 18:26
Copy link

openapi-pipeline-app bot commented May 2, 2024

Next Steps to Merge

Next steps that must be taken to merge this PR:
  • ❌ This PR is in purview of the ARM review (label: ARMReview). This PR must get ARMSignedOff label from an ARM reviewer.
    This PR is awaiting ARM reviewer feedback (label: WaitForARMFeedback).
    For details of the ARM review, see aka.ms/azsdk/pr-arm-review.

Copy link

openapi-pipeline-app bot commented May 2, 2024

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
There are no breaking changes.
️⚠️LintDiff: 0 Warnings warning [Detail]
Compared specs (v2.2.2) new version base version
package-preview-2024-05 package-preview-2024-05(efc2f3f) package-preview-2024-05(release-cosmos-db-Microsoft.DocumentDB-2024-05-15-preview)

The following errors/warnings exist before current PR submission:

Rule Message
⚠️ MissingSegmentsInNestedResourceListOperation A nested resource type's List operation must include all the parent segments in its api path.
Location: Microsoft.DocumentDB/preview/2024-05-15-preview/networkSecurityPerimeter.json#L19
⚠️ UniqueXmsExample Do not have duplicate name of x-ms-example, make sure every x-ms-example name unique. Duplicate x-ms-example: NamspaceNetworkSecurityPerimeterConfigurationList
Location: Microsoft.DocumentDB/preview/2024-05-15-preview/networkSecurityPerimeter.json#L70
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.DocumentDB/preview/2024-05-15-preview/networkSecurityPerimeter.json#L168
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.DocumentDB/preview/2024-05-15-preview/networkSecurityPerimeter.json#L235
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.DocumentDB/preview/2024-05-15-preview/networkSecurityPerimeter.json#L259
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.DocumentDB/preview/2024-05-15-preview/networkSecurityPerimeter.json#L309
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.DocumentDB/preview/2024-05-15-preview/networkSecurityPerimeter.json#L355
⚠️ LocationMustHaveXmsMutability Property location must have 'x-ms-mutability':['read', 'create'] extension defined.
Location: Microsoft.DocumentDB/preview/2024-05-15-preview/networkSecurityPerimeter.json#L431
️️✔️Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️SwaggerAPIView succeeded [Detail] [Expand]
️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
️️✔️ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️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?

Copy link

openapi-pipeline-app bot commented May 2, 2024

Swagger Generation Artifacts

️️✔️ApiDocPreview succeeded [Detail] [Expand]
 Please click here to preview with your @microsoft account. 
️⚠️ azure-sdk-for-python warning [Detail]
  • ⚠️Warning in generating from b07893adb599038c06be0761de491d028b2fce87. 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.
    cmderr	[automation_init.sh]  notice
    cmderr	[automation_init.sh] npm notice New minor version of npm available! 10.5.0 -> 10.7.0
    cmderr	[automation_init.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.7.0>
    cmderr	[automation_init.sh] npm notice Run `npm install -g [email protected]` to update!
    cmderr	[automation_init.sh] npm notice
    command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
  • ️✔️azure-mgmt-cosmosdb [Preview SDK Changes]
    • azure-mgmt-cosmosdb-0.7.0.zip
    • azure_mgmt_cosmosdb-0.7.0-py3-none-any.whl
️️✔️ azure-sdk-for-net-track2 succeeded [Detail] [Expand]
  • ️✔️Succeeded in generating from b07893adb599038c06be0761de491d028b2fce87. 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
  • ️✔️Azure.ResourceManager.CosmosDB [Preview SDK Changes]
    • Azure.ResourceManager.CosmosDB.1.4.0-alpha.20240502.1.nupkg
    info	[Changelog]
️️✔️ azure-sdk-for-java succeeded [Detail] [Expand]
  • ️✔️Succeeded in generating from b07893adb599038c06be0761de491d028b2fce87. 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
    command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
  • ️✔️azure-resourcemanager-cosmos-generated [Preview SDK Changes]
    • pom.xml
    • azure-resourcemanager-cosmos-generated-1.0.0-beta.1-sources.jar
    • azure-resourcemanager-cosmos-generated-1.0.0-beta.1.jar
️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
  • ️✔️Succeeded in generating from b07893adb599038c06be0761de491d028b2fce87. 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 [Preview SDK Changes]
️🔄 azure-sdk-for-js inProgress [Detail]
️❌ azure-resource-manager-schemas failed [Detail]
  • Failed in generating from b07893adb599038c06be0761de491d028b2fce87. Schema Automation 14.0.0
    command	.sdkauto/initScript.sh ../azure-resource-manager-schemas_tmp/initInput.json ../azure-resource-manager-schemas_tmp/initOutput.json
    cmderr	[initScript.sh]  notice
    cmderr	[initScript.sh] npm notice New minor version of npm available! 10.5.0 -> 10.7.0
    cmderr	[initScript.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.7.0>
    cmderr	[initScript.sh] npm notice Run `npm install -g [email protected]` to update!
    cmderr	[initScript.sh] npm notice
    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/resource-manager [Preview Schema Changes]
️⚠️ azure-powershell warning [Detail]
  • ⚠️Warning in generating from b07893adb599038c06be0761de491d028b2fce87. 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
  • ⚠️Az.cosmos-db.DefaultTag [Preview SDK Changes]
Posted by Swagger Pipeline | How to fix these errors?

@pjohari-ms pjohari-ms merged commit 1bb315f into Azure:release-cosmos-db-Microsoft.DocumentDB-2024-05-15-preview May 2, 2024
26 of 29 checks passed
pjohari-ms pushed a commit that referenced this pull request May 21, 2024
razvanbadea-msft pushed a commit that referenced this pull request May 22, 2024
#29192)

* Copy files from preview/2024-02-15-preview

Copied the files in a separate commit.
This allows reviewers to easily diff subsequent changes against the previous spec.

* Update version to preview/2024-05-15-preview

Updated the API version from preview/2024-02-15-preview to preview/2024-05-15-preview.

* Added tag for 2024-05-15-preview in readme file

* Add mongo v5 and v6 to the preview swagger (#28472)

Co-authored-by: Andrew Khoma <[email protected]>

* swagger changes for capacityMode changes (#28457)

* swagger changes for capacityMode changes

* Ran the npx Prettier command

* fixing swagger lint

* fixing camelcase issue

* NSP RP changes for public preview (#28552)

* NSP RP API changes

* small change

* validation failures handling

* linter errors

* types version

* still failing

* Probably all the fixes

* Missed one file

* Will revert this commit - temp fix for hanging push

* Reverted commit

---------

Co-authored-by: pjohari-ms <[email protected]>

* Remove mongoCluster swagger spec and examples for 2024-05-15-preview release (#28693)

* Porting from stable changes from Cassandra API (#28801)

* nsp related comments (#28950)

* Review comments - Cassandra and circular reference (#29021)

* Review comments - Cassandra and circular reference

* Nits - Services.json

* Porting from stable brranch

* Nits

* Moved files

* Using common types

* Fixes

* Used custom parameter - as suggested by reviewer

* Merged commit correctly

* Another merge remove issue

* Prettier issues due to line endings being different during merge

* Prettier check. Whole folder.

---------

Co-authored-by: Andrew Khoma <[email protected]>
Co-authored-by: Andrew Khoma <[email protected]>
Co-authored-by: chandrasekhar gunturi <[email protected]>
Co-authored-by: Vandit Jain <[email protected]>
Co-authored-by: Oliver Towers <[email protected]>
Francisco-Gamino pushed a commit to Francisco-Gamino/azure-rest-api-specs that referenced this pull request Jun 5, 2024
Azure#29192)

* Copy files from preview/2024-02-15-preview

Copied the files in a separate commit.
This allows reviewers to easily diff subsequent changes against the previous spec.

* Update version to preview/2024-05-15-preview

Updated the API version from preview/2024-02-15-preview to preview/2024-05-15-preview.

* Added tag for 2024-05-15-preview in readme file

* Add mongo v5 and v6 to the preview swagger (Azure#28472)

Co-authored-by: Andrew Khoma <[email protected]>

* swagger changes for capacityMode changes (Azure#28457)

* swagger changes for capacityMode changes

* Ran the npx Prettier command

* fixing swagger lint

* fixing camelcase issue

* NSP RP changes for public preview (Azure#28552)

* NSP RP API changes

* small change

* validation failures handling

* linter errors

* types version

* still failing

* Probably all the fixes

* Missed one file

* Will revert this commit - temp fix for hanging push

* Reverted commit

---------

Co-authored-by: pjohari-ms <[email protected]>

* Remove mongoCluster swagger spec and examples for 2024-05-15-preview release (Azure#28693)

* Porting from stable changes from Cassandra API (Azure#28801)

* nsp related comments (Azure#28950)

* Review comments - Cassandra and circular reference (Azure#29021)

* Review comments - Cassandra and circular reference

* Nits - Services.json

* Porting from stable brranch

* Nits

* Moved files

* Using common types

* Fixes

* Used custom parameter - as suggested by reviewer

* Merged commit correctly

* Another merge remove issue

* Prettier issues due to line endings being different during merge

* Prettier check. Whole folder.

---------

Co-authored-by: Andrew Khoma <[email protected]>
Co-authored-by: Andrew Khoma <[email protected]>
Co-authored-by: chandrasekhar gunturi <[email protected]>
Co-authored-by: Vandit Jain <[email protected]>
Co-authored-by: Oliver Towers <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARMReview resource-manager WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants