From 172ff747cb185e6eb64ab03b259f8956ef5ead2a Mon Sep 17 00:00:00 2001 From: dougqh Date: Tue, 17 Sep 2019 10:06:43 -0400 Subject: [PATCH] Updating muzzle spec Switching muzzle to target spring-tx rather than spring-data (which is logical given the instrumentation point) Also added extraDependency on aopalliance This restricts the support the Spring 2.5 when spring-tx & spring-aop using aopalliance were introduced. --- .../instrumentation/spring-data/spring-data.gradle | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dd-java-agent/instrumentation/spring-data/spring-data.gradle b/dd-java-agent/instrumentation/spring-data/spring-data.gradle index 7ad8d4817e..6fa900cbc2 100644 --- a/dd-java-agent/instrumentation/spring-data/spring-data.gradle +++ b/dd-java-agent/instrumentation/spring-data/spring-data.gradle @@ -1,8 +1,9 @@ muzzle { pass { - group = 'org.springframework.data' - module = 'spring-data-commons' - versions = "[1.5.0.RELEASE,)" + group = 'org.springframework' + module = 'spring-tx' + versions = "[2.5.0.RELEASE,)" + extraDependency "aopalliance:aopalliance:1.0" } } @@ -34,5 +35,6 @@ dependencies { latestDepTestCompile group: 'org.springframework.data', name: 'spring-data-commons', version: '+' latestDepTestCompile group: 'org.springframework', name: 'spring-aop', version: '+' latestDepTestCompile group: 'org.springframework.data', name: 'spring-data-jpa', version: '+' + latestDepTestCompile group: 'org.springframework.data', name: 'spring-data-jdbc', version: '+' }