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
16 changes: 16 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,22 @@ updates:
# still targets 8.0.x. Remove once Dropwizard supports 9.
- dependency-name: "org.hibernate.validator:hibernate-validator"
versions: [">=9.0.0"]
# jsonschema2pojo 1.3.3 crashes generating openmetadata-spec (ValidRule.isMap treats a
# java.lang.Object field as a Map). Remove once a release ships the upstream fix.
- dependency-name: "org.jsonschema2pojo:*"
versions: ["1.3.3"]
# httpcore5 must match the line httpclient5 is built against (5.6.x -> 5.4.x); mixing
# them silently kills the search I/O reactor. Remove once httpclient5 5.7 is GA.
- dependency-name: "org.apache.httpcomponents.core5:*"
versions: [">=5.5"]
# Jena 6.3.0 hard-codes a 100 KB RDF Thrift message cap (TRDF.maxMessageSize), so RDF values
# over ~100 KB stop reading back. RdfLiveProjectionIT guards later releases.
- dependency-name: "org.apache.jena:*"
versions: ["6.3.0"]
# elasticsearch-java 9.3+ cannot decode cluster.stats from Elasticsearch 9.0/9.1 (missing
# SearchUsageStats.extended). Remove once the minimum supported server is 9.3 or later.
- dependency-name: "co.elastic.clients:elasticsearch-java"
versions: [">=9.3.0"]

- package-ecosystem: "npm"
directory: "/openmetadata-ui/src/main/resources/ui"
Expand Down
4 changes: 2 additions & 2 deletions common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.18.0</version>
<version>3.22.0</version>
</dependency>
<dependency>
<groupId>io.dropwizard</groupId>
Expand All @@ -84,7 +84,7 @@
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.17.1</version>
<version>1.23.0</version>
</dependency>
</dependencies>

Expand Down
16 changes: 8 additions & 8 deletions openmetadata-clients/openmetadata-java-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<springfox-version>2.7.0</springfox-version>
<feign-version>13.5</feign-version>
<jackson-databind-nullable-version>0.2.6</jackson-databind-nullable-version>
<feign-version>13.18</feign-version>
<jackson-databind-nullable-version>0.2.13</jackson-databind-nullable-version>
<scribejava-apis-version>8.3.3</scribejava-apis-version>
<jakarta-annotation-version>1.3.5</jakarta-annotation-version>
<sonar.skip>true</sonar.skip>
Expand Down Expand Up @@ -87,12 +87,12 @@
<dependency>
<groupId>com.google.auth</groupId>
<artifactId>google-auth-library-oauth2-http</artifactId>
<version>1.29.0</version>
<version>1.58.0</version>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>msal4j</artifactId>
<version>1.17.2</version>
<version>1.26.1</version>
</dependency>
<!-- Force oauth2-oidc-sdk 11.38.1 (latest 11.x) which natively targets
nimbus-jose-jwt 10.9. msal4j 1.17.2 pins oauth2-oidc-sdk 11.18 which
Expand All @@ -102,7 +102,7 @@
<dependency>
<groupId>com.nimbusds</groupId>
<artifactId>oauth2-oidc-sdk</artifactId>
<version>11.38.1</version>
<version>11.39</version>
</dependency>
<!-- oauth2-oidc-sdk declares json-smart 2.6.0; 2.6.1 clears CVE-2026-113602. -->
<dependency>
Expand All @@ -125,7 +125,7 @@
<dependency>
<groupId>org.mozilla</groupId>
<artifactId>rhino</artifactId>
<version>1.7.15.1</version>
<version>1.9.2</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
Expand Down Expand Up @@ -162,7 +162,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>3.0.0</version>
<version>3.4.0</version>
<configuration>
<doCheck>false</doCheck>
<doUpdate>false</doUpdate>
Expand All @@ -181,7 +181,7 @@
<plugin>
<groupId>org.openapitools</groupId>
<artifactId>openapi-generator-maven-plugin</artifactId>
<version>7.13.0</version>
<version>7.27.0</version>
<executions>
<execution>
<goals>
Expand Down
2 changes: 1 addition & 1 deletion openmetadata-dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>rpm-maven-plugin</artifactId>
<version>2.2.0</version>
<version>2.5.0</version>
<executions>
<execution>
<phase>install</phase>
Expand Down
24 changes: 15 additions & 9 deletions openmetadata-integration-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,21 @@
<packaging>jar</packaging>
<properties>
<maven.surefire.version>3.1.2</maven.surefire.version>
<maven.failsafe.version>3.1.2</maven.failsafe.version>
<maven.failsafe.version>3.6.1</maven.failsafe.version>
<junit.jupiter.version>${org.junit.jupiter.version}</junit.jupiter.version>
<junit.platform.version>${org.junit.platform.version}</junit.platform.version>
<dockerjava.version>3.4.2</dockerjava.version>
<dockerjava.version>3.7.1</dockerjava.version>
<integrationTests.parallelStrategy>dynamic</integrationTests.parallelStrategy>
<integrationTests.parallelism>4</integrationTests.parallelism>
<integrationTests.maxPoolSize>16</integrationTests.maxPoolSize>
<integrationTests.skipIsolated>false</integrationTests.skipIsolated>
<integrationTests.skipParallel>false</integrationTests.skipParallel>
<!-- Failsafe 3.6 (SUREFIRE-823) skips only on -DskipITs. Builds that pass just -DskipTests
(sonar, Collate's compatibility build, the Playwright nightly) still mean "no ITs", so
skipITs follows skipTests. The lane executions set <skipITs> explicitly, which overrides
-DskipITs, so they default to it too; each integrationTests.lane profile sets both. -->
<skipTests>false</skipTests>
<skipITs>${skipTests}</skipITs>
<integrationTests.skipIsolated>${skipITs}</integrationTests.skipIsolated>
<integrationTests.skipParallel>${skipITs}</integrationTests.skipParallel>
<integrationTests.forkTimeoutSeconds>3600</integrationTests.forkTimeoutSeconds>
<integrationTests.globalStateTests>TagRecognizerFeedbackIT,WorkflowDefinitionResourceIT,ChangeRequestAdmissionIT,ChangeRequestApplyIT,ChangeRequestDecisionIT,ChangeRequestImportAndBulkIT,ChangeRequestLifecycleIT,ChangeRequestResourceIT,AppsResourceIT,TestSuiteReindexIT,DataContractValidationAppIT,SystemResourceIT,Sso*IT,VectorEmbeddingIntegrationIT,PatchTableEmbeddingIT,GlossaryOntologyExportIT,UserMetricsResourceIT,ConversationSchemaMigrationIT,MetricMigrationIT,EntityShapeIT,ContextMemoryExtractionIT,ContextMemoryExtractionRequestIT,ContextMemoryDerivationIT,CredentialDatabaseOutageIT,CredentialRedisNoRoundTripIT,CredentialRedisDownIT,OntologyConcurrentHardDeleteIT,NativeOntologyEveryPackInstallIT,DataProductDeleteRaceIT,DataProductPortsAtomicityIT</integrationTests.globalStateTests>
<integrationTests.multiNodeTests>SessionMultiNodeIT,SessionRedisMultiNodeIT,CredentialRevocationTwoProcessIT,RevokeWaitForPropagationIT,OpsRegenerateBotTokensIT,CsvExportMultiNodeIT,RdfDisabledMarkLifecycleIT</integrationTests.multiNodeTests>
Expand Down Expand Up @@ -51,7 +57,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
<version>1.27.1</version>
<version>1.28.0</version>
<scope>test</scope>
</dependency>
<!-- SDK client -->
Expand Down Expand Up @@ -128,7 +134,7 @@
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-client</artifactId>
<version>6.12.0</version>
<version>${fabric8.version}</version>
<scope>test</scope>
</dependency>
<!-- OMJob operator model for K8s integration tests -->
Expand Down Expand Up @@ -176,7 +182,7 @@
<dependency>
<groupId>org.awaitility</groupId>
<artifactId>awaitility</artifactId>
<version>4.2.0</version>
<version>4.3.0</version>
<scope>test</scope>
</dependency>
<!-- JWT signing -->
Expand All @@ -190,7 +196,7 @@
<dependency>
<groupId>com.microsoft.playwright</groupId>
<artifactId>playwright</artifactId>
<version>1.49.0</version>
<version>1.65.1</version>
<scope>test</scope>
</dependency>
<!--
Expand Down Expand Up @@ -230,7 +236,7 @@
<dependency>
<groupId>org.eclipse.parsson</groupId>
<artifactId>parsson</artifactId>
<version>1.1.8</version>
<version>1.1.9</version>
<scope>test</scope>
</dependency>
<!-- RDF support (Apache Jena) for RDF tests. Version unified with
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,28 @@ void quotedGlossaryTagsProjectWithoutDegradingLiveWrites(final TestNamespace nam
}
}

/**
* Entity graphs are read back over RDF Thrift. Jena 6.3.0 caps a Thrift message at 100 KB, which
* left such a value unreadable and blocked the live write queue behind it.
*/
@Test
void valueOverOneHundredKilobytesProjectsAndReadsBack(final TestNamespace namespace)
throws Exception {
RdfUpdater.initialize(servingConfig);
final var service = DatabaseServiceTestFactory.createPostgres(namespace);
final var schema = DatabaseSchemaTestFactory.createSimple(namespace, service);
final String description = "x".repeat(150_000);
final var table =
TableTestFactory.createWithDescription(
namespace, schema.getFullyQualifiedName(), description);
try (var storage = new JenaFusekiStorage(servingConfig)) {
Awaitility.await()
.atMost(Duration.ofSeconds(60))
.untilAsserted(() -> assertHasLiteral(storage, table.getId(), description));
}
assertEquals(RdfProjectionState.READY, status());
}

@Test
void replayedRelationshipAndGlossaryRelationAdditionsDoNotResurrectDeletedEdges(
final TestNamespace namespace) throws Exception {
Expand Down Expand Up @@ -440,6 +462,18 @@ private static RdfConfiguration configuration(final String endpoint) {
.withWriteMaxRetries(0);
}

private static void assertHasLiteral(
final JenaFusekiStorage storage, final UUID tableId, final String value) {
final Model model = storage.getEntity(Entity.TABLE, tableId);
assertNotNull(model, "no readable RDF graph for table %s".formatted(tableId));
try {
assertTrue(
model.contains(null, null, value), "table %s lacks the literal".formatted(tableId));
} finally {
model.close();
}
}

private static void assertHasGlossaryTerm(
final JenaFusekiStorage storage,
final UUID tableId,
Expand Down
18 changes: 9 additions & 9 deletions openmetadata-k8s-operator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-httpclient-okhttp</artifactId>
<version>6.12.0</version>
<version>${fabric8.version}</version>
</dependency>

<!-- Jackson for JSON processing -->
Expand Down Expand Up @@ -108,28 +108,28 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>5.7.0</version>
<version>5.24.0</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
<version>5.7.0</version>
<version>5.24.0</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>junit-jupiter</artifactId>
<version>1.20.3</version>
<version>1.21.4</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>k3s</artifactId>
<version>1.20.3</version>
<version>1.21.4</version>
<scope>test</scope>
</dependency>

Expand All @@ -138,7 +138,7 @@
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-server-mock</artifactId>
<version>6.12.0</version>
<version>${fabric8.version}</version>
<scope>test</scope>
</dependency>

Expand All @@ -164,7 +164,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<version>3.16.0</version>
<configuration>
<source>21</source>
<target>21</target>
Expand Down Expand Up @@ -208,7 +208,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.2.5</version>
<version>3.6.1</version>
<configuration>
<includes>
<include>**/*Test.java</include>
Expand All @@ -220,7 +220,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>3.2.5</version>
<version>3.6.1</version>
</plugin>
</plugins>
</build>
Expand Down
4 changes: 2 additions & 2 deletions openmetadata-mcp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<properties>
<assertj-core.version>3.27.7</assertj-core.version>
<jetty.version>12.1.14</jetty.version>
<jetty.version>12.1.15</jetty.version>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -111,7 +111,7 @@
<dependency>
<groupId>org.awaitility</groupId>
<artifactId>awaitility</artifactId>
<version>4.2.2</version>
<version>4.3.0</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
12 changes: 6 additions & 6 deletions openmetadata-sdk/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
<properties>
<junit.version>${org.junit.jupiter.version}</junit.version>
<junit-platform.version>${org.junit.platform.version}</junit-platform.version>
<mockito.version>5.5.0</mockito.version>
<mockito.version>5.24.0</mockito.version>
<slf4j.version>2.0.9</slf4j.version>
<lombok.version>1.18.30</lombok.version>
<lombok.version>1.18.48</lombok.version>
<testcontainers.version>1.21.4</testcontainers.version>
<jwt.version>4.6.2</jwt.version>
<flyway.version>9.22.3</flyway.version>
Expand Down Expand Up @@ -59,7 +59,7 @@
<dependency>
<groupId>io.socket</groupId>
<artifactId>socket.io-client</artifactId>
<version>2.1.1</version>
<version>2.1.2</version>
<exclusions>
<exclusion>
<groupId>org.json</groupId>
Expand Down Expand Up @@ -120,7 +120,7 @@
<dependency>
<groupId>org.eclipse.parsson</groupId>
<artifactId>parsson</artifactId>
<version>1.1.8</version>
<version>1.1.9</version>
<optional>true</optional>
</dependency>

Expand Down Expand Up @@ -174,7 +174,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.1.2</version>
<version>3.6.1</version>
<configuration>
<includes>
<include>**/*Test.java</include>
Expand Down Expand Up @@ -203,7 +203,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>3.1.2</version>
<version>3.6.1</version>
<configuration>
<includes>
<include>**/*IntegrationTest.java</include>
Expand Down
Loading
Loading