-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathREADME.txt
111 lines (90 loc) · 4.47 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
/**
* Copyright (c) 2011, Pollux
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of Pollux
* nor the names of its contributors may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL Pollux
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* @author Miguel Rojas (email.miguel.rojas@googlemail.com)
* @version 1.0
* @lastrevision 02.12.2011
*/
OCCI-CDMI Client :: Pollux
===========================
The OCCI-CDMI Client aims to offer a tool for testing
an OCCI Server in association with a CDMI Client for
providing infrastructure services through creating of
resources such as Networks, Storages and Virtual Machines.
All components of this client are developed in Java 1.6
with Spring MVC to offer an extensible and flexible tool.
This client, code-named "Pollux", can be accessed via Web
or can be reused separatelly from stand alone applications
as maven artifacts.
MAIN COMPONENTS
===============
The client is composed mainly by three components: OCCI Artifact,
CDMI Artifact and Web Artifact. These components can be used inside
OSGi platforms or as libraries independently each other.
see details in :
https://github.com/gwdg/Pollux/blob/master/cloud.web/readme/globalview.jpg
https://github.com/gwdg/Pollux/blob/master/cloud.web/readme/osgiview.JPG
PRE-REQUISITES
==============
The Client Pollux requires following products installed in your development environment:
. Java Environment JDK 1.6
(source: http://www.oracle.com/technetwork/java/index.html)
. Maven 3.0.3
(source: http://www.apache.org/dyn/closer.cgi/maven/binaries/apache-maven-3.0.3-bin.zip)
. Virgo Eclipse Server (tomcat-based)
(source: http://www.eclipse.org/downloads/download.php?file=/virgo/release/VTS/3.0.2.RELEASE/virgo-tomcat-server-3.0.2.RELEASE.zip )
All Third-party libraries required by the Client will be downloaded automatically by Maven once you
have compiled the whole project.
BUILDING POLLUX
===============
Download
---------
The code of Pollux is stored into a Github repository
and can be downloaded from the location:
https://github.com/gwdg/Pollux
Compilation
------------
The Pollux client is a maven-based project which makes
use of several maven plugins for its building and deployment.
Assuming the root path of Pollux source code is %POLLUX_HOME%, following commands are available
for building the project:
* maven compile: %POLLUX_HOME%/mvn compile
* maven install: %POLLUX_HOME%/mvn install
* maven rebuild: %POLLUX_HOME%/mvn clean compile install
Deployment
-----------
*** Pollux deployment under Virgo: %POLLUX_HOME%/deploy.bat
CONFIGURATION
=============
Virgo Eclipse Server
---------------------
One of the flavors of Virgo Eclipse Server is based on Tomcat. The configuration of Tomcat web server can be located
under %VIRGO_INSTALLATION_DIRECTORY%/config/tomcat-server.xml
STARTING-UP POLLUX
==================
starting web server: %VIRGO_INSTALLATION_DIRECTORY%/bin/startup.bat -clean
debugging pollux: %VIRGO_INSTALLATION_DIRECTORY%/bin/startup.bat -clean -debug
end point reference of pollux : http://localhost:8080/cloud/app/login.htm