You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by ma...@apache.org on 2013/01/07 09:30:12 UTC
git commit: CIMI - test plan - modifying plan per review comments.
Updated Branches:
refs/heads/master a09578bcf -> 1c7506e5a
CIMI - test plan - modifying plan per review comments.
TrackedAt: http://tracker.deltacloud.org/patch/aa4dc80d95ba75bb3b270805d4b51e0a33427df5
Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/1c7506e5
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/1c7506e5
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/1c7506e5
Branch: refs/heads/master
Commit: 1c7506e5a9cb966195d8d7181ec931ea225f9fcf
Parents: a09578b
Author: Ronelle Landy <rl...@redhat.com>
Authored: Fri Jan 4 14:16:53 2013 -0500
Committer: marios <ma...@redhat.com>
Committed: Mon Jan 7 10:18:50 2013 +0200
----------------------------------------------------------------------
tests/cimi/plan/scRMD.xml | 24 +++++++++++++++++-------
1 files changed, 17 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/deltacloud/blob/1c7506e5/tests/cimi/plan/scRMD.xml
----------------------------------------------------------------------
diff --git a/tests/cimi/plan/scRMD.xml b/tests/cimi/plan/scRMD.xml
index c8a74e7..fa56969 100644
--- a/tests/cimi/plan/scRMD.xml
+++ b/tests/cimi/plan/scRMD.xml
@@ -111,10 +111,13 @@ Content-Type: application/json
<note> For each collection appearing in the
CEP there should be a ResourceMetadata entry with the corresponding typeURI in the
ResourceMetadata collection </note>
- <note> Capabilities, attributes and actions available on the
- provider must be listed. The entries are returned within
+ <note> At least one of the capabilities/attributes/actions must be listed within
+ the Resource Metadata resource. Note that a collection Resource
+ Metadata resource does not have to have all three
+ (capabilities, attributes and actions) necessarily, but at least one
+ capability/attribute/action must be present. The entries should be returned within
ResourceMetadata elements related to the collections they are
- associated with</note>
+ associated with. </note>
<p/>
@@ -147,7 +150,8 @@ Content-Type: application/json
<part title="Machines Resource Metadata">
<note>
- This test only applies if CEP.machines is present.
+ This test applies only if the CEP.machines collection is present and the CEP.ResourceMetadata
+ collection contains an entry corresponding to the Machine resource.
</note>
<tests>
<test name="Query the resource_metadata collection">
@@ -162,9 +166,11 @@ Content-Type: application/json
<note>ResourceMetadata.id must be set </note>
<note> ResourceMetadata.name must be set to Machine </note>
<note> ResourceMetadata.typeUri must be set </note>
- <note> Capabilities, attributes and actions available on the
- provider that are associated with the Machine collection must be
- listed </note>
+ <note> At least one of the capabilities/attributes/actions must be listed within
+ the Machine Resource Metadata resource. Note that a Machine Resource
+ Metadata resource does not have to have all three
+ (capabilities, attributes and actions) necessarily, but at least one
+ capability/attribute/action must be returned. </note>
<p/>
@@ -233,6 +239,8 @@ Content-Type: application/json
</part>
<part title="Default Initial State – Machine Capability">
+ <note> This test applies only if the ResourceMetadata
+ corresponding to the Machine resource contains a DefaultInitialState capability. </note>
<tests>
<test name="Query the ResourceMetadata entry">
<desc>
@@ -409,6 +417,8 @@ Content-Type: application/json
<part title="Initial States – Machine Capability">
+ <note> This test applies only if the ResourceMetadata
+ corresponding to the Machine resource contains an InitialStates capability. </note>
<tests>
<test name="Query the ResourceMetadata entry">
<desc>