diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Changelog.md | 6 | ||||
-rw-r--r-- | pom.xml | 20 | ||||
-rw-r--r-- | src/main/resources/application.properties | 9 | ||||
-rw-r--r-- | version.properties | 2 |
5 files changed, 36 insertions, 2 deletions
@@ -1,4 +1,5 @@ target/ +.vscode/ !.mvn/wrapper/maven-wrapper.jar !**/src/main/**/target/ !**/src/test/**/target/ diff --git a/Changelog.md b/Changelog.md index dc3ce03..15f1f82 100644 --- a/Changelog.md +++ b/Changelog.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [1.3.2] - 25/05/2024 + +### Added + +- added support for tracing + ## [1.3.1] - 14/02/2022 - SDC-3879 Fix Vulnerabilities @@ -10,7 +10,7 @@ </parent> <groupId>org.onap.sdc</groupId> <artifactId>sdc-helm-validator</artifactId> - <version>1.3.1-SNAPSHOT</version> + <version>1.3.2-SNAPSHOT</version> <name>helmvalidator</name> <description>Spring-Boot application for validating helm charts</description> @@ -21,6 +21,7 @@ <docker-maven-plugin.version>0.34.1</docker-maven-plugin.version> <spring.version>2.5.9</spring.version> + <spring-cloud.version>2020.0.4</spring-cloud.version> <springdoc-openapi-ui.version>1.6.6</springdoc-openapi-ui.version> <apache.commons.compress.version>1.21</apache.commons.compress.version> @@ -42,6 +43,16 @@ </dependency> <dependency> + <groupId>org.springframework.cloud</groupId> + <artifactId>spring-cloud-starter-sleuth</artifactId> + </dependency> + + <dependency> + <groupId>org.springframework.cloud</groupId> + <artifactId>spring-cloud-sleuth-zipkin</artifactId> + </dependency> + + <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <scope>test</scope> @@ -70,6 +81,13 @@ <type>pom</type> <scope>import</scope> </dependency> + <dependency> + <groupId>org.springframework.cloud</groupId> + <artifactId>spring-cloud-dependencies</artifactId> + <version>${spring-cloud.version}</version> + <type>pom</type> + <scope>import</scope> + </dependency> </dependencies> </dependencyManagement> diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index f3f8498..722317b 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,4 +1,5 @@ app.config.charts-base-path=/charts +spring.application.name=sdc-helm-validator spring.jackson.default-property-inclusion=NON_NULL logging.file.name=/var/log/onap/application.log @@ -10,3 +11,11 @@ logging.logback.rollingpolicy.clean-history-on-start=true springdoc.show-actuator=true springdoc.swagger-ui.path=/docs + +spring.sleuth.enabled=${TRACING_ENABLED:false} +spring.zipkin.baseUrl=${COLLECTOR_URL:http://jaeger-collector.istio-system:9411} +spring.sleuth.messaging.jms.enabled = false +spring.sleuth.trace-id128=true +spring.sleuth.sampler.probability=${TRACING_SAMPLING_PROBABILITY:1.0} +spring.sleuth.propagation.type=w3c, b3 +spring.sleuth.supports-join=false
\ No newline at end of file diff --git a/version.properties b/version.properties index fee4928..ef20baa 100644 --- a/version.properties +++ b/version.properties @@ -1,6 +1,6 @@ major=1 minor=3 -patch=1 +patch=2 base_version=${major}.${minor}.${patch} release_version=${base_version} snapshot_version=${base_version}-SNAPSHOT |