Skip to content

ROX-20689: Use authorizer pattern in /v1/ping#15430

Merged
guzalv merged 1 commit intomasterfrom
ROX-20689-Use-authz-pattern-ping-svc
May 27, 2025
Merged

ROX-20689: Use authorizer pattern in /v1/ping#15430
guzalv merged 1 commit intomasterfrom
ROX-20689-Use-authz-pattern-ping-svc

Conversation

@guzalv
Copy link
Contributor

@guzalv guzalv commented May 26, 2025

Description

The service code was not consistent with the authorizer pattern used for other service layers, this PR fixes this.

User-facing documentation

Testing and quality

  • the change is production ready: the change is GA, or otherwise the functionality is gated by a feature flag
  • CI results are inspected

Automated testing

Unit tests don't exist for ping.

How I validated my change

CI, manual testing.

@guzalv
Copy link
Contributor Author

guzalv commented May 26, 2025

This change is part of the following stack:

Change managed by git-spice.

@openshift-ci
Copy link

openshift-ci bot commented May 26, 2025

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@guzalv guzalv changed the title ROX-20689: Use authorizer pattern for /v1/ping and document why it can be public ROX-20689: Document why /v1/ping should remain public May 26, 2025
@guzalv guzalv force-pushed the ROX-20689-Use-authz-pattern-ping-svc branch from 5f3588d to fdd4da8 Compare May 26, 2025 14:45
@rhacs-bot
Copy link
Contributor

rhacs-bot commented May 26, 2025

Images are ready for the commit at fdd4da8.

To use with deploy scripts, first export MAIN_IMAGE_TAG=4.8.x-785-gfdd4da87b2.

@rhacs-bot
Copy link
Contributor

Images are ready for the commit at fdd4da8.

To use with deploy scripts, first export MAIN_IMAGE_TAG=4.8.x-786-g5f3588d343.

@guzalv guzalv changed the title ROX-20689: Document why /v1/ping should remain public ROX-20689: Use authorizer pattern in /v1/ping May 26, 2025
@guzalv
Copy link
Contributor Author

guzalv commented May 26, 2025

/test all

@guzalv
Copy link
Contributor Author

guzalv commented May 27, 2025

/retest

@guzalv guzalv marked this pull request as ready for review May 27, 2025 07:42
Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey @guzalv - I've reviewed your changes and they look great!

Here's what I looked at during the review
  • 🟢 General issues: all looks good
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good
  • 🟢 Documentation: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@guzalv guzalv merged commit 043116a into master May 27, 2025
170 checks passed
@guzalv guzalv deleted the ROX-20689-Use-authz-pattern-ping-svc branch May 27, 2025 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants