Skip to content

Commit

Permalink
Stop publishing opentelemetry-sdk-extension-aws artifact (#4830)
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-berg committed Oct 14, 2022
1 parent ebb97da commit cc22880
Show file tree
Hide file tree
Showing 37 changed files with 21 additions and 2,303 deletions.
1 change: 0 additions & 1 deletion README.md
Expand Up @@ -271,7 +271,6 @@ dependency as follows, replacing `{{artifact-id}}` with the value from the "Arti
| [SDK Autoconfigure Extension](./sdk-extensions/autoconfigure) | Autoconfigure OpenTelemetry SDK from env vars, system properties, and SPI | `opentelemetry-sdk-extension-autoconfigure` | <!--VERSION_UNSTABLE-->1.19.0-alpha<!--/VERSION_UNSTABLE--> |
| [SDK Autoconfigure SPI](./sdk-extensions/autoconfigure-spi) | Service Provider Interface (SPI) definitions for autoconfigure | `opentelemetry-sdk-extension-autoconfigure-spi` | <!--VERSION_STABLE-->1.19.0<!--/VERSION_STABLE--> |
| [SDK Resources Extension](./sdk-extensions/resources) | Resource providers, including container, host, os, and process (deprecated) | `opentelemetry-sdk-extension-resources` | <!--VERSION_STABLE-->1.19.0<!--/VERSION_STABLE--> |
| [SDK AWS Extension](./sdk-extensions/aws) | AWS resource providers, including beanstalk, ec2, ecs, eks, and lambda (deprecated) | `opentelemetry-sdk-extension-aws` | <!--VERSION_STABLE-->1.19.0<!--/VERSION_STABLE--> |
| [SDK Jaeger Remote Sampler Extension](./sdk-extensions/jaeger-remote-sampler) | Sampler which obtains sampling configuration from remote Jaeger server | `opentelemetry-sdk-extension-jaeger-remote-sampler` | <!--VERSION_STABLE-->1.19.0<!--/VERSION_STABLE--> |
| [SDK Incubator](./sdk-extensions/incubator) | SDK incubator, including YAML based view configuration, LeakDetectingSpanProcessor, and zPages | `opentelemetry-sdk-extension-incubator` | <!--VERSION_UNSTABLE-->1.19.0-alpha<!--/VERSION_UNSTABLE--> |

Expand Down
1 change: 1 addition & 0 deletions all/build.gradle.kts
Expand Up @@ -48,6 +48,7 @@ dependencies {
testImplementation("io.grpc:grpc-protobuf")
testImplementation("io.grpc:grpc-stub")
testImplementation("io.opentelemetry:opentelemetry-extension-annotations")
testImplementation("io.opentelemetry:opentelemetry-sdk-extension-aws")

testImplementation("com.tngtech.archunit:archunit-junit5")
}
Expand Down
19 changes: 19 additions & 0 deletions all/src/test/java/io/opentelemetry/all/FallbackArtifactsTest.java
Expand Up @@ -8,6 +8,10 @@
import org.assertj.core.api.Assertions;
import org.junit.jupiter.api.Test;

/**
* This test asserts that artifacts which are no longer published continue to be referenced in
* {@code opentelemetry-bom}.
*/
class FallbackArtifactsTest {

@Test
Expand All @@ -23,6 +27,21 @@ void extensionAnnotations() {
classAvailable("io.opentelemetry.extension.annotations.SpanAttribute");
}

@Test
void sdkExtensionAws() {
classAvailable("io.opentelemetry.sdk.extension.aws.resource.BeanstalkResource");
classAvailable("io.opentelemetry.sdk.extension.aws.resource.BeanstalkResourceProvider");
classAvailable("io.opentelemetry.sdk.extension.aws.resource.Ec2Resource");
classAvailable("io.opentelemetry.sdk.extension.aws.resource.Ec2ResourceProvider");
classAvailable("io.opentelemetry.sdk.extension.aws.resource.EcsResource");
classAvailable("io.opentelemetry.sdk.extension.aws.resource.EcsResourceProvider");
classAvailable("io.opentelemetry.sdk.extension.aws.resource.EksResource");
classAvailable("io.opentelemetry.sdk.extension.aws.resource.EksResourceProvider");
classAvailable("io.opentelemetry.sdk.extension.aws.resource.LambdaResource");
classAvailable("io.opentelemetry.sdk.extension.aws.resource.LambdaResourceProvider");
classAvailable("io.opentelemetry.sdk.extension.aws.trace.AwsXrayIdGenerator");
}

private static void classAvailable(String fqcn) {
Assertions.assertThatCode(() -> Class.forName(fqcn)).doesNotThrowAnyException();
}
Expand Down
1 change: 1 addition & 0 deletions bom/build.gradle.kts
Expand Up @@ -11,3 +11,4 @@ otelBom.projectFilter.set { !it.hasProperty("otel.release") }
// Artifacts that were previously published and included in the BOM for backwards compatibility
otelBom.addFallback("opentelemetry-exporter-jaeger-proto", "1.17.0")
otelBom.addFallback("opentelemetry-extension-annotations", "1.18.0")
otelBom.addFallback("opentelemetry-sdk-extension-aws", "1.19.0")

This file was deleted.

18 changes: 0 additions & 18 deletions sdk-extensions/aws/README.md

This file was deleted.

32 changes: 0 additions & 32 deletions sdk-extensions/aws/build.gradle.kts

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit cc22880

Please sign in to comment.