@Test public void testUpdateElasticityRules() throws IOException { RestInterface ri = new RestInterface(); String serviceID = "ahj"; String serviceManifest = Util.getManifest( "/home/ahmed/workspace/optimis/branches/OptimisY3/ElasticityRestInterface/SM2.xml"); assertEquals(false, ri.updateElasticityRules(serviceID, serviceManifest)); }
@Test public void testStartElasticity() throws IOException { RestInterface ri = new RestInterface(); String serviceID = "ahj"; String serviceManifest = Util.getManifest( "/home/ahmed/workspace/optimis/branches/OptimisY3/ElasticityRestInterface/SM.xml"); boolean LowRiskMode = true; String spAddress = "sp"; assertEquals(false, ri.startElasticity(serviceID, serviceManifest, LowRiskMode, spAddress)); }