Skip to content

Commit

Permalink
Fix breaking changes introduced in micrometer-commons
Browse files Browse the repository at this point in the history
  • Loading branch information
fmbenhassine committed Mar 30, 2022
1 parent 8191262 commit 6fef82e
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
5 changes: 5 additions & 0 deletions spring-batch-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@
<artifactId>micrometer-observation</artifactId>
<version>${micrometer.version}</version>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-commons</artifactId>
<version>${micrometer.version}</version>
</dependency>

<!-- optional production dependencies -->
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package org.springframework.batch.core.observability;

import io.micrometer.observation.docs.DocumentedObservation;
import io.micrometer.observation.docs.TagKey;
import io.micrometer.common.docs.TagKey;

/**
* Observation created around a Job execution.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package org.springframework.batch.core.observability;

import io.micrometer.observation.docs.DocumentedObservation;
import io.micrometer.observation.docs.TagKey;
import io.micrometer.common.docs.TagKey;

/**
* Observation created around a step execution.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@
*/
package org.springframework.batch.core.observability;

import io.micrometer.observation.Tags;
import io.micrometer.common.Tags;

import org.springframework.batch.core.JobExecution;

/**
* Default {@link BatchJobTagsProvider} implementation.
*
* @author Marcin Grzejszczak
* @author Mahmoud Ben Hassine
* @since 5.0
*/
public class DefaultBatchJobTagsProvider implements BatchJobTagsProvider {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@
*/
package org.springframework.batch.core.observability;

import io.micrometer.observation.Tags;
import io.micrometer.common.Tags;

import org.springframework.batch.core.StepExecution;

/**
* Default {@link BatchStepTagsProvider} implementation.
*
* @author Marcin Grzejszczak
* @author Mahmoud Ben Hassine
* @since 5.0
*/
public class DefaultBatchStepTagsProvider implements BatchStepTagsProvider {
Expand Down

0 comments on commit 6fef82e

Please sign in to comment.