Ejemplo n.º 1
0
        public TimedScheduler(ILogger <TimedScheduler> logger, IConfiguration configuration)
        {
            _logger            = logger;
            _configuration     = configuration;
            _engineEnvironment = new EngineEnvironment(_configuration);

            Communicator = new InterServiceCommunicator(new TimeSpan(0, 4, 0));
        }
Ejemplo n.º 2
0
 public InteractiveQueryManager(ILogger logger, IConfiguration configuration)
 {
     _logger            = logger;
     _configuration     = configuration;
     _engineEnvironment = new EngineEnvironment(_configuration);
 }
Ejemplo n.º 3
0
        public void LoadCalendarTest()
        {
            EngineEnvironment cnpe = new EngineEnvironment();

            Assert.AreEqual(CalTA.GetData().Count, cnpe.CalendarList.Count);
        }
Ejemplo n.º 4
0
        public void LoadScndCnpTest()
        {
            EngineEnvironment cnpe = new EngineEnvironment();

            Assert.AreEqual(CnpTmpTA.GetData().Count, cnpe.ConceptList.Count);
        }
 public SchemaInferenceManager(ILogger logger, IConfiguration configuration)
 {
     _logger            = logger;
     _configuration     = configuration;
     _engineEnvironment = new EngineEnvironment(_configuration);
 }
Ejemplo n.º 6
0
 public ConfigDeleter(ILogger logger, IConfiguration configuration)
 {
     _logger            = logger;
     _configuration     = configuration;
     _engineEnvironment = new EngineEnvironment(_configuration);
 }
Ejemplo n.º 7
0
        public void FlowIdEmptyTest()
        {
            var flowId = EngineEnvironment.GenerateValidFlowId("");

            Assert.AreNotEqual("", flowId, "flowId is empty");
        }
Ejemplo n.º 8
0
        public void FlowIdSymbolsTest()
        {
            var flowId = EngineEnvironment.GenerateValidFlowId("flow-TEST_name_123_!@");

            Assert.AreEqual("flowtestname123", flowId, "flowId includes invalid chars");
        }
Ejemplo n.º 9
0
 public LiveDataManager(ILogger logger, IConfiguration configuration)
 {
     _logger            = logger;
     _configuration     = configuration;
     _engineEnvironment = new EngineEnvironment(_configuration);
 }