public RecipesStep(
     IEnumerable <IRecipeHarvester> recipeHarvesters,
     IRecipeExecutor recipeManager)
 {
     _recipeHarvesters = recipeHarvesters;
     _recipeManager    = recipeManager;
 }
Example #2
0
 public RecipesStep(
     IRecipeHarvester recipeHarvester,
     IRecipeExecutor recipeManager)
 {
     _recipeHarvester = recipeHarvester;
     _recipeManager   = recipeManager;
 }
        public ExecuteRecipeAction(
            IOrchardServices orchardServices,
            ISetupService setupService,
            ShellSettings shellSettings,
            IEnumerable <IRecipeExecutionStep> recipeExecutionSteps,
            IRecipeParser recipeParser,
            IRecipeExecutor recipeExecutor,
            IDatabaseManager databaseManager,
            ISweepGenerator sweepGenerator,
            IRecipeStepQueue recipeStepQueue,
            IRepository <RecipeStepResultRecord> recipeStepResultRepository)
        {
            _orchardServices            = orchardServices;
            _setupService               = setupService;
            _shellSettings              = shellSettings;
            _recipeExecutionSteps       = recipeExecutionSteps;
            _recipeParser               = recipeParser;
            _recipeExecutor             = recipeExecutor;
            _databaseManager            = databaseManager;
            _sweepGenerator             = sweepGenerator;
            _recipeStepQueue            = recipeStepQueue;
            _recipeStepResultRepository = recipeStepResultRepository;

            RecipeExecutionTimeout = 600;
        }
Example #4
0
        public ExecuteRecipeAction(
            IOrchardServices orchardServices,
            ISetupService setupService,
            ShellSettings shellSettings,
            IEnumerable<IRecipeExecutionStep> recipeExecutionSteps,
            IRecipeParser recipeParser,
            IRecipeExecutor recipeExecutor,
            IDatabaseManager databaseManager,
            ISweepGenerator sweepGenerator,
            IRecipeStepQueue recipeStepQueue,
            IRepository<RecipeStepResultRecord> recipeStepResultRepository)
        {
            _orchardServices = orchardServices;
            _setupService = setupService;
            _shellSettings = shellSettings;
            _recipeExecutionSteps = recipeExecutionSteps;
            _recipeParser = recipeParser;
            _recipeExecutor = recipeExecutor;
            _databaseManager = databaseManager;
            _sweepGenerator = sweepGenerator;
            _recipeStepQueue = recipeStepQueue;
            _recipeStepResultRepository = recipeStepResultRepository;

            RecipeExecutionTimeout = 600;
        }
Example #5
0
 public RecipesStep(
     IRecipeHarvester recipeHarvester,
     IRecipeExecutor recipeManager,
     ILoggerFactory logger,
     IStringLocalizer <RecipesStep> localizer) : base(logger, localizer)
 {
     _recipeHarvester = recipeHarvester;
     _recipeManager   = recipeManager;
 }
        public RecipesController(
            ShellSettings shellSettings,
            IRecipeExecutor recipeExecutor)
        {
            _shellSettings = shellSettings;
            _recipeExecutor = recipeExecutor;

            T = NullLocalizer.Instance;
        }
Example #7
0
        public RecipesStep(
            IRecipeHarvester recipeHarvester,
            IRecipeExecutor recipeManager,
            ILoggerFactory logger,
            IStringLocalizer<RecipesStep> localizer) : base(logger, localizer)
        {

            _recipeHarvester = recipeHarvester;
            _recipeManager = recipeManager;
        }
Example #8
0
 static bool ResolveExecutor(Bootstrapper container)
 {
     _recipeExecutor = container.Container.Resolve<IRecipeExecutor>();
     if (_recipeExecutor == null)
     {
         System.Console.WriteLine("Fatal error, could not find valid recipe executor. Aborting.");
         return false;
     }
     return true;
 }
Example #9
0
 public RecipeMigrator(
     IRecipeReader recipeReader,
     IRecipeExecutor recipeExecutor,
     IHostingEnvironment hostingEnvironment,
     ITypeFeatureProvider typeFeatureProvider)
 {
     _recipeReader        = recipeReader;
     _recipeExecutor      = recipeExecutor;
     _hostingEnvironment  = hostingEnvironment;
     _typeFeatureProvider = typeFeatureProvider;
 }
 public RecipeDeploymentTargetHandler(IShellHost shellHost,
                                      ShellSettings shellSettings,
                                      IRecipeExecutor recipeExecutor,
                                      IEnumerable <IRecipeEnvironmentProvider> environmentProviders,
                                      ILogger <RecipeDeploymentTargetHandler> logger)
 {
     _shellHost            = shellHost;
     _shellSettings        = shellSettings;
     _recipeExecutor       = recipeExecutor;
     _environmentProviders = environmentProviders;
     _logger = logger;
 }
Example #11
0
 public RecipeMigrator(
     IRecipeReader recipeReader,
     IRecipeExecutor recipeExecutor,
     IHostEnvironment hostingEnvironment,
     ITypeFeatureProvider typeFeatureProvider,
     IEnumerable <IRecipeEnvironmentProvider> environmentProviders,
     ILogger <RecipeMigrator> logger)
 {
     _recipeReader         = recipeReader;
     _recipeExecutor       = recipeExecutor;
     _hostingEnvironment   = hostingEnvironment;
     _typeFeatureProvider  = typeFeatureProvider;
     _environmentProviders = environmentProviders;
     _logger = logger;
 }
 public ImportRemoteInstanceController(
     IAuthorizationService authorizationService,
     ISession session,
     RemoteClientService remoteClientService,
     IDeploymentManager deploymentManager,
     INotifier notifier,
     IRecipeExecutor recipeExecutor,
     IHtmlLocalizer <ExportRemoteInstanceController> h)
 {
     _authorizationService = authorizationService;
     _deploymentManager    = deploymentManager;
     _session             = session;
     _remoteClientService = remoteClientService;
     _notifier            = notifier;
     _recipeExecutor      = recipeExecutor;
     H = h;
 }
Example #13
0
 public AdminController(
     ShellSettings shellSettings,
     ISiteService siteService,
     IExtensionManager extensionManager,
     IHtmlLocalizer <AdminController> localizer,
     IAuthorizationService authorizationService,
     IEnumerable <IRecipeHarvester> recipeHarvesters,
     IRecipeExecutor recipeExecutor,
     INotifier notifier)
 {
     _shellSettings        = shellSettings;
     _siteService          = siteService;
     _recipeExecutor       = recipeExecutor;
     _extensionManager     = extensionManager;
     _authorizationService = authorizationService;
     _recipeHarvesters     = recipeHarvesters;
     _notifier             = notifier;
     H = localizer;
 }
Example #14
0
 public AdminController(
     IShellHost shellHost,
     ShellSettings shellSettings,
     IExtensionManager extensionManager,
     IAuthorizationService authorizationService,
     IEnumerable <IRecipeHarvester> recipeHarvesters,
     IRecipeExecutor recipeExecutor,
     IEnumerable <IRecipeEnvironmentProvider> environmentProviders,
     INotifier notifier,
     IHtmlLocalizer <AdminController> localizer,
     ILogger <AdminController> logger)
 {
     _shellHost            = shellHost;
     _shellSettings        = shellSettings;
     _extensionManager     = extensionManager;
     _authorizationService = authorizationService;
     _recipeHarvesters     = recipeHarvesters;
     _recipeExecutor       = recipeExecutor;
     _environmentProviders = environmentProviders;
     _notifier             = notifier;
     H       = localizer;
     _logger = logger;
 }
 public RecipeDeploymentTargetHandler(IRecipeExecutor recipeExecutor)
 {
     _recipeExecutor = recipeExecutor;
 }
 public RecipeDeploymentTargetHandler(IShellHost shellHost, ShellSettings shellSettings, IRecipeExecutor recipeExecutor)
 {
     _shellHost      = shellHost;
     _shellSettings  = shellSettings;
     _recipeExecutor = recipeExecutor;
 }