chore: limit observability to ingest apps
This commit is contained in:
@@ -17,10 +17,6 @@
|
||||
<groupId>com.lingniu.ingest</groupId>
|
||||
<artifactId>ingest-api</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.lingniu.ingest</groupId>
|
||||
<artifactId>observability</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.lingniu.ingest</groupId>
|
||||
<artifactId>sink-kafka</artifactId>
|
||||
|
||||
@@ -17,10 +17,6 @@
|
||||
<groupId>com.lingniu.ingest</groupId>
|
||||
<artifactId>ingest-api</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.lingniu.ingest</groupId>
|
||||
<artifactId>observability</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.lingniu.ingest</groupId>
|
||||
<artifactId>sink-kafka</artifactId>
|
||||
|
||||
@@ -283,6 +283,17 @@ class MavenModuleProfileTest {
|
||||
.isFalse();
|
||||
}
|
||||
|
||||
@Test
|
||||
void consumerAppsDoNotDependOnPipelineObservabilityInterceptor() throws Exception {
|
||||
for (String appPom : List.of(
|
||||
"modules/apps/vehicle-history-app/pom.xml",
|
||||
"modules/apps/vehicle-analytics-app/pom.xml")) {
|
||||
assertThat(hasDependency(modulePom(appPom), "com.lingniu.ingest", "observability"))
|
||||
.as(appPom + " is a Kafka consumer/query runtime, not an ingest pipeline runtime")
|
||||
.isFalse();
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
void buildSurfaceDoesNotManageLombokWhenProductionSourcesDoNotUseIt() throws Exception {
|
||||
Document pom = rootPom();
|
||||
|
||||
Reference in New Issue
Block a user