Return-Path: X-Original-To: apmail-deltacloud-commits-archive@www.apache.org Delivered-To: apmail-deltacloud-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A8477E666 for ; Tue, 26 Feb 2013 01:51:06 +0000 (UTC) Received: (qmail 94691 invoked by uid 500); 26 Feb 2013 01:51:06 -0000 Delivered-To: apmail-deltacloud-commits-archive@deltacloud.apache.org Received: (qmail 94672 invoked by uid 500); 26 Feb 2013 01:51:06 -0000 Mailing-List: contact commits-help@deltacloud.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@deltacloud.apache.org Delivered-To: mailing list commits@deltacloud.apache.org Received: (qmail 94653 invoked by uid 99); 26 Feb 2013 01:51:06 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Feb 2013 01:51:06 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 9D850650A; Tue, 26 Feb 2013 01:51:05 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: lutter@apache.org To: commits@deltacloud.apache.org X-Mailer: ASF-Git Admin Mailer Subject: [2/2] git commit: CIMI - Tests - reenabling collections testing for addresses and forwardingGroupTemplates Message-Id: <20130226015105.9D850650A@tyr.zones.apache.org> Date: Tue, 26 Feb 2013 01:51:05 +0000 (UTC) Updated Branches: refs/heads/master a09a7cf79 -> d536f252b CIMI - Tests - reenabling collections testing for addresses and forwardingGroupTemplates TrackedAt: http://tracker.deltacloud.org/patch/1609762c0dcdf5acb6c2dc0f9c403f23662fdfdf Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/256e9ad6 Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/256e9ad6 Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/256e9ad6 Branch: refs/heads/master Commit: 256e9ad60eae37366c1b60bee7ab29b0f8a46a18 Parents: a09a7cf Author: Ronelle Landy Authored: Mon Feb 25 16:43:56 2013 -0500 Committer: David Lutterkort Committed: Mon Feb 25 17:50:27 2013 -0800 ---------------------------------------------------------------------- server/lib/cimi/collections/addresses.rb | 2 ++ tests/cimi/cep_test.rb | 6 ++---- 2 files changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/deltacloud/blob/256e9ad6/server/lib/cimi/collections/addresses.rb ---------------------------------------------------------------------- diff --git a/server/lib/cimi/collections/addresses.rb b/server/lib/cimi/collections/addresses.rb index c34068d..92aca3e 100644 --- a/server/lib/cimi/collections/addresses.rb +++ b/server/lib/cimi/collections/addresses.rb @@ -25,7 +25,9 @@ module CIMI::Collections operation :index, :with_capability => :addresses do description 'List all Addresses in the AddressCollection' control do + puts "GET ADDRESSES" addresses = Address.list(self).select_by(params['$select']) + puts "GOT #{addresses.size}" respond_to do |format| format.xml {addresses.to_xml} format.json {addresses.to_json} http://git-wip-us.apache.org/repos/asf/deltacloud/blob/256e9ad6/tests/cimi/cep_test.rb ---------------------------------------------------------------------- diff --git a/tests/cimi/cep_test.rb b/tests/cimi/cep_test.rb index 24e19bf..c36ca16 100644 --- a/tests/cimi/cep_test.rb +++ b/tests/cimi/cep_test.rb @@ -26,12 +26,10 @@ class CloundEntryPointBehavior < CIMI::Test::Spec "volumes", "volumeTemplates", "volumeConfigs", "volumeImages", "networks", "networkTemplates", "networkConfigs", "networkPorts", "networkPortTemplates", "networkPortConfigs", -# FIXME: accessing this collection errors +# FIXME: addresses exposes a Rabbit bug # "addresses", "addressTemplates", "forwardingGroups", -# FIXME: accessing this collection causes the thin process to take -# all available memory -# "forwardingGroupTemplates", + "forwardingGroupTemplates", "jobs", "meters", "meterTemplates", "meterConfigs", "eventLogs", "eventLogTemplates" ]