Commit dfbb2ba3 authored by Spiros Koulouzis's avatar Spiros Koulouzis

Fixed wrong class name error

parent af9c5004
...@@ -76,6 +76,18 @@ ...@@ -76,6 +76,18 @@
</tr> </tr>
</thead> </thead>
<tbody data-link="row" class="rowlink"> <tbody data-link="row" class="rowlink">
<tr class="clickable-row" data-href="json_AnsibleOutput.html">
<td> <span class="datatype-name">AnsibleOutput</span>
</td>
<td> <span class="datatype-description"></span>
</td>
</tr>
<tr class="clickable-row" data-href="json_AnsibleResult.html">
<td> <span class="datatype-name">AnsibleResult</span>
</td>
<td> <span class="datatype-description"></span>
</td>
</tr>
<tr class="clickable-row" data-href="json_CloudCredentials.html"> <tr class="clickable-row" data-href="json_CloudCredentials.html">
<td> <span class="datatype-name">CloudCredentials</span> <td> <span class="datatype-name">CloudCredentials</span>
</td> </td>
...@@ -104,6 +116,12 @@ software</span> ...@@ -104,6 +116,12 @@ software</span>
<td> <span class="datatype-description">This class represents the response of a deploy request. It may hold a key <td> <span class="datatype-description">This class represents the response of a deploy request. It may hold a key
pair used for logging in and managing a docker cluster. Currently they key pair used for logging in and managing a docker cluster. Currently they key
pair is only used by kubernetes</span> pair is only used by kubernetes</span>
</td>
</tr>
<tr class="clickable-row" data-href="json_Invocation.html">
<td> <span class="datatype-name">Invocation</span>
</td>
<td> <span class="datatype-description"></span>
</td> </td>
</tr> </tr>
<tr class="clickable-row" data-href="json_Key.html"> <tr class="clickable-row" data-href="json_Key.html">
...@@ -117,7 +135,7 @@ from the machine the keys correspond to.</span> ...@@ -117,7 +135,7 @@ from the machine the keys correspond to.</span>
<tr class="clickable-row" data-href="json_KeyPair.html"> <tr class="clickable-row" data-href="json_KeyPair.html">
<td> <span class="datatype-name">KeyPair</span> <td> <span class="datatype-name">KeyPair</span>
</td> </td>
<td> <span class="datatype-description">This class hold the pair of public private keys. The kyes may be used for <td> <span class="datatype-description">This class hold the pair of public private keys. The keys may be used for
logging in VMs.</span> logging in VMs.</span>
</td> </td>
</tr> </tr>
...@@ -164,6 +182,12 @@ provisioner to request for cloud resources.</span> ...@@ -164,6 +182,12 @@ provisioner to request for cloud resources.</span>
<td> <span class="datatype-name">ProvisionResponse</span> <td> <span class="datatype-name">ProvisionResponse</span>
</td> </td>
<td> <span class="datatype-description">This class represents a description of provisioned resources</span> <td> <span class="datatype-description">This class represents a description of provisioned resources</span>
</td>
</tr>
<tr class="clickable-row" data-href="json_Result_.html">
<td> <span class="datatype-name">Result_</span>
</td>
<td> <span class="datatype-description"></span>
</td> </td>
</tr> </tr>
<tr class="clickable-row" data-href="json_Script.html"> <tr class="clickable-row" data-href="json_Script.html">
...@@ -311,7 +335,7 @@ from the machine the keys correspond to.</span> ...@@ -311,7 +335,7 @@ from the machine the keys correspond to.</span>
<tr class="clickable-row" data-href="xml_ns0_keyPair.html"> <tr class="clickable-row" data-href="xml_ns0_keyPair.html">
<td> <span class="datatype-name">keyPair</span> <td> <span class="datatype-name">keyPair</span>
</td> </td>
<td> <span class="datatype-description">This class hold the pair of public private keys. The kyes may be used for <td> <span class="datatype-description">This class hold the pair of public private keys. The keys may be used for
logging in VMs.</span> logging in VMs.</span>
</td> </td>
</tr> </tr>
...@@ -370,6 +394,30 @@ provisioner to request for cloud resources.</span> ...@@ -370,6 +394,30 @@ provisioner to request for cloud resources.</span>
<td> <span class="datatype-name">user</span> <td> <span class="datatype-name">user</span>
</td> </td>
<td> <span class="datatype-description">This class represents a user.</span> <td> <span class="datatype-description">This class represents a user.</span>
</td>
</tr>
<tr class="clickable-row" data-href="xml_ns0_ansibleOutput.html">
<td> <span class="datatype-name">ansibleOutput</span>
</td>
<td> <span class="datatype-description"></span>
</td>
</tr>
<tr class="clickable-row" data-href="xml_ns0_ansibleResult.html">
<td> <span class="datatype-name">ansibleResult</span>
</td>
<td> <span class="datatype-description"></span>
</td>
</tr>
<tr class="clickable-row" data-href="xml_ns0_invocation.html">
<td> <span class="datatype-name">invocation</span>
</td>
<td> <span class="datatype-description"></span>
</td>
</tr>
<tr class="clickable-row" data-href="xml_ns0_result_.html">
<td> <span class="datatype-name">result_</span>
</td>
<td> <span class="datatype-description"></span>
</td> </td>
</tr> </tr>
</tbody> </tbody>
......
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
<h1 class="page-header">Files and Libraries</h1> <h1 class="page-header">Files and Libraries</h1>
<h3 id="artifact_gwt_json_overlay">GWT JSON Overlay</h3> <h3 id="artifact_gwt_json_overlay">GWT JSON Overlay</h3>
<p class="lead">Created April 21, 2017</p> <p class="lead">Created April 25, 2017</p>
<p> <p> <p> <p>
The <a href="http://code.google.com/webtoolkit/">Google Web Toolkit</a> JSON Overlay library provides the JSON Overlays that The <a href="http://code.google.com/webtoolkit/">Google Web Toolkit</a> JSON Overlay library provides the JSON Overlays that
can be used to access the Web service API for this application. can be used to access the Web service API for this application.
...@@ -91,13 +91,13 @@ ...@@ -91,13 +91,13 @@
<tbody data-link="row" class="rowlink"> <tbody data-link="row" class="rowlink">
<tr class="clickable-row" data-href="drip-api-gwt-json-overlay.jar"> <tr class="clickable-row" data-href="drip-api-gwt-json-overlay.jar">
<td><span class="downloadfile-name">drip-api-gwt-json-overlay.jar</span></td> <td><span class="downloadfile-name">drip-api-gwt-json-overlay.jar</span></td>
<td><span class="downloadfile-size">10.50K</span></td> <td><span class="downloadfile-size">13.79K</span></td>
<td><span class="downloadfile-description">The sources for the GWT JSON overlay.</span></td> <td><span class="downloadfile-description">The sources for the GWT JSON overlay.</span></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
<h3 id="artifact_java_json_client_library">Java JSON Client Library</h3> <h3 id="artifact_java_json_client_library">Java JSON Client Library</h3>
<p class="lead">Created April 21, 2017</p> <p class="lead">Created April 25, 2017</p>
<p><p> <p><p>
The Java client-side library is used to provide the set of Java objects that can be serialized The Java client-side library is used to provide the set of Java objects that can be serialized
to/from JSON using <a href="http://jackson.codehaus.org/">Jackson</a>. This is useful for accessing the to/from JSON using <a href="http://jackson.codehaus.org/">Jackson</a>. This is useful for accessing the
...@@ -116,18 +116,18 @@ ...@@ -116,18 +116,18 @@
<tbody data-link="row" class="rowlink"> <tbody data-link="row" class="rowlink">
<tr class="clickable-row" data-href="drip-api-json-client.jar"> <tr class="clickable-row" data-href="drip-api-json-client.jar">
<td><span class="downloadfile-name">drip-api-json-client.jar</span></td> <td><span class="downloadfile-name">drip-api-json-client.jar</span></td>
<td><span class="downloadfile-size">12.96K</span></td> <td><span class="downloadfile-size">17.82K</span></td>
<td><span class="downloadfile-description">The binaries for the Java JSON client library.</span></td> <td><span class="downloadfile-description">The binaries for the Java JSON client library.</span></td>
</tr> </tr>
<tr class="clickable-row" data-href="drip-api-json-client-json-sources.jar"> <tr class="clickable-row" data-href="drip-api-json-client-json-sources.jar">
<td><span class="downloadfile-name">drip-api-json-client-json-sources.jar</span></td> <td><span class="downloadfile-name">drip-api-json-client-json-sources.jar</span></td>
<td><span class="downloadfile-size">10.76K</span></td> <td><span class="downloadfile-size">14.35K</span></td>
<td><span class="downloadfile-description">The sources for the Java JSON client library.</span></td> <td><span class="downloadfile-description">The sources for the Java JSON client library.</span></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
<h3 id="artifact_java_xml_client_library">Java XML Client Library</h3> <h3 id="artifact_java_xml_client_library">Java XML Client Library</h3>
<p class="lead">Created April 21, 2017</p> <p class="lead">Created April 25, 2017</p>
<p><p> <p><p>
The Java client-side library is used to access the Web service API for this application using Java. The Java client-side library is used to access the Web service API for this application using Java.
</p> </p>
...@@ -144,18 +144,18 @@ ...@@ -144,18 +144,18 @@
<tbody data-link="row" class="rowlink"> <tbody data-link="row" class="rowlink">
<tr class="clickable-row" data-href="drip-api-xml-client.jar"> <tr class="clickable-row" data-href="drip-api-xml-client.jar">
<td><span class="downloadfile-name">drip-api-xml-client.jar</span></td> <td><span class="downloadfile-name">drip-api-xml-client.jar</span></td>
<td><span class="downloadfile-size">21.37K</span></td> <td><span class="downloadfile-size">25.80K</span></td>
<td><span class="downloadfile-description">The binaries for the Java XML client library.</span></td> <td><span class="downloadfile-description">The binaries for the Java XML client library.</span></td>
</tr> </tr>
<tr class="clickable-row" data-href="drip-api-xml-client-xml-sources.jar"> <tr class="clickable-row" data-href="drip-api-xml-client-xml-sources.jar">
<td><span class="downloadfile-name">drip-api-xml-client-xml-sources.jar</span></td> <td><span class="downloadfile-name">drip-api-xml-client-xml-sources.jar</span></td>
<td><span class="downloadfile-size">19.88K</span></td> <td><span class="downloadfile-size">23.42K</span></td>
<td><span class="downloadfile-description">The sources for the Java XML client library.</span></td> <td><span class="downloadfile-description">The sources for the Java XML client library.</span></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
<h3 id="artifact_js_client_library">JavaScript Client Library</h3> <h3 id="artifact_js_client_library">JavaScript Client Library</h3>
<p class="lead">Created April 21, 2017</p> <p class="lead">Created April 25, 2017</p>
<p><p> <p><p>
The JavaScript client-side library defines classes that can be (de)serialized to/from JSON. The JavaScript client-side library defines classes that can be (de)serialized to/from JSON.
This is useful for accessing the resources that are published by this application, but only This is useful for accessing the resources that are published by this application, but only
...@@ -184,13 +184,13 @@ ...@@ -184,13 +184,13 @@
<tbody data-link="row" class="rowlink"> <tbody data-link="row" class="rowlink">
<tr class="clickable-row" data-href="drip-api-js.zip"> <tr class="clickable-row" data-href="drip-api-js.zip">
<td><span class="downloadfile-name">drip-api-js.zip</span></td> <td><span class="downloadfile-name">drip-api-js.zip</span></td>
<td><span class="downloadfile-size">3.71K</span></td> <td><span class="downloadfile-size">5.60K</span></td>
<td><span class="downloadfile-description">&nbsp;</span></td> <td><span class="downloadfile-description">&nbsp;</span></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
<h3 id="artifact_php_json_client_library">PHP JSON Client Library</h3> <h3 id="artifact_php_json_client_library">PHP JSON Client Library</h3>
<p class="lead">Created April 21, 2017</p> <p class="lead">Created April 25, 2017</p>
<p><p> <p><p>
The PHP JSON client-side library defines the PHP classes that can be (de)serialized to/from JSON. The PHP JSON client-side library defines the PHP classes that can be (de)serialized to/from JSON.
This is useful for accessing the resources that are published by this application, but only This is useful for accessing the resources that are published by this application, but only
...@@ -213,13 +213,13 @@ ...@@ -213,13 +213,13 @@
<tbody data-link="row" class="rowlink"> <tbody data-link="row" class="rowlink">
<tr class="clickable-row" data-href="drip-api-php.zip"> <tr class="clickable-row" data-href="drip-api-php.zip">
<td><span class="downloadfile-name">drip-api-php.zip</span></td> <td><span class="downloadfile-name">drip-api-php.zip</span></td>
<td><span class="downloadfile-size">3.93K</span></td> <td><span class="downloadfile-size">6.20K</span></td>
<td><span class="downloadfile-description">&nbsp;</span></td> <td><span class="downloadfile-description">&nbsp;</span></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
<h3 id="artifact_php_xml_client_library">PHP XML Client Library</h3> <h3 id="artifact_php_xml_client_library">PHP XML Client Library</h3>
<p class="lead">Created April 21, 2017</p> <p class="lead">Created April 25, 2017</p>
<p><p> <p><p>
The PHP client-side library defines the PHP classes that can be (de)serialized to/from XML. The PHP client-side library defines the PHP classes that can be (de)serialized to/from XML.
This is useful for accessing the resources that are published by this application, but only This is useful for accessing the resources that are published by this application, but only
...@@ -245,13 +245,13 @@ ...@@ -245,13 +245,13 @@
<tbody data-link="row" class="rowlink"> <tbody data-link="row" class="rowlink">
<tr class="clickable-row" data-href="drip-api-php.zip"> <tr class="clickable-row" data-href="drip-api-php.zip">
<td><span class="downloadfile-name">drip-api-php.zip</span></td> <td><span class="downloadfile-name">drip-api-php.zip</span></td>
<td><span class="downloadfile-size">7.63K</span></td> <td><span class="downloadfile-size">10.25K</span></td>
<td><span class="downloadfile-description">&nbsp;</span></td> <td><span class="downloadfile-description">&nbsp;</span></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
<h3 id="artifact_ruby_json_client_library">Ruby JSON Client Library</h3> <h3 id="artifact_ruby_json_client_library">Ruby JSON Client Library</h3>
<p class="lead">Created April 21, 2017</p> <p class="lead">Created April 25, 2017</p>
<p><p> <p><p>
The Ruby JSON client-side library defines the Ruby classes that can be (de)serialized to/from JSON. The Ruby JSON client-side library defines the Ruby classes that can be (de)serialized to/from JSON.
This is useful for accessing the REST endpoints that are published by this application, but only This is useful for accessing the REST endpoints that are published by this application, but only
...@@ -276,7 +276,7 @@ ...@@ -276,7 +276,7 @@
<tbody data-link="row" class="rowlink"> <tbody data-link="row" class="rowlink">
<tr class="clickable-row" data-href="drip-api.rb"> <tr class="clickable-row" data-href="drip-api.rb">
<td><span class="downloadfile-name">drip-api.rb</span></td> <td><span class="downloadfile-name">drip-api.rb</span></td>
<td><span class="downloadfile-size">47.43K</span></td> <td><span class="downloadfile-size">81.00K</span></td>
<td><span class="downloadfile-description">&nbsp;</span></td> <td><span class="downloadfile-description">&nbsp;</span></td>
</tr> </tr>
</tbody> </tbody>
......
...@@ -89,114 +89,72 @@ module V1 ...@@ -89,114 +89,72 @@ module V1
module External module External
module Ansible
# (no documentation provided) # (no documentation provided)
class Key class AnsibleOutput
# # (no documentation provided)
attr_accessor :name attr_accessor :host
# the type # (no documentation provided)
attr_accessor :type attr_accessor :result
# the attributes
attr_accessor :attributes
# the key
attr_accessor :key
# the json hash for this Key # the json hash for this AnsibleOutput
def to_jaxb_json_hash def to_jaxb_json_hash
_h = {} _h = {}
_h['name'] = name.to_jaxb_json_hash unless name.nil? _h['host'] = host.to_jaxb_json_hash unless host.nil?
_h['type'] = type.to_jaxb_json_hash unless type.nil? _h['result'] = result.to_jaxb_json_hash unless result.nil?
_h['attributes'] = attributes.to_jaxb_json_hash unless attributes.nil?
_h['key'] = key.to_jaxb_json_hash unless key.nil?
return _h return _h
end end
# the json (string form) for this Key # the json (string form) for this AnsibleOutput
def to_json def to_json
to_jaxb_json_hash.to_json to_jaxb_json_hash.to_json
end end
#initializes this Key with a json hash #initializes this AnsibleOutput with a json hash
def init_jaxb_json_hash(_o) def init_jaxb_json_hash(_o)
if !_o['name'].nil? if !_o['host'].nil?
_oa = _o['name'] _oa = _o['host']
if(_oa.is_a? Hash)
@name = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@name = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@name = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@name.push String.from_json(_item)
else
@name.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@name = _oa
end
end
if !_o['type'].nil?
_oa = _o['type']
if(_oa.is_a? Hash)
@type = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@type = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@type = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@type.push String.from_json(_item)
else
@type.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@type = _oa
end
end
if !_o['attributes'].nil?
_oa = _o['attributes']
if(_oa.is_a? Hash) if(_oa.is_a? Hash)
@attributes = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class'] @host = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@attributes = Hash.from_json(_oa) unless _oa['@class'] @host = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array) elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar #an array(of hashes hopefully) or scalar
@attributes = Array.new @host = Array.new
_oa.each { | _item | _oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true) if ((_item.nil? || _item['@class'].nil?)rescue true)
@attributes.push Hash.from_json(_item) @host.push String.from_json(_item)
else else
@attributes.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item) @host.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end end
} }
else else
@attributes = _oa @host = _oa
end end
end end
if !_o['key'].nil? if !_o['result'].nil?
_oa = _o['key'] _oa = _o['result']
if(_oa.is_a? Hash) if(_oa.is_a? Hash)
@key = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class'] @result = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@key = String.from_json(_oa) unless _oa['@class'] @result = Nl::Uva::Sne::Drip::Data::V1::External::Ansible::AnsibleResult.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array) elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar #an array(of hashes hopefully) or scalar
@key = Array.new @result = Array.new
_oa.each { | _item | _oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true) if ((_item.nil? || _item['@class'].nil?)rescue true)
@key.push String.from_json(_item) @result.push Nl::Uva::Sne::Drip::Data::V1::External::Ansible::AnsibleResult.from_json(_item)
else else
@key.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item) @result.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end end
} }
else else
@key = _oa @result = _oa
end end
end end
end end
# constructs a Key from a (parsed) JSON hash # constructs a AnsibleOutput from a (parsed) JSON hash
def self.from_json(o) def self.from_json(o)
if o.nil? if o.nil?
return nil return nil
...@@ -222,6 +180,8 @@ end ...@@ -222,6 +180,8 @@ end
end end
end
module Nl module Nl
module Uva module Uva
...@@ -486,210 +446,363 @@ module V1 ...@@ -486,210 +446,363 @@ module V1
module External module External
module Ansible
# (no documentation provided) # (no documentation provided)
class User class Invocation
# (no documentation provided) # (no documentation provided)
attr_accessor :password attr_accessor :moduleName
# the id
attr_accessor :id
#
attr_accessor :username
#
attr_accessor :accountNonExpired
#
attr_accessor :accountNonLocked
#
attr_accessor :credentialsNonExpired
#
attr_accessor :enabled
# the roles
attr_accessor :roles
# the json hash for this User # the json hash for this Invocation
def to_jaxb_json_hash def to_jaxb_json_hash
_h = {} _h = {}
_h['password'] = password.to_jaxb_json_hash unless password.nil? _h['module_name'] = moduleName.to_jaxb_json_hash unless moduleName.nil?
_h['id'] = id.to_jaxb_json_hash unless id.nil? return _h
_h['username'] = username.to_jaxb_json_hash unless username.nil? end
_h['accountNonExpired'] = accountNonExpired.to_jaxb_json_hash unless accountNonExpired.nil?
_h['accountNonLocked'] = accountNonLocked.to_jaxb_json_hash unless accountNonLocked.nil? # the json (string form) for this Invocation
_h['credentialsNonExpired'] = credentialsNonExpired.to_jaxb_json_hash unless credentialsNonExpired.nil? def to_json
_h['enabled'] = enabled.to_jaxb_json_hash unless enabled.nil? to_jaxb_json_hash.to_json
if !roles.nil? end
#initializes this Invocation with a json hash
def init_jaxb_json_hash(_o)
if !_o['module_name'].nil?
_oa = _o['module_name']
if(_oa.is_a? Hash)
@moduleName = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@moduleName = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@moduleName = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@moduleName.push String.from_json(_item)
else
@moduleName.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@moduleName = _oa
end
end
end
# constructs a Invocation from a (parsed) JSON hash
def self.from_json(o)
if o.nil?
return nil
else
inst = new
inst.init_jaxb_json_hash o
return inst
end
end
end
end
end
end
end
end
end
end
end
module Nl
module Uva
module Sne
module Drip
module Data
module V1
module External
module Ansible
# (no documentation provided)
class Result_
# (no documentation provided)
attr_accessor :_ansible_parsed
# (no documentation provided)
attr_accessor :changed
# (no documentation provided)
attr_accessor :cache_updated
# (no documentation provided)
attr_accessor :_ansible_item_result
# (no documentation provided)
attr_accessor :item
# (no documentation provided)
attr_accessor :invocation
# (no documentation provided)
attr_accessor :cacheUpdateTime
# (no documentation provided)
attr_accessor :ansibleNoLog
# (no documentation provided)
attr_accessor :ansibleParsed
# (no documentation provided)
attr_accessor :ansibleItemResult
# (no documentation provided)
attr_accessor :cacheUpdated
# the json hash for this Result_
def to_jaxb_json_hash
_h = {}
_h['_ansible_parsed'] = _ansible_parsed.to_jaxb_json_hash unless _ansible_parsed.nil?
_h['changed'] = changed.to_jaxb_json_hash unless changed.nil?
_h['cache_updated'] = cache_updated.to_jaxb_json_hash unless cache_updated.nil?
_h['_ansible_item_result'] = _ansible_item_result.to_jaxb_json_hash unless _ansible_item_result.nil?
if !item.nil?
_ha = Array.new _ha = Array.new
roles.each { | _item | _ha.push _item.to_jaxb_json_hash } item.each { | _item | _ha.push _item.to_jaxb_json_hash }
_h['roles'] = _ha _h['item'] = _ha
end end
_h['invocation'] = invocation.to_jaxb_json_hash unless invocation.nil?
_h['cache_update_time'] = cacheUpdateTime.to_jaxb_json_hash unless cacheUpdateTime.nil?
_h['_ansible_no_log'] = ansibleNoLog.to_jaxb_json_hash unless ansibleNoLog.nil?
_h['_ansible_parsed'] = ansibleParsed.to_jaxb_json_hash unless ansibleParsed.nil?
_h['_ansible_item_result'] = ansibleItemResult.to_jaxb_json_hash unless ansibleItemResult.nil?
_h['cache_updated'] = cacheUpdated.to_jaxb_json_hash unless cacheUpdated.nil?
return _h return _h
end end
# the json (string form) for this User # the json (string form) for this Result_
def to_json def to_json
to_jaxb_json_hash.to_json to_jaxb_json_hash.to_json
end end
#initializes this User with a json hash #initializes this Result_ with a json hash
def init_jaxb_json_hash(_o) def init_jaxb_json_hash(_o)
if !_o['password'].nil? if !_o['_ansible_parsed'].nil?
_oa = _o['password'] _oa = _o['_ansible_parsed']
if(_oa.is_a? Hash) if(_oa.is_a? Hash)
@password = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class'] @_ansible_parsed = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@password = String.from_json(_oa) unless _oa['@class'] @_ansible_parsed = Boolean.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array) elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar #an array(of hashes hopefully) or scalar
@password = Array.new @_ansible_parsed = Array.new
_oa.each { | _item | _oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true) if ((_item.nil? || _item['@class'].nil?)rescue true)
@password.push String.from_json(_item) @_ansible_parsed.push Boolean.from_json(_item)
else else
@password.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item) @_ansible_parsed.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end end
} }
else else
@password = _oa @_ansible_parsed = _oa
end end
end end
if !_o['id'].nil? if !_o['changed'].nil?
_oa = _o['id'] _oa = _o['changed']
if(_oa.is_a? Hash) if(_oa.is_a? Hash)
@id = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class'] @changed = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@id = String.from_json(_oa) unless _oa['@class'] @changed = Boolean.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array) elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar #an array(of hashes hopefully) or scalar
@id = Array.new @changed = Array.new
_oa.each { | _item | _oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true) if ((_item.nil? || _item['@class'].nil?)rescue true)
@id.push String.from_json(_item) @changed.push Boolean.from_json(_item)
else else
@id.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item) @changed.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end end
} }
else else
@id = _oa @changed = _oa
end end
end end
if !_o['username'].nil? if !_o['cache_updated'].nil?
_oa = _o['username'] _oa = _o['cache_updated']
if(_oa.is_a? Hash) if(_oa.is_a? Hash)
@username = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class'] @cache_updated = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@username = String.from_json(_oa) unless _oa['@class'] @cache_updated = Boolean.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array) elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar #an array(of hashes hopefully) or scalar
@username = Array.new @cache_updated = Array.new
_oa.each { | _item | _oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true) if ((_item.nil? || _item['@class'].nil?)rescue true)
@username.push String.from_json(_item) @cache_updated.push Boolean.from_json(_item)
else else
@username.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item) @cache_updated.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end end
} }
else else
@username = _oa @cache_updated = _oa
end end
end end
if !_o['accountNonExpired'].nil? if !_o['_ansible_item_result'].nil?
_oa = _o['accountNonExpired'] _oa = _o['_ansible_item_result']
if(_oa.is_a? Hash) if(_oa.is_a? Hash)
@accountNonExpired = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class'] @_ansible_item_result = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@accountNonExpired = Boolean.from_json(_oa) unless _oa['@class'] @_ansible_item_result = Boolean.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array) elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar #an array(of hashes hopefully) or scalar
@accountNonExpired = Array.new @_ansible_item_result = Array.new
_oa.each { | _item | _oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true) if ((_item.nil? || _item['@class'].nil?)rescue true)
@accountNonExpired.push Boolean.from_json(_item) @_ansible_item_result.push Boolean.from_json(_item)
else else
@accountNonExpired.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item) @_ansible_item_result.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end end
} }
else else
@accountNonExpired = _oa @_ansible_item_result = _oa
end end
end end
if !_o['accountNonLocked'].nil? if !_o['item'].nil?
_oa = _o['accountNonLocked'] _oa = _o['item']
if(_oa.is_a? Hash) if(_oa.is_a? Hash)
@accountNonLocked = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class'] @item = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@accountNonLocked = Boolean.from_json(_oa) unless _oa['@class'] @item = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array) elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar #an array(of hashes hopefully) or scalar
@accountNonLocked = Array.new @item = Array.new
_oa.each { | _item | _oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true) if ((_item.nil? || _item['@class'].nil?)rescue true)
@accountNonLocked.push Boolean.from_json(_item) @item.push String.from_json(_item)
else else
@accountNonLocked.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item) @item.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end end
} }
else else
@accountNonLocked = _oa @item = _oa
end end
end end
if !_o['credentialsNonExpired'].nil? if !_o['invocation'].nil?
_oa = _o['credentialsNonExpired'] _oa = _o['invocation']
if(_oa.is_a? Hash) if(_oa.is_a? Hash)
@credentialsNonExpired = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class'] @invocation = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@credentialsNonExpired = Boolean.from_json(_oa) unless _oa['@class'] @invocation = Nl::Uva::Sne::Drip::Data::V1::External::Ansible::Invocation.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array) elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar #an array(of hashes hopefully) or scalar
@credentialsNonExpired = Array.new @invocation = Array.new
_oa.each { | _item | _oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true) if ((_item.nil? || _item['@class'].nil?)rescue true)
@credentialsNonExpired.push Boolean.from_json(_item) @invocation.push Nl::Uva::Sne::Drip::Data::V1::External::Ansible::Invocation.from_json(_item)
else else
@credentialsNonExpired.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item) @invocation.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end end
} }
else else
@credentialsNonExpired = _oa @invocation = _oa
end end
end end
if !_o['enabled'].nil? if !_o['cache_update_time'].nil?
_oa = _o['enabled'] _oa = _o['cache_update_time']
if(_oa.is_a? Hash) if(_oa.is_a? Hash)
@enabled = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class'] @cacheUpdateTime = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@enabled = Boolean.from_json(_oa) unless _oa['@class'] @cacheUpdateTime = Fixnum.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array) elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar #an array(of hashes hopefully) or scalar
@enabled = Array.new @cacheUpdateTime = Array.new
_oa.each { | _item | _oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true) if ((_item.nil? || _item['@class'].nil?)rescue true)
@enabled.push Boolean.from_json(_item) @cacheUpdateTime.push Fixnum.from_json(_item)
else else
@enabled.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item) @cacheUpdateTime.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end end
} }
else else
@enabled = _oa @cacheUpdateTime = _oa
end end
end end
if !_o['roles'].nil? if !_o['_ansible_no_log'].nil?
_oa = _o['roles'] _oa = _o['_ansible_no_log']
if(_oa.is_a? Hash) if(_oa.is_a? Hash)
@roles = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class'] @ansibleNoLog = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@roles = String.from_json(_oa) unless _oa['@class'] @ansibleNoLog = Boolean.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array) elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar #an array(of hashes hopefully) or scalar
@roles = Array.new @ansibleNoLog = Array.new
_oa.each { | _item | _oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true) if ((_item.nil? || _item['@class'].nil?)rescue true)
@roles.push String.from_json(_item) @ansibleNoLog.push Boolean.from_json(_item)
else else
@roles.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item) @ansibleNoLog.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end end
} }
else else
@roles = _oa @ansibleNoLog = _oa
end end
end end
end if !_o['_ansible_parsed'].nil?
_oa = _o['_ansible_parsed']
# constructs a User from a (parsed) JSON hash if(_oa.is_a? Hash)
def self.from_json(o) @ansibleParsed = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
if o.nil? @ansibleParsed = Boolean.from_json(_oa) unless _oa['@class']
return nil elsif (_oa.is_a? Array)
else #an array(of hashes hopefully) or scalar
@ansibleParsed = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@ansibleParsed.push Boolean.from_json(_item)
else
@ansibleParsed.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@ansibleParsed = _oa
end
end
if !_o['_ansible_item_result'].nil?
_oa = _o['_ansible_item_result']
if(_oa.is_a? Hash)
@ansibleItemResult = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@ansibleItemResult = Boolean.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@ansibleItemResult = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@ansibleItemResult.push Boolean.from_json(_item)
else
@ansibleItemResult.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@ansibleItemResult = _oa
end
end
if !_o['cache_updated'].nil?
_oa = _o['cache_updated']
if(_oa.is_a? Hash)
@cacheUpdated = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@cacheUpdated = Boolean.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@cacheUpdated = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@cacheUpdated.push Boolean.from_json(_item)
else
@cacheUpdated.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@cacheUpdated = _oa
end
end
end
# constructs a Result_ from a (parsed) JSON hash
def self.from_json(o)
if o.nil?
return nil
else
inst = new inst = new
inst.init_jaxb_json_hash o inst.init_jaxb_json_hash o
return inst return inst
...@@ -711,6 +824,8 @@ end ...@@ -711,6 +824,8 @@ end
end end
end
module Nl module Nl
module Uva module Uva
...@@ -725,44 +840,589 @@ module V1 ...@@ -725,44 +840,589 @@ module V1
module External module External
module Ansible
# (no documentation provided) # (no documentation provided)
class KeyValueHolder < Nl::Uva::Sne::Drip::Data::V1::External::OwnedObject class AnsibleResult
# the keyValue # (no documentation provided)
attr_accessor :keyValue attr_accessor :ansibleParsed
# (no documentation provided)
attr_accessor :changed
# (no documentation provided)
attr_accessor :results
# (no documentation provided)
attr_accessor :ansible_verbose_always
# (no documentation provided)
attr_accessor :end
# (no documentation provided)
attr_accessor :ansibleNoLog
# (no documentation provided)
attr_accessor :stdout
# (no documentation provided)
attr_accessor :msg
# (no documentation provided)
attr_accessor :cmd
# (no documentation provided)
attr_accessor :rc
# (no documentation provided)
attr_accessor :start
# (no documentation provided)
attr_accessor :stderr
# (no documentation provided)
attr_accessor :delta
# (no documentation provided)
attr_accessor :invocation
# (no documentation provided)
attr_accessor :stdoutLines
# (no documentation provided)
attr_accessor :warnings
# (no documentation provided)
attr_accessor :_ansible_parsed
# (no documentation provided)
attr_accessor :_ansible_no_log
# the json hash for this KeyValueHolder # the json hash for this AnsibleResult
def to_jaxb_json_hash def to_jaxb_json_hash
_h = super _h = {}
_h['keyValue'] = keyValue.to_jaxb_json_hash unless keyValue.nil? _h['_ansible_parsed'] = ansibleParsed.to_jaxb_json_hash unless ansibleParsed.nil?
_h['changed'] = changed.to_jaxb_json_hash unless changed.nil?
if !results.nil?
_ha = Array.new
results.each { | _item | _ha.push _item.to_jaxb_json_hash }
_h['results'] = _ha
end
_h['_ansible_verbose_always'] = ansible_verbose_always.to_jaxb_json_hash unless ansible_verbose_always.nil?
_h['end'] = end.to_jaxb_json_hash unless end.nil?
_h['_ansible_no_log'] = ansibleNoLog.to_jaxb_json_hash unless ansibleNoLog.nil?
_h['stdout'] = stdout.to_jaxb_json_hash unless stdout.nil?
_h['msg'] = msg.to_jaxb_json_hash unless msg.nil?
if !cmd.nil?
_ha = Array.new
cmd.each { | _item | _ha.push _item.to_jaxb_json_hash }
_h['cmd'] = _ha
end
_h['rc'] = rc.to_jaxb_json_hash unless rc.nil?
_h['start'] = start.to_jaxb_json_hash unless start.nil?
_h['stderr'] = stderr.to_jaxb_json_hash unless stderr.nil?
_h['delta'] = delta.to_jaxb_json_hash unless delta.nil?
_h['invocation'] = invocation.to_jaxb_json_hash unless invocation.nil?
if !stdoutLines.nil?
_ha = Array.new
stdoutLines.each { | _item | _ha.push _item.to_jaxb_json_hash }
_h['stdout_lines'] = _ha
end
if !warnings.nil?
_ha = Array.new
warnings.each { | _item | _ha.push _item.to_jaxb_json_hash }
_h['warnings'] = _ha
end
_h['_ansible_parsed'] = _ansible_parsed.to_jaxb_json_hash unless _ansible_parsed.nil?
_h['_ansible_no_log'] = _ansible_no_log.to_jaxb_json_hash unless _ansible_no_log.nil?
return _h return _h
end end
#initializes this KeyValueHolder with a json hash # the json (string form) for this AnsibleResult
def to_json
to_jaxb_json_hash.to_json
end
#initializes this AnsibleResult with a json hash
def init_jaxb_json_hash(_o) def init_jaxb_json_hash(_o)
super _o if !_o['_ansible_parsed'].nil?
if !_o['keyValue'].nil? _oa = _o['_ansible_parsed']
_oa = _o['keyValue'] if(_oa.is_a? Hash)
@ansibleParsed = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@ansibleParsed = Boolean.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@ansibleParsed = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@ansibleParsed.push Boolean.from_json(_item)
else
@ansibleParsed.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@ansibleParsed = _oa
end
end
if !_o['changed'].nil?
_oa = _o['changed']
if(_oa.is_a? Hash)
@changed = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@changed = Boolean.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@changed = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@changed.push Boolean.from_json(_item)
else
@changed.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@changed = _oa
end
end
if !_o['results'].nil?
_oa = _o['results']
if(_oa.is_a? Hash)
@results = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@results = Nl::Uva::Sne::Drip::Data::V1::External::Ansible::Result_.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@results = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@results.push Nl::Uva::Sne::Drip::Data::V1::External::Ansible::Result_.from_json(_item)
else
@results.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@results = _oa
end
end
if !_o['_ansible_verbose_always'].nil?
_oa = _o['_ansible_verbose_always']
if(_oa.is_a? Hash)
@ansible_verbose_always = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@ansible_verbose_always = Boolean.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@ansible_verbose_always = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@ansible_verbose_always.push Boolean.from_json(_item)
else
@ansible_verbose_always.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@ansible_verbose_always = _oa
end
end
if !_o['end'].nil?
_oa = _o['end']
if(_oa.is_a? Hash)
@end = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@end = Time.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@end = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@end.push Time.from_json(_item)
else
@end.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@end = _oa
end
end
if !_o['_ansible_no_log'].nil?
_oa = _o['_ansible_no_log']
if(_oa.is_a? Hash)
@ansibleNoLog = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@ansibleNoLog = Boolean.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@ansibleNoLog = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@ansibleNoLog.push Boolean.from_json(_item)
else
@ansibleNoLog.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@ansibleNoLog = _oa
end
end
if !_o['stdout'].nil?
_oa = _o['stdout']
if(_oa.is_a? Hash)
@stdout = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@stdout = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@stdout = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@stdout.push String.from_json(_item)
else
@stdout.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@stdout = _oa
end
end
if !_o['msg'].nil?
_oa = _o['msg']
if(_oa.is_a? Hash)
@msg = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@msg = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@msg = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@msg.push String.from_json(_item)
else
@msg.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@msg = _oa
end
end
if !_o['cmd'].nil?
_oa = _o['cmd']
if(_oa.is_a? Hash)
@cmd = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@cmd = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@cmd = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@cmd.push String.from_json(_item)
else
@cmd.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@cmd = _oa
end
end
if !_o['rc'].nil?
_oa = _o['rc']
if(_oa.is_a? Hash)
@rc = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@rc = Fixnum.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@rc = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@rc.push Fixnum.from_json(_item)
else
@rc.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@rc = _oa
end
end
if !_o['start'].nil?
_oa = _o['start']
if(_oa.is_a? Hash)
@start = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@start = Time.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@start = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@start.push Time.from_json(_item)
else
@start.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@start = _oa
end
end
if !_o['stderr'].nil?
_oa = _o['stderr']
if(_oa.is_a? Hash)
@stderr = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@stderr = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@stderr = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@stderr.push String.from_json(_item)
else
@stderr.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@stderr = _oa
end
end
if !_o['delta'].nil?
_oa = _o['delta']
if(_oa.is_a? Hash)
@delta = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@delta = Time.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@delta = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@delta.push Time.from_json(_item)
else
@delta.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@delta = _oa
end
end
if !_o['invocation'].nil?
_oa = _o['invocation']
if(_oa.is_a? Hash)
@invocation = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@invocation = Nl::Uva::Sne::Drip::Data::V1::External::Ansible::Invocation.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@invocation = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@invocation.push Nl::Uva::Sne::Drip::Data::V1::External::Ansible::Invocation.from_json(_item)
else
@invocation.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@invocation = _oa
end
end
if !_o['stdout_lines'].nil?
_oa = _o['stdout_lines']
if(_oa.is_a? Hash)
@stdoutLines = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@stdoutLines = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@stdoutLines = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@stdoutLines.push String.from_json(_item)
else
@stdoutLines.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@stdoutLines = _oa
end
end
if !_o['warnings'].nil?
_oa = _o['warnings']
if(_oa.is_a? Hash)
@warnings = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@warnings = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@warnings = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@warnings.push String.from_json(_item)
else
@warnings.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@warnings = _oa
end
end
if !_o['_ansible_parsed'].nil?
_oa = _o['_ansible_parsed']
if(_oa.is_a? Hash)
@_ansible_parsed = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@_ansible_parsed = Boolean.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@_ansible_parsed = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@_ansible_parsed.push Boolean.from_json(_item)
else
@_ansible_parsed.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@_ansible_parsed = _oa
end
end
if !_o['_ansible_no_log'].nil?
_oa = _o['_ansible_no_log']
if(_oa.is_a? Hash)
@_ansible_no_log = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@_ansible_no_log = Boolean.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@_ansible_no_log = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@_ansible_no_log.push Boolean.from_json(_item)
else
@_ansible_no_log.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@_ansible_no_log = _oa
end
end
end
# constructs a AnsibleResult from a (parsed) JSON hash
def self.from_json(o)
if o.nil?
return nil
else
inst = new
inst.init_jaxb_json_hash o
return inst
end
end
end
end
end
end
end
end
end
end
end
module Nl
module Uva
module Sne
module Drip
module Data
module V1
module External
# (no documentation provided)
class Key
#
attr_accessor :name
# the type
attr_accessor :type
# the attributes
attr_accessor :attributes
# the key
attr_accessor :key
# the json hash for this Key
def to_jaxb_json_hash
_h = {}
_h['name'] = name.to_jaxb_json_hash unless name.nil?
_h['type'] = type.to_jaxb_json_hash unless type.nil?
_h['attributes'] = attributes.to_jaxb_json_hash unless attributes.nil?
_h['key'] = key.to_jaxb_json_hash unless key.nil?
return _h
end
# the json (string form) for this Key
def to_json
to_jaxb_json_hash.to_json
end
#initializes this Key with a json hash
def init_jaxb_json_hash(_o)
if !_o['name'].nil?
_oa = _o['name']
if(_oa.is_a? Hash)
@name = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@name = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@name = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@name.push String.from_json(_item)
else
@name.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@name = _oa
end
end
if !_o['type'].nil?
_oa = _o['type']
if(_oa.is_a? Hash) if(_oa.is_a? Hash)
@keyValue = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class'] @type = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@keyValue = Hash.from_json(_oa) unless _oa['@class'] @type = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array) elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar #an array(of hashes hopefully) or scalar
@keyValue = Array.new @type = Array.new
_oa.each { | _item | _oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true) if ((_item.nil? || _item['@class'].nil?)rescue true)
@keyValue.push Hash.from_json(_item) @type.push String.from_json(_item)
else else
@keyValue.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item) @type.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end end
} }
else else
@keyValue = _oa @type = _oa
end
end
if !_o['attributes'].nil?
_oa = _o['attributes']
if(_oa.is_a? Hash)
@attributes = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@attributes = Hash.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@attributes = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@attributes.push Hash.from_json(_item)
else
@attributes.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@attributes = _oa
end
end
if !_o['key'].nil?
_oa = _o['key']
if(_oa.is_a? Hash)
@key = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@key = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@key = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@key.push String.from_json(_item)
else
@key.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@key = _oa
end end
end end
end end
# constructs a KeyValueHolder from a (parsed) JSON hash # constructs a Key from a (parsed) JSON hash
def self.from_json(o) def self.from_json(o)
if o.nil? if o.nil?
return nil return nil
...@@ -803,65 +1463,205 @@ module V1 ...@@ -803,65 +1463,205 @@ module V1
module External module External
# (no documentation provided) # (no documentation provided)
class Script < Nl::Uva::Sne::Drip::Data::V1::External::OwnedObject class User
# the name # (no documentation provided)
attr_accessor :name attr_accessor :password
# the contents # the id
attr_accessor :contents attr_accessor :id
#
attr_accessor :username
#
attr_accessor :accountNonExpired
#
attr_accessor :accountNonLocked
#
attr_accessor :credentialsNonExpired
#
attr_accessor :enabled
# the roles
attr_accessor :roles
# the json hash for this Script # the json hash for this User
def to_jaxb_json_hash def to_jaxb_json_hash
_h = super _h = {}
_h['name'] = name.to_jaxb_json_hash unless name.nil? _h['password'] = password.to_jaxb_json_hash unless password.nil?
_h['contents'] = contents.to_jaxb_json_hash unless contents.nil? _h['id'] = id.to_jaxb_json_hash unless id.nil?
_h['username'] = username.to_jaxb_json_hash unless username.nil?
_h['accountNonExpired'] = accountNonExpired.to_jaxb_json_hash unless accountNonExpired.nil?
_h['accountNonLocked'] = accountNonLocked.to_jaxb_json_hash unless accountNonLocked.nil?
_h['credentialsNonExpired'] = credentialsNonExpired.to_jaxb_json_hash unless credentialsNonExpired.nil?
_h['enabled'] = enabled.to_jaxb_json_hash unless enabled.nil?
if !roles.nil?
_ha = Array.new
roles.each { | _item | _ha.push _item.to_jaxb_json_hash }
_h['roles'] = _ha
end
return _h return _h
end end
#initializes this Script with a json hash # the json (string form) for this User
def to_json
to_jaxb_json_hash.to_json
end
#initializes this User with a json hash
def init_jaxb_json_hash(_o) def init_jaxb_json_hash(_o)
super _o if !_o['password'].nil?
if !_o['name'].nil? _oa = _o['password']
_oa = _o['name']
if(_oa.is_a? Hash) if(_oa.is_a? Hash)
@name = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class'] @password = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@name = String.from_json(_oa) unless _oa['@class'] @password = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array) elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar #an array(of hashes hopefully) or scalar
@name = Array.new @password = Array.new
_oa.each { | _item | _oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true) if ((_item.nil? || _item['@class'].nil?)rescue true)
@name.push String.from_json(_item) @password.push String.from_json(_item)
else else
@name.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item) @password.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end end
} }
else else
@name = _oa @password = _oa
end end
end end
if !_o['contents'].nil? if !_o['id'].nil?
_oa = _o['contents'] _oa = _o['id']
if(_oa.is_a? Hash) if(_oa.is_a? Hash)
@contents = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class'] @id = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@contents = String.from_json(_oa) unless _oa['@class'] @id = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array) elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar #an array(of hashes hopefully) or scalar
@contents = Array.new @id = Array.new
_oa.each { | _item | _oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true) if ((_item.nil? || _item['@class'].nil?)rescue true)
@contents.push String.from_json(_item) @id.push String.from_json(_item)
else
@id.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@id = _oa
end
end
if !_o['username'].nil?
_oa = _o['username']
if(_oa.is_a? Hash)
@username = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@username = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@username = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@username.push String.from_json(_item)
else
@username.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@username = _oa
end
end
if !_o['accountNonExpired'].nil?
_oa = _o['accountNonExpired']
if(_oa.is_a? Hash)
@accountNonExpired = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@accountNonExpired = Boolean.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@accountNonExpired = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@accountNonExpired.push Boolean.from_json(_item)
else
@accountNonExpired.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@accountNonExpired = _oa
end
end
if !_o['accountNonLocked'].nil?
_oa = _o['accountNonLocked']
if(_oa.is_a? Hash)
@accountNonLocked = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@accountNonLocked = Boolean.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@accountNonLocked = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@accountNonLocked.push Boolean.from_json(_item)
else
@accountNonLocked.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@accountNonLocked = _oa
end
end
if !_o['credentialsNonExpired'].nil?
_oa = _o['credentialsNonExpired']
if(_oa.is_a? Hash)
@credentialsNonExpired = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@credentialsNonExpired = Boolean.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@credentialsNonExpired = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@credentialsNonExpired.push Boolean.from_json(_item)
else
@credentialsNonExpired.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@credentialsNonExpired = _oa
end
end
if !_o['enabled'].nil?
_oa = _o['enabled']
if(_oa.is_a? Hash)
@enabled = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@enabled = Boolean.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@enabled = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@enabled.push Boolean.from_json(_item)
else
@enabled.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@enabled = _oa
end
end
if !_o['roles'].nil?
_oa = _o['roles']
if(_oa.is_a? Hash)
@roles = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@roles = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@roles = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@roles.push String.from_json(_item)
else else
@contents.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item) @roles.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end end
} }
else else
@contents = _oa @roles = _oa
end end
end end
end end
# constructs a Script from a (parsed) JSON hash # constructs a User from a (parsed) JSON hash
def self.from_json(o) def self.from_json(o)
if o.nil? if o.nil?
return nil return nil
...@@ -1084,6 +1884,105 @@ module Data ...@@ -1084,6 +1884,105 @@ module Data
module V1 module V1
module External
# (no documentation provided)
class Script < Nl::Uva::Sne::Drip::Data::V1::External::OwnedObject
# the name
attr_accessor :name
# the contents
attr_accessor :contents
# the json hash for this Script
def to_jaxb_json_hash
_h = super
_h['name'] = name.to_jaxb_json_hash unless name.nil?
_h['contents'] = contents.to_jaxb_json_hash unless contents.nil?
return _h
end
#initializes this Script with a json hash
def init_jaxb_json_hash(_o)
super _o
if !_o['name'].nil?
_oa = _o['name']
if(_oa.is_a? Hash)
@name = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@name = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@name = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@name.push String.from_json(_item)
else
@name.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@name = _oa
end
end
if !_o['contents'].nil?
_oa = _o['contents']
if(_oa.is_a? Hash)
@contents = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@contents = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@contents = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@contents.push String.from_json(_item)
else
@contents.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@contents = _oa
end
end
end
# constructs a Script from a (parsed) JSON hash
def self.from_json(o)
if o.nil?
return nil
else
inst = new
inst.init_jaxb_json_hash o
return inst
end
end
end
end
end
end
end
end
end
end
module Nl
module Uva
module Sne
module Drip
module Data
module V1
module External module External
# (no documentation provided) # (no documentation provided)
...@@ -1183,6 +2082,83 @@ module Data ...@@ -1183,6 +2082,83 @@ module Data
module V1 module V1
module External
# (no documentation provided)
class KeyValueHolder < Nl::Uva::Sne::Drip::Data::V1::External::OwnedObject
# the keyValue
attr_accessor :keyValue
# the json hash for this KeyValueHolder
def to_jaxb_json_hash
_h = super
_h['keyValue'] = keyValue.to_jaxb_json_hash unless keyValue.nil?
return _h
end
#initializes this KeyValueHolder with a json hash
def init_jaxb_json_hash(_o)
super _o
if !_o['keyValue'].nil?
_oa = _o['keyValue']
if(_oa.is_a? Hash)
@keyValue = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@keyValue = Hash.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@keyValue = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@keyValue.push Hash.from_json(_item)
else
@keyValue.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@keyValue = _oa
end
end
end
# constructs a KeyValueHolder from a (parsed) JSON hash
def self.from_json(o)
if o.nil?
return nil
else
inst = new
inst.init_jaxb_json_hash o
return inst
end
end
end
end
end
end
end
end
end
end
module Nl
module Uva
module Sne
module Drip
module Data
module V1
module External module External
# (no documentation provided) # (no documentation provided)
...@@ -1307,43 +2283,43 @@ module V1 ...@@ -1307,43 +2283,43 @@ module V1
module External module External
# (no documentation provided) # (no documentation provided)
class DeployResponse < Nl::Uva::Sne::Drip::Data::V1::External::DeployRequest class ToscaRepresentation < Nl::Uva::Sne::Drip::Data::V1::External::KeyValueHolder
# # the name
attr_accessor :keyPair attr_accessor :name
# the json hash for this DeployResponse # the json hash for this ToscaRepresentation
def to_jaxb_json_hash def to_jaxb_json_hash
_h = super _h = super
_h['keyPair'] = keyPair.to_jaxb_json_hash unless keyPair.nil? _h['name'] = name.to_jaxb_json_hash unless name.nil?
return _h return _h
end end
#initializes this DeployResponse with a json hash #initializes this ToscaRepresentation with a json hash
def init_jaxb_json_hash(_o) def init_jaxb_json_hash(_o)
super _o super _o
if !_o['keyPair'].nil? if !_o['name'].nil?
_oa = _o['keyPair'] _oa = _o['name']
if(_oa.is_a? Hash) if(_oa.is_a? Hash)
@keyPair = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class'] @name = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@keyPair = Nl::Uva::Sne::Drip::Data::V1::External::KeyPair.from_json(_oa) unless _oa['@class'] @name = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array) elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar #an array(of hashes hopefully) or scalar
@keyPair = Array.new @name = Array.new
_oa.each { | _item | _oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true) if ((_item.nil? || _item['@class'].nil?)rescue true)
@keyPair.push Nl::Uva::Sne::Drip::Data::V1::External::KeyPair.from_json(_item) @name.push String.from_json(_item)
else else
@keyPair.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item) @name.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end end
} }
else else
@keyPair = _oa @name = _oa
end end
end end
end end
# constructs a DeployResponse from a (parsed) JSON hash # constructs a ToscaRepresentation from a (parsed) JSON hash
def self.from_json(o) def self.from_json(o)
if o.nil? if o.nil?
return nil return nil
...@@ -1384,43 +2360,69 @@ module V1 ...@@ -1384,43 +2360,69 @@ module V1
module External module External
# (no documentation provided) # (no documentation provided)
class ToscaRepresentation < Nl::Uva::Sne::Drip::Data::V1::External::KeyValueHolder class DeployResponse < Nl::Uva::Sne::Drip::Data::V1::External::DeployRequest
# the name # the ansibleOutputList
attr_accessor :name attr_accessor :ansibleOutputList
#
attr_accessor :keyPair
# the json hash for this ToscaRepresentation # the json hash for this DeployResponse
def to_jaxb_json_hash def to_jaxb_json_hash
_h = super _h = super
_h['name'] = name.to_jaxb_json_hash unless name.nil? if !ansibleOutputList.nil?
_ha = Array.new
ansibleOutputList.each { | _item | _ha.push _item.to_jaxb_json_hash }
_h['ansibleOutputList'] = _ha
end
_h['keyPair'] = keyPair.to_jaxb_json_hash unless keyPair.nil?
return _h return _h
end end
#initializes this ToscaRepresentation with a json hash #initializes this DeployResponse with a json hash
def init_jaxb_json_hash(_o) def init_jaxb_json_hash(_o)
super _o super _o
if !_o['name'].nil? if !_o['ansibleOutputList'].nil?
_oa = _o['name'] _oa = _o['ansibleOutputList']
if(_oa.is_a? Hash) if(_oa.is_a? Hash)
@name = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class'] @ansibleOutputList = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@name = String.from_json(_oa) unless _oa['@class'] @ansibleOutputList = Nl::Uva::Sne::Drip::Data::V1::External::Ansible::AnsibleOutput.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array) elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar #an array(of hashes hopefully) or scalar
@name = Array.new @ansibleOutputList = Array.new
_oa.each { | _item | _oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true) if ((_item.nil? || _item['@class'].nil?)rescue true)
@name.push String.from_json(_item) @ansibleOutputList.push Nl::Uva::Sne::Drip::Data::V1::External::Ansible::AnsibleOutput.from_json(_item)
else else
@name.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item) @ansibleOutputList.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end end
} }
else else
@name = _oa @ansibleOutputList = _oa
end
end
if !_o['keyPair'].nil?
_oa = _o['keyPair']
if(_oa.is_a? Hash)
@keyPair = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@keyPair = Nl::Uva::Sne::Drip::Data::V1::External::KeyPair.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@keyPair = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@keyPair.push Nl::Uva::Sne::Drip::Data::V1::External::KeyPair.from_json(_item)
else
@keyPair.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@keyPair = _oa
end end
end end
end end
# constructs a ToscaRepresentation from a (parsed) JSON hash # constructs a DeployResponse from a (parsed) JSON hash
def self.from_json(o) def self.from_json(o)
if o.nil? if o.nil?
return nil return nil
......
...@@ -359,6 +359,18 @@ used by the provisoner to run on the created VMs.</span> ...@@ -359,6 +359,18 @@ used by the provisoner to run on the created VMs.</span>
</tr> </tr>
</thead> </thead>
<tbody data-link="row" class="rowlink"> <tbody data-link="row" class="rowlink">
<tr class="clickable-row" data-href="json_AnsibleOutput.html">
<td> <span class="datatype-name">AnsibleOutput</span>
</td>
<td> <span class="datatype-description"></span>
</td>
</tr>
<tr class="clickable-row" data-href="json_AnsibleResult.html">
<td> <span class="datatype-name">AnsibleResult</span>
</td>
<td> <span class="datatype-description"></span>
</td>
</tr>
<tr class="clickable-row" data-href="json_CloudCredentials.html"> <tr class="clickable-row" data-href="json_CloudCredentials.html">
<td> <span class="datatype-name">CloudCredentials</span> <td> <span class="datatype-name">CloudCredentials</span>
</td> </td>
...@@ -387,6 +399,12 @@ software</span> ...@@ -387,6 +399,12 @@ software</span>
<td> <span class="datatype-description">This class represents the response of a deploy request. It may hold a key <td> <span class="datatype-description">This class represents the response of a deploy request. It may hold a key
pair used for logging in and managing a docker cluster. Currently they key pair used for logging in and managing a docker cluster. Currently they key
pair is only used by kubernetes</span> pair is only used by kubernetes</span>
</td>
</tr>
<tr class="clickable-row" data-href="json_Invocation.html">
<td> <span class="datatype-name">Invocation</span>
</td>
<td> <span class="datatype-description"></span>
</td> </td>
</tr> </tr>
<tr class="clickable-row" data-href="json_Key.html"> <tr class="clickable-row" data-href="json_Key.html">
...@@ -400,7 +418,7 @@ from the machine the keys correspond to.</span> ...@@ -400,7 +418,7 @@ from the machine the keys correspond to.</span>
<tr class="clickable-row" data-href="json_KeyPair.html"> <tr class="clickable-row" data-href="json_KeyPair.html">
<td> <span class="datatype-name">KeyPair</span> <td> <span class="datatype-name">KeyPair</span>
</td> </td>
<td> <span class="datatype-description">This class hold the pair of public private keys. The kyes may be used for <td> <span class="datatype-description">This class hold the pair of public private keys. The keys may be used for
logging in VMs.</span> logging in VMs.</span>
</td> </td>
</tr> </tr>
...@@ -447,6 +465,12 @@ provisioner to request for cloud resources.</span> ...@@ -447,6 +465,12 @@ provisioner to request for cloud resources.</span>
<td> <span class="datatype-name">ProvisionResponse</span> <td> <span class="datatype-name">ProvisionResponse</span>
</td> </td>
<td> <span class="datatype-description">This class represents a description of provisioned resources</span> <td> <span class="datatype-description">This class represents a description of provisioned resources</span>
</td>
</tr>
<tr class="clickable-row" data-href="json_Result_.html">
<td> <span class="datatype-name">Result_</span>
</td>
<td> <span class="datatype-description"></span>
</td> </td>
</tr> </tr>
<tr class="clickable-row" data-href="json_Script.html"> <tr class="clickable-row" data-href="json_Script.html">
...@@ -594,7 +618,7 @@ from the machine the keys correspond to.</span> ...@@ -594,7 +618,7 @@ from the machine the keys correspond to.</span>
<tr class="clickable-row" data-href="xml_ns0_keyPair.html"> <tr class="clickable-row" data-href="xml_ns0_keyPair.html">
<td> <span class="datatype-name">keyPair</span> <td> <span class="datatype-name">keyPair</span>
</td> </td>
<td> <span class="datatype-description">This class hold the pair of public private keys. The kyes may be used for <td> <span class="datatype-description">This class hold the pair of public private keys. The keys may be used for
logging in VMs.</span> logging in VMs.</span>
</td> </td>
</tr> </tr>
...@@ -653,6 +677,30 @@ provisioner to request for cloud resources.</span> ...@@ -653,6 +677,30 @@ provisioner to request for cloud resources.</span>
<td> <span class="datatype-name">user</span> <td> <span class="datatype-name">user</span>
</td> </td>
<td> <span class="datatype-description">This class represents a user.</span> <td> <span class="datatype-description">This class represents a user.</span>
</td>
</tr>
<tr class="clickable-row" data-href="xml_ns0_ansibleOutput.html">
<td> <span class="datatype-name">ansibleOutput</span>
</td>
<td> <span class="datatype-description"></span>
</td>
</tr>
<tr class="clickable-row" data-href="xml_ns0_ansibleResult.html">
<td> <span class="datatype-name">ansibleResult</span>
</td>
<td> <span class="datatype-description"></span>
</td>
</tr>
<tr class="clickable-row" data-href="xml_ns0_invocation.html">
<td> <span class="datatype-name">invocation</span>
</td>
<td> <span class="datatype-description"></span>
</td>
</tr>
<tr class="clickable-row" data-href="xml_ns0_result_.html">
<td> <span class="datatype-name">result_</span>
</td>
<td> <span class="datatype-description"></span>
</td> </td>
</tr> </tr>
</tbody> </tbody>
......
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>drip-api: AnsibleOutput</title>
<!-- Mobile viewport optimized: j.mp/bplateviewport -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<!--custom css for these pages-->
<link rel="stylesheet" href="css/style.css">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body data-spy="scroll" data-target="#apinav">
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">drip-api: AnsibleOutput</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="resources.html">Resources</a></li>
<li><a href="data.html">Data Types</a></li>
<li><a href="downloads.html">Files and Libraries</a></li>
</ul>
</div>
</div>
</nav>
<div class="container-fluid">
<div class="row">
<div class="col-sm-3 col-md-2 sidebar" id="apinav">
<ul class="nav nav-sidebar">
<li class="text-right"><a href="#top"><small>Back to Top</small></a></li>
</ul>
</div>
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
<ol class="breadcrumb" id="top">
<li class="active dropdown"><a href="index.html">Home</a></li>
<li class="active dropdown"><a href="syntax_json.html">JSON</a></li>
<li class="dropdown"><a href="json_AnsibleOutput.html">AnsibleOutput</a></li>
</ol>
<h1 class="page-header">AnsibleOutput <small>Data Type</small></h1>
<p></p>
<dl class="dl-horizontal">
</dl>
<table class="table datatype-properties">
<caption>Properties</caption>
<thead>
<tr>
<th>name</th>
<th>data type</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td> <span class="property-name">host</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">result</span>
</td>
<td> <span class="datatype-reference"><a href="json_AnsibleResult.html">AnsibleResult</a>
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
</tbody>
</table>
<p class="lead">Example</p>
<pre class="prettyprint language-js example">{
&quot;host&quot; : &quot;...&quot;,
&quot;result&quot; : {
&quot;_ansible_parsed&quot; : true,
&quot;changed&quot; : true,
&quot;results&quot; : [ {
&quot;_ansible_parsed&quot; : true,
&quot;changed&quot; : true,
&quot;cache_updated&quot; : true,
&quot;_ansible_item_result&quot; : true,
&quot;item&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;invocation&quot; : { },
&quot;cache_update_time&quot; : 12345,
&quot;_ansible_no_log&quot; : true
}, {
&quot;_ansible_parsed&quot; : true,
&quot;changed&quot; : true,
&quot;cache_updated&quot; : true,
&quot;_ansible_item_result&quot; : true,
&quot;item&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;invocation&quot; : { },
&quot;cache_update_time&quot; : 12345,
&quot;_ansible_no_log&quot; : true
} ],
&quot;_ansible_verbose_always&quot; : true,
&quot;end&quot; : &quot;...&quot;,
&quot;_ansible_no_log&quot; : true,
&quot;stdout&quot; : &quot;...&quot;,
&quot;msg&quot; : &quot;...&quot;,
&quot;cmd&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;rc&quot; : 12345,
&quot;start&quot; : &quot;...&quot;,
&quot;stderr&quot; : &quot;...&quot;,
&quot;delta&quot; : &quot;...&quot;,
&quot;invocation&quot; : {
&quot;module_name&quot; : &quot;...&quot;
},
&quot;stdout_lines&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;warnings&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}
}</pre>
<footer class="footer">
<div class="container">
<p class="text-muted">Generated by <a href="http://enunciate.webcohesion.com">Enunciate</a>.</p>
</div>
</footer>
</div>
</div>
</div>
<!-- JavaScript placed at the end of the document so the pages load faster. -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<!-- Bootstrap core JavaScript
================================================== -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<!-- prettify code blocks. see http://code.google.com/p/google-code-prettify/ -->
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js" type="text/javascript"></script>
<script>
$(function() {
$(".clickable-row").click(function() {
window.document.location = $(this).data("href");
});
$('[data-toggle="tooltip"]').tooltip()
});
</script>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>drip-api: AnsibleResult</title>
<!-- Mobile viewport optimized: j.mp/bplateviewport -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<!--custom css for these pages-->
<link rel="stylesheet" href="css/style.css">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body data-spy="scroll" data-target="#apinav">
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">drip-api: AnsibleResult</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="resources.html">Resources</a></li>
<li><a href="data.html">Data Types</a></li>
<li><a href="downloads.html">Files and Libraries</a></li>
</ul>
</div>
</div>
</nav>
<div class="container-fluid">
<div class="row">
<div class="col-sm-3 col-md-2 sidebar" id="apinav">
<ul class="nav nav-sidebar">
<li class="text-right"><a href="#top"><small>Back to Top</small></a></li>
</ul>
</div>
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
<ol class="breadcrumb" id="top">
<li class="active dropdown"><a href="index.html">Home</a></li>
<li class="active dropdown"><a href="syntax_json.html">JSON</a></li>
<li class="dropdown"><a href="json_AnsibleResult.html">AnsibleResult</a></li>
</ol>
<h1 class="page-header">AnsibleResult <small>Data Type</small></h1>
<p></p>
<dl class="dl-horizontal">
</dl>
<table class="table datatype-properties">
<caption>Properties</caption>
<thead>
<tr>
<th>name</th>
<th>data type</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td> <span class="property-name">_ansible_parsed</span>
</td>
<td> <span class="datatype-reference">boolean
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">changed</span>
</td>
<td> <span class="datatype-reference">boolean
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">results</span>
</td>
<td> <span class="datatype-reference">array of <a href="json_Result_.html">Result_</a>
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">_ansible_verbose_always</span>
</td>
<td> <span class="datatype-reference">boolean
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">end</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">_ansible_no_log</span>
</td>
<td> <span class="datatype-reference">boolean
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">stdout</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">msg</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">cmd</span>
</td>
<td> <span class="datatype-reference">array of string
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">rc</span>
</td>
<td> <span class="datatype-reference">number
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">start</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">stderr</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">delta</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">invocation</span>
</td>
<td> <span class="datatype-reference"><a href="json_Invocation.html">Invocation</a>
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">stdout_lines</span>
</td>
<td> <span class="datatype-reference">array of string
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">warnings</span>
</td>
<td> <span class="datatype-reference">array of string
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">_ansible_parsed</span>
</td>
<td> <span class="datatype-reference">boolean
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">_ansible_no_log</span>
</td>
<td> <span class="datatype-reference">boolean
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
</tbody>
</table>
<p class="lead">Example</p>
<pre class="prettyprint language-js example">{
&quot;_ansible_parsed&quot; : true,
&quot;changed&quot; : true,
&quot;results&quot; : [ {
&quot;_ansible_parsed&quot; : true,
&quot;changed&quot; : true,
&quot;cache_updated&quot; : true,
&quot;_ansible_item_result&quot; : true,
&quot;item&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;invocation&quot; : {
&quot;module_name&quot; : &quot;...&quot;
},
&quot;cache_update_time&quot; : 12345,
&quot;_ansible_no_log&quot; : true
}, {
&quot;_ansible_parsed&quot; : true,
&quot;changed&quot; : true,
&quot;cache_updated&quot; : true,
&quot;_ansible_item_result&quot; : true,
&quot;item&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;invocation&quot; : {
&quot;module_name&quot; : &quot;...&quot;
},
&quot;cache_update_time&quot; : 12345,
&quot;_ansible_no_log&quot; : true
} ],
&quot;_ansible_verbose_always&quot; : true,
&quot;end&quot; : &quot;...&quot;,
&quot;_ansible_no_log&quot; : true,
&quot;stdout&quot; : &quot;...&quot;,
&quot;msg&quot; : &quot;...&quot;,
&quot;cmd&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;rc&quot; : 12345,
&quot;start&quot; : &quot;...&quot;,
&quot;stderr&quot; : &quot;...&quot;,
&quot;delta&quot; : &quot;...&quot;,
&quot;invocation&quot; : {
&quot;module_name&quot; : &quot;...&quot;
},
&quot;stdout_lines&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;warnings&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}</pre>
<footer class="footer">
<div class="container">
<p class="text-muted">Generated by <a href="http://enunciate.webcohesion.com">Enunciate</a>.</p>
</div>
</footer>
</div>
</div>
</div>
<!-- JavaScript placed at the end of the document so the pages load faster. -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<!-- Bootstrap core JavaScript
================================================== -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<!-- prettify code blocks. see http://code.google.com/p/google-code-prettify/ -->
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js" type="text/javascript"></script>
<script>
$(function() {
$(".clickable-row").click(function() {
window.document.location = $(this).data("href");
});
$('[data-toggle="tooltip"]').tooltip()
});
</script>
</body>
</html>
...@@ -81,6 +81,15 @@ pair is only used by kubernetes</p> ...@@ -81,6 +81,15 @@ pair is only used by kubernetes</p>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr>
<td> <span class="property-name">ansibleOutputList</span>
</td>
<td> <span class="datatype-reference">array of <a href="json_AnsibleOutput.html">AnsibleOutput</a>
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr> <tr>
<td> <span class="property-name">keyPair</span> <td> <span class="property-name">keyPair</span>
</td> </td>
...@@ -140,6 +149,47 @@ object is saved.</span></td> ...@@ -140,6 +149,47 @@ object is saved.</span></td>
<p class="lead">Example</p> <p class="lead">Example</p>
<pre class="prettyprint language-js example">{ <pre class="prettyprint language-js example">{
&quot;ansibleOutputList&quot; : [ {
&quot;host&quot; : &quot;...&quot;,
&quot;result&quot; : {
&quot;_ansible_parsed&quot; : true,
&quot;changed&quot; : true,
&quot;results&quot; : [ { }, { } ],
&quot;_ansible_verbose_always&quot; : true,
&quot;end&quot; : &quot;...&quot;,
&quot;_ansible_no_log&quot; : true,
&quot;stdout&quot; : &quot;...&quot;,
&quot;msg&quot; : &quot;...&quot;,
&quot;cmd&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;rc&quot; : 12345,
&quot;start&quot; : &quot;...&quot;,
&quot;stderr&quot; : &quot;...&quot;,
&quot;delta&quot; : &quot;...&quot;,
&quot;invocation&quot; : { },
&quot;stdout_lines&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;warnings&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}
}, {
&quot;host&quot; : &quot;...&quot;,
&quot;result&quot; : {
&quot;_ansible_parsed&quot; : true,
&quot;changed&quot; : true,
&quot;results&quot; : [ { }, { } ],
&quot;_ansible_verbose_always&quot; : true,
&quot;end&quot; : &quot;...&quot;,
&quot;_ansible_no_log&quot; : true,
&quot;stdout&quot; : &quot;...&quot;,
&quot;msg&quot; : &quot;...&quot;,
&quot;cmd&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;rc&quot; : 12345,
&quot;start&quot; : &quot;...&quot;,
&quot;stderr&quot; : &quot;...&quot;,
&quot;delta&quot; : &quot;...&quot;,
&quot;invocation&quot; : { },
&quot;stdout_lines&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;warnings&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}
} ],
&quot;keyPair&quot; : { &quot;keyPair&quot; : {
&quot;privateKey&quot; : { &quot;privateKey&quot; : {
&quot;name&quot; : &quot;id_dsa.pub&quot;, &quot;name&quot; : &quot;id_dsa.pub&quot;,
......
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>drip-api: Invocation</title>
<!-- Mobile viewport optimized: j.mp/bplateviewport -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<!--custom css for these pages-->
<link rel="stylesheet" href="css/style.css">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body data-spy="scroll" data-target="#apinav">
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">drip-api: Invocation</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="resources.html">Resources</a></li>
<li><a href="data.html">Data Types</a></li>
<li><a href="downloads.html">Files and Libraries</a></li>
</ul>
</div>
</div>
</nav>
<div class="container-fluid">
<div class="row">
<div class="col-sm-3 col-md-2 sidebar" id="apinav">
<ul class="nav nav-sidebar">
<li class="text-right"><a href="#top"><small>Back to Top</small></a></li>
</ul>
</div>
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
<ol class="breadcrumb" id="top">
<li class="active dropdown"><a href="index.html">Home</a></li>
<li class="active dropdown"><a href="syntax_json.html">JSON</a></li>
<li class="dropdown"><a href="json_Invocation.html">Invocation</a></li>
</ol>
<h1 class="page-header">Invocation <small>Data Type</small></h1>
<p></p>
<dl class="dl-horizontal">
</dl>
<table class="table datatype-properties">
<caption>Properties</caption>
<thead>
<tr>
<th>name</th>
<th>data type</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td> <span class="property-name">module_name</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
</tbody>
</table>
<p class="lead">Example</p>
<pre class="prettyprint language-js example">{
&quot;module_name&quot; : &quot;...&quot;
}</pre>
<footer class="footer">
<div class="container">
<p class="text-muted">Generated by <a href="http://enunciate.webcohesion.com">Enunciate</a>.</p>
</div>
</footer>
</div>
</div>
</div>
<!-- JavaScript placed at the end of the document so the pages load faster. -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<!-- Bootstrap core JavaScript
================================================== -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<!-- prettify code blocks. see http://code.google.com/p/google-code-prettify/ -->
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js" type="text/javascript"></script>
<script>
$(function() {
$(".clickable-row").click(function() {
window.document.location = $(this).data("href");
});
$('[data-toggle="tooltip"]').tooltip()
});
</script>
</body>
</html>
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
<h1 class="page-header">KeyPair <small>Data Type</small></h1> <h1 class="page-header">KeyPair <small>Data Type</small></h1>
<p>This class hold the pair of public private keys. The kyes may be used for <p>This class hold the pair of public private keys. The keys may be used for
logging in VMs.</p> logging in VMs.</p>
<dl class="dl-horizontal"> <dl class="dl-horizontal">
......
...@@ -69,7 +69,7 @@ class</p> ...@@ -69,7 +69,7 @@ class</p>
<dl class="dl-horizontal"> <dl class="dl-horizontal">
<dt>Subtypes</dt> <dt>Subtypes</dt>
<dd><a href="json_DeployRequest.html">DeployRequest</a>, <a href="json_ProvisionRequest.html">ProvisionRequest</a>, <a href="json_KeyPair.html">KeyPair</a>, <a href="json_KeyValueHolder.html">KeyValueHolder</a>, <a href="json_PlanResponse.html">PlanResponse</a>, <a href="json_PlaybookRepresentation.html">PlaybookRepresentation</a>, <a href="json_ProvisionResponse.html">ProvisionResponse</a>, <a href="json_Script.html">Script</a>, <a href="json_DeployResponse.html">DeployResponse</a>, <a href="json_ToscaRepresentation.html">ToscaRepresentation</a>, <a href="json_CloudCredentials.html">CloudCredentials</a></dd> <dd><a href="json_DeployRequest.html">DeployRequest</a>, <a href="json_KeyPair.html">KeyPair</a>, <a href="json_ProvisionRequest.html">ProvisionRequest</a>, <a href="json_KeyValueHolder.html">KeyValueHolder</a>, <a href="json_PlanResponse.html">PlanResponse</a>, <a href="json_PlaybookRepresentation.html">PlaybookRepresentation</a>, <a href="json_ProvisionResponse.html">ProvisionResponse</a>, <a href="json_Script.html">Script</a>, <a href="json_DeployResponse.html">DeployResponse</a>, <a href="json_ToscaRepresentation.html">ToscaRepresentation</a>, <a href="json_CloudCredentials.html">CloudCredentials</a></dd>
</dl> </dl>
<table class="table datatype-properties"> <table class="table datatype-properties">
......
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>drip-api: Result_</title>
<!-- Mobile viewport optimized: j.mp/bplateviewport -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<!--custom css for these pages-->
<link rel="stylesheet" href="css/style.css">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body data-spy="scroll" data-target="#apinav">
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">drip-api: Result_</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="resources.html">Resources</a></li>
<li><a href="data.html">Data Types</a></li>
<li><a href="downloads.html">Files and Libraries</a></li>
</ul>
</div>
</div>
</nav>
<div class="container-fluid">
<div class="row">
<div class="col-sm-3 col-md-2 sidebar" id="apinav">
<ul class="nav nav-sidebar">
<li class="text-right"><a href="#top"><small>Back to Top</small></a></li>
</ul>
</div>
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
<ol class="breadcrumb" id="top">
<li class="active dropdown"><a href="index.html">Home</a></li>
<li class="active dropdown"><a href="syntax_json.html">JSON</a></li>
<li class="dropdown"><a href="json_Result_.html">Result_</a></li>
</ol>
<h1 class="page-header">Result_ <small>Data Type</small></h1>
<p></p>
<dl class="dl-horizontal">
</dl>
<table class="table datatype-properties">
<caption>Properties</caption>
<thead>
<tr>
<th>name</th>
<th>data type</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td> <span class="property-name">_ansible_parsed</span>
</td>
<td> <span class="datatype-reference">boolean
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">changed</span>
</td>
<td> <span class="datatype-reference">boolean
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">cache_updated</span>
</td>
<td> <span class="datatype-reference">boolean
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">_ansible_item_result</span>
</td>
<td> <span class="datatype-reference">boolean
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">item</span>
</td>
<td> <span class="datatype-reference">array of string
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">invocation</span>
</td>
<td> <span class="datatype-reference"><a href="json_Invocation.html">Invocation</a>
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">cache_update_time</span>
</td>
<td> <span class="datatype-reference">number
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">_ansible_no_log</span>
</td>
<td> <span class="datatype-reference">boolean
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">_ansible_parsed</span>
</td>
<td> <span class="datatype-reference">boolean
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">_ansible_item_result</span>
</td>
<td> <span class="datatype-reference">boolean
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">cache_updated</span>
</td>
<td> <span class="datatype-reference">boolean
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
</tbody>
</table>
<p class="lead">Example</p>
<pre class="prettyprint language-js example">{
&quot;_ansible_parsed&quot; : true,
&quot;changed&quot; : true,
&quot;cache_updated&quot; : true,
&quot;_ansible_item_result&quot; : true,
&quot;item&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;invocation&quot; : {
&quot;module_name&quot; : &quot;...&quot;
},
&quot;cache_update_time&quot; : 12345,
&quot;_ansible_no_log&quot; : true
}</pre>
<footer class="footer">
<div class="container">
<p class="text-muted">Generated by <a href="http://enunciate.webcohesion.com">Enunciate</a>.</p>
</div>
</footer>
</div>
</div>
</div>
<!-- JavaScript placed at the end of the document so the pages load faster. -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<!-- Bootstrap core JavaScript
================================================== -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<!-- prettify code blocks. see http://code.google.com/p/google-code-prettify/ -->
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js" type="text/javascript"></script>
<script>
$(function() {
$(".clickable-row").click(function() {
window.document.location = $(this).data("href");
});
$('[data-toggle="tooltip"]').tooltip()
});
</script>
</body>
</html>
...@@ -370,6 +370,10 @@ pair is only used by kubernetes]]> ...@@ -370,6 +370,10 @@ pair is only used by kubernetes]]>
</xs:annotation> </xs:annotation>
<xs:complexContent> <xs:complexContent>
<xs:extension base="deployRequest"> <xs:extension base="deployRequest">
<xs:sequence>
<xs:element name="ansibleOutputList" type="ansibleOutput" minOccurs="0" maxOccurs="unbounded">
</xs:element>
</xs:sequence>
</xs:extension> </xs:extension>
</xs:complexContent> </xs:complexContent>
</xs:complexType> </xs:complexType>
...@@ -444,7 +448,7 @@ to specify the domain name for ec2]]> ...@@ -444,7 +448,7 @@ to specify the domain name for ec2]]>
<xs:complexType name="keyPair"> <xs:complexType name="keyPair">
<xs:annotation> <xs:annotation>
<xs:documentation> <xs:documentation>
<![CDATA[This class hold the pair of public private keys. The kyes may be used for <![CDATA[This class hold the pair of public private keys. The keys may be used for
logging in VMs.]]> logging in VMs.]]>
</xs:documentation> </xs:documentation>
</xs:annotation> </xs:annotation>
...@@ -709,4 +713,80 @@ saves this object]]> ...@@ -709,4 +713,80 @@ saves this object]]>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
<xs:complexType name="ansibleOutput">
<xs:sequence>
<xs:element name="host" type="xs:string" minOccurs="0">
</xs:element>
<xs:element name="result" type="ansibleResult" minOccurs="0">
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ansibleResult">
<xs:sequence>
<xs:element name="ansibleParsed" type="xs:boolean" minOccurs="0">
</xs:element>
<xs:element name="ansibleVerboseAlways" type="xs:boolean" minOccurs="0">
</xs:element>
<xs:element name="changed" type="xs:boolean" minOccurs="0">
</xs:element>
<xs:element name="ansible_verbose_always" type="xs:boolean" minOccurs="0">
</xs:element>
<xs:element name="end" type="xs:dateTime" minOccurs="0">
</xs:element>
<xs:element name="ansibleNoLog" type="xs:boolean" minOccurs="0">
</xs:element>
<xs:element name="stdout" type="xs:string" minOccurs="0">
</xs:element>
<xs:element name="msg" type="xs:string" minOccurs="0">
</xs:element>
<xs:element name="cmd" type="xs:string" minOccurs="0" maxOccurs="unbounded">
</xs:element>
<xs:element name="rc" type="xs:int" minOccurs="0">
</xs:element>
<xs:element name="start" type="xs:dateTime" minOccurs="0">
</xs:element>
<xs:element name="stderr" type="xs:string" minOccurs="0">
</xs:element>
<xs:element name="delta" type="xs:dateTime" minOccurs="0">
</xs:element>
<xs:element name="invocation" type="invocation" minOccurs="0">
</xs:element>
<xs:element name="stdoutLines" type="xs:string" minOccurs="0" maxOccurs="unbounded">
</xs:element>
<xs:element name="warnings" type="xs:string" minOccurs="0" maxOccurs="unbounded">
</xs:element>
<xs:element name="results" type="result_" minOccurs="0" maxOccurs="unbounded">
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="invocation">
<xs:sequence>
<xs:element name="moduleName" type="xs:string" minOccurs="0">
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="result_">
<xs:sequence>
<xs:element name="ansibleParsed" type="xs:boolean" minOccurs="0">
</xs:element>
<xs:element name="changed" type="xs:boolean" minOccurs="0">
</xs:element>
<xs:element name="ansibleNoLog" type="xs:boolean" minOccurs="0">
</xs:element>
<xs:element name="cacheUpdated" type="xs:boolean" minOccurs="0">
</xs:element>
<xs:element name="ansibleItemResult" type="xs:boolean" minOccurs="0">
</xs:element>
<xs:element name="item" type="xs:string" minOccurs="0" maxOccurs="unbounded">
</xs:element>
<xs:element name="invocation" type="invocation" minOccurs="0">
</xs:element>
<xs:element name="cacheUpdateTime" type="xs:int" minOccurs="0">
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:schema> </xs:schema>
\ No newline at end of file
...@@ -585,6 +585,47 @@ Content-Type: application/json ...@@ -585,6 +585,47 @@ Content-Type: application/json
<code class="prettyprint language-js"> <code class="prettyprint language-js">
{ {
&quot;ansibleOutputList&quot; : [ {
&quot;host&quot; : &quot;...&quot;,
&quot;result&quot; : {
&quot;_ansible_parsed&quot; : true,
&quot;changed&quot; : true,
&quot;results&quot; : [ { }, { } ],
&quot;_ansible_verbose_always&quot; : true,
&quot;end&quot; : &quot;...&quot;,
&quot;_ansible_no_log&quot; : true,
&quot;stdout&quot; : &quot;...&quot;,
&quot;msg&quot; : &quot;...&quot;,
&quot;cmd&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;rc&quot; : 12345,
&quot;start&quot; : &quot;...&quot;,
&quot;stderr&quot; : &quot;...&quot;,
&quot;delta&quot; : &quot;...&quot;,
&quot;invocation&quot; : { },
&quot;stdout_lines&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;warnings&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}
}, {
&quot;host&quot; : &quot;...&quot;,
&quot;result&quot; : {
&quot;_ansible_parsed&quot; : true,
&quot;changed&quot; : true,
&quot;results&quot; : [ { }, { } ],
&quot;_ansible_verbose_always&quot; : true,
&quot;end&quot; : &quot;...&quot;,
&quot;_ansible_no_log&quot; : true,
&quot;stdout&quot; : &quot;...&quot;,
&quot;msg&quot; : &quot;...&quot;,
&quot;cmd&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;rc&quot; : 12345,
&quot;start&quot; : &quot;...&quot;,
&quot;stderr&quot; : &quot;...&quot;,
&quot;delta&quot; : &quot;...&quot;,
&quot;invocation&quot; : { },
&quot;stdout_lines&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;warnings&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}
} ],
&quot;keyPair&quot; : { &quot;keyPair&quot; : {
&quot;privateKey&quot; : { &quot;privateKey&quot; : {
&quot;name&quot; : &quot;id_dsa.pub&quot;, &quot;name&quot; : &quot;id_dsa.pub&quot;,
......
...@@ -71,6 +71,18 @@ ...@@ -71,6 +71,18 @@
</tr> </tr>
</thead> </thead>
<tbody data-link="row" class="rowlink"> <tbody data-link="row" class="rowlink">
<tr class="clickable-row" data-href="json_AnsibleOutput.html">
<td> <span class="datatype-name">AnsibleOutput</span>
</td>
<td> <span class="datatype-description"></span>
</td>
</tr>
<tr class="clickable-row" data-href="json_AnsibleResult.html">
<td> <span class="datatype-name">AnsibleResult</span>
</td>
<td> <span class="datatype-description"></span>
</td>
</tr>
<tr class="clickable-row" data-href="json_CloudCredentials.html"> <tr class="clickable-row" data-href="json_CloudCredentials.html">
<td> <span class="datatype-name">CloudCredentials</span> <td> <span class="datatype-name">CloudCredentials</span>
</td> </td>
...@@ -99,6 +111,12 @@ software</span> ...@@ -99,6 +111,12 @@ software</span>
<td> <span class="datatype-description">This class represents the response of a deploy request. It may hold a key <td> <span class="datatype-description">This class represents the response of a deploy request. It may hold a key
pair used for logging in and managing a docker cluster. Currently they key pair used for logging in and managing a docker cluster. Currently they key
pair is only used by kubernetes</span> pair is only used by kubernetes</span>
</td>
</tr>
<tr class="clickable-row" data-href="json_Invocation.html">
<td> <span class="datatype-name">Invocation</span>
</td>
<td> <span class="datatype-description"></span>
</td> </td>
</tr> </tr>
<tr class="clickable-row" data-href="json_Key.html"> <tr class="clickable-row" data-href="json_Key.html">
...@@ -112,7 +130,7 @@ from the machine the keys correspond to.</span> ...@@ -112,7 +130,7 @@ from the machine the keys correspond to.</span>
<tr class="clickable-row" data-href="json_KeyPair.html"> <tr class="clickable-row" data-href="json_KeyPair.html">
<td> <span class="datatype-name">KeyPair</span> <td> <span class="datatype-name">KeyPair</span>
</td> </td>
<td> <span class="datatype-description">This class hold the pair of public private keys. The kyes may be used for <td> <span class="datatype-description">This class hold the pair of public private keys. The keys may be used for
logging in VMs.</span> logging in VMs.</span>
</td> </td>
</tr> </tr>
...@@ -159,6 +177,12 @@ provisioner to request for cloud resources.</span> ...@@ -159,6 +177,12 @@ provisioner to request for cloud resources.</span>
<td> <span class="datatype-name">ProvisionResponse</span> <td> <span class="datatype-name">ProvisionResponse</span>
</td> </td>
<td> <span class="datatype-description">This class represents a description of provisioned resources</span> <td> <span class="datatype-description">This class represents a description of provisioned resources</span>
</td>
</tr>
<tr class="clickable-row" data-href="json_Result_.html">
<td> <span class="datatype-name">Result_</span>
</td>
<td> <span class="datatype-description"></span>
</td> </td>
</tr> </tr>
<tr class="clickable-row" data-href="json_Script.html"> <tr class="clickable-row" data-href="json_Script.html">
......
...@@ -185,7 +185,7 @@ from the machine the keys correspond to.</span> ...@@ -185,7 +185,7 @@ from the machine the keys correspond to.</span>
<tr class="clickable-row" data-href="xml_ns0_keyPair.html"> <tr class="clickable-row" data-href="xml_ns0_keyPair.html">
<td> <span class="datatype-name">keyPair</span> <td> <span class="datatype-name">keyPair</span>
</td> </td>
<td> <span class="datatype-description">This class hold the pair of public private keys. The kyes may be used for <td> <span class="datatype-description">This class hold the pair of public private keys. The keys may be used for
logging in VMs.</span> logging in VMs.</span>
</td> </td>
</tr> </tr>
...@@ -244,6 +244,30 @@ provisioner to request for cloud resources.</span> ...@@ -244,6 +244,30 @@ provisioner to request for cloud resources.</span>
<td> <span class="datatype-name">user</span> <td> <span class="datatype-name">user</span>
</td> </td>
<td> <span class="datatype-description">This class represents a user.</span> <td> <span class="datatype-description">This class represents a user.</span>
</td>
</tr>
<tr class="clickable-row" data-href="xml_ns0_ansibleOutput.html">
<td> <span class="datatype-name">ansibleOutput</span>
</td>
<td> <span class="datatype-description"></span>
</td>
</tr>
<tr class="clickable-row" data-href="xml_ns0_ansibleResult.html">
<td> <span class="datatype-name">ansibleResult</span>
</td>
<td> <span class="datatype-description"></span>
</td>
</tr>
<tr class="clickable-row" data-href="xml_ns0_invocation.html">
<td> <span class="datatype-name">invocation</span>
</td>
<td> <span class="datatype-description"></span>
</td>
</tr>
<tr class="clickable-row" data-href="xml_ns0_result_.html">
<td> <span class="datatype-name">result_</span>
</td>
<td> <span class="datatype-description"></span>
</td> </td>
</tr> </tr>
</tbody> </tbody>
......
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>drip-api: ansibleOutput</title>
<!-- Mobile viewport optimized: j.mp/bplateviewport -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<!--custom css for these pages-->
<link rel="stylesheet" href="css/style.css">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body data-spy="scroll" data-target="#apinav">
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">drip-api: ansibleOutput</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="resources.html">Resources</a></li>
<li><a href="data.html">Data Types</a></li>
<li><a href="downloads.html">Files and Libraries</a></li>
</ul>
</div>
</div>
</nav>
<div class="container-fluid">
<div class="row">
<div class="col-sm-3 col-md-2 sidebar" id="apinav">
<ul class="nav nav-sidebar">
<li class="text-right"><a href="#top"><small>Back to Top</small></a></li>
</ul>
</div>
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
<ol class="breadcrumb" id="top">
<li class="active dropdown"><a href="index.html">Home</a></li>
<li class="active dropdown"><a href="syntax_xml.html">XML</a></li>
<li class="dropdown"><a href="xml_ns0_ansibleOutput.html">ansibleOutput</a></li>
</ol>
<h1 class="page-header">ansibleOutput <small>Data Type</small></h1>
<p></p>
<dl class="dl-horizontal">
<dt>Namespace</dt>
<dd>(Default)</dd>
<dt>Schema</dt>
<dd><a href="ns0.xsd">ns0.xsd</a></dd>
</dl>
<table class="table datatype-properties">
<caption>Properties</caption>
<thead>
<tr>
<th>name</th>
<th>data type</th>
<th>type</th>
<th>namespace</th>
<th>min/max occurs</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td> <span class="property-name">host</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
</tr>
<tr>
<td> <span class="property-name">result</span>
</td>
<td> <span class="datatype-reference"><a href="xml_ns0_ansibleResult.html">ansibleResult</a>
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
</tr>
</tbody>
</table>
<p class="lead">Example</p>
<pre class="prettyprint language-xml example">&lt;a-----&gt;
&lt;host&gt;...&lt;/host&gt;
&lt;result&gt;
&lt;ansibleParsed&gt;...&lt;/ansibleParsed&gt;
&lt;ansibleVerboseAlways&gt;...&lt;/ansibleVerboseAlways&gt;
&lt;changed&gt;...&lt;/changed&gt;
&lt;ansible_verbose_always&gt;...&lt;/ansible_verbose_always&gt;
&lt;end&gt;...&lt;/end&gt;
&lt;ansibleNoLog&gt;...&lt;/ansibleNoLog&gt;
&lt;stdout&gt;...&lt;/stdout&gt;
&lt;msg&gt;...&lt;/msg&gt;
&lt;cmd&gt;...&lt;/cmd&gt;
&lt;rc&gt;...&lt;/rc&gt;
&lt;start&gt;...&lt;/start&gt;
&lt;stderr&gt;...&lt;/stderr&gt;
&lt;delta&gt;...&lt;/delta&gt;
&lt;invocation&gt;
&lt;moduleName&gt;...&lt;/moduleName&gt;
&lt;/invocation&gt;
&lt;stdoutLines&gt;...&lt;/stdoutLines&gt;
&lt;warnings&gt;...&lt;/warnings&gt;
&lt;results&gt;
&lt;ansibleParsed&gt;...&lt;/ansibleParsed&gt;
&lt;changed&gt;...&lt;/changed&gt;
&lt;ansibleNoLog&gt;...&lt;/ansibleNoLog&gt;
&lt;cacheUpdated&gt;...&lt;/cacheUpdated&gt;
&lt;ansibleItemResult&gt;...&lt;/ansibleItemResult&gt;
&lt;item&gt;...&lt;/item&gt;
&lt;invocation/&gt;
&lt;cacheUpdateTime&gt;...&lt;/cacheUpdateTime&gt;
&lt;/results&gt;
&lt;/result&gt;
&lt;/a-----&gt;
</pre>
<footer class="footer">
<div class="container">
<p class="text-muted">Generated by <a href="http://enunciate.webcohesion.com">Enunciate</a>.</p>
</div>
</footer>
</div>
</div>
</div>
<!-- JavaScript placed at the end of the document so the pages load faster. -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<!-- Bootstrap core JavaScript
================================================== -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<!-- prettify code blocks. see http://code.google.com/p/google-code-prettify/ -->
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js" type="text/javascript"></script>
<script>
$(function() {
$(".clickable-row").click(function() {
window.document.location = $(this).data("href");
});
$('[data-toggle="tooltip"]').tooltip()
});
</script>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>drip-api: ansibleResult</title>
<!-- Mobile viewport optimized: j.mp/bplateviewport -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<!--custom css for these pages-->
<link rel="stylesheet" href="css/style.css">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body data-spy="scroll" data-target="#apinav">
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">drip-api: ansibleResult</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="resources.html">Resources</a></li>
<li><a href="data.html">Data Types</a></li>
<li><a href="downloads.html">Files and Libraries</a></li>
</ul>
</div>
</div>
</nav>
<div class="container-fluid">
<div class="row">
<div class="col-sm-3 col-md-2 sidebar" id="apinav">
<ul class="nav nav-sidebar">
<li class="text-right"><a href="#top"><small>Back to Top</small></a></li>
</ul>
</div>
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
<ol class="breadcrumb" id="top">
<li class="active dropdown"><a href="index.html">Home</a></li>
<li class="active dropdown"><a href="syntax_xml.html">XML</a></li>
<li class="dropdown"><a href="xml_ns0_ansibleResult.html">ansibleResult</a></li>
</ol>
<h1 class="page-header">ansibleResult <small>Data Type</small></h1>
<p></p>
<dl class="dl-horizontal">
<dt>Namespace</dt>
<dd>(Default)</dd>
<dt>Schema</dt>
<dd><a href="ns0.xsd">ns0.xsd</a></dd>
</dl>
<table class="table datatype-properties">
<caption>Properties</caption>
<thead>
<tr>
<th>name</th>
<th>data type</th>
<th>type</th>
<th>namespace</th>
<th>min/max occurs</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td> <span class="property-name">ansibleNoLog</span>
</td>
<td> <span class="datatype-reference">boolean
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
</tr>
<tr>
<td> <span class="property-name">ansibleParsed</span>
</td>
<td> <span class="datatype-reference">boolean
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
</tr>
<tr>
<td> <span class="property-name">ansibleVerboseAlways</span>
</td>
<td> <span class="datatype-reference">boolean
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
</tr>
<tr>
<td> <span class="property-name">ansible_verbose_always</span>
</td>
<td> <span class="datatype-reference">boolean
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
</tr>
<tr>
<td> <span class="property-name">changed</span>
</td>
<td> <span class="datatype-reference">boolean
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
</tr>
<tr>
<td> <span class="property-name">cmd</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/unbounded
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
</tr>
<tr>
<td> <span class="property-name">delta</span>
</td>
<td> <span class="datatype-reference">dateTime
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
</tr>
<tr>
<td> <span class="property-name">end</span>
</td>
<td> <span class="datatype-reference">dateTime
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
</tr>
<tr>
<td> <span class="property-name">invocation</span>
</td>
<td> <span class="datatype-reference"><a href="xml_ns0_invocation.html">invocation</a>
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
</tr>
<tr>
<td> <span class="property-name">msg</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
</tr>
<tr>
<td> <span class="property-name">rc</span>
</td>
<td> <span class="datatype-reference">int
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
</tr>
<tr>
<td> <span class="property-name">results</span>
</td>
<td> <span class="datatype-reference"><a href="xml_ns0_result_.html">result_</a>
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/unbounded
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
</tr>
<tr>
<td> <span class="property-name">start</span>
</td>
<td> <span class="datatype-reference">dateTime
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
</tr>
<tr>
<td> <span class="property-name">stderr</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
</tr>
<tr>
<td> <span class="property-name">stdout</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
</tr>
<tr>
<td> <span class="property-name">stdoutLines</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/unbounded
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
</tr>
<tr>
<td> <span class="property-name">warnings</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/unbounded
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
</tr>
</tbody>
</table>
<p class="lead">Example</p>
<pre class="prettyprint language-xml example">&lt;a-----&gt;
&lt;ansibleParsed&gt;...&lt;/ansibleParsed&gt;
&lt;ansibleVerboseAlways&gt;...&lt;/ansibleVerboseAlways&gt;
&lt;changed&gt;...&lt;/changed&gt;
&lt;ansible_verbose_always&gt;...&lt;/ansible_verbose_always&gt;
&lt;end&gt;...&lt;/end&gt;
&lt;ansibleNoLog&gt;...&lt;/ansibleNoLog&gt;
&lt;stdout&gt;...&lt;/stdout&gt;
&lt;msg&gt;...&lt;/msg&gt;
&lt;cmd&gt;...&lt;/cmd&gt;
&lt;rc&gt;...&lt;/rc&gt;
&lt;start&gt;...&lt;/start&gt;
&lt;stderr&gt;...&lt;/stderr&gt;
&lt;delta&gt;...&lt;/delta&gt;
&lt;invocation&gt;
&lt;moduleName&gt;...&lt;/moduleName&gt;
&lt;/invocation&gt;
&lt;stdoutLines&gt;...&lt;/stdoutLines&gt;
&lt;warnings&gt;...&lt;/warnings&gt;
&lt;results&gt;
&lt;ansibleParsed&gt;...&lt;/ansibleParsed&gt;
&lt;changed&gt;...&lt;/changed&gt;
&lt;ansibleNoLog&gt;...&lt;/ansibleNoLog&gt;
&lt;cacheUpdated&gt;...&lt;/cacheUpdated&gt;
&lt;ansibleItemResult&gt;...&lt;/ansibleItemResult&gt;
&lt;item&gt;...&lt;/item&gt;
&lt;invocation&gt;
&lt;moduleName&gt;...&lt;/moduleName&gt;
&lt;/invocation&gt;
&lt;cacheUpdateTime&gt;...&lt;/cacheUpdateTime&gt;
&lt;/results&gt;
&lt;/a-----&gt;
</pre>
<footer class="footer">
<div class="container">
<p class="text-muted">Generated by <a href="http://enunciate.webcohesion.com">Enunciate</a>.</p>
</div>
</footer>
</div>
</div>
</div>
<!-- JavaScript placed at the end of the document so the pages load faster. -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<!-- Bootstrap core JavaScript
================================================== -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<!-- prettify code blocks. see http://code.google.com/p/google-code-prettify/ -->
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js" type="text/javascript"></script>
<script>
$(function() {
$(".clickable-row").click(function() {
window.document.location = $(this).data("href");
});
$('[data-toggle="tooltip"]').tooltip()
});
</script>
</body>
</html>
...@@ -88,6 +88,24 @@ pair is only used by kubernetes</p> ...@@ -88,6 +88,24 @@ pair is only used by kubernetes</p>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr>
<td> <span class="property-name">ansibleOutputList</span>
</td>
<td> <span class="datatype-reference"><a href="xml_ns0_ansibleOutput.html">ansibleOutput</a>
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/unbounded
</span>
</td>
<td> <span class="property-description">the ansibleOutputList</span>
</td>
</tr>
</tbody> </tbody>
<tr> <tr>
<td colspan="6"><h5 class="text-muted">Properties inherited from <a href="xml_ns0_deployRequest.html">deployRequest</a></h5></td> <td colspan="6"><h5 class="text-muted">Properties inherited from <a href="xml_ns0_deployRequest.html">deployRequest</a></h5></td>
...@@ -155,6 +173,28 @@ the DAO saves the object based on the principal how made the call</span></td> ...@@ -155,6 +173,28 @@ the DAO saves the object based on the principal how made the call</span></td>
<p class="lead">Example</p> <p class="lead">Example</p>
<pre class="prettyprint language-xml example">&lt;d-----&gt; <pre class="prettyprint language-xml example">&lt;d-----&gt;
&lt;ansibleOutputList&gt;
&lt;host&gt;...&lt;/host&gt;
&lt;result&gt;
&lt;ansibleParsed&gt;...&lt;/ansibleParsed&gt;
&lt;ansibleVerboseAlways&gt;...&lt;/ansibleVerboseAlways&gt;
&lt;changed&gt;...&lt;/changed&gt;
&lt;ansible_verbose_always&gt;...&lt;/ansible_verbose_always&gt;
&lt;end&gt;...&lt;/end&gt;
&lt;ansibleNoLog&gt;...&lt;/ansibleNoLog&gt;
&lt;stdout&gt;...&lt;/stdout&gt;
&lt;msg&gt;...&lt;/msg&gt;
&lt;cmd&gt;...&lt;/cmd&gt;
&lt;rc&gt;...&lt;/rc&gt;
&lt;start&gt;...&lt;/start&gt;
&lt;stderr&gt;...&lt;/stderr&gt;
&lt;delta&gt;...&lt;/delta&gt;
&lt;invocation/&gt;
&lt;stdoutLines&gt;...&lt;/stdoutLines&gt;
&lt;warnings&gt;...&lt;/warnings&gt;
&lt;results/&gt;
&lt;/result&gt;
&lt;/ansibleOutputList&gt;
&lt;provisionID&gt;58e3946e0fb4f562d84ba1ad&lt;/provisionID&gt; &lt;provisionID&gt;58e3946e0fb4f562d84ba1ad&lt;/provisionID&gt;
&lt;managerType&gt;ansible&lt;/managerType&gt; &lt;managerType&gt;ansible&lt;/managerType&gt;
&lt;configurationID&gt;58e3946e0fb4f562d84ba1ad&lt;/configurationID&gt; &lt;configurationID&gt;58e3946e0fb4f562d84ba1ad&lt;/configurationID&gt;
......
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>drip-api: invocation</title>
<!-- Mobile viewport optimized: j.mp/bplateviewport -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<!--custom css for these pages-->
<link rel="stylesheet" href="css/style.css">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body data-spy="scroll" data-target="#apinav">
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">drip-api: invocation</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="resources.html">Resources</a></li>
<li><a href="data.html">Data Types</a></li>
<li><a href="downloads.html">Files and Libraries</a></li>
</ul>
</div>
</div>
</nav>
<div class="container-fluid">
<div class="row">
<div class="col-sm-3 col-md-2 sidebar" id="apinav">
<ul class="nav nav-sidebar">
<li class="text-right"><a href="#top"><small>Back to Top</small></a></li>
</ul>
</div>
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
<ol class="breadcrumb" id="top">
<li class="active dropdown"><a href="index.html">Home</a></li>
<li class="active dropdown"><a href="syntax_xml.html">XML</a></li>
<li class="dropdown"><a href="xml_ns0_invocation.html">invocation</a></li>
</ol>
<h1 class="page-header">invocation <small>Data Type</small></h1>
<p></p>
<dl class="dl-horizontal">
<dt>Namespace</dt>
<dd>(Default)</dd>
<dt>Schema</dt>
<dd><a href="ns0.xsd">ns0.xsd</a></dd>
</dl>
<table class="table datatype-properties">
<caption>Properties</caption>
<thead>
<tr>
<th>name</th>
<th>data type</th>
<th>type</th>
<th>namespace</th>
<th>min/max occurs</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td> <span class="property-name">moduleName</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
</tr>
</tbody>
</table>
<p class="lead">Example</p>
<pre class="prettyprint language-xml example">&lt;i-----&gt;
&lt;moduleName&gt;...&lt;/moduleName&gt;
&lt;/i-----&gt;
</pre>
<footer class="footer">
<div class="container">
<p class="text-muted">Generated by <a href="http://enunciate.webcohesion.com">Enunciate</a>.</p>
</div>
</footer>
</div>
</div>
</div>
<!-- JavaScript placed at the end of the document so the pages load faster. -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<!-- Bootstrap core JavaScript
================================================== -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<!-- prettify code blocks. see http://code.google.com/p/google-code-prettify/ -->
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js" type="text/javascript"></script>
<script>
$(function() {
$(".clickable-row").click(function() {
window.document.location = $(this).data("href");
});
$('[data-toggle="tooltip"]').tooltip()
});
</script>
</body>
</html>
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
<h1 class="page-header">keyPair <small>Data Type</small></h1> <h1 class="page-header">keyPair <small>Data Type</small></h1>
<p>This class hold the pair of public private keys. The kyes may be used for <p>This class hold the pair of public private keys. The keys may be used for
logging in VMs.</p> logging in VMs.</p>
<dl class="dl-horizontal"> <dl class="dl-horizontal">
......
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>drip-api: result_</title>
<!-- Mobile viewport optimized: j.mp/bplateviewport -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<!--custom css for these pages-->
<link rel="stylesheet" href="css/style.css">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body data-spy="scroll" data-target="#apinav">
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">drip-api: result_</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="resources.html">Resources</a></li>
<li><a href="data.html">Data Types</a></li>
<li><a href="downloads.html">Files and Libraries</a></li>
</ul>
</div>
</div>
</nav>
<div class="container-fluid">
<div class="row">
<div class="col-sm-3 col-md-2 sidebar" id="apinav">
<ul class="nav nav-sidebar">
<li class="text-right"><a href="#top"><small>Back to Top</small></a></li>
</ul>
</div>
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
<ol class="breadcrumb" id="top">
<li class="active dropdown"><a href="index.html">Home</a></li>
<li class="active dropdown"><a href="syntax_xml.html">XML</a></li>
<li class="dropdown"><a href="xml_ns0_result_.html">result_</a></li>
</ol>
<h1 class="page-header">result_ <small>Data Type</small></h1>
<p></p>
<dl class="dl-horizontal">
<dt>Namespace</dt>
<dd>(Default)</dd>
<dt>Schema</dt>
<dd><a href="ns0.xsd">ns0.xsd</a></dd>
</dl>
<table class="table datatype-properties">
<caption>Properties</caption>
<thead>
<tr>
<th>name</th>
<th>data type</th>
<th>type</th>
<th>namespace</th>
<th>min/max occurs</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td> <span class="property-name">ansibleItemResult</span>
</td>
<td> <span class="datatype-reference">boolean
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
</tr>
<tr>
<td> <span class="property-name">ansibleNoLog</span>
</td>
<td> <span class="datatype-reference">boolean
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
</tr>
<tr>
<td> <span class="property-name">ansibleParsed</span>
</td>
<td> <span class="datatype-reference">boolean
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
</tr>
<tr>
<td> <span class="property-name">cacheUpdateTime</span>
</td>
<td> <span class="datatype-reference">int
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
</tr>
<tr>
<td> <span class="property-name">cacheUpdated</span>
</td>
<td> <span class="datatype-reference">boolean
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
</tr>
<tr>
<td> <span class="property-name">changed</span>
</td>
<td> <span class="datatype-reference">boolean
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
</tr>
<tr>
<td> <span class="property-name">invocation</span>
</td>
<td> <span class="datatype-reference"><a href="xml_ns0_invocation.html">invocation</a>
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
</tr>
<tr>
<td> <span class="property-name">item</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/unbounded
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
</tr>
</tbody>
</table>
<p class="lead">Example</p>
<pre class="prettyprint language-xml example">&lt;r-----&gt;
&lt;ansibleParsed&gt;...&lt;/ansibleParsed&gt;
&lt;changed&gt;...&lt;/changed&gt;
&lt;ansibleNoLog&gt;...&lt;/ansibleNoLog&gt;
&lt;cacheUpdated&gt;...&lt;/cacheUpdated&gt;
&lt;ansibleItemResult&gt;...&lt;/ansibleItemResult&gt;
&lt;item&gt;...&lt;/item&gt;
&lt;invocation&gt;
&lt;moduleName&gt;...&lt;/moduleName&gt;
&lt;/invocation&gt;
&lt;cacheUpdateTime&gt;...&lt;/cacheUpdateTime&gt;
&lt;/r-----&gt;
</pre>
<footer class="footer">
<div class="container">
<p class="text-muted">Generated by <a href="http://enunciate.webcohesion.com">Enunciate</a>.</p>
</div>
</footer>
</div>
</div>
</div>
<!-- JavaScript placed at the end of the document so the pages load faster. -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<!-- Bootstrap core JavaScript
================================================== -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<!-- prettify code blocks. see http://code.google.com/p/google-code-prettify/ -->
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js" type="text/javascript"></script>
<script>
$(function() {
$(".clickable-row").click(function() {
window.document.location = $(this).data("href");
});
$('[data-toggle="tooltip"]').tooltip()
});
</script>
</body>
</html>
...@@ -50,7 +50,7 @@ import nl.uva.sne.drip.api.dao.DeployDao; ...@@ -50,7 +50,7 @@ import nl.uva.sne.drip.api.dao.DeployDao;
import nl.uva.sne.drip.api.dao.KeyPairDao; import nl.uva.sne.drip.api.dao.KeyPairDao;
import nl.uva.sne.drip.api.exception.KeyException; import nl.uva.sne.drip.api.exception.KeyException;
import nl.uva.sne.drip.data.v1.external.KeyPair; import nl.uva.sne.drip.data.v1.external.KeyPair;
import nl.uva.sne.drip.data.v1.external.ansible.Output; import nl.uva.sne.drip.data.v1.external.ansible.AnsibleOutput;
/** /**
* *
...@@ -234,7 +234,7 @@ public class DeployService { ...@@ -234,7 +234,7 @@ public class DeployService {
String value = p.getValue(); String value = p.getValue();
ObjectMapper mapper = new ObjectMapper(); ObjectMapper mapper = new ObjectMapper();
System.err.println(value); System.err.println(value);
List<Output> outputList = mapper.readValue(value, new TypeReference<List<Output>>() { List<AnsibleOutput> outputList = mapper.readValue(value, new TypeReference<List<AnsibleOutput>>() {
}); });
deployResponse.setAnsibleOutputList(outputList); deployResponse.setAnsibleOutputList(outputList);
} }
......
...@@ -15,8 +15,8 @@ ...@@ -15,8 +15,8 @@
*/ */
package nl.uva.sne.drip.data.v1.external; package nl.uva.sne.drip.data.v1.external;
import nl.uva.sne.drip.data.v1.external.ansible.Output;
import java.util.List; import java.util.List;
import nl.uva.sne.drip.data.v1.external.ansible.AnsibleOutput;
import org.springframework.data.mongodb.core.mapping.Document; import org.springframework.data.mongodb.core.mapping.Document;
/** /**
...@@ -31,16 +31,16 @@ public class DeployResponse extends DeployRequest { ...@@ -31,16 +31,16 @@ public class DeployResponse extends DeployRequest {
private KeyPair key; private KeyPair key;
private List<Output> ansibleOutputList; private List<AnsibleOutput> ansibleOutputList;
public void setAnsibleOutputList(List<Output> outputList) { public void setAnsibleOutputList(List<AnsibleOutput> outputList) {
this.ansibleOutputList = outputList; this.ansibleOutputList = outputList;
} }
/** /**
* @return the ansibleOutputList * @return the ansibleOutputList
*/ */
public List<Output> getAnsibleOutputList() { public List<AnsibleOutput> getAnsibleOutputList() {
return ansibleOutputList; return ansibleOutputList;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment