Commit cf7164e7 authored by Fedor Bobin's avatar Fedor Bobin Committed by Greg Messner
Browse files

Allow to setup client properties (#102)

parent 09fd7767
...@@ -207,7 +207,9 @@ public class GitLabApiClient { ...@@ -207,7 +207,9 @@ public class GitLabApiClient {
clientConfig = new ClientConfig(); clientConfig = new ClientConfig();
if (clientConfigProperties != null) { if (clientConfigProperties != null) {
clientConfig.getProperties().putAll(clientConfigProperties); for (Map.Entry<String, Object> propertyEntry : clientConfigProperties.entrySet()) {
clientConfig.property(propertyEntry.getKey(), propertyEntry.getValue());
}
} }
clientConfig.register(JacksonJson.class); clientConfig.register(JacksonJson.class);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment