Skip to content

Commit

Permalink
fix(init): rename java package from "de.otto.messaging.kafka.e2ee" to…
Browse files Browse the repository at this point in the history
… "de.otto.kafka.messaging.e2ee" so it matches the artifactId

BREAKING CHANGE: package names have changed to "de.otto.kafka.messaging.e2ee"
  • Loading branch information
andrekaplick5678 committed Sep 21, 2023
1 parent 7ce62a1 commit b69f69d
Show file tree
Hide file tree
Showing 75 changed files with 218 additions and 211 deletions.
4 changes: 2 additions & 2 deletions docs/CACHING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ So in case of a downtime of the central vault the operation of your service is n
## Example for a 2nd-Level Vault Cache based on AWS Parameter Store

```java
import de.otto.messaging.kafka.e2ee.vault.SecondLevelCacheStorage;
import de.otto.kafka.messaging.e2ee.vault.SecondLevelCacheStorage;

class SsmVaultCacheStorage implements SecondLevelCacheStorage {

Expand Down Expand Up @@ -63,7 +63,7 @@ class TheApp {
## Example for a 2nd-Level Vault Cache based on AWS Secret Manager

```java
import de.otto.messaging.kafka.e2ee.vault.SecondLevelCacheStorage;
import de.otto.kafka.messaging.e2ee.vault.SecondLevelCacheStorage;

class SecretManagerVaultCacheStorage implements SecondLevelCacheStorage {

Expand Down
20 changes: 14 additions & 6 deletions docs/USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@
* [Caching](#caching)
* [Key Rotation](#key-rotation)

## Include Library to your build

```groovy
dependencies {
implementation "de.otto:kafka-messaging-e2ee:1.0.2"
}
```

## Step 0: create an EncryptionKeyProvider

### Option 1: Use SingleTopicVaultEncryptionKeyProviderConfig for simple use cases.
Expand Down Expand Up @@ -73,8 +81,8 @@ class Example {

### Step 1: create a EncryptionService and/or DecryptionService

The main class you need is a [EncryptionService](../src/main/java/de/otto/messaging/kafka/e2ee/EncryptionService.java)
and/or [DecryptionService](../src/main/java/de/otto/messaging/kafka/e2ee/DecryptionService.java).
The main class you need is a [EncryptionService](../src/main/java/de/otto/kafka/messaging/e2ee/EncryptionService.java)
and/or [DecryptionService](../src/main/java/de/otto/kafka/messaging/e2ee/DecryptionService.java).

```java
class Example {
Expand Down Expand Up @@ -172,11 +180,11 @@ class Example {

### Step 1: create a SingleTopicFieldLevelEncryptionService and/or SingleTopicFieldLevelDecryptionService

The main class you need is a [SingleTopicFieldLevelEncryptionService](../src/main/java/de/otto/messaging/kafka/e2ee/fieldlevel/SingleTopicFieldLevelEncryptionService.java)
and/or [SingleTopicFieldLevelDecryptionService](../src/main/java/de/otto/messaging/kafka/e2ee/fieldlevel/SingleTopicFieldLevelDecryptionService.java).
The main class you need is a [SingleTopicFieldLevelEncryptionService](../src/main/java/de/otto/kafka/messaging/e2ee/fieldlevel/SingleTopicFieldLevelEncryptionService.java)
and/or [SingleTopicFieldLevelDecryptionService](../src/main/java/de/otto/kafka/messaging/e2ee/fieldlevel/SingleTopicFieldLevelDecryptionService.java).

You can also use the classes [FieldLevelEncryptionService](../src/main/java/de/otto/messaging/kafka/e2ee/fieldlevel/FieldLevelEncryptionService.java)
and/or [FieldLevelDecryptionService](../src/main/java/de/otto/messaging/kafka/e2ee/fieldlevel/FieldLevelDecryptionService.java).
You can also use the classes [FieldLevelEncryptionService](../src/main/java/de/otto/kafka/messaging/e2ee/fieldlevel/FieldLevelEncryptionService.java)
and/or [FieldLevelDecryptionService](../src/main/java/de/otto/kafka/messaging/e2ee/fieldlevel/FieldLevelDecryptionService.java).

```java
class Example {
Expand Down
2 changes: 1 addition & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cd /repos/kafka-messaging-e2ee/examples

```bash
## (optional) clean old versions of this libraries
rm -rfv $HOME/.m2/repository/de/otto/messaging-kafka-e2ee
rm -rfv $HOME/.m2/repository/de/otto/kafka-messaging-e2ee

## update the libraries in local maven repository
cd /repos/kafka-messaging-e2ee
Expand Down
2 changes: 1 addition & 1 deletion examples/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
}

ext {
kafkaE2eeLibraryVersion = "1.0.0"
kafkaE2eeLibraryVersion = "1.0.2"
}

dockerCompose {
Expand Down
4 changes: 2 additions & 2 deletions examples/springboot-fieldlevel-multiple/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
id 'io.spring.dependency-management' version '1.1.0'
}

group = 'de.otto.messaging.kafka.e2ee.examples'
group = 'de.otto.kafka.messaging.e2ee.examples'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17'

Expand All @@ -30,7 +30,7 @@ dependencies {
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.kafka:spring-kafka-test'

// include our messaging.kafka.e2ee lib (run "./gradlew clean build publishToMavenLocal" beforehand)
// include our kafka-messaging-e2ee lib (run "./gradlew publishToMavenLocal" beforehand)
implementation "de.otto:kafka-messaging-e2ee:${kafkaE2eeLibraryVersion}"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import de.otto.messaging.kafka.e2ee.fieldlevel.FieldLevelDecryptionService;
import de.otto.kafka.messaging.e2ee.fieldlevel.FieldLevelDecryptionService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.kafka.annotation.KafkaListener;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import de.otto.messaging.kafka.e2ee.fieldlevel.FieldLevelEncryptionService;
import de.otto.messaging.kafka.e2ee.fieldlevel.SingleTopicFieldLevelEncryptionService;
import de.otto.kafka.messaging.e2ee.fieldlevel.FieldLevelEncryptionService;
import de.otto.kafka.messaging.e2ee.fieldlevel.SingleTopicFieldLevelEncryptionService;
import java.time.Clock;
import java.time.LocalTime;
import java.time.format.DateTimeFormatter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
package de.otto.springboot.example.fieldlevel.multiple.config;

import de.otto.messaging.kafka.e2ee.DecryptionService;
import de.otto.messaging.kafka.e2ee.EncryptionKeyProvider;
import de.otto.messaging.kafka.e2ee.EncryptionService;
import de.otto.messaging.kafka.e2ee.fieldlevel.FieldLevelDecryptionService;
import de.otto.messaging.kafka.e2ee.fieldlevel.FieldLevelEncryptionService;
import de.otto.messaging.kafka.e2ee.vault.CachedEncryptionKeyProvider;
import de.otto.messaging.kafka.e2ee.vault.MultiTopicVaultEncryptionKeyProviderConfig;
import de.otto.messaging.kafka.e2ee.vault.MultiTopicVaultEncryptionKeyProviderConfig.KafkaTopicConfigEntry;
import de.otto.messaging.kafka.e2ee.vault.VaultConnectionConfig;
import de.otto.messaging.kafka.e2ee.vault.VaultEncryptionKeyProvider;
import de.otto.messaging.kafka.e2ee.vault.VaultEncryptionKeyProviderConfig;
import de.otto.kafka.messaging.e2ee.DecryptionService;
import de.otto.kafka.messaging.e2ee.EncryptionKeyProvider;
import de.otto.kafka.messaging.e2ee.EncryptionService;
import de.otto.kafka.messaging.e2ee.fieldlevel.FieldLevelDecryptionService;
import de.otto.kafka.messaging.e2ee.fieldlevel.FieldLevelEncryptionService;
import de.otto.kafka.messaging.e2ee.vault.CachedEncryptionKeyProvider;
import de.otto.kafka.messaging.e2ee.vault.MultiTopicVaultEncryptionKeyProviderConfig;
import de.otto.kafka.messaging.e2ee.vault.MultiTopicVaultEncryptionKeyProviderConfig.KafkaTopicConfigEntry;
import de.otto.kafka.messaging.e2ee.vault.VaultConnectionConfig;
import de.otto.kafka.messaging.e2ee.vault.VaultEncryptionKeyProvider;
import de.otto.kafka.messaging.e2ee.vault.VaultEncryptionKeyProviderConfig;
import java.util.List;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package de.otto.springboot.example.fieldlevel.multiple.config;

import de.otto.messaging.kafka.e2ee.vault.MultiTopicVaultEncryptionKeyProviderConfig.KafkaTopicConfigEntry;
import de.otto.messaging.kafka.e2ee.vault.VaultConnectionConfig;
import de.otto.messaging.kafka.e2ee.vault.VaultConnectionConfig.VaultAppRole;
import de.otto.kafka.messaging.e2ee.vault.MultiTopicVaultEncryptionKeyProviderConfig.KafkaTopicConfigEntry;
import de.otto.kafka.messaging.e2ee.vault.VaultConnectionConfig;
import de.otto.kafka.messaging.e2ee.vault.VaultConnectionConfig.VaultAppRole;
import java.util.List;
import lombok.Getter;
import lombok.Setter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package de.otto.springboot.example.fieldlevel.multiple.config;

import de.otto.messaging.kafka.e2ee.vault.SecondLevelCacheStorage;
import de.otto.kafka.messaging.e2ee.vault.SecondLevelCacheStorage;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import de.otto.messaging.kafka.e2ee.EncryptionKeyProvider;
import de.otto.messaging.kafka.e2ee.fieldlevel.FieldLevelDecryptionService;
import de.otto.kafka.messaging.e2ee.EncryptionKeyProvider;
import de.otto.kafka.messaging.e2ee.fieldlevel.FieldLevelDecryptionService;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@

import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import de.otto.messaging.kafka.e2ee.EncryptionKeyProvider;
import de.otto.messaging.kafka.e2ee.EncryptionKeyProvider.KeyVersion;
import de.otto.messaging.kafka.e2ee.EncryptionService;
import de.otto.messaging.kafka.e2ee.InitializationVectorFactory;
import de.otto.messaging.kafka.e2ee.fieldlevel.FieldLevelEncryptionService;
import de.otto.kafka.messaging.e2ee.EncryptionKeyProvider;
import de.otto.kafka.messaging.e2ee.EncryptionKeyProvider.KeyVersion;
import de.otto.kafka.messaging.e2ee.EncryptionService;
import de.otto.kafka.messaging.e2ee.InitializationVectorFactory;
import de.otto.kafka.messaging.e2ee.fieldlevel.FieldLevelEncryptionService;
import java.time.Clock;
import java.time.OffsetDateTime;
import java.time.ZoneId;
Expand Down
4 changes: 2 additions & 2 deletions examples/springboot-fullmessage-multiple/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
id 'io.spring.dependency-management' version '1.1.0'
}

group = 'de.otto.messaging.kafka.e2ee.examples'
group = 'de.otto.kafka.messaging.e2ee.examples'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17'

Expand All @@ -29,7 +29,7 @@ dependencies {
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.kafka:spring-kafka-test'

// include our messaging.kafka.e2ee lib (run "./gradlew clean build publishToMavenLocal" beforehand)
// include our kafka-messaging-e2ee lib (run "./gradlew publishToMavenLocal" beforehand)
implementation "de.otto:kafka-messaging-e2ee:${kafkaE2eeLibraryVersion}"
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package de.otto.springboot.example.multiple;

import de.otto.messaging.kafka.e2ee.AesEncryptedPayload;
import de.otto.messaging.kafka.e2ee.DecryptionService;
import de.otto.messaging.kafka.e2ee.KafkaEncryptionHelper;
import de.otto.kafka.messaging.e2ee.AesEncryptedPayload;
import de.otto.kafka.messaging.e2ee.DecryptionService;
import de.otto.kafka.messaging.e2ee.KafkaEncryptionHelper;
import java.util.Map;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package de.otto.springboot.example.multiple;

import static de.otto.messaging.kafka.e2ee.KafkaEncryptionHelper.KAFKA_HEADER_CIPHER_VALUE;
import static de.otto.messaging.kafka.e2ee.KafkaEncryptionHelper.KAFKA_HEADER_IV_VALUE;
import static de.otto.kafka.messaging.e2ee.KafkaEncryptionHelper.KAFKA_HEADER_CIPHER_VALUE;
import static de.otto.kafka.messaging.e2ee.KafkaEncryptionHelper.KAFKA_HEADER_IV_VALUE;

import de.otto.messaging.kafka.e2ee.AesEncryptedPayload;
import de.otto.messaging.kafka.e2ee.DecryptionService;
import de.otto.messaging.kafka.e2ee.KafkaEncryptionHelper;
import de.otto.kafka.messaging.e2ee.AesEncryptedPayload;
import de.otto.kafka.messaging.e2ee.DecryptionService;
import de.otto.kafka.messaging.e2ee.KafkaEncryptionHelper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.kafka.annotation.KafkaListener;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package de.otto.springboot.example.multiple;

import de.otto.messaging.kafka.e2ee.AesEncryptedPayload;
import de.otto.messaging.kafka.e2ee.DecryptionService;
import de.otto.messaging.kafka.e2ee.KafkaEncryptionHelper;
import de.otto.kafka.messaging.e2ee.AesEncryptedPayload;
import de.otto.kafka.messaging.e2ee.DecryptionService;
import de.otto.kafka.messaging.e2ee.KafkaEncryptionHelper;
import java.util.Map;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package de.otto.springboot.example.multiple;

import de.otto.messaging.kafka.e2ee.AesEncryptedPayload;
import de.otto.messaging.kafka.e2ee.EncryptionService;
import de.otto.messaging.kafka.e2ee.KafkaEncryptionHelper;
import de.otto.kafka.messaging.e2ee.AesEncryptedPayload;
import de.otto.kafka.messaging.e2ee.EncryptionService;
import de.otto.kafka.messaging.e2ee.KafkaEncryptionHelper;
import java.time.LocalTime;
import java.time.format.DateTimeFormatter;
import java.util.ArrayList;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package de.otto.springboot.example.multiple.config;

import de.otto.messaging.kafka.e2ee.DecryptionService;
import de.otto.messaging.kafka.e2ee.EncryptionKeyProvider;
import de.otto.messaging.kafka.e2ee.EncryptionService;
import de.otto.messaging.kafka.e2ee.vault.CachedEncryptionKeyProvider;
import de.otto.messaging.kafka.e2ee.vault.MultiTopicVaultEncryptionKeyProviderConfig;
import de.otto.messaging.kafka.e2ee.vault.MultiTopicVaultEncryptionKeyProviderConfig.KafkaTopicConfigEntry;
import de.otto.messaging.kafka.e2ee.vault.VaultConnectionConfig;
import de.otto.messaging.kafka.e2ee.vault.VaultEncryptionKeyProvider;
import de.otto.messaging.kafka.e2ee.vault.VaultEncryptionKeyProviderConfig;
import de.otto.kafka.messaging.e2ee.DecryptionService;
import de.otto.kafka.messaging.e2ee.EncryptionKeyProvider;
import de.otto.kafka.messaging.e2ee.EncryptionService;
import de.otto.kafka.messaging.e2ee.vault.CachedEncryptionKeyProvider;
import de.otto.kafka.messaging.e2ee.vault.MultiTopicVaultEncryptionKeyProviderConfig;
import de.otto.kafka.messaging.e2ee.vault.MultiTopicVaultEncryptionKeyProviderConfig.KafkaTopicConfigEntry;
import de.otto.kafka.messaging.e2ee.vault.VaultConnectionConfig;
import de.otto.kafka.messaging.e2ee.vault.VaultEncryptionKeyProvider;
import de.otto.kafka.messaging.e2ee.vault.VaultEncryptionKeyProviderConfig;
import java.util.List;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package de.otto.springboot.example.multiple.config;

import de.otto.messaging.kafka.e2ee.vault.MultiTopicVaultEncryptionKeyProviderConfig.KafkaTopicConfigEntry;
import de.otto.messaging.kafka.e2ee.vault.VaultConnectionConfig;
import de.otto.messaging.kafka.e2ee.vault.VaultConnectionConfig.VaultAppRole;
import de.otto.kafka.messaging.e2ee.vault.MultiTopicVaultEncryptionKeyProviderConfig.KafkaTopicConfigEntry;
import de.otto.kafka.messaging.e2ee.vault.VaultConnectionConfig;
import de.otto.kafka.messaging.e2ee.vault.VaultConnectionConfig.VaultAppRole;
import java.util.List;
import lombok.Getter;
import lombok.Setter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package de.otto.springboot.example.multiple.config;

import de.otto.messaging.kafka.e2ee.vault.SecondLevelCacheStorage;
import de.otto.kafka.messaging.e2ee.vault.SecondLevelCacheStorage;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
Expand Down
4 changes: 2 additions & 2 deletions examples/springboot-fullmessage-single/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
id 'io.spring.dependency-management' version '1.1.0'
}

group = 'de.otto.messaging.kafka.e2ee.examples'
group = 'de.otto.kafka.messaging.e2ee.examples'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17'

Expand All @@ -29,7 +29,7 @@ dependencies {
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.kafka:spring-kafka-test'

// include our messaging.kafka.e2ee lib (run "./gradlew clean build publishToMavenLocal" beforehand)
// include our kafka-messaging-e2ee lib (run "./gradlew publishToMavenLocal" beforehand)
implementation "de.otto:kafka-messaging-e2ee:${kafkaE2eeLibraryVersion}"
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package de.otto.springboot.example.single;

import static de.otto.messaging.kafka.e2ee.KafkaEncryptionHelper.KAFKA_HEADER_CIPHER_VALUE;
import static de.otto.messaging.kafka.e2ee.KafkaEncryptionHelper.KAFKA_HEADER_IV_VALUE;
import static de.otto.kafka.messaging.e2ee.KafkaEncryptionHelper.KAFKA_HEADER_CIPHER_VALUE;
import static de.otto.kafka.messaging.e2ee.KafkaEncryptionHelper.KAFKA_HEADER_IV_VALUE;

import de.otto.messaging.kafka.e2ee.AesEncryptedPayload;
import de.otto.messaging.kafka.e2ee.DecryptionService;
import de.otto.messaging.kafka.e2ee.KafkaEncryptionHelper;
import de.otto.kafka.messaging.e2ee.AesEncryptedPayload;
import de.otto.kafka.messaging.e2ee.DecryptionService;
import de.otto.kafka.messaging.e2ee.KafkaEncryptionHelper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.kafka.annotation.KafkaListener;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package de.otto.springboot.example.single;

import static de.otto.messaging.kafka.e2ee.KafkaEncryptionHelper.KAFKA_HEADER_CIPHER_VALUE;
import static de.otto.messaging.kafka.e2ee.KafkaEncryptionHelper.KAFKA_HEADER_IV_VALUE;
import static de.otto.kafka.messaging.e2ee.KafkaEncryptionHelper.KAFKA_HEADER_CIPHER_VALUE;
import static de.otto.kafka.messaging.e2ee.KafkaEncryptionHelper.KAFKA_HEADER_IV_VALUE;

import de.otto.messaging.kafka.e2ee.AesEncryptedPayload;
import de.otto.messaging.kafka.e2ee.DecryptionService;
import de.otto.messaging.kafka.e2ee.KafkaEncryptionHelper;
import de.otto.kafka.messaging.e2ee.AesEncryptedPayload;
import de.otto.kafka.messaging.e2ee.DecryptionService;
import de.otto.kafka.messaging.e2ee.KafkaEncryptionHelper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.kafka.annotation.KafkaListener;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package de.otto.springboot.example.single;

import de.otto.messaging.kafka.e2ee.AesEncryptedPayload;
import de.otto.messaging.kafka.e2ee.EncryptionService;
import de.otto.messaging.kafka.e2ee.KafkaEncryptionHelper;
import de.otto.kafka.messaging.e2ee.AesEncryptedPayload;
import de.otto.kafka.messaging.e2ee.EncryptionService;
import de.otto.kafka.messaging.e2ee.KafkaEncryptionHelper;
import java.time.LocalTime;
import java.time.format.DateTimeFormatter;
import java.util.ArrayList;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package de.otto.springboot.example.single.config;

import de.otto.messaging.kafka.e2ee.DecryptionService;
import de.otto.messaging.kafka.e2ee.EncryptionKeyProvider;
import de.otto.messaging.kafka.e2ee.EncryptionService;
import de.otto.messaging.kafka.e2ee.vault.CachedEncryptionKeyProvider;
import de.otto.messaging.kafka.e2ee.vault.SingleTopicVaultEncryptionKeyProviderConfig;
import de.otto.messaging.kafka.e2ee.vault.VaultConnectionConfig;
import de.otto.messaging.kafka.e2ee.vault.VaultEncryptionKeyProvider;
import de.otto.messaging.kafka.e2ee.vault.VaultEncryptionKeyProviderConfig;
import de.otto.kafka.messaging.e2ee.DecryptionService;
import de.otto.kafka.messaging.e2ee.EncryptionKeyProvider;
import de.otto.kafka.messaging.e2ee.EncryptionService;
import de.otto.kafka.messaging.e2ee.vault.CachedEncryptionKeyProvider;
import de.otto.kafka.messaging.e2ee.vault.SingleTopicVaultEncryptionKeyProviderConfig;
import de.otto.kafka.messaging.e2ee.vault.VaultConnectionConfig;
import de.otto.kafka.messaging.e2ee.vault.VaultEncryptionKeyProvider;
import de.otto.kafka.messaging.e2ee.vault.VaultEncryptionKeyProviderConfig;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
Expand Down
Loading

0 comments on commit b69f69d

Please sign in to comment.