-
Notifications
You must be signed in to change notification settings - Fork 6
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
[MTM-54517]allow registration of custom filters #448
[MTM-54517]allow registration of custom filters #448
Conversation
java-client/src/main/java/com/cumulocity/sdk/client/RestConnector.java
Outdated
Show resolved
Hide resolved
java-client/src/main/java/com/cumulocity/sdk/client/RestConnector.java
Outdated
Show resolved
Hide resolved
java-client/src/main/java/com/cumulocity/sdk/client/RestConnector.java
Outdated
Show resolved
Hide resolved
@@ -455,6 +456,16 @@ public static Client createClient(PlatformParameters platformParameters) { | |||
return client; | |||
} | |||
|
|||
private static void registerExternalFilters(PlatformParameters platformParameters,ClientConfig config) { | |||
if (platformParameters.customFilterSet != null) { |
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.
How can it ever be null
?
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.
Agree. Remove this check now. Please have a look.
java-client/src/main/java/com/cumulocity/sdk/client/PlatformParameters.java
Outdated
Show resolved
Hide resolved
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.
current version of PR looks OK for me
This is a related change to
DAST scan
changes to capture request and transform them postman collection. More information can be found here:Pynt doc
Quality PR: https://github.softwareag.com/IOTA/cumulocity-quality/pull/2488