Commit Graph

71 Commits

Author SHA1 Message Date
Mark Paluch
3bfed52adc [maven-release-plugin] prepare for next development iteration
See gh-229.
2018-04-04 17:46:21 +02:00
Mark Paluch
c725dcff33 [maven-release-plugin] prepare release 2.0.1.RELEASE
See gh-229.
2018-04-04 17:45:39 +02:00
Mark Paluch
537a2d921a Upgrade to Spring Security 5.0.3.
Closes gh-236.
2018-04-04 17:32:36 +02:00
Mark Paluch
a801e11753 Upgrade to Spring Data Kay SR6.
Closes gh-235.
2018-04-04 17:31:30 +02:00
Mark Paluch
e878d7de61 Upgrade to Spring Framework 5.0.5.RELEASE.
Closes gh-227.
2018-04-04 08:59:14 +02:00
Mark Paluch
b6a96451f4 Upgrade to Reactor Bismuth SR7.
Closes gh-214.
2018-03-07 09:00:31 +01:00
Mark Paluch
db29b39b7b Upgrade to Spring Data Kay SR5.
Closes gh-213.
2018-03-07 09:00:31 +01:00
Mark Paluch
b3a6322951 Polishing.
Fix JavaDoc and reference doc versions and links.

See gh-198.
2018-02-20 10:01:17 +01:00
Mark Paluch
d2c83b818f Prepare for next development iteration.
See gh-198.
2018-02-20 10:01:13 +01:00
Mark Paluch
4b1061d153 [maven-release-plugin] prepare release 2.0.0.RELEASE
See gh-198.
2018-02-20 09:43:14 +01:00
Mark Paluch
88e1460be6 Upgrade to Spring Data Kay SR4.
Closes gh-199.
2018-02-20 09:19:26 +01:00
Mark Paluch
c49147513b Upgrade to Spring Framework 5.0.4.
Closes gh-194.
2018-02-19 13:19:09 +01:00
Mark Paluch
3fc6dfcf11 Upgrade to Reactor Bismuth SR6.
Closes gh-195.
2018-02-19 11:28:59 +01:00
Mark Paluch
47d37b513b Upgrade to Spring Framework 5.0.4 snapshots.
See gh-194.
2018-02-19 11:28:17 +01:00
Mark Paluch
8f19127584 [maven-release-plugin] prepare for next development iteration 2018-01-25 09:48:54 +01:00
Mark Paluch
a94cbc15ae [maven-release-plugin] prepare release 2.0.0.RC2 2018-01-25 09:48:53 +01:00
Mark Paluch
f07257464a Upgrade dependencies.
Spring Framework 5.0.1 -> 5.0.3
Spring Data Kay SR1 -> Kay SR3
Reactor Bismuth SR3 -> Bismuth SR5
httpclient 4.5.3 -> 4.5.5
httpcore 4.4.8 -> 4.4.9
netty 4.1.17 -> 4.1.20
Jackson 2.9.2 -> 2.9.4

Closes gh-189
2018-01-25 09:30:11 +01:00
Mark Paluch
28ff17d4f8 Add VaultBytesEncryptor and VaultBytesKeyGenerator.
We now provide a Spring Security integration for Vault transit-based BytesEncryptor and BytesKeyGenerator.

VaultOperations operations = …;
VaultBytesKeyGenerator generator = new VaultBytesKeyGenerator(operations);

byte[] key = generator.generateKey();

VaultTransitOperations transit = …;
VaultBytesEncryptor encryptor = new VaultBytesEncryptor(transit, "my-key-name");

byte[] ciphertext = encryptor.encrypt(plaintext);
byte[] decrypted = encryptor.decrypt(ciphertext);

Closes gh-187.
2018-01-22 12:11:05 +01:00
Mark Paluch
b122d7510c [maven-release-plugin] prepare for next development iteration
See gh-173.
2017-11-15 08:22:50 +01:00
Mark Paluch
829e6ffc88 [maven-release-plugin] prepare release 2.0.0.RC1
See gh-173.
2017-11-15 08:22:50 +01:00
Mark Paluch
15af94ed96 Upgrade dependencies.
httpcore 4.4.7 -> 4.4.8
netty 4.1.16.Final -> 4.1.17.Final
Jackson 2.9.1 -> 2.9.2
Spring Data Kay GA -> Kay SR1
Reactor Bismuth GA -> Bismuth SR3

Closes gh-174
2017-11-15 08:22:38 +01:00
Mark Paluch
438b8db745 Upgrade to Spring Framework 5.0.1.
Closes gh-167.
2017-10-25 08:52:22 +02:00
Mark Paluch
d1a778e6a7 [maven-release-plugin] prepare for next development iteration
See gh-155.
2017-10-06 08:05:55 +02:00
Mark Paluch
e7986350bd [maven-release-plugin] prepare release 2.0.0.M3
See gh-155.
2017-10-06 08:04:45 +02:00
Mark Paluch
4ba7566d6b Merge repository support into Spring Vault Core.
Closes gh-157.
2017-10-05 17:45:21 +02:00
Mark Paluch
3556081bf5 Upgrade dependencies
netty 4.1.15.Final -> 4.1.16.Final
aws-java-sdk-core 1.11.201 -> 1.11.208
assertj-core 3.6.2 -> 3.8.0
json-path 2.2.0 -> 2.4.0
mockito-core 2.7.22 -> 2.10.0
animal-sniffer-maven-plugin 1.15 -> 1.16
asciidoctor-maven-plugin 1.5.2 -> 1.5.6

Spring Framework 5.0 Snapshots -> 5.0 GA

Closes gh-156.
2017-10-05 17:45:20 +02:00
Mark Paluch
f0111610ae Upgrade to Spring Framework 5 release versions.
Project Reactor Bismuth M4 -> Bismuth GA
Spring Framework 5.0 snapshots -> 5.0 GA
Spring Data Kay RC3 -> Kay GA

Closes gh-120
2017-10-02 14:36:23 +02:00
Mark Paluch
d88b0f8324 Polishing.
Remove duplicate maven-jar-plugin from plugin management.
2017-09-27 15:54:05 +02:00
Mark Paluch
85f66286ab Upgrade dependencies.
* Spring Framework 5.0 RC3 -> 5.0 snapshot
* Reactor Bismuth M3 -> Bismuth M4
* Spring Data Kay RC2 -> Kay RC3
* Netty 4.1.13.Final -> 4.1.15.Final
* OkHttp 3.8.1 -> 3.9.0
* Jackson 2.9.0.pr4 -> 2.9.1
* Apache httpcore 4.4.6 -> 4.4.7
* AWS SDK 1.11.161 -> 1.11.201

Closes gh-144.
2017-09-22 17:09:07 +02:00
Mark Paluch
34cf9eceaf Add explicit automatic module name for Java 9.
Closes gh-141.
2017-09-21 15:00:49 +02:00
Mark Paluch
47fd7da8d7 Redirect test output to file. 2017-09-06 22:02:43 +02:00
Mark Paluch
b916d4c6e7 Vault repository support.
We now support Spring Data Repositories via Spring Data's KeyValue module. Domain objects can be mapped to JSON using a custom converter and created, update, deleted and queried using the repository abstraction. Vault repositories support query derivation limited to predicates on the Id property with paging and sorting.

@Configuration
@EnableVaultRepositories
public class ApplicationConfig {

  @Bean
  public VaultTemplate vaultTemplate() {
    return new VaultTemplate(…);
  }
}

@Test
public void loadAndSave() {

	Credentials heisenberg = new Credentials();
	heisenberg.setId("heisenberg");
	heisenberg.setPassword("327215");

	vaultRepository.save(heisenberg);

	Iterable<Credentials> all = vaultRepository.findAll();
  //
}

interface CredentialsRepository extends PagingAndSortingRepository<Credentials, String> {

}

@Data
public class Credentials {

	@Id String id;
	String password;
}

GET https://localhost:8200/v1/secret/credentials/heisenberg

HTTP/1.1 200 OK
Content-Type: application/json

{
  // …
  "renewable": false,
  "lease_duration": …,
  "data": {
    "_class": "com.example.Credentials",
    "password": "327215"
  },
  // …
}

See gh-128.
2017-09-06 22:02:43 +02:00
Mark Paluch
91541cb510 [maven-release-plugin] prepare for next development iteration
See gh-116.
2017-07-27 08:19:40 +02:00
Mark Paluch
29b4f36bef [maven-release-plugin] prepare release 2.0.0.M2
See gh-116.
2017-07-27 08:19:40 +02:00
Mark Paluch
d43313d6b9 Upgrade to Reactor 3.1.0 M3.
Closes gh-121.
2017-07-27 08:14:54 +02:00
Mark Paluch
68ee84c80b Upgrade to Spring Framework 5.0 RC3.
Closes gh-120.
2017-07-26 21:11:07 +02:00
Mark Paluch
1f5edfc3f5 Add reactive dependencies.
See gh-25.
2017-07-10 20:22:58 +02:00
Mark Paluch
017350bb42 Upgrade to Spring 5 snapshots. 2017-07-10 20:22:04 +02:00
Mark Paluch
7f93a91c36 [maven-release-plugin] prepare for next development iteration 2017-06-29 15:17:04 +02:00
Mark Paluch
7c488b216f [maven-release-plugin] prepare release 2.0.0.M1 2017-06-29 15:17:00 +02:00
Mark Paluch
7800ca5176 Include javadoc in milestone profile.
See gh-110.
2017-06-29 15:08:04 +02:00
Mark Paluch
86d0cfda0f Upgrade to Spring 5 RC2.
Closes gh-111.
2017-06-29 14:51:57 +02:00
Mark Paluch
67caf64588 Upgrade dependencies.
Mockito 2.6.2 -> 2.7.22
AssertJ 3.6.1 -> 3.6.2
Netty 4.1.8.Final -> 4.1.9.Final

See gh-67.
2017-06-29 08:01:08 +02:00
Mark Paluch
15cfdb4cd0 Upgrade to Spring 5.
See gh-67.
2017-06-29 08:01:08 +02:00
Mark Paluch
d77cb9462d Setup 2.0 development.
Upgrade pom versions to 2.0.0.BUILD-SNAPSHOT. Upgrade Java version to 1.8.

See gh-67.
2017-06-29 08:01:08 +02:00
Mark Paluch
b28d97fe1b Add central profiles.
See gh-92.
2017-05-12 11:50:52 +02:00
Mark Paluch
6f63dab52e Upgrade to Spring Framework 4.3.8.
Closes gh-81.
2017-04-19 15:51:50 +02:00
Spring Buildmaster
b42107a4e5 [artifactory-release] Next development version
See gh-72.
2017-04-10 08:21:08 +00:00
Mark Paluch
bc766e7377 Prepare release.
See gh-72.
2017-04-10 10:14:26 +02:00
Mark Paluch
b9597c2751 Update to Spring-Next build profile to 4.3.8.
Closes gh-65.
2017-03-30 11:08:15 +02:00