// Path: service-library/src/main/java/de/codecentric/resilient/configuration/DefautConfiguration.java
// @Configuration
// public class DefautConfiguration {
// 
//     private static final Logger LOGGER = LoggerFactory.getLogger(DefautConfiguration.class);
// 
//     @RefreshScope
//     @Bean
//     public AbstractConfiguration archaiusConfiguration() throws Exception {
// 
//         LOGGER.info("Enable Archaius Configuration");
//         ConcurrentMapConfiguration concurrentMapConfiguration = new ConcurrentMapConfiguration();
// 
//         return concurrentMapConfiguration;
//     }
// 
//     @LoadBalanced
//     @Bean
//     RestTemplate restTemplate() {
//         return new RestTemplate();
//     }
// 
// }


import de.codecentric.resilient.configuration.DefautConfiguration;
import de.mrbw.chaos.monkey.EnableChaosMonkey;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.cloud.sleuth.Sampler;
import org.springframework.cloud.sleuth.sampler.AlwaysSampler;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Import;
import org.springframework.data.jpa.convert.threeten.Jsr310JpaConverters;
package de.codecentric.resilient.booking;


/**
 * Connote Service
 *
 * @author Benjamin Wilms
 */
@EnableChaosMonkey
@EnableDiscoveryClient
@EnableAutoConfiguration
@RefreshScope
@SpringBootApplication
@EnableCircuitBreaker
// Path: service-library/src/main/java/de/codecentric/resilient/configuration/DefautConfiguration.java
// @Configuration
// public class DefautConfiguration {
// 
//     private static final Logger LOGGER = LoggerFactory.getLogger(DefautConfiguration.class);
// 
//     @RefreshScope
//     @Bean
//     public AbstractConfiguration archaiusConfiguration() throws Exception {
// 
//         LOGGER.info("Enable Archaius Configuration");
//         ConcurrentMapConfiguration concurrentMapConfiguration = new ConcurrentMapConfiguration();
// 
//         return concurrentMapConfiguration;
//     }
// 
//     @LoadBalanced
//     @Bean
//     RestTemplate restTemplate() {
//         return new RestTemplate();
//     }
// 
// }


// Path: booking-service/src/main/java/de/codecentric/resilient/booking/BookingServiceApplication.java
import de.codecentric.resilient.configuration.DefautConfiguration;
import de.mrbw.chaos.monkey.EnableChaosMonkey;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.cloud.sleuth.Sampler;
import org.springframework.cloud.sleuth.sampler.AlwaysSampler;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Import;
import org.springframework.data.jpa.convert.threeten.Jsr310JpaConverters;

package de.codecentric.resilient.booking;


/**
 * Connote Service
 *
 * @author Benjamin Wilms
 */
@EnableChaosMonkey
@EnableDiscoveryClient
@EnableAutoConfiguration
@RefreshScope
@SpringBootApplication
@EnableCircuitBreaker
@Import(DefautConfiguration.class)