Package com.activeviam.risk.ref.cfg.impl
Class RemoteContentServiceConfig
- java.lang.Object
-
- com.activeviam.risk.ref.cfg.impl.RemoteContentServiceConfig
-
- All Implemented Interfaces:
com.qfs.content.cfg.IContentServiceConfig
,com.qfs.server.cfg.content.IActivePivotContentServiceConfig
@Import(com.qfs.server.cfg.i18n.impl.ContentServiceI18nConfig.class) @Configuration @Profile("remote-content") public class RemoteContentServiceConfig extends Object implements com.qfs.server.cfg.content.IActivePivotContentServiceConfig
Spring configuration of the Content Service backed by a remote Content Server.- Author:
- Quartet FS
-
-
Field Summary
Fields Modifier and Type Field Description static String
APP_ROLE__PUSH_CM_TO_CS
Application role required to push new calculated members to Content Service.static String
APP_ROLE__PUSH_KPI_TO_CS
Application role required to push new KPIs to Content Service.protected org.springframework.context.ApplicationContext
context
protected org.springframework.core.env.Environment
env
protected com.qfs.server.cfg.IJwtConfig
jwtConfig
static String
REMOTE_API_URL_PROPERTY
The name of the property which contains the URL of the remote Content serverstatic String
REMOTE_PREFIX_PROPERTY
The name of the property which contains the prefix used to init the CS for this acceleratorstatic String
SPRING_PROFILE
The name of the Spring profile that enables this configuration file
-
Constructor Summary
Constructors Constructor Description RemoteContentServiceConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.qfs.pivot.content.IActivePivotContentService
activePivotContentService()
protected com.qfs.security.impl.AAuthenticator
pivotAuthenticator()
Used to authenticate the calls made byIActivePivotContentService.withRootPrivileges()
-
-
-
Field Detail
-
SPRING_PROFILE
public static final String SPRING_PROFILE
The name of the Spring profile that enables this configuration file- See Also:
- Constant Field Values
-
REMOTE_API_URL_PROPERTY
public static final String REMOTE_API_URL_PROPERTY
The name of the property which contains the URL of the remote Content server- See Also:
- Constant Field Values
-
REMOTE_PREFIX_PROPERTY
public static final String REMOTE_PREFIX_PROPERTY
The name of the property which contains the prefix used to init the CS for this accelerator- See Also:
- Constant Field Values
-
APP_ROLE__PUSH_CM_TO_CS
public static final String APP_ROLE__PUSH_CM_TO_CS
Application role required to push new calculated members to Content Service.- See Also:
- Constant Field Values
-
APP_ROLE__PUSH_KPI_TO_CS
public static final String APP_ROLE__PUSH_KPI_TO_CS
Application role required to push new KPIs to Content Service.- See Also:
- Constant Field Values
-
env
@Autowired protected org.springframework.core.env.Environment env
-
jwtConfig
@Autowired protected com.qfs.server.cfg.IJwtConfig jwtConfig
-
context
@Autowired protected org.springframework.context.ApplicationContext context
-
-
Method Detail
-
activePivotContentService
@DependsOn("cxf") @Bean(destroyMethod="close") public com.qfs.pivot.content.IActivePivotContentService activePivotContentService()
- Specified by:
activePivotContentService
in interfacecom.qfs.server.cfg.content.IActivePivotContentServiceConfig
- Returns:
- a content service backed by a remote content server.
-
pivotAuthenticator
protected com.qfs.security.impl.AAuthenticator pivotAuthenticator()
Used to authenticate the calls made byIActivePivotContentService.withRootPrivileges()
- Returns:
- the authenticator
-
-