Anuraag Agrawal
f3191d9e00
Migrate MuzzlePlugin to Java ( #3017 )
2021-05-18 12:52:55 +09:00
Anuraag Agrawal
95c16c4a3c
Start migrating Muzzle plugin to Java ( #2996 )
2021-05-15 16:22:05 +09:00
Anuraag Agrawal
fe41885ee6
Switch to colon notation for dependencies. ( #2994 )
...
* Switch to colon notation for dependencies.
* Even more cleanup
* Revert mistake
2021-05-15 15:31:06 +09:00
Anuraag Agrawal
4b1714c3f4
Update to Gradle 7.0 ( #2983 )
...
* Update to Gradle 7.0
* Fix scala
* Restore accidental
* Fix deprecations
2021-05-14 11:52:20 +09:00
Anuraag Agrawal
a3be8e3613
More lazy Gradle configuration ( #2973 )
2021-05-13 16:24:40 +09:00
Anuraag Agrawal
abeca79e24
Some Gradle optimizations ( #2949 )
...
* Gradle optimizations
* Finish
2021-05-11 17:45:54 +09:00
Mateusz Rzeszutek
f2d7e0ed74
Fix compilation failure on main ( #2926 )
...
* Fix compilation failure on main
* Fix muzzle (probably)
* Fix muzzle (probably)
* Fix muzzle (probably)
* Fix muzzle (probably)
* Remove unnecessary dependency
* Revert "Remove unnecessary dependency"
This reverts commit 3fc1e68c99
.
* spotless + random change in javaagent-tooling
2021-05-07 15:54:07 +03:00
Lauri Tulmin
6b687c48ba
Fix enabling gradle configure on demand ( #2916 )
2021-05-06 12:02:14 -07:00
Nikita Salnikov-Tarnovski
d79f90492a
Make sure muzzle build-time check actually validates anything ( #2599 )
...
* Check if muzzle build-time check actually validates anything
* Force class files generation before muzzle
* Apply muzzle only to javaagent projects
* Apply muzzle only to javaagent projects
* More fixes
* More fixes
* PR review comments
* polish
* Exclude "broken" version
* Polish
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-03-23 14:12:01 +02:00
Nikita Salnikov-Tarnovski
fc39d87c82
Remove JCenter which is about to be sunset ( #2387 )
...
* Remove JCenter which is about to be sunset
* Fallback to JCenter for muzzle
* Fixing muzzle without jcenter
* Fixing muzzle without jcenter
* Fixing muzzle without jcenter
* Fixing muzzle without jcenter
* Fixing muzzle without jcenter
* Fixing muzzle without jcenter
* Fixing muzzle without jcenter
* Remove debug logs
* polish
2021-03-19 23:21:52 +02:00
Anuraag Agrawal
f3482a629d
Add protocol-core to muzzle dependencies for aws sdk v2. ( #2602 )
...
* Add protocol-core to muzzle dependencies.
* What does this condition mean?
* Syntax
2021-03-19 11:48:58 +02:00
Nikita Salnikov-Tarnovski
2d683d4289
No more gradle warnings ( #2103 )
2021-01-26 08:24:18 +02:00
Mateusz Rzeszutek
660f0e5225
Remove testing-common dependency on guava ( #2062 )
...
* Remove testing-common dependency on guava
* Use nano time
* Add guava dep to opentelemetry-api-metrics
2021-01-19 12:07:27 +09:00
Anuraag Agrawal
8d74baa2e4
Run tests with javaagent. ( #1643 )
...
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-01-04 13:13:24 -08:00
Anuraag Agrawal
785cb91286
Have bytebuddy task depend on resources. ( #1940 )
2020-12-18 15:23:18 +09:00
Mateusz Rzeszutek
cd58ac816e
Muzzle should add SPI classes defined in helperResourceNames as references ( #1918 )
2020-12-16 21:54:04 -08:00
Anuraag Agrawal
6ab51c1194
Enable caching of bytebuddy cache. ( #1764 )
2020-11-26 10:25:28 +09:00
Ago Allikmaa
e5f0779d1a
ByteBuddy tasks no longer resolve dependencies at config time. ( #1715 )
2020-11-20 19:24:52 -08:00
Anuraag Agrawal
9ac34bce67
Prepare a single test bootstrap jar at top level. ( #1635 )
...
* Prepare a single test bootstrap jar at top level.
* Apply suggestions from code review
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Add comment
* Use buildDir instead of build
* Testing SDK also in bootstrap
* Remove sdk from testing bootstrap loader
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-11-16 11:25:40 +09:00
Ago Allikmaa
995e2caee0
Update ByteBuddy to 1.10.18, adjust to new ByteBuddy gradle plugin ( #1596 )
...
* Adjust for use with ByteBuddy 1.10.18
* Fix language choices for ByteBuddy transformation.
* Remove no longer used MuzzleCodeGenerationPlugin$NoOp
2020-11-12 12:34:06 +02:00
Anuraag Agrawal
c6eee70660
Update to latest snapshot. ( #1524 )
2020-10-29 18:54:09 -07:00
Pavol Loffay
bdf2a91290
Rename printReferences gradle task to printMuzzleReferences ( #1517 )
...
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
2020-10-29 15:37:38 +09:00
Anuraag Agrawal
a2dccf2316
Update to latest SDK snapshot. ( #1479 )
2020-10-26 19:29:46 -07:00
Anuraag Agrawal
f6ad05b8e3
Update to latest SDK snapshot ( #1384 )
...
* Update to latest SDK snapshot
* Use published snapshot
* Fixes
* Cleans
* spotless
* Most
* Clean
* Merge
* Temporarily remove context interop
* WIP
* Prepare for intercepting propagated span
* Bump SDK
* IDE updates
* Lots
* compileJava
* Done?
* bar
* Spot
* drugs
* Groovy--
* green for me
* Spot
* Remove grpc import
* Scrub
2020-10-25 15:14:32 +09:00
Nikita Salnikov-Tarnovski
7d77b2dc37
Prefer mavenCentral over jcenter ( #1440 )
...
* Prefer mavenCentral over jcenter
* Skip broken version for muzzle
2020-10-21 18:59:29 +03:00
Pavol Loffay
137df965ac
Make muzzle task depend on instrumentation project runtimeclasspath ( #1408 )
...
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
2020-10-21 11:46:48 +03:00
Nikita Salnikov-Tarnovski
a5aba2d8f5
Use proper case for muzzle skip version check ( #1420 )
2020-10-19 11:49:50 -07:00
Nikita Salnikov-Tarnovski
29ec067ef5
Actually use requested number of versions to test muzzle ( #1396 )
2020-10-16 11:16:04 -07:00
Mateusz Rzeszutek
ee0e0a9697
Muzzle improvements: docs, javadocs, renamings and minor refactoring ( #1379 )
2020-10-14 16:49:51 -07:00
Trask Stalnaker
7ecc9bb37b
Rename "auto" to "javaagent" in modules ( #1370 )
2020-10-13 12:32:13 -07:00
Trask Stalnaker
1b51d4a6b1
Rename packages ( #1367 )
2020-10-11 13:54:35 -07:00
Trask Stalnaker
4624584979
Update spotless config ( #1349 )
...
* Apply spotless to buildSrc
* Apply spotless
* Update spotless version
* Apply spotless
* Another spotless update
* Apply spotless
2020-10-09 07:21:28 +03:00
Anuraag Agrawal
bb26c17733
Don't mount context in gRPC instrumentation since gRPC automatically … ( #1343 )
...
* Don't mount context in gRPC instrumentation since gRPC automatically does it, better.
* Small cleanup
* Try different approach to keep out of bootstrap
2020-10-09 11:52:20 +09:00
Anuraag Agrawal
f2194a928c
Update to latest snapshot. ( #1304 )
2020-10-04 19:41:10 -07:00
Anuraag Agrawal
210c669643
Remove AgentSpecification ( #1291 )
2020-09-30 17:34:29 +09:00
Anuraag Agrawal
c1556fa359
Use platformClassLoader as muzzle parent instead of bootstrap. ( #1183 )
2020-09-09 17:57:03 +09:00
Nikita Salnikov-Tarnovski
c0cd7ca23b
Removing some gralde warnings ( #1094 )
2020-08-26 19:58:55 -07:00
Nikita Salnikov-Tarnovski
2cdd3e3b95
Gradle cache will ignore bootstrap class path for tests ( #1080 )
...
* More attempts to fix cache misses
* Pressing Alt-Enter
2020-08-21 17:02:27 +03:00
Trask Stalnaker
7159d04b8d
Change groovy import order ( #1013 )
...
* Update docs
* Format all groovy code
* Organize imports
2020-08-15 23:19:27 -07:00
Trask Stalnaker
414213f2d1
Remove final from parameters ( #1003 )
2020-08-15 22:35:51 -07:00
Trask Stalnaker
f893ca540b
Scripted package renaming ( #988 )
2020-08-15 21:55:01 -07:00
Trask Stalnaker
bf9c160570
Rename javaagent modules ( #952 )
2020-08-12 22:50:14 -07:00
Trask Stalnaker
b5fbf90977
Extract instrumentation api module ( #884 )
2020-08-09 22:52:33 -07:00
Trask Stalnaker
2c786ab1a1
Fix WithSpan annotation instrumentation ( #929 )
2020-08-09 21:46:50 -07:00
Trask Stalnaker
e0d1382d5b
Revert "Split muzzle across multiple executors" ( #899 )
...
This reverts commit 74cd2fdd3d
.
2020-08-05 17:00:32 -07:00
Anuraag Agrawal
ad3963303d
Merge integration tests back into test. ( #871 )
2020-08-02 15:41:47 +09:00
Anuraag Agrawal
87bf97da70
Generate bootstrap jar with gradle instead of when running tests. ( #840 )
...
* Generate bootstrap jar with gradle instead of when running tests.
* kill all semicolons
* docs
* docs
* ByteCodeTest
* Use latestDepTest classpath for its bootstrap jar
* Rename package
* Reformat comment
* Bootstrap jar absolute path
* Save bootstrap jar to reports dir.
* Debug
* Debug
* Use project.getBuildDir
* Restore
* Revert
* testFieldInjection is instrumentation test too.
* Split out bytecode tests for testing-common
* Apply jacoco configuration to all tests.
* Add note that jacoco may be causing frustration.
* YOLO alert - Hope my guess at the reason is correct
* Apply suggestions from code review
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-08-02 10:17:52 +09:00
Helen Y
86c438b154
Remove final from local variables ( #732 )
...
* Remove final from local variables
2020-07-20 13:53:34 +09:00
Nikita Salnikov-Tarnovski
b77fb267f3
Gradle warnings ( #659 )
...
* More gradle warnings fixes
* Disable javadoc where it is definitely not needed
* Polish
2020-07-10 07:57:54 +03:00
Anuraag Agrawal
f3ed2d320a
Replace deprecated configurations in buildSrc ( #653 )
2020-07-09 17:00:45 +09:00