Skip to content

Commit

Permalink
Rename interceptors module (#31)
Browse files Browse the repository at this point in the history
This PR renames the `GRPCInterceptors` module to
`GRPCOTelTracingInterceptor`.
  • Loading branch information
gjcairo authored Jan 24, 2025
1 parent 283c9a2 commit 33b362b
Showing 10 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .spi.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version: 1
builder:
configs:
- documentation_targets: [GRPCHealthService, GRPCInterceptors]
- documentation_targets: [GRPCHealthService, GRPCOTelTracingInterceptors]
swift_version: 6.0
12 changes: 6 additions & 6 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -27,8 +27,8 @@ let products: [Product] = [
targets: ["GRPCReflectionService"]
),
.library(
name: "GRPCInterceptors",
targets: ["GRPCInterceptors"]
name: "GRPCOTelTracingInterceptors",
targets: ["GRPCOTelTracingInterceptors"]
),
.library(
name: "GRPCServiceLifecycle",
@@ -115,19 +115,19 @@ let targets: [Target] = [
swiftSettings: defaultSwiftSettings
),

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

import GRPCCore
import GRPCInterceptors
import GRPCOTelTracingInterceptors
import Testing
import Tracing

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

import GRPCInterceptors
import GRPCOTelTracingInterceptors
import Testing

@Suite("PeerAddress tests")

0 comments on commit 33b362b

Please sign in to comment.