Merge branch 'master' of https://github.com/eugenp/tutorials into BAEL-9696
This commit is contained in:
commit
2eefb41ecd
|
@ -17,7 +17,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-dependencies</artifactId>
|
<artifactId>spring-boot-dependencies</artifactId>
|
||||||
<version>1.5.16.RELEASE</version>
|
<version>${spring-boot.version}</version>
|
||||||
<type>pom</type>
|
<type>pom</type>
|
||||||
<scope>import</scope>
|
<scope>import</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
@ -42,7 +42,7 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||||
<version>1.5.15.RELEASE</version>
|
<version>${spring-boot.version}</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</pluginManagement>
|
</pluginManagement>
|
||||||
|
@ -50,6 +50,7 @@
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<rest-assured.version>3.1.0</rest-assured.version>
|
<rest-assured.version>3.1.0</rest-assured.version>
|
||||||
|
<spring-boot.version>1.5.16.RELEASE</spring-boot.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
</project>
|
</project>
|
|
@ -42,8 +42,20 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||||
|
<version>${spring-boot.version}</version>
|
||||||
|
<configuration>
|
||||||
|
<mainClass>com.baeldung.activitiwithspring.ActivitiWithSpringApplication</mainClass>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<start-class>com.example.activitiwithspring.ActivitiWithSpringApplication</start-class>
|
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||||
<activiti.version>6.0.0</activiti.version>
|
<activiti.version>6.0.0</activiti.version>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.example.activitiwithspring;
|
package com.baeldung.activitiwithspring;
|
||||||
|
|
||||||
import org.activiti.engine.RuntimeService;
|
import org.activiti.engine.RuntimeService;
|
||||||
import org.activiti.engine.TaskService;
|
import org.activiti.engine.TaskService;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.example.activitiwithspring;
|
package com.baeldung.activitiwithspring;
|
||||||
|
|
||||||
import org.springframework.boot.SpringApplication;
|
import org.springframework.boot.SpringApplication;
|
||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.example.activitiwithspring;
|
package com.baeldung.activitiwithspring;
|
||||||
|
|
||||||
class TaskRepresentation {
|
class TaskRepresentation {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.example.activitiwithspring.servicetasks;
|
package com.baeldung.activitiwithspring.servicetasks;
|
||||||
|
|
||||||
import org.activiti.engine.delegate.DelegateExecution;
|
import org.activiti.engine.delegate.DelegateExecution;
|
||||||
import org.activiti.engine.delegate.JavaDelegate;
|
import org.activiti.engine.delegate.JavaDelegate;
|
|
@ -1,11 +1,11 @@
|
||||||
package org.baeldung;
|
package com.baeldung;
|
||||||
|
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
import org.springframework.boot.test.context.SpringBootTest;
|
import org.springframework.boot.test.context.SpringBootTest;
|
||||||
import org.springframework.test.context.junit4.SpringRunner;
|
import org.springframework.test.context.junit4.SpringRunner;
|
||||||
|
|
||||||
import com.example.activitiwithspring.ActivitiWithSpringApplication;
|
import com.baeldung.activitiwithspring.ActivitiWithSpringApplication;
|
||||||
|
|
||||||
@RunWith(SpringRunner.class)
|
@RunWith(SpringRunner.class)
|
||||||
@SpringBootTest(classes = ActivitiWithSpringApplication.class)
|
@SpringBootTest(classes = ActivitiWithSpringApplication.class)
|
|
@ -1,5 +1,6 @@
|
||||||
package com.example.activitiwithspring;
|
package com.baeldung.activitiwithspring;
|
||||||
|
|
||||||
|
import com.baeldung.activitiwithspring.TaskRepresentation;
|
||||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||||
import org.activiti.engine.RuntimeService;
|
import org.activiti.engine.RuntimeService;
|
||||||
import org.activiti.engine.runtime.ProcessInstance;
|
import org.activiti.engine.runtime.ProcessInstance;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.example.activitiwithspring;
|
package com.baeldung.activitiwithspring;
|
||||||
|
|
||||||
import org.activiti.engine.IdentityService;
|
import org.activiti.engine.IdentityService;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.example.activitiwithspring;
|
package com.baeldung.activitiwithspring;
|
||||||
|
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.example.activitiwithspring;
|
package com.baeldung.activitiwithspring;
|
||||||
|
|
||||||
import org.activiti.engine.ProcessEngine;
|
import org.activiti.engine.ProcessEngine;
|
||||||
import org.activiti.engine.ProcessEngineConfiguration;
|
import org.activiti.engine.ProcessEngineConfiguration;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.example.activitiwithspring;
|
package com.baeldung.activitiwithspring;
|
||||||
|
|
||||||
|
|
||||||
import org.activiti.engine.ActivitiException;
|
import org.activiti.engine.ActivitiException;
|
Loading…
Reference in New Issue