Search in sources :

Example 46 with Domain

use of com.microsoft.applicationinsights.smoketest.schemav2.Domain in project camel-quarkus by apache.

the class OpenstackKeystoneDomainResource method getShouldSucceed.

@Path("/getShouldSucceed")
@POST
public void getShouldSucceed() {
    LOG.debug("Calling OpenstackKeystoneDomainResource.getShouldSucceed()");
    String uri = String.format(URI_FORMAT, OpenstackConstants.GET);
    Domain out = template.requestBodyAndHeader(uri, null, OpenstackConstants.ID, DOMAIN_ID, Domain.class);
    assertNotNull(out);
    assertEquals(DOMAIN_NAME, out.getName());
    assertEquals(DOMAIN_ID, out.getId());
    assertEquals(DOMAIN_DESCRIPTION, out.getDescription());
    assertFalse(out.isEnabled());
}
Also used : Domain(org.openstack4j.model.identity.v3.Domain) Path(javax.ws.rs.Path) POST(javax.ws.rs.POST)

Aggregations

Domain (oracle.kubernetes.weblogic.domain.v1.Domain)33 Type (java.lang.reflect.Type)14 Domain (org.openstack4j.model.identity.v3.Domain)10 ProgressRequestBody (io.kubernetes.client.ProgressRequestBody)7 ProgressResponseBody (io.kubernetes.client.ProgressResponseBody)7 DomainSpec (oracle.kubernetes.weblogic.domain.v1.DomainSpec)7 ArrayList (java.util.ArrayList)6 Test (org.junit.Test)5 V1ObjectMeta (io.kubernetes.client.models.V1ObjectMeta)4 Map (java.util.Map)4 ApiException (io.kubernetes.client.ApiException)3 V1Service (io.kubernetes.client.models.V1Service)3 HashMap (java.util.HashMap)3 CallBuilderFactory (oracle.kubernetes.operator.helpers.CallBuilderFactory)3 Packet (oracle.kubernetes.operator.work.Packet)3 HttpUserAgentTest (com.meterware.pseudoserver.HttpUserAgentTest)2 Data (com.microsoft.applicationinsights.smoketest.schemav2.Data)2 Envelope (com.microsoft.applicationinsights.smoketest.schemav2.Envelope)2 MessageData (com.microsoft.applicationinsights.smoketest.schemav2.MessageData)2 V1ConfigMap (io.kubernetes.client.models.V1ConfigMap)2