From 037fed35e40661297878ca9ea3a218a233ad18e4 Mon Sep 17 00:00:00 2001 From: Stefan Yonkov <156345010+s-yonkov-yonkov@users.noreply.github.com> Date: Thu, 27 Nov 2025 17:25:21 +0200 Subject: [PATCH 1/7] update dependencies (#1732) # Conflicts: # pom.xml --- multiapps-controller-api/pom.xml | 6 +- multiapps-controller-client/pom.xml | 4 +- multiapps-controller-core/pom.xml | 2 +- multiapps-controller-process/pom.xml | 2 +- multiapps-controller-web/pom.xml | 2 +- .../configuration/DatabaseConfiguration.java | 1 - .../FileStorageConfiguration.java | 2 - pom.xml | 80 +++++++------------ 8 files changed, 37 insertions(+), 62 deletions(-) diff --git a/multiapps-controller-api/pom.xml b/multiapps-controller-api/pom.xml index 4c30b41dfa..ee686894b8 100644 --- a/multiapps-controller-api/pom.xml +++ b/multiapps-controller-api/pom.xml @@ -14,10 +14,6 @@ - - jakarta.xml.bind - jakarta.xml.bind-api - org.glassfish.jaxb jaxb-core @@ -27,7 +23,7 @@ jaxb-runtime - com.fasterxml.jackson.core + tools.jackson.core jackson-databind diff --git a/multiapps-controller-client/pom.xml b/multiapps-controller-client/pom.xml index 3a046c8245..6c1e41970b 100644 --- a/multiapps-controller-client/pom.xml +++ b/multiapps-controller-client/pom.xml @@ -66,12 +66,12 @@ - com.fasterxml.jackson.core + tools.jackson.core jackson-core - com.fasterxml.jackson.core + tools.jackson.core jackson-databind diff --git a/multiapps-controller-core/pom.xml b/multiapps-controller-core/pom.xml index c7ef468b80..01ed07b8db 100644 --- a/multiapps-controller-core/pom.xml +++ b/multiapps-controller-core/pom.xml @@ -36,7 +36,7 @@ jakarta.servlet-api - com.fasterxml.jackson.core + tools.jackson.core jackson-databind diff --git a/multiapps-controller-process/pom.xml b/multiapps-controller-process/pom.xml index 0f1f4913a9..9a47142618 100644 --- a/multiapps-controller-process/pom.xml +++ b/multiapps-controller-process/pom.xml @@ -52,7 +52,7 @@ jakarta.servlet-api - com.fasterxml.jackson.core + tools.jackson.core jackson-databind diff --git a/multiapps-controller-web/pom.xml b/multiapps-controller-web/pom.xml index c0c8bfe5b2..7cf94db093 100644 --- a/multiapps-controller-web/pom.xml +++ b/multiapps-controller-web/pom.xml @@ -99,7 +99,7 @@ jaxb-runtime - com.fasterxml.jackson.core + tools.jackson.core jackson-databind diff --git a/multiapps-controller-web/src/main/java/org/cloudfoundry/multiapps/controller/web/configuration/DatabaseConfiguration.java b/multiapps-controller-web/src/main/java/org/cloudfoundry/multiapps/controller/web/configuration/DatabaseConfiguration.java index 115f569e55..eb0beeb4df 100644 --- a/multiapps-controller-web/src/main/java/org/cloudfoundry/multiapps/controller/web/configuration/DatabaseConfiguration.java +++ b/multiapps-controller-web/src/main/java/org/cloudfoundry/multiapps/controller/web/configuration/DatabaseConfiguration.java @@ -53,7 +53,6 @@ public DataSourceTransactionManager transactionManager(DataSource dataSource, Ap return dataSourceTransactionManager; } - @Inject @Bean @Primary public LocalContainerEntityManagerFactoryBean defaultEntityManagerFactory(DataSource dataSource, diff --git a/multiapps-controller-web/src/main/java/org/cloudfoundry/multiapps/controller/web/configuration/FileStorageConfiguration.java b/multiapps-controller-web/src/main/java/org/cloudfoundry/multiapps/controller/web/configuration/FileStorageConfiguration.java index 8994c622cf..00d84b1e45 100644 --- a/multiapps-controller-web/src/main/java/org/cloudfoundry/multiapps/controller/web/configuration/FileStorageConfiguration.java +++ b/multiapps-controller-web/src/main/java/org/cloudfoundry/multiapps/controller/web/configuration/FileStorageConfiguration.java @@ -1,6 +1,5 @@ package org.cloudfoundry.multiapps.controller.web.configuration; -import jakarta.inject.Inject; import org.cloudfoundry.multiapps.controller.core.util.ApplicationConfiguration; import org.cloudfoundry.multiapps.controller.persistence.util.EnvironmentServicesFinder; import org.cloudfoundry.multiapps.controller.web.configuration.bean.factory.ObjectStoreFileStorageFactoryBean; @@ -14,7 +13,6 @@ public class FileStorageConfiguration { private static final String OBJECT_STORE_SERVICE_NAME = "deploy-service-os"; - @Inject @Bean public ObjectStoreFileStorageFactoryBean objectStoreFileStorage(EnvironmentServicesFinder vcapServiceFinder, ApplicationConfiguration applicationConfiguration) { diff --git a/pom.xml b/pom.xml index d802278977..728f1abb15 100644 --- a/pom.xml +++ b/pom.xml @@ -15,48 +15,47 @@ cloudfoundry ../multiapps-controller-coverage/target/site/jacoco-aggregate/jacoco.xml - 5.13.4 - 1.13.2 - 5.18.0 - 2.2.224 + 6.0.1 + 5.20.0 + 2.4.240 6.1.0 - 2.25.1 + 2.25.2 2.0.17 - 2.20.0 + 2.21.0 4.5.0 - 2.4 - 5.5 - 5.3.4 - 4.0.7 + 2.5 + 5.5.1 + 5.3.6 + 4.0.8 7.2.0 - 6.2.11 - 6.5.4 - 6.3.0 - 2.19.2 + 6.2.14 + 6.5.7 + 7.0.2 + 2.20 + 3.0.2 4.33.0 5.1.0 5.14.0.RELEASE - 1.2.10 + 1.2.12 1.6.16 2.7.0 - 33.4.8-jre + 33.5.0-jre 2.3.0 - 2.10.1 - 1.15.3 + 2.11.7 + 1.16.0 3.18.3 1.1.1 - 1.18.0 + 1.20.0 2.42.0 3.5.0 - 4.0.2 - 4.0.5 - 4.0.5 + 4.0.4 + 4.0.6 2.0.1 3.0.0 - 2.1.9 + 2.1.10 1.28.0 - 3.2.2 - 1.3.1 + 3.2.3 + 1.3.5 2.60.0 0.128.7 @@ -186,7 +185,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.11.2 + 3.12.0 @@ -326,7 +325,7 @@ org.junit.platform junit-platform-launcher - ${junit-platform.version} + ${junit.version} test @@ -368,12 +367,6 @@ jaxb-core ${jaxb-core.version} - - - org.glassfish.jaxb - jaxb-runtime - ${jaxb-impl.version} - @@ -690,17 +683,17 @@ com.fasterxml.jackson.core jackson-annotations - ${jackson.version} + ${jackson-annotations.version} - + - com.fasterxml.jackson.core + tools.jackson.core jackson-core ${jackson.version} - + - com.fasterxml.jackson.core + tools.jackson.core jackson-databind ${jackson.version} @@ -886,17 +879,6 @@ - - - - - central-sonatype From c019e6ded8fbc02dcee76969c8400533160aeacc Mon Sep 17 00:00:00 2001 From: Stefan Yonkov Date: Tue, 23 Dec 2025 15:50:48 +0200 Subject: [PATCH 2/7] Add latest dependency updates --- pom.xml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/pom.xml b/pom.xml index 728f1abb15..93572f13af 100644 --- a/pom.xml +++ b/pom.xml @@ -16,33 +16,33 @@ ../multiapps-controller-coverage/target/site/jacoco-aggregate/jacoco.xml 6.0.1 - 5.20.0 + 5.21.0 2.4.240 6.1.0 - 2.25.2 + 2.25.3 2.0.17 2.21.0 4.5.0 2.5 - 5.5.1 - 5.3.6 + 5.6 + 5.4 4.0.8 7.2.0 - 6.2.14 - 6.5.7 + 6.2.11 + 6.5.4 7.0.2 2.20 - 3.0.2 + 3.0.3 4.33.0 5.1.0 - 5.14.0.RELEASE - 1.2.12 + 5.15.0.RELEASE + 1.3.1 1.6.16 2.7.0 33.5.0-jre 2.3.0 - 2.11.7 - 1.16.0 + 2.12.0 + 1.16.1 3.18.3 1.1.1 1.20.0 @@ -56,8 +56,8 @@ 1.28.0 3.2.3 1.3.5 - 2.60.0 - 0.128.7 + 2.61.0 + 0.128.9 multiapps-controller-client From 7190bd1bda7c5dc109235b20ac0b7ee555e23f0d Mon Sep 17 00:00:00 2001 From: Stefan Yonkov Date: Wed, 7 Jan 2026 09:21:29 +0200 Subject: [PATCH 3/7] add more updates --- multiapps-controller-client/pom.xml | 2 +- pom.xml | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/multiapps-controller-client/pom.xml b/multiapps-controller-client/pom.xml index 6c1e41970b..ad143cbca5 100644 --- a/multiapps-controller-client/pom.xml +++ b/multiapps-controller-client/pom.xml @@ -113,7 +113,7 @@ org.apache.maven.plugins maven-surefire-plugin - 3.5.3 + 3.5.4 **/* diff --git a/pom.xml b/pom.xml index 93572f13af..b755da0741 100644 --- a/pom.xml +++ b/pom.xml @@ -26,7 +26,7 @@ 2.5 5.6 5.4 - 4.0.8 + 4.0.9 7.2.0 6.2.11 6.5.4 @@ -36,14 +36,15 @@ 4.33.0 5.1.0 5.15.0.RELEASE - 1.3.1 + 1.2.13 1.6.16 2.7.0 33.5.0-jre 2.3.0 2.12.0 1.16.1 - 3.18.3 + 3.18.4 + 1.1.1 1.20.0 2.42.0 @@ -114,7 +115,7 @@ org.apache.maven.plugins maven-compiler-plugin - 3.14.0 + 3.14.1 17 17 @@ -141,25 +142,25 @@ org.apache.maven.plugins maven-jar-plugin - 3.2.0 + 3.5.0 org.apache.maven.plugins maven-war-plugin - 3.4.0 + 3.5.1 org.apache.maven.plugins maven-resources-plugin - 3.2.0 + 3.4.0 org.apache.maven.plugins maven-surefire-plugin - 3.5.3 + 3.5.4 @@ -191,7 +192,7 @@ org.apache.maven.plugins maven-release-plugin - 3.1.1 + 3.3.1 @@ -240,7 +241,7 @@ org.jacoco jacoco-maven-plugin - 0.8.13 + 0.8.14 @@ -801,8 +802,7 @@ io.projectreactor.netty - reactor-netty - ${reactor-netty.version} + reactor-netty${reactor-netty.version} From 35130af5af9c17f6eb6626a7dc59483949822ada Mon Sep 17 00:00:00 2001 From: Stefan Yonkov Date: Thu, 8 Jan 2026 12:34:26 +0200 Subject: [PATCH 4/7] increase immutables --- .../src/main/resources/mtarest.yaml | 181 ------------------ pom.xml | 2 +- 2 files changed, 1 insertion(+), 182 deletions(-) diff --git a/multiapps-controller-api/src/main/resources/mtarest.yaml b/multiapps-controller-api/src/main/resources/mtarest.yaml index 2fa76ac907..bbc4cb40ec 100644 --- a/multiapps-controller-api/src/main/resources/mtarest.yaml +++ b/multiapps-controller-api/src/main/resources/mtarest.yaml @@ -37,127 +37,6 @@ paths: $ref: "#/definitions/Info" security: - oauth2: [] - /api/v1/spaces/{spaceGuid}/files: - get: - summary: "" - description: "Retrieves all Multi-Target Application files " - operationId: "getMtaFiles" - produces: - - "application/json" - parameters: - - name: "spaceGuid" - in: "path" - description: "GUID of space with mtas" - required: true - type: "string" - - name: "namespace" - in: "query" - description: "Filter mtas by namespace" - required: false - type: "string" - responses: - 200: - description: "OK" - schema: - type: "array" - items: - $ref: "#/definitions/FileMetadata" - security: - - oauth2: [] - post: - summary: "" - description: "Uploads a Multi Target Application archive or an Extension Descriptor " - operationId: "uploadMtaFile" - consumes: - - "multipart/form-data" - produces: - - "application/json" - parameters: - - name: "spaceGuid" - in: "path" - description: "GUID of space you wish to deploy in" - required: true - type: "string" - - name: "namespace" - in: "query" - description: "file namespace" - required: false - type: "string" - responses: - 200: - description: "successful operation" - schema: - $ref: "#/definitions/FileMetadata" - 201: - description: "Created" - schema: - $ref: "#/definitions/FileMetadata" - security: - - oauth2: [] - /api/v1/spaces/{spaceGuid}/files/async: - post: - summary: "" - description: "Uploads a Multi Target Application archive or an Extension Descriptor\ - \ from a remote endpoint" - operationId: "startUploadFromUrl" - consumes: - - "application/json" - parameters: - - name: "spaceGuid" - in: "path" - description: "GUID of space you wish to deploy in" - required: true - type: "string" - - name: "namespace" - in: "query" - description: "file namespace" - required: false - type: "string" - - in: "body" - name: "body" - description: "URL reference to a remote file" - required: false - schema: - $ref: "#/definitions/FileUrl" - responses: - 202: - description: "Accepted" - security: - - oauth2: [] - /api/v1/spaces/{spaceGuid}/files/jobs/{jobId}: - get: - summary: "" - description: "Gets the status of an async upload job" - operationId: "getAsyncUploadJob" - produces: - - "application/json" - parameters: - - name: "spaceGuid" - in: "path" - description: "GUID of space you wish to deploy in" - required: true - type: "string" - - name: "namespace" - in: "query" - description: "file namespace" - required: false - type: "string" - - name: "jobId" - in: "path" - description: "ID of the upload job" - required: true - type: "string" - responses: - 200: - description: "OK" - schema: - $ref: "#/definitions/AsyncUploadResult" - 201: - description: "Created" - schema: - $ref: "#/definitions/AsyncUploadResult" - security: - - oauth2: [] /api/v1/spaces/{spaceGuid}/mtas: get: summary: "" @@ -403,66 +282,6 @@ securityDefinitions: flow: "password" scopes: {} definitions: - AsyncUploadResult: - type: "object" - properties: - status: - type: "string" - readOnly: true - enum: - - "RUNNING" - - "FINISHED" - - "ERROR" - bytes_processed: - type: "integer" - format: "int64" - readOnly: true - error: - type: "string" - readOnly: true - file: - readOnly: true - $ref: "#/definitions/FileMetadata" - mta_id: - type: "string" - readOnly: true - client_actions: - type: "array" - readOnly: true - items: - type: "string" - enum: - - "RETRY_UPLOAD" - FileMetadata: - type: "object" - properties: - id: - type: "string" - readOnly: true - name: - type: "string" - readOnly: true - size: - type: "integer" - readOnly: true - digest: - type: "string" - readOnly: true - digestAlgorithm: - type: "string" - readOnly: true - space: - type: "string" - readOnly: true - namespace: - type: "string" - readOnly: true - FileUrl: - type: "object" - properties: - file_url: - type: "string" - readOnly: true Info: type: "object" properties: diff --git a/pom.xml b/pom.xml index b755da0741..f007930c70 100644 --- a/pom.xml +++ b/pom.xml @@ -41,7 +41,7 @@ 2.7.0 33.5.0-jre 2.3.0 - 2.12.0 + 2.12.1 1.16.1 3.18.4 From d4cd0bfbc04d0e55d35096c146bab3443aec2a7b Mon Sep 17 00:00:00 2001 From: Stefan Yonkov Date: Thu, 8 Jan 2026 13:38:34 +0200 Subject: [PATCH 5/7] Revert changes to multiapps-controller-api/src/main/resources/mtarest.yaml --- .../src/main/resources/mtarest.yaml | 181 ++++++++++++++++++ 1 file changed, 181 insertions(+) diff --git a/multiapps-controller-api/src/main/resources/mtarest.yaml b/multiapps-controller-api/src/main/resources/mtarest.yaml index bbc4cb40ec..2fa76ac907 100644 --- a/multiapps-controller-api/src/main/resources/mtarest.yaml +++ b/multiapps-controller-api/src/main/resources/mtarest.yaml @@ -37,6 +37,127 @@ paths: $ref: "#/definitions/Info" security: - oauth2: [] + /api/v1/spaces/{spaceGuid}/files: + get: + summary: "" + description: "Retrieves all Multi-Target Application files " + operationId: "getMtaFiles" + produces: + - "application/json" + parameters: + - name: "spaceGuid" + in: "path" + description: "GUID of space with mtas" + required: true + type: "string" + - name: "namespace" + in: "query" + description: "Filter mtas by namespace" + required: false + type: "string" + responses: + 200: + description: "OK" + schema: + type: "array" + items: + $ref: "#/definitions/FileMetadata" + security: + - oauth2: [] + post: + summary: "" + description: "Uploads a Multi Target Application archive or an Extension Descriptor " + operationId: "uploadMtaFile" + consumes: + - "multipart/form-data" + produces: + - "application/json" + parameters: + - name: "spaceGuid" + in: "path" + description: "GUID of space you wish to deploy in" + required: true + type: "string" + - name: "namespace" + in: "query" + description: "file namespace" + required: false + type: "string" + responses: + 200: + description: "successful operation" + schema: + $ref: "#/definitions/FileMetadata" + 201: + description: "Created" + schema: + $ref: "#/definitions/FileMetadata" + security: + - oauth2: [] + /api/v1/spaces/{spaceGuid}/files/async: + post: + summary: "" + description: "Uploads a Multi Target Application archive or an Extension Descriptor\ + \ from a remote endpoint" + operationId: "startUploadFromUrl" + consumes: + - "application/json" + parameters: + - name: "spaceGuid" + in: "path" + description: "GUID of space you wish to deploy in" + required: true + type: "string" + - name: "namespace" + in: "query" + description: "file namespace" + required: false + type: "string" + - in: "body" + name: "body" + description: "URL reference to a remote file" + required: false + schema: + $ref: "#/definitions/FileUrl" + responses: + 202: + description: "Accepted" + security: + - oauth2: [] + /api/v1/spaces/{spaceGuid}/files/jobs/{jobId}: + get: + summary: "" + description: "Gets the status of an async upload job" + operationId: "getAsyncUploadJob" + produces: + - "application/json" + parameters: + - name: "spaceGuid" + in: "path" + description: "GUID of space you wish to deploy in" + required: true + type: "string" + - name: "namespace" + in: "query" + description: "file namespace" + required: false + type: "string" + - name: "jobId" + in: "path" + description: "ID of the upload job" + required: true + type: "string" + responses: + 200: + description: "OK" + schema: + $ref: "#/definitions/AsyncUploadResult" + 201: + description: "Created" + schema: + $ref: "#/definitions/AsyncUploadResult" + security: + - oauth2: [] /api/v1/spaces/{spaceGuid}/mtas: get: summary: "" @@ -282,6 +403,66 @@ securityDefinitions: flow: "password" scopes: {} definitions: + AsyncUploadResult: + type: "object" + properties: + status: + type: "string" + readOnly: true + enum: + - "RUNNING" + - "FINISHED" + - "ERROR" + bytes_processed: + type: "integer" + format: "int64" + readOnly: true + error: + type: "string" + readOnly: true + file: + readOnly: true + $ref: "#/definitions/FileMetadata" + mta_id: + type: "string" + readOnly: true + client_actions: + type: "array" + readOnly: true + items: + type: "string" + enum: + - "RETRY_UPLOAD" + FileMetadata: + type: "object" + properties: + id: + type: "string" + readOnly: true + name: + type: "string" + readOnly: true + size: + type: "integer" + readOnly: true + digest: + type: "string" + readOnly: true + digestAlgorithm: + type: "string" + readOnly: true + space: + type: "string" + readOnly: true + namespace: + type: "string" + readOnly: true + FileUrl: + type: "object" + properties: + file_url: + type: "string" + readOnly: true Info: type: "object" properties: From a2833324e2d558bba7704d13c06f7100bd36d3d8 Mon Sep 17 00:00:00 2001 From: Stefan Yonkov Date: Thu, 8 Jan 2026 13:41:10 +0200 Subject: [PATCH 6/7] revert wrong formatting --- pom.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index f007930c70..1de47d0c94 100644 --- a/pom.xml +++ b/pom.xml @@ -802,7 +802,8 @@ io.projectreactor.netty - reactor-netty${reactor-netty.version} + reactor-netty + ${reactor-netty.version} From 2e2e504342d1595d05bfcec3d455f903f8965774 Mon Sep 17 00:00:00 2001 From: Stefan Yonkov Date: Fri, 9 Jan 2026 09:39:57 +0200 Subject: [PATCH 7/7] update sources --- multiapps-controller-client/pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/multiapps-controller-client/pom.xml b/multiapps-controller-client/pom.xml index ad143cbca5..da7c7b9263 100644 --- a/multiapps-controller-client/pom.xml +++ b/multiapps-controller-client/pom.xml @@ -64,12 +64,12 @@ org.springframework.security spring-security-oauth2-client - + tools.jackson.core jackson-core - + tools.jackson.core jackson-databind