You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ts...@apache.org on 2012/10/23 11:49:18 UTC
[34/50] [abbrv] add apidocs/devcloud projects
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/b57be338/tools/apidoc/includes/main.css
----------------------------------------------------------------------
diff --git a/tools/apidoc/includes/main.css b/tools/apidoc/includes/main.css
new file mode 100644
index 0000000..a8fa348
--- /dev/null
+++ b/tools/apidoc/includes/main.css
@@ -0,0 +1,1092 @@
+@charset "UTF-8";
+/*
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements. See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership. The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied. See the License for the
+* specific language governing permissions and limitations
+* under the License.
+*/
+
+/* CSS Document */
+
+
+*{
+ margin:0;
+ padding:0;
+}
+
+body{
+ font-family:Arial, Helvetica, sans-serif;
+ font-size:12px;
+ color:#333;
+ font-weight:normal;
+ background:#FFF repeat top left;
+ margin:0;
+ padding:0;
+}
+
+
+#inside_wrapper {
+ width:auto;
+ height:auto;
+ margin:0;
+ padding:0;
+ overflow:hidden;
+}
+
+#insidetopbg {
+ width:100%;
+ height:auto;
+ margin:0;
+ padding:0;
+ overflow:hidden;
+}
+
+.uppermenu_panel {
+ width:100%;
+ height:auto;
+ float:left;
+ margin:0;
+ padding:0;
+}
+.uppermenu_box {
+ width:auto;
+ height:29px;
+ float:right;
+ margin:0;
+ padding:0;
+
+}
+
+.uppermenu {
+ width:300px;
+ height:auto;
+ float:left;
+ color:#FFF;
+ font-size:13px;
+ font-weight:normal;
+ text-align:left;
+ padding:0;
+ margin:4px 10px 0 0;
+}
+
+.uppermenu a:link {
+ width:auto;
+ height:auto;
+ color:#54bfd3;
+ font-weight:normal;
+ text-align:left;
+ text-decoration:none;
+ margin:0 5px 0 5px;
+
+}
+
+.uppermenu a:visited {
+ width:auto;
+ height:auto;
+ color:#54bfd3;
+ font-weight:normal;
+ text-align:left;
+ text-decoration:none;
+ margin:0 5px 0 5px;
+
+}
+
+.uppermenu a:hover {
+ width:auto;
+ height:auto;
+ color:#ccf004;
+ font-weight:normal;
+ text-align:left;
+ text-decoration:none;
+ margin:0 5px 0 5px;
+
+}
+
+
+#main_master {
+ width:960px;
+ height:auto;
+ margin:0 auto;
+ padding:0;
+}
+
+#inside_header {
+ width:960px;
+ height:auto;
+ float:left;
+ margin:0 0 0 0;
+ padding:0;
+}
+
+.header_top {
+ width:960px;
+ height:67px;
+ float:left;
+ margin:0;
+ padding:0;
+}
+
+.header_bot {
+ width:960px;
+ height:352px;
+ float:left;
+ margin:0;
+ padding:0;
+}
+
+.insideheader_bot {
+ width:960px;
+ height:91px;
+ float:left;
+ margin:0;
+ padding:0;
+}
+
+.insideheader_botleft {
+ width:620px;
+ height:91px;
+ float:left;
+ margin:0;
+ padding:0;
+}
+
+.insideheader_botleft h1 {
+ width:auto;
+ height:auto;
+ float:left;
+ color:#199cb4;
+ font-size:30px;
+ text-align:left;
+ font-weight:normal;
+ letter-spacing:1px;
+ margin:30px 0 0 0;
+ padding:0;
+}
+
+.insideheader_botright {
+ width:340px;
+ height:91px;
+ float:left;
+ margin:0;
+ padding:0;
+}
+
+.insideheader_button {
+ width:340px;
+ height:32px;
+ float:left;
+ margin:30px 0 0 0;
+ padding:0;
+}
+
+a.insjoincomm_button {
+ width:169px;
+ height:32px;
+ float:left;
+ background:url(../images/insjoincomm_button.gif) no-repeat top left;
+ margin:0;
+ padding:0;
+}
+
+a:hover.insjoincomm_button {
+ background:url(../images/insjoincomm_button_hover.gif) no-repeat top left;
+}
+
+a.insdownload_button {
+ width:171px;
+ height:32px;
+ float:left;
+ background:url(../images/insdownload_button.gif) no-repeat top left;
+ margin:0;
+ padding:0;
+}
+
+a:hover.insdownload_button {
+ background:url(../images/insdownload_button_hover.gif) no-repeat top left;
+}
+
+.insheader_buttonshadow {
+ width:336px;
+ height:14px;
+ float:left;
+ background:url(../images/ins_buttonshadow.gif) no-repeat top left;
+ margin:0;
+ padding:0;
+}
+.header_botright {
+ width:550px;
+ height:352px;
+ float:left;
+ margin:0;
+ padding:0;
+}
+
+.clear {
+ clear:both;
+}
+
+
+a.cloud_logo {
+ width:300px;
+ height:51px;
+ float:left;
+ background:url(../images/cloudstack.png) no-repeat top left;
+ margin:8px 0 0 0;
+ padding:0;
+}
+
+.mainemenu_panel {
+ width: 801px;
+ height:51px;
+ float:left;
+ margin:0;
+ padding:0;
+}
+
+.mainemenu_links {
+ width: auto;
+ height:auto;
+ float:right;
+ margin:30px 0 0 0;
+ padding:0;
+}
+
+.mainemenu_links a:link {
+ width: auto;
+ height:auto;
+ font-size:18px;
+ text-align:left;
+ font-weight:normal;
+ text-decoration:none;
+ color:#FFF;
+ margin:0 25px 0 0;
+ padding:0;
+}
+
+.mainemenu_links a:visited {
+ width: auto;
+ height:auto;
+ font-size:18px;
+ text-align:left;
+ font-weight:normal;
+ text-decoration:none;
+ margin:0 25px 0 0;
+ padding:0;
+ color:#FFF;
+}
+
+.mainemenu_links a:hover {
+ width: auto;
+ height:auto;
+ font-size:18px;
+ text-align:left;
+ font-weight:normal;
+ text-decoration:none;
+ margin:0 25px 0 0;
+ padding:0;
+ color:#FFF;
+}
+
+#main_content {
+ width:960px;
+ min-height:600px;
+ height:auto;
+ float:left;
+ margin:0;
+ padding:0;
+}
+
+.main_homecontent_left {
+ width:600px;
+ height:auto;
+ float:left;
+ margin:0;
+ padding:0;
+}
+
+.home_introbox {
+ width:600px;
+ height:auto;
+ float:left;
+ margin: 25px 0 0 0;
+ padding:0;
+}
+
+.home_introbox h1 {
+ width:600px;
+ height:auto;
+ float:left;
+ color:#199cb4;
+ text-align:left;
+ font-weight:normal;
+ font-size:22px;
+ margin:0;
+ padding:0;
+}
+
+.home_introbox p {
+ width:600px;
+ height:auto;
+ float:left;
+ text-align:justify;
+ font-weight:normal;
+ line-height:22px;
+ font-size:18px;
+ margin:10px 0 0 0;
+ padding:0;
+}
+.main_homecontent_right {
+ width:311px;
+ height:auto;
+ float:right;
+ margin:0;
+ padding:0;
+}
+
+#news_panel {
+ width:600px;
+ height:auto;
+ float:left;
+ margin:30px 0 0 0;
+ padding:0;
+}
+
+#news_panel h2 {
+ width:auto;
+ height:auto;
+ float:left;
+ color:#199cb4;
+ font-size:18px;
+ font-weight:normal;
+ text-align:left;
+}
+
+.news_box {
+ width:600px;
+ height:auto;
+ float:left;
+ margin:15px 0 0 0;
+ padding:0;
+}
+
+.news_box a:link {
+ width:600px;
+ height:auto;
+ float:left;
+ color:#105f8b;
+ text-align:left;
+ text-decoration:none;
+ font-weight:normal;
+ font-size:15px;
+}
+
+.news_box a:visited {
+ width:600px;
+ height:auto;
+ float:left;
+ color:#105f8b;
+ text-align:left;
+ text-decoration:none;
+ font-weight:normal;
+ font-size:15px;
+}
+
+.news_box a:hover {
+ width:600px;
+ height:auto;
+ float:left;
+ color:#666;
+ text-align:left;
+ text-decoration:none;
+ font-weight:normal;
+ font-size:15px;
+}
+
+.news_box p {
+ width:600px;
+ height:auto;
+ float:left;
+ margin:8px 0 0 0;
+ text-align:left;
+ font-size:12px;
+ font-weight:normal;
+ padding:0;
+}
+
+.news_box span {
+ width:auto;
+ height:auto;
+ float:left;
+ margin:0;
+ color:#999;
+ text-align:left;
+ font-size:11px;
+ font-weight:normal;
+ padding:0;
+}
+
+#partners_panel {
+ width:311px;
+ height:auto;
+ float:left;
+ margin:30px 0 0 0;
+ padding:0;
+}
+
+#partners_panel h2 {
+ width:300px;
+ height:auto;
+ float:left;
+ color:#199cb4;
+ font-size:18px;
+ font-weight:normal;
+ text-align:left;
+}
+
+.partners_box {
+ width:310px;
+ height:auto;
+ float:left;
+ border-bottom:1px solid #CCC;
+ margin:15px 0 0 0;
+}
+
+.partners_box_logo {
+ width:auto;
+ height:auto;
+ float:left;
+ display:block;
+ margin:0 0 10px 0;
+ padding:0;
+ border:0;
+}
+
+.partners_box_small {
+ width:155px;
+ height:80px;
+ float:left;
+ margin:0;
+ padding:0;
+}
+
+.readmore_box {
+ width:100%;
+ height:29px;
+ float:left;
+ margin:15px 0 0 0;
+ padding:0;
+}
+
+.readmore_box a:link {
+ width:auto;
+ height:auto;
+ float:right;
+ color:#105f8b;
+ font-size:12px;
+ font-weight:normal;
+ text-decoration:none;
+ text-align:right;
+ margin:0 10px 0 0;
+ padding:0;
+}
+
+.readmore_box a:visited {
+ width:auto;
+ height:auto;
+ float:right;
+ color:#105f8b;
+ font-size:12px;
+ font-weight:normal;
+ text-decoration:none;
+ text-align:right;
+ margin:0 10px 0 0;
+ padding:0;
+}
+
+.readmore_box a:hover {
+ width:auto;
+ height:auto;
+ float:right;
+ color:#105f8b;
+ font-size:12px;
+ font-weight:normal;
+ text-decoration:underline;
+ text-align:right;
+ margin:0 10px 0 0;
+ padding:0;
+}
+
+#footer {
+ width:100%;
+ height:auto;
+ background:#cdcdcd repeat top left;
+ margin:25px 0 0 0;
+ padding:0 0 10px 0;
+ float:left;
+}
+
+#inside_footer {
+ width:100%;
+ height:auto;
+ background:#cdcdcd repeat top left;
+ margin:25px 0 0 0;
+ padding:0;
+ position:absolute;
+ bottom:0;
+}
+
+
+#footer_mainmaster {
+ width:960px;
+ height:auto;
+ margin:0 auto;
+ padding:0;
+}
+
+#footer_mainmaster p{
+ width:100%;
+ height:auto;
+ float:left;
+ margin:15px 0 0 0;
+ text-align:left;
+ font-size:11px;
+ font-weight:normal;
+ padding:0;
+}
+
+.footer_linksbox {
+ width:180px;
+ height:auto;
+ float:left;
+ margin: 15px 20px 20px 0;
+ padding:0;
+}
+
+.footer_linksbox li {
+ width:170px;
+ height:auto;
+ float:left;
+ margin: 0 0 5px 0;
+ border-bottom:1px solid #999;
+ list-style:none;
+ padding:0;
+}
+
+.footer_linksbox a:link {
+ width:auto;
+ height:auto;
+ float:left;
+ font-size:11px;
+ font-weight:normal;
+ color:#666;
+ text-decoration:none;
+}
+
+.footer_linksbox a:visited {
+ width:auto;
+ height:auto;
+ float:left;
+ font-size:11px;
+ font-weight:normal;
+ color:#666;
+ text-decoration:none;
+}
+
+.footer_linksbox a:hover {
+ width:auto;
+ height:auto;
+ float:left;
+ font-size:11px;
+ font-weight:normal;
+ color:#333;
+ text-decoration:none;
+}
+
+.inside_leftpanel {
+ width:212px;
+ height:auto;
+ float:left;
+ margin:0;
+ padding:0;
+}
+
+.inside_rightpanel {
+ width:718px;
+ height:auto;
+ float:right;
+ margin:0;
+ padding:0;
+}
+
+.inside_contentpanel {
+ width:700px;
+ height:auto;
+ float:left;
+ margin:0 0 0 0;
+ padding:0;
+}
+
+.inside_contentpanel h1{
+ width:700px;
+ height:auto;
+ float:left;
+ color:#199cb4;
+ font-size:20px;
+ font-weight:normal;
+ text-align:left;
+ margin:0;
+ padding:0;
+}
+
+.inside_contentpanel h2{
+ width:700px;
+ height:auto;
+ float:left;
+ color:#199cb4;
+ font-size:16px;
+ font-weight:normal;
+ text-align:left;
+ margin:15px 0 0 0;
+ padding:0;
+}
+
+
+.inside_contentpanel h3{
+ width:700px;
+ height:auto;
+ float:left;
+ font-size:15px;
+ font-weight:bold;
+ text-align:left;
+ margin:15px 0 0 0;
+ padding:0;
+}
+
+.inside_contentpanel h4{
+ width:700px;
+ height:auto;
+ float:left;
+ font-size:14px;
+ font-weight:normal;
+ text-align:left;
+ margin:15px 0 10px 15px;
+ padding:0;
+}
+
+.inside_contentpanel p {
+ width:100%;
+ height:auto;
+ float:left;
+ text-align:justify;
+ font-size:12px;
+ font-weight:normal;
+ margin:10px 0 0 0;
+ padding:0;
+}
+
+.inside_contentpanel a:link {
+ width:auto;
+ height:auto;
+ color:#009fcd;
+ text-decoration:none;
+ text-align:left;
+ font-size:12px;
+ margin:0;
+ padding:0;
+}
+
+.inside_contentpanel a:visited {
+ width:auto;
+ height:auto;
+ color:#009fcd;
+ text-decoration:none;
+ text-align:left;
+ font-size:12px;
+ margin:0;
+ padding:0;
+}
+
+.inside_contentpanel a:hover {
+ width:auto;
+ height:auto;
+ color:#009fcd;
+ text-decoration:underline;
+ text-align:left;
+ font-size:12px;
+ margin:0;
+ padding:0;
+}
+
+.download_text {
+ width:600px;
+ height:auto;
+ float:left;
+ color:#7418c2;
+ text-align:left;
+ font-weight:normal;
+ font-size:18px;
+ margin:20px 0 15px 0
+}
+
+.download_textbox {
+ width:720px;
+ height:auto;
+ float:left;
+ color:#333;
+ text-align:left;
+ font-weight:normal;
+ font-size:18px;
+ margin:20px 0 15px 0;
+ border-top:1px dashed #999;
+}
+
+.screenshots_box {
+ width:454px;
+ height:455px;
+ float:left;
+ background:#000 repeat top left;
+ margin:20px 0 0 65px;
+ display:inline;
+}
+
+.apiannouncement_box {
+ width:928px;
+ height:auto;
+ float:left;
+ background:#e0f4ff repeat top left;
+ margin:15px 0 0 0;
+ border:1px solid #9dd2eb;
+}
+
+.apiannouncement_contentarea {
+ width:895px;
+ height:auto;
+ float:left;
+ margin:0 0 0 15px;
+ display:inline;
+ padding:0;
+}
+
+.inside_apileftpanel {
+ width:930px;
+ height:left;
+ float:left;
+ margin:0;
+ padding:0;
+}
+
+.api_leftsections {
+ width:928px;
+ height:auto;
+ float:left;
+ border-top:1px dashed #666;
+ margin:15px 0 0 0;
+ padding:0;
+}
+
+
+
+.api_leftsections span {
+ width:700px;
+ height:auto;
+ float:left;
+ color:#666;
+ font-size:11px;
+ font-weight:normal;
+ text-align:left;
+ margin:7px 0 0 0;
+ padding:0;
+}
+
+.api_legends{
+ width:300px;
+ height:auto;
+ float:left;
+ background:#f9f9f9;
+ border:1px solid #e6e6e6;
+ margin:8px 0 0 0;
+ padding:0 3px 3px 0;
+}
+
+.api_legends p{
+ width:250px;
+ height:auto;
+ float:left;
+ color:#333;
+ text-align:left;
+ font-size:11px;
+ font-weight:normal;
+ margin:5px 0 0 5px;
+ padding:0;
+}
+
+.api_legends_async{
+ width:auto !important;
+ height:auto;
+ color:#2c8bbc !important;
+ font-size:11px;
+ font-weight:normal;
+ text-align:left;
+ margin:0 3px 0 0 !important;
+ padding:0;
+}
+
+.api_legends_premium{
+ width:auto !important;
+ height:auto;
+ color:#013150 !important;;
+ font-size:11px;
+ font-weight:normal;
+ text-align:left;
+ margin:0 3px 0 0 !important;;
+ padding:0;
+}
+
+.apismallsections {
+ width:925px;
+ height:auto;
+ float:left;
+ margin:15px 0 0 0;
+ list-style:none;
+ padding:0;
+}
+
+.apismallbullet_box {
+ width:231px;
+ height:auto;
+ float:left;
+ margin:10px 0 0 0;
+ list-style:none;
+ padding:0;
+}
+
+.apismallbullet_box h5 {
+ width:120px;
+ height:auto;
+ float:left;
+ color:#666;
+ font-size:12px;
+ text-align:left;
+ font-weight:bold;
+ margin:0;
+ padding:0 0 10px 0;
+}
+
+.apismallbullet_box h6 {
+ width:120px;
+ height:auto;
+ float:left;
+ color:#6214ab;
+ font-size:12px;
+ text-align:left;
+ font-weight:bold;
+ margin:0;
+ padding:0 0 10px 0;
+}
+
+.apismallbullet_box li {
+ width:188px;
+ height:auto;
+ float:left;
+ margin:4px 0 0 0;
+ background:url(../images/api_bullets.gif) no-repeat top left;
+ padding:0 0 3px 15px;
+ background-position: 2px 2px;
+ text-align: left;
+ list-style:none;
+ border-bottom:1px dotted #999;
+}
+
+.apismallbullet_box a{
+ width:auto;
+ height:auto;
+ float:left;
+ color:#2c8bbc;
+ font-size:11px !important;
+ font-weight:normal;
+ text-align:left;
+ margin:0;
+ padding:0;
+ text-decoration:none;
+}
+
+.apismallbullet_box a:link, .apismallbullet_box a:visited {
+ text-decoration:none;
+}
+
+.apismallbullet_box a:hover {
+ text-decoration:underline;
+}
+
+.api_tablepanel {
+ width:920px;
+ height:auto;
+ float:left;
+ margin:15px 0 0 0;
+ padding:0;
+}
+
+.api_tablepanel h2{
+ width:800px;
+ height:auto;
+ float:left;
+ color:#666;
+ font-size:14px;
+ font-weight:bold;
+ text-align:left;
+ margin:15px 0 0 0;
+ padding:0;
+}
+
+.apitable {
+ width:100%;
+ height:auto;
+ float:left;
+ border:none;
+ border-collapse:collapse;
+ margin:10px 0 0 0;
+ padding:0;
+}
+
+.api_usagebox {
+ width:700px;
+ height:auto;
+ float:left;
+ background:#f4f5f5;
+ border:1px solid #CCC;
+ margin:10px 0 0 30px;
+ padding:10px;
+ color:#333;
+ font-size:11px;
+ font-weight:normal;
+ text-align:left;
+}
+
+.api_samplebox {
+ width:700px;
+ height:auto;
+ float:left;
+ background:#E0F4FF;
+ border:1px solid #9DD2EB;
+ margin:10px 0 0 30px;
+ padding:10px;
+ color:#333;
+ font-size:11px;
+ font-weight:normal;
+ text-align:left;
+}
+
+.apitable tr {
+ width:100%;
+ height:auto;
+ float:left;
+ border-collapse:collapse;
+ border-bottom:1px solid #d5e8f1;
+ margin:0;
+ padding:0;
+}
+
+.apitable tr.hed {
+ width:100%;
+ height:22px;
+ float:left;
+ background:#e7e7e7;
+ border-collapse:collapse;
+ border-top:1px solid #999;
+ border-bottom:1px solid #999;
+ margin:15px 0 0 0;
+ padding:0;
+ border-left:none;
+ border-right:none;
+}
+
+.apitable td {
+ height:auto;
+ float:left;
+ border:none;
+ color:#333;
+ font-size:12px;
+ font-weight:normal;
+ border-collapse:collapse;
+ text-align:left;
+ padding:5px;
+ margin:0;
+}
+
+
+.apitable td.p{
+ height:auto;
+ float:left;
+ border:none;
+ color:#333;
+ font-size:12px;
+ font-weight:normal;
+ text-align:left;
+ padding:5px;
+ margin:0;
+}
+
+
+
+.api_titlebox {
+ width:100%;
+ height:auto;
+ float:left;
+ margin:0;
+ padding:0;
+}
+
+.api_titlebox_left {
+ width:700px;
+ height:auto;
+ float:left;
+ margin:0;
+ padding:0;
+}
+
+.api_titlebox span{
+ width:600px;
+ height:auto;
+ float:left;
+ color:#666;
+ font-size:11px;
+ font-weight:normal;
+ font-style:italic;
+ text-align:left;
+ margin:10px 0 0 0;
+ padding:0;
+}
+
+.api_titlebox_right {
+ width:200px;
+ height:20px;
+ float:right;
+ margin:0;
+ padding:0;
+}
+
+a.api_backbutton {
+ width:60px !important;
+ height:19px !important;
+ float:right;
+ background:#F00 url(../images/back_button.gif) no-repeat top left;
+ margin:10px 0 0 0 !important;
+ padding:0;
+ text-decoration:none;
+}
+
+a:hover.api_backbutton {
+ background:url(../images/back_button_hover.gif) no-repeat top left;
+}
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/b57be338/tools/apidoc/pom.xml
----------------------------------------------------------------------
diff --git a/tools/apidoc/pom.xml b/tools/apidoc/pom.xml
new file mode 100644
index 0000000..0511d2f
--- /dev/null
+++ b/tools/apidoc/pom.xml
@@ -0,0 +1,67 @@
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
+ license agreements. See the NOTICE file distributed with this work for additional
+ information regarding copyright ownership. The ASF licenses this file to
+ you under the Apache License, Version 2.0 (the "License"); you may not use
+ this file except in compliance with the License. You may obtain a copy of
+ the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
+ by applicable law or agreed to in writing, software distributed under the
+ License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
+ OF ANY KIND, either express or implied. See the License for the specific
+ language governing permissions and limitations under the License. -->
+<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>
+ <artifactId>cloud-apidoc</artifactId>
+ <name>Apache CloudStack apidoc Tools</name>
+ <packaging>pom</packaging>
+ <parent>
+ <groupId>org.apache.cloudstack</groupId>
+ <artifactId>cloudstack</artifactId>
+ <version>4.1.0-SNAPSHOT</version>
+ <relativePath>../../pom.xml</relativePath>
+ </parent>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.cloudstack</groupId>
+ <artifactId>cloud-client-ui</artifactId>
+ <version>${project.version}</version>
+ <type>war</type>
+ </dependency>
+ </dependencies>
+ <properties>
+ <client.config.base>../../client/target/cloud-client-ui-4.1.0-SNAPSHOT/WEB-INF/</client.config.base>
+ <client.config.jars>${client.config.base}/lib</client.config.jars>
+ <client.config.conf>${client.config.base}/classes</client.config.conf>
+ </properties>
+
+ <build>
+ <defaultGoal>install</defaultGoal>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>1.2.1</version>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <executable>bash</executable>
+ <arguments>
+ <argument>-x</argument>
+ <argument>./build-apidoc.sh</argument>
+ <argument>${client.config.jars}</argument>
+ <argument>${client.config.jars}</argument>
+ <argument>./target</argument>
+ <argument>-f</argument>
+ <argument>${client.config.conf}/commands.properties, ${client.config.conf}/commands-ext.properties,${client.config.conf}/virtualrouter_commands.properties, ${client.config.conf}/nicira-nvp_commands.properties </argument>
+ </arguments>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/b57be338/tools/devcloud/devcloud.cfg
----------------------------------------------------------------------
diff --git a/tools/devcloud/devcloud.cfg b/tools/devcloud/devcloud.cfg
index 10fca37..1a4b00c 100644
--- a/tools/devcloud/devcloud.cfg
+++ b/tools/devcloud/devcloud.cfg
@@ -33,15 +33,15 @@
"networktype": "Basic",
"pods": [
{
- "endip": "10.0.2.220",
+ "endip": "192.168.56.220",
"name": "test00",
- "startip": "10.0.2.200",
+ "startip": "192.168.56.200",
"guestIpRanges": [
{
- "startip": "10.0.2.100",
- "endip": "10.0.2.199",
+ "startip": "192.168.56.100",
+ "endip": "192.168.56.199",
"netmask": "255.255.255.0",
- "gateway": "10.0.2.2"
+ "gateway": "192.168.56.1"
}
],
"netmask": "255.255.255.0",
@@ -52,21 +52,20 @@
"hosts": [
{
"username": "root",
- "url": "http://10.0.2.15/",
+ "url": "http://192.168.56.2/",
"password": "password"
}
],
"clustertype": "CloudManaged"
}
],
- "gateway": "10.0.2.2"
+ "gateway": "192.168.56.1"
}
],
- "internaldns1": "10.0.2.3",
- "internaldns2": "10.0.2.3",
+ "internaldns1": "192.168.56.1",
"secondaryStorages": [
{
- "url": "nfs://10.0.2.15:/opt/storage/secondary"
+ "url": "nfs://192.168.56.2:/opt/storage/secondary"
}
]
}
@@ -105,6 +104,10 @@
{
"name":"enable.s3.api",
"value":"true"
+ },
+ {
+ "name":"host",
+ "value":"192.168.56.1"
}
],
"mgtSvr": [
@@ -112,5 +115,13 @@
"mgtSvrIp": "127.0.0.1",
"port": 8096
}
- ]
+ ],
+ "dbSvr":
+ {
+ "dbSvr": "127.0.0.1",
+ "port": 3306,
+ "user": "cloud",
+ "passwd": "cloud",
+ "db": "cloud"
+ }
}
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/b57be338/tools/devcloud/devcloud.sql
----------------------------------------------------------------------
diff --git a/tools/devcloud/devcloud.sql b/tools/devcloud/devcloud.sql
new file mode 100644
index 0000000..bd10c13
--- /dev/null
+++ b/tools/devcloud/devcloud.sql
@@ -0,0 +1,33 @@
+-- Licensed to the Apache Software Foundation (ASF) under one
+-- or more contributor license agreements. See the NOTICE file
+-- distributed with this work for additional information
+-- regarding copyright ownership. The ASF licenses this file
+-- to you under the Apache License, Version 2.0 (the
+-- "License"); you may not use this file except in compliance
+-- with the License. You may obtain a copy of the License at
+--
+-- http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing,
+-- software distributed under the License is distributed on an
+-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+-- KIND, either express or implied. See the License for the
+-- specific language governing permissions and limitations
+-- under the License.
+
+
+INSERT INTO `cloud`.`disk_offering` (id, name, uuid, display_text, created, use_local_storage, type, disk_size) VALUES (17, 'tinyOffering', UUID(), 'tinyOffering', NOW(), 1, 'Service', 0);
+INSERT INTO `cloud`.`service_offering` (id, cpu, speed, ram_size) VALUES (17, 1, 100, 100);
+INSERT INTO `cloud`.`disk_offering` (id, name, uuid, display_text, created, type, disk_size) VALUES (18, 'tinyDiskOffering', UUID(), 'tinyDiskOffering', NOW(), 'Disk', 1073741824);
+INSERT INTO `cloud`.`configuration` (instance, name,value) VALUE('DEFAULT','router.ram.size', '100');
+INSERT INTO `cloud`.`configuration` (instance, name,value) VALUE('DEFAULT','router.cpu.mhz','100');
+INSERT INTO `cloud`.`configuration` (instance, name,value) VALUE('DEFAULT','console.ram.size','100');
+INSERT INTO `cloud`.`configuration` (instance, name,value) VALUE('DEFAULT','console.cpu.mhz', '100');
+INSERT INTO `cloud`.`configuration` (instance, name,value) VALUE('DEFAULT','ssvm.ram.size','100');
+INSERT INTO `cloud`.`configuration` (instance, name,value) VALUE('DEFAULT','ssvm.cpu.mhz','100');
+INSERT INTO `cloud`.`configuration` (instance, name, value) VALUE('DEFAULT', 'system.vm.use.local.storage', 'true');
+INSERT INTO `cloud`.`configuration` (instance, name, value) VALUE('DEFAULT', 'integration.api.port', '8096');
+UPDATE `cloud`.`configuration` SET value='10' where name = 'storage.overprovisioning.factor';
+UPDATE `cloud`.`configuration` SET value='10' where name = 'cpu.overprovisioning.factor';
+UPDATE `cloud`.`configuration` SET value='10' where name = 'mem.overprovisioning.factor';
+UPDATE `cloud`.`vm_template` SET unique_name="tiny Linux",name="tiny Linux",url="http://nfs1.lab.vmops.com/templates/ttylinux_pv.vhd",checksum="046e134e642e6d344b34648223ba4bc1",display_text="tiny Linux" where id=5;
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/b57be338/tools/devcloud/pom.xml
----------------------------------------------------------------------
diff --git a/tools/devcloud/pom.xml b/tools/devcloud/pom.xml
index 5f37d65..5c532c9 100644
--- a/tools/devcloud/pom.xml
+++ b/tools/devcloud/pom.xml
@@ -20,54 +20,119 @@
<version>4.1.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
+ <dependencies>
+ <dependency>
+ <groupId>mysql</groupId>
+ <artifactId>mysql-connector-java</artifactId>
+ <version>5.1.21</version>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
+
<build>
<defaultGoal>install</defaultGoal>
</build>
<profiles>
<profile>
- <id>clean</id>
+ <id>deploydb</id>
<activation>
<property>
- <name>clean</name>
+ <name>deploydb</name>
</property>
</activation>
-
-
<build>
<plugins>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>properties-maven-plugin</artifactId>
+ <version>1.0-alpha-2</version>
<executions>
<execution>
- <phase>integration-test</phase>
+ <phase>initialize</phase>
<goals>
- <goal>run</goal>
+ <goal>read-project-properties</goal>
</goals>
<configuration>
- <target>
- <sshexec host="localhost" username="root"
- password="password" port="2222" command="touch /tmp/x"
- trust="true" />
- </target>
+ <files>
+ <file>${project.parent.basedir}/utils/conf/db.properties</file>
+ <file>${project.parent.basedir}/utils/conf/db.properties.override</file>
+ </files>
+ <quiet>true</quiet>
</configuration>
</execution>
</executions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>sql-maven-plugin</artifactId>
+ <version>1.5</version>
<dependencies>
+ <!-- specify the dependent jdbc driver here -->
<dependency>
- <groupId>ant</groupId>
- <artifactId>ant-jsch</artifactId>
- <version>1.6.5</version>
- </dependency>
- <dependency>
- <groupId>jsch</groupId>
- <artifactId>jsch</artifactId>
- <version>0.1.29</version>
+ <groupId>mysql</groupId>
+ <artifactId>mysql-connector-java</artifactId>
+ <version>${cs.mysql.version}</version>
</dependency>
</dependencies>
+ <configuration>
+ <driver>org.gjt.mm.mysql.Driver</driver>
+ <url>jdbc:mysql://${db.cloud.host}:${db.cloud.port}/cloud</url>
+ <username>${db.cloud.username}</username>
+ <password>${db.cloud.password}</password>
+ <!--all executions are ignored if -Dmaven.test.skip=true -->
+ <skip>${maven.test.skip}</skip>
+ <forceMojoExecution>true</forceMojoExecution>
+ </configuration>
+ <executions>
+ <execution>
+ <id>create-schema</id>
+ <phase>process-test-resources</phase>
+ <goals>
+ <goal>execute</goal>
+ </goals>
+ <configuration>
+ <srcFiles>
+ <srcFile>${basedir}/devcloud.sql</srcFile>
+ </srcFiles>
+ </configuration>
+ </execution>
+ </executions>
</plugin>
</plugins>
</build>
</profile>
+ <profile>
+ <id>deploysvr</id>
+ <activation>
+ <property>
+ <name>deploysvr</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>1.2.1</version>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <executable>python</executable>
+ <arguments>
+ <argument>../marvin/marvin/deployDataCenter.py</argument>
+ <argument>-i</argument>
+ <argument>devcloud.cfg</argument>
+ </arguments>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>