예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WorkflowStudioSI"/> class.
 /// </summary>
 /// <param name="httpContextAccessor">The http context accessor</param>
 /// <param name="repositorySettings">The service repository settings</param>
 /// <param name="testdataRepositorySettings">The test data repository settings</param>
 /// <param name="logger">the logger service</param>
 public WorkflowStudioSI(IOptions <ServiceRepositorySettings> repositorySettings, IOptions <TestdataRepositorySettings> testdataRepositorySettings, IHttpContextAccessor httpContextAccessor, ILogger <WorkflowStudioSI> logger)
 {
     _settings = repositorySettings.Value;
     _testdataRepositorySettings = testdataRepositorySettings.Value;
     _httpContextAccessor        = httpContextAccessor;
     _logger = logger;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FormSILocalDev"/> class.
 /// </summary>
 /// <param name="repositorySettings">The service repository settings</param>
 /// <param name="httpContextAccessor">The http context accessor</param>
 /// <param name="testdataRepositorySettings">Test data repository settings</param>
 /// <param name="generalSettings">The general settings</param>
 public FormSILocalDev(IOptions <ServiceRepositorySettings> repositorySettings, IHttpContextAccessor httpContextAccessor, IOptions <TestdataRepositorySettings> testdataRepositorySettings, IOptions <GeneralSettings> generalSettings)
 {
     _settings                   = repositorySettings.Value;
     _httpContextAccessor        = httpContextAccessor;
     _generalSettings            = generalSettings.Value;
     _testdataRepositorySettings = testdataRepositorySettings.Value;
 }
예제 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProfileStudioSI"/> class
 /// </summary>
 /// <param name="testdataRepositorySettings">The settings for test data repository</param>
 /// <param name="dsfService">The dsf service</param>
 /// <param name="erService">The er service</param>
 public ProfileStudioSI(IOptions <TestdataRepositorySettings> testdataRepositorySettings, IDSF dsfService, IER erService)
 {
     _testdataRepositorySettings = testdataRepositorySettings.Value;
     _dsfService      = dsfService;
     _erService       = erService;
     _registerService = new RegisterStudioSI(testdataRepositorySettings, dsfService, erService);
 }
예제 #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FormStudioSI"/> class.
 /// </summary>
 /// <param name="repositorySettings">The service repository settings</param>
 /// <param name="httpContextAccessor">The http context accessor</param>
 /// <param name="testdataRepositorySettings">Test data repository settings</param>
 /// <param name="generalSettings">the general settings</param>
 /// <param name="logger">the logger</param>
 public FormStudioSI(IOptions <ServiceRepositorySettings> repositorySettings, IHttpContextAccessor httpContextAccessor, IOptions <TestdataRepositorySettings> testdataRepositorySettings, IOptions <GeneralSettings> generalSettings, ILogger <FormStudioSI> logger)
 {
     _settings                   = repositorySettings.Value;
     _httpContextAccessor        = httpContextAccessor;
     _generalSettings            = generalSettings.Value;
     _testdataRepositorySettings = testdataRepositorySettings.Value;
     _logger = logger;
 }
예제 #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TestdataStudioSI"/> class
 /// </summary>
 /// <param name="testdataRepositorySettings">Test data repository settings</param>
 /// <param name="repositorySettings">Service repository settings</param>
 /// <param name="httpContextAccessor">the http context accessor</param>
 /// <param name="logger">the logger</param>
 /// <param name="instanceSI">the instance si</param>
 public TestdataStudioSI(IOptions <TestdataRepositorySettings> testdataRepositorySettings, IOptions <ServiceRepositorySettings> repositorySettings, IHttpContextAccessor httpContextAccessor, ILogger <TestdataStudioSI> logger, IInstance instanceSI)
 {
     _testdataRepositorySettings = testdataRepositorySettings.Value;
     _settings            = repositorySettings.Value;
     _httpContextAccessor = httpContextAccessor;
     _logger   = logger;
     _instance = instanceSI;
 }
예제 #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InstanceSILocalDev"/> class.
 /// </summary>
 /// <param name="repositorySettings">repository settings</param>
 /// <param name="httpContextAccessor">The http context accessor</param>
 /// <param name="testdataRepositorySettings">Test data repository settings</param>
 /// <param name="formService">form service</param>
 public InstanceSILocalDev(
     IOptions <ServiceRepositorySettings> repositorySettings,
     IHttpContextAccessor httpContextAccessor,
     IOptions <TestdataRepositorySettings> testdataRepositorySettings,
     IForm formService)
 {
     _settings                        = repositorySettings.Value;
     _httpContextAccessor             = httpContextAccessor;
     this._testdataRepositorySettings = testdataRepositorySettings.Value;
     _form = formService;
 }
예제 #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WorkflowAppSI"/> class.
 /// </summary>
 /// <param name="httpContextAccessor">The http context accessor</param>
 /// <param name="repositorySettings">The service repository settings</param>
 /// <param name="testdataRepositorySettings">The test data repository settings</param>
 /// <param name="platformSettings">the platform settings</param>
 /// <param name="generalSettings">the general settings</param>
 public WorkflowAppSI(
     IOptions <ServiceRepositorySettings> repositorySettings,
     IOptions <TestdataRepositorySettings> testdataRepositorySettings,
     IHttpContextAccessor httpContextAccessor,
     IOptions <PlatformSettings> platformSettings,
     IOptions <GeneralSettings> generalSettings)
 {
     _settings = repositorySettings.Value;
     _testdataRepositorySettings = testdataRepositorySettings.Value;
     _httpContextAccessor        = httpContextAccessor;
     _platformSettings           = platformSettings.Value;
     _generalSettings            = generalSettings.Value;
 }
예제 #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InstanceStudioSI"/> class.
 /// </summary>
 /// <param name="repositorySettings">repository settings</param>
 /// <param name="httpContextAccessor">The http context accessor</param>
 /// <param name="testdataRepositorySettings">Test data repository settings</param>
 /// <param name="formService">form service</param>
 /// <param name="data">the data service</param>
 /// <param name="workflowSI">the workflow serviec</param>
 public InstanceStudioSI(
     IOptions <ServiceRepositorySettings> repositorySettings,
     IHttpContextAccessor httpContextAccessor,
     IOptions <TestdataRepositorySettings> testdataRepositorySettings,
     IForm formService,
     IData data,
     IWorkflow workflowSI)
 {
     _settings                   = repositorySettings.Value;
     _httpContextAccessor        = httpContextAccessor;
     _testdataRepositorySettings = testdataRepositorySettings.Value;
     _form     = formService;
     _workflow = workflowSI;
     _data     = data;
 }
예제 #9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WorkflowAppSI"/> class.
 /// </summary>
 /// <param name="httpContextAccessor">The http context accessor</param>
 /// <param name="repositorySettings">The service repository settings</param>
 /// <param name="testdataRepositorySettings">The test data repository settings</param>
 /// <param name="platformSettings">the platform settings</param>
 /// <param name="generalSettings">the general settings</param>
 /// <param name="cookieOptions">The cookie options </param>
 /// <param name="httpClientAccessor">The Http client accessor </param>
 public WorkflowAppSI(
     IOptions<ServiceRepositorySettings> repositorySettings,
     IOptions<TestdataRepositorySettings> testdataRepositorySettings,
     IHttpContextAccessor httpContextAccessor,
     IOptions<PlatformSettings> platformSettings,
     IOptions<GeneralSettings> generalSettings,
     IOptions<JwtCookieOptions> cookieOptions,
     IHttpClientAccessor httpClientAccessor)
 {
     _settings = repositorySettings.Value;
     _testdataRepositorySettings = testdataRepositorySettings.Value;
     _httpContextAccessor = httpContextAccessor;
     _platformSettings = platformSettings.Value;
     _generalSettings = generalSettings.Value;
     _cookieOptions = cookieOptions.Value;
     _client = httpClientAccessor.StorageClient;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ManualTestingController"/> class
 /// </summary>
 /// <param name="testdataService">The testDataService (configured in Startup.cs)</param>
 /// <param name="profileService">The profileService (configured in Startup.cs)</param>
 /// <param name="registerService">The registerService (configured in Startup.cs)</param>
 /// <param name="authorizationService">The authorizationService (configured in Startup.cs)</param>
 /// <param name="repositorySettings">the repository setting service handler</param>
 /// <param name="giteaWrapper">the gitea wrapper handler</param>
 /// <param name="contextAccessor">The http context accessor</param>
 /// <param name="execution">The executionSI</param>
 /// <param name="testdataRepositorySettings">The test data settings</param>
 /// <param name="workflowSI">The workflowSI</param>
 public ManualTestingController(
     ITestdata testdataService,
     IProfile profileService,
     IRegister registerService,
     IAuthorization authorizationService,
     IOptions <ServiceRepositorySettings> repositorySettings,
     IGitea giteaWrapper,
     IExecution execution,
     IHttpContextAccessor contextAccessor,
     IOptions <TestdataRepositorySettings> testdataRepositorySettings,
     IWorkflowSI workflowSI)
 {
     _testdata                   = testdataService;
     _profile                    = profileService;
     _register                   = registerService;
     _authorization              = authorizationService;
     _userHelper                 = new UserHelper(_profile, _register);
     _settings                   = repositorySettings.Value;
     _giteaApi                   = giteaWrapper;
     _execution                  = execution;
     _httpContextAccessor        = contextAccessor;
     _testdataRepositorySettings = testdataRepositorySettings.Value;
     _workflowSI                 = workflowSI;
 }
예제 #11
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ArchiveSILocalDev"/> class
 /// </summary>
 /// <param name="repositorySettings">the repository settings</param>
 /// <param name="httpContextAccessor">the http context accessor</param>
 /// <param name="testdataRepositorySettings">Test data repository settings</param>
 public ArchiveSILocalDev(IOptions <ServiceRepositorySettings> repositorySettings, IHttpContextAccessor httpContextAccessor, IOptions <TestdataRepositorySettings> testdataRepositorySettings)
 {
     _settings                   = repositorySettings.Value;
     _httpContextAccessor        = httpContextAccessor;
     _testdataRepositorySettings = testdataRepositorySettings.Value;
 }
예제 #12
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RegisterDSFStudioSI"/> class
 /// </summary>
 /// <param name="logger">the logger</param>
 /// <param name="testdataRepositorySettings">the test data repository settings</param>
 public RegisterDSFStudioSI(ILogger <RegisterDSFStudioSI> logger, IOptions <TestdataRepositorySettings> testdataRepositorySettings)
 {
     _logger = logger;
     _testdataRepositorySettings = testdataRepositorySettings.Value;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="AuthorizationStudioSI"/> class.
 /// </summary>
 /// <param name="testdataRepositorySettings">Repository settings</param>
 public AuthorizationStudioSI(IOptions <TestdataRepositorySettings> testdataRepositorySettings)
 {
     _testdataRepositorySettings = testdataRepositorySettings.Value;
 }
예제 #14
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WorkflowSI"/> class.
 /// </summary>
 /// <param name="httpContextAccessor">The http context accessor</param>
 /// <param name="repositorySettings">The service repository settings</param>
 /// <param name="testdataRepositorySettings">The test data repository settings</param>
 public WorkflowSI(IOptions <ServiceRepositorySettings> repositorySettings, IOptions <TestdataRepositorySettings> testdataRepositorySettings, IHttpContextAccessor httpContextAccessor)
 {
     _settings = repositorySettings.Value;
     _testdataRepositorySettings = testdataRepositorySettings.Value;
     _httpContextAccessor        = httpContextAccessor;
 }
예제 #15
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RegisterStudioSI"/> class
 /// </summary>
 /// <param name="testdataRepositorySettings">The test data repository settings</param>
 /// <param name="dsfService">The dsf service</param>
 /// <param name="erService">The er service</param>
 public RegisterStudioSI(IOptions <TestdataRepositorySettings> testdataRepositorySettings, IDSF dsfService, IER erService)
 {
     _testdataRepositorySettings = testdataRepositorySettings.Value;
     _dsfService = dsfService;
     _erService  = erService;
 }
예제 #16
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TestdataSILocalDev"/> class
 /// </summary>
 /// <param name="testdataRepositorySettings">Test data repository settings</param>
 /// <param name="repositorySettings">Service repository settings</param>
 /// <param name="httpContextAccessor">the http context accessor</param>
 public TestdataSILocalDev(IOptions <TestdataRepositorySettings> testdataRepositorySettings, IOptions <ServiceRepositorySettings> repositorySettings, IHttpContextAccessor httpContextAccessor)
 {
     this._testdataRepositorySettings = testdataRepositorySettings.Value;
     this._settings       = repositorySettings.Value;
     _httpContextAccessor = httpContextAccessor;
 }
예제 #17
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProfileSILocalDev"/> class
 /// </summary>
 /// <param name="testdataRepositorySettings">The settings for test data repository</param>
 public ProfileSILocalDev(IOptions <TestdataRepositorySettings> testdataRepositorySettings)
 {
     this._testdataRepositorySettings = testdataRepositorySettings.Value;
     this._registerService            = new RegisterSILocalDev(testdataRepositorySettings);
 }
예제 #18
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RegisterSILocalDev"/> class
 /// </summary>
 /// <param name="testdataRepositorySettings">The test data repository settings</param>
 public RegisterSILocalDev(IOptions <TestdataRepositorySettings> testdataRepositorySettings)
 {
     this._testdataRepositorySettings = testdataRepositorySettings.Value;
 }
예제 #19
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TestdataSIDesigner"/> class
 /// </summary>
 /// <param name="testdataRepositorySettings">Test data repository settings</param>
 /// <param name="repositorySettings">Service repository settings</param>
 public TestdataSIDesigner(IOptions <TestdataRepositorySettings> testdataRepositorySettings, IOptions <ServiceRepositorySettings> repositorySettings)
 {
     this._testdataRepositorySettings = testdataRepositorySettings.Value;
     this._settings = repositorySettings.Value;
 }
예제 #20
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AuthorizationSILocalDev"/> class.
 /// </summary>
 /// <param name="testdataRepositorySettings">Repository settings</param>
 public AuthorizationSILocalDev(IOptions <TestdataRepositorySettings> testdataRepositorySettings)
 {
     this._testdataRepositorySettings = testdataRepositorySettings.Value;
 }