87 Commits

Author SHA1 Message Date
Spring Operator
28838bf39e URL Cleanup (#391)
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://maven.apache.org/xsd/maven-4.0.0.xsd with 2 occurrences migrated to:
  https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd) result 200).
* http://www.apache.org/licenses/LICENSE-2.0 with 6 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
* http://maven.apache.org/maven-v4_0_0.xsd with 2 occurrences migrated to:
  https://maven.apache.org/maven-v4_0_0.xsd ([https](https://maven.apache.org/maven-v4_0_0.xsd) result 301).
* http://repo.spring.io/libs-milestone-local with 1 occurrences migrated to:
  https://repo.spring.io/libs-milestone-local ([https](https://repo.spring.io/libs-milestone-local) result 302).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0 with 8 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 4 occurrences

Original pull request: gh-391.
2019-03-18 08:13:02 +01:00
Mark Paluch
82289fe84b Consistently use https for linkable resources
Resolves gh-381.
2019-02-26 15:20:22 +01:00
Mark Paluch
41141c35f5 [maven-release-plugin] prepare for next development iteration
See gh-330
2018-11-14 09:27:11 +01:00
Mark Paluch
d772003bbd [maven-release-plugin] prepare release 2.0.3.RELEASE
See gh-330
2018-11-14 09:27:01 +01:00
Mark Paluch
d94a4c0de6 Upgrade to Spring Data Kay SR-10.
Closes gh-328.
2018-11-09 08:09:12 +01:00
Mark Paluch
2c335e49bd Upgrade to Spring Framework 5.0.10.RELEASE.
Closes gh-327.
2018-11-09 08:08:08 +01:00
Mark Paluch
b179ceee7e [maven-release-plugin] prepare for next development iteration 2018-09-10 15:03:01 +02:00
Mark Paluch
77d821cfb5 [maven-release-plugin] prepare release 2.0.2.RELEASE 2018-09-10 15:03:01 +02:00
Mark Paluch
74eac01211 Upgrade to Spring Data Kay SR10.
Closes gh-306.
2018-09-10 14:54:43 +02:00
Mark Paluch
a8dab5ede0 Upgrade to Spring Security 5.0.7.
Closes gh-305.
2018-09-10 14:28:10 +02:00
Mark Paluch
9456c83a07 Upgrade to Spring Framework 5.0.9.
Closes gh-303.
2018-09-07 15:43:16 +02:00
Mark Paluch
77e0d42d96 Upgrade to Reactor Bismuth SR11.
Closes gh-299.
2018-09-07 11:13:03 +02:00
Mark Paluch
816b8db464 Upgrade to Spring Framework 5.0.8.
Closes gh-289.
2018-08-26 19:16:04 +02:00
Mark Paluch
151a71bcc1 Upgrade to Spring Framework 5.0.6.
Closes gh-251.
2018-05-16 09:57:32 +02:00
Mark Paluch
e887d92c87 Upgrade to Spring Framework 5.0.6 snapshots.
See gh-251.
2018-05-07 08:47:16 +02:00
Mark Paluch
89bea444ea Post-release cleanups.
See gh-229.
2018-04-05 10:32:13 +02:00
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