Skip to content

Commit 7148b82

Browse files
authored
Merge branch 'master' into mcculls/otel-metric-registry
2 parents c7bbdcc + 95b7859 commit 7148b82

9 files changed

Lines changed: 98 additions & 15 deletions

File tree

.github/workflows/analyze-changes.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
${{ runner.os }}-gradle-
3131
3232
- name: Initialize CodeQL
33-
uses: github/codeql-action/init@c793b717bc78562f491db7b0e93a3a178b099162 # v4.32.5
33+
uses: github/codeql-action/init@0d579ffd059c29b07949a3cce3983f0780820c98 # v4.32.6
3434
with:
3535
languages: 'java'
3636
build-mode: 'manual'
@@ -43,7 +43,7 @@ jobs:
4343
./gradlew clean :dd-java-agent:shadowJar --build-cache --parallel --stacktrace --no-daemon --max-workers=4
4444
4545
- name: Perform CodeQL Analysis and upload results to GitHub Security tab
46-
uses: github/codeql-action/analyze@c793b717bc78562f491db7b0e93a3a178b099162 # v4.32.5
46+
uses: github/codeql-action/analyze@0d579ffd059c29b07949a3cce3983f0780820c98 # v4.32.6
4747

4848
trivy:
4949
name: Analyze changes with Trivy
@@ -89,7 +89,7 @@ jobs:
8989
ls -laR "./workspace/.trivy"
9090
9191
- name: Run Trivy security scanner
92-
uses: aquasecurity/trivy-action@97e0b3872f55f89b95b2f65b3dbab56962816478 # v0.34.2
92+
uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # v0.35.0
9393
with:
9494
scan-type: rootfs
9595
scan-ref: './workspace/.trivy/'
@@ -102,7 +102,7 @@ jobs:
102102
TRIVY_JAVA_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-java-db,public.ecr.aws/aquasecurity/trivy-java-db
103103

104104
- name: Upload Trivy scan results to GitHub Security tab
105-
uses: github/codeql-action/upload-sarif@c793b717bc78562f491db7b0e93a3a178b099162 # v4.32.5
105+
uses: github/codeql-action/upload-sarif@0d579ffd059c29b07949a3cce3983f0780820c98 # v4.32.6
106106
if: always()
107107
with:
108108
sarif_file: 'trivy-results.sarif'

buildSrc/build.gradle.kts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
plugins {
2-
groovy
32
`java-gradle-plugin`
43
`kotlin-dsl`
54
`jvm-test-suite`
@@ -72,7 +71,6 @@ repositories {
7271

7372
dependencies {
7473
implementation(gradleApi())
75-
implementation(localGroovy())
7674

7775
implementation("net.bytebuddy", "byte-buddy-gradle-plugin", "1.18.3")
7876

@@ -109,7 +107,7 @@ testing {
109107
}
110108
targets.configureEach {
111109
testTask.configure {
112-
enabled = providers.systemProperty("runBuildSrcTests").isPresent or providers.systemProperty("idea.active").isPresent
110+
enabled = providers.gradleProperty("runBuildSrcTests").isPresent or providers.systemProperty("idea.active").isPresent
113111
}
114112
}
115113
}
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# This is a Gradle generated file for dependency locking.
2+
# Manual edits can break the build and are not advised.
3+
# This file is expected to be part of source control.
4+
ch.qos.logback:logback-classic:1.2.13=testCompileClasspath,testRuntimeClasspath
5+
ch.qos.logback:logback-core:1.2.13=testCompileClasspath,testRuntimeClasspath
6+
com.github.javaparser:javaparser-core:3.25.6=codenarc
7+
com.github.spotbugs:spotbugs-annotations:4.9.8=compileClasspath,spotbugs,testCompileClasspath,testRuntimeClasspath
8+
com.github.spotbugs:spotbugs:4.9.8=spotbugs
9+
com.github.stephenc.jcip:jcip-annotations:1.0-1=spotbugs
10+
com.google.code.findbugs:jsr305:3.0.2=compileClasspath,spotbugs,testCompileClasspath,testRuntimeClasspath
11+
com.google.code.gson:gson:2.13.2=spotbugs
12+
com.google.errorprone:error_prone_annotations:2.41.0=spotbugs
13+
com.thoughtworks.qdox:qdox:1.12.1=codenarc
14+
commons-io:commons-io:2.20.0=spotbugs
15+
de.thetaphi:forbiddenapis:3.10=compileClasspath
16+
io.leangen.geantyref:geantyref:1.3.16=testRuntimeClasspath
17+
jaxen:jaxen:2.0.0=spotbugs
18+
net.bytebuddy:byte-buddy-agent:1.12.8=testRuntimeClasspath
19+
net.bytebuddy:byte-buddy:1.12.8=testRuntimeClasspath
20+
net.sf.saxon:Saxon-HE:12.9=spotbugs
21+
org.apache.ant:ant-antlr:1.10.14=codenarc
22+
org.apache.ant:ant-junit:1.10.14=codenarc
23+
org.apache.bcel:bcel:6.11.0=spotbugs
24+
org.apache.commons:commons-lang3:3.19.0=spotbugs
25+
org.apache.commons:commons-text:1.14.0=spotbugs
26+
org.apache.logging.log4j:log4j-api:2.25.2=spotbugs
27+
org.apache.logging.log4j:log4j-core:2.25.2=spotbugs
28+
org.apiguardian:apiguardian-api:1.1.2=testCompileClasspath
29+
org.codehaus.groovy:groovy-ant:3.0.23=codenarc
30+
org.codehaus.groovy:groovy-docgenerator:3.0.23=codenarc
31+
org.codehaus.groovy:groovy-groovydoc:3.0.23=codenarc
32+
org.codehaus.groovy:groovy-json:3.0.23=codenarc
33+
org.codehaus.groovy:groovy-json:3.0.25=testCompileClasspath,testRuntimeClasspath
34+
org.codehaus.groovy:groovy-templates:3.0.23=codenarc
35+
org.codehaus.groovy:groovy-xml:3.0.23=codenarc
36+
org.codehaus.groovy:groovy:3.0.23=codenarc
37+
org.codehaus.groovy:groovy:3.0.25=testCompileClasspath,testRuntimeClasspath
38+
org.codenarc:CodeNarc:3.7.0=codenarc
39+
org.dom4j:dom4j:2.2.0=spotbugs
40+
org.gmetrics:GMetrics:2.1.0=codenarc
41+
org.hamcrest:hamcrest:3.0=testCompileClasspath,testRuntimeClasspath
42+
org.jacoco:org.jacoco.agent:0.8.14=jacocoAgent,jacocoAnt
43+
org.jacoco:org.jacoco.ant:0.8.14=jacocoAnt
44+
org.jacoco:org.jacoco.core:0.8.14=jacocoAnt
45+
org.jacoco:org.jacoco.report:0.8.14=jacocoAnt
46+
org.junit.jupiter:junit-jupiter-api:5.14.1=testCompileClasspath,testRuntimeClasspath
47+
org.junit.jupiter:junit-jupiter-engine:5.14.1=testRuntimeClasspath
48+
org.junit.jupiter:junit-jupiter-params:5.14.1=testCompileClasspath,testRuntimeClasspath
49+
org.junit.jupiter:junit-jupiter:5.14.1=testCompileClasspath,testRuntimeClasspath
50+
org.junit.platform:junit-platform-commons:1.14.1=testCompileClasspath,testRuntimeClasspath
51+
org.junit.platform:junit-platform-engine:1.14.1=testCompileClasspath,testRuntimeClasspath
52+
org.junit.platform:junit-platform-launcher:1.14.1=testRuntimeClasspath
53+
org.junit:junit-bom:5.14.0=spotbugs
54+
org.junit:junit-bom:5.14.1=testCompileClasspath,testRuntimeClasspath
55+
org.mock-server:mockserver-junit-jupiter-no-dependencies:5.14.0=testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
56+
org.mockito:mockito-core:4.4.0=testRuntimeClasspath
57+
org.objenesis:objenesis:3.3=testCompileClasspath,testRuntimeClasspath
58+
org.opentest4j:opentest4j:1.3.0=testCompileClasspath,testRuntimeClasspath
59+
org.ow2.asm:asm-analysis:9.9=spotbugs
60+
org.ow2.asm:asm-commons:9.9=jacocoAnt,spotbugs
61+
org.ow2.asm:asm-tree:9.9=jacocoAnt,spotbugs
62+
org.ow2.asm:asm-util:9.9=spotbugs
63+
org.ow2.asm:asm:9.9=jacocoAnt,spotbugs
64+
org.slf4j:jcl-over-slf4j:1.7.30=testCompileClasspath,testRuntimeClasspath
65+
org.slf4j:jul-to-slf4j:1.7.30=testCompileClasspath,testRuntimeClasspath
66+
org.slf4j:log4j-over-slf4j:1.7.30=testCompileClasspath,testRuntimeClasspath
67+
org.slf4j:slf4j-api:1.7.32=testCompileClasspath,testRuntimeClasspath
68+
org.slf4j:slf4j-api:2.0.17=spotbugs,spotbugsSlf4j
69+
org.slf4j:slf4j-simple:2.0.17=spotbugsSlf4j
70+
org.spockframework:spock-bom:2.4-groovy-3.0=testCompileClasspath,testRuntimeClasspath
71+
org.spockframework:spock-core:2.4-groovy-3.0=testCompileClasspath,testRuntimeClasspath
72+
org.xmlresolver:xmlresolver:5.3.3=spotbugs
73+
empty=annotationProcessor,runtimeClasspath,spotbugsPlugins,testAnnotationProcessor,testFixturesAnnotationProcessor

components/json/gradle.lockfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,5 +75,7 @@ org.slf4j:slf4j-api:2.0.17=spotbugs,spotbugsSlf4j
7575
org.slf4j:slf4j-simple:2.0.17=spotbugsSlf4j
7676
org.spockframework:spock-bom:2.4-groovy-3.0=jmhRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
7777
org.spockframework:spock-core:2.4-groovy-3.0=jmhRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
78+
org.tabletest:tabletest-junit:1.2.1=jmhRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
79+
org.tabletest:tabletest-parser:1.2.0=jmhRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
7880
org.xmlresolver:xmlresolver:5.3.3=spotbugs
7981
empty=annotationProcessor,jmhAnnotationProcessor,runtimeClasspath,spotbugsPlugins,testAnnotationProcessor

dd-java-agent/agent-otel/otel-bootstrap/gradle.lockfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
ch.qos.logback:logback-classic:1.2.13=testCompileClasspath,testRuntimeClasspath
55
ch.qos.logback:logback-core:1.2.13=testCompileClasspath,testRuntimeClasspath
66
com.datadoghq:dd-instrument-java:0.0.3=compileClasspath
7-
com.datadoghq:dd-javac-plugin-client:0.2.2=compileClasspath,runtimeClasspath,testRuntimeClasspath
7+
com.datadoghq:dd-javac-plugin-client:0.2.2=compileClasspath
88
com.github.javaparser:javaparser-core:3.25.6=codenarc
99
com.github.spotbugs:spotbugs-annotations:4.9.8=compileClasspath,spotbugs,testCompileClasspath,testRuntimeClasspath
1010
com.github.spotbugs:spotbugs:4.9.8=spotbugs
@@ -85,12 +85,11 @@ org.ow2.asm:asm:9.9=jacocoAnt,spotbugs
8585
org.slf4j:jcl-over-slf4j:1.7.30=testCompileClasspath,testRuntimeClasspath
8686
org.slf4j:jul-to-slf4j:1.7.30=testCompileClasspath,testRuntimeClasspath
8787
org.slf4j:log4j-over-slf4j:1.7.30=testCompileClasspath,testRuntimeClasspath
88-
org.slf4j:slf4j-api:1.7.30=compileClasspath,runtimeClasspath
88+
org.slf4j:slf4j-api:1.7.30=compileClasspath
8989
org.slf4j:slf4j-api:1.7.32=testCompileClasspath,testRuntimeClasspath
9090
org.slf4j:slf4j-api:2.0.17=spotbugs,spotbugsSlf4j
9191
org.slf4j:slf4j-simple:2.0.17=spotbugsSlf4j
92-
org.snakeyaml:snakeyaml-engine:2.9=runtimeClasspath,testRuntimeClasspath
9392
org.spockframework:spock-bom:2.4-groovy-3.0=testCompileClasspath,testRuntimeClasspath
9493
org.spockframework:spock-core:2.4-groovy-3.0=testCompileClasspath,testRuntimeClasspath
9594
org.xmlresolver:xmlresolver:5.3.3=spotbugs
96-
empty=annotationProcessor,shadow,spotbugsPlugins,testAnnotationProcessor
95+
empty=annotationProcessor,runtimeClasspath,shadow,spotbugsPlugins,testAnnotationProcessor

dd-java-agent/ddprof-lib/gradle.lockfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
ch.qos.logback:logback-classic:1.2.13=testCompileClasspath,testRuntimeClasspath
55
ch.qos.logback:logback-core:1.2.13=testCompileClasspath,testRuntimeClasspath
66
com.datadoghq:dd-javac-plugin-client:0.2.2=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
7-
com.datadoghq:ddprof:1.38.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
7+
com.datadoghq:ddprof:1.39.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
88
com.github.javaparser:javaparser-core:3.25.6=codenarc
99
com.github.spotbugs:spotbugs-annotations:4.9.8=compileClasspath,spotbugs,testCompileClasspath,testRuntimeClasspath
1010
com.github.spotbugs:spotbugs:4.9.8=spotbugs

dd-smoke-tests/rum/wildfly-15/build.gradle

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ ext {
99
repositories {
1010
ivy {
1111
url = 'https://download.jboss.org/'
12+
// Restrict this repository to WildFly distribution artifacts only.
13+
// Without this filter, Gradle may probe this host for unrelated dependencies
14+
// (for example JUnit/Mockito), which makes the build flaky when the host is unreachable.
15+
content {
16+
includeGroup 'wildfly'
17+
}
1218
patternLayout {
1319
// artifact '/[organisation]/[revision]/[module]/[organisation]-[module]-[revision].[ext]'
1420
// we download the full EE profile and not the servlet minimal one
@@ -124,4 +130,3 @@ tasks.withType(Test).configureEach {
124130
dependsOn 'deploy'
125131
jvmArgs "-Ddatadog.smoketest.wildflyDir=${wildflyDir}"
126132
}
127-

dd-smoke-tests/wildfly/build.gradle

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ ext {
99
repositories {
1010
ivy {
1111
url = 'https://download.jboss.org/'
12+
// Restrict this repository to WildFly distribution artifacts only.
13+
// Without this filter, Gradle may probe this host for unrelated dependencies
14+
// (for example JUnit/Mockito), which makes the build flaky when the host is unreachable.
15+
content {
16+
includeGroup 'wildfly'
17+
}
1218
patternLayout {
1319
// artifact '/[organisation]/[revision]/[module]/[organisation]-[module]-[revision].[ext]'
1420
// we download the full EE profile and not the servlet minimal one
@@ -127,4 +133,3 @@ tasks.withType(Test).configureEach {
127133
dependsOn 'deploy'
128134
jvmArgs "-Ddatadog.smoketest.wildflyDir=${wildflyDir}"
129135
}
130-

dd-trace-api/gradle.lockfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ org.junit.platform:junit-platform-engine:1.14.1=testCompileClasspath,testRuntime
5555
org.junit.platform:junit-platform-launcher:1.14.1=testRuntimeClasspath
5656
org.junit:junit-bom:5.14.0=spotbugs
5757
org.junit:junit-bom:5.14.1=testCompileClasspath,testRuntimeClasspath
58-
org.mockito:mockito-core:4.4.0=testRuntimeClasspath
58+
org.mockito:mockito-core:4.4.0=testCompileClasspath,testRuntimeClasspath
59+
org.mockito:mockito-junit-jupiter:4.4.0=testCompileClasspath,testRuntimeClasspath
5960
org.objenesis:objenesis:3.3=testCompileClasspath,testRuntimeClasspath
6061
org.opentest4j:opentest4j:1.3.0=testCompileClasspath,testRuntimeClasspath
6162
org.ow2.asm:asm-analysis:9.9=spotbugs

0 commit comments

Comments
 (0)