Trask Stalnaker
1077258263
Add InternalJavadoc custom error prone check ( #5277 )
...
* Add InternalJavadoc custom error prone check
* Add example usage
* Move to conventions
* Revert "Move to conventions"
This reverts commit d8a8209b59
.
* Just get it working
* Clearer error message
* versions
* Apply almost everywhere
* feedback
* Always at the end of javadoc
* Fix test
* Missed (at least) one
* No longer internal
* Fix NPE
* Spotless
* Convert awslambda Java test to JUnit 5 so can reduce visibility
* Reduce visibility
* Rename the check
* More
* Move into errorprone-convention
* Fix UserExcludedClassesConfigurerTest
2022-02-01 17:54:57 -08:00
Trask Stalnaker
022914139e
test latest deps cleanup ( #5269 )
...
* test latest deps cleanup
* Revert currently irrelevant change
* Update instrumentation/lettuce/lettuce-4.0/javaagent/build.gradle.kts
Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
2022-02-01 09:49:07 -08:00
Trask Stalnaker
7df2b0e2df
Don't run testLatestDeps on alpha/beta/rc versions ( #5258 )
...
* Don't run testLatestDeps on alpha/beta/rc versions
* More logback
2022-01-28 08:21:53 -08:00
Anuraag Agrawal
74d428dbd2
Disable deprecation lint for testLatestDeps ( #5208 )
2022-01-24 16:48:46 +09:00
Anuraag Agrawal
e04f52b9db
Enable java lint ( #5182 )
...
* Enable java lint
* Compile internal-lambda-java9 withot using --release flag (#34 )
* Fix some custom testsets
Co-authored-by: Lauri Tulmin <tulmin@gmail.com>
2022-01-24 12:45:42 +09:00
Anuraag Agrawal
ec375116be
Fix more lint warnings ( #5174 )
...
* Fix more lint warnings
* Redisable lint
* Drift
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-01-20 12:48:46 +09:00
Anuraag Agrawal
b7a95857c7
Fix some java lint warnings ( #5120 )
...
* Convert InstrumentationTestRunner from interface to abstract class
* Foo
* Commit
* Revert unintended
2022-01-17 10:26:03 -08:00
Trask Stalnaker
eea7c0f1dc
Fix publishing gradle plugins ( #5132 )
2022-01-17 18:33:26 +01:00
Trask Stalnaker
f9a9dcb769
Fix release failure ( #5129 )
...
* Revert "Disable jar task in javaagent module (#4765 )"
This reverts commit 63c8b55d68
.
* Add comment
2022-01-17 18:32:59 +01:00
Trask Stalnaker
f7da97bd9d
Move appender api to internal ( #5080 )
...
* rename artifacts and packages
* Library users shouldn't need to use internal
* Update docs
* Rename in order to simplify HelperClassPredicate
* Spotless
* Move AgentLogEmitterProvider to javaagent-instrumentation-api
2022-01-12 08:38:28 -08:00
Anuraag Agrawal
3804968898
Apply spotless to conventions scripts ( #5082 )
...
* Apply spotless to conventions scripts
* Apply spotless
2022-01-12 17:42:50 +09:00
Nikita Salnikov-Tarnovski
2d71fc9d53
Do not run jApiCmp tasks automatically ( #5068 )
2022-01-11 19:49:33 +02:00
Anuraag Agrawal
1f5bb7dc20
Predeclare spotless deps to allow high concurrency ( #5067 )
...
* Predeclare spotless deps to allow high concurrency
* Comment
2022-01-11 16:46:48 +09:00
Trask Stalnaker
db8cd050a7
Add spotless to standalone subprojects ( #5058 )
...
* Update spotless version
* Add spotless to benchmark-overhead
* Add spotless to smoke-test images
* Add spotless to examples
* Apply spotless
* Resolve log4j conflict
* Apply spotless after upgrade
2022-01-10 12:46:52 -08:00
Anuraag Agrawal
478800e5de
Update byte buddy ( #5037 )
2022-01-07 20:30:08 +09:00
Anuraag Agrawal
f6bcd76219
Update errorprone ( #5016 )
...
* Update errorprone
* gwt
* Remove unnecessary final
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-01-06 14:21:56 -08:00
Anuraag Agrawal
83c94e9554
Update Gradle and build dependencies ( #4971 )
2021-12-23 16:01:39 +02:00
Trask Stalnaker
39a9a2f8e2
Fix codenarc ( #4969 )
...
* Fix codenarc
* Fix violations
2021-12-22 16:15:38 -08:00
Trask Stalnaker
a1f08494e6
Verify System.out.printlns using checkstyle ( #4933 )
...
* Verify System.out.printlns using checkstyle
* Add more patterns
* Only flag no-arg printStackTrace
2021-12-20 10:23:53 +09:00
Trask Stalnaker
e5da618196
Add logs to testing infra ( #4927 )
...
* Add logs to testing infra
* Drift
2021-12-17 18:23:42 -08:00
Trask Stalnaker
d7756f1f2b
Add library-autoconfigure to gradle magic ( #4929 )
2021-12-17 10:39:10 +02:00
Anuraag Agrawal
8d0541e0b4
Revert spotless to working version ( #4884 )
...
* Revert "Fix Intellij import (#4877 )"
This reverts commit 63aec1a401
.
* Revert "Update spotless (#4863 )"
This reverts commit a4f70cbd86
.
2021-12-14 10:59:41 +09:00
Trask Stalnaker
63aec1a401
Fix Intellij import ( #4877 )
2021-12-13 15:19:23 +09:00
Anuraag Agrawal
1f3b24a111
Update bytebuddy ( #4864 )
2021-12-10 17:33:04 +09:00
Anuraag Agrawal
a4f70cbd86
Update spotless ( #4863 )
...
* Update spotless
* Apply spotless
2021-12-10 17:32:34 +09:00
Anuraag Agrawal
458ebc5e55
Small cleanups to conventions projects. ( #4839 )
2021-12-09 14:55:09 -08:00
Mateusz Rzeszutek
0bab0c2aa3
Move `ServletContextPath` to `servlet-common:bootstrap` ( #4824 )
...
* Move ServletContextPath to servlet-common:bootstrap
* fix tests
* Simplify ServletContextPath calls in restlet instrumentation
2021-12-08 15:59:31 +01:00
Trask Stalnaker
d52f62522d
Partial sync of gradle conventions with sdk repo ( #4836 )
...
* Sync gradle conventions
* oops
2021-12-08 13:50:32 +02:00
Nikita Salnikov-Tarnovski
902748cfd5
Always forbid system.out by errorprone ( #4825 )
2021-12-07 11:22:20 -08:00
Mateusz Rzeszutek
075434c5bc
Move `AppServerBridge` and `MappingResolver` to `servlet-common:bootstrap` ( #4817 )
...
* Move AppServerBridge and MappingResolver to servlet-common:bootstrap
* Introduce additional gradle configuration for bootstrap libs
2021-12-07 10:20:33 +01:00
Anuraag Agrawal
ca3919ea31
Update Gradle and build dependencies ( #4808 )
...
* Update Gradle and build dependencies
* Add spotless + Java 17 workaround
* Revert spotless for now
* Fix merge
* jvmTarget
2021-12-07 14:42:52 +09:00
Trask Stalnaker
3801bb38cc
Run muzzle check against OpenTelemetry API instrumentation (bridge) ( #4797 )
...
* Run muzzle check against bridge
* Simplify
* Renames
2021-12-06 11:58:01 -08:00
Nikita Salnikov-Tarnovski
f203ec9837
Update protobuf plugin to remove deprecation warning ( #4809 )
2021-12-06 19:04:02 +02:00
Nikita Salnikov-Tarnovski
d7fd2c9bc4
Allow for retrying tests locally ( #4810 )
2021-12-06 15:08:23 +02:00
Nikita Salnikov-Tarnovski
99e82d70fa
Make gradle cache work when used from different locations ( #4794 )
2021-12-04 19:55:30 +02:00
Trask Stalnaker
2ba893e5f8
Support testing library/agent instrumentation interoperability ( #4771 )
...
* Support testing library/agent instrumentation interoperability
* Exclude autoconfigure modules also
* Not just any autoconfigure
2021-12-02 10:12:19 -08:00
Nikita Salnikov-Tarnovski
63c8b55d68
Disable jar task in javaagent module ( #4765 )
...
* Disable jar task in javaagent module
* Don't try to publish jar from javaagent
* Fix publishing
2021-12-02 17:18:34 +02:00
Nikita Salnikov-Tarnovski
137225a511
Ask Animalsniffer to always produce report ( #4768 )
...
* Ask Animalsniffer to always produce report
* Update conventions/src/main/kotlin/otel.animalsniffer-conventions.gradle.kts
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-12-01 22:46:06 +02:00
Nikita Salnikov-Tarnovski
b6b4cd67f0
Clean up of tests logging ( #4744 )
2021-11-30 16:19:09 +02:00
Anuraag Agrawal
1f6a42de2f
Shade class references within AWS SDK service files. ( #4719 )
2021-11-26 20:20:23 +09:00
Mateusz Rzeszutek
9a4a68d836
Add Android API-friendliness checks ( #4505 )
...
* Add Android API-friendliness checks
* Improve comments
* Remove ignores
* Handle CompletionException
* Spotless
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-11-24 12:59:11 -08:00
Nikita Salnikov-Tarnovski
821a4b870b
Drop instrumentation-api-caching module and move weak cache implementation to instrumentation-api ( #4667 )
...
* Drop instrumentation-api-caching module and move weak cache implementation to instrumentation-api
* Some test fixes
* Some cleanup
* Temporary workaround for using weak values in FutureListenerWrappers
* Spotless
* Update ClassNames and SpanNames
* Compilation and comment
* Add bounded cache and clean interface
* Polish
* Add comment
* Vendor ConcurrentLinkedHashMap in
* Let errorprone ignore vendored CLHM for now
* Keep license in java files too
* Convert Netty wrapper cache to VirtualField
* Work around lambda instrumentation failure
Ideally we would ignore instrumenting helper classes...
* Revert "Work around lambda instrumentation failure"
This reverts commit 6d63815b44
.
* Revert "Convert Netty wrapper cache to VirtualField"
This reverts commit dac1522a3f
.
* Handle cleared weak values
* Fix comment
* Delete instrumentation-api-caching
* Copy in weak-lock-free
* Remove caffeine remnants
* Fix checkstyle
* Rename BoundedCache to MapBackedCached
* Remove duplicate LICENSE
* Remove outdated comment
* Sync with SDK copy of weaklockfree
* Enable checkstyle:off comment
* Re-generate license report
* Move NOTICE file to package-info.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-11-24 09:05:12 -08:00
Anuraag Agrawal
1d4fd9ef8b
Update to Gradle 7.3 ( #4640 )
...
* Update to Gradle 7.3
* Copy in protobuf-conventions from SDK
* Scala
2021-11-16 19:37:59 +09:00
Anuraag Agrawal
39964b39aa
Copy in protobuf conventions from SDK repo. ( #4643 )
...
* Copy in protobuf conventions from SDK repo.
* fix
* Spot
2021-11-16 13:42:06 +09:00
Lauri Tulmin
8a33514551
update byte buddy to 1.11.22 ( #4547 )
2021-10-30 10:20:18 +03:00
Trask Stalnaker
37e24ec924
Sync gradle-plugins version with main project ( #4248 )
...
* Sync gradle-plugins version with main project
* More fixes
* Can rely on examples build against all branches now?
* Use common version.gradle.kts
* Update doc
* Simplify
2021-10-29 10:34:49 -07:00
Lauri Tulmin
9b8ab5eeec
Migrate to spock 2 ( #4458 )
...
* Migrate to spock 2
* Fix smoke test suites
* address review comments
* review comment
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-10-22 08:40:58 -07:00
Trask Stalnaker
e9022da102
Remove unshaded javax.annotation classes from bootstrap class loader ( #4454 )
...
* Fix shading
* Revert "Fix shading"
This reverts commit 2aad3cfe21
.
* Make javax.annotations compileOnly
* Replace checker GuardedBy with otel api internal GuardedBy
* Fix build
* Fix errorprone failures
* Remove extra newline
* Move internal GuardedBy to instrumentation-api
* empty commit
* empty commit
2021-10-21 14:47:50 -07:00
Trask Stalnaker
923797d82c
Publish javaagent bootstrap modules ( #4438 )
2021-10-20 09:28:45 -07:00
Lauri Tulmin
17a85bbc22
Use byte-buddy-dep instead of byte-buddy ( #4400 )
...
* Use byte-buddy-dep instead of byte-buddy
* print stacktrace on examples failure
* try to fix gradle plugins
* try to fix extension build
* try to fix extension build
* try to fix extension build
* try to fix extension build
* try removing mavenLocal
* add mavenLocal plugin repository
* publish gradle-plugins to mavenLocal for examples ci build
* Fix bytebuddy exclusion
2021-10-19 13:46:48 -07:00