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

[EI-4701] - Use regex to validate system codes instead of making HTTP calls to biz-ops-system-codes #628

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

kiyaGu
Copy link
Contributor

@kiyaGu kiyaGu commented Apr 26, 2024

Why

We had a discussion with the Origami team (@notlee) regarding the decommissioning of Biz Ops system codes and we have agreed that it is not essential to verify if a system code is valid or not by making HTTP call to biz-ops-system-codes we can simply use a regex patter to check if it is a valid Biz ops system code.

What

  • Replaces the HTTP call with a simple regex that checks whether a given system code follows a valid Biz ops system code format

Anything in particular you'd like to highlight to reviewers?

The regex I have used is taken from Biz ops schema which Biz ops uses to validate system codes

@kiyaGu kiyaGu requested a review from a team as a code owner April 26, 2024 07:47
@kiyaGu kiyaGu changed the title [EI-4701] - - Use regex to validate system codes instead of making HTTP calls to biz-ops-system-codes [EI-4701] - Use regex to validate system codes instead of making HTTP calls to biz-ops-system-codes Apr 26, 2024
@github-actions github-actions bot added the service Relates to an Origami service label Apr 26, 2024
@notlee
Copy link
Contributor

notlee commented Apr 26, 2024

Thanks @kiyaGu!

Decommission all the things🔥

@notlee notlee added the release:patch Add to a PR to trigger a PATCH version bump when merged label Apr 26, 2024
@notlee notlee merged commit ec779d1 into main Apr 26, 2024
9 checks passed
@notlee notlee deleted the kiya/EI-4701 branch April 26, 2024 09:38
@origamiserviceuser
Copy link
Contributor

🎉 This PR is included in version v366.4.6 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:patch Add to a PR to trigger a PATCH version bump when merged service Relates to an Origami service
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants