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 D27DC18313 for ; Thu, 24 Dec 2015 08:18:31 +0000 (UTC) Received: (qmail 90897 invoked by uid 500); 24 Dec 2015 08:18:31 -0000 Delivered-To: apmail-brooklyn-dev-archive@brooklyn.apache.org Received: (qmail 90863 invoked by uid 500); 24 Dec 2015 08:18:31 -0000 Mailing-List: contact dev-help@brooklyn.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@brooklyn.apache.org Delivered-To: mailing list dev@brooklyn.apache.org Received: (qmail 90849 invoked by uid 99); 24 Dec 2015 08:18:31 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Dec 2015 08:18:31 +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 C94781804BE for ; Thu, 24 Dec 2015 08:18:30 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.879 X-Spam-Level: ** X-Spam-Status: No, score=2.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=cloudsoftcorp.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 3UMwcow0UxaH for ; Thu, 24 Dec 2015 08:18:29 +0000 (UTC) Received: from mail-lf0-f42.google.com (mail-lf0-f42.google.com [209.85.215.42]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 57E22429D3 for ; Thu, 24 Dec 2015 08:18:29 +0000 (UTC) Received: by mail-lf0-f42.google.com with SMTP id z124so154570479lfa.3 for ; Thu, 24 Dec 2015 00:18:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudsoftcorp.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=vdaTkYmyaIV+/XPxgV9g4gLsalR99wEc9wiM8qK9XRo=; b=ISy5r7TRfH+3Db26Tu1oktK8e2nKr/bkQRY/jefitIireVUclXa9Y/fMCSP/b5eQFx EHZv96kuaog74W7qz9uFVVictijq7G5tglPLydqPuikN/7f3WEWM+SOaNLvK/99PnC32 Edy2OMyRA8dBw2TTDpCMJhP6X8ZpEsYORbhJ0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=vdaTkYmyaIV+/XPxgV9g4gLsalR99wEc9wiM8qK9XRo=; b=Wf7o79wSAhUbFkbh9zHCffUGT/2a+L1S3++wtfO05uQQSL04+4LcdYvRwsnUYqUOIv EyhWeE2jTfKhTkxFrDLm5Nix5RgPxJhcIZKxO3xo1X4aKJBX5LuS9OvUwZRjd2UFijNm +5MzHfEiOwSRBvvaeB7I/N9yjgWzd+4h8KeNbb8NISZJbQMlFh3DT0/2a8N2mfWvfJ09 2oTtubr8eOVEEeCvxNRTnYCdMHi4Mncxd4kx1MuQG746B2uMaEpp/qJGYY2o2zoKBvfu plWjsqseDGS7kh+zzBJJ+7HL3TKjM1/llHgikbheGhsnyAjbHKh5v9GZG9A34yfu35fz jAFQ== X-Gm-Message-State: ALoCoQnpERYuhqYS85jzOyYhTnuHlqEel4dj6vWwUYt00UBCYSiwsTrK7/K0H1NEYXNkGollsin9L9Sm1pP5tFBZKailDL8etYolvXzCegr63NOarFSSRgSQvwBeBP6BCgQ6pn7ywpzfQB4rKGUiYeM2Q44hXWYIWw== MIME-Version: 1.0 X-Received: by 10.25.137.84 with SMTP id l81mr12015856lfd.45.1450945108034; Thu, 24 Dec 2015 00:18:28 -0800 (PST) Received: by 10.112.167.103 with HTTP; Thu, 24 Dec 2015 00:18:27 -0800 (PST) In-Reply-To: References: Date: Thu, 24 Dec 2015 08:18:27 +0000 Message-ID: Subject: Re: Issue Deployment Dependencies in Brooklyn From: Duncan Johnston Watt To: dev@brooklyn.apache.org Content-Type: multipart/alternative; boundary=001a113fc3dec0ea2e0527a07b59 X-Legal-Virus-Advice: Whilst all reasonable care has been taken to avoid the transmission of viruses, it is the responsibility of the recipient to ensure that the onward transmission, opening or use of this message and any attachments will not adversely affect its systems or data. No responsibility is accepted by Cloudsoft Corporation Limited in this regard and the recipient should carry out such virus and other checks as it considers appropriate. X-Legal-Confidentiality: This e-mail message is confidential and for use by the addressee only. If the message is received by anyone other than the addressee, please return the message to the sender by replying to it and then delete the message from your computer. Internet e-mails are not necessarily secure. Cloudsoft Corporation Limited does not accept responsibility for changes made to this message after it was sent. X-Legal-Company-Info: Cloudsoft Corporation Limited. Registered in Scotland. Number: SC349230. Registered Office: 13 Dryden Place, Edinburgh, EH9 1RP. --001a113fc3dec0ea2e0527a07b59 Content-Type: text/plain; charset=UTF-8 Hi. Have you tried - launch.latch: $brooklyn:component("X").attributeWhenReady("service.isUp") Best -- Duncan Johnston-Watt CEO | Cloudsoft Corporation +44 777 190 2653 | @duncanjw Sent from my iPhone Begin forwarded message: *From:* Abhishek Sharma *Date:* 24 December 2015 at 01:40:16 GMT *To:* dev@brooklyn.apache.org *Subject:* *Issue Deployment Dependencies in Brooklyn* *Reply-To:* dev@brooklyn.apache.org I have 2 applications that I start with I run brooklyn. The two apps are specified as follows in a YAML file. services: - type: com.abhishek.dropwizzard id: X - type: com.abhishek.nodejs id: Y I want my nodeJS app to come up after my drop wizard app has been started successfully. In-order to setup that deployment dependency I add the following to my YAML file. - type: com.abhishek.nodejs launch.latch: $brooklyn:component("X").attributeWhenReady("service.process.isRunning") This doesn't work I get an error saying Ignoring PDP attributes .... Please advise on how can I fix this ? Thanks, A --001a113fc3dec0ea2e0527a07b59--