deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject [2/4] Site: Update for 1.1.2 release
Date Mon, 18 Mar 2013 10:26:30 GMT
http://git-wip-us.apache.org/repos/asf/deltacloud/blob/d8e671a1/site/output/why-update-vcr-test-fixtures-data.html
----------------------------------------------------------------------
diff --git a/site/output/why-update-vcr-test-fixtures-data.html b/site/output/why-update-vcr-test-fixtures-data.html
index cab7275..c5d80ee 100644
--- a/site/output/why-update-vcr-test-fixtures-data.html
+++ b/site/output/why-update-vcr-test-fixtures-data.html
@@ -98,11 +98,13 @@
       <p><br></p>
 
 <ul class="breadcrumb">
-<li>
+  <li>
     <a href="white-box-tests.html">White Box Tests?</a> <span class="divider">/</span>
   </li>
   <li class="active">Why Update The VCR Fixtures</li>
-</ul><p>
+</ul>
+
+<p>
 Deltacloud uses pre-recorded <a href="https://github.com/vcr/vcr">VCR</a> YAML
 files called <i>fixtures</i> to allow test execution without the need for a live
 cloud provider.
@@ -137,12 +139,12 @@ test does not yet exercise. <b>For Example:</b>
 </p>
 
 <ul>
-<li>
+  <li>
     <p>
     A bug is fixed in the EC2 driver, where <i>images()</i> method had not work
properly.
     </p>
     <ol>
-<li>
+      <li>
         <p>Open <i>tests/drivers/ec2/images_tests.rb</i></p>
       </li>
       <li>
@@ -155,14 +157,14 @@ test does not yet exercise. <b>For Example:</b>
         </pre>
       </li>
     </ol>
-</li>
+  </li>
 
   <li>
     <p>
     Scenario: You added new collection <i>oranges()</i> into RHEV-M driver.
     </p>
     <ol>
-<li>
+      <li>
         <p>Write all driver methods tests here: <i>tests/drivers/rhevm/oranges_tests.rb</i></p>
       </li>
       <li>
@@ -172,7 +174,7 @@ test does not yet exercise. <b>For Example:</b>
         <p>Write all collection operations tests here ^^</p>
       </li>
     </ol>
-</li>
+  </li>
 
   <li>
     <p>
@@ -180,7 +182,7 @@ test does not yet exercise. <b>For Example:</b>
     operation does not provide correct status code. You corrected it.
     </p>
     <ol>
-<li>
+      <li>
         <p>Open 'tests/deltacloud/collections/images_collection_test.rb'</p>
       </li>
       <li>
@@ -193,10 +195,11 @@ test does not yet exercise. <b>For Example:</b>
         <p>Provide the correct value into 'status.must_equal' method</p>
       </li>
     </ol>
-</li>
+  </li>
 
 </ul>
 
+
       <footer class="footer">
         <p class="pull-right"><span class='icon-circle-arrow-up'>&nbsp;</span><a
href="#">Back to top</a></p>
         <div class='row'>

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/d8e671a1/site/output/write-new-driver.html
----------------------------------------------------------------------
diff --git a/site/output/write-new-driver.html b/site/output/write-new-driver.html
index c5a4930..1b309fe 100644
--- a/site/output/write-new-driver.html
+++ b/site/output/write-new-driver.html
@@ -98,16 +98,19 @@
       <p><br></p>
 
 <ul class="breadcrumb">
-<li>
+  <li>
     <a href="how-to-contribute.html#how">How to contribute?</a> <span class="divider">/</span>
   </li>
   <li class="active">Write a provider driver</li>
-</ul><h3 id="driver">Write a provider driver</h3>
+</ul>
+
+<h3 id="driver">Write a provider driver</h3>
 
 <p>The deltacloud drivers are stored in <strong>deltacloud/server/lib/deltacloud/drivers</strong>.</p>
 
 <ol>
-<li>
+
+  <li>
 
   <p>
   To add a driver for a hypotetical <strong>Foo</strong> cloud, add a directory
into /drivers/ and then add a file for a driver itself:
@@ -146,7 +149,9 @@ end
   </p>
   
   </li>
-</ol><p>Thus, your driver for the cloud provider Foo may look like:</p>
+</ol>
+
+<p>Thus, your driver for the cloud provider Foo may look like:</p>
 
 <pre>
 require 'deltacloud/base_driver'
@@ -213,26 +218,30 @@ The voodoo used here (i.e. definition of .to and .on etc) is defined
in <strong>
 <p>Valid states are:</p>
 
 <ul>
-<li><strong>:begin</strong></li>
+  <li><strong>:begin</strong></li>
   <li><strong>:pending</strong></li>
   <li><strong>:running</strong></li>
   <li><strong>:shutting_down</strong></li>
   <li><strong>:stopped</strong></li>
   <li><strong>:end</strong></li>
-</ul><p>The instance is located in the<strong>:begin</strong> state
before being created. Immediately after being destroyed the instance is removed to the <strong>:end</strong>
state.</p>
+</ul>
+
+<p>The instance is located in the<strong>:begin</strong> state before being
created. Immediately after being destroyed the instance is removed to the <strong>:end</strong>
state.</p>
 
 <p>Valid transition actions are:</p>
 
 <ul>
-<li><strong>:stop</strong></li>
+  <li><strong>:stop</strong></li>
   <li><strong>:start</strong></li>
   <li><strong>:reboot</strong></li>
-</ul><p>The action <strong>:automatically</strong> may be used to
indicate a tranisition that may occur without an action being triggered (see the example above).</p>
+</ul>
+
+<p>The action <strong>:automatically</strong> may be used to indicate a
tranisition that may occur without an action being triggered (see the example above).</p>
 
 <p>You can implement some other methods according to the collections you will be supporting:</p>
 
 <ul>
-<li><strong>hardware_profiles(credentials, opts=nil)</strong></li>
+  <li><strong>hardware_profiles(credentials, opts=nil)</strong></li>
   <li><strong>images(credentials, opts=nil)</strong></li>
   <li><strong>realms(credentials, opts=nil)</strong></li>
   <li><strong>instances(credentials, opts=nil)</strong></li>
@@ -240,7 +249,9 @@ The voodoo used here (i.e. definition of .to and .on etc) is defined in
<strong>
   <li><strong>reboot_instance(credentials, id)</strong></li>
   <li><strong>stop_instance(credentials, id)</strong></li>
   <li><strong>destroy_instance(credentials, id)</strong></li>
-</ul><p>
+</ul>
+
+<p>
 The <strong>hardware_profiles(...)</strong> method should return an array of
HardwareProfile objects. The <strong>opts</strong> hash, if present, must be inspected
for <strong>:id</strong> and <strong>:architecture</strong> keys.
If these keys are available, the results should be filtered by the value associated with each
key. The <strong>filter_on(...)</strong> helper method is used for the filtering
and as you can see from existing driver method definitions, is invoked in many of the driver
collection methods:
 </p>
 
@@ -325,6 +336,7 @@ $ cucumber ../tests/ec2
   </div>
 </div>
 
+
       <footer class="footer">
         <p class="pull-right"><span class='icon-circle-arrow-up'>&nbsp;</span><a
href="#">Back to top</a></p>
         <div class='row'>


Mime
View raw message