public AWSHostService(IAWSResourcesService awsResourceService,
                       IRepository <AWSHost> awsHostRepo,
                       IRepository <BenchmarkExperiment> benchmarkRepo, IMapper mapper, IRepository <DockerHost> dockerHostRepo)
 {
     _awsResourceService = awsResourceService;
     _awsHostRepo        = awsHostRepo;
     _benchmarkRepo      = benchmarkRepo;
     _mapper             = mapper;
     _dockerHostRepo     = dockerHostRepo;
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AWSTestDeploymentScriptCommandHandler"/> class.
 /// </summary>
 /// <param name="awsService">The aws service.</param>
 /// <param name="backgroungJobClient">The backgroung job client.</param>
 public AWSTestDeploymentScriptCommandHandler(IAWSResourcesService awsService, IBackgroundJobClient backgroungJobClient)
 {
     _awsService          = awsService;
     _backgroungJobClient = backgroungJobClient;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="AWSDeleteResourcesCommandHandler"/> class.
 /// </summary>
 /// <param name="awsResourcesService">The aws resources service.</param>
 public AWSDeleteResourcesCommandHandler(IAWSResourcesService awsResourcesService)
 {
     _awsResourcesService = awsResourcesService;
 }
Exemple #4
0
 public AWSHub(IAWSResourcesService resourcesService)
 {
     _resourcesService = resourcesService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="AWSValidateTemplateCommandHandler"/> class.
 /// </summary>
 /// <param name="awsService">The aws service.</param>
 public AWSValidateTemplateCommandHandler(IAWSResourcesService awsService)
 {
     _awsService = awsService;
 }
Exemple #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AWSEstimatedCostsCommandHandler"/> class.
 /// </summary>
 /// <param name="awsService">The aws service.</param>
 public AWSEstimatedCostsCommandHandler(IAWSResourcesService awsService)
 {
     _awsService = awsService;
 }