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

Validate serviceId with endpoint #2370

Closed
8 tasks
balhar-jakub opened this issue May 16, 2022 · 0 comments
Closed
8 tasks

Validate serviceId with endpoint #2370

balhar-jakub opened this issue May 16, 2022 · 0 comments
Labels
enhancement New feature or request mentee

Comments

@balhar-jakub
Copy link
Member

balhar-jakub commented May 16, 2022

Is your feature request related to a problem? Please describe.
There is no place to validate that serviceId conforms to the requested format.

Describe the solution you'd like
Provide a REST API on the API Gateway. This API should live under /conformance/validate and be available under the POST method. The API will accept the serviceId parameter. It will return the information on whether this serviceId is valid under the conformance criteria.

Acceptance Criteria

  • The logic will be merged into the v2.x.x branch
  • The /conformance/validate API won't require authentication
  • The /conformance/validate API will accept serviceId as a parameter
  • The /conformance/validate API returns 200 for serviceId that is only a lower case, doesn't contain symbols, and less than 64 characters
  • The /conformance/validate API returns 400 when there is an upper case letter
  • The /conformance/validate API return 400 when there is a symbol
  • The /conformance/validate API return 400 when it is longer than 64 characters. 64 characters are ok. 65 are not.
  • The video demo shows the functionality
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request mentee
Projects
None yet
Development

No branches or pull requests

2 participants