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 328A7200B6F for ; Wed, 10 Aug 2016 04:34:35 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 31166160AAD; Wed, 10 Aug 2016 02:34:35 +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 7B793160AA5 for ; Wed, 10 Aug 2016 04:34:34 +0200 (CEST) Received: (qmail 54572 invoked by uid 500); 10 Aug 2016 02:34:33 -0000 Mailing-List: contact commits-help@eagle.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@eagle.incubator.apache.org Delivered-To: mailing list commits@eagle.incubator.apache.org Received: (qmail 54563 invoked by uid 99); 10 Aug 2016 02:34:33 -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; Wed, 10 Aug 2016 02:34:33 +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 E03F6C31DE for ; Wed, 10 Aug 2016 02:34:32 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -3.652 X-Spam-Level: X-Spam-Status: No, score=-3.652 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.432] autolearn=disabled 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 xwwfLyL7Rux8 for ; Wed, 10 Aug 2016 02:34:32 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id 8BCB55FBB5 for ; Wed, 10 Aug 2016 02:34:31 +0000 (UTC) Received: (qmail 54559 invoked by uid 99); 10 Aug 2016 02:34:30 -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, 10 Aug 2016 02:34:30 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 96C6BE08E8; Wed, 10 Aug 2016 02:34:30 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ralphsu@apache.org To: commits@eagle.incubator.apache.org Date: Wed, 10 Aug 2016 02:34:31 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [2/2] incubator-eagle git commit: [EAGLE-439] Introduce policy enable/disable support archived-at: Wed, 10 Aug 2016 02:34:35 -0000 [EAGLE-439] Introduce policy enable/disable support Author: Li, Garrett Review: ralphsu This closes #319 Project: http://git-wip-us.apache.org/repos/asf/incubator-eagle/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-eagle/commit/a0458ba2 Tree: http://git-wip-us.apache.org/repos/asf/incubator-eagle/tree/a0458ba2 Diff: http://git-wip-us.apache.org/repos/asf/incubator-eagle/diff/a0458ba2 Branch: refs/heads/develop Commit: a0458ba2605a4026d1d139816f1bf3efb8112d5a Parents: 53370c2 17670ac Author: Ralph, Su Authored: Wed Aug 10 10:19:36 2016 +0800 Committer: Ralph, Su Committed: Wed Aug 10 10:20:10 2016 +0800 ---------------------------------------------------------------------- .gitignore | 1 + .../eagle-alert-parent/eagle-alert/.gitignore | 2 +- .../engine/coordinator/PolicyDefinition.java | 15 ++++++++++- .../provider/ScheduleContextBuilder.java | 8 ++++-- .../src/test/resources/simple/policies.json | 27 ++++++++++++++++++++ 5 files changed, 49 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/a0458ba2/eagle-core/eagle-alert-parent/eagle-alert/.gitignore ---------------------------------------------------------------------- diff --cc eagle-core/eagle-alert-parent/eagle-alert/.gitignore index 12af842,12af842..fc72624 --- a/eagle-core/eagle-alert-parent/eagle-alert/.gitignore +++ b/eagle-core/eagle-alert-parent/eagle-alert/.gitignore @@@ -64,7 -64,7 +64,7 @@@ buil .settings .externalToolBuilders classes --# bin ++bin # Temporary files logs/