Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: hypertrace/java-grpc-utils
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.12.7
Choose a base ref
...
head repository: hypertrace/java-grpc-utils
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 15 commits
  • 36 files changed
  • 2 contributors

Commits on Dec 12, 2023

  1. Copy the full SHA
    38cd0fc View commit details

Commits on Dec 19, 2023

  1. feat: standard exceptions (#55)

    * feat: add support for standard exception propagation
    
    * chore: improve error propagation
    
    * refactor: adjust visibility
    aaron-steinfeld authored Dec 19, 2023
    Copy the full SHA
    d69cbdf View commit details

Commits on Jan 3, 2024

  1. Copy the full SHA
    1f94e38 View commit details

Commits on Mar 27, 2024

  1. Copy the full SHA
    253debe View commit details

Commits on May 30, 2024

  1. chore: support initializing request id (#59)

    * chore: support initializing request id
    
    * ci: fix codecov
    aaron-steinfeld authored May 30, 2024
    Copy the full SHA
    f12cdf4 View commit details

Commits on May 31, 2024

  1. Copy the full SHA
    1c57c76 View commit details
  2. chore: add external error interceptor (#61)

    * chore: add external error interceptor
    
    * fix: stray char
    
    * refactor: make more extendable
    aaron-steinfeld authored May 31, 2024
    Copy the full SHA
    9051c12 View commit details

Commits on Sep 24, 2024

  1. chore: update protobuf, gradle version (#62)

    * chore: update protobuf, slf4j versions
    
    * chore: revert slf4j change
    
    * chore: update plugins
    aaron-steinfeld authored Sep 24, 2024
    Copy the full SHA
    f32eb86 View commit details
  2. Copy the full SHA
    4049aae View commit details

Commits on Nov 13, 2024

  1. Copy the full SHA
    d818b0d View commit details

Commits on Nov 18, 2024

  1. Copy the full SHA
    bc147b5 View commit details

Commits on Dec 6, 2024

  1. Default timeout interceptor (#66)

    * chore: add default timeout interceptor
    
    * refactor: remove unused slf4j
    aaron-steinfeld authored Dec 6, 2024
    Copy the full SHA
    e8afcbc View commit details

Commits on Feb 11, 2025

  1. chore: update netty, grpc (#67)

    * chore: update netty, grpc
    
    * ci: upload artifact version
    aaron-steinfeld authored Feb 11, 2025
    Copy the full SHA
    20402cf View commit details

Commits on Mar 21, 2025

  1. Add grpc circuit breaker utility using interceptors (#68)

    * Add grpc circuit breaker utility using interceptors
    pavan-traceable authored Mar 21, 2025
    Copy the full SHA
    589ee5c View commit details

Commits on Mar 22, 2025

  1. Copy the full SHA
    db91474 View commit details
Showing with 1,687 additions and 187 deletions.
  1. +3 −2 .github/workflows/pr-test.yml
  2. +5 −5 build.gradle.kts
  3. BIN gradle/wrapper/gradle-wrapper.jar
  4. +3 −1 gradle/wrapper/gradle-wrapper.properties
  5. +176 −109 gradlew
  6. +23 −33 gradlew.bat
  7. +29 −0 grpc-circuitbreaker-utils/build.gradle.kts
  8. +111 −0 ...eaker-utils/src/main/java/org/hypertrace/circuitbreaker/grpcutils/CircuitBreakerConfigParser.java
  9. +27 −0 ...aker-utils/src/main/java/org/hypertrace/circuitbreaker/grpcutils/CircuitBreakerConfiguration.java
  10. +23 −0 ...reaker-utils/src/main/java/org/hypertrace/circuitbreaker/grpcutils/CircuitBreakerInterceptor.java
  11. +32 −0 ...breaker-utils/src/main/java/org/hypertrace/circuitbreaker/grpcutils/CircuitBreakerThresholds.java
  12. +50 −0 ...a/org/hypertrace/circuitbreaker/grpcutils/resilience/ResilienceCircuitBreakerConfigConverter.java
  13. +29 −0 ...main/java/org/hypertrace/circuitbreaker/grpcutils/resilience/ResilienceCircuitBreakerFactory.java
  14. +134 −0 .../java/org/hypertrace/circuitbreaker/grpcutils/resilience/ResilienceCircuitBreakerInterceptor.java
  15. +90 −0 ...ain/java/org/hypertrace/circuitbreaker/grpcutils/resilience/ResilienceCircuitBreakerProvider.java
  16. +36 −0 .../org/hypertrace/circuitbreaker/grpcutils/resilience/ResilienceCircuitBreakerRegistryProvider.java
  17. +54 −0 ...g/hypertrace/circuitbreaker/grpcutils/resilience/ResilienceCircuitBreakerConfigConverterTest.java
  18. +172 −0 ...a/org/hypertrace/circuitbreaker/grpcutils/resilience/ResilienceCircuitBreakerInterceptorTest.java
  19. +8 −3 grpc-client-rx-utils/build.gradle.kts
  20. +7 −5 grpc-client-utils/build.gradle.kts
  21. +32 −0 ...ent-utils/src/main/java/org/hypertrace/core/grpcutils/client/DefaultTimeoutClientInterceptor.java
  22. +24 −0 ...t-utils/src/main/java/org/hypertrace/core/grpcutils/client/TimeoutVerifyingClientInterceptor.java
  23. +8 −2 grpc-context-utils/build.gradle.kts
  24. +58 −0 ...context-utils/src/main/java/org/hypertrace/core/grpcutils/context/ContextualExceptionDetails.java
  25. +74 −0 ...t-utils/src/main/java/org/hypertrace/core/grpcutils/context/ContextualStatusExceptionBuilder.java
  26. +14 −3 grpc-context-utils/src/main/java/org/hypertrace/core/grpcutils/context/RequestContext.java
  27. +149 −0 ...ext-utils/src/test/java/org/hypertrace/core/grpcutils/context/ContextualExceptionDetailsTest.java
  28. +14 −3 grpc-context-utils/src/test/java/org/hypertrace/core/grpcutils/context/RequestContextTest.java
  29. +8 −3 grpc-server-rx-utils/build.gradle.kts
  30. +8 −4 grpc-server-utils/build.gradle.kts
  31. +98 −0 ...server-utils/src/main/java/org/hypertrace/core/grpcutils/server/ExternalExceptionInterceptor.java
  32. +15 −3 ...ver-utils/src/main/java/org/hypertrace/core/grpcutils/server/RequestContextServerInterceptor.java
  33. +38 −2 ...server-utils/src/main/java/org/hypertrace/core/grpcutils/server/ThrowableResponseInterceptor.java
  34. +134 −0 ...er-utils/src/test/java/org/hypertrace/core/grpcutils/server/ThrowableResponseInterceptorTest.java
  35. +0 −9 owasp-suppressions.xml
  36. +1 −0 settings.gradle.kts
5 changes: 3 additions & 2 deletions .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
@@ -21,19 +21,20 @@ jobs:
args: build jacocoTestReport

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
name: unit test reports
fail_ci_if_error: true
flags: unit
token: ${{ secrets.CODECOV_TOKEN }}

- name: copy test reports
uses: hypertrace/github-actions/gradle@main
with:
args: copyAllReports --output-dir=/tmp/test-reports

- name: Archive test reports
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: test-reports
path: /tmp/test-reports
10 changes: 5 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -3,11 +3,11 @@ import org.hypertrace.gradle.publishing.License

plugins {
id("org.hypertrace.repository-plugin") version "0.4.0"
id("org.hypertrace.ci-utils-plugin") version "0.3.0"
id("org.hypertrace.publish-plugin") version "1.0.2" apply false
id("org.hypertrace.jacoco-report-plugin") version "0.2.0" apply false
id("org.hypertrace.code-style-plugin") version "1.1.2" apply false
id("org.owasp.dependencycheck") version "8.2.1"
id("org.hypertrace.ci-utils-plugin") version "0.3.2"
id("org.hypertrace.publish-plugin") version "1.0.5" apply false
id("org.hypertrace.jacoco-report-plugin") version "0.2.1" apply false
id("org.hypertrace.code-style-plugin") version "2.0.0" apply false
id("org.owasp.dependencycheck") version "12.1.0"
}

subprojects {
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 3 additions & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading