Skip to content

Conversation

blva
Copy link
Collaborator

@blva blva commented Oct 30, 2024

Proposed changes

Jira ticket: CLOUDP-278627

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

@blva blva marked this pull request as ready for review October 30, 2024 12:57
@blva blva requested a review from a team as a code owner October 30, 2024 12:57
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

message: "'additionalServices' must be 'mms' as no other services are supported."

match: "^mms(,[a-zA-Z0-9_-]+)*$"
message: "'additionalServices' must start with 'mms' and can include additional services in a comma-separated format."
Copy link
Collaborator

Choose a reason for hiding this comment

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

could you clarify this change? In which scenario we will have mms,service_name,ABC?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

as of now, we don't have other services, but SRE asked us to have this as a list and available for others. since I'm doing the PR for api-registry to return this, I'm adding some linting considering the comma separated names

@blva blva merged commit 5b64b26 into main Oct 30, 2024
12 checks passed
@blva blva deleted the CLOUDP-278627 branch October 30, 2024 14:29
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