Beispiel #1
0
 public Handler(
     IAwsFactory <IAmazonS3> s3Factory,
     GithubStatusNotifier githubStatusNotifier,
     S3GetObjectFacade s3GetObjectFacade,
     ILogger <Handler> logger
     )
 {
     this.s3Factory            = s3Factory;
     this.githubStatusNotifier = githubStatusNotifier;
     this.s3GetObjectFacade    = s3GetObjectFacade;
     this.logger = logger;
 }
        private bool disposedValue = false; // To detect redundant calls

        protected virtual void Dispose(bool disposing)
        {
            if (!disposedValue)
            {
                if (disposing)
                {
                    Factory = null;
                }

                disposedValue = true;
            }
        }
Beispiel #3
0
 public Handler(
     StackDeploymentStatusRequestFactory requestFactory,
     IAmazonStepFunctions stepFunctionsClient,
     IAmazonSQS sqsClient,
     IAwsFactory <IAmazonCloudFormation> cloudformationFactory,
     GithubStatusNotifier githubStatusNotifier,
     TokenInfoRepository tokenInfoRepository,
     IOptions <Config> config,
     ILogger <Handler> logger
     )
 {
     this.requestFactory        = requestFactory;
     this.stepFunctionsClient   = stepFunctionsClient;
     this.sqsClient             = sqsClient;
     this.cloudformationFactory = cloudformationFactory;
     this.tokenInfoRepository   = tokenInfoRepository;
     this.githubStatusNotifier  = githubStatusNotifier;
     this.config = config.Value;
     this.logger = logger;
 }
Beispiel #4
0
 public Handler(
     DeployStackFacade stackDeployer,
     S3Util s3Util,
     ParseConfigFileFacade parseConfigFileFacade,
     TokenGenerator tokenGenerator,
     RequestFactory requestFactory,
     IAmazonStepFunctions stepFunctionsClient,
     IAwsFactory <IAmazonCloudFormation> cloudformationFactory,
     GithubStatusNotifier statusNotifier,
     IOptions <Config> config
     )
 {
     this.stackDeployer         = stackDeployer;
     this.s3Util                = s3Util;
     this.parseConfigFileFacade = parseConfigFileFacade;
     this.tokenGenerator        = tokenGenerator;
     this.requestFactory        = requestFactory;
     this.stepFunctionsClient   = stepFunctionsClient;
     this.cloudformationFactory = cloudformationFactory;
     this.statusNotifier        = statusNotifier;
     this.config                = config.Value;
 }
Beispiel #5
0
 public Handler(IAwsFactory <IAmazonS3> s3Factory)
 {
     this.s3Factory = s3Factory;
 }
Beispiel #6
0
 protected GetProgressBase(IAwsFactory factory) : base(factory)
 {
 }
 public GetWeight(IAwsFactory factory) : base(factory)
 {
 }
Beispiel #8
0
 public S3Utility(IAwsFactory <IAmazonS3> s3Factory)
 {
     this.Factory = s3Factory;
 }
Beispiel #9
0
 public DeployStackFacade(IAwsFactory <IAmazonCloudFormation> cloudformationFactory, ILogger <DeployStackFacade> logger)
 {
     this.cloudformationFactory = cloudformationFactory;
     this.logger = logger;
 }
Beispiel #10
0
 public GetAverage(IAwsFactory factory) : base(factory)
 {
 }
Beispiel #11
0
 public PostUser(IAwsFactory factory) : base(factory)
 {
 }
Beispiel #12
0
 public PostWeight(IAwsFactory factory) : base(factory)
 {
 }
Beispiel #13
0
 public GetUser(IAwsFactory factory) : base(factory)
 {
 }
 public GetMinimum(IAwsFactory factory) : base(factory)
 {
 }
 protected WeighInBase(IAwsFactory factory)
 {
     Factory = factory;
 }
Beispiel #16
0
 public GetTotal(IAwsFactory factory) : base(factory)
 {
 }