You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ignite/sparks/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,7 +95,7 @@ Every Spark, grouped by function.
95
95
| Spark | Purpose |
96
96
| --- | --- |
97
97
|[Hermes Agent](./hermes-agent.md)| Registers the [ES.FX.NousResearch.HermesAgent](../../libraries/hermes-agent-client.md) typed `IHermesAgentClient` (static bearer key) with a live health check and tracing. |
98
-
|[Zendesk](./zendesk.md)| Registers the [ES.FX.Zendesk](../../libraries/zendesk-client.md)typed `IZendeskClient` (OAuth `client_credentials`) with a live health check and tracing. |
98
+
|[Zendesk](./zendesk.md)| Registers the [ES.FX.Zendesk](../../libraries/zendesk-client.md)Kiota-generated `ZendeskSupportApiClient` and `ZendeskHelpCenterApiClient` (OAuth `client_credentials`) with a live health check and tracing. |
Copy file name to clipboardExpand all lines: docs/ignite/sparks/zendesk.md
+53-33Lines changed: 53 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,30 +1,34 @@
1
1
---
2
2
title: Zendesk client integration
3
-
description: Register the ES.FX.Zendesk typed client with Ignite, including OAuth configuration binding, a live health check, and OpenTelemetry tracing.
3
+
description: Register the Kiota-generated ES.FX.Zendesk Support and Help Center clients with Ignite, including OAuth configuration binding, a live health check, and OpenTelemetry tracing.
4
4
---
5
5
6
6
## Overview
7
7
8
-
The Zendesk Spark registers the [ES.FX.Zendesk typed client](../../libraries/zendesk-client.md)
9
-
(`IZendeskClient`, OAuth `client_credentials`) into dependency injection, with configuration binding,
10
-
startup validation, a live health check, and OpenTelemetry tracing already wired up. Call
11
-
`builder.IgniteZendeskClient()` once and inject `IZendeskClient` anywhere in your app.
8
+
The Zendesk Spark registers the [ES.FX.Zendesk clients](../../libraries/zendesk-client.md) — the
9
+
Kiota-generated `ZendeskSupportApiClient` and `ZendeskHelpCenterApiClient` (OAuth
10
+
`client_credentials`) — into dependency injection, with configuration binding, startup validation, a
11
+
live health check, and OpenTelemetry tracing already wired up. Call `builder.IgniteZendeskClient()`
12
+
once and inject the clients anywhere in your app.
12
13
13
14
Under the hood the Spark:
14
15
15
16
- Binds `ZendeskClientOptions` (subdomain + OAuth credentials) from the `Ignite:Zendesk` configuration
16
17
section with `ValidateOnStart()`, so a bad configuration fails at startup instead of on first use.
17
18
- Binds a `ZendeskClientSparkSettings` (observability toggles) from the `Ignite:Zendesk:Settings`
18
19
sub-section.
19
-
- Registers the client via the library's `AddZendeskClient()` (typed `HttpClient`, keyed-capable, OAuth
20
-
token provider with cached, single-flight refresh).
21
-
- Adds a **live** health check that calls `GET /api/v2/users/me.json` with the configured credentials.
22
-
- Adds the client's `ES.FX.Zendesk``ActivitySource` to the Ignite OpenTelemetry pipeline.
20
+
- Registers the clients via the library's `AddZendeskClient()` — the generated Support and Help Center
21
+
clients, the shared Kiota `IRequestAdapter`, and the `ZendeskAttachmentContentFetcher`, all on a
22
+
typed `HttpClient` with a keyed-capable OAuth token provider (cached, single-flight refresh).
23
+
- Adds a **live** health check that calls `GET /api/v2/users/me` (via the generated Support client)
24
+
with the configured credentials.
25
+
- Adds **both** Zendesk tracing sources (`ES.FX.Zendesk` and the Kiota adapter's
26
+
`Microsoft.Kiota.Http.HttpClientLibrary`) to the Ignite OpenTelemetry pipeline.
23
27
24
28
> [!NOTE]
25
-
> The client surface, OAuth behavior, error model (`ZendeskApiException`, `RetryAfter`), and the
26
-
> resource-area operations are documented on the[Zendesk API client](../../libraries/zendesk-client.md)
27
-
> page. This page covers the Ignite wiring.
29
+
> The client surface, OAuth behavior, error model (`ZendeskApiException`, Kiota `ApiException`), and
30
+
> the raw-JSON escape hatches are documented on the
31
+
> [Zendesk API client](../../libraries/zendesk-client.md)page. This page covers the Ignite wiring.
28
32
29
33
## Install the client
30
34
@@ -75,19 +79,26 @@ It returns the underlying `IHttpClientBuilder`, for further customization of the
75
79
76
80
| Service | Lifetime | Notes |
77
81
| --- | --- | --- |
78
-
|`IZendeskClient`| Transient | The typed client. Keyed when `serviceKey` is set. |
82
+
|`ZendeskSupportApiClient`| Transient | The generated Support API client. Keyed when `serviceKey` is set. |
83
+
|`ZendeskHelpCenterApiClient`| Transient | The generated Help Center API client. Keyed when `serviceKey` is set. |
84
+
|`IRequestAdapter`| Transient (keyed) | The Kiota adapter behind both clients — the escape hatch for raw/wire-true requests. |
Copy file name to clipboardExpand all lines: docs/libraries/index.md
+18-15Lines changed: 18 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ into Ignite when you want it to.
14
14
| --- | --- | --- |
15
15
|[**Transactional Outbox**](./transactional-outbox.md)|`ES.FX.TransactionalOutbox` (+ `.EntityFrameworkCore`, provider packages, `.MassTransit`) | Reliable message dispatch tied to your EF Core transaction — enqueue a message in the same `SaveChanges` that writes your data, then a hosted service delivers it. |
16
16
|[**Migrations**](./migrations.md)|`ES.FX.Migrations` (+ `ES.FX.Ignite.Migrations`) | A DI-driven migration runner: implement `IMigrationsTask`, register it, and a hosted service applies every task at startup. |
17
-
|[**Zendesk API client**](./zendesk-client.md)|`ES.FX.Zendesk` (+ `ES.FX.Ignite.Zendesk` Spark) |A typed, OAuth-authenticated client for the Zendesk Support REST API — resource-grouped operations, typed errors with `Retry-After`, and OpenTelemetry tracing. |
17
+
|[**Zendesk API client**](./zendesk-client.md)|`ES.FX.Zendesk` (+ `ES.FX.Ignite.Zendesk` Spark) |Kiota-generated clients covering the complete Zendesk Support and Help Center REST APIs — typed request builders, OAuth `client_credentials`, typed errors with `Retry-After`, and OpenTelemetry tracing. |
18
18
|[**Hermes Agent API client**](./hermes-agent-client.md)|`ES.FX.NousResearch.HermesAgent` (+ `ES.FX.Ignite.NousResearch.HermesAgent` Spark) | A typed client for the Nous Research Hermes Agent API server — chat completions, Responses API, asynchronous runs, scheduled jobs, sessions and discovery, with `await foreach` streaming, typed errors, and OpenTelemetry tracing. |
19
19
20
20
Each library is independently consumable and has its own page below with the full end-to-end walkthrough.
@@ -57,24 +57,27 @@ runner from the Ignite Spark angle.
57
57
58
58
## Zendesk API client
59
59
60
-
The [Zendesk API client](./zendesk-client.md) is a typed client for the Zendesk Support REST API and
61
-
Help Center, built on `IHttpClientFactory`. Register it with `AddZendeskClient()` and inject
62
-
`IZendeskClient` — seventeen resource-grouped areas (`Tickets`, `Users`, `Organizations`, `Groups`,
0 commit comments