[jbosstools-issues] [JBoss JIRA] (JBIDE-15939) openshift-java-client: exception when refreshing application when env variables are not supported are not supported

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Wed Nov 13 13:09:05 EST 2013


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

Andre Dietisheim commented on JBIDE-15939:
------------------------------------------

new openshift-java-client 2.5.0-SNAPSHOT was deployed

{code}
Uploading: https://repository.jboss.org/nexus/content/repositories/snapshots/com/openshift/openshift-java-client/2.5.0-SNAPSHOT/openshift-java-client-2.5.0-20131113.180542-10-sources.jar
Uploaded: https://repository.jboss.org/nexus/content/repositories/snapshots/com/openshift/openshift-java-client/2.5.0-SNAPSHOT/openshift-java-client-2.5.0-20131113.180542-10-sources.jar (133 KB at 22.5 KB/sec)
Uploading: https://repository.jboss.org/nexus/content/repositories/snapshots/com/openshift/openshift-java-client/2.5.0-SNAPSHOT/maven-metadata.xml
Uploaded: https://repository.jboss.org/nexus/content/repositories/snapshots/com/openshift/openshift-java-client/2.5.0-SNAPSHOT/maven-metadata.xml (1002 B at 0.1 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:04.818s
[INFO] Finished at: Wed Nov 13 19:06:18 CET 2013
[INFO] Final Memory: 15M/211M
[INFO] ------------------------------------------------------------------------
{code}
                
> openshift-java-client: exception when refreshing application when env variables are not supported are not supported
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-15939
>                 URL: https://issues.jboss.org/browse/JBIDE-15939
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.1.1.Beta1
>            Reporter: Andre Dietisheim
>            Assignee: Andre Dietisheim
>              Labels: openshift-java-client
>             Fix For: 4.1.1.CR1, 4.2.0.Alpha1
>
>
> If you do IApplication#refresh on a OpenShift server which wont support environment variables, you'll get the following:
> {code}
> com.openshift.client.OpenShiftRequestException: Could not find link "LIST_ENVIRONMENT_VARIABLES" in resource "ApplicationResource"
> 	at com.openshift.internal.client.AbstractOpenShiftResource.getLink(AbstractOpenShiftResource.java:123)
> 	at com.openshift.internal.client.AbstractOpenShiftResource$ServiceRequest.execute(AbstractOpenShiftResource.java:142)
> 	at com.openshift.internal.client.ApplicationResource.loadEnvironmentVariables(ApplicationResource.java:622)
> 	at com.openshift.internal.client.ApplicationResource.updateEnvironmentVariables(ApplicationResource.java:693)
> 	at com.openshift.internal.client.ApplicationResource.refresh(ApplicationResource.java:563)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list