Package org.fusesource.ide.fabric8.core.connector

Examples of org.fusesource.ide.fabric8.core.connector.Fabric8Connector.disconnect()


     
      fabric8.deleteProfile(version.getId(), profile2.getId());
    } catch (IOException ex) {
      fail(ex.getMessage());
    } finally {
      con.disconnect();
    }
  }

  @Test
  public void testDeleteProfile() throws Exception {
View Full Code Here


      profile2 = fabric8.getProfile(version.getId(), "unitTestProfileIDE");
      assertNull("The profile hasn't been deleted from backstore", profile2);     
    } catch (IOException ex) {
      fail(ex.getMessage());
    } finally {
      con.disconnect();
    }
  }
 
  @Test
    public void testSetProfilesForContainer() throws Exception {
View Full Code Here

         System.out.println("Found container: " + container.getId());
      }
    } catch (IOException ex) {
      fail(ex.getMessage());
    } finally {
      con.disconnect();
    }
  } 
 
  @Test
  public void testGetRootContainer() throws Exception {
View Full Code Here

     
      assertTrue("Root container is not root!", container.isRoot());     
    } catch (IOException ex) {
      fail(ex.getMessage());
    } finally {
      con.disconnect();
    }
  }
 
  @Test
  public void testRootContainerProvisionStatus() throws Exception {
View Full Code Here

     
      assertNotNull("Root container has no provision status!", container.getProvisionStatus());   
    } catch (IOException ex) {
      fail(ex.getMessage());
    } finally {
      con.disconnect();
    }
  }
 
  @Test
  public void testRootContainerParentId() throws Exception {
View Full Code Here

     
      assertNull("Root container has a parent ?!", container.getParentId());   
    } catch (IOException ex) {
      fail(ex.getMessage());
    } finally {
      con.disconnect();
    }
  }
 
  @Test
  public void testRootContainerChildrenIds() throws Exception {
View Full Code Here

     
      assertNotNull("Root container children ids returned null?!", container.getChildrenIds());   
    } catch (IOException ex) {
      fail(ex.getMessage());
    } finally {
      con.disconnect();
    }
  }
 
  @Test
  public void testRootContainerProcessId() throws Exception {
View Full Code Here

      assertTrue("Root container process id  is null?!", container.getProcessId()>=0);   
      System.out.println("Container 'root' is running with PID: " + container.getProcessId());
    } catch (IOException ex) {
      fail(ex.getMessage());
    } finally {
      con.disconnect();
    }
  }
 
  @Test
  public void testRootContainerVersionId() throws Exception {
View Full Code Here

      assertNotNull("Root container version id  is null?!", container.getVersionId());   
      System.out.println("Container 'root' is running with version: " + container.getVersionId());
    } catch (IOException ex) {
      fail(ex.getMessage());
    } finally {
      con.disconnect();
    }
  }
 
  @Test
  public void testRootContainerProfileIds() throws Exception {
View Full Code Here

     
      assertNotNull("Root container profile ids is null?!", container.getProfileIDs());   
    } catch (IOException ex) {
      fail(ex.getMessage());
    } finally {
      con.disconnect();
    }
  }
 
  @Test
  public void testRootContainerEnsembleServer() throws Exception {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.