public Orchestrator(
     OrchestratorSession session,
     IOrchestratorInteractiveService interactiveService,
     ICdkProjectHandler cdkProjectHandler,
     ICDKManager cdkManager,
     ICDKVersionDetector cdkVersionDetector,
     IAWSResourceQueryer awsResourceQueryer,
     IDeploymentBundleHandler deploymentBundleHandler,
     ILocalUserSettingsEngine localUserSettingsEngine,
     IDockerEngine dockerEngine,
     ICustomRecipeLocator customRecipeLocator,
     IList <string> recipeDefinitionPaths,
     IDirectoryManager directoryManager)
 {
     _session                 = session;
     _interactiveService      = interactiveService;
     _cdkProjectHandler       = cdkProjectHandler;
     _cdkManager              = cdkManager;
     _cdkVersionDetector      = cdkVersionDetector;
     _awsResourceQueryer      = awsResourceQueryer;
     _deploymentBundleHandler = deploymentBundleHandler;
     _dockerEngine            = dockerEngine;
     _customRecipeLocator     = customRecipeLocator;
     _recipeDefinitionPaths   = recipeDefinitionPaths;
     _localUserSettingsEngine = localUserSettingsEngine;
     _directoryManager        = directoryManager;
 }
 public DotnetBeanstalkPlatformArnCommand(IToolInteractiveService toolInteractiveService, IAWSResourceQueryer awsResourceQueryer, OrchestratorSession session, ConsoleUtilities consoleUtilities)
 {
     _toolInteractiveService = toolInteractiveService;
     _awsResourceQueryer     = awsResourceQueryer;
     _session          = session;
     _consoleUtilities = consoleUtilities;
 }
Beispiel #3
0
 public IAMRoleCommand(IToolInteractiveService toolInteractiveService, IAWSResourceQueryer awsResourceQueryer, OrchestratorSession session, ConsoleUtilities consoleUtilities)
 {
     _toolInteractiveService = toolInteractiveService;
     _awsResourceQueryer     = awsResourceQueryer;
     _session          = session;
     _consoleUtilities = consoleUtilities;
 }
 public DeployedApplicationQueryer(
     IAWSResourceQueryer awsResourceQueryer,
     ILocalUserSettingsEngine localUserSettingsEngine,
     IOrchestratorInteractiveService orchestratorInteractiveService)
 {
     _awsResourceQueryer             = awsResourceQueryer;
     _localUserSettingsEngine        = localUserSettingsEngine;
     _orchestratorInteractiveService = orchestratorInteractiveService;
 }
 public DisplayedResourceCommandFactory(IAWSResourceQueryer awsResourceQueryer)
 {
     _resources = new Dictionary <string, IDisplayedResourceCommand>
     {
         { RESOURCE_TYPE_APPRUNNER_SERVICE, new AppRunnerServiceResource(awsResourceQueryer) },
         { RESOURCE_TYPE_ELASTICBEANSTALK_ENVIRONMENT, new ElasticBeanstalkEnvironmentResource(awsResourceQueryer) },
         { RESOURCE_TYPE_ELASTICLOADBALANCINGV2_LOADBALANCER, new ElasticLoadBalancerResource(awsResourceQueryer) },
         { RESOURCE_TYPE_S3_BUCKET, new S3BucketResource(awsResourceQueryer) },
         { RESOURCE_TYPE_CLOUDFRONT_DISTRIBUTION, new CloudFrontDistributionResource(awsResourceQueryer) },
         { RESOURCE_TYPE_EVENTS_RULE, new CloudWatchEventResource(awsResourceQueryer) }
     };
 }
Beispiel #6
0
 public DeploymentBundleHandler(
     ICommandLineWrapper commandLineWrapper,
     IAWSResourceQueryer awsResourceQueryer,
     IOrchestratorInteractiveService interactiveService,
     IDirectoryManager directoryManager,
     IZipFileManager zipFileManager)
 {
     _commandLineWrapper = commandLineWrapper;
     _awsResourceQueryer = awsResourceQueryer;
     _interactiveService = interactiveService;
     _directoryManager   = directoryManager;
     _zipFileManager     = zipFileManager;
 }
Beispiel #7
0
 public ListDeploymentsCommand(IToolInteractiveService interactiveService,
                               IOrchestratorInteractiveService orchestratorInteractiveService,
                               ICdkProjectHandler cdkProjectHandler,
                               IDeploymentBundleHandler deploymentBundleHandler,
                               IAWSResourceQueryer awsResourceQueryer,
                               OrchestratorSession session)
 {
     _interactiveService             = interactiveService;
     _orchestratorInteractiveService = orchestratorInteractiveService;
     _cdkProjectHandler       = cdkProjectHandler;
     _deploymentBundleHandler = deploymentBundleHandler;
     _awsResourceQueryer      = awsResourceQueryer;
     _session = session;
 }
 public Orchestrator(
     OrchestratorSession session,
     IOrchestratorInteractiveService interactiveService,
     ICdkProjectHandler cdkProjectHandler,
     IAWSResourceQueryer awsResourceQueryer,
     IDeploymentBundleHandler deploymentBundleHandler,
     IList <string> recipeDefinitionPaths)
 {
     _session                 = session;
     _interactiveService      = interactiveService;
     _cdkProjectHandler       = cdkProjectHandler;
     _deploymentBundleHandler = deploymentBundleHandler;
     _recipeDefinitionPaths   = recipeDefinitionPaths;
     _awsResourceQueryer      = awsResourceQueryer;
     _awsClientFactory        = new DefaultAWSClientFactory();
 }
 public DeployCommand(
     IToolInteractiveService toolInteractiveService,
     IOrchestratorInteractiveService orchestratorInteractiveService,
     ICdkProjectHandler cdkProjectHandler,
     IDeploymentBundleHandler deploymentBundleHandler,
     IAWSResourceQueryer awsResourceQueryer,
     OrchestratorSession session)
 {
     _toolInteractiveService         = toolInteractiveService;
     _orchestratorInteractiveService = orchestratorInteractiveService;
     _cdkProjectHandler       = cdkProjectHandler;
     _deploymentBundleHandler = deploymentBundleHandler;
     _awsResourceQueryer      = awsResourceQueryer;
     _consoleUtilities        = new ConsoleUtilities(toolInteractiveService);
     _session = session;
     _typeHintCommandFactory = new TypeHintCommandFactory(_toolInteractiveService, _awsResourceQueryer, _session, _consoleUtilities);
 }
Beispiel #10
0
 public DeployCommand(
     IToolInteractiveService toolInteractiveService,
     IOrchestratorInteractiveService orchestratorInteractiveService,
     ICdkProjectHandler cdkProjectHandler,
     ICDKManager cdkManager,
     ICDKVersionDetector cdkVersionDetector,
     IDeploymentBundleHandler deploymentBundleHandler,
     IDockerEngine dockerEngine,
     IAWSResourceQueryer awsResourceQueryer,
     ITemplateMetadataReader templateMetadataReader,
     IDeployedApplicationQueryer deployedApplicationQueryer,
     ITypeHintCommandFactory typeHintCommandFactory,
     IDisplayedResourcesHandler displayedResourcesHandler,
     ICloudApplicationNameGenerator cloudApplicationNameGenerator,
     ILocalUserSettingsEngine localUserSettingsEngine,
     IConsoleUtilities consoleUtilities,
     ICustomRecipeLocator customRecipeLocator,
     ISystemCapabilityEvaluator systemCapabilityEvaluator,
     OrchestratorSession session,
     IDirectoryManager directoryManager)
 {
     _toolInteractiveService         = toolInteractiveService;
     _orchestratorInteractiveService = orchestratorInteractiveService;
     _cdkProjectHandler             = cdkProjectHandler;
     _deploymentBundleHandler       = deploymentBundleHandler;
     _dockerEngine                  = dockerEngine;
     _awsResourceQueryer            = awsResourceQueryer;
     _templateMetadataReader        = templateMetadataReader;
     _deployedApplicationQueryer    = deployedApplicationQueryer;
     _typeHintCommandFactory        = typeHintCommandFactory;
     _displayedResourcesHandler     = displayedResourcesHandler;
     _cloudApplicationNameGenerator = cloudApplicationNameGenerator;
     _localUserSettingsEngine       = localUserSettingsEngine;
     _consoleUtilities              = consoleUtilities;
     _session                   = session;
     _directoryManager          = directoryManager;
     _cdkVersionDetector        = cdkVersionDetector;
     _cdkManager                = cdkManager;
     _customRecipeLocator       = customRecipeLocator;
     _systemCapabilityEvaluator = systemCapabilityEvaluator;
 }
 public ElasticLoadBalancerResource(IAWSResourceQueryer awsResourceQueryer)
 {
     _awsResourceQueryer = awsResourceQueryer;
 }
Beispiel #12
0
 public CloudWatchEventResource(IAWSResourceQueryer awsResourceQueryer)
 {
     _awsResourceQueryer = awsResourceQueryer;
 }
 public BeanstalkApplicationCommand(IAWSResourceQueryer awsResourceQueryer, IConsoleUtilities consoleUtilities)
 {
     _awsResourceQueryer = awsResourceQueryer;
     _consoleUtilities   = consoleUtilities;
 }
Beispiel #14
0
 public DisplayedResourcesHandler(IAWSResourceQueryer awsResourceQueryer, IDisplayedResourceCommandFactory displayedResourcesFactory)
 {
     _awsResourceQueryer        = awsResourceQueryer;
     _displayedResourcesFactory = displayedResourcesFactory;
 }
 public ECSClusterCommand(IAWSResourceQueryer awsResourceQueryer, IConsoleUtilities consoleUtilities)
 {
     _awsResourceQueryer = awsResourceQueryer;
     _consoleUtilities   = consoleUtilities;
 }
 public CloudFrontDistributionResource(IAWSResourceQueryer awsResourceQueryer)
 {
     _awsResourceQueryer = awsResourceQueryer;
 }
 public TypeHintCommandFactory(IToolInteractiveService toolInteractiveService, IAWSResourceQueryer awsResourceQueryer, IConsoleUtilities consoleUtilities, IDirectoryManager directoryManager)
 {
     _commands = new Dictionary <OptionSettingTypeHint, ITypeHintCommand>
     {
         { OptionSettingTypeHint.BeanstalkApplication, new BeanstalkApplicationCommand(awsResourceQueryer, consoleUtilities) },
         { OptionSettingTypeHint.BeanstalkEnvironment, new BeanstalkEnvironmentCommand(awsResourceQueryer, consoleUtilities) },
         { OptionSettingTypeHint.DotnetBeanstalkPlatformArn, new DotnetBeanstalkPlatformArnCommand(awsResourceQueryer, consoleUtilities) },
         { OptionSettingTypeHint.EC2KeyPair, new EC2KeyPairCommand(toolInteractiveService, awsResourceQueryer, consoleUtilities) },
         { OptionSettingTypeHint.IAMRole, new IAMRoleCommand(awsResourceQueryer, consoleUtilities) },
         { OptionSettingTypeHint.Vpc, new VpcCommand(awsResourceQueryer, consoleUtilities) },
         { OptionSettingTypeHint.DotnetPublishAdditionalBuildArguments, new DotnetPublishArgsCommand(consoleUtilities) },
         { OptionSettingTypeHint.DotnetPublishSelfContainedBuild, new DotnetPublishSelfContainedBuildCommand(consoleUtilities) },
         { OptionSettingTypeHint.DotnetPublishBuildConfiguration, new DotnetPublishBuildConfigurationCommand(consoleUtilities) },
         { OptionSettingTypeHint.DockerExecutionDirectory, new DockerExecutionDirectoryCommand(consoleUtilities, directoryManager) },
         { OptionSettingTypeHint.DockerBuildArgs, new DockerBuildArgsCommand(consoleUtilities) },
         { OptionSettingTypeHint.ECSCluster, new ECSClusterCommand(awsResourceQueryer, consoleUtilities) },
         { OptionSettingTypeHint.ExistingApplicationLoadBalancer, new ExistingApplicationLoadBalancerCommand(awsResourceQueryer, consoleUtilities) },
     };
 }
 public DotnetBeanstalkPlatformArnCommand(IAWSResourceQueryer awsResourceQueryer, IConsoleUtilities consoleUtilities)
 {
     _awsResourceQueryer = awsResourceQueryer;
     _consoleUtilities   = consoleUtilities;
 }
Beispiel #19
0
 public IAMRoleCommand(IAWSResourceQueryer awsResourceQueryer, IConsoleUtilities consoleUtilities)
 {
     _awsResourceQueryer = awsResourceQueryer;
     _consoleUtilities   = consoleUtilities;
 }
Beispiel #20
0
 public EC2KeyPairCommand(IToolInteractiveService toolInteractiveService, IAWSResourceQueryer awsResourceQueryer, IConsoleUtilities consoleUtilities)
 {
     _toolInteractiveService = toolInteractiveService;
     _awsResourceQueryer     = awsResourceQueryer;
     _consoleUtilities       = consoleUtilities;
 }
Beispiel #21
0
 public ElasticBeanstalkEnvironmentResource(IAWSResourceQueryer awsResourceQueryer)
 {
     _awsResourceQueryer = awsResourceQueryer;
 }
 public S3BucketResource(IAWSResourceQueryer awsResourceQueryer)
 {
     _awsResourceQueryer = awsResourceQueryer;
 }
Beispiel #23
0
 public AppRunnerServiceResource(IAWSResourceQueryer awsResourceQueryer)
 {
     _awsResourceQueryer = awsResourceQueryer;
 }
 public ECSClusterCommand(IAWSResourceQueryer awsResourceQueryer, OrchestratorSession session, ConsoleUtilities consoleUtilities)
 {
     _awsResourceQueryer = awsResourceQueryer;
     _session            = session;
     _consoleUtilities   = consoleUtilities;
 }
 public BeanstalkEnvironmentCommand(IAWSResourceQueryer awsResourceQueryer, IConsoleUtilities consoleUtilities)
 {
     _awsResourceQueryer = awsResourceQueryer;
     _consoleUtilities   = consoleUtilities;
 }
Beispiel #26
0
 public ExistingApplicationLoadBalancerCommand(IAWSResourceQueryer awsResourceQueryer, IConsoleUtilities consoleUtilities)
 {
     _awsResourceQueryer = awsResourceQueryer;
     _consoleUtilities   = consoleUtilities;
 }