fixed documentation smoke tests
This commit is contained in:
parent
d96b1c392a
commit
42e6c9bb47
|
@ -7,7 +7,7 @@ test 200 -eq "$(curl -sw "%{http_code}" -o /dev/null "$BASE_URL/docs/rest/rest-a
|
|||
test 200 -eq "$(curl -sw "%{http_code}" -o /dev/null "$BASE_URL/docs/rest/simplehistory-rest-api.html")"
|
||||
test 200 -eq "$(curl -sw "%{http_code}" -o /dev/null "$BASE_URL/docs/rest/routing-rest-api.html")"
|
||||
for module in taskana-core taskana-spring; do
|
||||
test 200 -eq "$(curl -sw "%{http_code}" -o /dev/null "$BASE_URL/docs/java/$module/pro/taskana/package-summary.html")"
|
||||
test 200 -eq "$(curl -sw "%{http_code}" -o /dev/null "$BASE_URL/docs/java/$module/index.html")"
|
||||
done
|
||||
for module in taskana-cdi; do
|
||||
test 200 -eq "$(curl -sw "%{http_code}" -o /dev/null "$BASE_URL/docs/java/$module/pro/taskana/common/internal/package-summary.html")"
|
||||
|
|
|
@ -12,12 +12,15 @@ JAR_FILE_LOCATION="$REL/../rest/taskana-rest-spring-example-boot/target/taskana-
|
|||
set -x
|
||||
test -e "$JAR_FILE_LOCATION"
|
||||
set +x
|
||||
JAR_CONTENT=$(jar tf "$JAR_FILE_LOCATION")
|
||||
JAR_CONTENT=$(jar -tf "$JAR_FILE_LOCATION")
|
||||
set -x
|
||||
|
||||
verifyDocs "$REL/../lib/taskana-core/target/apidocs" "/static/docs/java/taskana-core"
|
||||
verifyDocs "$REL/../lib/taskana-cdi/target/apidocs" "/static/docs/java/taskana-cdi"
|
||||
verifyDocs "$REL/../lib/taskana-spring/target/apidocs" "/static/docs/java/taskana-spring"
|
||||
test -n "$(jar -tf "$JAR_FILE_LOCATION" | grep /static/docs/java/taskana-core/index.html)"
|
||||
test -n "$(jar -tf "$JAR_FILE_LOCATION" | grep /static/docs/java/taskana-spring/index.html)"
|
||||
test -n "$(jar -tf "$JAR_FILE_LOCATION" | grep /static/docs/java/taskana-cdi/pro/taskana/common/internal/package-summary.html)"
|
||||
test -n "$(jar -tf "$JAR_FILE_LOCATION" | grep /static/docs/rest/rest-api.html)"
|
||||
test -n "$(jar -tf "$JAR_FILE_LOCATION" | grep /static/docs/rest/simplehistory-rest-api.html)"
|
||||
test -n "$(jar -tf "$JAR_FILE_LOCATION" | grep /static/docs/rest/routing-rest-api.html)"
|
||||
|
|
|
@ -2,7 +2,6 @@ package pro.taskana.spi.history.api;
|
|||
|
||||
import java.util.List;
|
||||
import pro.taskana.common.api.TaskanaEngine;
|
||||
import pro.taskana.common.api.TaskanaRole;
|
||||
import pro.taskana.common.api.exceptions.InvalidArgumentException;
|
||||
import pro.taskana.common.api.exceptions.NotAuthorizedException;
|
||||
import pro.taskana.spi.history.api.events.classification.ClassificationHistoryEvent;
|
||||
|
@ -46,7 +45,7 @@ public interface TaskanaHistory {
|
|||
* @param taskIds the task ids for which all history events must be deleted
|
||||
* @throws InvalidArgumentException If the list of taskIds is null
|
||||
* @throws NotAuthorizedException if the current user is not member of {@linkplain
|
||||
* TaskanaRole#ADMIN}
|
||||
* pro.taskana.common.api.TaskanaRole#ADMIN}
|
||||
*/
|
||||
void deleteHistoryEventsByTaskIds(List<String> taskIds)
|
||||
throws InvalidArgumentException, NotAuthorizedException;
|
||||
|
|
Loading…
Reference in New Issue