Skip to content

Commit

Permalink
combine into one module
Browse files Browse the repository at this point in the history
  • Loading branch information
tbradellis committed Nov 10, 2022
1 parent f137f4f commit cf3007c
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 365 deletions.
5 changes: 4 additions & 1 deletion instrumentation/slick-2.12_3.2.0/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ verifyInstrumentation {
fails 'com.typesafe.slick:slick_2.11:[3.2.0,)'

// scala 12
passesOnly 'com.typesafe.slick:slick_2.12:[3.2.0,3.4.0)'
passesOnly 'com.typesafe.slick:slick_2.12:[3.2.0,)'

// scala 13
passesOnly 'com.typesafe.slick:slick_2.13:[3.3.2,)'

excludeRegex ".*(RC|M)[0-9].*"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ import slick.util.AsyncExecutor

@ScalaWeave(`type` = ScalaMatchType.Object, originalName="slick.util.AsyncExecutor")
class WeavedAsyncExecutor {
def apply(name: String, minThreads: Int, maxThreads: Int, queueSize: Int, maxConnections: Int = Integer.MAX_VALUE, keepAliveTime: Duration = 1.minute,
registerMbeans: Boolean = false): AsyncExecutor = {
def apply(name: String, minThreads: Int, maxThreads: Int, queueSize: Int, maxConnections: Int, keepAliveTime: Duration,
registerMbeans: Boolean): AsyncExecutor = {
val original :AsyncExecutor = Weaver.callOriginal()
new NewRelicAsyncExecutor(original)
}
Expand Down
25 changes: 0 additions & 25 deletions instrumentation/slick-2.13_3.4.0/.snyk

This file was deleted.

36 changes: 0 additions & 36 deletions instrumentation/slick-2.13_3.4.0/build.gradle

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,6 @@ include 'instrumentation:servlet-user-5.0'
include 'instrumentation:slick-3.0.0'
include 'instrumentation:slick-2.11_3.2.0'
include 'instrumentation:slick-2.12_3.2.0'
include 'instrumentation:slick-2.13_3.4.0'
include 'instrumentation:solr-4.0.0'
include 'instrumentation:solr-5.0.0'
include 'instrumentation:solr-5.1.0'
Expand Down

0 comments on commit cf3007c

Please sign in to comment.