All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.chutneytesting.design.infra.storage.scenario.git.GitConfiguration Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
package com.chutneytesting.design.infra.storage.scenario.git;

import com.fasterxml.jackson.databind.ObjectMapper;
import com.chutneytesting.design.infra.storage.scenario.jdbc.TestCaseData;
import com.chutneytesting.design.infra.storage.scenario.git.json.versionned.JsonMapper;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class GitConfiguration {

    @Bean
    JsonMapper TestCaseDataJsonMapper(@Qualifier("persistenceObjectMapper") ObjectMapper objectMapper) {
        return new JsonMapper<>("1", TestCaseData.class, objectMapper);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy