brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aledsage <>
Subject [GitHub] incubator-brooklyn pull request: Support for deployment to Windows
Date Wed, 20 May 2015 17:27:58 GMT
Github user aledsage commented on a diff in the pull request:
    --- Diff: software/base/src/main/java/brooklyn/entity/basic/
    @@ -0,0 +1,54 @@
    + * Licensed to the Apache Software Foundation (ASF) under one
    + * or more contributor license agreements.  See the NOTICE file
    + * distributed with this work for additional information
    + * regarding copyright ownership.  The ASF licenses this file
    + * to you under the Apache License, Version 2.0 (the
    + * "License"); you may not use this file except in compliance
    + * with the License.  You may obtain a copy of the License at
    + *
    + *
    + *
    + * Unless required by applicable law or agreed to in writing,
    + * software distributed under the License is distributed on an
    + * KIND, either express or implied.  See the License for the
    + * specific language governing permissions and limitations
    + * under the License.
    + */
    +package brooklyn.entity.basic;
    +import brooklyn.config.ConfigKey;
    +import brooklyn.entity.proxying.ImplementedBy;
    +import brooklyn.util.time.Duration;
    +public interface VanillaWindowsProcess extends AbstractVanillaProcess {
    +    ConfigKey<String> PRE_INSTALL_POWERSHELL_COMMAND = ConfigKeys.newStringConfigKey("pre.install.powershell.command",
    +            "powershell command to run during the pre-install phase");
    +    ConfigKey<Boolean> PRE_INSTALL_REBOOT_REQUIRED = ConfigKeys.newBooleanConfigKey("pre.install.reboot.required",
    +            "indicates that a reboot should be performed after the pre-install command
is run", false);
    +    ConfigKey<Boolean> INSTALL_REBOOT_REQUIRED = ConfigKeys.newBooleanConfigKey("install.reboot.required",
    +            "indicates that a reboot should be performed after the install command is
run", false);
    +    ConfigKey<Boolean> CUSTOMIZE_REBOOT_REQUIRED = ConfigKeys.newBooleanConfigKey("customize.reboot.required",
    +            "indicates that a reboot should be performed after the customize command
is run", false);
    +    ConfigKey<String> LAUNCH_POWERSHELL_COMMAND = ConfigKeys.newStringConfigKey("launch.powershell.command",
    +            "command to run to launch the process");
    +    ConfigKey<String> CHECK_RUNNING_POWERSHELL_COMMAND = ConfigKeys.newStringConfigKey("checkRunning.powershell.command",
    +            "command to determine whether the process is running");
    +    ConfigKey<String> STOP_POWERSHELL_COMMAND = ConfigKeys.newStringConfigKey("stop.powershell.command",
    +            "command to run to stop the process");
    +    ConfigKey<String> CUSTOMIZE_COMMAND = ConfigKeys.newStringConfigKey("customize.command",
    +            "command to run during the customization phase");
    +    ConfigKey<String> CUSTOMIZE_POWERSHELL_COMMAND = ConfigKeys.newStringConfigKey("customize.powershell.command",
    +            "powershell command to run during the customization phase");
    +    ConfigKey<String> INSTALL_COMMAND = ConfigKeys.newStringConfigKey("install.command",
    +            "command to run during the install phase");
    +    ConfigKey<String> INSTALL_POWERSHELL_COMMAND = ConfigKeys.newStringConfigKey("install.powershell.command",
    +            "powershell command to run during the install phase");
    +    ConfigKey<Duration> REBOOT_UNAVAILABLE_TIMEOUT = ConfigKeys.newDurationConfigKey("reboot.unavailable.timeout",
    --- End diff --
    Same name for config key in REBOOT_UNAVAILABLE_TIMEOUT and REBOOT_AVAILABLE_TIMEOUT (always
look out for that - consequences are really bad! it ends up treating both keys as the same
thing, which is very hard to debug!)

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message