Search in sources :

Example 1 with GeneratingAppIdentityProvider

use of org.finos.symphony.toolkit.spring.app.id.GeneratingAppIdentityProvider in project spring-bot by finos.

the class SymphonyAppConfig method appIdentity.

@Bean(name = APP_IDENTITY_BEAN)
@ConditionalOnMissingBean(name = APP_IDENTITY_BEAN)
public SymphonyIdentity appIdentity() throws Exception {
    GeneratingAppIdentityProvider provider = new GeneratingAppIdentityProvider(appProperties(), loader, objectMapper);
    SymphonyIdentity out = provider.getIdentity();
    return out;
}
Also used : SymphonyIdentity(com.symphony.api.id.SymphonyIdentity) GeneratingAppIdentityProvider(org.finos.symphony.toolkit.spring.app.id.GeneratingAppIdentityProvider) ConditionalOnMissingBean(org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean) ConditionalOnMissingBean(org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean) Bean(org.springframework.context.annotation.Bean)

Aggregations

SymphonyIdentity (com.symphony.api.id.SymphonyIdentity)1 GeneratingAppIdentityProvider (org.finos.symphony.toolkit.spring.app.id.GeneratingAppIdentityProvider)1 ConditionalOnMissingBean (org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean)1 Bean (org.springframework.context.annotation.Bean)1