Esempio n. 1
0
 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 CommandLineWrapper(
     IOrchestratorInteractiveService interactiveService,
     bool useSeparateWindow)
     : this(interactiveService)
 {
     _useSeparateWindow = useSeparateWindow;
 }
 public CdkProjectHandler(IOrchestratorInteractiveService interactiveService, ICommandLineWrapper commandLineWrapper)
 {
     _interactiveService = interactiveService;
     _commandLineWrapper = commandLineWrapper;
     _appSettingsBuilder = new CdkAppSettingsSerializer();
     _directoryManager   = new DirectoryManager();
 }
 public CustomRecipeLocator(IDeploymentManifestEngine deploymentManifestEngine, IOrchestratorInteractiveService orchestratorInteractiveService,
                            ICommandLineWrapper commandLineWrapper, IDirectoryManager directoryManager)
 {
     _orchestratorInteractiveService = orchestratorInteractiveService;
     _commandLineWrapper             = commandLineWrapper;
     _deploymentManifestEngine       = deploymentManifestEngine;
     _directoryManager = directoryManager;
 }
 public DeployedApplicationQueryer(
     IAWSResourceQueryer awsResourceQueryer,
     ILocalUserSettingsEngine localUserSettingsEngine,
     IOrchestratorInteractiveService orchestratorInteractiveService)
 {
     _awsResourceQueryer             = awsResourceQueryer;
     _localUserSettingsEngine        = localUserSettingsEngine;
     _orchestratorInteractiveService = orchestratorInteractiveService;
 }
Esempio n. 6
0
 public CommandLineWrapper(
     IOrchestratorInteractiveService interactiveService,
     AWSCredentials awsCredentials,
     string awsRegion)
 {
     _interactiveService = interactiveService;
     _awsCredentials     = awsCredentials;
     _awsRegion          = awsRegion;
 }
Esempio n. 7
0
 public DeploymentBundleHandler(
     ICommandLineWrapper commandLineWrapper,
     IAWSResourceQueryer awsResourceQueryer,
     IOrchestratorInteractiveService interactiveService,
     IDirectoryManager directoryManager,
     IZipFileManager zipFileManager)
 {
     _commandLineWrapper = commandLineWrapper;
     _awsResourceQueryer = awsResourceQueryer;
     _interactiveService = interactiveService;
     _directoryManager   = directoryManager;
     _zipFileManager     = zipFileManager;
 }
Esempio n. 8
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);
 }
Esempio n. 11
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 CommandLineWrapper(
     IOrchestratorInteractiveService interactiveService)
 {
     _interactiveService = interactiveService;
 }