Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency management for micrometer-registry-stackdriver is missing #16178

Closed
wants to merge 1 commit into from

Conversation

Projects
None yet
4 participants
@izeye
Copy link
Contributor

commented Mar 8, 2019

This PR adds dependency management for micrometer-registry-stackdriver.

@wilkinsona

This comment has been minimized.

Copy link
Member

commented Mar 9, 2019

Thanks, @izeye. Does this mean we're missing some auto-configuration as well? On the dependency management side of it, I'd much rather fix this by being able to import a Micrometer bom. @jkschneider, is there any chance of micrometer-metrics/micrometer#469 being tackled soon?

@izeye

This comment has been minimized.

Copy link
Contributor Author

commented Mar 9, 2019

@wilkinsona Thanks for the feedback! I'm not sure about auto-configuration on it as it's marked as incubating.

@wilkinsona

This comment has been minimized.

Copy link
Member

commented Mar 9, 2019

Thanks, @izeye. Let's hold off on any auto-configuration for now then.

@wilkinsona wilkinsona changed the title Add dependency management for micrometer-registry-stackdriver Dependency management for micrometer-registry-stackdriver is missing Mar 9, 2019

@wilkinsona wilkinsona added this to the 2.1.x milestone Mar 9, 2019

@snicoll snicoll self-assigned this Mar 12, 2019

snicoll added a commit that referenced this pull request Mar 12, 2019

Merge pull request #16178 from izeye
* pr/16178:
  Add dependency management for micrometer-registry-stackdriver

@snicoll snicoll modified the milestones: 2.1.x, 2.1.4 Mar 12, 2019

@snicoll snicoll closed this in 00bda4d Mar 12, 2019

@izeye izeye deleted the izeye:stackdriver branch Mar 12, 2019

coatsr added a commit to coatsr/spring-boot that referenced this pull request Apr 24, 2019

Pull fork updates (#1)
* Check for Reactor Netty disconnected client errors

Closes spring-projectsgh-16046

* Upgrade to Spring Batch 4.0.3

Closes spring-projectsgh-16422

* Upgrade to Spring Batch 4.1.2

Closes spring-projectsgh-16423

* Avoid bean method proxying in WebMVC and WebFlux config

This commit applies changes similar to what's been done in spring-projectsgh-9068, for
MVC and WebFlux configurations. This is now possible thanks to the
changes done in Spring Framework in
spring-projects/spring-framework#22596

Fixes spring-projectsgh-16427

* Next Development Version

* Upgrade to Solr 6.6.6

Closes spring-projectsgh-16428

* Upgrade to Netty Tcnative 2.0.24.Final

Closes spring-projectsgh-16429

* Fixup version numbers following release

* Polish

* Upgrade to Micrometer 1.1.4

Close spring-projectsgh-16425

* Align with new fail-fast behaviour in Micrometer 1.1.4

Closes spring-projectsgh-16425

* Upgrade to Classmate 1.5.0

Closes spring-projectsgh-16430

* Upgrade to Thymeleaf Layout Dialect 2.4.1

Closes spring-projectsgh-16431

* Upgrade to Artemis 2.7.0

Closes spring-projectsgh-16432

* Upgrade to Assertj 3.12.2

Closes spring-projectsgh-16434

* Upgrade to Elasticsearch 6.6.2

Closes spring-projectsgh-16435

* Upgrade to Hibernate 5.4.2.Final

Closes spring-projectsgh-16436

* Upgrade to Junit Jupiter 5.4.1

Closes spring-projectsgh-16437

* Upgrade to Mariadb 2.4.1

Closes spring-projectsgh-16438

* Upgrade to Mockito 2.25.1

Closes spring-projectsgh-16439

* Upgrade to Sqlite Jdbc 3.27.2

Closes spring-projectsgh-16440

* Upgrade to Spring Session Bean-SR4

See spring-projectsgh-16357

* Upgrade to Spring Integration 5.1.4

See spring-projectsgh-16350

* Prohibit upgrades to Derby 10.15 as it requires Java 9

See spring-projectsgh-16433

* Next development version (v2.0.10.BUILD-SNAPSHOT)

* Polish

* Update copyright header of changed files

* Increase timeout for promote script

Increase the timeout used when checking if artifacts have landed in
Bintray from 20m to 40m. Also added some additional protection against
the curl command failing.

Closes spring-projectsgh-16443

* Update copyright header of changed files

* Fix checkstyle violation

* Next development version (v2.1.5.BUILD-SNAPSHOT)

* Fixup promote script

* Allow promote script to be run again

* Reinstate SNAPSHOT updates in integration tests

Fixes spring-projectsgh-16453

* Polish

* Polish

* Let Hibernate detect the dialect to use

Closes spring-projectsgh-16172

* Add forward merge issue creation hook

Closes spring-projectsgh-16458

* Honor custom change log tables in Liquibase endpoint

Closes spring-projectsgh-16442

* Avoid infinite cycle resolving generic type that refers itself

This commit improves type resolution for a unresolved generic type that
uses itself in its upper bound declaration.

Closes spring-projectsgh-16451

* Output information about issue created for forward merge

See spring-projectsgh-16458

* Simplify the configuration of the ProtocolHandler

This commit introduces a new callback interface that can
be used to customize the ProtocolHandler on a Tomcat Connector.

See spring-projectsgh-16342

* Polish "Simplify the configuration of the ProtocolHandler"

Closes spring-projectsgh-16342

* Polish embedded tomcat setup

See spring-projectsgh-16446

* Polish "Polish embedded tomcat setup"

Closes spring-projectsgh-16446

* Migrate ApplicationContext to common hierarchy

This commit migrates `AnnotationConfigReactiveWebApplicationContext`
parent to the `GenericApplicationContext` abstraction. Any use of
`AnnotationConfigWebApplicationContext` is also removed as it also
inherits from the `AbstractRefreshableApplicationContext` outdated
hierarchy.

A new `AnnotationConfigServletWebApplicationContext` context is
introduced instead, extending from `GenericApplicationContext` and
providing the counter part of the reactive context for the Servlet-based
web app tests.

See spring-projectsgh-16096

* Polish "Migrate ApplicationContext to common hierarchy"

Users calling the methods will still face problems but at least they
will have some guidance.

Closes spring-projectsgh-16096

* Only start management server once main server is initialized

Closes spring-projectsgh-15378

* Skip lazy init for beans that explicitly set lazy to false

This commit also adds tests to ensure that the child
management context works when lazy initialization is
enabled. Also, it adds a BeanFactoryPostProcessor to
the child context so that the server is created and
listening for requests but other beans in the child
context are not created until requested.

See spring-projectsgh-16184

* Update devtools to use @lazy(false)

Fixes spring-projectsgh-16184

* Fix compilation error

Closes spring-projectsgh-16476

* Fix build failure

* Fix Thymeleaf deprecations

Closes spring-projectsgh-16478

* Add reference to https://github.com/alimate/errors-spring-boot-starter

* Add missing backquote

See spring-projectsgh-16483

* Polish "Add missing backquote"

Closes spring-projectsgh-16483

* Add support for public key file for OAuth2 resource server

Closes spring-projectsgh-15814

* Allow `ApplicationContextRunner` to accept simple bean definitions

This commit adds `withBean` methods to the `ApplicationContextRunner`
abstraction so that simple beans can be registered inline. This is a
nice alternative for cases where a inner configuration class has to be
defined for the purpose of creating a simple bean.

Closes spring-projectsgh-16011

* Migrate tests to use withBean

See spring-projectsgh-16011

* Polish

* Polish

See spring-projectsgh-15814

* Polish

Closes spring-projectsgh-16494

* Overriding getMappingPathPatterns is not required

After a hierarchy change in Spring Framework in gh-22543,
`AbstractWebFluxEndpointHandlerMapping` doesn't need to override the
`getMappingPathPatterns` method anymore.

* Upgrade to Spring Framework 5.2.0.M1

Fixes spring-projectsgh-16173

* Upgrade to Rabbit Amqp Client 5.7.0

Closes spring-projectsgh-16518

* Upgrade to Junit Jupiter 5.4.2

Closes spring-projectsgh-16519

* Upgrade to Mongodb 3.10.2

Closes spring-projectsgh-16520

* Upgrade to Neo4j Ogm 3.2.0-alpha05

Closes spring-projectsgh-16521

* Upgrade to Hazelcast 3.12

Closes spring-projectsgh-16503

* Upgrade to Undertow 2.0.20.Final

Closes spring-projectsgh-16522

* Upgrade to Aspectj 1.9.3

Closes spring-projectsgh-16523

* Upgrade to Infinispan 9.4.12.Final

Closes spring-projectsgh-16524

* Upgrade to Jooq 3.11.11

Closes spring-projectsgh-16525

* Fix package of java.time.Duration in documentation

Closes spring-projectsgh-16527

* Upgrade to Spring Data Moore M3

Closes spring-projectsgh-16528

* Fix unresolved directives in generated documentation

Closes spring-projectsgh-16452

* Add RSocket server support with Spring Messaging

This commit adds support for RSocket server applications.
The auto-configuration will either add RSocket support to an existing
Reactor Netty server in a WebFlux application (as a WebSocket endpoint),
or bootstrap a brand new RSocket server instance.

Spring Boot will also auto-configure the Spring Messaging infrastructure
that supports Controller beans with `@MessageMapping` annotated methods.

Fixes spring-projectsgh-16021

* Add requestId info to ErrorAttributes in WebFlux

See spring-projectsgh-15952

* Polish

Closes spring-projectsgh-15952

* Polish RSocket server support

Relax the `NettyRSocketBootstrap` contract to allow all types of
`SocketAcceptor` implementations.

See spring-projectsgh-16021

* Fix Javadoc build for new RSocket dependencies

See spring-projectsgh-16021

* Upgrade to Spring Kafka 2.3.0.M1

Closes spring-projectsgh-16302

* Provide an option to use Spring's forwarded header support

Previously, if the `server.use-forward-headers` property
was set to true, X-Forwarded-* headers support was provided
at the server level. The property has been deprecated in favor
of `server.forward-headers-strategy` which can be also be configured
to use Spring's forwarded header support apart from native server support.

Closes spring-projectsgh-5677

* Forwarded header auto-config should be conditional on missing bean

See spring-projectsgh-5677

* Fix javadoc

* Fix build following Spring Security changes

* Fix javadoc

* Upgrade to Kotlin 1.3.30

Closes spring-projectsgh-16554

* Upgrade to Spring AMQP 2.2.0.M1

Closes spring-projectsgh-16530

* Switch to snapshots in preparation for the release

* Remove outdated exclusion to http-client

Closes spring-projectsgh-16510

* Deprecate Elasticsearch transport and Jest clients

As of Spring Data Moore, the Elasticsearch high level REST client is
supported for Spring Data repositories. The transport client is now
deprecated and is likely to be removed in a future Spring Data release.

This commit deprecates the transport client and marks all the associated
configuration properties as deprecated. The Spring Boot starter depends
on the `spring-data-elasticsearch` project, which now depends on both
transport client and high level REST client.

This commit also deprecates the Jest client, as Spring Boot will focus
on supporting the high level REST client and the reactive client
provided by Spring Data - both being in sync with the fast release pace
of Elasticsearch.

Closes spring-projectsgh-15008

* Adapt Gradle plugin tests to change in Kotlin's packaging

Closes spring-projectsgh-16554

* Restore indentation in published spring-boot-dependencies pom

The move to an HTTPS URL for the xmlns:xslt identifier has the unwanted
side-effect of disabling indentation.

This commit moves back to an HTTPS URL. It also changes the indent size
to 2, aligning with the size used by all the other poms that are written
by the flatten plugin.

Closes spring-projectsgh-16466

* Fix source detection in case of multiple candidates

This commit improves the detection of a property source when more than
one group with the same type exist.

Closes spring-projectsgh-16549

* Upgrade to asciidoctor-maven-plugin 1.6.0

* Upgrade to Spring Session Corn-M1

Closes spring-projectsgh-16532

* Make it easier to identify issues created for forward ports

Closes spring-projectsgh-16566

* Upgrade to Spring Security 5.2.0.M2

Closes spring-projectsgh-16534

* Polish RSocket server bootstrap

See spring-projectsgh-16021

* Fix imports ordering

* Revert "Upgrade to asciidoctor-maven-plugin 1.6.0"

This commit introduced an incompatible change in the asciidoct
API: both asciidoctorj-pdf and spring-asciidoctor-extensions
expect `org.asciidoctor.extension.JavaExtensionRegistry` to be
a class, not an interface.

This reverts commit 120ffb1.

* Upgrade to Elasticsearch 6.7.1

Closes spring-projectsgh-16569

* Upgrade to Spring Integration 5.2.0.M1

Closes spring-projectsgh-16531

* Upgrade to Spring Batch 4.2.0.M1

Closes spring-projectsgh-16529

* Deprecate ElasticsearchHealthIndicator

Since the transport client has been deprecated in spring-projectsgh-15008, the health
indicator for that should be deprecated as well.

See spring-projectsgh-15008

* Make nested classes in JsonTestersAutoConfiguration package private

Closes spring-projectsgh-15444

* Add tests for CompressionConnectorCustomizer

Closes spring-projectsgh-16515

* Add property to configure Mongo auto index creation

Closes spring-projectsgh-16454

* Polish "Add property for mongo auto-index creation"

See spring-projectsgh-16454

* Polish

* Polish

* Align withBean methods with ApplicationContext

Rework `AbstractApplicationContextRunner.withBean` methods to
align signatures as much as possible with those provided by
the `ApplicationContext`.

Also update the implementation to use a dedicate member
variable rather than adding initializers.

Closes spring-projectsgh-16011

* Update copyright header of changed files

* Revert accidental TomcatSample changes

* Remove dependency management for solr-uima following upgrade to 7.7.1

Closes spring-projectsgh-16490

* Tolerate competing gRPC version requirements in Micrometer's registries

See spring-projectsgh-16178

* Ignore non-existent Spring Data MongoDB module

Closes spring-projectsgh-16573

* Add missing RSocket dependency management

Closes spring-projectsgh-16568

* Restore indentation in published spring-boot-starter-parent pom

Closes spring-projectsgh-16466

* Update docs to reflect rename of @ConfigurationPropertiesDefaultValue

See spring-projectsgh-8762

* Fix syntax highlighting in the reference documentation

Closes spring-projectsgh-16548

* Disable DevTools' post-processors and auto-config when running tests

Closes spring-projectsgh-5307

* Use BatchErrorHandler when Kafka listener type is batch

Closes spring-projectsgh-16499

* Test the Gradle plugin against Gradle 5.4

Closes spring-projectsgh-16576

* Polish "Use BatchErrorHandler when Kafka listener type is batch"

Closes spring-projectsgh-16499

* Polish

See spring-projectsgh-16575

* Polish

Closes spring-projectsgh-16575

* Upgrade to Tomcat 9.0.19

Closes spring-projectsgh-16591

* Upgrade to Tomcat 9.0.19

Closes spring-projectsgh-16591

* Support configuration of Flyway's Pro properties

Closes spring-projectsgh-14989

* Allow Flyway tests to import internal exception

Closes spring-projectsgh-14989

* Complete Jetty Access Log configuration properties support

See spring-projectsgh-16080

* Polish "Complete Jetty Access Log configuration properties support"

Closes spring-projectsgh-16080

* Add auto-configuration support for ReactiveGridFsTemplate

See spring-projectsgh-16467

* Polish "Add auto-configuration support for ReactiveGridFsTemplate"

Closes spring-projectsgh-16467

* Make EL available to reactive web apps as it already is to servlet web apps

Closes spring-projectsgh-16596

* Allow to configure the Elasticsearch rest client timeouts

See spring-projectsgh-15965

* Polish "Allow to configure the Elasticsearch rest client timeouts"

Closes spring-projectsgh-15965

* Update WebFlux starter to depend on validation starter

Previously, the WebFlux starter declared direct dependencies on Hibernate Validator
and the Jakarta EE validation API. This meant that it required two exclusions to
exclude validation from a reactive web application that did not need it.

This commit updates the WebFlux starter to get its validation dependencies via a
dependency on the validation starter. This allows validation to be excluded
using a single exclusion. The EL dependency from the validation starter has
been excluded to allow the EL implementation from the underlying container
starter to continue to be used instead.

See spring-projectsgh-16593

* Add support for configuring remaining Undertow server options

This commit adds support for configuring Undertow's server options that were previously
not configurable via application properties. The additions are the following:

- allow-encoded-slash
- always-set-keep-alive
- decode-url
- max-cookies
- max-headers
- max-parameters,
- url-charset

See spring-projectsgh-16278

* Polish "Add support for configuring remaining Undertow server options"

See spring-projectsgh-16278

* Determine Spring Boot version correctly when using module path

In Java 9, a package may return null for its implementation version
even when the manifest attribute specifying the version is present
in the jar from which the package was loaded.

This commit updates SpringBootVersion to fall back to
accessing the jar and its manifest attributes directly when the
implementation version of its package is null.

See spring-projectsgh-16182

* Polish "Determine Spring Boot version correctly when using module path"

See spring-projectsgh-16182

* Analyze failure if configprop scanning results in two beans

Closes spring-projectsgh-16581

* Add dependency management for okhttp3

Closes spring-projectsgh-6385

* Migrate to MergedAnnotations API

Migrate away from `AnnotationUtils` and `AnnotatedElementUtils`
when possible to the new `MergedAnnotations` API.

Closes spring-projectsgh-16551

* Polish

Closes spring-projectsgh-16597

* Improve DefaultCookieSerializer auto-configuration

Spring Session's own configuration support (i.e.
SpringHttpSessionConfiguration) will configure the default
DefaultCookieSerializer with rememberMeRequestAttribute if
SpringSessionRememberMeServices bean has been detected in the
application context.

In contrast, Spring Boot's auto-configured DefaultCookieSerializer does
not do this which results in a different out-of-the-box experience for
users that rely on Spring Session's remember-me integration.

This commit improves Spring Session DefaultCookieSerializer
auto-configuration to match Spring Session's behavior and make the
auto-configured DefaultCookieSerializer aware of
SpringSessionRememberMeServices bean.

See spring-projectsgh-16513

* Polish "Improve DefaultCookieSerializer auto-configuration"

Closes spring-projectsgh-16513

* Cache MimeTypes to improve performance

See spring-projectsgh-16507

* Polish "Cache MimeTypes to improve performance"

Closes spring-projectsgh-16507

* Fix failure analyzer message

See spring-projectsgh-16581

* Polish StartupInfoLogger message creation

Rework some of the internals of `StartupInfoLogger` so that fewer
strings are created.

* Log warning on slow host resolution

Update `StartupInfoLogger` so that if the `InetAddress` call takes
more than 200ms a warning is logged.

Closes spring-projectsgh-7087

* Fix checkstyle violation

Closes spring-projectsgh-16616

* Fix UndertowWebServer's logger name

See spring-projectsgh-16613

* Polish "Fix UndertowWebServer's logger name"

Closes spring-projectsgh-16613

* Apply server customizer beans automatically

See spring-projectsgh-16584

* Polish "Apply server customizer beans automatically"

Closes spring-projectsgh-16584

* ConfigurationPropertiesScan should account for conditions

Fixes spring-projectsgh-16612

* Fix tests

* Add missing GlassFish JAXB dependency management

Closes spring-projectsgh-16619

* Use MIME decoder to read OAuth2 resource server public key

Fixes spring-projectsgh-16624

* Use latest Docker Java and a compatible version of Jersey

Closes spring-projectsgh-16625

* Optimize JarEntry construction

This commit avoids calling the underlying ZipEntry.setExtra() method
that is not very inline friendly in cases where there is no extra
information to be set.

See spring-projectsgh-16620

* Add resource icons to CI pipeline

* Use AdoptOpenJDK for Ubuntu launch script integration tests

Closes spring-projectsgh-16633

* Polish Maven Plugin's tests

See spring-projectsgh-16618

* Polish "Polish Maven Plugin's tests"

See spring-projectsgh-16618
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.