-
Notifications
You must be signed in to change notification settings - Fork 297
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feature/adaptive-learning/learner-profile
- Loading branch information
Showing
103 changed files
with
1,088 additions
and
4,116 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ plugins { | |
id "com.github.ben-manes.versions" version "0.51.0" | ||
id "com.github.andygoossens.modernizer" version "${modernizer_plugin_version}" | ||
id "com.gorylenko.gradle-git-properties" version "2.4.2" | ||
id "org.owasp.dependencycheck" version "11.1.0" | ||
id "org.owasp.dependencycheck" version "11.1.1" | ||
id "com.adarshr.test-logger" version "4.0.0" | ||
} | ||
|
||
|
@@ -96,9 +96,10 @@ spotless { | |
@Override | ||
String apply(String s, File file) throws Exception { | ||
if (s =~ /\nimport .*\*;/) { | ||
throw new AssertionError("Do not use wildcard imports. spotlessApply cannot resolve this issue.\n" + | ||
throw new IllegalArgumentException("Do not use wildcard imports. spotlessApply cannot resolve this issue.\n" + | ||
"The following file violates this rule: " + file.getName()) | ||
} | ||
return s // Ensure a value is returned after processing | ||
} | ||
})) | ||
} | ||
|
@@ -180,13 +181,13 @@ jacocoTestCoverageVerification { | |
counter = "INSTRUCTION" | ||
value = "COVEREDRATIO" | ||
// TODO: in the future the following value should become higher than 0.92 | ||
minimum = 0.893 | ||
minimum = 0.892 | ||
} | ||
limit { | ||
counter = "CLASS" | ||
value = "MISSEDCOUNT" | ||
// TODO: in the future the following value should become less than 10 | ||
maximum = 64 | ||
maximum = 65 | ||
} | ||
} | ||
} | ||
|
@@ -212,18 +213,11 @@ repositories { | |
maven { | ||
url "https://build.shibboleth.net/maven/releases" | ||
} | ||
// TODO: remove this when spring cloud is available in the official maven repository | ||
maven { | ||
url "https://repo.spring.io/milestone" | ||
} | ||
} | ||
|
||
ext["jackson.version"] = fasterxml_version | ||
ext["junit-jupiter.version"] = junit_version | ||
|
||
ext { qDoxVersionReusable = "com.thoughtworks.qdox:qdox:2.2.0" } | ||
ext { springBootStarterWeb = "org.springframework.boot:spring-boot-starter-web:${spring_boot_version}" } | ||
|
||
dependencies { | ||
|
||
// Note: jenkins-client is not well maintained and includes dependencies to libraries with critical security issues (e.g. CVE-2020-10683 for [email protected]) | ||
|
@@ -297,7 +291,7 @@ dependencies { | |
implementation "org.apache.sshd:sshd-sftp:${sshd_version}" | ||
|
||
// https://mvnrepository.com/artifact/net.sourceforge.plantuml/plantuml | ||
implementation "net.sourceforge.plantuml:plantuml:1.2024.7" | ||
implementation "net.sourceforge.plantuml:plantuml:1.2024.8" | ||
implementation "org.jasypt:jasypt:1.9.3" | ||
implementation "me.xdrop:fuzzywuzzy:1.4.0" | ||
implementation("org.yaml:snakeyaml") { | ||
|
@@ -307,7 +301,7 @@ dependencies { | |
} | ||
} | ||
|
||
implementation qDoxVersionReusable | ||
implementation "com.thoughtworks.qdox:qdox:2.2.0" | ||
implementation "io.sentry:sentry-logback:${sentry_version}" | ||
implementation "io.sentry:sentry-spring-boot-starter-jakarta:${sentry_version}" | ||
|
||
|
@@ -328,10 +322,6 @@ dependencies { | |
implementation "org.jsoup:jsoup:1.18.3" | ||
implementation "commons-codec:commons-codec:1.17.1" // needed for spring security saml2 | ||
|
||
// TODO: decide if we want to use OpenAPI and Swagger v3 | ||
// implementation 'io.swagger.core.v3:swagger-annotations:2.2.23' | ||
// implementation "org.springdoc:springdoc-openapi-ui:1.8.0" | ||
|
||
// use the latest version to avoid security vulnerabilities | ||
implementation "org.springframework:spring-webmvc:${spring_framework_version}" | ||
|
||
|
@@ -393,7 +383,7 @@ dependencies { | |
implementation "org.springframework.boot:spring-boot-starter-aop:${spring_boot_version}" | ||
implementation "org.springframework.boot:spring-boot-starter-data-jpa:${spring_boot_version}" | ||
implementation "org.springframework.boot:spring-boot-starter-security:${spring_boot_version}" | ||
implementation(springBootStarterWeb) { | ||
implementation("org.springframework.boot:spring-boot-starter-web:${spring_boot_version}") { | ||
exclude module: "spring-boot-starter-undertow" | ||
} | ||
implementation "org.springframework.boot:spring-boot-starter-tomcat:${spring_boot_version}" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
src/main/java/de/tum/cit/aet/artemis/buildagent/dto/DockerFlagsDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package de.tum.cit.aet.artemis.buildagent.dto; | ||
|
||
import java.util.Map; | ||
|
||
public record DockerFlagsDTO(String network, Map<String, String> env) { | ||
} |
7 changes: 7 additions & 0 deletions
7
src/main/java/de/tum/cit/aet/artemis/buildagent/dto/DockerRunConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package de.tum.cit.aet.artemis.buildagent.dto; | ||
|
||
import java.io.Serializable; | ||
import java.util.List; | ||
|
||
public record DockerRunConfig(boolean isNetworkDisabled, List<String> env) implements Serializable { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.