Return-Path: X-Original-To: apmail-stratos-dev-archive@minotaur.apache.org Delivered-To: apmail-stratos-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 309E817223 for ; Fri, 6 Mar 2015 12:46:16 +0000 (UTC) Received: (qmail 62107 invoked by uid 500); 6 Mar 2015 12:46:16 -0000 Delivered-To: apmail-stratos-dev-archive@stratos.apache.org Received: (qmail 62071 invoked by uid 500); 6 Mar 2015 12:46:15 -0000 Mailing-List: contact dev-help@stratos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stratos.apache.org Delivered-To: mailing list dev@stratos.apache.org Received: (qmail 62061 invoked by uid 99); 6 Mar 2015 12:46:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Mar 2015 12:46:15 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of vishanthb@wso2.com designates 74.125.82.50 as permitted sender) Received: from [74.125.82.50] (HELO mail-wg0-f50.google.com) (74.125.82.50) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Mar 2015 12:45:51 +0000 Received: by wggx13 with SMTP id x13so12565327wgg.12 for ; Fri, 06 Mar 2015 04:43:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wso2.com; s=google; h=mime-version:date:message-id:subject:from:to:content-type; bh=U9Dpto5z4mqH0/TXOEgd7K0V8bQJx9O+/qDFk4v6S5c=; b=Zqu19yHBEQfWOqJDUCE4vgGCbT5iTdBnQhAe394eo4n8wOKhyQUDZnHjGBD6dDX12z 61zThmOiVadrQ9kBQFgrbi2ZZsnP30YzDDh+F88V88dY1kQ17VhRPQawkrLhjDd9uKIR DXM0LMFQve957XMnLmOqbR/WG8WcjEUFrg5a4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=U9Dpto5z4mqH0/TXOEgd7K0V8bQJx9O+/qDFk4v6S5c=; b=ms6luWKa3GpGCZmlB4WW2DqnlEXTu35cCm6OYO7RSZBmIU3IfKiOJKdkvN0v6/bslj B+9x483GDvvJFYjNF+8BATrr5aJlfv8cN3Ozz75j3KREmZvVkaLyTk6caGgW5P12+2El 7hTUKH8SrsZIHWL/BsbbtjPuGDcnLmp40oTVbz/+Rxrb9VqorTkK13OyaAzXtneb4Ym+ LRMr8ON1CSRd7HgU4e6jWdJGLojacBUYEox1pJNjpnvvzGmqj4a1yR3visfgku1wUgBG NFmkvHQ0lrIDKrsM17ARuS5Sh7+NiqRKnTgXHZUN3PxwxlLwbrAfoC/bJN1/rLUB3SzO Te3A== X-Gm-Message-State: ALoCoQkv9RXzt14qVrQ2OMRZiFFae3w2tPL7b0qRtUuZPnMHh/Z+zJa+nyHykgF91mkf82sEDDhH MIME-Version: 1.0 X-Received: by 10.194.193.9 with SMTP id hk9mr29889521wjc.42.1425645814478; Fri, 06 Mar 2015 04:43:34 -0800 (PST) Received: by 10.28.216.200 with HTTP; Fri, 6 Mar 2015 04:43:34 -0800 (PST) Date: Fri, 6 Mar 2015 18:13:34 +0530 Message-ID: Subject: Throwing exception when persisting autoscale policy with invalid autoscale policy id From: Vishanth Balasubramaniam To: dev@stratos.apache.org Content-Type: multipart/alternative; boundary=047d7bae49625912d005109e080e X-Virus-Checked: Checked by ClamAV on apache.org --047d7bae49625912d005109e080e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Devs, I was working on throwing an exception in registry manager when persisting autoscaler with an invalid autoscale policy id. =E2=80=8B While testing the scenario, I found out that the autoscaler policy is added to the information model in policy manager, even if persisting autoscaler policy is unsuccessful. Changes were made in the Pull Request #261 [1]. Please review and merge. [1] - https://github.com/apache/stratos/pull/261 Thank you, Vishanth --=20 *Vishanth Balasubramaniam* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: *+94771737718* about me: *http://about.me/vishanth * --047d7bae49625912d005109e080e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Devs,

I was working o= n throwing an exception in registry manager when persisting autoscaler with= an invalid autoscale policy id.
=E2=80= =8B
While testing the scenario, I fo= und out that the=C2=A0autoscaler policy is added to the information model i= n policy manager, even if persisting autoscaler policy is unsuccessful.

Cha= nges were made in the Pull Request #261 [1]. Please review and merge.
=


Thank you,
Vishanth

--
Vishanth Balasubramaniam
Software Engineer=
WSO2 Inc.;=C2=A0http://wso2.com
lean.enterprise.middleware
mobile:=C2=A0+94771737718

--047d7bae49625912d005109e080e--