Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of ssh://git.opennebula.org/ogf-occi
Conflicts: .idea/misc.xml
- Loading branch information
Showing
14 changed files
with
444 additions
and
353 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
$: << 'lib' | ||
|
||
require 'rubygems' | ||
require 'sinatra' | ||
require 'occi/occi-server.rb' | ||
|
||
run Sinatra::Application | ||
run OCCIServer.new |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,27 @@ | ||
BACKEND=dummy | ||
#BACKEND=dummy | ||
BACKEND=opennebula | ||
|
||
LOG_LEVEL=debug | ||
|
||
# important, server needs to end with a / | ||
SERVER=http://localhost/ | ||
PORT=3000 | ||
|
||
ONE_XMLRPC=http://localhost:2633/RPC2 | ||
ONE_XMLRPC=http://134.76.9.66:2633/RPC2 | ||
|
||
TEMPLATE_LOCATION=etc/occi_one_templates/ | ||
|
||
ONE_USER=oneadmin | ||
ONE_PASSWORD=oneadmin | ||
ONE_USER=occi | ||
ONE_PASSWORD=r8YAeyYdeG | ||
|
||
ONE_IMAGE_TMP_DIR=/tmp | ||
|
||
VNC_PROXY_BASE_PORT=0 | ||
NOVNC_PATH=public/novnc | ||
#VNC_PROXY_BASE_PORT=0 | ||
#NOVNC_PATH=public/novnc | ||
|
||
# set webinterface to enabled/disabled | ||
WEBINTERFACE=enabled | ||
|
||
#USERNAME=occi | ||
#PASSWORD=56DPmCAJzeIICptW | ||
# Enable NFS storage support | ||
NFS_SUPPORT=true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
############################################################################## | ||
# Copyright 2011 Service Computing group, TU Dortmund | ||
# | ||
# Licensed 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. | ||
############################################################################## | ||
|
||
############################################################################## | ||
# Description: OCCI Request Helper | ||
# Author(s): Hayati Bice, Florian Feldhaus, Piotr Kasprzak | ||
############################################################################## | ||
|
||
require 'sinatra/base' | ||
|
||
module Sinatra | ||
module OCCIRequestHelper | ||
def testhelper | ||
|
||
end | ||
end | ||
|
||
helpers OCCIRequestHelper | ||
end |
Oops, something went wrong.