Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 93912FE8F for ; Sat, 5 Oct 2013 07:31:00 +0000 (UTC) Received: (qmail 65829 invoked by uid 500); 5 Oct 2013 07:30:57 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 65656 invoked by uid 500); 5 Oct 2013 07:30:56 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 65644 invoked by uid 99); 5 Oct 2013 07:30:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Oct 2013 07:30:56 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of runseb@gmail.com designates 209.85.215.171 as permitted sender) Received: from [209.85.215.171] (HELO mail-ea0-f171.google.com) (209.85.215.171) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Oct 2013 07:30:49 +0000 Received: by mail-ea0-f171.google.com with SMTP id n15so2212225ead.30 for ; Sat, 05 Oct 2013 00:30:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=oxvjroJsWxjIelfi1jIR2Fm2E1mem1ILxFPwK/mi9IM=; b=PAFiSrjmiE9EOLc0wE2O2NoL6ygxTzM9b0OomxnswThqXow9oqH/jlohzsLLZZdSyv 9gpmcOCBM3UHHDarOgrmhO4uMZdxKgd8pMAw0Np/t72ldOYY5Rh3UQir3vfnswdNrTto H918/eWxxFTBlcoTqWYLI43nalACKfqG/7vKQ5DnqjSJ/T0k0Sju4uIIQoqPH8x+PhN5 NZO2sMO23BpDwoHKA0+GfC9HmWkkPNsiOLQwmauSK/h52VjZwbw4t1t6Uj5WjzsRENLG sHw+b3OGK/xmFj+RoMooA9WdMOdsEe3d5iT06Jz/VJO3uU9nNYpyUInUC2LIhy2LzJMx iKsg== X-Received: by 10.15.33.132 with SMTP id c4mr28829300eev.2.1380958229405; Sat, 05 Oct 2013 00:30:29 -0700 (PDT) Received: from [10.0.0.8] (128-228.193-178.cust.bluewin.ch. [178.193.228.128]) by mx.google.com with ESMTPSA id h45sm36744781eeg.5.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 05 Oct 2013 00:30:28 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: [HOW-TO] Custom REST call on Destroy and Deploy From: sebgoa In-Reply-To: Date: Sat, 5 Oct 2013 09:30:27 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <93B6E7CA-9C47-47E8-B705-7C3E68B1448C@gmail.com> References: To: dev@cloudstack.apache.org X-Mailer: Apple Mail (2.1508) X-Virus-Checked: Checked by ClamAV on apache.org On Oct 4, 2013, at 9:21 PM, "Musayev, Ilya" wrote: > We would like to add additional operations in ACS when we do deploy = and destroy. >=20 > For example, when VM is destroyed, we want to make create a JIRA = ticket (rest call) to track the decomision process. > When VM is deployed, we may need to do something else, but also rest = based? >=20 > I can see 2 ways of doing this, >=20 >=20 > 1) Extend the UI and initiate extra REST calls via java script = (low risk) >=20 > 2) Add more functionality to API Command (extra work and = maintenance burden) >=20 > 3) Create a Custom front end (seems like a lot of work) >=20 >=20 > How can this be done most efficiently and hopefully with least = intrusion? How do you make the destroy and deploy ? Would be easy to do it with a wrapper that also creates those tickets :)=