jack-berg
42679988e2
Fix owasp dependency check ( #6086 )
2024-01-02 17:33:13 -06:00
Lauri Tulmin
1ecc9197be
Add null check to StrictContextStorage ( #5954 )
2023-11-06 11:12:29 -06:00
renovate[bot]
cb44b2b18c
Update errorProneVersion to v2.23.0 ( #5927 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2023-10-23 10:31:09 -05:00
dependabot[bot]
6ea0e80a0b
Bump io.grpc:grpc-bom from 1.56.1 to 1.57.1 ( #5672 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2023-08-04 13:32:27 -05:00
jack-berg
07a1bb4419
Fix various gradle warnings ( #5556 )
2023-06-21 11:15:05 -05:00
jack-berg
06158ffc2d
Cleanup readmes ( #5263 )
2023-03-06 09:39:34 -06:00
jack-berg
8897dd4d5c
Revert removal final newline ( #5133 )
...
* Revert removal final newline
* Add to final newlin editorconfigoverride
2023-01-18 08:51:41 -06:00
dependabot[bot]
1e4a7be6be
Bump spotless-plugin-gradle from 6.12.1 to 6.13.0 ( #5126 )
...
* Bump spotless-plugin-gradle from 6.12.1 to 6.13.0
Bumps [spotless-plugin-gradle](https://github.com/diffplug/spotless ) from 6.12.1 to 6.13.0.
- [Release notes](https://github.com/diffplug/spotless/releases )
- [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md )
- [Commits](https://github.com/diffplug/spotless/compare/gradle/6.12.1...plugin-gradle/6.13.0 )
---
updated-dependencies:
- dependency-name: com.diffplug.spotless:spotless-plugin-gradle
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Fix build
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2023-01-17 16:47:56 -06:00
Liudmila Molkova
19e2ce0db1
Make closing scope idempotent and noop when different context is active ( #5061 )
...
* Make closing scope idempotent and noop when different context is active
* changelog
* notnull
2022-12-29 11:14:50 -06:00
jack-berg
5fb50c1d5e
Add toString implementation to various propagator components ( #4996 )
2022-11-29 10:37:31 -06:00
Mateusz Rzeszutek
6be22eeaa5
Bump spotless version ( #4667 )
2022-08-05 11:18:54 -05:00
jason plumb
83bfb84d14
Migrate to assertj ( #4512 )
...
* migrate from junit/jupiter assertions to assertj in a few remaining places.
* reorder
2022-06-02 13:38:46 -07:00
Anuraag Agrawal
e999fa0d5a
Some fixes for compilation under java 18 ( #4397 )
2022-04-22 07:43:55 +09:00
Trask Stalnaker
cd2583df6a
Add misspell check (and fix misspellings) ( #4290 )
...
* Add misspell check
* Fix misspellings
* Spotless
2022-03-22 15:12:40 +09:00
Anuraag Agrawal
cffbd3249c
Add context wrapping methods for arguments found in CompletableFuture APIs. ( #4154 )
2022-02-10 08:09:36 +09:00
Lauri Tulmin
9c6cc22fb6
Javadoc code snippets use methods that don't exist ( #4140 )
...
* Replace OpenTelemetry with GlobalOpenTelemetry in javadoc code snippets
* use openTelemetry instread of GlobalOpenTelemetry
* replace one ome usage of GlobalOpenTelemetry
2022-02-02 12:20:36 -08:00
Anuraag Agrawal
47f7c38ef5
Enable loggers in all tests via slf4j. ( #4126 )
...
* Route all test jul logging through slf4j.
* Cleanup and more suppressions
2022-02-02 14:43:25 +09:00
jack-berg
7c9234e1ae
Add missing internal disclaimers ( #4086 )
2022-01-13 14:00:12 -08:00
Anuraag Agrawal
dfb4a74ac5
Update errorprone ( #4048 )
2022-01-06 11:33:00 +09:00
Anuraag Agrawal
8e04fbf0b8
Migrate most testsets to test suites. ( #3953 )
2021-12-07 08:37:15 +09:00
Anuraag Agrawal
c143a59517
Migrate test sets in context module to new test suites. ( #3788 )
2021-10-26 10:39:06 +09:00
jack-berg
4a945e63e3
Add gradle ktlint spotless config to all projects ( #3543 )
2021-08-25 08:36:17 +09:00
jack-berg
58c16a9133
Add missing readmes and missing javadoc links ( #3500 )
2021-08-16 12:36:54 -07:00
Anuraag Agrawal
6671bcf495
Delete duplicate test ( #3479 )
2021-08-13 09:46:04 -07:00
Trask Stalnaker
60c3c5ca0c
Format build.gradle.kts files ( #3427 )
2021-07-29 13:21:38 +09:00
wesleyhillyext
0d2b7b03b7
Allow root Context to be overridden ( #3230 )
...
* Allow root Context to be overridden
Adds ContextStorage.root() to provide a way to customize the
implementation of the root Context when you don't want the
root to be an ArrayBasedContext.
* Update context/src/main/java/io/opentelemetry/context/ContextStorage.java
Co-authored-by: Anuraag Agrawal <aanuraag@amazon.co.jp>
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-07-21 16:13:56 -07:00
Anuraag Agrawal
ce9c8854c7
Extract publishing and animalsniffer plugins. ( #3334 )
2021-06-22 08:23:16 +09:00
Anuraag Agrawal
864508983e
Extract JMH conventions plugin. ( #3324 )
2021-06-17 08:37:49 -07:00
Anuraag Agrawal
7f544416e4
Define an extension for otel-specific configuration of Java. ( #3317 )
2021-06-17 15:54:25 +09:00
Anuraag Agrawal
b9ca09b6c1
Extract java conventions plugin. ( #3316 )
2021-06-15 12:29:47 -07:00
Will Sargent
6f1a4537d3
Change context.getKey to context.get ( #3268 )
...
There is no `getValue` in the `Context` interface
2021-05-30 21:19:33 -07:00
Anuraag Agrawal
672330bf51
Upgrade to Gradle 7.0 ( #3228 )
2021-05-13 08:21:22 +09:00
Anuraag Agrawal
77f0b0adc4
Allow enabling nullaway and fix some nullness issues ( #3218 )
...
* Add support for enabling nullaway and fix a couple of projects.
* Finish
* Finish
* Cleanup
2021-05-12 08:43:32 +09:00
Anuraag Agrawal
0b8131c79e
Handle nulls in noop / multi ( #2939 )
...
* Handle nulls in noop / multi
* Remove old file
2021-05-06 20:49:39 -07:00
John Watson
bd6cfd85fb
Add a task to compare public APIs for every stable module. ( #3183 )
...
* Add a task to compare public APIs for every stable module.
* add a few comments and make the build task depend on the japicmp task
* update the api diffs after rebasing.
* task must depend on jar
* a few script tweaks based on feedback
* small tweak to make it a little more kotlin-idiomatic
* refactoring to make the code more clear
* some more refactoring.
* make the latest released version a lazy val of the build script
* have the task depend on check, rather than build
* put all the API diffs into a central directory
* run at --info to diagnose CI issues
* try an older java 11 version
* try another combo
* remove the info logging
2021-05-06 17:49:49 -07:00
John Watson
a8a85c6129
Add tests and update behavior to verify propagators do not alter the … ( #3194 )
...
* Add tests and update behavior to verify propagators do not alter the context when failing to parse inputs.
* Ad a couple tests around null contexts
* formatting
2021-05-07 08:58:42 +09:00
Christian Neumüller
f64ec29f92
Fix leftover occurence of Span.Kind ( #3064 )
2021-03-26 22:03:01 +09:00
Anuraag Agrawal
691e24fc19
Add static wrappers for Executor / ExecutorService using current cont… ( #2988 )
...
* Add static wrappers for Executor / ExecutorService using current context at invocation time.
* Missing javadoc
* Cleanup
* taskWrapping
2021-03-15 11:56:13 +09:00
Anuraag Agrawal
62cfc060d3
Keep reference to leaked scope to make sure GC detection doesn't kick in first. ( #2972 )
2021-03-03 07:52:07 -08:00
Anuraag Agrawal
f967b0a95b
Move api/context to context. ( #2959 )
...
* Move api/context to context.
* git commit
2021-03-02 10:44:27 -08:00
Bogdan Drutu
26124ad075
Split API packages, move context in the same directory ( #2199 )
...
There are some things left to be done:
* Decide if context package should also be opentelemetry-api-context.
* Cleanup internal packages, things that are used by only one artifact should be moved there.
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-12-05 08:33:20 -08:00
Anuraag Agrawal
8697de9afa
Detect GC leaks of scopes in StrictContextStorage. ( #2164 )
...
* Detect GC leaks of scopes in StrictContextStorage.
* More
* Finish
* Force GC more aggressively
* Cleanup
* Vendor code directly
* Copy test too
* Try waiting more
* ep
* oops
* Remove from build.gradle
* Drift
* Log on multiple
* Cleaner ourselves.
* EP
* Move into if
* Revert accidental
2020-12-04 13:04:27 +09:00
Anuraag Agrawal
b8a868f7db
Have Node itself implement Context to remove wrapper object. ( #2165 )
2020-12-01 11:00:01 -08:00
Chris Burns
e0989d75e7
Changes return type from List to Collection ( #2156 )
...
- changes the return type of the fields() method in TextMapPropagator from List<String> to Collection<String>
and updated all implementations for consistency
2020-11-30 14:26:24 -08:00
Anuraag Agrawal
ebd35d0b14
Add some more coverage of context code paths. ( #2131 )
2020-11-25 10:42:40 -08:00
Anuraag Agrawal
0c4a0dff02
Add factory methods instead of builder for TraceMultiPropagator ( #2104 )
...
* Add factory methods instead of builder for TraceMultiPropagator
* spot
2020-11-25 10:38:09 +09:00
Anuraag Agrawal
ac672e56bf
Update dependencies ( #2115 )
2020-11-21 09:39:27 -08:00
John Watson
7f4396219e
add a couple of context tests around keys with colliding hashcodes ( #2114 )
...
* add a couple of context tests around keys with colliding hashcodes
* add a test for an empty context
2020-11-21 09:29:47 -08:00
Anuraag Agrawal
0e013e5c73
Hide default context propagators implementation behind interface. ( #2089 )
...
* Hide default context propagators implementation behind interface.
* Deprecate
* Revamp
2020-11-20 10:58:34 +09:00
Anuraag Agrawal
606c9c11f3
Merge pull request #2066
...
* Add kotlin extension for interaction with Context in coroutines.
* Newline
* ImplicitContextKeyed not span
* Fix doc
* Cleanup
2020-11-13 12:25:12 +09:00