Commit ecd30570 authored by Greg Messner's avatar Greg Messner
Browse files

Disabled auto-discovery and services lookup (#448, #468).

parent 9df03376
...@@ -234,6 +234,11 @@ public class GitLabApiClient { ...@@ -234,6 +234,11 @@ public class GitLabApiClient {
} }
} }
// Disable auto-discovery of feature and services lookup, this will force Jersey
// to use the features and services explicitly configured by gitlab4j
clientConfig.property(ClientProperties.FEATURE_AUTO_DISCOVERY_DISABLE, true);
clientConfig.property(ClientProperties.METAINF_SERVICES_LOOKUP_DISABLE, true);
clientConfig.register(JacksonJson.class); clientConfig.register(JacksonJson.class);
clientConfig.register(MultiPartFeature.class); clientConfig.register(MultiPartFeature.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