Package energy.eddie.aiida.config
Class AiidaConfiguration
java.lang.Object
energy.eddie.aiida.config.AiidaConfiguration
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclock()Returns a clock instance that should be used for timestamps (e.g.org.springframework.http.converter.json.Jackson2ObjectMapperBuilderConfigures and returns an ObjectMapper bean that should be used for (de-)serializing POJOs to JSON.org.springframework.web.reactive.function.client.WebClientWebClientused for handshake with EDDIE.
-
Field Details
-
AIIDA_ZONE_ID
-
-
Constructor Details
-
AiidaConfiguration
public AiidaConfiguration()
-
-
Method Details
-
customObjectMapper
@Bean @Primary public org.springframework.http.converter.json.Jackson2ObjectMapperBuilder customObjectMapper()Configures and returns an ObjectMapper bean that should be used for (de-)serializing POJOs to JSON. The ObjectMapperSingleton can also be used by classes that cannot use constructor injection using the @Autowired annotation and will return the same instance.- Returns:
- ObjectMapper instance configured to fit the AIIDA project.
-
clock
Returns a clock instance that should be used for timestamps (e.g. when a permission is revoked). -
webClient
@Bean public org.springframework.web.reactive.function.client.WebClient webClient()WebClientused for handshake with EDDIE. -
permissionFutures
-