Class DefaultStrategyService

    • Field Detail

      • apiRegistryClientService

        @Autowired
        @Qualifier("apiRegistryClientService")
        protected ApiRegistryClientService apiRegistryClientService
    • Constructor Detail

      • DefaultStrategyService

        public DefaultStrategyService()
    • Method Detail

      • getStrategies

        public java.util.List<Strategy> getStrategies​(java.lang.Integer pageNumber,
                                                      java.lang.Integer pageSize)
        getStrategies returns a list of Strategy objects for the configured tenant.
        Specified by:
        getStrategies in interface StrategyService
        Parameters:
        pageNumber - - number of pages to include in the response
        pageSize - - number of data in a single page
        Returns:
        List of Strategy - list of strategy
      • getStrategy

        public Strategy getStrategy​(java.lang.String id)
        getStrategy return the Strategy for the id
        Specified by:
        getStrategy in interface StrategyService
        Parameters:
        id - - identifier of the strategy
        Returns:
        Strategy - a Strategy for the id provided