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
Trask Stalnaker
236061b8e9
Bump gradle-plugins version in examples ( #4427 )
2021-10-19 11:44:12 -07:00
Nikita Salnikov-Tarnovski
c28374615b
Add functionality to generate API changes ( #4285 )
...
* Add functionality to generate API changes
* Update conventions/src/main/kotlin/otel.japicmp-conventions.gradle.kts
Co-authored-by: John Watson <jkwatson@gmail.com>
* Do not commit any API changes until we have stable release
Co-authored-by: John Watson <jkwatson@gmail.com>
2021-10-06 09:59:01 +03:00
Trask Stalnaker
34a631965b
Update spotless version ( #4296 )
...
* Update spotless version
* Apply new spotless version
2021-10-05 15:44:03 +09:00
Trask Stalnaker
dafc97f96e
Simplify gradle files ( #4292 )
2021-10-04 21:53:35 -07:00
Nikita Salnikov-Tarnovski
5e6bc60dae
Resolve some Gradle warnings ( #4234 )
...
* Resolve some Gradle warnings
* spotless
2021-09-29 10:01:48 -07:00
Nikita Salnikov-Tarnovski
f788d84e35
Remove muzzle from gradleplugins ( #4183 )
...
* Include gradle-plugins as a composite build
* Make gradle-plugins project independent from the main one
* Delete old ClassRef and friends
* Fixes
* Polish
* Polish
* Simplify
2021-09-24 15:59:03 +03:00