use of org.openstack4j.model.common.ActionResponse in project openstack4j by ContainX.
the class EnvironmentTests method testDeleteEnvironment.
public void testDeleteEnvironment() throws IOException {
respondWith(204);
ActionResponse delete = osv3().murano().environments().delete("721f76f9a9d64ebcacc76189cb8978a9");
assertTrue(delete.isSuccess());
}
use of org.openstack4j.model.common.ActionResponse in project openstack4j by ContainX.
the class ShareTypeTests method removeShareTypeAccess.
@Test
public void removeShareTypeAccess() throws Exception {
respondWith(202);
ActionResponse response = osv3().share().shareTypes().removeShareTypeAccess("be27425c-f807-4500-a056-d00721db45cf", "e1284adea3ee4d2482af5ed214f3ad90");
assertTrue(response.isSuccess());
}
use of org.openstack4j.model.common.ActionResponse in project openstack4j by ContainX.
the class LbPoolTests method testDisAssociateHealthMonitor.
@Test(enabled = false)
public void testDisAssociateHealthMonitor() {
String poolId = "db083bf7-c455-4758-b1ad-203cf441a73a";
String healthId = "8767284a-b542-4db6-8393-0a404a959c1d";
ActionResponse result = osv3().networking().loadbalancers().lbPool().disAssociateHealthMonitor(poolId, healthId);
assertTrue(result.isSuccess());
}
use of org.openstack4j.model.common.ActionResponse in project openstack4j by ContainX.
the class LbPoolV2Tests method testDeletePoolV2.
public void testDeletePoolV2() {
respondWith(204);
ActionResponse result = osv3().networking().lbaasV2().lbPool().delete("b7f6a49f-ebd8-43c5-b792-5748366eff21");
assertTrue(result.isSuccess());
}
use of org.openstack4j.model.common.ActionResponse in project openstack4j by ContainX.
the class SharesTests method revokeAccess.
@Test
public void revokeAccess() throws Exception {
respondWith(202);
ActionResponse response = osv3().share().shares().revokeAccess("406ea93b-32e9-4907-a117-148b3945749f", "a25b2df3-90bd-4add-afa6-5f0dbbd50452");
assertTrue(response.isSuccess());
}
Aggregations