16 package org.openkilda.atdd.staging.config;
18 import static org.mockito.Mockito.spy;
22 import com.fasterxml.jackson.databind.MapperFeature;
23 import com.fasterxml.jackson.databind.ObjectMapper;
24 import com.fasterxml.jackson.dataformat.yaml.YAMLFactory;
25 import org.springframework.context.annotation.Bean;
26 import org.springframework.context.annotation.Configuration;
27 import org.springframework.context.annotation.Profile;
29 import java.io.IOException;
37 ObjectMapper mapper =
new ObjectMapper(
new YAMLFactory());
38 mapper.enable(MapperFeature.ACCEPT_CASE_INSENSITIVE_ENUMS);
40 getClass().getResourceAsStream(
"/3-switch-test-topology.yaml"),
TopologyDefinition.class);
TopologyDefinition topologyDefinition()