Class 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 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
    • Constructor Detail

      • RemoteContentServiceConfig

        public RemoteContentServiceConfig()
    • Method Detail

      • activePivotContentService

        @DependsOn("cxf")
        @Bean(destroyMethod="close")
        public com.qfs.pivot.content.IActivePivotContentService activePivotContentService()
        Specified by:
        activePivotContentService in interface com.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 by IActivePivotContentService.withRootPrivileges()
        Returns:
        the authenticator