-
Enhancement
-
Resolution: Done
-
Major
-
None
-
None
There's a "hack" in openshift-java-client that makes sure that the OpenShift jenkins plugin is using "OpenShift" as user-agent:
UrlConnectionHttpClient
... private static final String USERAGENT_FOR_KEYAUTH = "OpenShift"; ... private String setupUserAgent(String authKey, String authIV, String userAgent) { if (!StringUtils.isEmpty(authKey)) { if (userAgent == null) { userAgent = USERAGENT_FOR_KEYAUTH; } else if (!userAgent.startsWith(USERAGENT_FOR_KEYAUTH)) { userAgent = USERAGENT_FOR_KEYAUTH + '-' + userAgent; } } return userAgent; }
This logic is OpenShift jenkins-plugin specific and should be removed from openshift-java-client.
- is blocked by
-
OSJC-10 openshift-java-client: incompatibility with OpenShift Enterprise and Origin when using the remote-user authentication plugin
-
- Closed
-