From 96e86876054123a6178a225639bdff514b22d010 Mon Sep 17 00:00:00 2001 From: milenasrb Date: Tue, 29 Oct 2024 20:45:20 +0100 Subject: [PATCH] Fix poetry for github workflows --- .github/workflows/generate-intelligence-service-client.yml | 4 ++-- .../de/tum/in/www1/hephaestus/intelligenceapi/ApiClient.java | 2 +- .../de/tum/in/www1/hephaestus/intelligenceapi/BaseApi.java | 2 +- .../in/www1/hephaestus/intelligenceapi/JavaTimeFormatter.java | 2 +- .../in/www1/hephaestus/intelligenceapi/RFC3339DateFormat.java | 2 +- .../www1/hephaestus/intelligenceapi/ServerConfiguration.java | 2 +- .../in/www1/hephaestus/intelligenceapi/ServerVariable.java | 2 +- .../in/www1/hephaestus/intelligenceapi/api/DefaultApi.java | 2 +- .../in/www1/hephaestus/intelligenceapi/auth/ApiKeyAuth.java | 2 +- .../www1/hephaestus/intelligenceapi/auth/HttpBasicAuth.java | 2 +- .../www1/hephaestus/intelligenceapi/auth/HttpBearerAuth.java | 2 +- .../in/www1/hephaestus/intelligenceapi/model/ChatRequest.java | 2 +- .../www1/hephaestus/intelligenceapi/model/ChatResponse.java | 2 +- .../hephaestus/intelligenceapi/model/HTTPValidationError.java | 2 +- .../hephaestus/intelligenceapi/model/ValidationError.java | 2 +- .../intelligenceapi/model/ValidationErrorLocInner.java | 2 +- 16 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/generate-intelligence-service-client.yml b/.github/workflows/generate-intelligence-service-client.yml index 6a7d2c35..4a2443c2 100644 --- a/.github/workflows/generate-intelligence-service-client.yml +++ b/.github/workflows/generate-intelligence-service-client.yml @@ -64,8 +64,8 @@ jobs: run: poetry install --no-interaction - name: Generate API client for the intelligence service - run: npm run generate:api:intelligence-service - + run: poetry run npm run generate:api:intelligence-service + - name: Check for changes in the API id: check_changes run: | diff --git a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/ApiClient.java b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/ApiClient.java index 12df2eed..7b2f1071 100644 --- a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/ApiClient.java +++ b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/ApiClient.java @@ -58,7 +58,7 @@ import de.tum.in.www1.hephaestus.intelligenceapi.auth.Authentication; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-29T19:30:44.172496+01:00[Europe/Berlin]", comments = "Generator version: 7.7.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-29T19:53:57.523401+01:00[Europe/Berlin]", comments = "Generator version: 7.7.0") @Component("de.tum.in.www1.hephaestus.intelligenceapi.ApiClient") public class ApiClient extends JavaTimeFormatter { public enum CollectionFormat { diff --git a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/BaseApi.java b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/BaseApi.java index 933f532c..abcb2ea6 100644 --- a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/BaseApi.java +++ b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/BaseApi.java @@ -5,7 +5,7 @@ import org.springframework.http.HttpMethod; import org.springframework.http.ResponseEntity; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-29T19:30:44.172496+01:00[Europe/Berlin]", comments = "Generator version: 7.7.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-29T19:53:57.523401+01:00[Europe/Berlin]", comments = "Generator version: 7.7.0") public abstract class BaseApi { protected ApiClient apiClient; diff --git a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/JavaTimeFormatter.java b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/JavaTimeFormatter.java index 81d88315..f5be0b8b 100644 --- a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/JavaTimeFormatter.java +++ b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/JavaTimeFormatter.java @@ -20,7 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-29T19:30:44.172496+01:00[Europe/Berlin]", comments = "Generator version: 7.7.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-29T19:53:57.523401+01:00[Europe/Berlin]", comments = "Generator version: 7.7.0") public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/RFC3339DateFormat.java b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/RFC3339DateFormat.java index fec724b1..51f04a3b 100644 --- a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/RFC3339DateFormat.java +++ b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/RFC3339DateFormat.java @@ -22,7 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-29T19:30:44.172496+01:00[Europe/Berlin]", comments = "Generator version: 7.7.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-29T19:53:57.523401+01:00[Europe/Berlin]", comments = "Generator version: 7.7.0") public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/ServerConfiguration.java b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/ServerConfiguration.java index 0a77c4e8..4fcb64c1 100644 --- a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/ServerConfiguration.java +++ b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/ServerConfiguration.java @@ -5,7 +5,7 @@ /** * Representing a Server configuration. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-29T19:30:44.172496+01:00[Europe/Berlin]", comments = "Generator version: 7.7.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-29T19:53:57.523401+01:00[Europe/Berlin]", comments = "Generator version: 7.7.0") public class ServerConfiguration { public String URL; public String description; diff --git a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/ServerVariable.java b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/ServerVariable.java index fc330105..a08397e6 100644 --- a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/ServerVariable.java +++ b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/ServerVariable.java @@ -5,7 +5,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-29T19:30:44.172496+01:00[Europe/Berlin]", comments = "Generator version: 7.7.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-29T19:53:57.523401+01:00[Europe/Berlin]", comments = "Generator version: 7.7.0") public class ServerVariable { public String description; public String defaultValue; diff --git a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/api/DefaultApi.java b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/api/DefaultApi.java index 732b5972..b4d47087 100644 --- a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/api/DefaultApi.java +++ b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/api/DefaultApi.java @@ -28,7 +28,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-29T19:30:44.172496+01:00[Europe/Berlin]", comments = "Generator version: 7.7.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-29T19:53:57.523401+01:00[Europe/Berlin]", comments = "Generator version: 7.7.0") @Component("de.tum.in.www1.hephaestus.intelligenceapi.api.DefaultApi") public class DefaultApi extends BaseApi { diff --git a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/auth/ApiKeyAuth.java b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/auth/ApiKeyAuth.java index a6182bab..8380140e 100644 --- a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/auth/ApiKeyAuth.java +++ b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/auth/ApiKeyAuth.java @@ -3,7 +3,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-29T19:30:44.172496+01:00[Europe/Berlin]", comments = "Generator version: 7.7.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-29T19:53:57.523401+01:00[Europe/Berlin]", comments = "Generator version: 7.7.0") public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/auth/HttpBasicAuth.java b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/auth/HttpBasicAuth.java index fd7992d5..8029c112 100644 --- a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/auth/HttpBasicAuth.java +++ b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/auth/HttpBasicAuth.java @@ -6,7 +6,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-29T19:30:44.172496+01:00[Europe/Berlin]", comments = "Generator version: 7.7.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-29T19:53:57.523401+01:00[Europe/Berlin]", comments = "Generator version: 7.7.0") public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/auth/HttpBearerAuth.java b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/auth/HttpBearerAuth.java index 4d9c2cf6..bdf1f859 100644 --- a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/auth/HttpBearerAuth.java +++ b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/auth/HttpBearerAuth.java @@ -5,7 +5,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-29T19:30:44.172496+01:00[Europe/Berlin]", comments = "Generator version: 7.7.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-29T19:53:57.523401+01:00[Europe/Berlin]", comments = "Generator version: 7.7.0") public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; diff --git a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/model/ChatRequest.java b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/model/ChatRequest.java index fa9c89b1..2086e0e1 100644 --- a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/model/ChatRequest.java +++ b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/model/ChatRequest.java @@ -30,7 +30,7 @@ @JsonPropertyOrder({ ChatRequest.JSON_PROPERTY_MESSAGE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-29T19:30:44.172496+01:00[Europe/Berlin]", comments = "Generator version: 7.7.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-29T19:53:57.523401+01:00[Europe/Berlin]", comments = "Generator version: 7.7.0") public class ChatRequest { public static final String JSON_PROPERTY_MESSAGE = "message"; private String message; diff --git a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/model/ChatResponse.java b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/model/ChatResponse.java index 904528e8..d21b03a3 100644 --- a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/model/ChatResponse.java +++ b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/model/ChatResponse.java @@ -30,7 +30,7 @@ @JsonPropertyOrder({ ChatResponse.JSON_PROPERTY_RESPONSE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-29T19:30:44.172496+01:00[Europe/Berlin]", comments = "Generator version: 7.7.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-29T19:53:57.523401+01:00[Europe/Berlin]", comments = "Generator version: 7.7.0") public class ChatResponse { public static final String JSON_PROPERTY_RESPONSE = "response"; private String response; diff --git a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/model/HTTPValidationError.java b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/model/HTTPValidationError.java index d1ded315..0f513858 100644 --- a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/model/HTTPValidationError.java +++ b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/model/HTTPValidationError.java @@ -34,7 +34,7 @@ @JsonPropertyOrder({ HTTPValidationError.JSON_PROPERTY_DETAIL }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-29T19:30:44.172496+01:00[Europe/Berlin]", comments = "Generator version: 7.7.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-29T19:53:57.523401+01:00[Europe/Berlin]", comments = "Generator version: 7.7.0") public class HTTPValidationError { public static final String JSON_PROPERTY_DETAIL = "detail"; private List detail = new ArrayList<>(); diff --git a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/model/ValidationError.java b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/model/ValidationError.java index a81f87d2..b16bc3e7 100644 --- a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/model/ValidationError.java +++ b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/model/ValidationError.java @@ -36,7 +36,7 @@ ValidationError.JSON_PROPERTY_MSG, ValidationError.JSON_PROPERTY_TYPE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-29T19:30:44.172496+01:00[Europe/Berlin]", comments = "Generator version: 7.7.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-29T19:53:57.523401+01:00[Europe/Berlin]", comments = "Generator version: 7.7.0") public class ValidationError { public static final String JSON_PROPERTY_LOC = "loc"; private List loc = new ArrayList<>(); diff --git a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/model/ValidationErrorLocInner.java b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/model/ValidationErrorLocInner.java index b4d5b259..0ec5c292 100644 --- a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/model/ValidationErrorLocInner.java +++ b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceapi/model/ValidationErrorLocInner.java @@ -26,7 +26,7 @@ @JsonPropertyOrder({ }) @JsonTypeName("ValidationError_loc_inner") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-29T19:30:44.172496+01:00[Europe/Berlin]", comments = "Generator version: 7.7.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-29T19:53:57.523401+01:00[Europe/Berlin]", comments = "Generator version: 7.7.0") public class ValidationErrorLocInner { public ValidationErrorLocInner() { }