Package-level declarations

Types

Link copied to clipboard
@Configuration
@Profile(value = "docs")
@PropertySource(value = "classpath:application-docs.yml", factory = YamlPropertySourceFactory::class)
open class ApplicationDocsYamlConfig
Loads application-docs.yml from this library when the "docs" Spring profile is active.
Link copied to clipboard
@Configuration
@Profile(value = "test")
@PropertySource(value = "classpath:application-test.yml", factory = YamlPropertySourceFactory::class)
open class ApplicationTestYamlConfig
Link copied to clipboard
@Configuration
@Profile(value = "!test")
@PropertySource(value = "classpath:application.yml", factory = YamlPropertySourceFactory::class)
open class ApplicationYamlConfig
Link copied to clipboard
@Configuration
@ConditionalOnProperty(name = "cryptotrader.api.cors.enabled", havingValue = "true", matchIfMissing = true)
open class CorsConfig : WebMvcConfigurer
Central CORS configuration for the API.
Link copied to clipboard
@Configuration
@Profile(value = "!test")
@PropertySource(value = "classpath:application-defaults.yml", factory = YamlPropertySourceFactory::class, ignoreResourceNotFound = true)
open class DefaultPropertiesConfig
Link copied to clipboard
@Configuration(value = "apiLibrarySecurityConfig")
@EnableWebSecurity
@ConditionalOnWebApplication(type = ConditionalOnWebApplication.Type.SERVLET)
@ConditionalOnProperty(name = "cryptotrader.api.security.enabled", havingValue = "true", matchIfMissing = true)
open class DocsSecurityConfig
Link copied to clipboard
@Configuration
open class HttpClientConfig
Link copied to clipboard
@Configuration
@EnableWebSecurity
@EnableMethodSecurity(prePostEnabled = true)
open class SecurityConfig

Application Security configuration.

Link copied to clipboard
open class YamlPropertySourceFactory : PropertySourceFactory