Search in sources :

Example 1 with GeoServiceExceptionFilter

use of com.emc.storageos.security.geo.GeoServiceExceptionFilter in project coprhd-controller by CoprHD.

the class GeoTest method setup.

@Before
public void setup() throws Exception {
    setupHttpsResources();
    geoClient = new GeoServiceClient();
    geoClient.setServer(server);
    geoClient.setCoordinatorClient(coordinatorClient);
    geoClient.addFilter(new ServiceClientRetryFilter(geoClient.getClientMaxRetries(), geoClient.getClientRetryInterval()));
    geoClient.addFilter(new GeoServiceExceptionFilter());
    // prepare test data
    createVirtualArrays();
    createVirtualPools();
}
Also used : ServiceClientRetryFilter(com.emc.storageos.security.helpers.ServiceClientRetryFilter) GeoServiceExceptionFilter(com.emc.storageos.security.geo.GeoServiceExceptionFilter) GeoServiceClient(com.emc.storageos.security.geo.GeoServiceClient) Before(org.junit.Before)

Aggregations

GeoServiceClient (com.emc.storageos.security.geo.GeoServiceClient)1 GeoServiceExceptionFilter (com.emc.storageos.security.geo.GeoServiceExceptionFilter)1 ServiceClientRetryFilter (com.emc.storageos.security.helpers.ServiceClientRetryFilter)1 Before (org.junit.Before)1