Skip to content

Commit

Permalink
Rename interceptors module
Browse files Browse the repository at this point in the history
  • Loading branch information
gjcairo committed Jan 24, 2025
1 parent 283c9a2 commit 027920e
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ let products: [Product] = [
targets: ["GRPCReflectionService"]
),
.library(
name: "GRPCInterceptors",
targets: ["GRPCInterceptors"]
name: "GRPCOTelTracingInterceptor",
targets: ["GRPCOTelTracingInterceptor"]
),
.library(
name: "GRPCServiceLifecycle",
Expand Down Expand Up @@ -115,19 +115,19 @@ let targets: [Target] = [
swiftSettings: defaultSwiftSettings
),

// Common interceptors for gRPC.
// gRPC OTel tracing interceptor.
.target(
name: "GRPCInterceptors",
name: "GRPCOTelTracingInterceptor",
dependencies: [
.product(name: "GRPCCore", package: "grpc-swift"),
.product(name: "Tracing", package: "swift-distributed-tracing"),
],
swiftSettings: defaultSwiftSettings
),
.testTarget(
name: "GRPCInterceptorsTests",
name: "GRPCOTelTracingInterceptorTests",
dependencies: [
.target(name: "GRPCInterceptors"),
.target(name: "GRPCOTelTracingInterceptor"),
.product(name: "GRPCCore", package: "grpc-swift"),
.product(name: "Tracing", package: "swift-distributed-tracing"),
],
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

import GRPCCore
import GRPCInterceptors
import GRPCOTelTracingInterceptor
import Testing
import Tracing

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

import GRPCInterceptors
import GRPCOTelTracingInterceptor
import Testing

@Suite("PeerAddress tests")
Expand Down

0 comments on commit 027920e

Please sign in to comment.