io.github.graphglue.GraphglueCoreAutoConfiguration.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of graphglue-core Show documentation
Show all versions of graphglue-core Show documentation
A library to develop annotation-based code-first GraphQL servers using GraphQL Kotlin, Spring Boot and Neo4j - excluding Spring GraphQL server dependencies
The newest version!
package io.github.graphglue
import io.github.graphglue.authorization.GraphglueAuthorizationConfiguration
import io.github.graphglue.connection.GraphglueConnectionConfiguration
import io.github.graphglue.data.GraphglueDataConfiguration
import io.github.graphglue.definition.GraphglueDefinitionConfiguration
import io.github.graphglue.model.GraphglueModelConfiguration
import org.springframework.boot.autoconfigure.AutoConfiguration
import org.springframework.boot.autoconfigure.AutoConfigureAfter
import org.springframework.boot.autoconfigure.data.neo4j.Neo4jReactiveDataAutoConfiguration
import org.springframework.boot.autoconfigure.neo4j.Neo4jAutoConfiguration
import org.springframework.boot.context.properties.EnableConfigurationProperties
import org.springframework.context.annotation.Import
/**
* Manages Spring boot autoconfiguration for all Graphglue related nodes
* Imports the GraphglueGraphQLConfiguration and GraphglueNeo4jConfiguration
*/
@AutoConfiguration
@Import(
GraphglueModelConfiguration::class,
GraphglueDataConfiguration::class,
GraphglueAuthorizationConfiguration::class,
GraphglueConnectionConfiguration::class,
GraphglueDefinitionConfiguration::class
)
@EnableConfigurationProperties(GraphglueCoreConfigurationProperties::class)
@AutoConfigureAfter(
value = [Neo4jAutoConfiguration::class, Neo4jReactiveDataAutoConfiguration::class]
)
class GraphglueCoreAutoConfiguration