This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 0690fa57d32 Upgrade JNats to version 2.17.1 and related container to
2.10.4 (#11913)
0690fa57d32 is described below
commit 0690fa57d32e37f2507b7816d7a653cd022baef8
Author: Andrea Cosentino <[email protected]>
AuthorDate: Mon Nov 6 10:28:14 2023 +0100
Upgrade JNats to version 2.17.1 and related container to 2.10.4 (#11913)
* Upgrade JNats to version 2.17.1
Signed-off-by: Andrea Cosentino <[email protected]>
* Upgrade Jnats to version 2.17.1 and related Nats container to 2.10.4
Signed-off-by: Andrea Cosentino <[email protected]>
---------
Signed-off-by: Andrea Cosentino <[email protected]>
---
parent/pom.xml | 2 +-
.../nats/services/NatsLocalContainerService.java | 2 +-
test-infra/camel-test-infra-smb/pom.xml | 32 ++++++++++++----------
.../test/infra/smb/services/SmbContainer.java | 2 --
.../camel/test/infra/smb/services/SmbService.java | 3 ++
.../apache/camel/test/infra/smb/services/smb.conf | 2 ++
6 files changed, 24 insertions(+), 19 deletions(-)
diff --git a/parent/pom.xml b/parent/pom.xml
index 09843632457..26ddfe5afe7 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -227,7 +227,7 @@
<jasypt-version>1.9.3</jasypt-version>
<java-grok-version>0.1.9</java-grok-version>
<java-util-version>2.0.0</java-util-version>
- <jnats-version>2.17.0</jnats-version>
+ <jnats-version>2.17.1</jnats-version>
<javacc-maven-plugin-version>3.0.1</javacc-maven-plugin-version>
<javacrumbs-version>0.22</javacrumbs-version>
<javaparser-version>3.13.10</javaparser-version>
diff --git
a/test-infra/camel-test-infra-nats/src/test/java/org/apache/camel/test/infra/nats/services/NatsLocalContainerService.java
b/test-infra/camel-test-infra-nats/src/test/java/org/apache/camel/test/infra/nats/services/NatsLocalContainerService.java
index 8bdc7651cff..e7adc036002 100644
---
a/test-infra/camel-test-infra-nats/src/test/java/org/apache/camel/test/infra/nats/services/NatsLocalContainerService.java
+++
b/test-infra/camel-test-infra-nats/src/test/java/org/apache/camel/test/infra/nats/services/NatsLocalContainerService.java
@@ -24,7 +24,7 @@ import org.testcontainers.containers.GenericContainer;
import org.testcontainers.containers.wait.strategy.Wait;
public class NatsLocalContainerService implements NatsService,
ContainerService<GenericContainer> {
- public static final String CONTAINER_IMAGE = "nats:2.10.1";
+ public static final String CONTAINER_IMAGE = "nats:2.10.4";
public static final String CONTAINER_NAME = "nats";
private static final int PORT = 4222;
diff --git a/test-infra/camel-test-infra-smb/pom.xml
b/test-infra/camel-test-infra-smb/pom.xml
index 997ba25a8b1..968393c3f8a 100644
--- a/test-infra/camel-test-infra-smb/pom.xml
+++ b/test-infra/camel-test-infra-smb/pom.xml
@@ -1,20 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- ~ 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.
- -->
+
+ 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.
+
+-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
diff --git
a/test-infra/camel-test-infra-smb/src/test/java/org/apache/camel/test/infra/smb/services/SmbContainer.java
b/test-infra/camel-test-infra-smb/src/test/java/org/apache/camel/test/infra/smb/services/SmbContainer.java
index e8aaec79d56..b0981487a7e 100644
---
a/test-infra/camel-test-infra-smb/src/test/java/org/apache/camel/test/infra/smb/services/SmbContainer.java
+++
b/test-infra/camel-test-infra-smb/src/test/java/org/apache/camel/test/infra/smb/services/SmbContainer.java
@@ -36,7 +36,6 @@ public class SmbContainer extends
GenericContainer<SmbContainer> {
.waitingFor(Wait.forListeningPort());
}
-
public String getUser() {
return DEFAULT_USER;
}
@@ -49,7 +48,6 @@ public class SmbContainer extends
GenericContainer<SmbContainer> {
return "data-rw";
}
-
public int getPort() {
return getMappedPort(SMB_PORT_DEFAULT);
}
diff --git
a/test-infra/camel-test-infra-smb/src/test/java/org/apache/camel/test/infra/smb/services/SmbService.java
b/test-infra/camel-test-infra-smb/src/test/java/org/apache/camel/test/infra/smb/services/SmbService.java
index 526e56a5f66..42e1bcc9e41 100644
---
a/test-infra/camel-test-infra-smb/src/test/java/org/apache/camel/test/infra/smb/services/SmbService.java
+++
b/test-infra/camel-test-infra-smb/src/test/java/org/apache/camel/test/infra/smb/services/SmbService.java
@@ -26,8 +26,11 @@ import org.slf4j.LoggerFactory;
public interface SmbService extends TestService, BeforeTestExecutionCallback,
AfterTestExecutionCallback {
String address();
+
String shareName();
+
String userName();
+
String password();
@Override
diff --git
a/test-infra/camel-test-infra-smb/src/test/resources/org/apache/camel/test/infra/smb/services/smb.conf
b/test-infra/camel-test-infra-smb/src/test/resources/org/apache/camel/test/infra/smb/services/smb.conf
index 74ef80abdda..1f1b14ac41c 100644
---
a/test-infra/camel-test-infra-smb/src/test/resources/org/apache/camel/test/infra/smb/services/smb.conf
+++
b/test-infra/camel-test-infra-smb/src/test/resources/org/apache/camel/test/infra/smb/services/smb.conf
@@ -1,3 +1,4 @@
+#
# 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.
@@ -12,6 +13,7 @@
# 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.
+#
[global]
workgroup = SAMBA