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

fix: remove 'transformers' from PolicyService interface and impl #736

Merged
merged 2 commits into from
Dec 11, 2024

Conversation

gkc
Copy link
Contributor

@gkc gkc commented Dec 11, 2024

- What I did
fix: removed requestTransformer and responseTransformer from PolicyService and PolicyServiceImpl which were introduced in order to support legacy NoPorts authorization checks - this legacy support is now being handled within the NoPorts policy service

- How I did it
See commits

- How to verify it
Tests pass

…cyService factory so they can be passed to the PolicyServiceImpl constructor
@gkc gkc changed the title fix: add params to PolicyService factory fix: remove 'transformers' from PolicyService interface and impl Dec 11, 2024
…cyService and PolicyServiceImpl which were introduced in order to support legacy NoPorts authorization checks - this legacy support is now being handled within the NoPorts policy service
@gkc gkc marked this pull request as ready for review December 11, 2024 13:38
@gkc gkc requested a review from XavierChanth December 11, 2024 13:38
payload: PolicyResponse(
message: 'Exception: $e',
policyDetails: [],
).toJson(),
message: 'Exception: $e',
Copy link
Member

Choose a reason for hiding this comment

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

Is message supposed to be there twice? I see it was moved into the payload, but also kept in response.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes supposed to be there twice, thanks Xavier

@gkc gkc merged commit 6482bc7 into trunk Dec 11, 2024
13 checks passed
@gkc gkc deleted the at_policy_1 branch December 11, 2024 15:43
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