Class ChenileCoreConfiguration
java.lang.Object
org.chenile.configuration.core.ChenileCoreConfiguration
@Configuration
@PropertySource("classpath:${chenile.properties:chenile.properties}")
public class ChenileCoreConfiguration
extends Object
Class creates a bunch of Spring Beans. These beans are required for Chenile core.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) ApplicationContextprivate Stringprivate Resource[]private Stringprivate Stringprivate String(package private) EventLoggerprivate Stringprivate Stringprivate Stringprivate booleanprivate Stringprivate intprivate Stringprivate static final org.slf4j.Loggerprivate Stringprivate Stringprivate Stringprivate String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchenileExternalClient(ExternalApiPublisher externalApiPublisher, ExternalApiProperties externalApiProperties, ExternalApiLogSupport externalApiLogSupport) chenileServiceInitializer(ApplicationContext ac, ChenileConfiguration chenileConfiguration) (package private) ContextContainerexternalApiLogSupport(ExternalApiProperties externalApiProperties) private String(package private) Resource[]toResources(String resourceList) (package private) ValidateCopyHeaders
-
Field Details
-
logger
private static final org.slf4j.Logger logger -
baseUrl
-
chenileServiceJsonResources
-
chenileEventJsonResources
-
chenileInterceptorsPath
-
chenileTrajectoryJsonResources
-
monolithName
-
moduleName
-
preProcessors
-
postProcessors
-
exceptionHandlerName
-
eventLoggerName
-
externalApiLoggingEnabled
-
externalApiInboundTopic
-
externalApiOutboundTopic
-
externalApiMaxPayloadBytes
@Value("${chenile.external-api.logging.max-payload-bytes:65536}") private int externalApiMaxPayloadBytes -
externalApiMaskedHeaders
-
eventLogger
-
applicationContext
-
-
Constructor Details
-
ChenileCoreConfiguration
public ChenileCoreConfiguration()
-
-
Method Details
-
toResources
- Throws:
IOException
-
resolveMonolithName
-
chenileServiceConfiguration
-
contextContainer
-
validateCopyHeaders
-
populateContextContainer
-
chenileServiceInitializer
@Bean public ChenileServiceInitializer chenileServiceInitializer(ApplicationContext ac, ChenileConfiguration chenileConfiguration) throws IOException - Throws:
IOException
-
chenileEventInitializer
-
chenileTrajectoryInitializer
- Throws:
IOException
-
chenileEventSubscribersInitializer
-
chenileEntryPoint
-
serviceInvoker
-
constructServiceReference
-
chenileOrchExecutor
- Throws:
Exception
-
chenileHighway
-
transformer
-
transformationClassSelector
-
chenileEventProcessor
-
chenileInterceptorChain
-
chenileExchangeBuilder
-
chenileExceptionHandler
-
infoService
-
infoHealthChecker
-
exceptionHandlerInterpolation
-
preProcessorsInterpolation
-
postProcessorsInterpolation
-
operationSpecificProcessorsInterpolation
-
serviceSpecificProcessorsInterpolation
-
genericResponseBuilder
-
subclassRegistry
-
subclassBodyTypeSelector
-
logOutput
-
externalApiProperties
-
externalApiLogSupport
@Bean public ExternalApiLogSupport externalApiLogSupport(ExternalApiProperties externalApiProperties) -
externalApiPublisher
@Bean @ConditionalOnMissingBean(ExternalApiPublisher.class) @ConditionalOnProperty(prefix="chenile.external-api.logging", name="publisher", havingValue="none", matchIfMissing=true) public ExternalApiPublisher externalApiPublisher() -
chenileExternalClient
@Bean public ChenileExternalClient chenileExternalClient(ExternalApiPublisher externalApiPublisher, ExternalApiProperties externalApiProperties, ExternalApiLogSupport externalApiLogSupport)
-