ApConfig.java

package org.linkedopenactors.rdfpub.config;

import org.springframework.boot.actuate.trace.http.HttpTraceRepository;
import org.springframework.boot.actuate.trace.http.InMemoryHttpTraceRepository;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * Definition of some common beans. 
 * @author <a href="http://hauschel.de">SofwareEngineering Hauschel</a>
 */
@Configuration
@EnableScheduling
public class ApConfig {

	public static final String PROFILE_UNIT_TEST = "unittest";
	
	@Bean
	public HttpTraceRepository htttpTraceRepository()
	{
	  return new InMemoryHttpTraceRepository();
	}
}