Skip to content

Conversation

blva
Copy link
Collaborator

@blva blva commented Nov 12, 2024

Proposed changes

Jira ticket: CLOUDP-284014

Checklist

  • I have signed the MongoDB CLA
  • I have added tests that prove my fix is effective or that my feature works

Changes to Spectral

  • I have read the README file for Spectral Updates

Further comments

basePaths.Set(path, removeExternalRefs(externalPathData))
} else {
if err := o.handlePathConflict(originalPathData, path); err != nil {
if err := o.handlePathConflict(externalPathData, path); err != nil {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

main change: we were getting the originalPathData (baseData, which is mms, but we expect annotations to be in SOA)

Copy link
Collaborator

Choose a reason for hiding this comment

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

What does it mean "expect annotations to be in SOA"? Do you mean the file path of the spec was MMS but we need the service spec instead?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

expect annotations to be in Standalone service, correct. We were adding the annotation to MMS, but it should live in the standalone service once the copy endpoint is created

@blva blva marked this pull request as ready for review November 12, 2024 09:36
@blva blva requested a review from a team as a code owner November 12, 2024 09:36
Copy link
Collaborator

@andreaangiolillo andreaangiolillo left a comment

Choose a reason for hiding this comment

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

LGTM

@blva blva merged commit a1c638f into main Nov 12, 2024
10 checks passed
@blva blva deleted the CLOUDP-284014 branch November 12, 2024 10:00
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.

2 participants