Skip to content

Commit f4c4da7

Browse files
authored
Released 5.3.0 (#28)
1 parent 4f32bb5 commit f4c4da7

File tree

6 files changed

+29
-10
lines changed

6 files changed

+29
-10
lines changed

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: Feature request
33
about: Suggest an idea for this project
4-
title: "[IMROVEMENT] "
4+
title: "[IMPROVEMENT] "
55
labels: enhancement
66
assignees: ''
77

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Gradle:
4848

4949
```
5050
dependencies {
51-
implementation 'io.github.jopenlibs:vault-java-driver:5.2.0'
51+
implementation 'io.github.jopenlibs:vault-java-driver:5.3.0'
5252
}
5353
```
5454

@@ -58,7 +58,7 @@ Maven:
5858
<dependency>
5959
<groupId>io.github.jopenlibs</groupId>
6060
<artifactId>vault-java-driver</artifactId>
61-
<version>5.2.0</version>
61+
<version>5.3.0</version>
6262
</dependency>
6363
```
6464

@@ -310,7 +310,12 @@ and may require modifications in your code to migrate. Changes to the minor vers
310310
number) should represent non-breaking changes. The third number represents any very minor bugfix
311311
patches.
312312

313-
* **5.2.0**: This release contains the following updates:
313+
* **5.3.0**: This release contains the following updates:
314+
* Created sys namespace [PR #21](https://github.com/jopenlibs/vault-java-driver/pull/25)
315+
* Add custom Vault Authentication Path when using k8s login method [(PR #27)](https://github.com/jopenlibs/vault-java-driver/pull/27)
316+
* Parametrized integration tests [(PR #21)](https://github.com/jopenlibs/vault-java-driver/pull/21)
317+
* Fix Leases section [(PR #18)](https://github.com/jopenlibs/vault-java-driver/pull/18)
318+
* **5.2.0**: This release contains the following updates:
314319
* Move code packages and maven groupdId from `com.bettercloud`
315320
to `io.github.jopenlibs`. [(PR #2)](https://github.com/jopenlibs/vault-java-driver/pull/2)
316321
* Fix and refactoring data wrapping, add integration tests with the last Vault version (vault

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ apply plugin: 'checkstyle'
55

66
group 'io.github.jopenlibs'
77
archivesBaseName = 'vault-java-driver'
8-
version '5.3.0-SNAPSHOT'
8+
version '5.3.0'
99

1010
// This project is actually limited to Java 8 compatibility. See below.
1111
sourceCompatibility = 9

src/test-integration/java/io/github/jopenlibs/vault/util/VaultAgentContainer.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import io.github.jopenlibs.vault.VaultConfig;
66
import io.github.jopenlibs.vault.VaultException;
77
import java.nio.file.Path;
8+
import java.util.Optional;
89
import org.slf4j.Logger;
910
import org.slf4j.LoggerFactory;
1011
import org.testcontainers.containers.BindMode;
@@ -20,6 +21,8 @@
2021
public class VaultAgentContainer extends GenericContainer<VaultAgentContainer> implements
2122
TestConstants, TestLifecycleAware {
2223

24+
public static final String VAULT_DEFAULT_IMAGE = "vault";
25+
public static final String VAULT_DEFAULT_TAG = "latest";
2326
private static final Logger LOGGER = LoggerFactory.getLogger(VaultAgentContainer.class);
2427

2528
/**
@@ -28,7 +31,8 @@ public class VaultAgentContainer extends GenericContainer<VaultAgentContainer> i
2831
public VaultAgentContainer(
2932
Path roleId,
3033
Path secretId) {
31-
super("vault:1.11.4");
34+
super(VAULT_DEFAULT_IMAGE + ":" + Optional.ofNullable(
35+
System.getenv("VAULT_VERSION")).orElse(VAULT_DEFAULT_TAG));
3236
this.withNetwork(CONTAINER_NETWORK)
3337
.withNetworkAliases("agent")
3438
.withClasspathResourceMapping("/agent.hcl", AGENT_CONFIG_FILE, BindMode.READ_ONLY)

src/test-integration/resources/libressl.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ certificate = /vault/config/ssl/root-cert.pem
88
database = /vault/config/ssl/certindex
99
private_key = /vault/config/ssl/root-privkey.pem
1010
serial = /vault/config/ssl/serialfile
11-
default_days = 365
12-
default_md = sha1
11+
default_days = 3650
12+
default_md = sha256
1313
policy = myca_policy
1414
x509_extensions = myca_extensions
1515
copy_extensions = copy

src/test-integration/resources/startup.sh

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,20 @@ rm -Rf *
1717
cp ../libressl.conf .
1818

1919
# Create a CA root certificate and key
20-
openssl req -newkey rsa:2048 -days 3650 -x509 -nodes -out root-cert.pem -keyout root-privkey.pem -subj '/C=US/ST=GA/L=Atlanta/O=BetterCloud/CN=localhost'
20+
openssl req -newkey rsa:4096 \
21+
-days 3650 \
22+
-x509 \
23+
-nodes \
24+
-out root-cert.pem \
25+
-keyout root-privkey.pem \
26+
-subj '/C=US/ST=GA/L=Atlanta/O=BetterCloud/CN=localhost'
2127

2228
# Create a private key, and a certificate-signing request
23-
openssl req -newkey rsa:1024 -nodes -out vault-csr.pem -keyout vault-privkey.pem -subj '/C=US/ST=GA/L=Atlanta/O=BetterCloud/CN=localhost'
29+
openssl req -newkey rsa:4096 \
30+
-nodes \
31+
-out vault-csr.pem \
32+
-keyout vault-privkey.pem \
33+
-subj '/C=US/ST=GA/L=Atlanta/O=BetterCloud/CN=localhost'
2434

2535
# Create an X509 certificate for the Vault server
2636
echo 000a > serialfile

0 commit comments

Comments
 (0)