-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
6295 chain search params for auth filtering #6300
base: 7.5.0-snapshot-midcycle-branch
Are you sure you want to change the base?
6295 chain search params for auth filtering #6300
Conversation
This Pull Request has failed the formatting check Please run You can automate this auto-formatting process to execute on the git pre-push hook, by installing pre-commit and then calling |
IAuthorizationSearchParamMatcher.MatchResult mr = matcher.match( | ||
theRuleTestRequest.resource.fhirType() + "?" + myQueryParameters, theRuleTestRequest.resource); | ||
new IAuthorizationSearchParamMatcher.AuthSearchMatchParameters().setQueryParameters(theRuleTestRequest.resource.fhirType() + "?" + myQueryParameters) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor: I doubt we need a request object for Resource + query string.
@@ -44,7 +44,7 @@ public boolean matchesOutput(RuleTestRequest theRuleTestRequest) { | |||
|
|||
private boolean checkMatch(RuleTestRequest theRuleTestRequest) { | |||
// look for a matcher | |||
IAuthorizationSearchParamMatcher matcher = theRuleTestRequest.ruleApplier.getSearchParamMatcher(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion: The SearchParamMatcher interface is fine. so how about we limit the changes within/under that api. No changes should be required in the rules package.
No description provided.