Commit acd8c826 authored by Lückemeyer's avatar Lückemeyer
Browse files

removed dtt remnants

No related merge requests found
Showing with 500 additions and 500 deletions
+500 -500
...@@ -52,7 +52,7 @@ public class TaskUpload { ...@@ -52,7 +52,7 @@ public class TaskUpload {
LOG.info("submission for testing received"); LOG.info("submission for testing received");
LOG.debug("creating new temporary directory"); LOG.debug("creating new temporary directory");
Path workDirectory = Files.createTempDirectory(testTmpPath, "dtt"); Path workDirectory = Files.createTempDirectory(testTmpPath, "dta");
LOG.debug(String.format("working dir for test is: %s", workDirectory.toAbsolutePath().toString())); LOG.debug(String.format("working dir for test is: %s", workDirectory.toAbsolutePath().toString()));
// define paths for the test, the submission and where the result is to be expected afterwards // define paths for the test, the submission and where the result is to be expected afterwards
...@@ -61,7 +61,7 @@ public class TaskUpload { ...@@ -61,7 +61,7 @@ public class TaskUpload {
String mimeInfo = new Tika().detect(taskFileRef.getInputStream()); String mimeInfo = new Tika().detect(taskFileRef.getInputStream());
switch (mimeInfo) { switch (mimeInfo) {
case "text/plain": case "text/plain":
LOG.debug("textfile uploaded, searching for dtt config"); LOG.debug("textfile uploaded, searching for dta config");
// find URI in config file // find URI in config file
Matcher config = RegexUtil.findStudentConfig(taskFileRef.getInputStream()); Matcher config = RegexUtil.findStudentConfig(taskFileRef.getInputStream());
......
...@@ -79,7 +79,7 @@ public class UnitTestUpload { ...@@ -79,7 +79,7 @@ public class UnitTestUpload {
while (config == null && (line = br.readLine()) != null) { while (config == null && (line = br.readLine()) != null) {
Matcher matcher = pattern.matcher(line); Matcher matcher = pattern.matcher(line);
if (matcher.matches()) { if (matcher.matches()) {
LOG.debug(String.format("found dtt test line: %s", line)); LOG.debug(String.format("found dta test line: %s", line));
config = matcher; config = matcher;
} }
} }
......
...@@ -59,7 +59,7 @@ public class RegexUtil { ...@@ -59,7 +59,7 @@ public class RegexUtil {
while (config == null && (line = br.readLine()) != null) { while (config == null && (line = br.readLine()) != null) {
Matcher matcher = pattern.matcher(line); Matcher matcher = pattern.matcher(line);
if (matcher.matches()) { if (matcher.matches()) {
LOG.debug(String.format("found dtt line: %s", line)); LOG.debug(String.format("found dta line: %s", line));
config = matcher; config = matcher;
} }
} }
......
...@@ -26,7 +26,7 @@ public class UnifiedTicketingUtil { ...@@ -26,7 +26,7 @@ public class UnifiedTicketingUtil {
private final static Logger LOG = LogManager.getLogger(UnifiedTicketingUtil.class); private final static Logger LOG = LogManager.getLogger(UnifiedTicketingUtil.class);
private final static String LABEL = "DTT created"; private final static String LABEL = "DTA created";
private final static String TITLE = " | " + LABEL; private final static String TITLE = " | " + LABEL;
public static String createTicketDescriptionFromResult(TicketSystem ts, Result result, boolean compilationError) { public static String createTicketDescriptionFromResult(TicketSystem ts, Result result, boolean compilationError) {
...@@ -114,7 +114,7 @@ public class UnifiedTicketingUtil { ...@@ -114,7 +114,7 @@ public class UnifiedTicketingUtil {
// depending on label support, identify tickets by label or title containing string // depending on label support, identify tickets by label or title containing string
if (ts.hasLabelSupport()) { if (ts.hasLabelSupport()) {
LOG.debug(String.format( LOG.debug(String.format(
"ticketsystem has label support, using label %s to find dtt tickets", LABEL)); "ticketsystem has label support, using label %s to find dta tickets", LABEL));
f.withLabel(LABEL); f.withLabel(LABEL);
} }
else { else {
......
...@@ -7,7 +7,7 @@ spring.http.multipart.max-file-size=5Mb ...@@ -7,7 +7,7 @@ spring.http.multipart.max-file-size=5Mb
############################################### ###############################################
# Holds the uploaded Zip-Files # Holds the uploaded Zip-Files
tests.tmp.dir=/tmp/dta-tests tests.tmp.dir=~/dta-tests
host.tests.tmp.dir=${tests.tmp.dir} host.tests.tmp.dir=${tests.tmp.dir}
data.dir=/data data.dir=/data
data.dir.test.folder.name=UnitTests data.dir.test.folder.name=UnitTests
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment