This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.netflix.hystrix.HystrixThreadPoolKey; | |
import com.netflix.hystrix.HystrixThreadPoolProperties; | |
import com.netflix.hystrix.strategy.HystrixPlugins; | |
import com.netflix.hystrix.strategy.concurrency.HystrixConcurrencyStrategy; | |
import com.netflix.hystrix.strategy.concurrency.HystrixRequestVariable; | |
import com.netflix.hystrix.strategy.concurrency.HystrixRequestVariableLifecycle; | |
import com.netflix.hystrix.strategy.eventnotifier.HystrixEventNotifier; | |
import com.netflix.hystrix.strategy.executionhook.HystrixCommandExecutionHook; | |
import com.netflix.hystrix.strategy.metrics.HystrixMetricsPublisher; | |
import com.netflix.hystrix.strategy.properties.HystrixPropertiesStrategy; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
application { | |
config { | |
baseName store, | |
applicationType gateway, | |
packageName com.jhipster.demo.store, | |
serviceDiscoveryType eureka, | |
authenticationType jwt, | |
prodDatabaseType mysql, | |
cacheProvider hazelcast, | |
buildTool gradle, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import brave.Span; | |
import brave.Tracer; | |
import brave.Tracing; | |
import brave.propagation.Propagation; | |
import brave.propagation.TraceContext; | |
import com.amazonaws.services.sqs.AmazonSQSAsync; | |
import io.micrometer.core.instrument.MeterRegistry; | |
import io.micrometer.core.instrument.Timer; | |
import org.springframework.cloud.aws.messaging.core.QueueMessageChannel; | |
import org.springframework.cloud.aws.messaging.core.QueueMessagingTemplate; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import org.springframework.http.HttpHeaders; | |
import org.springframework.http.HttpRequest; | |
import org.springframework.http.MediaType; | |
import org.springframework.http.client.ClientHttpRequestExecution; | |
import org.springframework.http.client.ClientHttpRequestInterceptor; | |
import org.springframework.http.client.ClientHttpResponse; | |
import org.springframework.util.StreamUtils; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.List; | |
import java.util.concurrent.BlockingQueue; | |
import java.util.concurrent.Executors; | |
import java.util.concurrent.LinkedBlockingQueue; | |
import java.util.concurrent.RejectedExecutionException; | |
import java.util.concurrent.ThreadFactory; | |
import java.util.concurrent.ThreadPoolExecutor; | |
import java.util.concurrent.TimeUnit; | |
import org.quartz.SchedulerConfigException; |