Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Java Ruby Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
/** * 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 (firstname.lastname@example.org) * @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