diff --git a/instrumentation/grails-1.3/build.gradle b/instrumentation/grails-1.3/build.gradle deleted file mode 100644 index b616a0d460..0000000000 --- a/instrumentation/grails-1.3/build.gradle +++ /dev/null @@ -1,23 +0,0 @@ - -dependencies { - implementation(project(":agent-bridge")) - implementation("org.grails:grails-web:1.3.7") - implementation("javax.servlet:servlet-api:2.4") - implementation("org.springframework:spring-webmvc:3.0.5.RELEASE") -} - -jar { - manifest { attributes 'Implementation-Title': 'com.newrelic.instrumentation.grails-1.3' } -} - -verifyInstrumentation { - excludeRegex '.*.RC[0-9]' - excludeRegex '.*.M[0-9]' - passes 'org.grails:grails-web:[1.3.0,2.0)' - fails 'org.grails:grails-web:[2.0,)' -} - -site { - title 'Grails' - type 'Framework' -} \ No newline at end of file diff --git a/instrumentation/grails-1.3/src/main/java/org/codehaus/groovy/grails/web/servlet/mvc/GrailsControllerHelper.java b/instrumentation/grails-1.3/src/main/java/org/codehaus/groovy/grails/web/servlet/mvc/GrailsControllerHelper.java deleted file mode 100644 index c86c5798ad..0000000000 --- a/instrumentation/grails-1.3/src/main/java/org/codehaus/groovy/grails/web/servlet/mvc/GrailsControllerHelper.java +++ /dev/null @@ -1,28 +0,0 @@ -/* - * - * * Copyright 2020 New Relic Corporation. All rights reserved. - * * SPDX-License-Identifier: Apache-2.0 - * - */ - -package org.codehaus.groovy.grails.web.servlet.mvc; - -import org.springframework.web.servlet.ModelAndView; - -import com.newrelic.api.agent.NewRelic; -import com.newrelic.api.agent.Trace; -import com.newrelic.api.agent.TransactionNamePriority; -import com.newrelic.api.agent.weaver.MatchType; -import com.newrelic.api.agent.weaver.Weave; -import com.newrelic.api.agent.weaver.Weaver; - -@Weave(type = MatchType.Interface) -public abstract class GrailsControllerHelper { - - @Trace - public ModelAndView handleURI(String uri, GrailsWebRequest webRequest) { - NewRelic.getAgent().getTransaction().setTransactionName(TransactionNamePriority.FRAMEWORK_HIGH, true, - "GrailsController", webRequest.getControllerName(), "/", webRequest.getActionName()); - return Weaver.callOriginal(); - } -} diff --git a/settings.gradle b/settings.gradle index 98de464c6d..02d23a3268 100644 --- a/settings.gradle +++ b/settings.gradle @@ -126,7 +126,6 @@ include 'instrumentation:glassfish-3' include 'instrumentation:glassfish-6' include 'instrumentation:glassfish-jmx' include 'instrumentation:glassfish-jul-extension-7' -include 'instrumentation:grails-1.3' include 'instrumentation:grails-2' include 'instrumentation:grails-async-2.3' include 'instrumentation:graphql-java-16.2'