io.mosip.preregistration.batchjob.audit.BatchjobConfig Maven / Gradle / Ivy
/*
* Copyright
*
*/
package io.mosip.preregistration.batchjob.audit;
import java.util.Collections;
import java.util.Map;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.swagger2.annotations.EnableSwagger2;
/**
* This class is used for Swagger configuration, also to configure Host and
* Port.
*
* @author Kishan Rathore
* @author Jagadishwari
* @author Ravi C. Balaji
* @since 1.0.0
*
*/
@Configuration
@EnableSwagger2
@ConfigurationProperties("mosip.preregistration.batchjob")
public class BatchjobConfig {
/** The id. */
private Map id;
/**
* Sets the id.
*
* @param id the id
*/
public void setId(Map id) {
this.id = id;
}
/**
* Id.
*
* @return the map
*/
@Bean
public Map ic() {
return Collections.unmodifiableMap(id);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy