Skip to content

feat(sdk): cache ListKeyAccessServers response during decryption - #391

Open
eugenioenko wants to merge 4 commits into
mainfrom
eyakhnenko/cache-kas-allowlist
Open

feat(sdk): cache ListKeyAccessServers response during decryption#391
eugenioenko wants to merge 4 commits into
mainfrom
eyakhnenko/cache-kas-allowlist

fix(sdk): use ConcurrentHashMap and narrow catch scope

b5254ca
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Aug 20, 2026 in 37s

Annotations

Check warning on line 36 in sdk/src/main/java/io/opentdf/platform/sdk/KASAllowlistCache.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Return an empty collection instead of null.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AaAfvHkA0CwIYMuUgBMq&open=AaAfvHkA0CwIYMuUgBMq&pullRequest=391

Check warning on line 39 in sdk/src/main/java/io/opentdf/platform/sdk/SDK.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'java.util.Set'.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AaAfvHlU0CwIYMuUgBMs&open=AaAfvHlU0CwIYMuUgBMs&pullRequest=391

Check warning on line 28 in sdk/src/main/java/io/opentdf/platform/sdk/KASAllowlistCache.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Return an empty collection instead of null.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AaAfvHkA0CwIYMuUgBMo&open=AaAfvHkA0CwIYMuUgBMo&pullRequest=391

Check warning on line 46 in sdk/src/main/java/io/opentdf/platform/sdk/KASAllowlistCache.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Explicitly specify the time zone by passing a ZoneId or a Clock to the .now() method.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AaAfyDYDDe4tBAqPPbw5&open=AaAfyDYDDe4tBAqPPbw5&pullRequest=391

Check warning on line 31 in sdk/src/main/java/io/opentdf/platform/sdk/KASAllowlistCache.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Explicitly specify the time zone by passing a ZoneId or a Clock to the .now() method.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AaAfvHkA0CwIYMuUgBMp&open=AaAfvHkA0CwIYMuUgBMp&pullRequest=391