Search in sources :

Example 1 with ExternalPayloadStorage

use of com.netflix.conductor.common.utils.ExternalPayloadStorage in project conductor by Netflix.

the class ExternalPayloadStorageUtilsTest method setup.

@Before
public void setup() {
    externalPayloadStorage = mock(ExternalPayloadStorage.class);
    Configuration configuration = new TestConfiguration();
    objectMapper = new JsonMapperProvider().get();
    location = new ExternalStorageLocation();
    location.setPath("some/test/path");
    externalPayloadStorageUtils = new ExternalPayloadStorageUtils(externalPayloadStorage, configuration, objectMapper);
}
Also used : TestConfiguration(com.netflix.conductor.core.execution.TestConfiguration) Configuration(com.netflix.conductor.core.config.Configuration) TestConfiguration(com.netflix.conductor.core.execution.TestConfiguration) ExternalPayloadStorage(com.netflix.conductor.common.utils.ExternalPayloadStorage) ExternalStorageLocation(com.netflix.conductor.common.run.ExternalStorageLocation) JsonMapperProvider(com.netflix.conductor.common.utils.JsonMapperProvider) Before(org.junit.Before)

Aggregations

ExternalStorageLocation (com.netflix.conductor.common.run.ExternalStorageLocation)1 ExternalPayloadStorage (com.netflix.conductor.common.utils.ExternalPayloadStorage)1 JsonMapperProvider (com.netflix.conductor.common.utils.JsonMapperProvider)1 Configuration (com.netflix.conductor.core.config.Configuration)1 TestConfiguration (com.netflix.conductor.core.execution.TestConfiguration)1 Before (org.junit.Before)1