@abgov/adsp-sdk-mcp-server 1.12.0 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/docs/platform/platform-node-sdk.md +58 -0
- package/assets/docs/services/feedback-service.md +77 -72
- package/assets/docs/services/value-service.md +64 -48
- package/assets/docs/tutorials/form-service/external-navigation.md +127 -0
- package/package.json +1 -1
- package/src/sdk-reference/reference.js +55 -0
- package/src/sdk-reference/reference.js.map +1 -1
|
@@ -431,3 +431,61 @@ Import a standard logger for platform services:
|
|
|
431
431
|
...sdkCapabilities,
|
|
432
432
|
} = await initializePlatform(parameters);
|
|
433
433
|
```
|
|
434
|
+
|
|
435
|
+
### Caches
|
|
436
|
+
The SDK's own caches -- configuration, directory entries, tenants, issuers and JWKS clients -- report
|
|
437
|
+
hit and miss counts on `adsp.cache.lookups`, so a cache that has stopped earning its keep shows up as
|
|
438
|
+
something other than unexplained outbound calls. This needs no setup.
|
|
439
|
+
|
|
440
|
+
To report a cache of your own, record the outcome where the cache is first consulted:
|
|
441
|
+
```typescript
|
|
442
|
+
import { recordCacheResult } from '@abgov/adsp-service-sdk';
|
|
443
|
+
|
|
444
|
+
const cached = cache.get<Thing>(key);
|
|
445
|
+
recordCacheResult('my-thing', !!cached);
|
|
446
|
+
const thing = cached ?? (await retrieve(key));
|
|
447
|
+
```
|
|
448
|
+
|
|
449
|
+
Record once per *logical* lookup. A read-through cache that gets, refreshes on a miss, then gets
|
|
450
|
+
again would otherwise count a single lookup as both a miss and a hit, and the hit ratio becomes
|
|
451
|
+
meaningless. Keep the cache name a short constant: it is a metric label, so a key or tenant in it
|
|
452
|
+
multiplies the number of series.
|
|
453
|
+
|
|
454
|
+
### Scheduled jobs
|
|
455
|
+
Wrap a scheduled job so each run reports a span and its duration on `adsp.job.duration`:
|
|
456
|
+
```typescript
|
|
457
|
+
import { instrumentJob } from '@abgov/adsp-service-sdk';
|
|
458
|
+
import * as schedule from 'node-schedule';
|
|
459
|
+
|
|
460
|
+
schedule.scheduleJob('0 1 * * *', instrumentJob('lock-stale-forms', lockJob, { logger }));
|
|
461
|
+
```
|
|
462
|
+
|
|
463
|
+
The SDK takes no scheduler dependency, so it wraps the job rather than scheduling it and the cron
|
|
464
|
+
expression stays with you. Each run is its own trace instead of being attributed to whatever was
|
|
465
|
+
active when the timer fired.
|
|
466
|
+
|
|
467
|
+
A job that throws is recorded on the span, counted under `adsp.job.result="error"`, and then
|
|
468
|
+
swallowed rather than rethrown. Schedulers do not handle a rejected job, so the unhandled rejection
|
|
469
|
+
would otherwise restart the service over one bad run -- which means a failing nightly job is
|
|
470
|
+
something to look for in metrics, not in a crash loop.
|
|
471
|
+
|
|
472
|
+
The job name is a metric label, so keep it constant. Per-run or per-tenant detail goes on the span,
|
|
473
|
+
where an attribute costs nothing:
|
|
474
|
+
```typescript
|
|
475
|
+
schedule.scheduleJob(
|
|
476
|
+
cron,
|
|
477
|
+
instrumentJob('thread-cleanup', cleanupJob, {
|
|
478
|
+
logger,
|
|
479
|
+
attributes: { 'adsp.tenant.id': tenantId.toString() },
|
|
480
|
+
})
|
|
481
|
+
);
|
|
482
|
+
```
|
|
483
|
+
|
|
484
|
+
The job function is also handed its span, so a run can report how much work it actually did -- the
|
|
485
|
+
thing a duration alone will not tell you:
|
|
486
|
+
```typescript
|
|
487
|
+
instrumentJob('lock-stale-forms', async (span) => {
|
|
488
|
+
const locked = await lockStaleForms();
|
|
489
|
+
span.setAttribute('adsp.job.items', locked);
|
|
490
|
+
});
|
|
491
|
+
```
|
|
@@ -6,56 +6,63 @@ parent: Services
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Feedback service
|
|
9
|
+
|
|
9
10
|
Feedback service allows users to submit feedback regarding their service interaction. It includes an backend API and a frontend widget.
|
|
10
11
|
|
|
11
12
|
## Client roles
|
|
13
|
+
|
|
12
14
|
client `urn:ads:platform:feedback-service`
|
|
13
15
|
|
|
14
|
-
| name
|
|
15
|
-
|
|
16
|
+
| name | description |
|
|
17
|
+
| :---------------- | :------------------------------------------------- |
|
|
16
18
|
| feedback-provider | Provider role that allows a user to send feedback. |
|
|
17
19
|
|
|
18
|
-
|
|
20
|
+
_Sites_ can be configured to allow anonymous feedback and in that case the send feedback request is not expected to include any credential. For _sites_ that don't allow anonymous feedback, the request must be in the context of a user with the `urn:ads:platform:feedback-service:feedback-provider` client role. In order to allow feedback from all authenticated users of an application, the associated client can include a hardcode role mapper to add the role to access tokens.
|
|
19
21
|
|
|
20
22
|
## Concepts
|
|
23
|
+
|
|
21
24
|
### Site
|
|
25
|
+
|
|
22
26
|
A site represents a website against which feedback can be provided. A site can be configured to allow anonymous feedback, so that feedback is accepted from unauthenticated users. This may decrease the quality of feedback. Note that the feedback API does not (and is not reliably able to) check that feedback originates from the associated site. Sites are configured in the [configuration service](configuration-service.md) under the `platform:feedback-service` namespace and name.
|
|
23
27
|
|
|
24
28
|
### Feedback anonymization
|
|
29
|
+
|
|
25
30
|
The feedback service processes text content of submitted feedback using the [PII service](pii-service.md) to remove personally identifiable information.
|
|
26
31
|
|
|
27
32
|
## Code examples
|
|
33
|
+
|
|
28
34
|
### Configure a site
|
|
35
|
+
|
|
29
36
|
Sites are configured using the [configuration service](configuration-service.md). Note that new configuration may take up to 15 mins to apply.
|
|
30
37
|
|
|
31
38
|
```typescript
|
|
32
|
-
|
|
39
|
+
const configurationServiceUrl = 'https://configuration-service.adsp.alberta.ca';
|
|
33
40
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
41
|
+
const request = {
|
|
42
|
+
operation: 'UPDATE',
|
|
43
|
+
update: {
|
|
44
|
+
sites: [
|
|
45
|
+
{
|
|
38
46
|
url: 'https://my-application.alberta.ca',
|
|
39
47
|
allowAnonymous: false,
|
|
40
|
-
}]
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
await fetch(
|
|
45
|
-
`${configurationServiceUrl}/configuration/v2/configuration/platform/feedback-service`,
|
|
46
|
-
{
|
|
47
|
-
method: 'PATCH',
|
|
48
|
-
headers: {
|
|
49
|
-
'Authorization': `Bearer ${accessToken}`,
|
|
50
|
-
'Content-Type': 'application/json'
|
|
51
48
|
},
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
49
|
+
],
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
await fetch(`${configurationServiceUrl}/configuration/v2/configuration/platform/feedback-service`, {
|
|
54
|
+
method: 'PATCH',
|
|
55
|
+
headers: {
|
|
56
|
+
Authorization: `Bearer ${accessToken}`,
|
|
57
|
+
'Content-Type': 'application/json',
|
|
58
|
+
},
|
|
59
|
+
body: JSON.stringify(request),
|
|
60
|
+
});
|
|
55
61
|
```
|
|
56
62
|
|
|
57
63
|
### Attach feedback widget
|
|
58
|
-
|
|
64
|
+
|
|
65
|
+
Feedback service provides a script for a frontend widget. The script sets a `adspFeedback` global variable when it is loaded, then the hosting site needs to initialize the widget with the name of the associated tenant, and css version for design system, default is 1.0 .
|
|
59
66
|
|
|
60
67
|
```html
|
|
61
68
|
<head>
|
|
@@ -65,14 +72,16 @@ Feedback service provides a script for a frontend widget. The script sets a `ads
|
|
|
65
72
|
...
|
|
66
73
|
<body>
|
|
67
74
|
<!-- Site body -->
|
|
68
|
-
<script>
|
|
69
|
-
|
|
75
|
+
<script>
|
|
76
|
+
adspFeedback.initialize({ tenant: 'My Tenant', designSystemsVersion: '2.0' });
|
|
77
|
+
</script>
|
|
78
|
+
<body></body>
|
|
79
|
+
</body>
|
|
70
80
|
```
|
|
71
81
|
|
|
72
82
|
The widget uses the location from which it is loaded to determine the feedback API URL, and uses the current site location for the context of the feedback. However, the hosting application can customize the widget behaviour via its interface.
|
|
73
83
|
|
|
74
84
|
```typescript
|
|
75
|
-
|
|
76
85
|
interface AdspFeedback {
|
|
77
86
|
initialize(options: FeedbackOptions): void;
|
|
78
87
|
}
|
|
@@ -94,59 +103,55 @@ export interface FeedbackContext {
|
|
|
94
103
|
```
|
|
95
104
|
|
|
96
105
|
### Send feedback
|
|
106
|
+
|
|
97
107
|
The `rating` field accepts one of the following values:
|
|
98
108
|
|
|
99
|
-
| Value
|
|
100
|
-
|
|
101
|
-
| terrible
|
|
102
|
-
| bad
|
|
103
|
-
| neutral
|
|
104
|
-
| good
|
|
105
|
-
| delightful | Very Easy
|
|
109
|
+
| Value | Description |
|
|
110
|
+
| :--------- | :------------- |
|
|
111
|
+
| terrible | Very Difficult |
|
|
112
|
+
| bad | Difficult |
|
|
113
|
+
| neutral | Neutral |
|
|
114
|
+
| good | Easy |
|
|
115
|
+
| delightful | Very Easy |
|
|
106
116
|
|
|
107
117
|
```typescript
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
body: JSON.stringify(feedback),
|
|
128
|
-
}
|
|
129
|
-
);
|
|
118
|
+
const feedback = {
|
|
119
|
+
tenant: 'My Tenant',
|
|
120
|
+
context: {
|
|
121
|
+
site: 'https://my-application.alberta.ca',
|
|
122
|
+
view: '/site-view',
|
|
123
|
+
},
|
|
124
|
+
rating: 'good',
|
|
125
|
+
comment: 'My experience was pretty good.',
|
|
126
|
+
technicalIssue: 'I experienced some issues with slow loading.',
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
await fetch(`https://feedback-service.adsp.alberta.ca/feedback/v1/feedback`, {
|
|
130
|
+
method: 'POST',
|
|
131
|
+
headers: {
|
|
132
|
+
Authorization: `Bearer ${accessToken}`,
|
|
133
|
+
'Content-Type': 'application/json',
|
|
134
|
+
},
|
|
135
|
+
body: JSON.stringify(feedback),
|
|
136
|
+
});
|
|
130
137
|
```
|
|
131
138
|
|
|
132
139
|
### Retrieving feedback
|
|
140
|
+
|
|
133
141
|
After anonymization, feedback is written to the [value service](value-service.md) and can be retrieved via its API.
|
|
134
142
|
|
|
135
143
|
```typescript
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
page,
|
|
151
|
-
} = await response.json();
|
|
152
|
-
```
|
|
144
|
+
const valueServiceUrl = 'https://value-service.adsp.alberta.ca';
|
|
145
|
+
const top = 50;
|
|
146
|
+
const timestampMin = `2024-10-10T12:00:00Z`;
|
|
147
|
+
|
|
148
|
+
const response = await fetch(
|
|
149
|
+
`${valueServiceUrl}/value/v1/feedback-service/values/feedback?top=${top}×tampMin=${timestampMin}`,
|
|
150
|
+
{
|
|
151
|
+
method: 'GET',
|
|
152
|
+
headers: { Authorization: `Bearer ${accessToken}` },
|
|
153
|
+
},
|
|
154
|
+
);
|
|
155
|
+
|
|
156
|
+
const { results, page } = await response.json();
|
|
157
|
+
```
|
|
@@ -6,75 +6,91 @@ parent: Services
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Value service
|
|
9
|
-
Value service provides an append only time series data store. It serves as the underlying store for the event log.
|
|
10
9
|
|
|
10
|
+
Value service provides an append only time series data store. It serves as the underlying store for the event log.
|
|
11
11
|
|
|
12
12
|
## Client roles
|
|
13
|
+
|
|
13
14
|
client `urn:ads:platform:value-service`
|
|
14
15
|
|
|
15
|
-
| name
|
|
16
|
-
|
|
16
|
+
| name | description |
|
|
17
|
+
| :----------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
17
18
|
| value-reader | Reader role for value service. This role is used to allow users to read values from the values. It is part of the tenant-admin composite role and allows tenant administrators to read and search the event log. |
|
|
18
|
-
| value-writer | Writer role for value service. This role is used to allow service accounts to write values to the value service.
|
|
19
|
+
| value-writer | Writer role for value service. This role is used to allow service accounts to write values to the value service. |
|
|
19
20
|
|
|
20
21
|
## Concepts
|
|
22
|
+
|
|
21
23
|
### Value definition
|
|
22
|
-
|
|
24
|
+
|
|
25
|
+
Value definition is an optional metadata description for a particular _value_ (identified by a specific namespace and name). The definition provides write-time validation via json schema. Value definitions are configured in the [configuration service](configuration-service.md) under the `platform:value-service` namespace and name.
|
|
23
26
|
|
|
24
27
|
### Value
|
|
28
|
+
|
|
25
29
|
A value represents a particular time series stream. Each write results in a new record with a timestamp. It differs from a typical transactional record in that the record has no unique identity; instead it represents another entry in the set of entries for the value. Consumers can write scalars or json objects to values.
|
|
26
30
|
|
|
27
31
|
### Metrics
|
|
32
|
+
|
|
28
33
|
Metrics are numeric values that can be included in value writes. The are automatically included in time interval aggregations and can be used for basic KPIs.
|
|
29
34
|
|
|
35
|
+
### Continuous aggregate backfill
|
|
36
|
+
|
|
37
|
+
Metric continuous aggregates are created without historical data so that service deployment does not trigger an unbounded database refresh. After deploying the migration, populate each aggregate in windows of no more than 31 days:
|
|
38
|
+
|
|
39
|
+
```sql
|
|
40
|
+
CALL backfill_metric_continuous_aggregate(
|
|
41
|
+
'metrics_daily_continuous',
|
|
42
|
+
'2026-01-01T00:00:00Z',
|
|
43
|
+
'2026-02-01T00:00:00Z'
|
|
44
|
+
);
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Run windows from the oldest metric timestamp forward for each of `metrics_one_minute_continuous`, `metrics_five_minutes_continuous`, `metrics_hourly_continuous`, `metrics_daily_continuous`, `metrics_weekly_continuous`, and `metrics_monthly_continuous`. Completed windows are recorded and skipped when called again:
|
|
48
|
+
|
|
49
|
+
```sql
|
|
50
|
+
SELECT *
|
|
51
|
+
FROM metric_continuous_aggregate_backfills
|
|
52
|
+
ORDER BY aggregate_name, window_start;
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Before continuing with the next window, monitor the database load and compare aggregate values against the equivalent `time_bucket` query over `metrics`. Automatic refresh policies keep recent completed buckets current; they do not replace the historical backfill.
|
|
56
|
+
|
|
30
57
|
## Code examples
|
|
58
|
+
|
|
31
59
|
### Write a value
|
|
60
|
+
|
|
32
61
|
```typescript
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
);
|
|
55
|
-
|
|
56
|
-
const {
|
|
57
|
-
correlationId,
|
|
58
|
-
context,
|
|
59
|
-
timestamp,
|
|
60
|
-
value,
|
|
61
|
-
} = await response.json();
|
|
62
|
+
const namespace = 'support';
|
|
63
|
+
const name = 'application-stats';
|
|
64
|
+
const value = {
|
|
65
|
+
correlationId,
|
|
66
|
+
context,
|
|
67
|
+
timestamp: new Date(),
|
|
68
|
+
value: {
|
|
69
|
+
property: 123,
|
|
70
|
+
},
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
const response = await fetch(`https://value-service.adsp.alberta.ca/value/v1/${namespace}/values/${name}`, {
|
|
74
|
+
method: 'POST',
|
|
75
|
+
headers: {
|
|
76
|
+
Authorization: `Bearer ${accessToken}`,
|
|
77
|
+
'Content-Type': 'application/json',
|
|
78
|
+
},
|
|
79
|
+
body: JSON.stringify(value),
|
|
80
|
+
});
|
|
81
|
+
|
|
82
|
+
const { correlationId, context, timestamp, value } = await response.json();
|
|
62
83
|
```
|
|
63
84
|
|
|
64
85
|
### Read a value
|
|
86
|
+
|
|
65
87
|
```typescript
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
);
|
|
75
|
-
|
|
76
|
-
const {
|
|
77
|
-
results,
|
|
78
|
-
page,
|
|
79
|
-
} = await response.json();
|
|
88
|
+
const namespace = 'support';
|
|
89
|
+
const name = 'application-stats';
|
|
90
|
+
const response = await fetch(`https://value-service.adsp.alberta.ca/value/v1/${namespace}/values/${name}`, {
|
|
91
|
+
method: 'GET',
|
|
92
|
+
headers: { Authorization: `Bearer ${accessToken}` },
|
|
93
|
+
});
|
|
94
|
+
|
|
95
|
+
const { results, page } = await response.json();
|
|
80
96
|
```
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: External navigation
|
|
3
|
+
layout: page
|
|
4
|
+
nav_order: 11
|
|
5
|
+
parent: Form Service
|
|
6
|
+
grand_parent: Tutorials
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## External navigation
|
|
10
|
+
|
|
11
|
+
Sometimes the thing that links into a form is not the form. A read-only summary of the answers, a task list, a "your applications" dashboard - each of these needs to be able to say _open this form at this page_, or _open this form at this field_. If the summary and the form are the same rendered component you get that for free from the stepper, but as soon as they are on different pages, or in different applications, you need to move a target across that gap yourself.
|
|
12
|
+
|
|
13
|
+
The library never reads the address bar and never switches your routes. It takes a target and moves the form to it; carrying the target from wherever the user clicked to wherever the form renders is the host's job. That leaves four pieces, and only the third one is inside the form.
|
|
14
|
+
|
|
15
|
+
### 1. Discover what you can link to
|
|
16
|
+
|
|
17
|
+
A page is addressed by the `options.id` authored on its Category, and a field by the `options.id` on its Control or by its scope pointer. Anything without an authored id falls back to a positional `page-N` id, which points at whatever occupies that slot today - so name the pages you intend to link to.
|
|
18
|
+
|
|
19
|
+
```javascript
|
|
20
|
+
import { getNavigationTargets } from '@abgov/jsonforms-components';
|
|
21
|
+
|
|
22
|
+
// Needs the ui schema and nothing else: no form data, no rendered form.
|
|
23
|
+
const targets = getNavigationTargets(definition.uiSchema);
|
|
24
|
+
// [{ pageId: 'personal-information', label: 'Personal Information', authored: true, index: 0,
|
|
25
|
+
// fields: [{ scope: '#/properties/fullName', id: 'applicant-full-name' }, ...] }, ...]
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### 2a. The form lives in another application
|
|
29
|
+
|
|
30
|
+
Build a URL. `getExternalFormPath` makes the id-versus-scope choice for you: a field whose control carries an authored id is written as that id, which survives the underlying property being renamed.
|
|
31
|
+
|
|
32
|
+
```javascript
|
|
33
|
+
import { getExternalFormPath } from '@abgov/jsonforms-components';
|
|
34
|
+
|
|
35
|
+
// stepId and scope are what a review Change button hands you (see below).
|
|
36
|
+
const path = getExternalFormPath(definition.uiSchema, formUrl, stepId, scope);
|
|
37
|
+
// https://form-app/<tenant>/<definition>/<form>?page=personal-information&fieldId=applicant-full-name
|
|
38
|
+
window.open(path, '_blank', 'noopener,noreferrer');
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### 2b. The form is another page of the same application
|
|
42
|
+
|
|
43
|
+
There is no URL to build and no parameters to parse - hand the form a `navigationTarget` object directly. The only thing to get right is that the value has to outlive the page switch.
|
|
44
|
+
|
|
45
|
+
```javascript
|
|
46
|
+
import { getNavigationTargets, NavigationTarget } from '@abgov/jsonforms-components';
|
|
47
|
+
|
|
48
|
+
// Lift this above the route switch - a value held by the summary page is gone by the time the
|
|
49
|
+
// form page mounts. Application state or route state both work; local state in a common parent
|
|
50
|
+
// is the simplest.
|
|
51
|
+
const [navigationTarget, setNavigationTarget] = useState<NavigationTarget>();
|
|
52
|
+
|
|
53
|
+
const handleReviewChange = (stepId: number | undefined, scope: string) => {
|
|
54
|
+
const pageId = stepId === undefined ? undefined : getNavigationTargets(uiSchema)[stepId]?.pageId;
|
|
55
|
+
setNavigationTarget({ pageId, scope });
|
|
56
|
+
navigate('/applications/123/form'); // your own route, however you switch pages
|
|
57
|
+
};
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### 3. Receive the target where the form renders
|
|
61
|
+
|
|
62
|
+
Both routes above end here. The provider applies a target once and reports what happened; it will not pull the user back to the requested page after they navigate away themselves.
|
|
63
|
+
|
|
64
|
+
Treat the target as a request rather than a setting, and clear it once the form has answered - whatever the answer was. A target left standing has already been applied, so a second Change click on the same field is indistinguishable from a re-render and goes nowhere. That second click is a real path: open a field, walk back to the overview, and click the same Change again.
|
|
65
|
+
|
|
66
|
+
```javascript
|
|
67
|
+
import { ContextProviderFactory, GoACells, GoARenderers } from '@abgov/jsonforms-components';
|
|
68
|
+
|
|
69
|
+
const ContextProvider = ContextProviderFactory();
|
|
70
|
+
|
|
71
|
+
<ContextProvider
|
|
72
|
+
navigationTarget={navigationTarget}
|
|
73
|
+
onNavigationChange={(outcome) => {
|
|
74
|
+
// 'navigated' | 'unavailable' (hidden, disabled, not-yet-reachable) | 'unknown'
|
|
75
|
+
setNavigationTarget(undefined);
|
|
76
|
+
}}
|
|
77
|
+
>
|
|
78
|
+
<JsonForms
|
|
79
|
+
schema={definition.dataSchema}
|
|
80
|
+
uischema={definition.uiSchema}
|
|
81
|
+
data={data}
|
|
82
|
+
renderers={GoARenderers}
|
|
83
|
+
cells={GoACells}
|
|
84
|
+
/>
|
|
85
|
+
</ContextProvider>
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
When the target arrived as a link, turn the parameters back into that same object, and clear them once they cannot be honoured so that a reload does not retry a dead target.
|
|
89
|
+
|
|
90
|
+
```javascript
|
|
91
|
+
import { getNavigationTargetFromParams, NAVIGATION_PARAMS } from '@abgov/jsonforms-components';
|
|
92
|
+
|
|
93
|
+
const [searchParams, setSearchParams] = useSearchParams();
|
|
94
|
+
const navigationTarget = useMemo(() => getNavigationTargetFromParams(searchParams), [searchParams]);
|
|
95
|
+
|
|
96
|
+
const handleNavigationChange = (outcome: NavigationOutcome) => {
|
|
97
|
+
if (outcome.status === 'unknown') {
|
|
98
|
+
const next = new URLSearchParams(searchParams);
|
|
99
|
+
Object.values(NAVIGATION_PARAMS).forEach((param) => next.delete(param));
|
|
100
|
+
setSearchParams(next, { replace: true });
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
### 4. Wire the Change buttons on a read-only summary
|
|
106
|
+
|
|
107
|
+
A summary rendered with the review renderers puts a Change button beside each answer. `ReviewRenderProvider` is what carries those clicks out to you as `(stepId, scope)` - feed them into either shape above. Without it the buttons only move the summary's own stepper, which does nothing when the form is somewhere else.
|
|
108
|
+
|
|
109
|
+
```javascript
|
|
110
|
+
import { GoACells, GoAReviewRenderers, ReviewRenderProvider } from '@abgov/jsonforms-components';
|
|
111
|
+
|
|
112
|
+
<ContextProvider showChangeButtons={true}>
|
|
113
|
+
<ReviewRenderProvider onReviewChange={handleReviewChange}>
|
|
114
|
+
<JsonForms
|
|
115
|
+
readonly={true}
|
|
116
|
+
validationMode="NoValidation"
|
|
117
|
+
schema={definition.dataSchema}
|
|
118
|
+
uischema={definition.uiSchema}
|
|
119
|
+
data={data}
|
|
120
|
+
renderers={GoAReviewRenderers}
|
|
121
|
+
cells={GoACells}
|
|
122
|
+
/>
|
|
123
|
+
</ReviewRenderProvider>
|
|
124
|
+
</ContextProvider>
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
**NOTE**: Every control reports, including the composite ones. Address, full name, full name with date of birth, contact information and list controls report through `onReviewChange` exactly like a plain text field does. If a Change button appears to do nothing, check that `ReviewRenderProvider` is above the `JsonForms` element rather than beside it, that the category carries the `options.id` you are matching on, and that the previous target was cleared in `onNavigationChange`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abgov/adsp-sdk-mcp-server",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.13.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Government of Alberta - MCP server for ADSP documentation and Node SDK reference lookup.",
|
|
6
6
|
"repository": "https://github.com/GovAlta/adsp-monorepo",
|
|
@@ -533,6 +533,61 @@ exports.SDK_REFERENCE = [
|
|
|
533
533
|
deprecated: true,
|
|
534
534
|
seeAlso: ['ValueDefinition'],
|
|
535
535
|
},
|
|
536
|
+
{
|
|
537
|
+
name: 'CacheName',
|
|
538
|
+
kind: 'const',
|
|
539
|
+
module: 'metrics',
|
|
540
|
+
summary: 'Names of the caches the SDK instruments, used as the adsp.cache.name label on adsp.cache.lookups.',
|
|
541
|
+
details: "CacheName: { Configuration: 'configuration'; Directory: 'directory'; Tenant: 'tenant'; Issuer: 'issuer'; " +
|
|
542
|
+
"JwksClient: 'jwks-client' }\n\n" +
|
|
543
|
+
'A fixed set on purpose: cache name x result is the whole cardinality of the lookup counter. Pass one of ' +
|
|
544
|
+
'these for an SDK cache; a service instrumenting its own cache should use its own short, constant name.',
|
|
545
|
+
seeAlso: ['recordCacheResult'],
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
name: 'recordCacheResult',
|
|
549
|
+
kind: 'function',
|
|
550
|
+
module: 'metrics',
|
|
551
|
+
summary: 'Records a cache lookup outcome on the adsp.cache.lookups counter.',
|
|
552
|
+
details: 'recordCacheResult(cache: string, hit: boolean): void\n\n' +
|
|
553
|
+
'Call once per *logical* lookup, where the cache is first consulted. Read-through caches -- get, and on a ' +
|
|
554
|
+
'miss refresh and get again -- would otherwise score one lookup as both a miss and a hit and make the hit ' +
|
|
555
|
+
'ratio meaningless. Labels are adsp.cache.name and adsp.cache.result (hit/miss) only; nothing per-key or ' +
|
|
556
|
+
'per-tenant should reach them.',
|
|
557
|
+
example: "import { CacheName, recordCacheResult } from '@abgov/adsp-service-sdk';\n\n" +
|
|
558
|
+
'const cached = cache.get<Thing>(key);\n' +
|
|
559
|
+
'recordCacheResult(CacheName.Configuration, !!cached);\n' +
|
|
560
|
+
'const thing = cached ?? (await retrieve(key));',
|
|
561
|
+
seeAlso: ['CacheName'],
|
|
562
|
+
},
|
|
563
|
+
// jobs
|
|
564
|
+
{
|
|
565
|
+
name: 'instrumentJob',
|
|
566
|
+
kind: 'function',
|
|
567
|
+
module: 'jobs',
|
|
568
|
+
summary: 'Wraps a scheduled job so each run produces a span and an adsp.job.duration measurement.',
|
|
569
|
+
details: 'instrumentJob(name: string, work: (span: Span) => void | Promise<void>, options?: InstrumentJobOptions): ' +
|
|
570
|
+
'() => Promise<void>\n\n' +
|
|
571
|
+
'Wraps rather than schedules: the SDK takes no scheduler dependency, so the cron expression stays with the ' +
|
|
572
|
+
'caller. Each run starts from ROOT_CONTEXT so a job is its own trace instead of being grafted onto whatever ' +
|
|
573
|
+
'context was active when the timer fired. A thrown job is recorded on the span, counted under ' +
|
|
574
|
+
'adsp.job.result="error", and swallowed -- schedulers do not handle a rejected job, so the unhandled ' +
|
|
575
|
+
'rejection would restart the process over one bad run. Keep name a constant: it is a metric label.',
|
|
576
|
+
example: "import { instrumentJob } from '@abgov/adsp-service-sdk';\n" +
|
|
577
|
+
"import * as schedule from 'node-schedule';\n\n" +
|
|
578
|
+
"schedule.scheduleJob('0 1 * * *', instrumentJob('form-lock', lockJob, { logger }));",
|
|
579
|
+
seeAlso: ['InstrumentJobOptions'],
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
name: 'InstrumentJobOptions',
|
|
583
|
+
kind: 'interface',
|
|
584
|
+
module: 'jobs',
|
|
585
|
+
summary: 'Options for instrumentJob: a logger for failures, and extra span attributes.',
|
|
586
|
+
details: 'InstrumentJobOptions { logger?: Logger; attributes?: Attributes }\n\n' +
|
|
587
|
+
'attributes go on the job span only and are deliberately not copied onto the duration metric -- a span ' +
|
|
588
|
+
'attribute is free, while a metric label multiplies the series. Per-tenant or per-run detail belongs here.',
|
|
589
|
+
seeAlso: ['instrumentJob'],
|
|
590
|
+
},
|
|
536
591
|
// trace
|
|
537
592
|
{
|
|
538
593
|
name: 'getContextTrace',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reference.js","sourceRoot":"","sources":["../../../../../libs/adsp-sdk-mcp-server/src/sdk-reference/reference.ts"],"names":[],"mappings":";;;AAaA;;;;GAIG;AACU,QAAA,aAAa,GAAmB;IAC3C,aAAa;IACb;QACE,IAAI,EAAE,mBAAmB;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,wCAAwC;YACxC,sFAAsF;YACtF,GAAG;QACL,OAAO,EAAE,CAAC,qBAAqB,CAAC;KACjC;IAED,UAAU;IACV;QACE,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,UAAU;QAChB,MAAM,EAAE,SAAS;QACjB,OAAO,EAAE,8FAA8F;QACvG,OAAO,EAAE,+DAA+D;QACxE,UAAU,EAAE,IAAI;QAChB,OAAO,EAAE,CAAC,gBAAgB,CAAC;KAC5B;IACD;QACE,IAAI,EAAE,gBAAgB;QACtB,IAAI,EAAE,UAAU;QAChB,MAAM,EAAE,SAAS;QACjB,OAAO,EAAE,qEAAqE;QAC9E,OAAO,EAAE,0DAA0D;QACnE,UAAU,EAAE,IAAI;QAChB,OAAO,EAAE,CAAC,WAAW,CAAC;KACvB;IACD;QACE,IAAI,EAAE,+BAA+B;QACrC,IAAI,EAAE,OAAO;QACb,MAAM,EAAE,SAAS;QACjB,OAAO,EAAE,0FAA0F;QACnG,UAAU,EAAE,IAAI;QAChB,OAAO,EAAE,CAAC,iBAAiB,CAAC;KAC7B;IAED,QAAQ;IACR;QACE,IAAI,EAAE,iBAAiB;QACvB,IAAI,EAAE,UAAU;QAChB,MAAM,EAAE,OAAO;QACf,OAAO,EAAE,sGAAsG;QAC/G,OAAO,EAAE,kDAAkD;KAC5D;IACD;QACE,IAAI,EAAE,iBAAiB;QACvB,IAAI,EAAE,UAAU;QAChB,MAAM,EAAE,OAAO;QACf,OAAO,EAAE,2EAA2E;QACpF,OAAO,EAAE,6HAA6H;QACtI,OAAO,EAAE,0BAA0B;KACpC;CACF,CAAC"}
|
|
1
|
+
{"version":3,"file":"reference.js","sourceRoot":"","sources":["../../../../../libs/adsp-sdk-mcp-server/src/sdk-reference/reference.ts"],"names":[],"mappings":";;;AAaA;;;;GAIG;AACU,QAAA,aAAa,GAAmB;IAC3C,aAAa;IACb;QACE,IAAI,EAAE,mBAAmB;QACzB,IAAI,EAAE,UAAU;QAChB,MAAM,EAAE,YAAY;QACpB,O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