[jbosstools-issues] [JBoss JIRA] (JBIDE-22992) OpenShift tools use wrong rest client bits

Nick Boldt (JIRA) issues at jboss.org
Wed Aug 10 14:56:00 EDT 2016


    [ https://issues.jboss.org/browse/JBIDE-22992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13277512#comment-13277512 ] 

Nick Boldt edited comment on JBIDE-22992 at 8/10/16 2:55 PM:
-------------------------------------------------------------

PR to make o.j.t.openshift.client plugin use default timestamp provider instead of jgit one:

https://github.com/jbosstools/jbosstools-openshift/pull/1281

With this applied, I can use p2diff to check for new versions of plugins between CI builds, and can use that to determine if we need to republish to /snapshots/. Here's how that might work:

https://github.com/jbdevstudio/jbdevstudio-ci/commit/62d10dcfc1d772156ac421ef8c75d6b00a4bca78#diff-84dae5283f2c997ceafca7842da70b17R150

Need this PR because p2 can't tell the difference between two jars built from the same SHA if the contained SNAPSHOT version of the openshift rest client has changed.


was (Author: nickboldt):
PR to make o.j.t.openshift.client plugin use default timestamp provider instead of jgit one:

https://github.com/jbosstools/jbosstools-openshift/pull/1281

With this applied, I can use p2diff to check for new versions of plugins between CI builds, and can use that to determine if we need to republish to /snapshots/.

Need this PR because p2 can't tell the difference between two jars built from the same SHA if the contained SNAPSHOT version of the openshift rest client has changed.

> OpenShift tools use wrong rest client bits
> ------------------------------------------
>
>                 Key: JBIDE-22992
>                 URL: https://issues.jboss.org/browse/JBIDE-22992
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: build, openshift
>    Affects Versions: 4.4.1.AM3
>         Environment: eclipse.buildId=10.1.0.AM3-v20160810-0441-B5735
> java.version=1.8.0_101
> java.vendor=Oracle Corporation
> BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
> Framework arguments:  -product com.jboss.devstudio.core.product
> Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product com.jboss.devstudio.core.product
>            Reporter: Denis Golovin
>            Assignee: Jeff MAURY
>            Priority: Critical
>             Fix For: 4.4.1.Final
>
>
> An internal error occurred during: "Loading service-manager to configure additional frameworks that CDK depends on.".{code}java.lang.NoSuchMethodError: com.openshift.restclient.ClientBuilder.withMaxRequests(I)Lcom/openshift/restclient/ClientBuilder;
> 	at org.jboss.tools.openshift.core.connection.ConnectionFactory.create(ConnectionFactory.java:53)
> 	at org.jboss.tools.openshift.core.connection.ConnectionFactory.create(ConnectionFactory.java:1)
> 	at org.jboss.tools.openshift.cdk.server.core.internal.listeners.CDKOpenshiftUtility.createOpenshiftConnection(CDKOpenshiftUtility.java:77)
> 	at org.jboss.tools.openshift.cdk.server.core.internal.listeners.CDKOpenshiftUtility.createOpenshiftConnection(CDKOpenshiftUtility.java:55)
> 	at org.jboss.tools.openshift.cdk.server.core.internal.listeners.ConfigureDependentFrameworksListener.configureOpenshift(ConfigureDependentFrameworksListener.java:91)
> 	at org.jboss.tools.openshift.cdk.server.core.internal.listeners.ConfigureDependentFrameworksListener.configureFrameworks(ConfigureDependentFrameworksListener.java:56)
> 	at org.jboss.tools.openshift.cdk.server.core.internal.listeners.ConfigureDependentFrameworksListener$1.run(ConfigureDependentFrameworksListener.java:44)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55){code}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list