[jbosstools-issues] [JBoss JIRA] (JBIDE-15854) openshift-java-client: IDomain#refresh does not refresh the applications within it.

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Mon Nov 4 13:18:01 EST 2013


     [ https://issues.jboss.org/browse/JBIDE-15854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andre Dietisheim updated JBIDE-15854:
-------------------------------------

    Description: 
IDomain#refresh is implemented so that it wont refresh the list of applications if it was loaded before:

{code:title=DomainResource}
public void refresh() throws OpenShiftException {
	final DomainResourceDTO domainResourceDTO =  new GetDomainRequest().execute();
	this.id = domainResourceDTO.getId();
	this.suffix = domainResourceDTO.getSuffix();
	if(this.applications != null) {
		this.applications = loadApplications();
	}
}
{code}

we have to correct this.

  was:
IDomain#refresh is implemented so that it wont refresh the list of applications if it was loaded before:

{code:title=DomainResource}
	public void refresh() throws OpenShiftException {
		final DomainResourceDTO domainResourceDTO =  new GetDomainRequest().execute();
		this.id = domainResourceDTO.getId();
		this.suffix = domainResourceDTO.getSuffix();
		if(this.applications != null) {
			this.applications = loadApplications();
		}
		
	}
{code}

we have to correct this.


    
> openshift-java-client: IDomain#refresh does not refresh the applications within it.
> -----------------------------------------------------------------------------------
>
>                 Key: JBIDE-15854
>                 URL: https://issues.jboss.org/browse/JBIDE-15854
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.1.1.Beta1, 4.2.0.Alpha1
>            Reporter: Andre Dietisheim
>            Assignee: Andre Dietisheim
>             Fix For: 4.1.1.CR1, 4.2.0.Alpha1
>
>
> IDomain#refresh is implemented so that it wont refresh the list of applications if it was loaded before:
> {code:title=DomainResource}
> public void refresh() throws OpenShiftException {
> 	final DomainResourceDTO domainResourceDTO =  new GetDomainRequest().execute();
> 	this.id = domainResourceDTO.getId();
> 	this.suffix = domainResourceDTO.getSuffix();
> 	if(this.applications != null) {
> 		this.applications = loadApplications();
> 	}
> }
> {code}
> we have to correct this.

--
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