Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions api/iceberg-service/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -118,3 +118,5 @@ sourceSets {
tasks.named("javadoc") { dependsOn("jandex") }

tasks.named("processResources") { dependsOn("openApiGenerate") }

tasks.named("openApiGenerate") { outputs.cacheIf { false } }
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ public Response loadTable(
String namespace,
String table,
String accessDelegationMode,
String ifNoneMatchString,
String snapshots,
RealmContext realmContext,
SecurityContext securityContext) {
Expand All @@ -377,9 +378,7 @@ public Response loadTable(
Namespace ns = decodeNamespace(namespace);
TableIdentifier tableIdentifier = TableIdentifier.of(ns, RESTUtil.decodeString(table));

// TODO: Populate with header value from parameter once the generated interface
// contains the if-none-match header
IfNoneMatch ifNoneMatch = IfNoneMatch.fromHeader(null);
IfNoneMatch ifNoneMatch = IfNoneMatch.fromHeader(ifNoneMatchString);

if (ifNoneMatch.isWildcard()) {
throw new BadRequestException("If-None-Match may not take the value of '*'");
Expand Down
Loading