From 0c0dd06d3318c6d9df468e83630face6a2910e47 Mon Sep 17 00:00:00 2001 From: Jan-Thurner <107639007+Jan-Thurner@users.noreply.github.com> Date: Fri, 24 May 2024 12:36:10 +0200 Subject: [PATCH 01/17] update to current state of Main Artemis --- .../analysis-of-endpoint-connections.yml | 22 +------ .../build.gradle | 19 +++--- .../AnalysisOfEndpointConnections.java | 58 +++++++++---------- 3 files changed, 41 insertions(+), 58 deletions(-) diff --git a/.github/workflows/analysis-of-endpoint-connections.yml b/.github/workflows/analysis-of-endpoint-connections.yml index b842975a7102..4c6426b46448 100644 --- a/.github/workflows/analysis-of-endpoint-connections.yml +++ b/.github/workflows/analysis-of-endpoint-connections.yml @@ -1,16 +1,5 @@ -name: Analysis-of-Endpoint-Connections - -on: - pull_request: - types: - - opened - - synchronize - paths: - - 'src/main/java/**' - - 'src/main/webapp/**' - jobs: - show-modified-files: + analysis-of-endpoint-connections: timeout-minutes: 10 runs-on: ubuntu-latest steps: @@ -29,11 +18,6 @@ jobs: java-version: '21' distribution: 'adopt' - - name: Build analysis-of-endpoint-connections - run: | - ./gradlew :supporting_scripts:analysis-of-endpoint-connections:build - ./gradlew :supporting_scripts:analysis-of-endpoint-connections:shadowJar - - - name: run analysis-of-endpoint-connections + - name: Run analysis-of-endpoint-connections run: | - java -jar supporting_scripts/analysis-of-endpoint-connections/build/libs/analysis-of-endpoint-connections-1.0-SNAPSHOT-all.jar $(cat modified_files.txt) + ./gradlew :supporting_scripts:analysis-of-endpoint-connections:run --args="$(cat modified_files.txt)" diff --git a/supporting_scripts/analysis-of-endpoint-connections/build.gradle b/supporting_scripts/analysis-of-endpoint-connections/build.gradle index fa3484e5acd3..d511ac449862 100644 --- a/supporting_scripts/analysis-of-endpoint-connections/build.gradle +++ b/supporting_scripts/analysis-of-endpoint-connections/build.gradle @@ -1,6 +1,6 @@ plugins { id 'java' - id 'com.github.johnrengelman.shadow' version '7.1.0' + id 'application' } group 'de.tum.in.www1.artemis' @@ -12,20 +12,19 @@ repositories { dependencies { implementation 'com.thoughtworks.qdox:qdox:2.0-M9' - implementation 'org.springframework.boot:spring-boot-starter-web:2.5.4' - testImplementation 'junit:junit:4.13.2' + implementation "org.springframework.boot:spring-boot-starter-web:${spring_boot_version}" } test { useJUnitPlatform() } -jar { - duplicatesStrategy = DuplicatesStrategy.EXCLUDE - manifest { - attributes 'Main-Class': 'analysisOfEndpointConnections.AnalysisOfEndpointConnections' - } - from { - configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } +application { + mainClass = 'analysisOfEndpointConnections.AnalysisOfEndpointConnections' +} + +run { + if (project.hasProperty('appArgs')) { + args = project.appArgs.split(' ') } } diff --git a/supporting_scripts/analysis-of-endpoint-connections/src/main/java/analysisOfEndpointConnections/AnalysisOfEndpointConnections.java b/supporting_scripts/analysis-of-endpoint-connections/src/main/java/analysisOfEndpointConnections/AnalysisOfEndpointConnections.java index 6a55800a98a6..4b971810c222 100644 --- a/supporting_scripts/analysis-of-endpoint-connections/src/main/java/analysisOfEndpointConnections/AnalysisOfEndpointConnections.java +++ b/supporting_scripts/analysis-of-endpoint-connections/src/main/java/analysisOfEndpointConnections/AnalysisOfEndpointConnections.java @@ -14,28 +14,27 @@ public class AnalysisOfEndpointConnections { /** - * This is the main method which makes use of addNum method. + * This is the entry point of the analysis of server sided endpoints. * - * @param args Unused. + * @param args List of files that should be analyzed regarding endpoints. */ public static void main(String[] args) { -// String[] testArray = new String[2]; -// testArray[0] = "src/main/java/de/tum/in/www1/artemis/web/rest/tutorialgroups/TutorialGroupFreePeriodResource.java"; -// testArray[1] = "src/main/java/de/tum/in/www1/artemis/web/rest//TutorialGroupFreePeriodResource.java"; - String[] serverFiles = Arrays.stream(args).filter(filePath -> new File(filePath).exists() && filePath.endsWith(".java")).toArray(String[]::new); - + if (args.length == 0) { + System.out.println("No files to analyze."); + return; + } + String[] filePaths = args[0].split("\n"); + String[] serverFiles = Arrays.stream(filePaths).map(filePath -> "../../" + filePath).filter(filePath -> new File(filePath).exists() && filePath.endsWith(".java")) + .toArray(String[]::new); analyzeServerEndpoints(serverFiles); } private static void analyzeServerEndpoints(String[] filePaths) { - final List httpMethodFullNames = List.of( - "org.springframework.web.bind.annotation.GetMapping", - "org.springframework.web.bind.annotation.PostMapping", - "org.springframework.web.bind.annotation.PutMapping", - "org.springframework.web.bind.annotation.DeleteMapping", - "org.springframework.web.bind.annotation.PatchMapping" - ); final String requestMappingFullName = "org.springframework.web.bind.annotation.RequestMapping"; + final List httpMethodFullNames = List.of("org.springframework.web.bind.annotation.GetMapping", "org.springframework.web.bind.annotation.PostMapping", + "org.springframework.web.bind.annotation.PutMapping", "org.springframework.web.bind.annotation.DeleteMapping", + "org.springframework.web.bind.annotation.PatchMapping", requestMappingFullName); + JavaProjectBuilder builder = new JavaProjectBuilder(); for (String filePath : filePaths) { builder.addSourceTree(new File(filePath)); @@ -44,23 +43,28 @@ private static void analyzeServerEndpoints(String[] filePaths) { Collection classes = builder.getClasses(); for (JavaClass javaClass : classes) { Optional requestMappingOptional = javaClass.getAnnotations().stream() - .filter(annotation -> - annotation.getType().getFullyQualifiedName().equals(requestMappingFullName)) - .findFirst(); + .filter(annotation -> annotation.getType().getFullyQualifiedName().equals(requestMappingFullName)).findFirst(); + + boolean hasEndpoint = javaClass.getMethods().stream().flatMap(method -> method.getAnnotations().stream()) + .anyMatch(annotation -> httpMethodFullNames.contains(annotation.getType().getFullyQualifiedName())); + + if (hasEndpoint) { + System.out.println("=================================================="); + System.out.println("Class: " + javaClass.getFullyQualifiedName()); + requestMappingOptional.ifPresent(annotation -> System.out.println("Class Request Mapping: " + annotation.getProperty("value"))); + System.out.println("=================================================="); + } + for (JavaMethod method : javaClass.getMethods()) { for (JavaAnnotation annotation : method.getAnnotations()) { if (httpMethodFullNames.contains(annotation.getType().getFullyQualifiedName())) { - if (requestMappingOptional.isPresent()) { - System.out.println("Request Mapping: " + requestMappingOptional.get().getProperty("value")); - }; System.out.println("Endpoint: " + method.getName()); - System.out.println("HTTP Method: " + annotation.getType().getName()); + System.out + .println(requestMappingFullName.equals(annotation.getType().getFullyQualifiedName()) ? "RequestMapping·method: " + annotation.getProperty("method") + : "HTTP method annotation: " + annotation.getType().getName()); System.out.println("Path: " + annotation.getProperty("value")); - System.out.println("Class: " + javaClass.getFullyQualifiedName()); System.out.println("Line: " + method.getLineNumber()); - var annotations = method.getAnnotations().stream() - .filter(a -> !a.equals(annotation)) - .map(a -> a.getType().getName()).toList(); + List annotations = method.getAnnotations().stream().filter(a -> !a.equals(annotation)).map(a -> a.getType().getName()).toList(); System.out.println("Other annotations: " + annotations); System.out.println("---------------------------------------------------"); } @@ -68,8 +72,4 @@ private static void analyzeServerEndpoints(String[] filePaths) { } } } - - private static void analyzeClientRESTCalls(String[] filePaths) { - - } } From b6e60415987725d8df0679ec2fba1974b67a9d3a Mon Sep 17 00:00:00 2001 From: Jan-Thurner <107639007+Jan-Thurner@users.noreply.github.com> Date: Fri, 24 May 2024 12:40:01 +0200 Subject: [PATCH 02/17] testchange --- .../web/rest/tutorialgroups/TutorialGroupFreePeriodResource.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/de/tum/in/www1/artemis/web/rest/tutorialgroups/TutorialGroupFreePeriodResource.java b/src/main/java/de/tum/in/www1/artemis/web/rest/tutorialgroups/TutorialGroupFreePeriodResource.java index 0aac8be34fc0..f92a7d443752 100644 --- a/src/main/java/de/tum/in/www1/artemis/web/rest/tutorialgroups/TutorialGroupFreePeriodResource.java +++ b/src/main/java/de/tum/in/www1/artemis/web/rest/tutorialgroups/TutorialGroupFreePeriodResource.java @@ -33,6 +33,7 @@ @RestController @RequestMapping("api/") public class TutorialGroupFreePeriodResource { + // test change private static final String ENTITY_NAME = "tutorialGroupFreePeriod"; From c02f29f1a89f4caa42f38ee5409afa98bfd881f4 Mon Sep 17 00:00:00 2001 From: Jan-Thurner <107639007+Jan-Thurner@users.noreply.github.com> Date: Fri, 24 May 2024 12:42:39 +0200 Subject: [PATCH 03/17] fix action --- .../workflows/analysis-of-endpoint-connections.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/analysis-of-endpoint-connections.yml b/.github/workflows/analysis-of-endpoint-connections.yml index 4c6426b46448..2d73f13af207 100644 --- a/.github/workflows/analysis-of-endpoint-connections.yml +++ b/.github/workflows/analysis-of-endpoint-connections.yml @@ -1,3 +1,14 @@ +name: Analysis-of-Endpoint-Connections + +on: + pull_request: + types: + - opened + - synchronize + paths: + - 'src/main/java/**' + - 'src/main/webapp/**' + jobs: analysis-of-endpoint-connections: timeout-minutes: 10 From 42ef7f0b76b3dd79aecf0a86ad54b457d744054b Mon Sep 17 00:00:00 2001 From: Jan-Thurner <107639007+Jan-Thurner@users.noreply.github.com> Date: Fri, 24 May 2024 12:44:31 +0200 Subject: [PATCH 04/17] remove "include 'supporting_scripts:analysis-of-endpoint-connections'" --- settings.gradle | 2 -- 1 file changed, 2 deletions(-) diff --git a/settings.gradle b/settings.gradle index dc8897e1b9b1..a077d360727f 100644 --- a/settings.gradle +++ b/settings.gradle @@ -11,5 +11,3 @@ pluginManagement { } rootProject.name = 'Artemis' - -include 'supporting_scripts:analysis-of-endpoint-connections' From b0b3795e2acbaa6140e59c27a6afd683ce82c8c0 Mon Sep 17 00:00:00 2001 From: Jan-Thurner <107639007+Jan-Thurner@users.noreply.github.com> Date: Fri, 24 May 2024 13:08:12 +0200 Subject: [PATCH 05/17] reuse dependencies fromm root project --- build.gradle | 7 +++++-- .../analysis-of-endpoint-connections/build.gradle | 6 ++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 99046ee3f71c..b9cbd0a0de9c 100644 --- a/build.gradle +++ b/build.gradle @@ -197,6 +197,9 @@ repositories { ext["jackson.version"] = fasterxml_version ext["junit-jupiter.version"] = junit_version +ext { qDox = "com.thoughtworks.qdox:qdox:2.1.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 dom4j@1.6.1) @@ -263,7 +266,7 @@ dependencies { } } - implementation "com.thoughtworks.qdox:qdox:2.1.0" + implementation qDox implementation "io.sentry:sentry-logback:${sentry_version}" implementation "io.sentry:sentry-spring-boot-starter-jakarta:${sentry_version}" @@ -328,7 +331,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("org.springframework.boot:spring-boot-starter-web:${spring_boot_version}") { + implementation(springBootStarterWeb) { exclude module: "spring-boot-starter-undertow" } implementation "org.springframework.boot:spring-boot-starter-tomcat:${spring_boot_version}" diff --git a/supporting_scripts/analysis-of-endpoint-connections/build.gradle b/supporting_scripts/analysis-of-endpoint-connections/build.gradle index d511ac449862..36c1ec3db4da 100644 --- a/supporting_scripts/analysis-of-endpoint-connections/build.gradle +++ b/supporting_scripts/analysis-of-endpoint-connections/build.gradle @@ -10,9 +10,11 @@ repositories { mavenCentral() } +evaluationDependsOn(':') + dependencies { - implementation 'com.thoughtworks.qdox:qdox:2.0-M9' - implementation "org.springframework.boot:spring-boot-starter-web:${spring_boot_version}" + implementation rootProject.ext.qDox + implementation rootProject.ext.springBootStarterWeb } test { From 9eb645d07908e3e08db00285de2653f421086998 Mon Sep 17 00:00:00 2001 From: Jan-Thurner <107639007+Jan-Thurner@users.noreply.github.com> Date: Fri, 24 May 2024 13:10:56 +0200 Subject: [PATCH 06/17] include 'supporting_scripts:analysis-of-endpoint-connections' --- settings.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/settings.gradle b/settings.gradle index a077d360727f..dc8897e1b9b1 100644 --- a/settings.gradle +++ b/settings.gradle @@ -11,3 +11,5 @@ pluginManagement { } rootProject.name = 'Artemis' + +include 'supporting_scripts:analysis-of-endpoint-connections' From 89dcc4eb7017c8467bff22cf62b7e1117d268b03 Mon Sep 17 00:00:00 2001 From: Jan-Thurner <107639007+Jan-Thurner@users.noreply.github.com> Date: Fri, 24 May 2024 13:18:45 +0200 Subject: [PATCH 07/17] testChange --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index b9cbd0a0de9c..b8282ceb99df 100644 --- a/build.gradle +++ b/build.gradle @@ -197,7 +197,7 @@ repositories { ext["jackson.version"] = fasterxml_version ext["junit-jupiter.version"] = junit_version -ext { qDox = "com.thoughtworks.qdox:qdox:2.1.0" } +ext [ qDox = "com.thoughtworks.qdox:qdox:2.1.0" ] ext { springBootStarterWeb = "org.springframework.boot:spring-boot-starter-web:${spring_boot_version}" } dependencies { From 2577e7c7d4d76976bb2d604a3e71a9eb0f53f751 Mon Sep 17 00:00:00 2001 From: Jan-Thurner <107639007+Jan-Thurner@users.noreply.github.com> Date: Fri, 24 May 2024 13:20:32 +0200 Subject: [PATCH 08/17] testChange --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index b8282ceb99df..67ab836c3095 100644 --- a/build.gradle +++ b/build.gradle @@ -197,7 +197,7 @@ repositories { ext["jackson.version"] = fasterxml_version ext["junit-jupiter.version"] = junit_version -ext [ qDox = "com.thoughtworks.qdox:qdox:2.1.0" ] +ext ["com.thoughtworks.qdox:qdox:2.1.0"] = qDox ext { springBootStarterWeb = "org.springframework.boot:spring-boot-starter-web:${spring_boot_version}" } dependencies { From 6409dd21e0f6cb982f00f297a38331adf235d468 Mon Sep 17 00:00:00 2001 From: Jan-Thurner <107639007+Jan-Thurner@users.noreply.github.com> Date: Fri, 24 May 2024 13:23:06 +0200 Subject: [PATCH 09/17] reverted some testChange --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 67ab836c3095..b9cbd0a0de9c 100644 --- a/build.gradle +++ b/build.gradle @@ -197,7 +197,7 @@ repositories { ext["jackson.version"] = fasterxml_version ext["junit-jupiter.version"] = junit_version -ext ["com.thoughtworks.qdox:qdox:2.1.0"] = qDox +ext { qDox = "com.thoughtworks.qdox:qdox:2.1.0" } ext { springBootStarterWeb = "org.springframework.boot:spring-boot-starter-web:${spring_boot_version}" } dependencies { From 11227d724ea2077a67ce656618d05164a829a66b Mon Sep 17 00:00:00 2001 From: Jan-Thurner <107639007+Jan-Thurner@users.noreply.github.com> Date: Fri, 24 May 2024 15:34:22 +0200 Subject: [PATCH 10/17] rename package --- .../AnalysisOfEndpointConnections.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename supporting_scripts/analysis-of-endpoint-connections/src/main/java/{analysisOfEndpointConnections => de.tum.cit.artemis.endpointanalysis}/AnalysisOfEndpointConnections.java (99%) diff --git a/supporting_scripts/analysis-of-endpoint-connections/src/main/java/analysisOfEndpointConnections/AnalysisOfEndpointConnections.java b/supporting_scripts/analysis-of-endpoint-connections/src/main/java/de.tum.cit.artemis.endpointanalysis/AnalysisOfEndpointConnections.java similarity index 99% rename from supporting_scripts/analysis-of-endpoint-connections/src/main/java/analysisOfEndpointConnections/AnalysisOfEndpointConnections.java rename to supporting_scripts/analysis-of-endpoint-connections/src/main/java/de.tum.cit.artemis.endpointanalysis/AnalysisOfEndpointConnections.java index 4b971810c222..0496c8e83db8 100644 --- a/supporting_scripts/analysis-of-endpoint-connections/src/main/java/analysisOfEndpointConnections/AnalysisOfEndpointConnections.java +++ b/supporting_scripts/analysis-of-endpoint-connections/src/main/java/de.tum.cit.artemis.endpointanalysis/AnalysisOfEndpointConnections.java @@ -1,4 +1,4 @@ -package analysisOfEndpointConnections; +package endpointanalysis; import java.io.File; import java.util.Arrays; From 78129af31cb907ff8e2c6ae991ff233eb54d1a22 Mon Sep 17 00:00:00 2001 From: Jan-Thurner <107639007+Jan-Thurner@users.noreply.github.com> Date: Fri, 24 May 2024 15:36:54 +0200 Subject: [PATCH 11/17] rename package --- .../analysis-of-endpoint-connections/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supporting_scripts/analysis-of-endpoint-connections/build.gradle b/supporting_scripts/analysis-of-endpoint-connections/build.gradle index 36c1ec3db4da..d453b3dd3d6b 100644 --- a/supporting_scripts/analysis-of-endpoint-connections/build.gradle +++ b/supporting_scripts/analysis-of-endpoint-connections/build.gradle @@ -22,7 +22,7 @@ test { } application { - mainClass = 'analysisOfEndpointConnections.AnalysisOfEndpointConnections' + mainClassName = 'de.tum.cit.artemis.endpointanalysis.AnalysisOfEndpointConnections' } run { From 31a933bb0a63c6b3c4a8ebe6c5297ffd83f30325 Mon Sep 17 00:00:00 2001 From: Jan-Thurner <107639007+Jan-Thurner@users.noreply.github.com> Date: Fri, 24 May 2024 15:39:34 +0200 Subject: [PATCH 12/17] rename package --- .github/workflows/analysis-of-endpoint-connections.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/analysis-of-endpoint-connections.yml b/.github/workflows/analysis-of-endpoint-connections.yml index 2d73f13af207..e8a13655f9bc 100644 --- a/.github/workflows/analysis-of-endpoint-connections.yml +++ b/.github/workflows/analysis-of-endpoint-connections.yml @@ -31,4 +31,4 @@ jobs: - name: Run analysis-of-endpoint-connections run: | - ./gradlew :supporting_scripts:analysis-of-endpoint-connections:run --args="$(cat modified_files.txt)" + ./gradlew :supporting_scripts:de.tum.cit.artemis.endpointanalysis:run --args="$(cat modified_files.txt)" From a4f95c07d36c753e0f7c153b9ac94f1b1c6ccfdd Mon Sep 17 00:00:00 2001 From: Jan-Thurner <107639007+Jan-Thurner@users.noreply.github.com> Date: Fri, 24 May 2024 15:46:08 +0200 Subject: [PATCH 13/17] rename package --- .github/workflows/analysis-of-endpoint-connections.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/analysis-of-endpoint-connections.yml b/.github/workflows/analysis-of-endpoint-connections.yml index e8a13655f9bc..6c96094df59b 100644 --- a/.github/workflows/analysis-of-endpoint-connections.yml +++ b/.github/workflows/analysis-of-endpoint-connections.yml @@ -31,4 +31,4 @@ jobs: - name: Run analysis-of-endpoint-connections run: | - ./gradlew :supporting_scripts:de.tum.cit.artemis.endpointanalysis:run --args="$(cat modified_files.txt)" + ./gradlew :supporting_scripts:endpointanalysis:run --args="$(cat modified_files.txt)" From 3cceb42e606e035aeacb2065e013892f3abbb7d1 Mon Sep 17 00:00:00 2001 From: Jan-Thurner <107639007+Jan-Thurner@users.noreply.github.com> Date: Fri, 24 May 2024 15:49:03 +0200 Subject: [PATCH 14/17] rename package --- settings.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings.gradle b/settings.gradle index dc8897e1b9b1..480a4b8a2242 100644 --- a/settings.gradle +++ b/settings.gradle @@ -12,4 +12,4 @@ pluginManagement { rootProject.name = 'Artemis' -include 'supporting_scripts:analysis-of-endpoint-connections' +include 'supporting_scripts:endpointanalysis' From 4471e12e30daca8f90bc760d8c4e02dd23b1f576 Mon Sep 17 00:00:00 2001 From: Jan-Thurner <107639007+Jan-Thurner@users.noreply.github.com> Date: Fri, 24 May 2024 15:52:25 +0200 Subject: [PATCH 15/17] rename package --- .../AnalysisOfEndpointConnections.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supporting_scripts/analysis-of-endpoint-connections/src/main/java/de.tum.cit.artemis.endpointanalysis/AnalysisOfEndpointConnections.java b/supporting_scripts/analysis-of-endpoint-connections/src/main/java/de.tum.cit.artemis.endpointanalysis/AnalysisOfEndpointConnections.java index 0496c8e83db8..15bd8b6c99a7 100644 --- a/supporting_scripts/analysis-of-endpoint-connections/src/main/java/de.tum.cit.artemis.endpointanalysis/AnalysisOfEndpointConnections.java +++ b/supporting_scripts/analysis-of-endpoint-connections/src/main/java/de.tum.cit.artemis.endpointanalysis/AnalysisOfEndpointConnections.java @@ -1,4 +1,4 @@ -package endpointanalysis; +package de.tum.cit.artemis.endpointanalysis; import java.io.File; import java.util.Arrays; From c9eef67ba7374a41b42881805ce1b197959df6a1 Mon Sep 17 00:00:00 2001 From: Jan-Thurner <107639007+Jan-Thurner@users.noreply.github.com> Date: Fri, 24 May 2024 15:57:15 +0200 Subject: [PATCH 16/17] rename package --- settings.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings.gradle b/settings.gradle index 480a4b8a2242..dc8897e1b9b1 100644 --- a/settings.gradle +++ b/settings.gradle @@ -12,4 +12,4 @@ pluginManagement { rootProject.name = 'Artemis' -include 'supporting_scripts:endpointanalysis' +include 'supporting_scripts:analysis-of-endpoint-connections' From 5a3c9c9656f04b138a59b42f3416491904c67ca3 Mon Sep 17 00:00:00 2001 From: Jan-Thurner <107639007+Jan-Thurner@users.noreply.github.com> Date: Fri, 24 May 2024 15:59:52 +0200 Subject: [PATCH 17/17] rename package --- .github/workflows/analysis-of-endpoint-connections.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/analysis-of-endpoint-connections.yml b/.github/workflows/analysis-of-endpoint-connections.yml index 6c96094df59b..2d73f13af207 100644 --- a/.github/workflows/analysis-of-endpoint-connections.yml +++ b/.github/workflows/analysis-of-endpoint-connections.yml @@ -31,4 +31,4 @@ jobs: - name: Run analysis-of-endpoint-connections run: | - ./gradlew :supporting_scripts:endpointanalysis:run --args="$(cat modified_files.txt)" + ./gradlew :supporting_scripts:analysis-of-endpoint-connections:run --args="$(cat modified_files.txt)"