Commit af9c5004 authored by skoulouzis's avatar skoulouzis Committed by GitHub

Merge pull request #58 from skoulouzis/DRIP_0.1

Drip 0.1
parents cc53fa94 cff8a3c0
...@@ -8,3 +8,6 @@ ...@@ -8,3 +8,6 @@
/drip-planner2provisioner/target/ /drip-planner2provisioner/target/
/drip-component_example/target/ /drip-component_example/target/
/deleteme/target/ /deleteme/target/
/drip-api/nbproject/
/drip-tests/nbproject/
/drip-tests/target/
\ No newline at end of file
# Pull base image
FROM ubuntu:latest
##install java
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get install -y wget software-properties-common build-essential libssl-dev libffi-dev python-dev graphviz graphviz-dev python-dev python-pip
RUN pip install --upgrade pip
RUN pip install pydot
RUN pip install numpy
RUN pip install networkx==1.10
RUN pip install flask
RUN pip install tosca-parser
RUN pip install pika
RUN export LC_ALL="en_US.UTF-8"
RUN pip install paramiko
WORKDIR /root/
RUN wget https://github.com/QCAPI-DRIP/DRIP-integradation/releases/download/beta/drip-deployer.tar.gz
RUN tar -xzvf drip-deployer.tar.gz
WORKDIR drip-deployer
ENTRYPOINT python rpc_server.py 172.17.0.2
# docker build -t drip-deployer .
# docker run --name drip-deployer-inst -d drip-deployer
version: '2'
services:
mongo:
image: mongo:3
ports:
- "27017:27017"
command: "mongod --port 27017"
restart: always
rabbit:
image: rabbitmq:latest
ports:
- "5671-5672:5671-5672"
- "15671:15671"
restart: always
drip-planner:
depends_on:
- rabbit
build: planner/Dockerfile
image: drip-planner:latest
restart: always
environment:
RABBITMQ_HOST: rabbit
command: "python rpc_server.py $RABBITMQ_HOST"
\ No newline at end of file
FROM ubuntu:latest
MAINTAINER S. Koulouzis "S.Koulouzis@uva.nl"
##install java
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends openjdk-8-jdk
RUN apt-get upgrade -y
RUN apt-get install -y wget git
##install drip-manager
WORKDIR /root
RUN wget http://www-eu.apache.org/dist/tomcat/tomcat-7/v7.0.75/bin/apache-tomcat-7.0.75.tar.gz
RUN tar -xzf apache-tomcat-7.0.75.tar.gz
WORKDIR apache-tomcat-7.0.75
RUN echo
RUN wget https://github.com/QCAPI-DRIP/DRIP-integradation/releases/download/beta/drip-api-1.0-SNAPSHOT.tar.gz
RUN tar -xzvf drip-api-1.0-SNAPSHOT.tar.gz
ARG RABBITMQ_HOST=172.17.0.2
ARG MONOG_HOST=172.17.0.3
RUN sed -ie "s/^message.broker.host=.*/message.broker.host=$RABBITMQ_HOST/" drip-api-1.0-SNAPSHOT/WEB-INF/classes/drip.properties
RUN sed -ie "s/^db.host=.*/db.host=$MONOG_HOST/" drip-api-1.0-SNAPSHOT/WEB-INF/classes/drip.properties
RUN cat drip-api-1.0-SNAPSHOT/WEB-INF/classes/drip.properties
RUN mv drip-api-1.0-SNAPSHOT webapps/drip-api
WORKDIR /root
RUN echo "./apache-tomcat-7.0.75/bin/startup.sh" >> startAll.sh
RUN echo "tail -f ./apache-tomcat-7.0.75/logs/catalina.out" >> startAll.sh
RUN echo "while true" >> startAll.sh
RUN echo "do" >> startAll.sh
RUN echo "sleep 10s" >> startAll.sh
RUN echo "done" >> startAll.sh
EXPOSE 8080
RUN chmod +x startAll.sh
ENTRYPOINT ./startAll.sh
# To build: docker build -t drip-manager .
# To run: docker run --name drip-manager-inst -p 127.0.0.1:8080:8080 -d drip-manager
# Pull base image
FROM ubuntu:latest
MAINTAINER S. Koulouzis "S.Koulouzis@uva.nl"
##install java
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get install -y wget software-properties-common build-essential libssl-dev libffi-dev python-dev graphviz graphviz-dev python-dev python-pip
RUN pip install --upgrade pip
RUN pip install pydot
RUN pip install numpy
RUN pip install networkx==1.10
RUN pip install flask
RUN pip install tosca-parser
RUN pip install pika
RUN export LC_ALL="en_US.UTF-8"
RUN pip install paramiko
WORKDIR /root/
COPY ../../drip-planner .
RUN ls
# RUN wget https://github.com/QCAPI-DRIP/DRIP-integradation/releases/download/beta/drip-planner.tar.gz
# RUN tar -xzvf drip-planner.tar.gz
# WORKDIR drip-planner
# ARG RABBITMQ_HOST=172.17.0.2
# RUN echo $RABBITMQ_HOST > hostFile
ENTRYPOINT python rpc_server.py $RABBITMQ_HOST
# docker build -t drip-planner .
# docker run --name drip-planner-inst -d drip-planner
# Pull base image
FROM ubuntu:latest
MAINTAINER Huan "h.zhou@uva.nl"
ARG release_version=0.0.3
WORKDIR /root/
#install openssh and wget
RUN apt-get update && apt-get upgrade -y
RUN apt-get install openssh-server wget software-properties-common inetutils-ping -y
##install jdk 1.8
ENV DEBIAN_FRONTEND=noninteractive
RUN echo debconf shared/accepted-oracle-license-v1-1 select true | debconf-set-selections
RUN echo debconf shared/accepted-oracle-license-v1-1 seen true | debconf-set-selections
RUN add-apt-repository -y ppa:webupd8team/java
RUN apt-get update
RUN apt-get install -y oracle-java8-set-default
RUN wget https://github.com/QCAPI-DRIP/DRIP-integradation/releases/download/beta/drip-provisioner-1.0-SNAPSHOT-jar-with-dependencies.jar
ARG RABBITMQ_HOST=172.17.0.1
WORKDIR /root
RUN echo rabbitmq.host=$RABBITMQ_HOST > provisioner.properties
RUN cat provisioner.properties
RUN wget https://github.com/QCAPI-DRIP/DRIP-integradation/releases/download/beta/database.tar.gz
RUN tar -xzvf database.tar.gz
ENTRYPOINT java -jar drip-provisioner-1.0-SNAPSHOT-jar-with-dependencies.jar /root/provisioner.properties
#Build: docker build -t drip-pro .
# Run: docker run --name drip-pro-inst -d drip-pro
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>nl.uva.sne.drip</groupId>
<artifactId>drip</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
<artifactId>deleteme</artifactId>
<packaging>jar</packaging>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
</project>
\ No newline at end of file
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package nl.uva.sne.drip.deleteme;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.OpenOption;
import java.nio.file.Paths;
import java.nio.file.StandardOpenOption;
import java.util.Base64;
/**
*
* @author alogo
*/
public class Main {
public static void main(String[] args) throws IOException {
byte[] bytes = Files.readAllBytes(Paths.get("/home/alogo/workspace/DRIP/docs/images/DRIP_arch.png"));
byte[] encoded = Base64.getEncoder().encode(bytes);
String cont = new String(encoded, "US-ASCII");
System.out.println(cont);
byte[] decoded = Base64.getDecoder().decode(cont);
OpenOption[] options = new OpenOption[1];
options[0] = StandardOpenOption.CREATE_NEW;
Files.write(Paths.get("/home/alogo/Downloads/DRIP_arch.png"), decoded, options);
}
}
This diff is collapsed.
...@@ -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 March 22, 2017</p> <p class="lead">Created April 21, 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">7.99K</span></td> <td><span class="downloadfile-size">10.50K</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 March 22, 2017</p> <p class="lead">Created April 21, 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">10.42K</span></td> <td><span class="downloadfile-size">12.96K</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">8.26K</span></td> <td><span class="downloadfile-size">10.76K</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 March 22, 2017</p> <p class="lead">Created April 21, 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">17.81K</span></td> <td><span class="downloadfile-size">21.37K</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">16.15K</span></td> <td><span class="downloadfile-size">19.88K</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 March 22, 2017</p> <p class="lead">Created April 21, 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.34K</span></td> <td><span class="downloadfile-size">3.71K</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 March 22, 2017</p> <p class="lead">Created April 21, 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.51K</span></td> <td><span class="downloadfile-size">3.93K</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 March 22, 2017</p> <p class="lead">Created April 21, 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">6.95K</span></td> <td><span class="downloadfile-size">7.63K</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 March 22, 2017</p> <p class="lead">Created April 21, 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">44.56K</span></td> <td><span class="downloadfile-size">47.43K</span></td>
<td><span class="downloadfile-description">&nbsp;</span></td> <td><span class="downloadfile-description">&nbsp;</span></td>
</tr> </tr>
</tbody> </tbody>
......
This diff is collapsed.
This diff is collapsed.
...@@ -64,8 +64,8 @@ ...@@ -64,8 +64,8 @@
<h1 class="page-header">CloudCredentials <small>Data Type</small></h1> <h1 class="page-header">CloudCredentials <small>Data Type</small></h1>
<p>This class represents the cloud credentials for a cloud. They are used by the <p>This class represents the cloud credentials. They are used by the provisoner
provisoner to request for resources.</p> to request for resources.</p>
<dl class="dl-horizontal"> <dl class="dl-horizontal">
</dl> </dl>
...@@ -81,57 +81,39 @@ provisoner to request for resources.</p> ...@@ -81,57 +81,39 @@ provisoner to request for resources.</p>
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td> <span class="property-name">id</span> <td> <span class="property-name">secretKey</span>
</td> </td>
<td> <span class="datatype-reference">string <td> <span class="datatype-reference">string
</span> </span>
</td> </td>
<td> <span class="property-description"></span> <td> <span class="property-description">It is the secret key / password for accessing a cloud provider.</span>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <span class="property-name">key</span> <td> <span class="property-name">cloudProviderName</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-description">The key for the cloud provider.</span>
</td>
</tr>
<tr>
<td> <span class="property-name">keyIdAlias</span>
</td> </td>
<td> <span class="datatype-reference">string <td> <span class="datatype-reference">string
</span> </span>
</td> </td>
<td> <span class="property-description">The key id for the cloud provider or the key alias.</span> <td> <span class="property-description">The name of the cloud provider</span>
</td>
</tr>
<tr>
<td> <span class="property-name">loginKeys</span>
</td>
<td> <span class="datatype-reference">array of <a href="json_LoginKey.html">LoginKey</a>
</span>
</td>
<td> <span class="property-description">The login keys</span>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <span class="property-name">cloudProviderName</span> <td> <span class="property-name">accessKeyId</span>
</td> </td>
<td> <span class="datatype-reference">string <td> <span class="datatype-reference">string
</span> </span>
</td> </td>
<td> <span class="property-description">The name of the cloud provider</span> <td> <span class="property-description">The access key ID for a cloud provider.</span>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <span class="property-name">keypass</span> <td> <span class="property-name">keyPairIDs</span>
</td> </td>
<td> <span class="datatype-reference">string <td> <span class="datatype-reference">array of string
</span> </span>
</td> </td>
<td> <span class="property-description">The password for key stores</span> <td> <span class="property-description">The IDs of of the key pairs for accessing the VMs of that cloud provider.</span>
</td> </td>
</tr> </tr>
</tbody> </tbody>
...@@ -143,7 +125,15 @@ provisoner to request for resources.</p> ...@@ -143,7 +125,15 @@ provisoner to request for resources.</p>
<td><span class="property-name">owner</span></td> <td><span class="property-name">owner</span></td>
<td><span class="datatype-reference">string <td><span class="datatype-reference">string
</span></td> </span></td>
<td><span class="property-description"></span></td> <td><span class="property-description">The owner (username) for the particular object. This value is set when
the DAO saves the object based on the principal how made the call</span></td>
</tr>
<tr>
<td><span class="property-name">id</span></td>
<td><span class="datatype-reference">string
</span></td>
<td><span class="property-description">The UID of this object. This value is auto generated by the DAO when the
object is saved.</span></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
...@@ -151,33 +141,12 @@ provisoner to request for resources.</p> ...@@ -151,33 +141,12 @@ provisoner to request for resources.</p>
<p class="lead">Example</p> <p class="lead">Example</p>
<pre class="prettyprint language-js example">{ <pre class="prettyprint language-js example">{
&quot;id&quot; : &quot;...&quot;, &quot;secretKey&quot; : &quot;7A7vo19ffdfa4SAsA6gsF5Fgbfb5rtwY6hBxtYt12&quot;,
&quot;key&quot; : &quot;6J7uo99ifrff45126Gsy5vgb3bmrtwY6hBxtYt9y&quot;,
&quot;keyIdAlias&quot; : &quot;AKIAITY3K5ZUQ6M7YBSQ&quot;,
&quot;loginKeys&quot; : [ {
&quot;name&quot; : &quot;id_dsa.pub&quot;,
&quot;id&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;PRIVATE&quot;,
&quot;attributes&quot; : {
&quot;property1&quot; : &quot;domain_name:Virginia&quot;,
&quot;property2&quot; : &quot;domain_name:Virginia&quot;
},
&quot;key&quot; : &quot;-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEAm6AALYxkJFNzD3bfVJ4+hMY5j0/kqM9CURLKXMlYuAysnvoG8wZKx9Bedefm\\neNSse4zTg798ZA2kDMZFIrwp1AseTwtj8DDu5fhG5DjyI3g6iJltS5zFQdMXneDlHXBX8cncSzNY\\nRx0NdjEMAe7YttvI8FNlxL0VnMFli/HB/ftzYMe5+AmkSROncVGHiwoiUpj+vtobC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8YcCRKxyFcMM9LKPl6hr4XFtWKzTAQPEABUkkuN\\n9gVClsg9f+VRKRECOIf0Ae1UWeCFEwxUXp4wjfHrzkTDVztKvmbWdvSXorDwKrZ7SC7tZpVFSfly\\nxuuLjadpUZT9YFmbAfY1X5oSccOMYqORjRbxEB3svb4BAoGAGTgFuq9Zojh/KIqY8b4HpEfmh6CQ\\nhLVfD98Nqd6GDbxgvIM0v4mFXE92x2jn35Ia0JdFyh3B8Vkl7sqQZfxDFXI9O9pte2mxY9ICaY\\n55+X/SN1pd53BH+gaPZJy/R+Vpvs5MN48hoUKy5UKpoFeUWrS5QArjtvNCm4SGlXw=\\n-----END RSA PRIVATE KEY-----\\n&quot;,
&quot;owner&quot; : &quot;...&quot;
}, {
&quot;name&quot; : &quot;...&quot;,
&quot;id&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;PRIVATE&quot;,
&quot;attributes&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;key&quot; : &quot;...&quot;,
&quot;owner&quot; : &quot;...&quot;
} ],
&quot;cloudProviderName&quot; : &quot;ec2&quot;, &quot;cloudProviderName&quot; : &quot;ec2&quot;,
&quot;keypass&quot; : &quot;123passwd&quot;, &quot;accessKeyId&quot; : &quot;AKIKIQY9K1ZUQ6M7YBSQ&quot;,
&quot;owner&quot; : &quot;...&quot; &quot;keyPairIDs&quot; : [ &quot;AKIKIQY9K1ZUQ6M7YBSQ, LKJ2KIQY9K1F236M7YASD&quot;, &quot;...&quot; ],
&quot;owner&quot; : &quot;user1&quot;,
&quot;id&quot; : &quot;58e3946e0fb4f562d84ba1ad&quot;
}</pre> }</pre>
<footer class="footer"> <footer class="footer">
......
...@@ -64,7 +64,9 @@ ...@@ -64,7 +64,9 @@
<h1 class="page-header">DeployParameter <small>Data Type</small></h1> <h1 class="page-header">DeployParameter <small>Data Type</small></h1>
<p></p> <p>This class is used by the deployer to deploy software
(swarm,kubernetes,ansible). It is generated by the provisioner to contain VM
information.</p>
<dl class="dl-horizontal"> <dl class="dl-horizontal">
</dl> </dl>
...@@ -85,7 +87,8 @@ ...@@ -85,7 +87,8 @@
<td> <span class="datatype-reference">string <td> <span class="datatype-reference">string
</span> </span>
</td> </td>
<td> <span class="property-description"></span> <td> <span class="property-description">The file name of the certificate used to log in as root to the
provisioned VM.</span>
</td> </td>
</tr> </tr>
<tr> <tr>
...@@ -94,7 +97,7 @@ ...@@ -94,7 +97,7 @@
<td> <span class="datatype-reference">string <td> <span class="datatype-reference">string
</span> </span>
</td> </td>
<td> <span class="property-description"></span> <td> <span class="property-description">The public IP of the provisioned VM</span>
</td> </td>
</tr> </tr>
<tr> <tr>
...@@ -103,7 +106,7 @@ ...@@ -103,7 +106,7 @@
<td> <span class="datatype-reference">string <td> <span class="datatype-reference">string
</span> </span>
</td> </td>
<td> <span class="property-description"></span> <td> <span class="property-description">The user name of the account created on the provisioned VM</span>
</td> </td>
</tr> </tr>
<tr> <tr>
...@@ -112,7 +115,7 @@ ...@@ -112,7 +115,7 @@
<td> <span class="datatype-reference">string <td> <span class="datatype-reference">string
</span> </span>
</td> </td>
<td> <span class="property-description"></span> <td> <span class="property-description">The role of the provisioned VM</span>
</td> </td>
</tr> </tr>
</tbody> </tbody>
...@@ -121,10 +124,10 @@ ...@@ -121,10 +124,10 @@
<p class="lead">Example</p> <p class="lead">Example</p>
<pre class="prettyprint language-js example">{ <pre class="prettyprint language-js example">{
&quot;cloudCertificateName&quot; : &quot;...&quot;, &quot;cloudCertificateName&quot; : &quot;Virginia&quot;,
&quot;IP&quot; : &quot;...&quot;, &quot;IP&quot; : &quot;52.73.245.157&quot;,
&quot;user&quot; : &quot;...&quot;, &quot;user&quot; : &quot;vm_user&quot;,
&quot;role&quot; : &quot;...&quot; &quot;role&quot; : &quot;slave&quot;
}</pre> }</pre>
<footer class="footer"> <footer class="footer">
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1"> <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 --> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>drip-api: ClusterCredentials</title> <title>drip-api: DeployRequest</title>
<!-- Mobile viewport optimized: j.mp/bplateviewport --> <!-- Mobile viewport optimized: j.mp/bplateviewport -->
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
<span class="icon-bar"></span> <span class="icon-bar"></span>
<span class="icon-bar"></span> <span class="icon-bar"></span>
</button> </button>
<a class="navbar-brand" href="index.html">drip-api: ClusterCredentials</a> <a class="navbar-brand" href="index.html">drip-api: DeployRequest</a>
</div> </div>
<div id="navbar" class="navbar-collapse collapse"> <div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right"> <ul class="nav navbar-nav navbar-right">
...@@ -59,15 +59,17 @@ ...@@ -59,15 +59,17 @@
<ol class="breadcrumb" id="top"> <ol class="breadcrumb" id="top">
<li class="active dropdown"><a href="index.html">Home</a></li> <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="active dropdown"><a href="syntax_json.html">JSON</a></li>
<li class="dropdown"><a href="json_ClusterCredentials.html">ClusterCredentials</a></li> <li class="dropdown"><a href="json_DeployRequest.html">DeployRequest</a></li>
</ol> </ol>
<h1 class="page-header">ClusterCredentials <small>Data Type</small></h1> <h1 class="page-header">DeployRequest <small>Data Type</small></h1>
<p>This class represents the cluster credentials for a cloud. They can used to <p>This class holds the necessary POJO IDs to request the deployment of a
login to the cluster created by the deployer</p> software</p>
<dl class="dl-horizontal"> <dl class="dl-horizontal">
<dt>Subtypes</dt>
<dd><a href="json_DeployResponse.html">DeployResponse</a></dd>
</dl> </dl>
<table class="table datatype-properties"> <table class="table datatype-properties">
...@@ -81,21 +83,32 @@ login to the cluster created by the deployer</p> ...@@ -81,21 +83,32 @@ login to the cluster created by the deployer</p>
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td> <span class="property-name">id</span> <td> <span class="property-name">provisionID</span>
</td> </td>
<td> <span class="datatype-reference">string <td> <span class="datatype-reference">string
</span> </span>
</td> </td>
<td> <span class="property-description"></span> <td> <span class="property-description">The ID of the provision resources description <code>ProvisionResponse</code></span>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <span class="property-name">key</span> <td> <span class="property-name">managerType</span>
</td> </td>
<td> <span class="datatype-reference">string <td> <span class="datatype-reference">string
</span> </span>
</td> </td>
<td> <span class="property-description">The key of the login key.</span> <td> <span class="property-description">The type of deployment manager to be used (swarm, ansile, kubernetes)</span>
</td>
</tr>
<tr>
<td> <span class="property-name">configurationID</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-description">The ID of the configuration POJO that contains information used the
chosen deployment manager (for now only ansible)
<code>PlaybookRepresentation</code></span>
</td> </td>
</tr> </tr>
</tbody> </tbody>
...@@ -107,7 +120,15 @@ login to the cluster created by the deployer</p> ...@@ -107,7 +120,15 @@ login to the cluster created by the deployer</p>
<td><span class="property-name">owner</span></td> <td><span class="property-name">owner</span></td>
<td><span class="datatype-reference">string <td><span class="datatype-reference">string
</span></td> </span></td>
<td><span class="property-description"></span></td> <td><span class="property-description">The owner (username) for the particular object. This value is set when
the DAO saves the object based on the principal how made the call</span></td>
</tr>
<tr>
<td><span class="property-name">id</span></td>
<td><span class="datatype-reference">string
</span></td>
<td><span class="property-description">The UID of this object. This value is auto generated by the DAO when the
object is saved.</span></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
...@@ -115,9 +136,11 @@ login to the cluster created by the deployer</p> ...@@ -115,9 +136,11 @@ login to the cluster created by the deployer</p>
<p class="lead">Example</p> <p class="lead">Example</p>
<pre class="prettyprint language-js example">{ <pre class="prettyprint language-js example">{
&quot;id&quot; : &quot;...&quot;, &quot;provisionID&quot; : &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EC3G\\n9Y2FglGIVvRdZaagvRxLzRCcvcN4v6OYs9ST4o1xlv7Qxphld+0XDKv7VSCv/rASuK8BqlFL3E8C\\ngYArMXJRnRjG7qh6g9TRIjZphdI3XxX9s5Rt2D8iZvuhAhqmBZjzY4PR7kxYmO2+EpCjzNnEl0XW\\n/GHaWbiIjhnAykx4N9KP7gGom3O5lzwHUme1XnFKcO2wDjQwJbufRmba8iQF1srN577mF+Z7ha4V\\nJ1duCTzvWF1KFX6sk/uhKQKBgAcDFai7rgNjJ8YcCRKxyFcMM9LKPl6hr4XFtWKzTAQPEABUkkuN\\n9gVClsg9f+VRKRECOIf0Ae1UWeCFEwxUXp4wjfHrzkTDVztKvmbWdvSXorDwKrZ7SC7tZpVFSfly\\nxuuLjadpUZT9YFmbAfY1X5oSccOMYqORjRbxEB3svb4BAoGAGTgFuq9Zojh/KIqY8b4HpEfmh6CQ\\nhLVfD98Nqd6GDbxgvIM0v4mFXE92x2jn35Ia0JdFyh3B8Vkl7sqQZfxDFXI9O9pte2mPJxY9ICaY\\n55+X/SN1pd53BH+gaPZJy/R+Vpvs5MN48howjUKy5UKpoFeUWrS5QArjtvNCm4SGlXw=\\n-----ENDRSAPRIVATEKEY-----\\n&quot;, &quot;managerType&quot; : &quot;ansible&quot;,
&quot;owner&quot; : &quot;...&quot; &quot;configurationID&quot; : &quot;58e3946e0fb4f562d84ba1ad&quot;,
&quot;owner&quot; : &quot;user1&quot;,
&quot;id&quot; : &quot;58e3946e0fb4f562d84ba1ad&quot;
}</pre> }</pre>
<footer class="footer"> <footer class="footer">
......
This diff is collapsed.
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1"> <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 --> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>drip-api: LoginKey</title> <title>drip-api: Key</title>
<!-- Mobile viewport optimized: j.mp/bplateviewport --> <!-- Mobile viewport optimized: j.mp/bplateviewport -->
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
<span class="icon-bar"></span> <span class="icon-bar"></span>
<span class="icon-bar"></span> <span class="icon-bar"></span>
</button> </button>
<a class="navbar-brand" href="index.html">drip-api: LoginKey</a> <a class="navbar-brand" href="index.html">drip-api: Key</a>
</div> </div>
<div id="navbar" class="navbar-collapse collapse"> <div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right"> <ul class="nav navbar-nav navbar-right">
...@@ -59,14 +59,14 @@ ...@@ -59,14 +59,14 @@
<ol class="breadcrumb" id="top"> <ol class="breadcrumb" id="top">
<li class="active dropdown"><a href="index.html">Home</a></li> <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="active dropdown"><a href="syntax_json.html">JSON</a></li>
<li class="dropdown"><a href="json_LoginKey.html">LoginKey</a></li> <li class="dropdown"><a href="json_Key.html">Key</a></li>
</ol> </ol>
<h1 class="page-header">LoginKey <small>Data Type</small></h1> <h1 class="page-header">Key <small>Data Type</small></h1>
<p>This class represents a login key. This key can be used to either login to a <p>This class represents a key. This key can be used to either login to a VM
VM created by the provisiner or by the VM to allow the user to login to the created by the provisiner or by the VM to allow the user to login to the VMs
VMs from the machine the keys correspond to.</p> from the machine the keys correspond to.</p>
<dl class="dl-horizontal"> <dl class="dl-horizontal">
</dl> </dl>
...@@ -88,21 +88,12 @@ VMs from the machine the keys correspond to.</p> ...@@ -88,21 +88,12 @@ VMs from the machine the keys correspond to.</p>
</span> </span>
</td> </td>
<td> <span class="property-description">The name of the key.</span> <td> <span class="property-description">The name of the key.</span>
</td>
</tr>
<tr>
<td> <span class="property-name">id</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-description"></span>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <span class="property-name">type</span> <td> <span class="property-name">type</span>
</td> </td>
<td> <span class="datatype-reference"><a href="json_Type.html">Type</a> <td> <span class="datatype-reference"><a href="json_KeyType.html">KeyType</a>
</span> </span>
</td> </td>
<td> <span class="property-description">The type of key</span> <td> <span class="property-description">The type of key</span>
...@@ -128,31 +119,18 @@ to specify the domain name for ec2</span> ...@@ -128,31 +119,18 @@ to specify the domain name for ec2</span>
</td> </td>
</tr> </tr>
</tbody> </tbody>
<tr>
<td colspan="3"><h5 class="text-muted">Properties inherited from <a href="json_OwnedObject.html">OwnedObject</a></h5></td>
</tr>
<tbody>
<tr>
<td><span class="property-name">owner</span></td>
<td><span class="datatype-reference">string
</span></td>
<td><span class="property-description"></span></td>
</tr>
</tbody>
</table> </table>
<p class="lead">Example</p> <p class="lead">Example</p>
<pre class="prettyprint language-js example">{ <pre class="prettyprint language-js example">{
&quot;name&quot; : &quot;id_dsa.pub&quot;, &quot;name&quot; : &quot;id_dsa.pub&quot;,
&quot;id&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;PRIVATE&quot;, &quot;type&quot; : &quot;PRIVATE&quot;,
&quot;attributes&quot; : { &quot;attributes&quot; : {
&quot;property1&quot; : &quot;domain_name:Virginia&quot;, &quot;property1&quot; : &quot;domain_name:Virginia&quot;,
&quot;property2&quot; : &quot;domain_name:Virginia&quot; &quot;property2&quot; : &quot;domain_name:Virginia&quot;
}, },
&quot;key&quot; : &quot;-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEAm6AALYxkJFNzD3bfVJ4+hMY5j0/kqM9CURLKXMlYuAysnvoG8wZKx9Bedefm\\neNSse4zTg798ZA2kDMZFIrwp1AseTwtj8DDu5fhG5DjyI3g6iJltS5zFQdMXneDlHXBX8cncSzNY\\nRx0NdjEMAe7YttvI8FNlxL0VnMFli/HB/ftzYMe5+AmkSROncVGHiwoiUpj+vtobCFOYtXsCf6ri\\nd4lgWA5wv6DZT/JKCYymiBqg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C\\nycrooyhiyzw8Wb5gGaYnmvr9l70CgYEAx74O8JleXaHpxEAmh4h7VbLmJ3mOylfBmOdzcHeedJQw\\nack2SAv65WBI9S9MEQ7J/vFuyw5HNk3C/mcWgzDQXSNIhHLvl/Z9sux/Qpm3SQWLzBxKV3dJ4r\\nwcAxzVA93+/L1Nee+VOKnlyRumvVa6+XLsLagpap2AVcTqlerMcCgYEAx3T2pXtqkCE9eU/ov22r\\npdaKjgHoGOUg1CMEfWi/Ch6sYIIRyrHz6dhy+yR1pXNgPbLWdrn8l88F3+IsmbaMupMgRmqwEC3G\\n9Y2FglGIVvRdZaagvRxLzRCcvcN4v6OYs9ST4o1xlv7Qxphld+0XDKv7VSCv/rASuK8BqlFL3E8C\\ngYArMXJRnRjG7qh6g9TRIjZphdI3XxX9s5Rt2D8iZvuhAhqmBZjzY4PR7kxYmO2+EpCjzNnEl0XW\\n/GHaWbiIjhnAykx4N9KP7gGom3O5lzwHUme1XnFKcO2wDjQwJbufRmba8iQF1srN577mF+Z7ha4V\\nJ1duCTzvWF1KFX6sk/uhKQKBgAcDFai7rgNjJ8YcCRKxyFcMM9LKPl6hr4XFtWKzTAQPEABUkkuN\\n9gVClsg9f+VRKRECOIf0Ae1UWeCFEwxUXp4wjfHrzkTDVztKvmbWdvSXorDwKrZ7SC7tZpVFSfly\\nxuuLjadpUZT9YFmbAfY1X5oSccOMYqORjRbxEB3svb4BAoGAGTgFuq9Zojh/KIqY8b4HpEfmh6CQ\\nhLVfD98Nqd6GDbxgvIM0v4mFXE92x2jn35Ia0JdFyh3B8Vkl7sqQZfxDFXI9O9pte2mxY9ICaY\\n55+X/SN1pd53BH+gaPZJy/R+Vpvs5MN48hoUKy5UKpoFeUWrS5QArjtvNCm4SGlXw=\\n-----END RSA PRIVATE KEY-----\\n&quot;
&quot;owner&quot; : &quot;...&quot;
}</pre> }</pre>
<footer class="footer"> <footer class="footer">
......
<!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: KeyPair</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: KeyPair</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_KeyPair.html">KeyPair</a></li>
</ol>
<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
logging in VMs.</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">privateKey</span>
</td>
<td> <span class="datatype-reference"><a href="json_Key.html">Key</a>
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">publicKey</span>
</td>
<td> <span class="datatype-reference"><a href="json_Key.html">Key</a>
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
</tbody>
<tr>
<td colspan="3"><h5 class="text-muted">Properties inherited from <a href="json_OwnedObject.html">OwnedObject</a></h5></td>
</tr>
<tbody>
<tr>
<td><span class="property-name">owner</span></td>
<td><span class="datatype-reference">string
</span></td>
<td><span class="property-description">The owner (username) for the particular object. This value is set when
the DAO saves the object based on the principal how made the call</span></td>
</tr>
<tr>
<td><span class="property-name">id</span></td>
<td><span class="datatype-reference">string
</span></td>
<td><span class="property-description">The UID of this object. This value is auto generated by the DAO when the
object is saved.</span></td>
</tr>
</tbody>
</table>
<p class="lead">Example</p>
<pre class="prettyprint language-js example">{
&quot;privateKey&quot; : {
&quot;name&quot; : &quot;id_dsa.pub&quot;,
&quot;type&quot; : &quot;PRIVATE&quot;,
&quot;attributes&quot; : {
&quot;property1&quot; : &quot;domain_name:Virginia&quot;,
&quot;property2&quot; : &quot;domain_name:Virginia&quot;
},
&quot;key&quot; : &quot;-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEAm6AALYxkJFNzD3bfVJ4+hMY5j0/kqM9CURLKXMlYuAysnvoG8wZKx9Bedefm\\neNSse4zTg798ZA2kDMZFIrwp1AseTwtj8DDu5fhG5DjyI3g6iJltS5zFQdMXneDlHXBX8cncSzNY\\nRx0NdjEMAe7YttvI8FNlxL0VnMFli/HB/ftzYMe5+AmkSROncVGHiwoiUpj+vtobCFOYtXsCf6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MM9LKPl6hr4XFtWKzTAQPEABUkkuN\\n9gVClsg9f+VRKRECOIf0Ae1UWeCFEwxUXp4wjfHrzkTDVztKvmbWdvSXorDwKrZ7SC7tZpVFSfly\\nxuuLjadpUZT9YFmbAfY1X5oSccOMYqORjRbxEB3svb4BAoGAGTgFuq9Zojh/KIqY8b4HpEfmh6CQ\\nhLVfD98Nqd6GDbxgvIM0v4mFXE92x2jn35Ia0JdFyh3B8Vkl7sqQZfxDFXI9O9pte2mxY9ICaY\\n55+X/SN1pd53BH+gaPZJy/R+Vpvs5MN48hoUKy5UKpoFeUWrS5QArjtvNCm4SGlXw=\\n-----END RSA PRIVATE KEY-----\\n&quot;
},
&quot;publicKey&quot; : {
&quot;name&quot; : &quot;id_dsa.pub&quot;,
&quot;type&quot; : &quot;PRIVATE&quot;,
&quot;attributes&quot; : {
&quot;property1&quot; : &quot;domain_name:Virginia&quot;,
&quot;property2&quot; : &quot;domain_name:Virginia&quot;
},
&quot;key&quot; : &quot;-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEAm6AALYxkJFNzD3bfVJ4+hMY5j0/kqM9CURLKXMlYuAysnvoG8wZKx9Bedefm\\neNSse4zTg798ZA2kDMZFIrwp1AseTwtj8DDu5fhG5DjyI3g6iJltS5zFQdMXneDlHXBX8cncSzNY\\nRx0NdjEMAe7YttvI8FNlxL0VnMFli/HB/ftzYMe5+AmkSROncVGHiwoiUpj+vtobCFOYtXsCf6ri\\nd4lgWA5wv6DZT/JKCYymiBqgSXu3ueFcEzw5SAukARWVjn1xccjZkokFfBbO/FpYY00TrUTBw9S6\\nD3iM+gj8RT6EKILOmhrt71D21S95WAWIT7h2YBsy1KAvMixhNf9VaQIDAQABAoIBAHhVYK3Xl3tr\\nN1Xm0ctJTQg3ijxhR2qsUBgGUokqezpdOoD2zbbOz7XvTYsX1GLr967U9pwxzUpELexexwiTvDgk\\nnLv8D7ui6qbRsmc4DSsWBRSophVIVFKQmftO8Xow6x+fuYJAYmsic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aPZJy/R+Vpvs5MN48hoUKy5UKpoFeUWrS5QArjtvNCm4SGlXw=\\n-----END RSA PRIVATE KEY-----\\n&quot;
},
&quot;owner&quot; : &quot;user1&quot;,
&quot;id&quot; : &quot;58e3946e0fb4f562d84ba1ad&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: KeyType</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: KeyType</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_KeyType.html">KeyType</a></li>
</ol>
<h1 class="page-header">KeyType <small>Data Type</small></h1>
<p>This enu specifies if a key is private or public</p>
<dl class="dl-horizontal">
</dl>
<table class="table datatype-values">
<caption>Values</caption>
<thead>
<tr>
<th>value</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="value-value">PRIVATE</span></td>
<td><span class="value-description">For private keys</span></td>
</tr>
<tr>
<td><span class="value-value">PUBLIC</span></td>
<td><span class="value-description">For public keys</span></td>
</tr>
</tbody>
</table>
<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,11 +64,12 @@ ...@@ -64,11 +64,12 @@
<h1 class="page-header">KeyValueHolder <small>Data Type</small></h1> <h1 class="page-header">KeyValueHolder <small>Data Type</small></h1>
<p></p> <p>This is a generic class that hold key-value pairs. It's main usage is to hold
abstract types such as TOSCA.</p>
<dl class="dl-horizontal"> <dl class="dl-horizontal">
<dt>Subtypes</dt> <dt>Subtypes</dt>
<dd><a href="json_Plan.html">Plan</a>, <a href="json_ProvisionInfo.html">ProvisionInfo</a>, <a href="json_ToscaRepresentation.html">ToscaRepresentation</a></dd> <dd><a href="json_ProvisionRequest.html">ProvisionRequest</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_ToscaRepresentation.html">ToscaRepresentation</a></dd>
</dl> </dl>
<table class="table datatype-properties"> <table class="table datatype-properties">
...@@ -87,16 +88,7 @@ ...@@ -87,16 +88,7 @@
<td> <span class="datatype-reference">map of object <td> <span class="datatype-reference">map of object
</span> </span>
</td> </td>
<td> <span class="property-description"></span> <td> <span class="property-description">The key-value map</span>
</td>
</tr>
<tr>
<td> <span class="property-name">id</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-description"></span>
</td> </td>
</tr> </tr>
</tbody> </tbody>
...@@ -108,7 +100,15 @@ ...@@ -108,7 +100,15 @@
<td><span class="property-name">owner</span></td> <td><span class="property-name">owner</span></td>
<td><span class="datatype-reference">string <td><span class="datatype-reference">string
</span></td> </span></td>
<td><span class="property-description"></span></td> <td><span class="property-description">The owner (username) for the particular object. This value is set when
the DAO saves the object based on the principal how made the call</span></td>
</tr>
<tr>
<td><span class="property-name">id</span></td>
<td><span class="datatype-reference">string
</span></td>
<td><span class="property-description">The UID of this object. This value is auto generated by the DAO when the
object is saved.</span></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
...@@ -120,8 +120,8 @@ ...@@ -120,8 +120,8 @@
&quot;property1&quot; : { }, &quot;property1&quot; : { },
&quot;property2&quot; : { } &quot;property2&quot; : { }
}, },
&quot;id&quot; : &quot;...&quot;, &quot;owner&quot; : &quot;user1&quot;,
&quot;owner&quot; : &quot;...&quot; &quot;id&quot; : &quot;58e3946e0fb4f562d84ba1ad&quot;
}</pre> }</pre>
<footer class="footer"> <footer class="footer">
......
...@@ -64,11 +64,12 @@ ...@@ -64,11 +64,12 @@
<h1 class="page-header">OwnedObject <small>Data Type</small></h1> <h1 class="page-header">OwnedObject <small>Data Type</small></h1>
<p></p> <p>This is the base class for users to own resources. Many classes extend this
class</p>
<dl class="dl-horizontal"> <dl class="dl-horizontal">
<dt>Subtypes</dt> <dt>Subtypes</dt>
<dd><a href="json_LoginKey.html">LoginKey</a>, <a href="json_Script.html">Script</a>, <a href="json_Plan.html">Plan</a>, <a href="json_ClusterCredentials.html">ClusterCredentials</a>, <a href="json_ProvisionInfo.html">ProvisionInfo</a>, <a href="json_ToscaRepresentation.html">ToscaRepresentation</a>, <a href="json_KeyValueHolder.html">KeyValueHolder</a>, <a href="json_CloudCredentials.html">CloudCredentials</a></dd> <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>
</dl> </dl>
<table class="table datatype-properties"> <table class="table datatype-properties">
...@@ -87,7 +88,18 @@ ...@@ -87,7 +88,18 @@
<td> <span class="datatype-reference">string <td> <span class="datatype-reference">string
</span> </span>
</td> </td>
<td> <span class="property-description"></span> <td> <span class="property-description">The owner (username) for the particular object. This value is set when
the DAO saves the object based on the principal how made the call</span>
</td>
</tr>
<tr>
<td> <span class="property-name">id</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-description">The UID of this object. This value is auto generated by the DAO when the
object is saved.</span>
</td> </td>
</tr> </tr>
</tbody> </tbody>
...@@ -96,7 +108,8 @@ ...@@ -96,7 +108,8 @@
<p class="lead">Example</p> <p class="lead">Example</p>
<pre class="prettyprint language-js example">{ <pre class="prettyprint language-js example">{
&quot;owner&quot; : &quot;...&quot; &quot;owner&quot; : &quot;user1&quot;,
&quot;id&quot; : &quot;58e3946e0fb4f562d84ba1ad&quot;
}</pre> }</pre>
<footer class="footer"> <footer class="footer">
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1"> <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 --> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>drip-api: Plan</title> <title>drip-api: PlanResponse</title>
<!-- Mobile viewport optimized: j.mp/bplateviewport --> <!-- Mobile viewport optimized: j.mp/bplateviewport -->
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
<span class="icon-bar"></span> <span class="icon-bar"></span>
<span class="icon-bar"></span> <span class="icon-bar"></span>
</button> </button>
<a class="navbar-brand" href="index.html">drip-api: Plan</a> <a class="navbar-brand" href="index.html">drip-api: PlanResponse</a>
</div> </div>
<div id="navbar" class="navbar-collapse collapse"> <div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right"> <ul class="nav navbar-nav navbar-right">
...@@ -59,10 +59,10 @@ ...@@ -59,10 +59,10 @@
<ol class="breadcrumb" id="top"> <ol class="breadcrumb" id="top">
<li class="active dropdown"><a href="index.html">Home</a></li> <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="active dropdown"><a href="syntax_json.html">JSON</a></li>
<li class="dropdown"><a href="json_Plan.html">Plan</a></li> <li class="dropdown"><a href="json_PlanResponse.html">PlanResponse</a></li>
</ol> </ol>
<h1 class="page-header">Plan <small>Data Type</small></h1> <h1 class="page-header">PlanResponse <small>Data Type</small></h1>
<p>This class represents a plan generated by the planner.</p> <p>This class represents a plan generated by the planner.</p>
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
<td> <span class="datatype-reference">string <td> <span class="datatype-reference">string
</span> </span>
</td> </td>
<td> <span class="property-description"></span> <td> <span class="property-description">The name of the generated plan</span>
</td> </td>
</tr> </tr>
<tr> <tr>
...@@ -94,7 +94,8 @@ ...@@ -94,7 +94,8 @@
<td> <span class="datatype-reference">string <td> <span class="datatype-reference">string
</span> </span>
</td> </td>
<td> <span class="property-description"></span> <td> <span class="property-description">The id of the TOSCA <code>PlaybookRepresentation</code> description from
which this plan was generated</span>
</td> </td>
</tr> </tr>
<tr> <tr>
...@@ -103,7 +104,8 @@ ...@@ -103,7 +104,8 @@
<td> <span class="datatype-reference">number <td> <span class="datatype-reference">number
</span> </span>
</td> </td>
<td> <span class="property-description"></span> <td> <span class="property-description">The level of the plan. Some provisioners use levels to represent a plan.
In these cases there are two levels of TOSCA descriptions.</span>
</td> </td>
</tr> </tr>
<tr> <tr>
...@@ -112,7 +114,9 @@ ...@@ -112,7 +114,9 @@
<td> <span class="datatype-reference">array of string <td> <span class="datatype-reference">array of string
</span> </span>
</td> </td>
<td> <span class="property-description"></span> <td> <span class="property-description">The list of the lower level plans attached to this plan. Some
provisioners use levels to represent a plan. In these cases there are two
levels of TOSCA descriptions.</span>
</td> </td>
</tr> </tr>
</tbody> </tbody>
...@@ -124,13 +128,7 @@ ...@@ -124,13 +128,7 @@
<td><span class="property-name">keyValue</span></td> <td><span class="property-name">keyValue</span></td>
<td><span class="datatype-reference">map of object <td><span class="datatype-reference">map of object
</span></td> </span></td>
<td><span class="property-description"></span></td> <td><span class="property-description">The key-value map</span></td>
</tr>
<tr>
<td><span class="property-name">id</span></td>
<td><span class="datatype-reference">string
</span></td>
<td><span class="property-description"></span></td>
</tr> </tr>
</tbody> </tbody>
<tr> <tr>
...@@ -141,7 +139,15 @@ ...@@ -141,7 +139,15 @@
<td><span class="property-name">owner</span></td> <td><span class="property-name">owner</span></td>
<td><span class="datatype-reference">string <td><span class="datatype-reference">string
</span></td> </span></td>
<td><span class="property-description"></span></td> <td><span class="property-description">The owner (username) for the particular object. This value is set when
the DAO saves the object based on the principal how made the call</span></td>
</tr>
<tr>
<td><span class="property-name">id</span></td>
<td><span class="datatype-reference">string
</span></td>
<td><span class="property-description">The UID of this object. This value is auto generated by the DAO when the
object is saved.</span></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
...@@ -149,16 +155,16 @@ ...@@ -149,16 +155,16 @@
<p class="lead">Example</p> <p class="lead">Example</p>
<pre class="prettyprint language-js example">{ <pre class="prettyprint language-js example">{
&quot;name&quot; : &quot;...&quot;, &quot;name&quot; : &quot;planner_output_all.yml&quot;,
&quot;toscaID&quot; : &quot;...&quot;, &quot;toscaID&quot; : &quot;58e3946e0fb4f562d84ba1ad&quot;,
&quot;level&quot; : 12345, &quot;level&quot; : 0,
&quot;loweLevelPlanIDs&quot; : [ &quot;...&quot;, &quot;...&quot; ], &quot;loweLevelPlanIDs&quot; : [ &quot;ew44Ae3946e0sdds4f562d84baA&quot;, &quot;...&quot; ],
&quot;keyValue&quot; : { &quot;keyValue&quot; : {
&quot;property1&quot; : { }, &quot;property1&quot; : { },
&quot;property2&quot; : { } &quot;property2&quot; : { }
}, },
&quot;id&quot; : &quot;...&quot;, &quot;owner&quot; : &quot;user1&quot;,
&quot;owner&quot; : &quot;...&quot; &quot;id&quot; : &quot;58e3946e0fb4f562d84ba1ad&quot;
}</pre> }</pre>
<footer class="footer"> <footer class="footer">
......
<!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: PlaybookRepresentation</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: PlaybookRepresentation</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_PlaybookRepresentation.html">PlaybookRepresentation</a></li>
</ol>
<h1 class="page-header">PlaybookRepresentation <small>Data Type</small></h1>
<p>This class represents a playbook used by ansible manager to deploy software.</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>
</tbody>
<tr>
<td colspan="3"><h5 class="text-muted">Properties inherited from <a href="json_KeyValueHolder.html">KeyValueHolder</a></h5></td>
</tr>
<tbody>
<tr>
<td><span class="property-name">keyValue</span></td>
<td><span class="datatype-reference">map of object
</span></td>
<td><span class="property-description">The key-value map</span></td>
</tr>
</tbody>
<tr>
<td colspan="3"><h5 class="text-muted">Properties inherited from <a href="json_OwnedObject.html">OwnedObject</a></h5></td>
</tr>
<tbody>
<tr>
<td><span class="property-name">owner</span></td>
<td><span class="datatype-reference">string
</span></td>
<td><span class="property-description">The owner (username) for the particular object. This value is set when
the DAO saves the object based on the principal how made the call</span></td>
</tr>
<tr>
<td><span class="property-name">id</span></td>
<td><span class="datatype-reference">string
</span></td>
<td><span class="property-description">The UID of this object. This value is auto generated by the DAO when the
object is saved.</span></td>
</tr>
</tbody>
</table>
<p class="lead">Example</p>
<pre class="prettyprint language-js example">{
&quot;keyValue&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&quot;owner&quot; : &quot;user1&quot;,
&quot;id&quot; : &quot;58e3946e0fb4f562d84ba1ad&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>
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1"> <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 --> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>drip-api: ProvisionInfo</title> <title>drip-api: ProvisionRequest</title>
<!-- Mobile viewport optimized: j.mp/bplateviewport --> <!-- Mobile viewport optimized: j.mp/bplateviewport -->
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
<span class="icon-bar"></span> <span class="icon-bar"></span>
<span class="icon-bar"></span> <span class="icon-bar"></span>
</button> </button>
<a class="navbar-brand" href="index.html">drip-api: ProvisionInfo</a> <a class="navbar-brand" href="index.html">drip-api: ProvisionRequest</a>
</div> </div>
<div id="navbar" class="navbar-collapse collapse"> <div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right"> <ul class="nav navbar-nav navbar-right">
...@@ -59,14 +59,17 @@ ...@@ -59,14 +59,17 @@
<ol class="breadcrumb" id="top"> <ol class="breadcrumb" id="top">
<li class="active dropdown"><a href="index.html">Home</a></li> <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="active dropdown"><a href="syntax_json.html">JSON</a></li>
<li class="dropdown"><a href="json_ProvisionInfo.html">ProvisionInfo</a></li> <li class="dropdown"><a href="json_ProvisionRequest.html">ProvisionRequest</a></li>
</ol> </ol>
<h1 class="page-header">ProvisionInfo <small>Data Type</small></h1> <h1 class="page-header">ProvisionRequest <small>Data Type</small></h1>
<p></p> <p>This class is a holder for the the object IDs that are required by the
provisioner to request for cloud resources.</p>
<dl class="dl-horizontal"> <dl class="dl-horizontal">
<dt>Subtypes</dt>
<dd><a href="json_ProvisionResponse.html">ProvisionResponse</a></dd>
</dl> </dl>
<table class="table datatype-properties"> <table class="table datatype-properties">
...@@ -80,12 +83,12 @@ ...@@ -80,12 +83,12 @@
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td> <span class="property-name">cloudCredentialsID</span> <td> <span class="property-name">cloudCredentialsIDs</span>
</td> </td>
<td> <span class="datatype-reference">string <td> <span class="datatype-reference">array of string
</span> </span>
</td> </td>
<td> <span class="property-description"></span> <td> <span class="property-description">The cloud credentials ids required to provision the cloud resources.</span>
</td> </td>
</tr> </tr>
<tr> <tr>
...@@ -94,34 +97,16 @@ ...@@ -94,34 +97,16 @@
<td> <span class="datatype-reference">string <td> <span class="datatype-reference">string
</span> </span>
</td> </td>
<td> <span class="property-description"></span> <td> <span class="property-description">The ID of the plan <code>PlanResponse</code> to provision for.</span>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <span class="property-name">scriptID</span> <td> <span class="property-name">keyPairIDs</span>
</td> </td>
<td> <span class="datatype-reference">string <td> <span class="datatype-reference">array of string
</span> </span>
</td> </td>
<td> <span class="property-description"></span> <td> <span class="property-description">The key pair id for the keys to use to log in the provisioned VMs.</span>
</td>
</tr>
<tr>
<td> <span class="property-name">userKeyID</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">deployParameters</span>
</td>
<td> <span class="datatype-reference">array of <a href="json_DeployParameter.html">DeployParameter</a>
</span>
</td>
<td> <span class="property-description"></span>
</td> </td>
</tr> </tr>
</tbody> </tbody>
...@@ -133,13 +118,7 @@ ...@@ -133,13 +118,7 @@
<td><span class="property-name">keyValue</span></td> <td><span class="property-name">keyValue</span></td>
<td><span class="datatype-reference">map of object <td><span class="datatype-reference">map of object
</span></td> </span></td>
<td><span class="property-description"></span></td> <td><span class="property-description">The key-value map</span></td>
</tr>
<tr>
<td><span class="property-name">id</span></td>
<td><span class="datatype-reference">string
</span></td>
<td><span class="property-description"></span></td>
</tr> </tr>
</tbody> </tbody>
<tr> <tr>
...@@ -150,7 +129,15 @@ ...@@ -150,7 +129,15 @@
<td><span class="property-name">owner</span></td> <td><span class="property-name">owner</span></td>
<td><span class="datatype-reference">string <td><span class="datatype-reference">string
</span></td> </span></td>
<td><span class="property-description"></span></td> <td><span class="property-description">The owner (username) for the particular object. This value is set when
the DAO saves the object based on the principal how made the call</span></td>
</tr>
<tr>
<td><span class="property-name">id</span></td>
<td><span class="datatype-reference">string
</span></td>
<td><span class="property-description">The UID of this object. This value is auto generated by the DAO when the
object is saved.</span></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
...@@ -158,27 +145,15 @@ ...@@ -158,27 +145,15 @@
<p class="lead">Example</p> <p class="lead">Example</p>
<pre class="prettyprint language-js example">{ <pre class="prettyprint language-js example">{
&quot;cloudCredentialsID&quot; : &quot;...&quot;, &quot;cloudCredentialsIDs&quot; : [ &quot;58e3946e0fb4f562d84ba1ad&quot;, &quot;...&quot; ],
&quot;planID&quot; : &quot;...&quot;, &quot;planID&quot; : &quot;ASedsfd46b4fDFd83ba1q&quot;,
&quot;scriptID&quot; : &quot;...&quot;, &quot;keyPairIDs&quot; : [ &quot;ASedsfd46b4fFd344a1A&quot;, &quot;...&quot; ],
&quot;userKeyID&quot; : &quot;...&quot;,
&quot;deployParameters&quot; : [ {
&quot;cloudCertificateName&quot; : &quot;...&quot;,
&quot;IP&quot; : &quot;...&quot;,
&quot;user&quot; : &quot;...&quot;,
&quot;role&quot; : &quot;...&quot;
}, {
&quot;cloudCertificateName&quot; : &quot;...&quot;,
&quot;IP&quot; : &quot;...&quot;,
&quot;user&quot; : &quot;...&quot;,
&quot;role&quot; : &quot;...&quot;
} ],
&quot;keyValue&quot; : { &quot;keyValue&quot; : {
&quot;property1&quot; : { }, &quot;property1&quot; : { },
&quot;property2&quot; : { } &quot;property2&quot; : { }
}, },
&quot;id&quot; : &quot;...&quot;, &quot;owner&quot; : &quot;user1&quot;,
&quot;owner&quot; : &quot;...&quot; &quot;id&quot; : &quot;58e3946e0fb4f562d84ba1ad&quot;
}</pre> }</pre>
<footer class="footer"> <footer class="footer">
......
<!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: ProvisionResponse</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: ProvisionResponse</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_ProvisionResponse.html">ProvisionResponse</a></li>
</ol>
<h1 class="page-header">ProvisionResponse <small>Data Type</small></h1>
<p>This class represents a description of provisioned resources</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">deployParameters</span>
</td>
<td> <span class="datatype-reference">array of <a href="json_DeployParameter.html">DeployParameter</a>
</span>
</td>
<td> <span class="property-description">The deploy parameters.</span>
</td>
</tr>
</tbody>
<tr>
<td colspan="3"><h5 class="text-muted">Properties inherited from <a href="json_ProvisionRequest.html">ProvisionRequest</a></h5></td>
</tr>
<tbody>
<tr>
<td><span class="property-name">cloudCredentialsIDs</span></td>
<td><span class="datatype-reference">array of string
</span></td>
<td><span class="property-description">The cloud credentials ids required to provision the cloud resources.</span></td>
</tr>
<tr>
<td><span class="property-name">planID</span></td>
<td><span class="datatype-reference">string
</span></td>
<td><span class="property-description">The ID of the plan <code>PlanResponse</code> to provision for.</span></td>
</tr>
<tr>
<td><span class="property-name">keyPairIDs</span></td>
<td><span class="datatype-reference">array of string
</span></td>
<td><span class="property-description">The key pair id for the keys to use to log in the provisioned VMs.</span></td>
</tr>
</tbody>
<tr>
<td colspan="3"><h5 class="text-muted">Properties inherited from <a href="json_KeyValueHolder.html">KeyValueHolder</a></h5></td>
</tr>
<tbody>
<tr>
<td><span class="property-name">keyValue</span></td>
<td><span class="datatype-reference">map of object
</span></td>
<td><span class="property-description">The key-value map</span></td>
</tr>
</tbody>
<tr>
<td colspan="3"><h5 class="text-muted">Properties inherited from <a href="json_OwnedObject.html">OwnedObject</a></h5></td>
</tr>
<tbody>
<tr>
<td><span class="property-name">owner</span></td>
<td><span class="datatype-reference">string
</span></td>
<td><span class="property-description">The owner (username) for the particular object. This value is set when
the DAO saves the object based on the principal how made the call</span></td>
</tr>
<tr>
<td><span class="property-name">id</span></td>
<td><span class="datatype-reference">string
</span></td>
<td><span class="property-description">The UID of this object. This value is auto generated by the DAO when the
object is saved.</span></td>
</tr>
</tbody>
</table>
<p class="lead">Example</p>
<pre class="prettyprint language-js example">{
&quot;deployParameters&quot; : [ {
&quot;cloudCertificateName&quot; : &quot;Virginia&quot;,
&quot;IP&quot; : &quot;52.73.245.157&quot;,
&quot;user&quot; : &quot;vm_user&quot;,
&quot;role&quot; : &quot;slave&quot;
}, {
&quot;cloudCertificateName&quot; : &quot;...&quot;,
&quot;IP&quot; : &quot;...&quot;,
&quot;user&quot; : &quot;...&quot;,
&quot;role&quot; : &quot;...&quot;
} ],
&quot;cloudCredentialsIDs&quot; : [ &quot;58e3946e0fb4f562d84ba1ad&quot;, &quot;...&quot; ],
&quot;planID&quot; : &quot;ASedsfd46b4fDFd83ba1q&quot;,
&quot;keyPairIDs&quot; : [ &quot;ASedsfd46b4fFd344a1A&quot;, &quot;...&quot; ],
&quot;keyValue&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&quot;owner&quot; : &quot;user1&quot;,
&quot;id&quot; : &quot;58e3946e0fb4f562d84ba1ad&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>
...@@ -79,15 +79,6 @@ ...@@ -79,15 +79,6 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr>
<td> <span class="property-name">id</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr> <tr>
<td> <span class="property-name">name</span> <td> <span class="property-name">name</span>
</td> </td>
...@@ -115,7 +106,15 @@ ...@@ -115,7 +106,15 @@
<td><span class="property-name">owner</span></td> <td><span class="property-name">owner</span></td>
<td><span class="datatype-reference">string <td><span class="datatype-reference">string
</span></td> </span></td>
<td><span class="property-description"></span></td> <td><span class="property-description">The owner (username) for the particular object. This value is set when
the DAO saves the object based on the principal how made the call</span></td>
</tr>
<tr>
<td><span class="property-name">id</span></td>
<td><span class="datatype-reference">string
</span></td>
<td><span class="property-description">The UID of this object. This value is auto generated by the DAO when the
object is saved.</span></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
...@@ -123,10 +122,10 @@ ...@@ -123,10 +122,10 @@
<p class="lead">Example</p> <p class="lead">Example</p>
<pre class="prettyprint language-js example">{ <pre class="prettyprint language-js example">{
&quot;id&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;config.sh&quot;, &quot;name&quot; : &quot;config.sh&quot;,
&quot;contents&quot; : &quot; #!/bin/bash\necho \&quot;Reading system-wide config....\&quot; &gt;&amp;2\\n. /etc/cool.cfg\nif [ -r ~/.coolrc ]; then\n echo \&quot;Reading user config....\&quot; &gt;&amp;2\\n . ~/.coolrc\\nfi&quot;, &quot;contents&quot; : &quot; #!/bin/bash\necho \&quot;Reading system-wide config....\&quot; &gt;&amp;2\\n. /etc/cool.cfg\nif [ -r ~/.coolrc ]; then\n echo \&quot;Reading user config....\&quot; &gt;&amp;2\\n . ~/.coolrc\\nfi&quot;,
&quot;owner&quot; : &quot;...&quot; &quot;owner&quot; : &quot;user1&quot;,
&quot;id&quot; : &quot;58e3946e0fb4f562d84ba1ad&quot;
}</pre> }</pre>
<footer class="footer"> <footer class="footer">
......
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
<h1 class="page-header">ToscaRepresentation <small>Data Type</small></h1> <h1 class="page-header">ToscaRepresentation <small>Data Type</small></h1>
<p></p> <p>This class is a representation of a TOSCA description.</p>
<dl class="dl-horizontal"> <dl class="dl-horizontal">
</dl> </dl>
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
<td> <span class="datatype-reference">string <td> <span class="datatype-reference">string
</span> </span>
</td> </td>
<td> <span class="property-description"></span> <td> <span class="property-description">The name of the TOSCA description</span>
</td> </td>
</tr> </tr>
</tbody> </tbody>
...@@ -97,13 +97,7 @@ ...@@ -97,13 +97,7 @@
<td><span class="property-name">keyValue</span></td> <td><span class="property-name">keyValue</span></td>
<td><span class="datatype-reference">map of object <td><span class="datatype-reference">map of object
</span></td> </span></td>
<td><span class="property-description"></span></td> <td><span class="property-description">The key-value map</span></td>
</tr>
<tr>
<td><span class="property-name">id</span></td>
<td><span class="datatype-reference">string
</span></td>
<td><span class="property-description"></span></td>
</tr> </tr>
</tbody> </tbody>
<tr> <tr>
...@@ -114,7 +108,15 @@ ...@@ -114,7 +108,15 @@
<td><span class="property-name">owner</span></td> <td><span class="property-name">owner</span></td>
<td><span class="datatype-reference">string <td><span class="datatype-reference">string
</span></td> </span></td>
<td><span class="property-description"></span></td> <td><span class="property-description">The owner (username) for the particular object. This value is set when
the DAO saves the object based on the principal how made the call</span></td>
</tr>
<tr>
<td><span class="property-name">id</span></td>
<td><span class="datatype-reference">string
</span></td>
<td><span class="property-description">The UID of this object. This value is auto generated by the DAO when the
object is saved.</span></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
...@@ -122,13 +124,13 @@ ...@@ -122,13 +124,13 @@
<p class="lead">Example</p> <p class="lead">Example</p>
<pre class="prettyprint language-js example">{ <pre class="prettyprint language-js example">{
&quot;name&quot; : &quot;...&quot;, &quot;name&quot; : &quot;input.yml&quot;,
&quot;keyValue&quot; : { &quot;keyValue&quot; : {
&quot;property1&quot; : { }, &quot;property1&quot; : { },
&quot;property2&quot; : { } &quot;property2&quot; : { }
}, },
&quot;id&quot; : &quot;...&quot;, &quot;owner&quot; : &quot;user1&quot;,
&quot;owner&quot; : &quot;...&quot; &quot;id&quot; : &quot;58e3946e0fb4f562d84ba1ad&quot;
}</pre> }</pre>
<footer class="footer"> <footer class="footer">
......
...@@ -94,7 +94,8 @@ ...@@ -94,7 +94,8 @@
<td> <span class="datatype-reference">string <td> <span class="datatype-reference">string
</span> </span>
</td> </td>
<td> <span class="property-description"></span> <td> <span class="property-description">The unique id of this object. This value is auto-generated when the DAO
saves this object</span>
</td> </td>
</tr> </tr>
<tr> <tr>
...@@ -158,7 +159,7 @@ ...@@ -158,7 +159,7 @@
<pre class="prettyprint language-js example">{ <pre class="prettyprint language-js example">{
&quot;password&quot; : &quot;...&quot;, &quot;password&quot; : &quot;...&quot;,
&quot;id&quot; : &quot;...&quot;, &quot;id&quot; : &quot;58e3946e0fb4f562d84ba1ad&quot;,
&quot;username&quot; : &quot;user&quot;, &quot;username&quot; : &quot;user&quot;,
&quot;accountNonExpired&quot; : true, &quot;accountNonExpired&quot; : true,
&quot;accountNonLocked&quot; : true, &quot;accountNonLocked&quot; : true,
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -64,7 +64,8 @@ ...@@ -64,7 +64,8 @@
<h1 class="page-header">ownedObject <small>Data Type</small></h1> <h1 class="page-header">ownedObject <small>Data Type</small></h1>
<p></p> <p>This is the base class for users to own resources. Many classes extend this
class</p>
<dl class="dl-horizontal"> <dl class="dl-horizontal">
<dt>Namespace</dt> <dt>Namespace</dt>
...@@ -72,7 +73,7 @@ ...@@ -72,7 +73,7 @@
<dt>Schema</dt> <dt>Schema</dt>
<dd><a href="ns0.xsd">ns0.xsd</a></dd> <dd><a href="ns0.xsd">ns0.xsd</a></dd>
<dt>Subtypes</dt> <dt>Subtypes</dt>
<dd><a href="xml_ns0_cloudCredentials.html">cloudCredentials</a>, <a href="xml_ns0_clusterCredentials.html">clusterCredentials</a>, <a href="xml_ns0_keyValueHolder.html">keyValueHolder</a>, <a href="xml_ns0_loginKey.html">loginKey</a>, <a href="xml_ns0_provisionInfo.html">provisionInfo</a>, <a href="xml_ns0_script.html">script</a>, <a href="xml_ns0_toscaRepresentation.html">toscaRepresentation</a></dd> <dd><a href="xml_ns0_cloudCredentials.html">cloudCredentials</a>, <a href="xml_ns0_deployRequest.html">deployRequest</a>, <a href="xml_ns0_deployResponse.html">deployResponse</a>, <a href="xml_ns0_keyPair.html">keyPair</a>, <a href="xml_ns0_keyValueHolder.html">keyValueHolder</a>, <a href="xml_ns0_planResponse.html">planResponse</a>, <a href="xml_ns0_playbookRepresentation.html">playbookRepresentation</a>, <a href="xml_ns0_provisionRequest.html">provisionRequest</a>, <a href="xml_ns0_provisionResponse.html">provisionResponse</a>, <a href="xml_ns0_script.html">script</a>, <a href="xml_ns0_toscaRepresentation.html">toscaRepresentation</a></dd>
</dl> </dl>
<table class="table datatype-properties"> <table class="table datatype-properties">
...@@ -103,7 +104,8 @@ ...@@ -103,7 +104,8 @@
<td> <span class="property-minMaxOccurs">0/1 <td> <span class="property-minMaxOccurs">0/1
</span> </span>
</td> </td>
<td> <span class="property-description">the owner</span> <td> <span class="property-description">The owner (username) for the particular object. This value is set when
the DAO saves the object based on the principal how made the call</span>
</td> </td>
</tr> </tr>
</tbody> </tbody>
...@@ -112,7 +114,7 @@ ...@@ -112,7 +114,7 @@
<p class="lead">Example</p> <p class="lead">Example</p>
<pre class="prettyprint language-xml example">&lt;o-----&gt; <pre class="prettyprint language-xml example">&lt;o-----&gt;
&lt;owner&gt;...&lt;/owner&gt; &lt;owner&gt;user1&lt;/owner&gt;
&lt;/o-----&gt; &lt;/o-----&gt;
</pre> </pre>
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -173,7 +173,8 @@ ...@@ -173,7 +173,8 @@
<td> <span class="property-minMaxOccurs">0/1 <td> <span class="property-minMaxOccurs">0/1
</span> </span>
</td> </td>
<td> <span class="property-description">the id</span> <td> <span class="property-description">The unique id of this object. This value is auto-generated when the DAO
saves this object</span>
</td> </td>
</tr> </tr>
<tr> <tr>
...@@ -236,7 +237,7 @@ ...@@ -236,7 +237,7 @@
<p class="lead">Example</p> <p class="lead">Example</p>
<pre class="prettyprint language-xml example">&lt;u-----&gt; <pre class="prettyprint language-xml example">&lt;u-----&gt;
&lt;id&gt;...&lt;/id&gt; &lt;id&gt;58e3946e0fb4f562d84ba1ad&lt;/id&gt;
&lt;password&gt;...&lt;/password&gt; &lt;password&gt;...&lt;/password&gt;
&lt;username&gt;user&lt;/username&gt; &lt;username&gt;user&lt;/username&gt;
&lt;accountNonExpired&gt;true&lt;/accountNonExpired&gt; &lt;accountNonExpired&gt;true&lt;/accountNonExpired&gt;
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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