Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-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 F3D5B106AA for ; Thu, 23 Jan 2014 18:38:41 +0000 (UTC) Received: (qmail 14276 invoked by uid 500); 23 Jan 2014 18:38:39 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 14220 invoked by uid 500); 23 Jan 2014 18:38:38 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 14205 invoked by uid 99); 23 Jan 2014 18:38:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jan 2014 18:38:38 +0000 Date: Thu, 23 Jan 2014 18:38:38 +0000 (UTC) From: "Sumit Mohanty (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (AMBARI-4365) Action definitions should be provided as declarative resources - read from XML files MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-4365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sumit Mohanty resolved AMBARI-4365. ----------------------------------- Resolution: Fixed > Action definitions should be provided as declarative resources - read from XML files > ------------------------------------------------------------------------------------ > > Key: AMBARI-4365 > URL: https://issues.apache.org/jira/browse/AMBARI-4365 > Project: Ambari > Issue Type: Bug > Components: controller > Affects Versions: 1.5.0 > Reporter: Sumit Mohanty > Assignee: Sumit Mohanty > Fix For: 1.5.0 > > > Currently, action definition are stored in database. This is not in-line with the declarative definition of stack and custom commands (as part of stack). The custom actions are essentially same as custom commands except they are defined at the level of clusters. So we should move the custom actions to XML formatted files that ambari-server can read when starting up. This means that when one needs to make any edit they will have to restart ambari-server. This requirement is OK as adding/modifying custom actions is not a frequently done operation. -- This message was sent by Atlassian JIRA (v6.1.5#6160)