Package com.streamreduce.rest.dto.response

Examples of com.streamreduce.rest.dto.response.OutboundConfigurationResponseDTO


        Response createResponse = connectionResource.createConnection(connectionObject);

        Assert.assertEquals(200, createResponse.getStatus());
        ConnectionResponseDTO updateConnectionResponseDTO = (ConnectionResponseDTO) createResponse.getEntity();
        Assert.assertEquals(1, updateConnectionResponseDTO.getOutboundConfigurations().size());
        OutboundConfigurationResponseDTO outboundConfigurationResponseDTO =
                updateConnectionResponseDTO.getOutboundConfigurations().get(0);
        Assert.assertEquals(testBucketName, outboundConfigurationResponseDTO.getNamespace());
        Assert.assertEquals("us-west-2", outboundConfigurationResponseDTO.getDestination());
    }
View Full Code Here


        Response updateResponse = connectionResource.updateConnection(createConnectionResponseDTO.getId().toString(),
                updateConnectionObject);
        Assert.assertEquals(200, updateResponse.getStatus());
        ConnectionResponseDTO updateConnectionResponseDTO = (ConnectionResponseDTO) updateResponse.getEntity();
        Assert.assertEquals(1, updateConnectionResponseDTO.getOutboundConfigurations().size());
        OutboundConfigurationResponseDTO outboundConfigurationResponseDTO =
                updateConnectionResponseDTO.getOutboundConfigurations().get(0);
        Assert.assertEquals(testBucketName, outboundConfigurationResponseDTO.getNamespace());
        Assert.assertEquals("us-west-2", outboundConfigurationResponseDTO.getDestination());
    }
View Full Code Here

TOP

Related Classes of com.streamreduce.rest.dto.response.OutboundConfigurationResponseDTO

Copyright © 2018 www.massapicom. 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.