28 changed files with 74 additions and 111 deletions
@ -1,89 +0,0 @@
@@ -1,89 +0,0 @@
|
||||
/* |
||||
* Copyright 2012-present the original author or authors. |
||||
* |
||||
* Licensed under the Apache License, Version 2.0 (the License); |
||||
* you may not use this file except in compliance with the License. |
||||
* You may obtain a copy of the License at |
||||
* |
||||
* https://www.apache.org/licenses/LICENSE-2.0 |
||||
* |
||||
* Unless required by applicable law or agreed to in writing, software |
||||
* distributed under the License is distributed on an "AS IS" BASIS, |
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
* See the License for the specific language governing permissions and |
||||
* limitations under the License. |
||||
*/ |
||||
|
||||
|
||||
plugins { |
||||
id "java-library" |
||||
id "org.springframework.boot.deployed" |
||||
id "org.springframework.boot.docker-test" |
||||
id "org.springframework.boot.optional-dependencies" |
||||
} |
||||
|
||||
description = "Spring Boot Docker Compose All" |
||||
|
||||
dependencies { |
||||
api(project(":spring-boot-project:spring-boot")) |
||||
api(project(":spring-boot-project:spring-boot-docker-compose")) |
||||
|
||||
dockerTestImplementation(testFixtures(project(":spring-boot-project:spring-boot-docker-compose"))) |
||||
dockerTestImplementation(project(":spring-boot-project:spring-boot-jdbc")) |
||||
dockerTestImplementation(project(":spring-boot-project:spring-boot-flyway")) |
||||
dockerTestImplementation(project(":spring-boot-project:spring-boot-liquibase")) |
||||
dockerTestImplementation(project(":spring-boot-project:spring-boot-opentelemetry")) |
||||
dockerTestImplementation(project(":spring-boot-project:spring-boot-pulsar")) |
||||
dockerTestImplementation(project(":spring-boot-project:spring-boot-r2dbc")) |
||||
dockerTestImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support-docker")) |
||||
dockerTestImplementation("com.redis:testcontainers-redis") |
||||
dockerTestImplementation("org.assertj:assertj-core") |
||||
dockerTestImplementation("org.awaitility:awaitility") |
||||
dockerTestImplementation("org.junit.jupiter:junit-jupiter") |
||||
dockerTestImplementation("org.testcontainers:testcontainers") |
||||
|
||||
dockerTestRuntimeOnly("com.clickhouse:clickhouse-jdbc") |
||||
dockerTestRuntimeOnly("com.clickhouse:clickhouse-r2dbc") |
||||
dockerTestRuntimeOnly("com.microsoft.sqlserver:mssql-jdbc") |
||||
dockerTestRuntimeOnly("com.oracle.database.r2dbc:oracle-r2dbc") |
||||
dockerTestRuntimeOnly("io.opentelemetry:opentelemetry-exporter-otlp") |
||||
dockerTestRuntimeOnly("io.r2dbc:r2dbc-mssql") |
||||
dockerTestRuntimeOnly("org.postgresql:postgresql") |
||||
dockerTestRuntimeOnly("org.postgresql:r2dbc-postgresql") |
||||
|
||||
implementation("com.fasterxml.jackson.core:jackson-databind") |
||||
implementation("com.fasterxml.jackson.module:jackson-module-parameter-names") |
||||
|
||||
optional(project(":spring-boot-project:spring-boot-activemq")) |
||||
optional(project(":spring-boot-project:spring-boot-amqp")) |
||||
optional(project(":spring-boot-project:spring-boot-artemis")) |
||||
optional(project(":spring-boot-project:spring-boot-actuator-autoconfigure-all")) |
||||
optional(project(":spring-boot-project:spring-boot-cassandra")) |
||||
optional(project(":spring-boot-project:spring-boot-data-redis")) |
||||
optional(project(":spring-boot-project:spring-boot-elasticsearch")) |
||||
optional(project(":spring-boot-project:spring-boot-flyway")) |
||||
optional(project(":spring-boot-project:spring-boot-hazelcast")) |
||||
optional(project(":spring-boot-project:spring-boot-jdbc")) |
||||
optional(project(":spring-boot-project:spring-boot-ldap")) |
||||
optional(project(":spring-boot-project:spring-boot-liquibase")) |
||||
optional(project(":spring-boot-project:spring-boot-metrics")) |
||||
optional(project(":spring-boot-project:spring-boot-mongodb")) |
||||
optional(project(":spring-boot-project:spring-boot-neo4j")) |
||||
optional(project(":spring-boot-project:spring-boot-opentelemetry")) |
||||
optional(project(":spring-boot-project:spring-boot-pulsar")) |
||||
optional(project(":spring-boot-project:spring-boot-r2dbc")) |
||||
optional(project(":spring-boot-project:spring-boot-tracing")) |
||||
optional(project(":spring-boot-project:spring-boot-zipkin")) |
||||
optional("com.hazelcast:hazelcast") |
||||
optional("org.mongodb:mongodb-driver-core") |
||||
optional("org.neo4j.driver:neo4j-java-driver") |
||||
optional("org.springframework.data:spring-data-r2dbc") |
||||
|
||||
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support")) |
||||
testImplementation(project(":spring-boot-project:spring-boot-test")) |
||||
testImplementation("ch.qos.logback:logback-classic") |
||||
} |
||||
|
||||
tasks.named("javadoc") { |
||||
enabled = false |
||||
} |
||||
@ -1,5 +0,0 @@
@@ -1,5 +0,0 @@
|
||||
# Connection Details Factories |
||||
org.springframework.boot.autoconfigure.service.connection.ConnectionDetailsFactory=\ |
||||
org.springframework.boot.docker.compose.service.connection.otlp.OpenTelemetryLoggingDockerComposeConnectionDetailsFactory,\ |
||||
org.springframework.boot.docker.compose.service.connection.otlp.OpenTelemetryMetricsDockerComposeConnectionDetailsFactory,\ |
||||
org.springframework.boot.docker.compose.service.connection.otlp.OpenTelemetryTracingDockerComposeConnectionDetailsFactory |
||||
2
spring-boot-project/spring-boot-docker-compose-all/src/dockerTest/java/org/springframework/boot/docker/compose/service/connection/otlp/GrafanaOpenTelemetryMetricsDockerComposeConnectionDetailsFactoryIntegrationTests.java → spring-boot-project/spring-boot-metrics/src/dockerTest/java/org/springframework/boot/metrics/docker/compose/otlp/GrafanaOpenTelemetryMetricsDockerComposeConnectionDetailsFactoryIntegrationTests.java
2
spring-boot-project/spring-boot-docker-compose-all/src/dockerTest/java/org/springframework/boot/docker/compose/service/connection/otlp/GrafanaOpenTelemetryMetricsDockerComposeConnectionDetailsFactoryIntegrationTests.java → spring-boot-project/spring-boot-metrics/src/dockerTest/java/org/springframework/boot/metrics/docker/compose/otlp/GrafanaOpenTelemetryMetricsDockerComposeConnectionDetailsFactoryIntegrationTests.java
2
spring-boot-project/spring-boot-docker-compose-all/src/dockerTest/java/org/springframework/boot/docker/compose/service/connection/otlp/OpenTelemetryMetricsDockerComposeConnectionDetailsFactoryIntegrationTests.java → spring-boot-project/spring-boot-metrics/src/dockerTest/java/org/springframework/boot/metrics/docker/compose/otlp/OpenTelemetryMetricsDockerComposeConnectionDetailsFactoryIntegrationTests.java
2
spring-boot-project/spring-boot-docker-compose-all/src/dockerTest/java/org/springframework/boot/docker/compose/service/connection/otlp/OpenTelemetryMetricsDockerComposeConnectionDetailsFactoryIntegrationTests.java → spring-boot-project/spring-boot-metrics/src/dockerTest/java/org/springframework/boot/metrics/docker/compose/otlp/OpenTelemetryMetricsDockerComposeConnectionDetailsFactoryIntegrationTests.java
2
spring-boot-project/spring-boot-docker-compose-all/src/main/java/org/springframework/boot/docker/compose/service/connection/otlp/OpenTelemetryMetricsDockerComposeConnectionDetailsFactory.java → spring-boot-project/spring-boot-metrics/src/main/java/org/springframework/boot/metrics/docker/compose/otlp/OpenTelemetryMetricsDockerComposeConnectionDetailsFactory.java
2
spring-boot-project/spring-boot-docker-compose-all/src/main/java/org/springframework/boot/docker/compose/service/connection/otlp/OpenTelemetryMetricsDockerComposeConnectionDetailsFactory.java → spring-boot-project/spring-boot-metrics/src/main/java/org/springframework/boot/metrics/docker/compose/otlp/OpenTelemetryMetricsDockerComposeConnectionDetailsFactory.java
2
spring-boot-project/spring-boot-docker-compose-all/src/dockerTest/java/org/springframework/boot/docker/compose/service/connection/otlp/GrafanaOpenTelemetryLoggingDockerComposeConnectionDetailsFactoryIntegrationTests.java → spring-boot-project/spring-boot-opentelemetry/src/dockerTest/java/org/springframework/boot/opentelemetry/docker/compose/GrafanaOpenTelemetryLoggingDockerComposeConnectionDetailsFactoryIntegrationTests.java
2
spring-boot-project/spring-boot-docker-compose-all/src/dockerTest/java/org/springframework/boot/docker/compose/service/connection/otlp/GrafanaOpenTelemetryLoggingDockerComposeConnectionDetailsFactoryIntegrationTests.java → spring-boot-project/spring-boot-opentelemetry/src/dockerTest/java/org/springframework/boot/opentelemetry/docker/compose/GrafanaOpenTelemetryLoggingDockerComposeConnectionDetailsFactoryIntegrationTests.java
2
spring-boot-project/spring-boot-docker-compose-all/src/dockerTest/java/org/springframework/boot/docker/compose/service/connection/otlp/OpenTelemetryLoggingDockerComposeConnectionDetailsFactoryIntegrationTests.java → spring-boot-project/spring-boot-opentelemetry/src/dockerTest/java/org/springframework/boot/opentelemetry/docker/compose/OpenTelemetryLoggingDockerComposeConnectionDetailsFactoryIntegrationTests.java
2
spring-boot-project/spring-boot-docker-compose-all/src/dockerTest/java/org/springframework/boot/docker/compose/service/connection/otlp/OpenTelemetryLoggingDockerComposeConnectionDetailsFactoryIntegrationTests.java → spring-boot-project/spring-boot-opentelemetry/src/dockerTest/java/org/springframework/boot/opentelemetry/docker/compose/OpenTelemetryLoggingDockerComposeConnectionDetailsFactoryIntegrationTests.java
@ -0,0 +1,6 @@
@@ -0,0 +1,6 @@
|
||||
services: |
||||
otlp: |
||||
image: '{imageName}' |
||||
ports: |
||||
- '4317' |
||||
- '4318' |
||||
2
spring-boot-project/spring-boot-docker-compose-all/src/main/java/org/springframework/boot/docker/compose/service/connection/otlp/OpenTelemetryLoggingDockerComposeConnectionDetailsFactory.java → spring-boot-project/spring-boot-opentelemetry/src/main/java/org/springframework/boot/opentelemetry/docker/compose/OpenTelemetryLoggingDockerComposeConnectionDetailsFactory.java
2
spring-boot-project/spring-boot-docker-compose-all/src/main/java/org/springframework/boot/docker/compose/service/connection/otlp/OpenTelemetryLoggingDockerComposeConnectionDetailsFactory.java → spring-boot-project/spring-boot-opentelemetry/src/main/java/org/springframework/boot/opentelemetry/docker/compose/OpenTelemetryLoggingDockerComposeConnectionDetailsFactory.java
@ -0,0 +1,20 @@
@@ -0,0 +1,20 @@
|
||||
/* |
||||
* Copyright 2012-present the original author or authors. |
||||
* |
||||
* Licensed under the Apache License, Version 2.0 (the "License"); |
||||
* you may not use this file except in compliance with the License. |
||||
* You may obtain a copy of the License at |
||||
* |
||||
* https://www.apache.org/licenses/LICENSE-2.0
|
||||
* |
||||
* Unless required by applicable law or agreed to in writing, software |
||||
* distributed under the License is distributed on an "AS IS" BASIS, |
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
* See the License for the specific language governing permissions and |
||||
* limitations under the License. |
||||
*/ |
||||
|
||||
/** |
||||
* Support for Docker Compose OpenTelemetry logging service connections. |
||||
*/ |
||||
package org.springframework.boot.opentelemetry.docker.compose; |
||||
@ -1,4 +1,5 @@
@@ -1,4 +1,5 @@
|
||||
# Connection Details Factories |
||||
org.springframework.boot.autoconfigure.service.connection.ConnectionDetailsFactory=\ |
||||
org.springframework.boot.opentelemetry.docker.compose.OpenTelemetryLoggingDockerComposeConnectionDetailsFactory,\ |
||||
org.springframework.boot.opentelemetry.testcontainers.GrafanaOpenTelemetryLoggingContainerConnectionDetailsFactory,\ |
||||
org.springframework.boot.opentelemetry.testcontainers.OpenTelemetryLoggingContainerConnectionDetailsFactory |
||||
org.springframework.boot.opentelemetry.testcontainers.OpenTelemetryLoggingContainerConnectionDetailsFactory |
||||
2
spring-boot-project/spring-boot-docker-compose-all/src/dockerTest/java/org/springframework/boot/docker/compose/service/connection/otlp/GrafanaOpenTelemetryTracingDockerComposeConnectionDetailsFactoryIntegrationTests.java → spring-boot-project/spring-boot-tracing/src/dockerTest/java/org/springframework/boot/tracing/docker/compose/otlp/GrafanaOpenTelemetryTracingDockerComposeConnectionDetailsFactoryIntegrationTests.java
2
spring-boot-project/spring-boot-docker-compose-all/src/dockerTest/java/org/springframework/boot/docker/compose/service/connection/otlp/GrafanaOpenTelemetryTracingDockerComposeConnectionDetailsFactoryIntegrationTests.java → spring-boot-project/spring-boot-tracing/src/dockerTest/java/org/springframework/boot/tracing/docker/compose/otlp/GrafanaOpenTelemetryTracingDockerComposeConnectionDetailsFactoryIntegrationTests.java
2
spring-boot-project/spring-boot-docker-compose-all/src/dockerTest/java/org/springframework/boot/docker/compose/service/connection/otlp/OpenTelemetryTracingDockerComposeConnectionDetailsFactoryIntegrationTests.java → spring-boot-project/spring-boot-tracing/src/dockerTest/java/org/springframework/boot/tracing/docker/compose/otlp/OpenTelemetryTracingDockerComposeConnectionDetailsFactoryIntegrationTests.java
2
spring-boot-project/spring-boot-docker-compose-all/src/dockerTest/java/org/springframework/boot/docker/compose/service/connection/otlp/OpenTelemetryTracingDockerComposeConnectionDetailsFactoryIntegrationTests.java → spring-boot-project/spring-boot-tracing/src/dockerTest/java/org/springframework/boot/tracing/docker/compose/otlp/OpenTelemetryTracingDockerComposeConnectionDetailsFactoryIntegrationTests.java
@ -0,0 +1,6 @@
@@ -0,0 +1,6 @@
|
||||
services: |
||||
otlp: |
||||
image: '{imageName}' |
||||
ports: |
||||
- '4317' |
||||
- '4318' |
||||
2
spring-boot-project/spring-boot-docker-compose-all/src/main/java/org/springframework/boot/docker/compose/service/connection/otlp/OpenTelemetryTracingDockerComposeConnectionDetailsFactory.java → spring-boot-project/spring-boot-tracing/src/main/java/org/springframework/boot/tracing/docker/compose/otlp/OpenTelemetryTracingDockerComposeConnectionDetailsFactory.java
2
spring-boot-project/spring-boot-docker-compose-all/src/main/java/org/springframework/boot/docker/compose/service/connection/otlp/OpenTelemetryTracingDockerComposeConnectionDetailsFactory.java → spring-boot-project/spring-boot-tracing/src/main/java/org/springframework/boot/tracing/docker/compose/otlp/OpenTelemetryTracingDockerComposeConnectionDetailsFactory.java
@ -0,0 +1,20 @@
@@ -0,0 +1,20 @@
|
||||
/* |
||||
* Copyright 2012-present the original author or authors. |
||||
* |
||||
* Licensed under the Apache License, Version 2.0 (the "License"); |
||||
* you may not use this file except in compliance with the License. |
||||
* You may obtain a copy of the License at |
||||
* |
||||
* https://www.apache.org/licenses/LICENSE-2.0
|
||||
* |
||||
* Unless required by applicable law or agreed to in writing, software |
||||
* distributed under the License is distributed on an "AS IS" BASIS, |
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
* See the License for the specific language governing permissions and |
||||
* limitations under the License. |
||||
*/ |
||||
|
||||
/** |
||||
* Support for Docker Compose OpenTelemetry tracing service connections. |
||||
*/ |
||||
package org.springframework.boot.tracing.docker.compose.otlp; |
||||
Loading…
Reference in new issue