This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./gradlew dependencyCheckAnalyze |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<groupId>org.owasp</groupId> | |
<artifactId>dependency-check-maven</artifactId> | |
<version>$pluginVersion</version> | |
<configuration> | |
<failBuildOnCVSS>8</failBuildOnCVSS> | |
</configuration> | |
<executions> | |
<execution> | |
<goals> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath 'org.owasp:dependency-check-gradle:{Plugin-version}' | |
} | |
} | |
apply plugin: 'org.owasp.dependencycheck' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java -jar \ | |
target/Distributed-Service-0.0.1-SNAPSHOT.jar \ | |
--spring.application.name=Service-1 \ | |
--server.port=8080 | |
java -jar \ | |
target/Distributed-Service-0.0.1-SNAPSHOT.jar \ | |
--spring.application.name=Service-2 \ | |
--server.port=8090 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
opentracing: | |
jaeger: | |
http-sender: | |
url: http://localhost:14268/api/traces |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.3' | |
services: | |
jaeger-allinone: | |
image: jaegertracing/all-in-one:1.42 | |
ports: | |
- 6831:6831/udp | |
- 6832:6832/udp | |
- 16686:16686 | |
- 14268:14268 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@RestController | |
@RequestMapping("/service") | |
public class Controller { | |
private static final Logger logger = LoggerFactory.getLogger(Controller.class); | |
private RestTemplate restTemplate; | |
@Value("${spring.application.name}") | |
private String applicationName; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
implementation group: 'io.opentracing.contrib', name: 'opentracing-spring-jaeger-cloud-starter', version: '3.3.1' | |
implementation('io.projectreactor:reactor-core') { | |
version { | |
strictly '3.4.26' | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<dependency> | |
<groupId>io.opentracing.contrib</groupId> | |
<artifactId>opentracing-spring-jaeger-cloud-starter</artifactId> | |
<version>3.3.1</version> | |
<exclusions> | |
<exclusion> | |
<groupId>io.projectreactor</groupId> | |
<artifactId>reactor-core</artifactId> | |
</exclusion> | |
</exclusions> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<dependency> | |
<groupId>io.opentracing.contrib</groupId> | |
<artifactId>opentracing-spring-jaeger-cloud-starter</artifactId> | |
<version>3.3.1</version> | |
</dependency> |
NewerOlder