Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5E4E8200AC8 for ; Tue, 24 May 2016 01:40:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5CE09160A0E; Mon, 23 May 2016 23:40:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 21B8A160A24 for ; Tue, 24 May 2016 01:40:02 +0200 (CEST) Received: (qmail 86245 invoked by uid 500); 23 May 2016 23:40:02 -0000 Mailing-List: contact dev-help@quarks.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@quarks.incubator.apache.org Delivered-To: mailing list dev@quarks.incubator.apache.org Received: (qmail 86144 invoked by uid 99); 23 May 2016 23:40:01 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 May 2016 23:40:01 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 85965C1491 for ; Mon, 23 May 2016 23:40:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id CoocOYUzQdHy for ; Mon, 23 May 2016 23:39:59 +0000 (UTC) Received: from mail-oi0-f41.google.com (mail-oi0-f41.google.com [209.85.218.41]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id B95BB5F366 for ; Mon, 23 May 2016 23:39:58 +0000 (UTC) Received: by mail-oi0-f41.google.com with SMTP id b65so1049754oia.1 for ; Mon, 23 May 2016 16:39:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=0xKPimm9oegS0vICHGcwSWM/nBiEInyzKnnx4QfeCac=; b=yR+NNm7vTzcTMSO8JUkHVAw4jLMYDGh39dBv3MbNMloN+WsyGwBv4rfaiVXq4wvD2w WJanlK8ZTQ27wgPCMWHaY+9GKUnNIjLw14ghJLRM6TYC6gmG2O/dfin5BO4QpRpGNTrF aF0ZBx79Soq8bOEXmYp/n4sG/WSYIJzayBIZK2WWXr29QL5v9SQVFCNwnTrvNUv7wgWa wuLocGUYjcXAUyK8680CchtZMMGpuynYc/NEpR7Ae2sIrvhAxYPw8h2PL8xY20UjR0AJ s3ip1UkMfAH1uvbMWINKfu8mt1V7mZ77jMbScXCW4cV3u0tSxWFfDxtroS444OlC9k47 KlmA== 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; bh=0xKPimm9oegS0vICHGcwSWM/nBiEInyzKnnx4QfeCac=; b=e7XM+zpJ7L+MqOwRF0RNS0ptHEdCfZzQrhEx4jqKxHNMlpCWfyKI6IjMK86YYs8r6i 8pfwzeUbmw++NU9kVl06p6Uky3RXBh8FbM2QV30B1Q8/pO8ORl+5SLgexIOkg4SE+BgI cz3WEdsfK/osOzJ0vUdE0Ck+JeKaeGRq9H435X4tuSueMR3fC8DiwE++1mH6qMOQtyiT tcgrS3f4BBKvdlMhfqfPkAuz1rf72oW6EOXIJwDEyDCbWog+IEwcz3/VbT0Eb8yGcaDU rY9H7dF/nhBIGcfPIRZhL2NXKVSpQBtgpv1bgAnJty+OgrCllH8Yr9E6baYRVnzHzD28 NUHg== X-Gm-Message-State: ALyK8tKuSkUkIcMnwRRVUApKd31kSG+YJrbeTTGZykOUAyXxdP+LZUjAtmaYGGyISFkZxoaC4kSGKIUsnJ2QFQ== MIME-Version: 1.0 X-Received: by 10.202.236.135 with SMTP id k129mr5137716oih.161.1464046797642; Mon, 23 May 2016 16:39:57 -0700 (PDT) Received: by 10.157.24.51 with HTTP; Mon, 23 May 2016 16:39:57 -0700 (PDT) In-Reply-To: <0972bd7b-b6eb-1ace-a8f0-8f3ba7d5ae29@debrunners.com> References: <84F6ECE8-6BA7-4FC7-ADF3-6D07F56C7FB3@pacbell.net> <614fc454-0fad-1165-d454-9c9f04c9f357@debrunners.com> <49CF3111-FD78-4E02-8C02-C8F709D33F58@pacbell.net> <0972bd7b-b6eb-1ace-a8f0-8f3ba7d5ae29@debrunners.com> Date: Mon, 23 May 2016 16:39:57 -0700 Message-ID: Subject: Re: Standard commands for Quarks applications? From: Queenie Ma To: dev@quarks.incubator.apache.org Content-Type: multipart/alternative; boundary=001a11c177884ee33205338af52e archived-at: Mon, 23 May 2016 23:40:04 -0000 --001a11c177884ee33205338af52e Content-Type: text/plain; charset=UTF-8 I was able to successfully start the Heartbeat application in the IotfFullScenario sample. I'm confused about how to stop the Heartbeat application once it is running. I understand that I need to change the job state, e.g., job.stateChange(Job.Action.CLOSE). My question is: how can I access the running application from a different Quarks application? Any tips or help would be appreciated! -- Queenie On Mon, May 16, 2016 at 7:37 AM, Dan Debrunner wrote: > On 5/16/2016 6:51 AM, Susan Cline wrote: > >> >> On May 10, 2016, at 3:58 PM, Dan Debrunner >> >> > JsonControlService registers the MBeans and allows a JSON control >>> request object to invoke an operation. The JSON object format is >>> described (briefly) in the package for the JsonControlService but its >>> formatting was messed up so it doesn't appear in the Javadoc (I'll fix >>> that). The JSON control request object is passed directly into the >>> JsonControlService instance to invoke the method. >>> >> >> Has this been fixed yet? When I look at the javadoc for >> JsonControlService I see: >> >> A JSON object passed to |controlRequest| >> >> with >> these name/value pairs is handled as an operation resulting in a method >> call to a void method on a control service MBean interface. >> >> * |type=|/type/ - MBean type. >> * |alias=|/alias - Alias of the MBean./ >> * |op=|/name/ - Name of the operation to invoke, this is the method >> name on the MBean. >> * |arguments=|/optional list of arguments/ - Arguments passed to the >> operation (method). >> >> Is this correct now? >> > > The information was correct, the bug was only that it was not showing up > in the javadoc. > > Dan. > --001a11c177884ee33205338af52e--