diff --git a/.classpath b/.classpath index 517bf32..e43402f 100644 --- a/.classpath +++ b/.classpath @@ -1,10 +1,36 @@ - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.project b/.project index c392512..d011549 100644 --- a/.project +++ b/.project @@ -5,6 +5,11 @@ + + org.eclipse.wst.common.project.facet.core.builder + + + org.eclipse.jdt.core.javabuilder @@ -19,5 +24,6 @@ org.eclipse.jdt.core.javanature org.eclipse.m2e.core.maven2Nature + org.eclipse.wst.common.project.facet.core.nature diff --git a/.settings/org.eclipse.core.resources.prefs b/.settings/org.eclipse.core.resources.prefs index dc1b414..29abf99 100644 --- a/.settings/org.eclipse.core.resources.prefs +++ b/.settings/org.eclipse.core.resources.prefs @@ -3,3 +3,4 @@ encoding//src/main/java=UTF-8 encoding//src/main/resources=UTF-8 encoding//src/test/java=UTF-8 encoding//src/test/resources=UTF-8 +encoding/=UTF-8 diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs index c13e34b..6249222 100644 --- a/.settings/org.eclipse.jdt.core.prefs +++ b/.settings/org.eclipse.jdt.core.prefs @@ -1,6 +1,6 @@ eclipse.preferences.version=1 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve org.eclipse.jdt.core.compiler.compliance=1.7 org.eclipse.jdt.core.compiler.debug.lineNumber=generate @@ -9,4 +9,4 @@ org.eclipse.jdt.core.compiler.debug.sourceFile=generate org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.enumIdentifier=error org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning -org.eclipse.jdt.core.compiler.source=1.5 +org.eclipse.jdt.core.compiler.source=1.7 diff --git a/pom.xml b/pom.xml index f65dd1d..52ec64b 100644 --- a/pom.xml +++ b/pom.xml @@ -1,31 +1,31 @@ 4.0.0 - + org.gcube.tools maven-parent 1.0.0 org.gcube.resourcemanagement whn-manager - 1.1.0-SNAPSHOT + 2.0.0-SNAPSHOT war - ${project.basedir}/src/main/webapp/WEB-INF - ${project.basedir}/distro - + ${project.basedir}/src/main/webapp/WEB-INF + ${project.basedir}/distro + org.gcube.distribution maven-smartgears-bom - LATEST + 2.0.0-SNAPSHOT pom import - + org.slf4j @@ -41,20 +41,21 @@ 3.0.1 provided - - org.gcube.core - common-smartgears-app - + + org.gcube.core + common-smartgears-app + + com.sun.xml.ws jaxws-rt 2.1.7 - - - - - + + + + + org.jboss.weld.servlet weld-servlet-core @@ -88,51 +89,46 @@ org.gcube.resourcemanagement whnmanager-api - [1.0.0-SNAPSHOT, 2.0.0-SNAPSHOT) - - - org.gcube.core - common-jaxws-calls - 1.0.0-SNAPSHOT - test + [2.0.0-SNAPSHOT, 3.0.0-SNAPSHOT) + - - - org.apache.maven.plugins - maven-resources-plugin - 2.6 - - - copy-profile - - copy-resources - - process-resources - - ${webappDirectory} - - - ${distroDirectory} - - gcube-app.xml - - true - - - - - - + + + org.apache.maven.plugins + maven-resources-plugin + 2.6 + + + copy-profile + + copy-resources + + process-resources + + ${webappDirectory} + + + ${distroDirectory} + + gcube-app.xml + + true + + + + + + org.apache.maven.plugins maven-war-plugin - + whn-manager src\main\webapp\WEB-INF\web.xml diff --git a/src/main/java/org/gcube/vremanagement/whnmanager/jaxws/ws/WhnManagerImpl.java b/src/main/java/org/gcube/vremanagement/whnmanager/jaxws/ws/WhnManagerImpl.java index 349da9e..4acb44d 100644 --- a/src/main/java/org/gcube/vremanagement/whnmanager/jaxws/ws/WhnManagerImpl.java +++ b/src/main/java/org/gcube/vremanagement/whnmanager/jaxws/ws/WhnManagerImpl.java @@ -1,34 +1,24 @@ package org.gcube.vremanagement.whnmanager.jaxws.ws; -import java.io.OutputStream; -import java.net.HttpURLConnection; -import java.net.URL; -import java.util.Arrays; -import java.util.Iterator; +import static org.gcube.smartgears.provider.ProviderFactory.provider; import javax.jws.WebService; - -import org.gcube.smartgears.ContextProvider; -import org.gcube.smartgears.configuration.application.ApplicationConfiguration; -import org.gcube.smartgears.context.application.ApplicationContext; -import org.gcube.smartgears.context.container.ContainerContext; -import org.gcube.smartgears.extensions.resource.ScopesResource.Scope; -import org.gcube.smartgears.handlers.container.lifecycle.ProfilePublisher; -import org.gcube.vremanagement.whnmanager.utils.ValidationUtils; -//import org.gcube.common.calls.jaxws.Constants; -import org.gcube.common.resources.gcore.HostingNode; -import org.gcube.common.resources.gcore.Resources; -import org.gcube.common.resources.gcore.ScopeGroup; +import org.gcube.common.authorization.client.proxy.AuthorizationProxy; +import org.gcube.common.authorization.library.provider.AuthorizationProvider; +import org.gcube.common.authorization.library.provider.ContainerInfo; import org.gcube.common.scope.api.ScopeProvider; import org.gcube.common.scope.impl.ScopeBean; -import org.gcube.common.scope.impl.ScopeBean.Type; -import org.gcube.resourcemanagement.whnmanager.api.exception.GCUBEUnrecoverableException; import org.gcube.resourcemanagement.whnmanager.api.WhnManager; -import org.gcube.resourcemanagement.whnmanager.api.types.AddScopeInputParams; -import org.gcube.resourcemanagement.whnmanager.api.types.ScopeRIParams; +import org.gcube.resourcemanagement.whnmanager.api.exception.GCUBEUnrecoverableException; +import org.gcube.resourcemanagement.whnmanager.api.exception.GCUBEUnrecoverableExceptionInfo; +import org.gcube.smartgears.ContextProvider; +import org.gcube.smartgears.context.application.ApplicationContext; +import org.gcube.smartgears.managers.ContextEvents; +import org.gcube.vremanagement.whnmanager.utils.ValidationUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +//import org.gcube.common.calls.jaxws.Constants; @WebService(portName = "WhnManagerIOPort", serviceName = WhnManager.SERVICE_NAME, @@ -37,44 +27,41 @@ endpointInterface = "org.gcube.resourcemanagement.whnmanager.api.WhnManager" ) //@Singleton public class WhnManagerImpl implements WhnManager{ - + private static Logger logger=LoggerFactory.getLogger(WhnManagerImpl.class); - public static final String SCOPE_HEADER_ENTRY = "gcube-scope"; - + //public static final String TOKEN_HEADER_ENTRY = "gcube-token"; + /** * Add a scope to the ghn profile and publish it on IS */ @Override - public boolean addScope(AddScopeInputParams params) throws GCUBEUnrecoverableException{ - logger.trace("WHNManager: addScope method invokation"); - String scope=params.getScope(); - ValidationUtils.valid("scope", scope); - ApplicationContext context = ContextProvider.get(); + public boolean addToContext(String context) throws GCUBEUnrecoverableException{ + logger.trace("WHNManager: addToContext method invokation with parameters context :{} and caller: {} curentContext: {}",context, AuthorizationProvider.instance.get(), ScopeProvider.instance.get() ); + ValidationUtils.valid("context", context); + ApplicationContext appContext = ContextProvider.get(); if(context!=null){ - HostingNode ghn=context.container().profile(HostingNode.class); - if(new ScopeBean(scope).is(Type.VRE)){ - logger.debug("addScope operation on VRE scope. Check if present VO scope"); - scope=new ScopeBean(scope).enclosingScope().toString(); - logger.debug("VO scope: "+scope); - } - if(!ValidationUtils.isPresent(ghn, scope)){ - ValidationUtils.addEnclosingScopesOnResource(ghn, scope); - logger.debug("addScope method: add scope "+scope+" to resource with id: "+ghn.id()); - ghn.scopes().asCollection().add(scope); - ScopeGroup scopes=ghn.scopes(); - logger.debug(" resource will be published in scopes: "); - for(Iterator it=scopes.iterator(); it.hasNext();){ - String scopeFound=(String)it.next(); - logger.debug(" - "+scopeFound); + if(!appContext.container().configuration().allowedContexts().contains(context)){ + if (new ScopeBean(context).enclosingScope().toString().equals(ScopeProvider.instance.get())){ + AuthorizationProxy proxy = provider().authorizationProxy(); + try { + String token = proxy.requestActivation(new ContainerInfo(appContext.container().configuration().hostname(), appContext.container().configuration().port()), context); + logger.trace("generated token is {}",token); + appContext.events().fire(token, ContextEvents.ADD_TOKEN_TO_CONTAINER); + } catch (Exception e) { + logger.error("error contacting authorization service",e); + throw new GCUBEUnrecoverableException(new GCUBEUnrecoverableExceptionInfo("error contacting authorization service")); + } + } else { + logger.error("the selected context {} is not enclosed in the context passed via token : authorization denied ", context); + return false; } - ContainerContext container=context.container()/*.configuration().apps()*/; - ProfilePublisher publisher= new ProfilePublisher(container); - publisher.update(); }else{ - logger.warn("the scope "+scope+" is already present on ghn profile with id: "+ ghn.id()); + logger.warn("the context {} is already present ", context); + return false; } }else{ - logger.warn("addScope method: context is null"); + logger.error("context is null"); + return false; } return true; } @@ -83,140 +70,36 @@ public class WhnManagerImpl implements WhnManager{ * Remove a scope from ghn profile and publish the new profile on IS */ @Override - public boolean removeScope(String scope) throws GCUBEUnrecoverableException { - logger.trace("WHN-Manager: removeScope method invokation"); - ValidationUtils.valid("scope", scope); - if(new ScopeBean(scope).is(Type.VRE)){ - logger.debug("this is a VRE scope. The request will be ignored "); - return true; - } - ApplicationContext context = ContextProvider.get(); + public boolean removeFromContext(String context) throws GCUBEUnrecoverableException { + logger.trace("WHNManager: removeFromContext method invokation with parameters context :{} and caller: {} curentContext: {}",context, AuthorizationProvider.instance.get(), ScopeProvider.instance.get() ); + ValidationUtils.valid("context", context); + ApplicationContext appContext = ContextProvider.get(); if(context!=null){ - HostingNode ghn=context.container().profile(HostingNode.class); - if(ValidationUtils.isPresent(ghn, scope)){ - logger.debug("removeScope method: remove scope "+scope+" to resource with id: "+ghn.id()); - ContainerContext container=context.container(); - ProfilePublisher publisher= new ProfilePublisher(container); - publisher.removeFrom(Arrays.asList(scope)); + if(appContext.container().configuration().allowedContexts().contains(context)){ + if (new ScopeBean(context).enclosingScope().toString().equals(ScopeProvider.instance.get())){ + AuthorizationProxy proxy = provider().authorizationProxy(); + try { + String token = proxy.requestActivation(new ContainerInfo(appContext.container().configuration().hostname(), appContext.container().configuration().port()), context); + logger.trace("token to remove is {}",token); + appContext.events().fire(token, ContextEvents.REMOVE_TOKEN_FROM_CONTAINER); + } catch (Exception e) { + logger.error("error contacting authorization service",e); + throw new GCUBEUnrecoverableException(new GCUBEUnrecoverableExceptionInfo("error contacting authorization service")); + } + } else { + logger.error("the selected context {} is not enclosed in the context passed via token : authorization denied ", context); + return false; + } }else{ - logger.warn("scope is not present in the resource"); + logger.warn("the context {} is not present ", context); + return false; } }else{ - logger.warn("addScope method: context is null"); + logger.error("context is null"); + return false; } return true; } - - @Override - public boolean addRIToScope(ScopeRIParams params) throws GCUBEUnrecoverableException{ - logger.debug("addRIToScope method: Adding scope " + params.getScope() + " to RI <" + params.getClazz() +","+ params.getName() +">"); - try { - HttpURLConnection connection =getConnectionToScopeManager(params.name); - logger.debug("adding scope: "+params.scope); - Scope newScope = new Scope(params.scope); - try (OutputStream output = connection.getOutputStream()) { - Resources.marshal(newScope, output); - } - logger.info("addScope operation ended with response code: "+connection.getResponseCode()); - } catch (Exception e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } - return true; - } -// -// @Override -// public boolean activateRI(RIData ri) throws GCUBEUnrecoverableException{ -// logger.debug("dummy activereRI method with param "+ri); -// return true; -// } -// -// -// @Override -// public boolean deactivateRI(RIData ri) throws GCUBEUnrecoverableException{ -// logger.debug("dummy deactivateRI method with param "+ri); -// return true; -// } -// - @Override - public boolean removeRIFromScope(ScopeRIParams params) throws GCUBEUnrecoverableException{ - logger.debug("removeRIFromScope method with param "+params); - try { - HttpURLConnection connection =getConnectionToScopeManager(params.name); - logger.debug("adding scope: "+params.scope); - Scope newScope = new Scope(params.scope); - newScope.delete=true; - try (OutputStream output = connection.getOutputStream()) { - Resources.marshal(newScope, output); - } - logger.info("addScope operation ended with response code: "+connection.getResponseCode()); - } catch (Exception e) { - e.printStackTrace(); - } - return true; - } - - private void addScope(String appName, String currentScope, String scopeToAdd ) throws Exception{ - ApplicationContext context = ContextProvider.get(); - String hostname = context.container().configuration().hostname(); - int port = context.container().configuration().port(); - ApplicationConfiguration app=getAppConfiguration(appName, context); - if(app!=null){ - if(logger.isDebugEnabled()) - logger.debug("http call to: http://"+hostname+":"+port+"/"+app.context()+"/gcube/resource/scopes"); -// URL url = new URL(String.format("http://%s:%d/%s/gcube/resource/scopes", "dlib29.isti.cnr.it", 8080, "authorization-service" )); - URL url = new URL(String.format("http://%s:%d/%s/gcube/resource/scopes", hostname, port, app.context())); - HttpURLConnection connection = (HttpURLConnection)url.openConnection(); - connection.setRequestMethod("POST"); - connection.setDoOutput(true); - connection.setDoInput(true); - connection.setRequestProperty("Content-Type", "application/xml"); - connection.setRequestProperty(SCOPE_HEADER_ENTRY, currentScope); - Scope newScope = new Scope(scopeToAdd); - try (OutputStream output = connection.getOutputStream()) { - Resources.marshal(newScope, output); - } - logger.info("addScope operation ended with response code: "+connection.getResponseCode()); - }else{ - throw new RuntimeException("applicationConfiguration not found "); - } - } - - private HttpURLConnection getConnectionToScopeManager(String appName) throws Exception{ - ApplicationContext context = ContextProvider.get(); - String hostname = context.container().configuration().hostname(); - int port = context.container().configuration().port(); - String currentScope=ScopeProvider.instance.get(); - ApplicationConfiguration app=getAppConfiguration(appName, context); - if(app!=null){ - if(logger.isDebugEnabled()) - logger.debug("http call to: http://"+hostname+":"+port+"/"+app.context()+"/gcube/resource/scopes"); -// URL url = new URL(String.format("http://%s:%d/%s/gcube/resource/scopes", "dlib29.isti.cnr.it", 8080, "authorization-service" )); - URL url = new URL(String.format("http://%s:%d/%s/gcube/resource/scopes", hostname, port, app.context())); - HttpURLConnection connection = (HttpURLConnection)url.openConnection(); - connection.setRequestMethod("POST"); - connection.setDoOutput(true); - connection.setDoInput(true); - connection.setRequestProperty("Content-Type", "application/xml"); - connection.setRequestProperty(SCOPE_HEADER_ENTRY, currentScope); - return connection; - }else{ - throw new RuntimeException("applicationConfiguration not found "); - } - } - - private ApplicationConfiguration getAppConfiguration(String appName, ApplicationContext context){ - logger.debug("get application configuration"); - for (ApplicationConfiguration app : context.container().configuration().apps()){ - logger.debug("check app "+ app.name()); - if (app.name().equals(appName)){ - logger.debug("application configuration is "+app.name()); - return app; - } - } - return null; - - } - + } diff --git a/src/main/java/org/gcube/vremanagement/whnmanager/utils/ValidationUtils.java b/src/main/java/org/gcube/vremanagement/whnmanager/utils/ValidationUtils.java index a590ea7..bdf07bc 100644 --- a/src/main/java/org/gcube/vremanagement/whnmanager/utils/ValidationUtils.java +++ b/src/main/java/org/gcube/vremanagement/whnmanager/utils/ValidationUtils.java @@ -3,34 +3,17 @@ package org.gcube.vremanagement.whnmanager.utils; import java.util.Iterator; import org.gcube.common.resources.gcore.Resource; -import org.gcube.common.resources.gcore.ResourceMediator; import org.gcube.common.resources.gcore.ScopeGroup; -import org.gcube.common.scope.impl.ScopeBean; -import org.gcube.common.scope.impl.ScopeBean.Type; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; public class ValidationUtils { - private static final Logger log = LoggerFactory.getLogger(ValidationUtils.class); + //private static final Logger log = LoggerFactory.getLogger(ValidationUtils.class); public static void valid(String name, Object object){ if (object==null) throw new IllegalArgumentException(name+" is null"); } - - public static < R extends Resource > boolean isPresent(R resource, String currentScope){ - ScopeGroup scopes=resource.scopes(); - boolean founded= false; - for(Iterator it=scopes.iterator(); it.hasNext();){ - String scope=it.next(); - if(scope.equals(currentScope)) - founded=true; - } - if(founded) - return true; - return false; - } + public static < R extends Resource > boolean isNotPresent(R resource, String currentScope){ @@ -47,28 +30,7 @@ public class ValidationUtils { } - /** - * If scope is a VRE scope and the VO and INFRA scopes are not present in the resource, this method add these scopes to the resource - * @param resource the resource - * @param scope a scope - */ - public static void addEnclosingScopesOnResource(T resource, String scope){ - log.trace("add enclosed scopes of "+scope+" to the resource with id: "+resource.id()); - if(new ScopeBean(scope).is(Type.VRE)){ - String voScope=new ScopeBean(scope).enclosingScope().toString(); - String infraScope=new ScopeBean(voScope).enclosingScope().toString(); -// The scope collection is a set, I can add scope without checking - log.debug("adding "+voScope+" to the resource "+resource.id()); - ResourceMediator.setScope(resource, voScope); - log.debug("adding "+infraScope+" to the resource "+resource.id()); - ResourceMediator.setScope(resource, infraScope); - }else if(new ScopeBean(scope).is(Type.VO)){ - String infraScope=new ScopeBean(scope).enclosingScope().toString(); - log.debug("adding "+infraScope+" to the resource "+resource.id()); -// The scope collection is a set, I can add scope without checking - ResourceMediator.setScope(resource, infraScope); - } - } + /* public static boolean isTheLastScopeOnResource(T resource, String scope){ if(resource.scopes().size() == 0) @@ -133,7 +95,7 @@ public class ValidationUtils { return false; } - + */ } diff --git a/src/main/webapp/WEB-INF/gcube-app.xml b/src/main/webapp/WEB-INF/gcube-app.xml index e8f4e06..8a3519e 100644 --- a/src/main/webapp/WEB-INF/gcube-app.xml +++ b/src/main/webapp/WEB-INF/gcube-app.xml @@ -1,7 +1,7 @@ WhnManager VREManagement - 1.1.0-SNAPSHOT + 2.0.0-SNAPSHOT Web Hosting Node Service diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml index 8832058..9566646 100644 --- a/src/main/webapp/WEB-INF/web.xml +++ b/src/main/webapp/WEB-INF/web.xml @@ -4,15 +4,10 @@ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5"> - - - - - com.sun.xml.ws.transport.http.servlet.WSServletContextListener - + + + + +All Classes (whn-manager 2.0.0-SNAPSHOT API) + + + + +

All Classes

+ + + diff --git a/target/apidocs/allclasses-noframe.html b/target/apidocs/allclasses-noframe.html new file mode 100644 index 0000000..e23e511 --- /dev/null +++ b/target/apidocs/allclasses-noframe.html @@ -0,0 +1,20 @@ + + + + + + +All Classes (whn-manager 2.0.0-SNAPSHOT API) + + + + +

All Classes

+ + + diff --git a/target/apidocs/constant-values.html b/target/apidocs/constant-values.html new file mode 100644 index 0000000..0084e6b --- /dev/null +++ b/target/apidocs/constant-values.html @@ -0,0 +1,117 @@ + + + + + + +Constant Field Values (whn-manager 2.0.0-SNAPSHOT API) + + + + + + + +
+ + + + + +
+ + +
+

Constant Field Values

+

Contents

+
+ +
+ + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/target/apidocs/deprecated-list.html b/target/apidocs/deprecated-list.html new file mode 100644 index 0000000..278ddf2 --- /dev/null +++ b/target/apidocs/deprecated-list.html @@ -0,0 +1,117 @@ + + + + + + +Deprecated List (whn-manager 2.0.0-SNAPSHOT API) + + + + + + + +
+ + + + + +
+ + +
+

Deprecated API

+

Contents

+
+ +
+ + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/target/apidocs/help-doc.html b/target/apidocs/help-doc.html new file mode 100644 index 0000000..193137e --- /dev/null +++ b/target/apidocs/help-doc.html @@ -0,0 +1,222 @@ + + + + + + +API Help (whn-manager 2.0.0-SNAPSHOT API) + + + + + + + +
+ + + + + +
+ + +
+

How This API Document Is Organized

+
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
+
+
+
    +
  • +

    Overview

    +

    The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

    +
  • +
  • +

    Package

    +

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

    +
      +
    • Interfaces (italic)
    • +
    • Classes
    • +
    • Enums
    • +
    • Exceptions
    • +
    • Errors
    • +
    • Annotation Types
    • +
    +
  • +
  • +

    Class/Interface

    +

    Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    +
      +
    • Class inheritance diagram
    • +
    • Direct Subclasses
    • +
    • All Known Subinterfaces
    • +
    • All Known Implementing Classes
    • +
    • Class/interface declaration
    • +
    • Class/interface description
    • +
    +
      +
    • Nested Class Summary
    • +
    • Field Summary
    • +
    • Constructor Summary
    • +
    • Method Summary
    • +
    +
      +
    • Field Detail
    • +
    • Constructor Detail
    • +
    • Method Detail
    • +
    +

    Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

    +
  • +
  • +

    Annotation Type

    +

    Each annotation type has its own separate page with the following sections:

    +
      +
    • Annotation Type declaration
    • +
    • Annotation Type description
    • +
    • Required Element Summary
    • +
    • Optional Element Summary
    • +
    • Element Detail
    • +
    +
  • +
  • +

    Enum

    +

    Each enum has its own separate page with the following sections:

    +
      +
    • Enum declaration
    • +
    • Enum description
    • +
    • Enum Constant Summary
    • +
    • Enum Constant Detail
    • +
    +
  • +
  • +

    Use

    +

    Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

    +
  • +
  • +

    Tree (Class Hierarchy)

    +

    There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

    +
      +
    • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
    • +
    • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
    • +
    +
  • +
  • +

    Deprecated API

    +

    The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

    +
  • +
  • +

    Index

    +

    The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

    +
  • +
  • +

    Prev/Next

    +

    These links take you to the next or previous class, interface, package, or related page.

    +
  • +
  • +

    Frames/No Frames

    +

    These links show and hide the HTML frames. All pages are available with or without frames.

    +
  • +
  • +

    All Classes

    +

    The All Classes link shows all classes and interfaces except non-static nested types.

    +
  • +
  • +

    Serialized Form

    +

    Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

    +
  • +
  • +

    Constant Field Values

    +

    The Constant Field Values page lists the static final fields and their values.

    +
  • +
+This help file applies to API documentation generated using the standard doclet.
+ +
+ + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/target/apidocs/index-all.html b/target/apidocs/index-all.html new file mode 100644 index 0000000..3f7eb60 --- /dev/null +++ b/target/apidocs/index-all.html @@ -0,0 +1,174 @@ + + + + + + +Index (whn-manager 2.0.0-SNAPSHOT API) + + + + + + + +
+ + + + + +
+ + +
A I O R V W  + + +

A

+
+
addToContext(String) - Method in class org.gcube.vremanagement.whnmanager.jaxws.ws.WhnManagerImpl
+
+
Add a scope to the ghn profile and publish it on IS
+
+
+ + + +

I

+
+
isNotPresent(R, String) - Static method in class org.gcube.vremanagement.whnmanager.utils.ValidationUtils
+
 
+
+ + + +

O

+
+
org.gcube.vremanagement.whnmanager.jaxws.ws - package org.gcube.vremanagement.whnmanager.jaxws.ws
+
 
+
org.gcube.vremanagement.whnmanager.utils - package org.gcube.vremanagement.whnmanager.utils
+
 
+
+ + + +

R

+
+
removeFromContext(String) - Method in class org.gcube.vremanagement.whnmanager.jaxws.ws.WhnManagerImpl
+
+
Remove a scope from ghn profile and publish the new profile on IS
+
+
+ + + +

V

+
+
valid(String, Object) - Static method in class org.gcube.vremanagement.whnmanager.utils.ValidationUtils
+
 
+
ValidationUtils - Class in org.gcube.vremanagement.whnmanager.utils
+
 
+
ValidationUtils() - Constructor for class org.gcube.vremanagement.whnmanager.utils.ValidationUtils
+
 
+
+ + + +

W

+
+
WhnManagerImpl - Class in org.gcube.vremanagement.whnmanager.jaxws.ws
+
 
+
WhnManagerImpl() - Constructor for class org.gcube.vremanagement.whnmanager.jaxws.ws.WhnManagerImpl
+
 
+
+A I O R V W 
+ +
+ + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/target/apidocs/index.html b/target/apidocs/index.html new file mode 100644 index 0000000..09e135d --- /dev/null +++ b/target/apidocs/index.html @@ -0,0 +1,75 @@ + + + + + + +whn-manager 2.0.0-SNAPSHOT API + + + + + + + + + +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<h2>Frame Alert</h2> +<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + + diff --git a/target/apidocs/org/gcube/vremanagement/whnmanager/jaxws/ws/WhnManagerImpl.html b/target/apidocs/org/gcube/vremanagement/whnmanager/jaxws/ws/WhnManagerImpl.html new file mode 100644 index 0000000..4188a67 --- /dev/null +++ b/target/apidocs/org/gcube/vremanagement/whnmanager/jaxws/ws/WhnManagerImpl.html @@ -0,0 +1,309 @@ + + + + + + +WhnManagerImpl (whn-manager 2.0.0-SNAPSHOT API) + + + + + + + + + + + +
+
org.gcube.vremanagement.whnmanager.jaxws.ws
+

Class WhnManagerImpl

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.gcube.vremanagement.whnmanager.jaxws.ws.WhnManagerImpl
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    org.gcube.resourcemanagement.whnmanager.api.WhnManager
    +
    +
    +
    +
    public class WhnManagerImpl
    +extends Object
    +implements org.gcube.resourcemanagement.whnmanager.api.WhnManager
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        WhnManagerImpl

        +
        public WhnManagerImpl()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        addToContext

        +
        public boolean addToContext(String context)
        +                     throws org.gcube.resourcemanagement.whnmanager.api.exception.GCUBEUnrecoverableException
        +
        Add a scope to the ghn profile and publish it on IS
        +
        +
        Specified by:
        +
        addToContext in interface org.gcube.resourcemanagement.whnmanager.api.WhnManager
        +
        Throws:
        +
        org.gcube.resourcemanagement.whnmanager.api.exception.GCUBEUnrecoverableException
        +
      • +
      + + + +
        +
      • +

        removeFromContext

        +
        public boolean removeFromContext(String context)
        +                          throws org.gcube.resourcemanagement.whnmanager.api.exception.GCUBEUnrecoverableException
        +
        Remove a scope from ghn profile and publish the new profile on IS
        +
        +
        Specified by:
        +
        removeFromContext in interface org.gcube.resourcemanagement.whnmanager.api.WhnManager
        +
        Throws:
        +
        org.gcube.resourcemanagement.whnmanager.api.exception.GCUBEUnrecoverableException
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/target/apidocs/org/gcube/vremanagement/whnmanager/jaxws/ws/class-use/WhnManagerImpl.html b/target/apidocs/org/gcube/vremanagement/whnmanager/jaxws/ws/class-use/WhnManagerImpl.html new file mode 100644 index 0000000..a82a72c --- /dev/null +++ b/target/apidocs/org/gcube/vremanagement/whnmanager/jaxws/ws/class-use/WhnManagerImpl.html @@ -0,0 +1,117 @@ + + + + + + +Uses of Class org.gcube.vremanagement.whnmanager.jaxws.ws.WhnManagerImpl (whn-manager 2.0.0-SNAPSHOT API) + + + + + + + + + + +
+

Uses of Class
org.gcube.vremanagement.whnmanager.jaxws.ws.WhnManagerImpl

+
+
No usage of org.gcube.vremanagement.whnmanager.jaxws.ws.WhnManagerImpl
+ + + + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/target/apidocs/org/gcube/vremanagement/whnmanager/jaxws/ws/package-frame.html b/target/apidocs/org/gcube/vremanagement/whnmanager/jaxws/ws/package-frame.html new file mode 100644 index 0000000..640070e --- /dev/null +++ b/target/apidocs/org/gcube/vremanagement/whnmanager/jaxws/ws/package-frame.html @@ -0,0 +1,20 @@ + + + + + + +org.gcube.vremanagement.whnmanager.jaxws.ws (whn-manager 2.0.0-SNAPSHOT API) + + + + +

org.gcube.vremanagement.whnmanager.jaxws.ws

+
+

Classes

+ +
+ + diff --git a/target/apidocs/org/gcube/vremanagement/whnmanager/jaxws/ws/package-summary.html b/target/apidocs/org/gcube/vremanagement/whnmanager/jaxws/ws/package-summary.html new file mode 100644 index 0000000..731eb9b --- /dev/null +++ b/target/apidocs/org/gcube/vremanagement/whnmanager/jaxws/ws/package-summary.html @@ -0,0 +1,135 @@ + + + + + + +org.gcube.vremanagement.whnmanager.jaxws.ws (whn-manager 2.0.0-SNAPSHOT API) + + + + + + + +
+ + + + + +
+ + +
+

Package org.gcube.vremanagement.whnmanager.jaxws.ws

+
+
+
    +
  • + + + + + + + + + + + + +
    Class Summary 
    ClassDescription
    WhnManagerImpl 
    +
  • +
+
+ +
+ + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/target/apidocs/org/gcube/vremanagement/whnmanager/jaxws/ws/package-tree.html b/target/apidocs/org/gcube/vremanagement/whnmanager/jaxws/ws/package-tree.html new file mode 100644 index 0000000..f5fb417 --- /dev/null +++ b/target/apidocs/org/gcube/vremanagement/whnmanager/jaxws/ws/package-tree.html @@ -0,0 +1,130 @@ + + + + + + +org.gcube.vremanagement.whnmanager.jaxws.ws Class Hierarchy (whn-manager 2.0.0-SNAPSHOT API) + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For Package org.gcube.vremanagement.whnmanager.jaxws.ws

+Package Hierarchies: + +
+
+

Class Hierarchy

+
    +
  • java.lang.Object +
      +
    • org.gcube.vremanagement.whnmanager.jaxws.ws.WhnManagerImpl (implements org.gcube.resourcemanagement.whnmanager.api.WhnManager)
    • +
    +
  • +
+
+ +
+ + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/target/apidocs/org/gcube/vremanagement/whnmanager/jaxws/ws/package-use.html b/target/apidocs/org/gcube/vremanagement/whnmanager/jaxws/ws/package-use.html new file mode 100644 index 0000000..39a3c26 --- /dev/null +++ b/target/apidocs/org/gcube/vremanagement/whnmanager/jaxws/ws/package-use.html @@ -0,0 +1,117 @@ + + + + + + +Uses of Package org.gcube.vremanagement.whnmanager.jaxws.ws (whn-manager 2.0.0-SNAPSHOT API) + + + + + + + + + + +
+

Uses of Package
org.gcube.vremanagement.whnmanager.jaxws.ws

+
+
No usage of org.gcube.vremanagement.whnmanager.jaxws.ws
+ + + + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/target/apidocs/org/gcube/vremanagement/whnmanager/utils/ValidationUtils.html b/target/apidocs/org/gcube/vremanagement/whnmanager/utils/ValidationUtils.html new file mode 100644 index 0000000..eaf8d85 --- /dev/null +++ b/target/apidocs/org/gcube/vremanagement/whnmanager/utils/ValidationUtils.html @@ -0,0 +1,277 @@ + + + + + + +ValidationUtils (whn-manager 2.0.0-SNAPSHOT API) + + + + + + + + + + + +
+
org.gcube.vremanagement.whnmanager.utils
+

Class ValidationUtils

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.gcube.vremanagement.whnmanager.utils.ValidationUtils
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    public class ValidationUtils
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ValidationUtils

        +
        public ValidationUtils()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        valid

        +
        public static void valid(String name,
        +         Object object)
        +
      • +
      + + + + + +
        +
      • +

        isNotPresent

        +
        public static <R extends org.gcube.common.resources.gcore.Resource> boolean isNotPresent(R resource,
        +                                                                         String currentScope)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/target/apidocs/org/gcube/vremanagement/whnmanager/utils/class-use/ValidationUtils.html b/target/apidocs/org/gcube/vremanagement/whnmanager/utils/class-use/ValidationUtils.html new file mode 100644 index 0000000..4be165d --- /dev/null +++ b/target/apidocs/org/gcube/vremanagement/whnmanager/utils/class-use/ValidationUtils.html @@ -0,0 +1,117 @@ + + + + + + +Uses of Class org.gcube.vremanagement.whnmanager.utils.ValidationUtils (whn-manager 2.0.0-SNAPSHOT API) + + + + + + + + + + +
+

Uses of Class
org.gcube.vremanagement.whnmanager.utils.ValidationUtils

+
+
No usage of org.gcube.vremanagement.whnmanager.utils.ValidationUtils
+ + + + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/target/apidocs/org/gcube/vremanagement/whnmanager/utils/package-frame.html b/target/apidocs/org/gcube/vremanagement/whnmanager/utils/package-frame.html new file mode 100644 index 0000000..0bb1743 --- /dev/null +++ b/target/apidocs/org/gcube/vremanagement/whnmanager/utils/package-frame.html @@ -0,0 +1,20 @@ + + + + + + +org.gcube.vremanagement.whnmanager.utils (whn-manager 2.0.0-SNAPSHOT API) + + + + +

org.gcube.vremanagement.whnmanager.utils

+
+

Classes

+ +
+ + diff --git a/target/apidocs/org/gcube/vremanagement/whnmanager/utils/package-summary.html b/target/apidocs/org/gcube/vremanagement/whnmanager/utils/package-summary.html new file mode 100644 index 0000000..68ae86b --- /dev/null +++ b/target/apidocs/org/gcube/vremanagement/whnmanager/utils/package-summary.html @@ -0,0 +1,135 @@ + + + + + + +org.gcube.vremanagement.whnmanager.utils (whn-manager 2.0.0-SNAPSHOT API) + + + + + + + +
+ + + + + +
+ + +
+

Package org.gcube.vremanagement.whnmanager.utils

+
+
+
    +
  • + + + + + + + + + + + + +
    Class Summary 
    ClassDescription
    ValidationUtils 
    +
  • +
+
+ +
+ + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/target/apidocs/org/gcube/vremanagement/whnmanager/utils/package-tree.html b/target/apidocs/org/gcube/vremanagement/whnmanager/utils/package-tree.html new file mode 100644 index 0000000..086e98d --- /dev/null +++ b/target/apidocs/org/gcube/vremanagement/whnmanager/utils/package-tree.html @@ -0,0 +1,130 @@ + + + + + + +org.gcube.vremanagement.whnmanager.utils Class Hierarchy (whn-manager 2.0.0-SNAPSHOT API) + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For Package org.gcube.vremanagement.whnmanager.utils

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/target/apidocs/org/gcube/vremanagement/whnmanager/utils/package-use.html b/target/apidocs/org/gcube/vremanagement/whnmanager/utils/package-use.html new file mode 100644 index 0000000..a88f4f0 --- /dev/null +++ b/target/apidocs/org/gcube/vremanagement/whnmanager/utils/package-use.html @@ -0,0 +1,117 @@ + + + + + + +Uses of Package org.gcube.vremanagement.whnmanager.utils (whn-manager 2.0.0-SNAPSHOT API) + + + + + + + + + + +
+

Uses of Package
org.gcube.vremanagement.whnmanager.utils

+
+
No usage of org.gcube.vremanagement.whnmanager.utils
+ + + + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/target/apidocs/overview-frame.html b/target/apidocs/overview-frame.html new file mode 100644 index 0000000..549ba7a --- /dev/null +++ b/target/apidocs/overview-frame.html @@ -0,0 +1,22 @@ + + + + + + +Overview List (whn-manager 2.0.0-SNAPSHOT API) + + + + + + +

 

+ + diff --git a/target/apidocs/overview-summary.html b/target/apidocs/overview-summary.html new file mode 100644 index 0000000..32ef136 --- /dev/null +++ b/target/apidocs/overview-summary.html @@ -0,0 +1,135 @@ + + + + + + +Overview (whn-manager 2.0.0-SNAPSHOT API) + + + + + + + +
+ + + + + +
+ + +
+

whn-manager 2.0.0-SNAPSHOT API

+
+
+ + + + + + + + + + + + + + + + +
Packages 
PackageDescription
org.gcube.vremanagement.whnmanager.jaxws.ws 
org.gcube.vremanagement.whnmanager.utils 
+
+ +
+ + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/target/apidocs/overview-tree.html b/target/apidocs/overview-tree.html new file mode 100644 index 0000000..5c8cc53 --- /dev/null +++ b/target/apidocs/overview-tree.html @@ -0,0 +1,132 @@ + + + + + + +Class Hierarchy (whn-manager 2.0.0-SNAPSHOT API) + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

+
    +
  • java.lang.Object +
      +
    • org.gcube.vremanagement.whnmanager.utils.ValidationUtils
    • +
    • org.gcube.vremanagement.whnmanager.jaxws.ws.WhnManagerImpl (implements org.gcube.resourcemanagement.whnmanager.api.WhnManager)
    • +
    +
  • +
+
+ +
+ + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/target/apidocs/package-list b/target/apidocs/package-list new file mode 100644 index 0000000..dbeb1e8 --- /dev/null +++ b/target/apidocs/package-list @@ -0,0 +1,2 @@ +org.gcube.vremanagement.whnmanager.jaxws.ws +org.gcube.vremanagement.whnmanager.utils diff --git a/target/apidocs/resources/background.gif b/target/apidocs/resources/background.gif new file mode 100644 index 0000000..f471940 Binary files /dev/null and b/target/apidocs/resources/background.gif differ diff --git a/target/apidocs/resources/tab.gif b/target/apidocs/resources/tab.gif new file mode 100644 index 0000000..1a73a83 Binary files /dev/null and b/target/apidocs/resources/tab.gif differ diff --git a/target/apidocs/resources/titlebar.gif b/target/apidocs/resources/titlebar.gif new file mode 100644 index 0000000..17443b3 Binary files /dev/null and b/target/apidocs/resources/titlebar.gif differ diff --git a/target/apidocs/resources/titlebar_end.gif b/target/apidocs/resources/titlebar_end.gif new file mode 100644 index 0000000..3ad78d4 Binary files /dev/null and b/target/apidocs/resources/titlebar_end.gif differ diff --git a/target/apidocs/stylesheet.css b/target/apidocs/stylesheet.css new file mode 100644 index 0000000..0aeaa97 --- /dev/null +++ b/target/apidocs/stylesheet.css @@ -0,0 +1,474 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ +body { + background-color:#ffffff; + color:#353833; + font-family:Arial, Helvetica, sans-serif; + font-size:76%; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4c6b87; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4c6b87; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-size:1.3em; +} +h1 { + font-size:1.8em; +} +h2 { + font-size:1.5em; +} +h3 { + font-size:1.4em; +} +h4 { + font-size:1.3em; +} +h5 { + font-size:1.2em; +} +h6 { + font-size:1.1em; +} +ul { + list-style-type:disc; +} +code, tt { + font-size:1.2em; +} +dt code { + font-size:1.2em; +} +table tr td dt code { + font-size:1.2em; + vertical-align:top; +} +sup { + font-size:.6em; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:.8em; + z-index:200; + margin-top:-7px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + background-image:url(resources/titlebar.gif); + background-position:left top; + background-repeat:no-repeat; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-image:url(resources/background.gif); + background-repeat:repeat-x; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:1em; + margin:0; +} +.topNav { + background-image:url(resources/background.gif); + background-repeat:repeat-x; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; +} +.bottomNav { + margin-top:10px; + background-image:url(resources/background.gif); + background-repeat:repeat-x; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; +} +.subNav { + background-color:#dee3e9; + border-bottom:1px solid #9eadc0; + float:left; + width:100%; + overflow:hidden; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding:3px 6px; +} +ul.subNavList li{ + list-style:none; + float:left; + font-size:90%; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; +} +.navBarCell1Rev { + background-image:url(resources/tab.gif); + background-color:#a88834; + color:#FFFFFF; + margin: auto 5px; + border:1px solid #c9aa44; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader h1 { + font-size:1.3em; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 25px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:1.2em; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border-top:1px solid #9eadc0; + border-bottom:1px solid #9eadc0; + margin:0 0 6px -8px; + padding:2px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border-top:1px solid #9eadc0; + border-bottom:1px solid #9eadc0; + margin:0 0 6px -8px; + padding:2px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:1.0em; +} +.indexContainer h2 { + font-size:1.1em; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:1.1em; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:10px 0 10px 20px; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:25px; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #9eadc0; + background-color:#f9f9f9; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:1px solid #9eadc0; + border-top:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; + border-bottom:1px solid #9eadc0; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.contentContainer table, .classUseContainer table, .constantValuesContainer table { + border-bottom:1px solid #9eadc0; + width:100%; +} +.contentContainer ul li table, .classUseContainer ul li table, .constantValuesContainer ul li table { + width:100%; +} +.contentContainer .description table, .contentContainer .details table { + border-bottom:none; +} +.contentContainer ul li table th.colOne, .contentContainer ul li table th.colFirst, .contentContainer ul li table th.colLast, .classUseContainer ul li table th, .constantValuesContainer ul li table th, .contentContainer ul li table td.colOne, .contentContainer ul li table td.colFirst, .contentContainer ul li table td.colLast, .classUseContainer ul li table td, .constantValuesContainer ul li table td{ + vertical-align:top; + padding-right:20px; +} +.contentContainer ul li table th.colLast, .classUseContainer ul li table th.colLast,.constantValuesContainer ul li table th.colLast, +.contentContainer ul li table td.colLast, .classUseContainer ul li table td.colLast,.constantValuesContainer ul li table td.colLast, +.contentContainer ul li table th.colOne, .classUseContainer ul li table th.colOne, +.contentContainer ul li table td.colOne, .classUseContainer ul li table td.colOne { + padding-right:3px; +} +.overviewSummary caption, .packageSummary caption, .contentContainer ul.blockList li.blockList caption, .summary caption, .classUseContainer caption, .constantValuesContainer caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#FFFFFF; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + margin:0px; +} +caption a:link, caption a:hover, caption a:active, caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .packageSummary caption span, .contentContainer ul.blockList li.blockList caption span, .summary caption span, .classUseContainer caption span, .constantValuesContainer caption span { + white-space:nowrap; + padding-top:8px; + padding-left:8px; + display:block; + float:left; + background-image:url(resources/titlebar.gif); + height:18px; +} +.overviewSummary .tabEnd, .packageSummary .tabEnd, .contentContainer ul.blockList li.blockList .tabEnd, .summary .tabEnd, .classUseContainer .tabEnd, .constantValuesContainer .tabEnd { + width:10px; + background-image:url(resources/titlebar_end.gif); + background-repeat:no-repeat; + background-position:top right; + position:relative; + float:left; +} +ul.blockList ul.blockList li.blockList table { + margin:0 0 12px 0px; + width:100%; +} +.tableSubHeadingColor { + background-color: #EEEEFF; +} +.altColor { + background-color:#eeeeef; +} +.rowColor { + background-color:#ffffff; +} +.overviewSummary td, .packageSummary td, .contentContainer ul.blockList li.blockList td, .summary td, .classUseContainer td, .constantValuesContainer td { + text-align:left; + padding:3px 3px 3px 7px; +} +th.colFirst, th.colLast, th.colOne, .constantValuesContainer th { + background:#dee3e9; + border-top:1px solid #9eadc0; + border-bottom:1px solid #9eadc0; + text-align:left; + padding:3px 3px 3px 7px; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +td.colFirst, th.colFirst { + border-left:1px solid #9eadc0; + white-space:nowrap; +} +td.colLast, th.colLast { + border-right:1px solid #9eadc0; +} +td.colOne, th.colOne { + border-right:1px solid #9eadc0; + border-left:1px solid #9eadc0; +} +table.overviewSummary { + padding:0px; + margin-left:0px; +} +table.overviewSummary td.colFirst, table.overviewSummary th.colFirst, +table.overviewSummary td.colOne, table.overviewSummary th.colOne { + width:25%; + vertical-align:middle; +} +table.packageSummary td.colFirst, table.overviewSummary th.colFirst { + width:25%; + vertical-align:middle; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:.9em; +} +.block { + display:block; + margin:3px 0 0 0; +} +.strong { + font-weight:bold; +} diff --git a/target/javadoc-bundle-options/javadoc-options-javadoc-resources.xml b/target/javadoc-bundle-options/javadoc-options-javadoc-resources.xml new file mode 100644 index 0000000..8b89c97 --- /dev/null +++ b/target/javadoc-bundle-options/javadoc-options-javadoc-resources.xml @@ -0,0 +1,10 @@ + + + + + + + + + src/main/javadoc + diff --git a/target/javadoc-bundle-options/package-list b/target/javadoc-bundle-options/package-list new file mode 100644 index 0000000..42c9b95 --- /dev/null +++ b/target/javadoc-bundle-options/package-list @@ -0,0 +1,203 @@ +java.applet +java.awt +java.awt.color +java.awt.datatransfer +java.awt.dnd +java.awt.event +java.awt.font +java.awt.geom +java.awt.im +java.awt.im.spi +java.awt.image +java.awt.image.renderable +java.awt.print +java.beans +java.beans.beancontext +java.io +java.lang +java.lang.annotation +java.lang.instrument +java.lang.management +java.lang.ref +java.lang.reflect +java.math +java.net +java.nio +java.nio.channels +java.nio.channels.spi +java.nio.charset +java.nio.charset.spi +java.rmi +java.rmi.activation +java.rmi.dgc +java.rmi.registry +java.rmi.server +java.security +java.security.acl +java.security.cert +java.security.interfaces +java.security.spec +java.sql +java.text +java.text.spi +java.util +java.util.concurrent +java.util.concurrent.atomic +java.util.concurrent.locks +java.util.jar +java.util.logging +java.util.prefs +java.util.regex +java.util.spi +java.util.zip +javax.accessibility +javax.activation +javax.activity +javax.annotation +javax.annotation.processing +javax.crypto +javax.crypto.interfaces +javax.crypto.spec +javax.imageio +javax.imageio.event +javax.imageio.metadata +javax.imageio.plugins.bmp +javax.imageio.plugins.jpeg +javax.imageio.spi +javax.imageio.stream +javax.jws +javax.jws.soap +javax.lang.model +javax.lang.model.element +javax.lang.model.type +javax.lang.model.util +javax.management +javax.management.loading +javax.management.modelmbean +javax.management.monitor +javax.management.openmbean +javax.management.relation +javax.management.remote +javax.management.remote.rmi +javax.management.timer +javax.naming +javax.naming.directory +javax.naming.event +javax.naming.ldap +javax.naming.spi +javax.net +javax.net.ssl +javax.print +javax.print.attribute +javax.print.attribute.standard +javax.print.event +javax.rmi +javax.rmi.CORBA +javax.rmi.ssl +javax.script +javax.security.auth +javax.security.auth.callback +javax.security.auth.kerberos +javax.security.auth.login +javax.security.auth.spi +javax.security.auth.x500 +javax.security.cert +javax.security.sasl +javax.sound.midi +javax.sound.midi.spi +javax.sound.sampled +javax.sound.sampled.spi +javax.sql +javax.sql.rowset +javax.sql.rowset.serial +javax.sql.rowset.spi +javax.swing +javax.swing.border +javax.swing.colorchooser +javax.swing.event +javax.swing.filechooser +javax.swing.plaf +javax.swing.plaf.basic +javax.swing.plaf.metal +javax.swing.plaf.multi +javax.swing.plaf.synth +javax.swing.table +javax.swing.text +javax.swing.text.html +javax.swing.text.html.parser +javax.swing.text.rtf +javax.swing.tree +javax.swing.undo +javax.tools +javax.transaction +javax.transaction.xa +javax.xml +javax.xml.bind +javax.xml.bind.annotation +javax.xml.bind.annotation.adapters +javax.xml.bind.attachment +javax.xml.bind.helpers +javax.xml.bind.util +javax.xml.crypto +javax.xml.crypto.dom +javax.xml.crypto.dsig +javax.xml.crypto.dsig.dom +javax.xml.crypto.dsig.keyinfo +javax.xml.crypto.dsig.spec +javax.xml.datatype +javax.xml.namespace +javax.xml.parsers +javax.xml.soap +javax.xml.stream +javax.xml.stream.events +javax.xml.stream.util +javax.xml.transform +javax.xml.transform.dom +javax.xml.transform.sax +javax.xml.transform.stax +javax.xml.transform.stream +javax.xml.validation +javax.xml.ws +javax.xml.ws.handler +javax.xml.ws.handler.soap +javax.xml.ws.http +javax.xml.ws.soap +javax.xml.ws.spi +javax.xml.ws.wsaddressing +javax.xml.xpath +org.ietf.jgss +org.omg.CORBA +org.omg.CORBA.DynAnyPackage +org.omg.CORBA.ORBPackage +org.omg.CORBA.TypeCodePackage +org.omg.CORBA.portable +org.omg.CORBA_2_3 +org.omg.CORBA_2_3.portable +org.omg.CosNaming +org.omg.CosNaming.NamingContextExtPackage +org.omg.CosNaming.NamingContextPackage +org.omg.Dynamic +org.omg.DynamicAny +org.omg.DynamicAny.DynAnyFactoryPackage +org.omg.DynamicAny.DynAnyPackage +org.omg.IOP +org.omg.IOP.CodecFactoryPackage +org.omg.IOP.CodecPackage +org.omg.Messaging +org.omg.PortableInterceptor +org.omg.PortableInterceptor.ORBInitInfoPackage +org.omg.PortableServer +org.omg.PortableServer.CurrentPackage +org.omg.PortableServer.POAManagerPackage +org.omg.PortableServer.POAPackage +org.omg.PortableServer.ServantLocatorPackage +org.omg.PortableServer.portable +org.omg.SendingContext +org.omg.stub.java.rmi +org.w3c.dom +org.w3c.dom.bootstrap +org.w3c.dom.events +org.w3c.dom.ls +org.xml.sax +org.xml.sax.ext +org.xml.sax.helpers \ No newline at end of file diff --git a/target/maven-archiver/pom.properties b/target/maven-archiver/pom.properties new file mode 100644 index 0000000..77fb94d --- /dev/null +++ b/target/maven-archiver/pom.properties @@ -0,0 +1,5 @@ +#Generated by Maven +#Tue Sep 06 10:18:37 CEST 2016 +version=2.0.0-SNAPSHOT +groupId=org.gcube.resourcemanagement +artifactId=whn-manager diff --git a/target/whn-manager-2.0.0-SNAPSHOT/WEB-INF/classes/META-INF/beans.xml b/target/whn-manager-2.0.0-SNAPSHOT/WEB-INF/classes/META-INF/beans.xml new file mode 100644 index 0000000..ad9ec2c --- /dev/null +++ b/target/whn-manager-2.0.0-SNAPSHOT/WEB-INF/classes/META-INF/beans.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/target/whn-manager-2.0.0-SNAPSHOT/WEB-INF/classes/META-INF/persistence.xml b/target/whn-manager-2.0.0-SNAPSHOT/WEB-INF/classes/META-INF/persistence.xml new file mode 100644 index 0000000..7e8dd0c --- /dev/null +++ b/target/whn-manager-2.0.0-SNAPSHOT/WEB-INF/classes/META-INF/persistence.xml @@ -0,0 +1,28 @@ + + + + + + + + org.gcube.data.analysis.tabulardata.metadata.StoredTable + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/target/whn-manager-2.0.0-SNAPSHOT/WEB-INF/classes/org/gcube/vremanagement/whnmanager/jaxws/ws/WhnManagerImpl.class b/target/whn-manager-2.0.0-SNAPSHOT/WEB-INF/classes/org/gcube/vremanagement/whnmanager/jaxws/ws/WhnManagerImpl.class new file mode 100644 index 0000000..e7aa1d5 Binary files /dev/null and b/target/whn-manager-2.0.0-SNAPSHOT/WEB-INF/classes/org/gcube/vremanagement/whnmanager/jaxws/ws/WhnManagerImpl.class differ diff --git a/target/whn-manager-2.0.0-SNAPSHOT/WEB-INF/classes/org/gcube/vremanagement/whnmanager/utils/ValidationUtils.class b/target/whn-manager-2.0.0-SNAPSHOT/WEB-INF/classes/org/gcube/vremanagement/whnmanager/utils/ValidationUtils.class new file mode 100644 index 0000000..6598118 Binary files /dev/null and b/target/whn-manager-2.0.0-SNAPSHOT/WEB-INF/classes/org/gcube/vremanagement/whnmanager/utils/ValidationUtils.class differ diff --git a/target/whn-manager-2.0.0-SNAPSHOT/WEB-INF/gcube-app.xml b/target/whn-manager-2.0.0-SNAPSHOT/WEB-INF/gcube-app.xml new file mode 100644 index 0000000..8a3519e --- /dev/null +++ b/target/whn-manager-2.0.0-SNAPSHOT/WEB-INF/gcube-app.xml @@ -0,0 +1,8 @@ + + WhnManager + VREManagement + 2.0.0-SNAPSHOT + Web Hosting Node Service + + + diff --git a/target/whn-manager-2.0.0-SNAPSHOT/WEB-INF/sun-jaxws.xml b/target/whn-manager-2.0.0-SNAPSHOT/WEB-INF/sun-jaxws.xml new file mode 100644 index 0000000..87d03c5 --- /dev/null +++ b/target/whn-manager-2.0.0-SNAPSHOT/WEB-INF/sun-jaxws.xml @@ -0,0 +1,9 @@ + + + + \ No newline at end of file diff --git a/target/whn-manager-2.0.0-SNAPSHOT/WEB-INF/web.xml b/target/whn-manager-2.0.0-SNAPSHOT/WEB-INF/web.xml new file mode 100644 index 0000000..9566646 --- /dev/null +++ b/target/whn-manager-2.0.0-SNAPSHOT/WEB-INF/web.xml @@ -0,0 +1,43 @@ + + + + + com.sun.xml.ws.transport.http.servlet.WSServletContextListener + + + + + whnmanager + com.sun.xml.ws.transport.http.servlet.WSServlet + + + + + whnmanager + /gcube/vremanagement/ws/whnmanager + + + + diff --git a/target/whn-manager.war b/target/whn-manager.war new file mode 100644 index 0000000..b1773c6 Binary files /dev/null and b/target/whn-manager.war differ