TSK-925: refactored taskana-simplehistory-rest-spring-example
This commit is contained in:
parent
bbbda2ec0b
commit
4bf0cd4d8f
|
|
@ -1,9 +1,10 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<artifactId>taskana-simplehistory-rest-spring-example</artifactId>
|
<artifactId>taskana-simplehistory-rest-spring-example</artifactId>
|
||||||
|
|
||||||
<name>${project.groupId}:${project.artifactId}</name>
|
<name>${project.groupId}:${project.artifactId}</name>
|
||||||
<description>Demo project for taskana-simplehistory-rest-spring</description>
|
<description>Demo project for taskana-simplehistory-rest-spring</description>
|
||||||
|
|
||||||
|
|
@ -13,18 +14,12 @@
|
||||||
<version>1.1.5-SNAPSHOT</version>
|
<version>1.1.5-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<properties>
|
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
||||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
||||||
<java.version>1.8</java.version>
|
|
||||||
</properties>
|
|
||||||
|
|
||||||
<dependencyManagement>
|
<dependencyManagement>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-dependencies</artifactId>
|
<artifactId>spring-boot-dependencies</artifactId>
|
||||||
<version>${spring.boot.version}</version>
|
<version>${version.spring.boot}</version>
|
||||||
<type>pom</type>
|
<type>pom</type>
|
||||||
<scope>import</scope>
|
<scope>import</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
@ -52,9 +47,10 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.h2database</groupId>
|
<groupId>com.h2database</groupId>
|
||||||
<artifactId>h2</artifactId>
|
<artifactId>h2</artifactId>
|
||||||
|
<version>${version.h2}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- Tests -->
|
|
||||||
|
|
||||||
|
<!-- Tests -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-test</artifactId>
|
<artifactId>spring-boot-starter-test</artifactId>
|
||||||
|
|
@ -72,12 +68,9 @@
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-resources-plugin</artifactId>
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
|
<version>${version.maven.resources}</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>copy-documentation-to-static-folder</id>
|
<id>copy-documentation-to-static-folder</id>
|
||||||
|
|
|
||||||
|
|
@ -121,7 +121,6 @@
|
||||||
<!-- Miscellaneous other checks. -->
|
<!-- Miscellaneous other checks. -->
|
||||||
<!-- See http://checkstyle.sf.net/config_misc.html -->
|
<!-- See http://checkstyle.sf.net/config_misc.html -->
|
||||||
<module name="ArrayTypeStyle"/>
|
<module name="ArrayTypeStyle"/>
|
||||||
<module name="TodoComment"/>
|
|
||||||
<module name="UpperEll"/>
|
<module name="UpperEll"/>
|
||||||
|
|
||||||
</module>
|
</module>
|
||||||
|
|
|
||||||
|
|
@ -77,7 +77,7 @@ public abstract class AbstractPagingController {
|
||||||
}
|
}
|
||||||
|
|
||||||
// This method is deprecated please remove it after updating taskana-simple-history reference to it.
|
// This method is deprecated please remove it after updating taskana-simple-history reference to it.
|
||||||
@Deprecated
|
//TODO: @Deprecated
|
||||||
protected PageMetadata initPageMetadata(String pagesizeParam, String pageParam, long totalElements)
|
protected PageMetadata initPageMetadata(String pagesizeParam, String pageParam, long totalElements)
|
||||||
throws InvalidArgumentException {
|
throws InvalidArgumentException {
|
||||||
long pageSize;
|
long pageSize;
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ import org.springframework.web.util.UriComponentsBuilder;
|
||||||
* Abstract resources assembler for taskana REST controller with pageable resources. This method is deprecated, it can
|
* Abstract resources assembler for taskana REST controller with pageable resources. This method is deprecated, it can
|
||||||
* be removed after fixing taskana-simple-history references
|
* be removed after fixing taskana-simple-history references
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
//TODO: @Deprecated
|
||||||
public abstract class AbstractRessourcesAssembler {
|
public abstract class AbstractRessourcesAssembler {
|
||||||
|
|
||||||
UriComponentsBuilder original = getBuilderForOriginalUri();
|
UriComponentsBuilder original = getBuilderForOriginalUri();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue