You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2025/05/16 13:07:39 UTC
(camel) branch minio created (now c4d1da410d6)
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a change to branch minio
in repository https://gitbox.apache.org/repos/asf/camel.git
at c4d1da410d6 Upgrade Minio Container image to version RELEASE.2025-04-22T22-12-26Z-cpuv1
This branch includes the following new commits:
new c4d1da410d6 Upgrade Minio Container image to version RELEASE.2025-04-22T22-12-26Z-cpuv1
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(camel) 01/01: Upgrade Minio Container image to version RELEASE.2025-04-22T22-12-26Z-cpuv1
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch minio
in repository https://gitbox.apache.org/repos/asf/camel.git
commit c4d1da410d6c6d422d83208094ba99b986ae3eed
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri May 16 15:07:12 2025 +0200
Upgrade Minio Container image to version RELEASE.2025-04-22T22-12-26Z-cpuv1
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
.../integration/MinioCopyObjectOperationIT.java | 80 ----------------------
.../test/infra/minio/services/container.properties | 2 +-
2 files changed, 1 insertion(+), 81 deletions(-)
diff --git a/components/camel-minio/src/test/java/org/apache/camel/component/minio/integration/MinioCopyObjectOperationIT.java b/components/camel-minio/src/test/java/org/apache/camel/component/minio/integration/MinioCopyObjectOperationIT.java
deleted file mode 100644
index 6a51e2d2677..00000000000
--- a/components/camel-minio/src/test/java/org/apache/camel/component/minio/integration/MinioCopyObjectOperationIT.java
+++ /dev/null
@@ -1,80 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.minio.integration;
-
-import io.minio.MinioClient;
-import org.apache.camel.BindToRegistry;
-import org.apache.camel.EndpointInject;
-import org.apache.camel.ProducerTemplate;
-import org.apache.camel.builder.RouteBuilder;
-import org.apache.camel.component.minio.MinioConstants;
-import org.apache.camel.component.minio.MinioOperations;
-import org.apache.camel.component.mock.MockEndpoint;
-import org.junit.jupiter.api.Test;
-
-class MinioCopyObjectOperationIT extends MinioIntegrationTestSupport {
-
- @BindToRegistry("minioClient")
- MinioClient client = MinioClient.builder()
- .endpoint("http://" + service.host(), service.port(), false)
- .credentials(service.accessKey(), service.secretKey())
- .build();
-
- @EndpointInject
- private ProducerTemplate template;
-
- @EndpointInject("mock:result")
- private MockEndpoint result;
-
- MinioCopyObjectOperationIT() {
- }
-
- @Test
- void sendIn() throws Exception {
- result.expectedMessageCount(1);
-
- template.send("direct:putObject", exchange -> {
- exchange.getIn().setHeader(MinioConstants.OBJECT_NAME, "test.txt");
- exchange.getIn().setBody("Test");
- });
-
- template.send("direct:copyObject", exchange -> {
- exchange.getIn().setHeader(MinioConstants.OBJECT_NAME, "test.txt");
- exchange.getIn().setHeader(MinioConstants.DESTINATION_OBJECT_NAME, "test1.txt");
- exchange.getIn().setHeader(MinioConstants.DESTINATION_BUCKET_NAME, "mycamel1");
- exchange.getIn().setHeader(MinioConstants.MINIO_OPERATION, MinioOperations.copyObject);
- });
-
- MockEndpoint.assertIsSatisfied(context);
- }
-
- @Override
- protected RouteBuilder createRouteBuilder() {
- return new RouteBuilder() {
- @Override
- public void configure() {
- String minioEndpoint = "minio://mycamel?autoCreateBucket=true";
- String minioEndpoint1 = "minio://mycamel1?autoCreateBucket=true";
-
- from("direct:putObject").to(minioEndpoint).to(minioEndpoint1);
-
- from("direct:copyObject").to(minioEndpoint).to("mock:result");
-
- }
- };
- }
-}
diff --git a/test-infra/camel-test-infra-minio/src/main/resources/org/apache/camel/test/infra/minio/services/container.properties b/test-infra/camel-test-infra-minio/src/main/resources/org/apache/camel/test/infra/minio/services/container.properties
index 10e7272cea5..f42b34ab8ec 100644
--- a/test-infra/camel-test-infra-minio/src/main/resources/org/apache/camel/test/infra/minio/services/container.properties
+++ b/test-infra/camel-test-infra-minio/src/main/resources/org/apache/camel/test/infra/minio/services/container.properties
@@ -14,4 +14,4 @@
## See the License for the specific language governing permissions and
## limitations under the License.
## ---------------------------------------------------------------------------
-minio.container=mirror.gcr.io/minio/minio:RELEASE.2024-11-07T00-52-20Z-cpuv1
+minio.container=mirror.gcr.io/minio/minio:RELEASE.2025-04-22T22-12-26Z-cpuv1