public CustomRecipeLocator(IDeploymentManifestEngine deploymentManifestEngine, IOrchestratorInteractiveService orchestratorInteractiveService, ICommandLineWrapper commandLineWrapper, IDirectoryManager directoryManager) { _orchestratorInteractiveService = orchestratorInteractiveService; _commandLineWrapper = commandLineWrapper; _deploymentManifestEngine = deploymentManifestEngine; _directoryManager = directoryManager; }
public DeploymentManifestFileTests() { _fileManager = new FileManager(); _directoryManager = new DirectoryManager(); _testDirectoryManager = new TestDirectoryManager(); _testAppManager = new TestAppManager(); var targetApplicationPath = _testAppManager.GetProjectPath(Path.Combine("testapps", "WebAppWithDockerFile", "WebAppWithDockerFile.csproj"));; _targetApplicationFullPath = _directoryManager.GetDirectoryInfo(targetApplicationPath).FullName; _targetApplicationDirectoryFullPath = _directoryManager.GetDirectoryInfo(targetApplicationPath).Parent.FullName; _deploymentManifestEngine = new DeploymentManifestEngine(_testDirectoryManager, _fileManager); }
public GenerateDeploymentProjectCommand( IToolInteractiveService toolInteractiveService, IConsoleUtilities consoleUtilities, ICdkProjectHandler cdkProjectHandler, ICommandLineWrapper commandLineWrapper, IDirectoryManager directoryManager, IFileManager fileManager, OrchestratorSession session, IDeploymentManifestEngine deploymentManifestEngine, string targetApplicationFullPath) { _toolInteractiveService = toolInteractiveService; _consoleUtilities = consoleUtilities; _cdkProjectHandler = cdkProjectHandler; _commandLineWrapper = commandLineWrapper; _directoryManager = directoryManager; _fileManager = fileManager; _session = session; _deploymentManifestEngine = deploymentManifestEngine; _targetApplicationFullPath = targetApplicationFullPath; }