Return-Path: X-Original-To: apmail-brooklyn-dev-archive@minotaur.apache.org Delivered-To: apmail-brooklyn-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0629018D89 for ; Wed, 18 Nov 2015 11:25:38 +0000 (UTC) Received: (qmail 38010 invoked by uid 500); 18 Nov 2015 11:25:37 -0000 Delivered-To: apmail-brooklyn-dev-archive@brooklyn.apache.org Received: (qmail 37974 invoked by uid 500); 18 Nov 2015 11:25:37 -0000 Mailing-List: contact dev-help@brooklyn.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@brooklyn.incubator.apache.org Delivered-To: mailing list dev@brooklyn.incubator.apache.org Received: (qmail 37958 invoked by uid 99); 18 Nov 2015 11:25:37 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Nov 2015 11:25:37 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 0DBEC180A4D for ; Wed, 18 Nov 2015 11:25:37 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.009 X-Spam-Level: X-Spam-Status: No, score=-0.009 tagged_above=-999 required=6.31 tests=[T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id Om5xVY4i0Ztn for ; Wed, 18 Nov 2015 11:25:22 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with SMTP id 581F9215CF for ; Wed, 18 Nov 2015 11:25:21 +0000 (UTC) Received: (qmail 37858 invoked by uid 99); 18 Nov 2015 11:25:20 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Nov 2015 11:25:20 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 331EDDFBA1; Wed, 18 Nov 2015 11:25:20 +0000 (UTC) From: geomacy To: dev@brooklyn.incubator.apache.org Reply-To: dev@brooklyn.incubator.apache.org References: In-Reply-To: Subject: [GitHub] incubator-brooklyn pull request: SimpleCommand addition to brookly... Content-Type: text/plain Message-Id: <20151118112520.331EDDFBA1@git1-us-west.apache.org> Date: Wed, 18 Nov 2015 11:25:20 +0000 (UTC) Github user geomacy commented on the pull request: https://github.com/apache/incubator-brooklyn/pull/1030#issuecomment-157683343 I’ve made most of the changes to the simple command classes from the review comments. The driver is gone, but I have had trouble trying to get rid of the lifecycle effector stuff entirely (thought the class is simpler) — without it my unit tests fail to get the MachineLocation. Pushing back the changes so far. Maybe it’s now simple enough to be ok as-is. I meant to mention before the reason there’s a separate SimpleShellCommand and a SimpleShellCommandTest subclass was that I tried to keep a “separation of concerns” between invoking the command and testing the results (with a notion that SimpleShellCommand might be useful in its own right apart from tests). But I could collapse those together to cut down the number of classes. What do you think? --- 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 infrastructure@apache.org or file a JIRA ticket with INFRA. ---