Added OPTIMUS

parent 159ab4b5
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src/gen/java"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>ACSmI-client</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
</projectDescription>
eclipse.preferences.version=1
encoding/<project>=UTF-8
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
org.eclipse.jdt.core.compiler.compliance=1.7
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.source=1.7
activeProfiles=
eclipse.preferences.version=1
resolveWorkspaceProjects=true
version=1
# Swagger Codegen Ignore
# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen
# Use this file to prevent files from being overwritten by the generator.
# The patterns follow closely to .gitignore or .dockerignore.
# As an example, the C# client generator defines ApiClient.cs.
# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
#ApiClient.cs
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
#foo/*/qux
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
#foo/**/qux
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
# You can also negate patterns with an exclamation (!).
# For example, you can ignore all files in a docs folder with the file extension .md:
#docs/*.md
# Then explicitly reverse the ignore rule for a single file:
#!docs/README.md
2.3.1
\ No newline at end of file
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<!-- <groupId>io.swagger</groupId> -->
<!-- <artifactId>swagger-jaxrs-client</artifactId> -->
<!-- <packaging>jar</packaging> -->
<!-- <name>swagger-jaxrs-client</name> -->
<!-- <description>ACSmI Services API documentation</description> -->
<!-- <version>1.0.0</version> -->
<groupId>eu.decideh2020</groupId>
<artifactId>ACSmI-client</artifactId>
<packaging>jar</packaging>
<version>2.0.0</version>
<build>
<sourceDirectory>src/main/java</sourceDirectory>
<plugins>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.6</version>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
<!--plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>${jetty-version}</version>
<configuration>
<webApp>
<contextPath>/</contextPath>
</webApp>
<webAppSourceDirectory>target/${project.artifactId}-${project.version}</webAppSourceDirectory>
<stopPort>8079</stopPort>
<stopKey>stopit</stopKey>
<httpConnector>
<port></port>
<idleTimeout>60000</idleTimeout>
</httpConnector>
</configuration>
<executions>
<execution>
<id>start-jetty</id>
<phase>pre-integration-test</phase>
<goals>
<goal>start</goal>
</goals>
<configuration>
<scanIntervalSeconds>0</scanIntervalSeconds>
<daemon>true</daemon>
</configuration>
</execution>
<execution>
<id>stop-jetty</id>
<phase>post-integration-test</phase>
<goals>
<goal>stop</goal>
</goals>
</execution>
</executions>
</plugin-->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.9.1</version>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>src/gen/java</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-jaxrs</artifactId>
<scope>compile</scope>
<version>${swagger-core-version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback-version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>${logback-version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit-version}</version>
<scope>test</scope>
</dependency>
<!-- CXF Client -->
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-rs-client</artifactId>
<version>${cxf-version}</version>
<scope>test</scope>
</dependency>
<!-- CXF server -->
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-jaxrs</artifactId>
<version>${cxf-version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-rs-service-description</artifactId>
<version>${cxf-version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-ws-policy</artifactId>
<version>${cxf-version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-wsdl</artifactId>
<version>${cxf-version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.jaxrs</groupId>
<artifactId>jackson-jaxrs-json-provider</artifactId>
<version>${jackson-jaxrs-version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-joda</artifactId>
<version>${jackson-jaxrs-version}</version>
<scope>compile</scope>
</dependency>
</dependencies>
<repositories>
<repository>
<id>sonatype-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<properties>
<java.version>1.7</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<swagger-core-version>1.5.15</swagger-core-version>
<jetty-version>9.2.9.v20150224</jetty-version>
<junit-version>4.12</junit-version>
<logback-version>1.1.7</logback-version>
<servlet-api-version>2.5</servlet-api-version>
<cxf-version>3.1.11</cxf-version>
<jackson-jaxrs-version>2.8.9</jackson-jaxrs-version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
</project>
package eu.decideh2020.acsmi.client.api;
import eu.decideh2020.acsmi.client.model.Definition;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.List;
import java.util.Map;
import javax.ws.rs.*;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.MediaType;
import org.apache.cxf.jaxrs.ext.multipart.*;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiResponses;
import io.swagger.annotations.ApiResponse;
import io.swagger.jaxrs.PATCH;
/**
* acsmiservices API
*
* <p>acsmiservices API documentation
*
*/
@Path("/")
@Api(value = "/", description = "")
public interface DefinitionResourceApi {
/**
* getAllDefinitions
*
*/
@GET
@Path("/api/definitions")
@Consumes({ "application/json" })
@Produces({ "*/*" })
@ApiOperation(value = "getAllDefinitions", tags={ })
@ApiResponses(value = {
@ApiResponse(code = 200, message = "OK", response = Definition.class, responseContainer = "array"),
@ApiResponse(code = 401, message = "Unauthorized", response = void.class),
@ApiResponse(code = 403, message = "Forbidden", response = void.class),
@ApiResponse(code = 404, message = "Not Found", response = void.class) })
public List<Definition> getAllDefinitionsUsingGET();
/**
* getDefinition
*
*/
@GET
@Path("/api/definitions/{id}")
@Consumes({ "application/json" })
@Produces({ "*/*" })
@ApiOperation(value = "getDefinition", tags={ })
@ApiResponses(value = {
@ApiResponse(code = 200, message = "OK", response = Definition.class),
@ApiResponse(code = 401, message = "Unauthorized", response = void.class),
@ApiResponse(code = 403, message = "Forbidden", response = void.class),
@ApiResponse(code = 404, message = "Not Found", response = void.class) })
public Definition getDefinitionUsingGET(@PathParam("id") Long id);
}
package eu.decideh2020.acsmi.client.api;
import eu.decideh2020.acsmi.client.model.ProfileInfoVM;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.List;
import java.util.Map;
import javax.ws.rs.*;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.MediaType;
import org.apache.cxf.jaxrs.ext.multipart.*;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiResponses;
import io.swagger.annotations.ApiResponse;
import io.swagger.jaxrs.PATCH;
/**
* acsmiservices API
*
* <p>acsmiservices API documentation
*
*/
@Path("/")
@Api(value = "/", description = "")
public interface ProfileInfoResourceApi {
/**
* getActiveProfiles
*
*/
@GET
@Path("/api/profile-info")
@Consumes({ "application/json" })
@Produces({ "*/*" })
@ApiOperation(value = "getActiveProfiles", tags={ })
@ApiResponses(value = {
@ApiResponse(code = 200, message = "OK", response = ProfileInfoVM.class),
@ApiResponse(code = 401, message = "Unauthorized", response = void.class),
@ApiResponse(code = 403, message = "Forbidden", response = void.class),
@ApiResponse(code = 404, message = "Not Found", response = void.class) })
public ProfileInfoVM getActiveProfilesUsingGET();
}
package eu.decideh2020.acsmi.client.api;
import eu.decideh2020.acsmi.client.model.ServiceAttributeType;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.List;
import java.util.Map;
import javax.ws.rs.*;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.MediaType;
import org.apache.cxf.jaxrs.ext.multipart.*;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiResponses;
import io.swagger.annotations.ApiResponse;
import io.swagger.jaxrs.PATCH;
/**
* acsmiservices API
*
* <p>acsmiservices API documentation
*
*/
@Path("/")
@Api(value = "/", description = "")
public interface ServiceAttributeTypeResourceApi {
/**
* findServiceAttributeTypes
*
*/
@GET
@Path("/api/service-attribute-types")
@Consumes({ "application/json" })
@Produces({ "*/*" })
@ApiOperation(value = "findServiceAttributeTypes", tags={ })
@ApiResponses(value = {
@ApiResponse(code = 200, message = "OK", response = ServiceAttributeType.class, responseContainer = "array"),
@ApiResponse(code = 401, message = "Unauthorized", response = void.class),
@ApiResponse(code = 403, message = "Forbidden", response = void.class),
@ApiResponse(code = 404, message = "Not Found", response = void.class) })
public List<ServiceAttributeType> findServiceAttributeTypesUsingGET(@QueryParam("classid")String classid);
/**
* getServiceAttributeType
*
*/
@GET
@Path("/api/service-attribute-types/{id}")
@Consumes({ "application/json" })
@Produces({ "*/*" })
@ApiOperation(value = "getServiceAttributeType", tags={ })
@ApiResponses(value = {
@ApiResponse(code = 200, message = "OK", response = ServiceAttributeType.class),
@ApiResponse(code = 401, message = "Unauthorized", response = void.class),
@ApiResponse(code = 403, message = "Forbidden", response = void.class),
@ApiResponse(code = 404, message = "Not Found", response = void.class) })
public ServiceAttributeType getServiceAttributeTypeUsingGET(@PathParam("id") Long id);
}
package eu.decideh2020.acsmi.client.api;
import eu.decideh2020.acsmi.client.model.ServiceAttributeValue;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.List;
import java.util.Map;
import javax.ws.rs.*;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.MediaType;
import org.apache.cxf.jaxrs.ext.multipart.*;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiResponses;
import io.swagger.annotations.ApiResponse;
import io.swagger.jaxrs.PATCH;
/**
* acsmiservices API
*
* <p>acsmiservices API documentation
*
*/
@Path("/")
@Api(value = "/", description = "")
public interface ServiceAttributeValueResourceApi {
/**
* createServiceAttributeValue
*
*/
@POST
@Path("/api/service-attribute-values")
@Consumes({ "application/json" })
@Produces({ "*/*" })
@ApiOperation(value = "createServiceAttributeValue", tags={ })
@ApiResponses(value = {
@ApiResponse(code = 200, message = "OK", response = ServiceAttributeValue.class),
@ApiResponse(code = 201, message = "Created", response = void.class),
@ApiResponse(code = 401, message = "Unauthorized", response = void.class),
@ApiResponse(code = 403, message = "Forbidden", response = void.class),
@ApiResponse(code = 404, message = "Not Found", response = void.class) })
public ServiceAttributeValue createServiceAttributeValueUsingPOST(ServiceAttributeValue serviceAttributeValue);
/**
* deleteServiceAttributeValue
*
*/
@DELETE
@Path("/api/service-attribute-values/{id}")
@Consumes({ "application/json" })
@Produces({ "*/*" })
@ApiOperation(value = "deleteServiceAttributeValue", tags={ })
@ApiResponses(value = {
@ApiResponse(code = 200, message = "OK", response = void.class),
@ApiResponse(code = 204, message = "No Content", response = void.class),
@ApiResponse(code = 401, message = "Unauthorized", response = void.class),
@ApiResponse(code = 403, message = "Forbidden", response = void.class) })
public void deleteServiceAttributeValueUsingDELETE(@PathParam("id") Long id, @QueryParam("forcedelete")String forcedelete);
/**
* getServiceAttributeValue
*
*/
@GET
@Path("/api/service-attribute-values/{id}")
@Consumes({ "application/json" })
@Produces({ "*/*" })
@ApiOperation(value = "getServiceAttributeValue", tags={ })
@ApiResponses(value = {
@ApiResponse(code = 200, message = "OK", response = ServiceAttributeValue.class),
@ApiResponse(code = 401, message = "Unauthorized", response = void.class),
@ApiResponse(code = 403, message = "Forbidden", response = void.class),
@ApiResponse(code = 404, message = "Not Found", response = void.class) })
public ServiceAttributeValue getServiceAttributeValueUsingGET(@PathParam("id") Long id);
/**
* updateServiceAttributeValue
*
*/
@PUT
@Path("/api/service-attribute-values")
@Consumes({ "application/json" })
@Produces({ "*/*" })
@ApiOperation(value = "updateServiceAttributeValue", tags={ })
@ApiResponses(value = {
@ApiResponse(code = 200, message = "OK", response = ServiceAttributeValue.class),
@ApiResponse(code = 201, message = "Created", response = void.class),
@ApiResponse(code = 401, message = "Unauthorized", response = void.class),
@ApiResponse(code = 403, message = "Forbidden", response = void.class),
@ApiResponse(code = 404, message = "Not Found", response = void.class) })
public ServiceAttributeValue updateServiceAttributeValueUsingPUT(ServiceAttributeValue serviceAttributeValue);
}
package eu.decideh2020.acsmi.client.api;
import eu.decideh2020.acsmi.client.model.ServiceClassAttribute;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.List;
import java.util.Map;
import javax.ws.rs.*;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.MediaType;
import org.apache.cxf.jaxrs.ext.multipart.*;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiResponses;
import io.swagger.annotations.ApiResponse;
import io.swagger.jaxrs.PATCH;
/**
* acsmiservices API
*
* <p>acsmiservices API documentation
*
*/
@Path("/")
@Api(value = "/", description = "")
public interface ServiceClassAttributeResourceApi {
/**
* getAllServiceClassAttributes
*
*/
@GET
@Path("/api/service-class-attributes")
@Consumes({ "application/json" })
@Produces({ "*/*" })
@ApiOperation(value = "getAllServiceClassAttributes", tags={ })
@ApiResponses(value = {
@ApiResponse(code = 200, message = "OK", response = ServiceClassAttribute.class, responseContainer = "array"),
@ApiResponse(code = 401, message = "Unauthorized", response = void.class),
@ApiResponse(code = 403, message = "Forbidden", response = void.class),
@ApiResponse(code = 404, message = "Not Found", response = void.class) })
public List<ServiceClassAttribute> getAllServiceClassAttributesUsingGET(@QueryParam("classid")String classid);
/**
* getServiceClassAttribute
*
*/
@GET
@Path("/api/service-class-attributes/{id}")
@Consumes({ "application/json" })
@Produces({ "*/*" })
@ApiOperation(value = "getServiceClassAttribute", tags={ })
@ApiResponses(value = {
@ApiResponse(code = 200, message = "OK", response = ServiceClassAttribute.class),
@ApiResponse(code = 401, message = "Unauthorized", response = void.class),
@ApiResponse(code = 403, message = "Forbidden", response = void.class),
@ApiResponse(code = 404, message = "Not Found", response = void.class) })
public ServiceClassAttribute getServiceClassAttributeUsingGET(@PathParam("id") Long id);
}
package eu.decideh2020.acsmi.client.api;
import eu.decideh2020.acsmi.client.model.ServiceClass;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.List;
import java.util.Map;
import javax.ws.rs.*;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.MediaType;
import org.apache.cxf.jaxrs.ext.multipart.*;
import io.swagger.annotations.Api;