From bf3edca436874d8b1749ee23d864d2641178660a Mon Sep 17 00:00:00 2001 From: Rajiv Date: Mon, 9 Nov 2020 14:58:35 +0530 Subject: [PATCH] Support special chars in tag values via metrics-apptuit upgrade --- pom.xml | 2 +- .../java/ai/apptuit/metrics/jinsight/RegistryServiceTest.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a29371c..1c6e013 100644 --- a/pom.xml +++ b/pom.xml @@ -108,7 +108,7 @@ limitations under the License. 4.0.13 4.1.9 0.9.0 - 0.9.2 + 0.9.3 false diff --git a/src/test/java/ai/apptuit/metrics/jinsight/RegistryServiceTest.java b/src/test/java/ai/apptuit/metrics/jinsight/RegistryServiceTest.java index e86843b..c720764 100644 --- a/src/test/java/ai/apptuit/metrics/jinsight/RegistryServiceTest.java +++ b/src/test/java/ai/apptuit/metrics/jinsight/RegistryServiceTest.java @@ -57,6 +57,7 @@ public void setUp() throws Exception { mockConfigService = mock(ConfigService.class); when(mockConfigService.getGlobalTags()).thenReturn(ConfigService.getInstance().getGlobalTags()); when(mockConfigService.getReporterType()).thenReturn(ConfigService.ReporterType.APPTUIT); + when(mockConfigService.getAgentVersion()).thenReturn("mock.version"); } @Test