TSK-1439: Removed all @author tags in *.java files
This commit is contained in:
parent
3849ee385f
commit
9c2453659a
|
@ -5,7 +5,6 @@ import java.util.List;
|
|||
/**
|
||||
* Main query interface.
|
||||
*
|
||||
* @author EH
|
||||
* @param <T> specifies the return type of the follwing methods
|
||||
* @param <U> specifies the type of the enum used
|
||||
*/
|
||||
|
@ -90,11 +89,7 @@ public interface BaseQuery<T, U extends Enum<U> & QueryColumnName> {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines the sort direction.
|
||||
*
|
||||
* @author bbr
|
||||
*/
|
||||
/** Determines the sort direction. */
|
||||
enum SortDirection {
|
||||
ASCENDING("ASC"),
|
||||
DESCENDING("DESC");
|
||||
|
|
|
@ -2,11 +2,7 @@ package pro.taskana.common.api;
|
|||
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* This class encapsulates key - domain pairs for identification of workbaskets.
|
||||
*
|
||||
* @author bbr
|
||||
*/
|
||||
/** This class encapsulates key - domain pairs for identification of workbaskets. */
|
||||
public class KeyDomain {
|
||||
|
||||
private String key;
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
package pro.taskana.common.api;
|
||||
|
||||
/**
|
||||
* This interface ist used to emulate an extensible enum for use in the Basequery interface.
|
||||
*
|
||||
* @author jsa
|
||||
*/
|
||||
/** This interface is used to emulate an extensible enum for use in the Basequery interface. */
|
||||
public interface QueryColumnName {}
|
||||
|
|
|
@ -6,8 +6,6 @@ import java.util.Objects;
|
|||
/**
|
||||
* Capture a time interval. A fixed interval has defined begin and end Instant. An open ended
|
||||
* interval has either begin == null or end ==null.
|
||||
*
|
||||
* @author bbr
|
||||
*/
|
||||
public class TimeInterval {
|
||||
|
||||
|
|
|
@ -3,8 +3,6 @@ package pro.taskana.common.api.exceptions;
|
|||
/**
|
||||
* This exception is thrown when an attempt is made to update an object that has already been
|
||||
* updated by another user.
|
||||
*
|
||||
* @author bbr
|
||||
*/
|
||||
public class ConcurrencyException extends TaskanaException {
|
||||
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
package pro.taskana.common.api.exceptions;
|
||||
|
||||
/**
|
||||
* This exception is thrown when a method is called with invalid argument.
|
||||
*
|
||||
* @author bbr
|
||||
*/
|
||||
/** This exception is thrown when a method is called with invalid argument. */
|
||||
public class InvalidArgumentException extends TaskanaException {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
package pro.taskana.common.api.exceptions;
|
||||
|
||||
/**
|
||||
* common base class for Taskana's checked exceptions.
|
||||
*
|
||||
* @author bbr
|
||||
*/
|
||||
/** common base class for Taskana's checked exceptions. */
|
||||
public class TaskanaException extends Exception {
|
||||
|
||||
private static final long serialVersionUID = 123234345123412L;
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
package pro.taskana.common.api.exceptions;
|
||||
|
||||
/**
|
||||
* Common base class for Taskana's runtime exceptions.
|
||||
*
|
||||
* @author bbr
|
||||
*/
|
||||
/** Common base class for Taskana's runtime exceptions. */
|
||||
public class TaskanaRuntimeException extends RuntimeException {
|
||||
|
||||
private static final long serialVersionUID = 1511142769801824L;
|
||||
|
|
|
@ -11,11 +11,7 @@ import java.util.TimeZone;
|
|||
import org.apache.ibatis.type.BaseTypeHandler;
|
||||
import org.apache.ibatis.type.JdbcType;
|
||||
|
||||
/**
|
||||
* Instruct jdbc driver to interpret timestamps as being in utc timezone.
|
||||
*
|
||||
* @author bbr
|
||||
*/
|
||||
/** Instruct jdbc driver to interpret timestamps as being in utc timezone. */
|
||||
public class InstantTypeHandler extends BaseTypeHandler<Instant> {
|
||||
|
||||
@Override
|
||||
|
|
|
@ -12,11 +12,7 @@ import org.json.JSONObject;
|
|||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
* This Typehandler will transfer a Map into an xml blob and back.
|
||||
*
|
||||
* @author EH
|
||||
*/
|
||||
/** This Typehandler will transfer a Map into an xml blob and back. */
|
||||
public class MapTypeHandler extends BaseTypeHandler<Map<String, Object>> {
|
||||
|
||||
private static final Logger LOGGER = LoggerFactory.getLogger(MapTypeHandler.class);
|
||||
|
|
|
@ -4,7 +4,6 @@ package pro.taskana.common.internal.transaction;
|
|||
* represents a callable Object.
|
||||
*
|
||||
* @param <T> the type of the returned objects.
|
||||
* @author bbr
|
||||
*/
|
||||
@FunctionalInterface
|
||||
public interface TaskanaCallable<T> {
|
||||
|
|
|
@ -2,11 +2,7 @@ package pro.taskana.simplehistory.impl.task;
|
|||
|
||||
import pro.taskana.common.api.QueryColumnName;
|
||||
|
||||
/**
|
||||
* Enum containing the column names for {@link TaskHistoryQueryMapper#queryHistoryColumnValues}.
|
||||
*
|
||||
* @author bv
|
||||
*/
|
||||
/** Enum containing the column names for {@link TaskHistoryQueryMapper#queryHistoryColumnValues}. */
|
||||
public enum TaskHistoryQueryColumnName implements QueryColumnName {
|
||||
ID("id"),
|
||||
BUSINESS_PROCESS_ID("business_process_id"),
|
||||
|
|
|
@ -9,11 +9,7 @@ import org.junit.jupiter.api.Test;
|
|||
import pro.taskana.TaskanaEngineConfiguration;
|
||||
import pro.taskana.common.api.TaskanaEngine;
|
||||
|
||||
/**
|
||||
* Unit Test for TaskanaEngineConfigurationTest.
|
||||
*
|
||||
* @author MMR
|
||||
*/
|
||||
/** Unit Test for TaskanaEngineConfigurationTest. */
|
||||
class TaskanaEngineConfigurationTest extends AbstractAccTest {
|
||||
|
||||
@Test
|
||||
|
|
|
@ -5,8 +5,6 @@ import pro.taskana.common.api.QueryColumnName;
|
|||
/**
|
||||
* Enum containing the column names for {@link
|
||||
* pro.taskana.classification.internal.ClassificationQueryMapper#queryClassificationColumnValues}.
|
||||
*
|
||||
* @author jsa
|
||||
*/
|
||||
public enum ClassificationQueryColumnName implements QueryColumnName {
|
||||
ID("id"),
|
||||
|
|
|
@ -18,11 +18,7 @@ import pro.taskana.common.api.exceptions.SystemException;
|
|||
import pro.taskana.common.api.exceptions.TaskanaRuntimeException;
|
||||
import pro.taskana.common.internal.InternalTaskanaEngine;
|
||||
|
||||
/**
|
||||
* Implementation of ClassificationQuery interface.
|
||||
*
|
||||
* @author EH
|
||||
*/
|
||||
/** Implementation of ClassificationQuery interface. */
|
||||
public class ClassificationQueryImpl implements ClassificationQuery {
|
||||
|
||||
private static final String LINK_TO_SUMMARYMAPPER =
|
||||
|
|
|
@ -13,11 +13,7 @@ import pro.taskana.common.internal.jobs.AbstractTaskanaJob;
|
|||
import pro.taskana.common.internal.transaction.TaskanaTransactionProvider;
|
||||
import pro.taskana.task.internal.TaskServiceImpl;
|
||||
|
||||
/**
|
||||
* This class executes a job of type CLASSIFICATIONCHANGEDJOB.
|
||||
*
|
||||
* @author bbr
|
||||
*/
|
||||
/** This class executes a job of type CLASSIFICATIONCHANGEDJOB. */
|
||||
public class ClassificationChangedJob extends AbstractTaskanaJob {
|
||||
|
||||
public static final String TASK_IDS = "taskIds";
|
||||
|
|
|
@ -10,11 +10,7 @@ import pro.taskana.task.internal.jobs.TaskCleanupJob;
|
|||
import pro.taskana.task.internal.jobs.TaskRefreshJob;
|
||||
import pro.taskana.workbasket.internal.jobs.WorkbasketCleanupJob;
|
||||
|
||||
/**
|
||||
* This class holds all data that go into the Job table.
|
||||
*
|
||||
* @author bbr
|
||||
*/
|
||||
/** This class holds all data that go into the Job table. */
|
||||
public class ScheduledJob {
|
||||
|
||||
Map<String, String> arguments;
|
||||
|
@ -166,11 +162,7 @@ public class ScheduledJob {
|
|||
+ "]";
|
||||
}
|
||||
|
||||
/**
|
||||
* This enum tracks the state of a job.
|
||||
*
|
||||
* @author bbr
|
||||
*/
|
||||
/** This enum tracks the state of a job. */
|
||||
public enum State {
|
||||
READY,
|
||||
FAILED
|
||||
|
|
|
@ -5,8 +5,6 @@ import pro.taskana.common.api.QueryColumnName;
|
|||
/**
|
||||
* Enum containing the column names for {@link
|
||||
* pro.taskana.task.internal.TaskQueryMapper#queryObjectReferenceColumnValues}.
|
||||
*
|
||||
* @author jsa
|
||||
*/
|
||||
public enum ObjectReferenceQueryColumnName implements QueryColumnName {
|
||||
ID("id"),
|
||||
|
|
|
@ -2,11 +2,7 @@ package pro.taskana.task.api.exceptions;
|
|||
|
||||
import pro.taskana.common.api.exceptions.TaskanaException;
|
||||
|
||||
/**
|
||||
* This exception is thrown when the task state doesn't allow the requested operation.
|
||||
*
|
||||
* @author bbr
|
||||
*/
|
||||
/** This exception is thrown when the task state doesn't allow the requested operation. */
|
||||
public class InvalidOwnerException extends TaskanaException {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
|
|
@ -2,11 +2,7 @@ package pro.taskana.task.api.exceptions;
|
|||
|
||||
import pro.taskana.common.api.exceptions.TaskanaException;
|
||||
|
||||
/**
|
||||
* This exception is thrown when the task state doesn't allow the requested operation.
|
||||
*
|
||||
* @author bbr
|
||||
*/
|
||||
/** This exception is thrown when the task state doesn't allow the requested operation. */
|
||||
public class InvalidStateException extends TaskanaException {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
|
|
@ -14,11 +14,7 @@ import pro.taskana.task.api.ObjectReferenceQuery;
|
|||
import pro.taskana.task.api.ObjectReferenceQueryColumnName;
|
||||
import pro.taskana.task.api.models.ObjectReference;
|
||||
|
||||
/**
|
||||
* Implementation of ObjectReferenceQuery interface.
|
||||
*
|
||||
* @author EH
|
||||
*/
|
||||
/** Implementation of ObjectReferenceQuery interface. */
|
||||
public class ObjectReferenceQueryImpl implements ObjectReferenceQuery {
|
||||
|
||||
private static final String LINK_TO_MAPPER =
|
||||
|
|
|
@ -13,11 +13,7 @@ import pro.taskana.common.internal.jobs.AbstractTaskanaJob;
|
|||
import pro.taskana.common.internal.transaction.TaskanaTransactionProvider;
|
||||
import pro.taskana.task.internal.TaskServiceImpl;
|
||||
|
||||
/**
|
||||
* This class executes a job of type CLASSIFICATIONCHANGEDJOB.
|
||||
*
|
||||
* @author bbr
|
||||
*/
|
||||
/** This class executes a job of type CLASSIFICATIONCHANGEDJOB. */
|
||||
public class TaskRefreshJob extends AbstractTaskanaJob {
|
||||
|
||||
public static final String TASK_IDS = "taskIds";
|
||||
|
|
|
@ -7,11 +7,7 @@ import java.util.Objects;
|
|||
import pro.taskana.task.api.models.Attachment;
|
||||
import pro.taskana.task.api.models.AttachmentSummary;
|
||||
|
||||
/**
|
||||
* Attachment entity.
|
||||
*
|
||||
* @author bbr
|
||||
*/
|
||||
/** Attachment entity. */
|
||||
public class AttachmentImpl extends AttachmentSummaryImpl implements Attachment {
|
||||
|
||||
private Map<String, String> customAttributes = new HashMap<>();
|
||||
|
|
|
@ -5,8 +5,6 @@ import pro.taskana.common.api.QueryColumnName;
|
|||
/**
|
||||
* Enum containing the column names for {@link
|
||||
* pro.taskana.workbasket.internal.WorkbasketQueryMapper#queryWorkbasketAccessItemColumnValues}.
|
||||
*
|
||||
* @author jsa
|
||||
*/
|
||||
public enum AccessItemQueryColumnName implements QueryColumnName {
|
||||
ID("id"),
|
||||
|
|
|
@ -5,8 +5,6 @@ import pro.taskana.common.api.QueryColumnName;
|
|||
/**
|
||||
* Enum containing the column names for
|
||||
* pro.taskana.workbasket.internal.WorkbasketQueryMapper.queryWorkbasketColumnValues.
|
||||
*
|
||||
* @author jsa
|
||||
*/
|
||||
public enum WorkbasketQueryColumnName implements QueryColumnName {
|
||||
OWNER("w.owner"),
|
||||
|
|
|
@ -5,8 +5,6 @@ import pro.taskana.common.api.exceptions.TaskanaException;
|
|||
/**
|
||||
* This exception is thrown when a request is made to insert or update a workbasket that is missing
|
||||
* a required property.
|
||||
*
|
||||
* @author bbr
|
||||
*/
|
||||
public class InvalidWorkbasketException extends TaskanaException {
|
||||
|
||||
|
|
|
@ -5,8 +5,6 @@ import pro.taskana.workbasket.api.WorkbasketPermission;
|
|||
/**
|
||||
* Interface for WorkbasketAccessItem. This interface is used to control access of users to
|
||||
* workbaskets.
|
||||
*
|
||||
* @author bbr
|
||||
*/
|
||||
public interface WorkbasketAccessItem {
|
||||
|
||||
|
|
|
@ -23,11 +23,7 @@ import pro.taskana.workbasket.api.WorkbasketQueryColumnName;
|
|||
import pro.taskana.workbasket.api.WorkbasketType;
|
||||
import pro.taskana.workbasket.api.models.WorkbasketSummary;
|
||||
|
||||
/**
|
||||
* WorkbasketQuery for generating dynamic SQL.
|
||||
*
|
||||
* @author bbr
|
||||
*/
|
||||
/** WorkbasketQuery for generating dynamic SQL. */
|
||||
public class WorkbasketQueryImpl implements WorkbasketQuery {
|
||||
|
||||
private static final String LINK_TO_MAPPER =
|
||||
|
|
|
@ -19,11 +19,7 @@ import pro.taskana.TaskanaEngineConfiguration;
|
|||
import pro.taskana.common.internal.TaskanaEngineImpl;
|
||||
import pro.taskana.common.internal.TaskanaEngineTestConfiguration;
|
||||
|
||||
/**
|
||||
* Test taskana configuration without roles.
|
||||
*
|
||||
* @author bbr
|
||||
*/
|
||||
/** Test taskana configuration without roles. */
|
||||
class TaskanaConfigAccTest extends TaskanaEngineImpl {
|
||||
|
||||
TaskanaConfigAccTest() throws Exception {
|
||||
|
|
|
@ -18,11 +18,7 @@ import pro.taskana.common.api.TaskanaRole;
|
|||
import pro.taskana.common.internal.TaskanaEngineImpl;
|
||||
import pro.taskana.common.internal.TaskanaEngineTestConfiguration;
|
||||
|
||||
/**
|
||||
* Test taskana's role configuration.
|
||||
*
|
||||
* @author bbr
|
||||
*/
|
||||
/** Test taskana's role configuration. */
|
||||
class TaskanaRoleConfigAccTest extends TaskanaEngineImpl {
|
||||
|
||||
TaskanaRoleConfigAccTest() throws Exception {
|
||||
|
|
|
@ -12,11 +12,7 @@ import pro.taskana.classification.api.models.ClassificationSummary;
|
|||
import pro.taskana.common.test.security.JaasExtension;
|
||||
import pro.taskana.common.test.security.WithAccessId;
|
||||
|
||||
/**
|
||||
* Acceptance test for classification queries and authorization.
|
||||
*
|
||||
* @author bbr
|
||||
*/
|
||||
/** Acceptance test for classification queries and authorization. */
|
||||
@ExtendWith(JaasExtension.class)
|
||||
class ClassificationQueryAccTest extends AbstractAccTest {
|
||||
|
||||
|
|
|
@ -17,11 +17,7 @@ import pro.taskana.classification.api.models.ClassificationSummary;
|
|||
import pro.taskana.classification.internal.models.ClassificationSummaryImpl;
|
||||
import pro.taskana.common.internal.InternalTaskanaEngine;
|
||||
|
||||
/**
|
||||
* Test for ClassificationQueryImpl.
|
||||
*
|
||||
* @author EH
|
||||
*/
|
||||
/** Test for ClassificationQueryImpl. */
|
||||
@ExtendWith(MockitoExtension.class)
|
||||
class ClassificationQueryImplTest {
|
||||
|
||||
|
|
|
@ -24,11 +24,7 @@ import pro.taskana.common.internal.TaskanaEngineImpl;
|
|||
import pro.taskana.common.internal.TaskanaEngineTestConfiguration;
|
||||
import pro.taskana.sampledata.SampleDataGenerator;
|
||||
|
||||
/**
|
||||
* Integration Test for ClassificationServiceImpl with connection management mode AUTOCOMMIT.
|
||||
*
|
||||
* @author EH
|
||||
*/
|
||||
/** Integration Test for ClassificationServiceImpl with connection management mode AUTOCOMMIT. */
|
||||
class ClassificationServiceImplIntAutoCommitTest {
|
||||
|
||||
private static SampleDataGenerator sampleDataGenerator;
|
||||
|
|
|
@ -29,11 +29,7 @@ import pro.taskana.common.internal.TaskanaEngineTestConfiguration;
|
|||
import pro.taskana.common.internal.util.IdGenerator;
|
||||
import pro.taskana.sampledata.SampleDataGenerator;
|
||||
|
||||
/**
|
||||
* Integration Test for ClassificationServiceImpl with connection management mode EXPLICIT.
|
||||
*
|
||||
* @author BBR
|
||||
*/
|
||||
/** Integration Test for ClassificationServiceImpl with connection management mode EXPLICIT. */
|
||||
class ClassificationServiceImplIntExplicitTest {
|
||||
|
||||
static int counter = 0;
|
||||
|
|
|
@ -21,11 +21,7 @@ import pro.taskana.common.api.TaskanaEngine;
|
|||
import pro.taskana.common.api.exceptions.InvalidArgumentException;
|
||||
import pro.taskana.common.internal.InternalTaskanaEngine;
|
||||
|
||||
/**
|
||||
* Unit Test for ClassificationServiceImpl.
|
||||
*
|
||||
* @author EH
|
||||
*/
|
||||
/** Unit Test for ClassificationServiceImpl. */
|
||||
@ExtendWith(MockitoExtension.class)
|
||||
class ClassificationServiceImplTest {
|
||||
|
||||
|
|
|
@ -5,11 +5,7 @@ import org.apache.ibatis.session.SqlSession;
|
|||
|
||||
import pro.taskana.common.api.TaskanaEngine;
|
||||
|
||||
/**
|
||||
* Utility class to enable unit tests to access mappers directly.
|
||||
*
|
||||
* @author bbr
|
||||
*/
|
||||
/** Utility class to enable unit tests to access mappers directly. */
|
||||
public class TaskanaEngineProxy {
|
||||
|
||||
private final InternalTaskanaEngine engine;
|
||||
|
|
|
@ -11,11 +11,7 @@ import org.apache.ibatis.datasource.pooled.PooledDataSource;
|
|||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
* Integration Test for TaskanaEngineConfiguration.
|
||||
*
|
||||
* @author EH
|
||||
*/
|
||||
/** Integration Test for TaskanaEngineConfiguration. */
|
||||
public final class TaskanaEngineTestConfiguration {
|
||||
|
||||
private static final Logger LOGGER =
|
||||
|
|
|
@ -4,11 +4,7 @@ import pro.taskana.task.api.models.Attachment;
|
|||
import pro.taskana.task.api.models.ObjectReference;
|
||||
import pro.taskana.task.internal.models.AttachmentImpl;
|
||||
|
||||
/**
|
||||
* This class contains helper methods for Junit Tests.
|
||||
*
|
||||
* @author bbr
|
||||
*/
|
||||
/** This class contains helper methods for Junit Tests. */
|
||||
public final class JunitHelper {
|
||||
|
||||
private JunitHelper() {}
|
||||
|
|
|
@ -16,11 +16,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
|
|||
import pro.taskana.common.internal.InternalTaskanaEngine;
|
||||
import pro.taskana.task.api.models.ObjectReference;
|
||||
|
||||
/**
|
||||
* Test for ObjectReferenceQueryImpl.
|
||||
*
|
||||
* @author EH
|
||||
*/
|
||||
/** Test for ObjectReferenceQueryImpl. */
|
||||
@ExtendWith(MockitoExtension.class)
|
||||
class ObjectReferenceQueryImplTest {
|
||||
|
||||
|
|
|
@ -22,11 +22,7 @@ import pro.taskana.task.api.TaskState;
|
|||
import pro.taskana.task.api.models.TaskSummary;
|
||||
import pro.taskana.task.internal.models.TaskSummaryImpl;
|
||||
|
||||
/**
|
||||
* Test for TaskQueryImpl.
|
||||
*
|
||||
* @author EH
|
||||
*/
|
||||
/** Test for TaskQueryImpl. */
|
||||
@ExtendWith(MockitoExtension.class)
|
||||
class TaskQueryImplTest {
|
||||
|
||||
|
|
|
@ -41,11 +41,7 @@ import pro.taskana.workbasket.api.models.Workbasket;
|
|||
import pro.taskana.workbasket.api.models.WorkbasketAccessItem;
|
||||
import pro.taskana.workbasket.internal.models.WorkbasketImpl;
|
||||
|
||||
/**
|
||||
* Integration Test for TaskServiceImpl transactions with connection management mode AUTOCOMMIT.
|
||||
*
|
||||
* @author EH
|
||||
*/
|
||||
/** Integration Test for TaskServiceImpl transactions with connection management mode AUTOCOMMIT. */
|
||||
@ExtendWith(JaasExtension.class)
|
||||
class TaskServiceImplIntAutocommitTest {
|
||||
|
||||
|
|
|
@ -47,11 +47,7 @@ import pro.taskana.workbasket.api.models.WorkbasketAccessItem;
|
|||
import pro.taskana.workbasket.internal.models.WorkbasketImpl;
|
||||
import pro.taskana.workbasket.internal.models.WorkbasketSummaryImpl;
|
||||
|
||||
/**
|
||||
* Integration Test for TaskServiceImpl transactions with connection management mode EXPLICIT.
|
||||
*
|
||||
* @author EH
|
||||
*/
|
||||
/** Integration Test for TaskServiceImpl transactions with connection management mode EXPLICIT. */
|
||||
@ExtendWith(JaasExtension.class)
|
||||
class TaskServiceImplIntExplicitTest {
|
||||
|
||||
|
|
|
@ -19,11 +19,7 @@ import pro.taskana.task.internal.models.TaskImpl;
|
|||
import pro.taskana.workbasket.api.WorkbasketService;
|
||||
import pro.taskana.workbasket.api.models.Workbasket;
|
||||
|
||||
/**
|
||||
* Unit Test for TaskServiceImpl.
|
||||
*
|
||||
* @author EH
|
||||
*/
|
||||
/** Unit Test for TaskServiceImpl. */
|
||||
@ExtendWith(MockitoExtension.class)
|
||||
class TaskServiceImplTest {
|
||||
|
||||
|
|
|
@ -27,11 +27,7 @@ import pro.taskana.workbasket.api.WorkbasketPermission;
|
|||
import pro.taskana.workbasket.api.WorkbasketService;
|
||||
import pro.taskana.workbasket.api.models.Workbasket;
|
||||
|
||||
/**
|
||||
* Unit Test for TaskServiceImpl.
|
||||
*
|
||||
* @author EH
|
||||
*/
|
||||
/** Unit Test for TaskServiceImpl. */
|
||||
@ExtendWith(MockitoExtension.class)
|
||||
class TaskTransferrerTest {
|
||||
|
||||
|
|
|
@ -17,11 +17,7 @@ import pro.taskana.common.internal.InternalTaskanaEngine;
|
|||
import pro.taskana.workbasket.api.models.WorkbasketAccessItem;
|
||||
import pro.taskana.workbasket.internal.models.WorkbasketAccessItemImpl;
|
||||
|
||||
/**
|
||||
* Test for WorkbasketAccessItemQueryImpl.
|
||||
*
|
||||
* @author jsa
|
||||
*/
|
||||
/** Test for WorkbasketAccessItemQueryImpl. */
|
||||
@ExtendWith(MockitoExtension.class)
|
||||
class WorkbasketAccessItemQueryImplTest {
|
||||
|
||||
|
|
|
@ -20,11 +20,7 @@ import pro.taskana.common.internal.InternalTaskanaEngine;
|
|||
import pro.taskana.workbasket.api.models.WorkbasketSummary;
|
||||
import pro.taskana.workbasket.internal.models.WorkbasketSummaryImpl;
|
||||
|
||||
/**
|
||||
* Test for WorkbasketQueryImpl.
|
||||
*
|
||||
* @author jsa
|
||||
*/
|
||||
/** Test for WorkbasketQueryImpl. */
|
||||
@ExtendWith(MockitoExtension.class)
|
||||
class WorkbasketQueryImplTest {
|
||||
|
||||
|
|
|
@ -29,11 +29,7 @@ import pro.taskana.workbasket.api.models.WorkbasketAccessItem;
|
|||
import pro.taskana.workbasket.api.models.WorkbasketSummary;
|
||||
import pro.taskana.workbasket.internal.models.WorkbasketImpl;
|
||||
|
||||
/**
|
||||
* Integration Test for workbasketServiceImpl with connection management mode AUTOCOMMIT.
|
||||
*
|
||||
* @author EH
|
||||
*/
|
||||
/** Integration Test for workbasketServiceImpl with connection management mode AUTOCOMMIT. */
|
||||
@ExtendWith(JaasExtension.class)
|
||||
class WorkbasketServiceImplIntAutocommitTest {
|
||||
|
||||
|
|
|
@ -30,11 +30,7 @@ import pro.taskana.workbasket.api.models.WorkbasketAccessItem;
|
|||
import pro.taskana.workbasket.api.models.WorkbasketSummary;
|
||||
import pro.taskana.workbasket.internal.models.WorkbasketImpl;
|
||||
|
||||
/**
|
||||
* Integration Test for workbasketServiceImpl with connection mode EXPLICIT.
|
||||
*
|
||||
* @author bbr
|
||||
*/
|
||||
/** Integration Test for workbasketServiceImpl with connection mode EXPLICIT. */
|
||||
@ExtendWith(JaasExtension.class)
|
||||
class WorkbasketServiceImplIntExplicitTest {
|
||||
|
||||
|
|
|
@ -42,11 +42,7 @@ import pro.taskana.workbasket.api.models.WorkbasketAccessItem;
|
|||
import pro.taskana.workbasket.internal.models.WorkbasketAccessItemImpl;
|
||||
import pro.taskana.workbasket.internal.models.WorkbasketImpl;
|
||||
|
||||
/**
|
||||
* Unit Test for workbasketServiceImpl.
|
||||
*
|
||||
* @author EH
|
||||
*/
|
||||
/** Unit Test for workbasketServiceImpl. */
|
||||
@ExtendWith(MockitoExtension.class)
|
||||
class WorkbasketServiceImplTest {
|
||||
|
||||
|
|
|
@ -18,11 +18,7 @@ import pro.taskana.common.api.exceptions.NotAuthorizedException;
|
|||
import pro.taskana.common.rest.ldap.LdapClient;
|
||||
import pro.taskana.common.rest.models.AccessIdRepresentationModel;
|
||||
|
||||
/**
|
||||
* Controller for access id validation.
|
||||
*
|
||||
* @author bbr
|
||||
*/
|
||||
/** Controller for access id validation. */
|
||||
@RestController
|
||||
@EnableHypermediaSupport(type = HypermediaType.HAL)
|
||||
public class AccessIdController {
|
||||
|
|
|
@ -4,11 +4,7 @@ import java.util.Date;
|
|||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.web.context.request.WebRequest;
|
||||
|
||||
/**
|
||||
* This class holds error data.
|
||||
*
|
||||
* @author bbr
|
||||
*/
|
||||
/** This class holds error data. */
|
||||
public class TaskanaErrorData {
|
||||
|
||||
private final Date timestamp;
|
||||
|
|
|
@ -26,11 +26,7 @@ import pro.taskana.workbasket.api.exceptions.WorkbasketAccessItemAlreadyExistExc
|
|||
import pro.taskana.workbasket.api.exceptions.WorkbasketAlreadyExistException;
|
||||
import pro.taskana.workbasket.api.exceptions.WorkbasketInUseException;
|
||||
|
||||
/**
|
||||
* This class handles taskana exceptions.
|
||||
*
|
||||
* @author bbr
|
||||
*/
|
||||
/** This class handles taskana exceptions. */
|
||||
@Order(Ordered.HIGHEST_PRECEDENCE)
|
||||
@ControllerAdvice
|
||||
public class TaskanaRestExceptionHandler extends ResponseEntityExceptionHandler {
|
||||
|
|
|
@ -27,11 +27,7 @@ import pro.taskana.common.api.exceptions.InvalidArgumentException;
|
|||
import pro.taskana.common.api.exceptions.SystemException;
|
||||
import pro.taskana.common.rest.models.AccessIdRepresentationModel;
|
||||
|
||||
/**
|
||||
* Class for Ldap access.
|
||||
*
|
||||
* @author bbr
|
||||
*/
|
||||
/** Class for Ldap access. */
|
||||
@Component
|
||||
public class LdapClient {
|
||||
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
package pro.taskana.common.rest.models;
|
||||
|
||||
/**
|
||||
* resource class for access id validation.
|
||||
*
|
||||
* @author bbr
|
||||
*/
|
||||
/** resource class for access id validation. */
|
||||
public class AccessIdRepresentationModel {
|
||||
|
||||
private String name;
|
||||
|
|
|
@ -24,11 +24,7 @@ import pro.taskana.common.rest.models.TaskanaPagedModel;
|
|||
import pro.taskana.common.test.rest.RestHelper;
|
||||
import pro.taskana.common.test.rest.TaskanaSpringBootTest;
|
||||
|
||||
/**
|
||||
* Test ClassificationController.
|
||||
*
|
||||
* @author bbr
|
||||
*/
|
||||
/** Test ClassificationController. */
|
||||
@TaskanaSpringBootTest
|
||||
class ClassificationControllerIntTest {
|
||||
|
||||
|
|
Loading…
Reference in New Issue