chore: limit observability to ingest apps
This commit is contained in:
@@ -17,10 +17,6 @@
|
|||||||
<groupId>com.lingniu.ingest</groupId>
|
<groupId>com.lingniu.ingest</groupId>
|
||||||
<artifactId>ingest-api</artifactId>
|
<artifactId>ingest-api</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>com.lingniu.ingest</groupId>
|
|
||||||
<artifactId>observability</artifactId>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.lingniu.ingest</groupId>
|
<groupId>com.lingniu.ingest</groupId>
|
||||||
<artifactId>sink-kafka</artifactId>
|
<artifactId>sink-kafka</artifactId>
|
||||||
|
|||||||
@@ -17,10 +17,6 @@
|
|||||||
<groupId>com.lingniu.ingest</groupId>
|
<groupId>com.lingniu.ingest</groupId>
|
||||||
<artifactId>ingest-api</artifactId>
|
<artifactId>ingest-api</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>com.lingniu.ingest</groupId>
|
|
||||||
<artifactId>observability</artifactId>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.lingniu.ingest</groupId>
|
<groupId>com.lingniu.ingest</groupId>
|
||||||
<artifactId>sink-kafka</artifactId>
|
<artifactId>sink-kafka</artifactId>
|
||||||
|
|||||||
@@ -283,6 +283,17 @@ class MavenModuleProfileTest {
|
|||||||
.isFalse();
|
.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
|
@Test
|
||||||
void buildSurfaceDoesNotManageLombokWhenProductionSourcesDoNotUseIt() throws Exception {
|
void buildSurfaceDoesNotManageLombokWhenProductionSourcesDoNotUseIt() throws Exception {
|
||||||
Document pom = rootPom();
|
Document pom = rootPom();
|
||||||
|
|||||||
Reference in New Issue
Block a user