@abgov/adsp-sdk-mcp-server 1.12.1 → 1.14.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.
@@ -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,75 +6,99 @@ 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 | description |
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
- 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.
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
+ ### Metric interval rollups
36
+
37
+ Reading a metric interval aggregates the `metrics` table on every request, which gets slow as history grows. The `metric_interval_rollups` table stores each interval's buckets so those reads become a keyed lookup, and a scheduled job keeps it current.
38
+
39
+ The job runs every five minutes and moves one interval's coverage by at most a chunk in each direction: forward from where coverage ended, so recent buckets stay fresh, and backward through history, so an interval that has never been rolled up fills in over successive runs. Both windows touch the existing coverage, which keeps `metric_interval_rollup_coverage` a single contiguous span per interval.
40
+
41
+ Reads consult that coverage. A request whose window falls entirely inside it is served from the rollups; anything reaching outside falls back to a live aggregate of the raw `metrics` table, which is slower but always complete, so rollups can be populated progressively without the API losing data in the meantime.
42
+
43
+ The end of a requested window is first snapped back to the start of the interval in progress, so only whole periods are ever served: a `monthly` request made on 17 September returns August as its most recent bucket rather than seventeen days of September, and the bound actually used comes back as `page.intervalMax` so a shortened window is distinguishable from one that simply holds no data. Snapping is what lets coverage satisfy a request reaching up to "now" — a composed interval's rollup can never contain its own open bucket, so without it every such read missed on the trailing edge and fell back to a live aggregate of the whole window.
44
+
45
+ Each interval is aggregated from the next finer one, and only `one_minute` reads the raw `metrics` table. `sum`, `count`, `min` and `max` all compose — a month's sum is the sum of its days' sums, its min the least of their mins — so a monthly bucket is built from about thirty daily rows rather than a month of raw metrics. That is why the rollups store those four and derive the average on read: an average of averages would not compose. Both `weekly` and `monthly` build from `daily`, because a week can straddle a month boundary and so does not nest inside one.
46
+
47
+ An interval can only advance as far as its source has been rolled up, so coverage fills from the finest interval outwards and a coarse interval waits, logging at debug, until its source has something to build from.
48
+
49
+ `METRIC_INTERVAL_ROLLUP_MAX_CHUNK_HOURS` caps every interval's window, and defaults to a week. It cannot cut a window below a single bucket, since an interval whose chunk is narrower than its bucket would never finish backfilling. A composed interval's read cost follows the number of rollup rows rather than the span of time it covers, but what it writes does not: the upsert groups by namespace, name, tenant and metric as well as the bucket, so a wide window can still write one row per bucket per distinct series in a single statement — enough, on a tenant-heavy deployment, to exhaust the database's shared lock table even though no relation the query touches is itself large. Capping every interval's window keeps that upsert bounded the same way it keeps `one_minute`'s raw scan bounded.
50
+
51
+ Intervals advance one at a time, each in its own transaction under a Postgres advisory lock, so of the replicas that all schedule the job, whichever gets the lock advances that interval and the rest skip it; within a replica, a tick arriving while the last run is still going is skipped as well. Committing per interval is what keeps the job making progress: an interval that exceeds `METRIC_INTERVAL_ROLLUP_STATEMENT_TIMEOUT_MS` rolls back only itself and is logged by name, while the intervals that already succeeded stay committed. `DB_POOL_MAX` bounds how many connections a replica can hold at all — worth setting deliberately, since it is multiplied by the replica count against one database.
52
+
53
+ Coverage is recorded in whole buckets: both edges are snapped down to a bucket boundary, so the bucket currently being written to is never advertised as rolled up. Reads of a window that includes it fall back to the `metrics_*` views, which is what keeps a partially totalled bucket from being served as a complete one.
54
+
55
+ Set `METRIC_INTERVAL_ROLLUP_JOB_ENABLED=false` to stop the job. Reads keep working — they fall back to the views — but the rollups stop advancing and stale coverage will gradually stop matching incoming requests.
56
+
57
+ ```sql
58
+ SELECT "interval", covered_from, covered_to, updated_at
59
+ FROM metric_interval_rollup_coverage
60
+ ORDER BY "interval";
61
+ ```
62
+
63
+ Rollups store `sum` and `count` rather than an average, because an average of averages is not the average; the read path divides the two.
64
+
30
65
  ## Code examples
66
+
31
67
  ### Write a value
68
+
32
69
  ```typescript
33
- const namespace = 'support';
34
- const name = 'application-stats';
35
- const value = {
36
- correlationId,
37
- context,
38
- timestamp: new Date(),
39
- value: {
40
- property: 123,
41
- },
42
- }
43
-
44
- const response = await fetch(
45
- `https://value-service.adsp.alberta.ca/value/v1/${namespace}/values/${name}`,
46
- {
47
- method: 'POST',
48
- headers: {
49
- 'Authorization': `Bearer ${accessToken}`,
50
- 'Content-Type': 'application/json',
51
- },
52
- body: JSON.stringify(value)
53
- }
54
- );
55
-
56
- const {
57
- correlationId,
58
- context,
59
- timestamp,
60
- value,
61
- } = await response.json();
70
+ const namespace = 'support';
71
+ const name = 'application-stats';
72
+ const value = {
73
+ correlationId,
74
+ context,
75
+ timestamp: new Date(),
76
+ value: {
77
+ property: 123,
78
+ },
79
+ };
80
+
81
+ const response = await fetch(`https://value-service.adsp.alberta.ca/value/v1/${namespace}/values/${name}`, {
82
+ method: 'POST',
83
+ headers: {
84
+ Authorization: `Bearer ${accessToken}`,
85
+ 'Content-Type': 'application/json',
86
+ },
87
+ body: JSON.stringify(value),
88
+ });
89
+
90
+ const { correlationId, context, timestamp, value } = await response.json();
62
91
  ```
63
92
 
64
93
  ### Read a value
94
+
65
95
  ```typescript
66
- const namespace = 'support';
67
- const name = 'application-stats';
68
- const response = await fetch(
69
- `https://value-service.adsp.alberta.ca/value/v1/${namespace}/values/${name}`,
70
- {
71
- method: 'GET',
72
- headers: { Authorization: `Bearer ${accessToken}` },
73
- }
74
- );
75
-
76
- const {
77
- results,
78
- page,
79
- } = await response.json();
96
+ const namespace = 'support';
97
+ const name = 'application-stats';
98
+ const response = await fetch(`https://value-service.adsp.alberta.ca/value/v1/${namespace}/values/${name}`, {
99
+ method: 'GET',
100
+ headers: { Authorization: `Bearer ${accessToken}` },
101
+ });
102
+
103
+ const { results, page } = await response.json();
80
104
  ```
@@ -32,6 +32,12 @@ Sometimes a specific answer to a question will influence the flow of the form. A
32
32
 
33
33
  Jsonforms automatically handles basic input validation, such as ensuring required fields are filled in, dates are formatted correctly, or that numbers are, indeed, numbers. More sophisticated validation is also possible; you can add [custom error messages](https://jsonforms.io/docs/validation/) or even [integrate a custom AJV validator](https://jsonforms.io/docs/validation/) to [harness the full power of AJV](https://ajv.js.org/), which gives you complete control over validation.
34
34
 
35
+ ### Text input format patterns
36
+
37
+ Text fields can format values with a mask while the user types, or only on blur. Built-in named formats (`phone`, `sin`, `postalCode`, `driverId`, `mvid`) are selected with JSON schema `format`. For any other layout, add a custom `mask` on the UI schema control (and keep a JSON schema `pattern` for validation). Set `inPlace: true` to show the fill-in template in the field.
38
+
39
+ See [Text Input Control Options](/adsp-monorepo/tutorials/form-service/cheat-sheet.html#text-input-control-options) for named formats, custom mask examples, in-place behaviour, and how to register a new named format in code.
40
+
35
41
  #### Required Fields
36
42
 
37
43
  There is a known issue in jsonforms that allows an empty string to satisfy the required validation rule. To work around this, you should also add a minimum length of 1 to required string fields, e.g.
@@ -411,6 +411,147 @@ The date control supports these options to restrict date selection:
411
411
  </tr>
412
412
  </table>
413
413
 
414
+ #### Text Input Control Options
415
+
416
+ Text inputs can format values with a mask. A mask is a template: placeholder characters (`#`, `*`, or `_`) each consume one letter or digit from the input, and every other character is inserted as a literal (spaces, dashes, parentheses).
417
+
418
+ There are three ways to apply a mask. Use a built-in named format when one already matches the field. Use a custom `mask` when you need a different layout. Use `formatPattern` only when you want formatting on blur and not while the user is typing.
419
+
420
+ <table>
421
+ <tr>
422
+ <th>Option</th>
423
+ <th>Location</th>
424
+ <th>Behavior</th>
425
+ <th>Default</th>
426
+ </tr>
427
+ <tr>
428
+ <td><code>format</code></td>
429
+ <td>JSON schema</td>
430
+ <td>Selects a built-in named format (<code>phone</code>, <code>sin</code>, <code>postalCode</code>, <code>driverId</code>, <code>mvid</code>). The control formats as the user types, restricts allowed keys, and validates against the named pattern.</td>
431
+ <td>Not set</td>
432
+ </tr>
433
+ <tr>
434
+ <td><code>mask</code></td>
435
+ <td>UI schema <code>options</code></td>
436
+ <td>A custom mask template applied while typing, e.g. <code>####-##</code>. Use this when the field is not one of the built-in formats. A named <code>schema.format</code> takes precedence over this option.</td>
437
+ <td>Not set</td>
438
+ </tr>
439
+ <tr>
440
+ <td><code>inPlace</code></td>
441
+ <td>UI schema <code>options</code></td>
442
+ <td>When <code>true</code> and a mask is present, the field shows the fill-in template (for example <code>(###) ###-####</code>) and keeps the caret in place. Extra characters are rejected once every placeholder is filled. In-place fields do not use <code>maxLength</code> because the template is already full length.</td>
443
+ <td><code>false</code></td>
444
+ </tr>
445
+ <tr>
446
+ <td><code>formatPattern</code></td>
447
+ <td>UI schema <code>options</code></td>
448
+ <td>A mask template applied only when the field loses focus (on blur), e.g. <code>(###) ###-####</code>. Formatting only; validation is still driven by the JSON schema <code>pattern</code>.</td>
449
+ <td>Not set</td>
450
+ </tr>
451
+ </table>
452
+
453
+ ##### Built-in named formats
454
+
455
+ Set <code>format</code> on the JSON schema property. The control then uses the matching mask, allowed keys, and validation pattern.
456
+
457
+ | `schema.format` | Mask | Allowed input | Example value |
458
+ | --------------- | ---------------- | ------------------ | ---------------- |
459
+ | `phone` | `(###) ###-####` | Digits | `(403) 555-1212` |
460
+ | `sin` | `### ### ###` | Digits | `123 456 789` |
461
+ | `postalCode` | `### ###` | Letters and digits | `T2P 1A1` |
462
+ | `driverId` | `######-###` | Digits | `123456-789` |
463
+ | `mvid` | `####-#####` | Digits | `1234-56789` |
464
+
465
+ ```json
466
+ {
467
+ "driverLicence": {
468
+ "type": "string",
469
+ "format": "driverId"
470
+ }
471
+ }
472
+ ```
473
+
474
+ ```json
475
+ {
476
+ "type": "Control",
477
+ "scope": "#/properties/driverLicence",
478
+ "options": {
479
+ "inPlace": true
480
+ }
481
+ }
482
+ ```
483
+
484
+ ##### Custom mask (not a built-in format)
485
+
486
+ Add a <code>mask</code> on the UI schema control when the value should be formatted while typing but is not one of the named formats. Keep a JSON schema <code>pattern</code> (and optional <code>errorMessage</code>) so the formatted value is still validated.
487
+
488
+ ```json
489
+ {
490
+ "accountNumber": {
491
+ "type": "string",
492
+ "pattern": "^[0-9]{4}-[0-9]{2}$",
493
+ "errorMessage": "Must be in format 0000-00"
494
+ }
495
+ }
496
+ ```
497
+
498
+ ```json
499
+ {
500
+ "type": "Control",
501
+ "scope": "#/properties/accountNumber",
502
+ "options": {
503
+ "mask": "####-##",
504
+ "inPlace": true
505
+ }
506
+ }
507
+ ```
508
+
509
+ Mask rules:
510
+
511
+ - Placeholders `#`, `*`, and `_` each take one letter or digit.
512
+ - Any other character in the mask is a literal separator.
513
+ - Extra content beyond the number of placeholders is discarded (in-place fields restore the previous value instead of keeping the extra character).
514
+ - Named formats also restrict keystrokes (digits only, or letters and digits for postal code). A custom `mask` without a named format does not restrict which characters can be typed; use `schema.pattern` for validation.
515
+
516
+ ##### Format on blur only
517
+
518
+ Use <code>formatPattern</code> when the field should stay unformatted while typing and only apply the mask when it loses focus. Validation still comes from the JSON schema <code>pattern</code>.
519
+
520
+ | Mask (`formatPattern`) | User enters | Formatted on blur |
521
+ | ---------------------- | ------------ | ----------------- |
522
+ | `(###) ###-####` | `7801234567` | `(780) 123-4567` |
523
+ | `######-###` | `123456789` | `123456-789` |
524
+ | `### ###` | `A1A1A1` | `A1A 1A1` |
525
+ | `### ### ###` | `123456789` | `123 456 789` |
526
+
527
+ ```json
528
+ {
529
+ "type": "Control",
530
+ "scope": "#/properties/phone",
531
+ "options": {
532
+ "formatPattern": "(###) ###-####"
533
+ }
534
+ }
535
+ ```
536
+
537
+ ##### Adding a new named format in code
538
+
539
+ Form definitions can only use the built-in names above or a per-field <code>mask</code>. To register a new reusable named format for all forms, add it to <code>DEFAULT_PATTERNS</code> in <code>libs/jsonforms-components/src/lib/util/patternForm.ts</code>:
540
+
541
+ ```ts
542
+ export const DEFAULT_PATTERNS: Record<string, MaskPattern> = {
543
+ // ...
544
+ accountNumber: {
545
+ mask: '####-##',
546
+ pattern: /^\d{4}-\d{2}$/,
547
+ error: 'Must be in format 0000-00',
548
+ allowedKeys: /[0-9]/,
549
+ },
550
+ };
551
+ ```
552
+
553
+ `createDefaultAjv` registers every `DEFAULT_PATTERNS` key as a JSON schema format automatically. After that, form definitions can set `"format": "accountNumber"` the same way as `phone` or `driverId`.
554
+
414
555
  #### Calculation Control
415
556
 
416
557
  The calculation control is rendered when the JSON schema field uses <code>"format": "computed"</code>. The expression is defined in <code>schema.description</code>, evaluated against current form data, and the result is written back to the control path automatically. The rendered field is read-only.
@@ -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.12.1",
3
+ "version": "1.14.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;QACzB,IAAI,EAAE,UAAU;QAChB,MAAM,EAAE,YAAY;QACpB,OAAO,EACL,wGAAwG;YACxG,uGAAuG;QACzG,OAAO,EACL,gHAAgH;YAChH,2BAA2B;YAC3B,+GAA+G;YAC/G,8GAA8G;YAC9G,2GAA2G;YAC3G,+FAA+F;YAC/F,mDAAmD;QACrD,OAAO,EACL,0EAA0E;YAC1E,0DAA0D;YAC1D,yFAAyF;YACzF,OAAO;YACP,yCAAyC;YACzC,kEAAkE;YAClE,kBAAkB;YAClB,wCAAwC;YACxC,iEAAiE;YACjE,gDAAgD;YAChD,yDAAyD;YACzD,4BAA4B;YAC5B,mBAAmB;YACnB,kBAAkB;YAClB,0BAA0B;YAC1B,QAAQ;YACR,gBAAgB;YAChB,IAAI;QACN,OAAO,EAAE,CAAC,oBAAoB,EAAE,qBAAqB,CAAC;KACvD;IACD;QACE,IAAI,EAAE,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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,OAAO,EACL,wGAAwG;YACxG,uGAAuG;QACzG,OAAO,EACL,gHAAgH;YAChH,2BAA2B;YAC3B,+GAA+G;YAC/G,8GAA8G;YAC9G,2GAA2G;YAC3G,+FAA+F;YAC/F,mDAAmD;QACrD,OAAO,EACL,0EAA0E;YAC1E,0DAA0D;YAC1D,yFAAyF;YACzF,OAAO;YACP,yCAAyC;YACzC,kEAAkE;YAClE,kBAAkB;YAClB,wCAAwC;YACxC,iEAAiE;YACjE,gDAAgD;YAChD,yDAAyD;YACzD,4BAA4B;YAC5B,mBAAmB;YACnB,kBAAkB;YAClB,0BAA0B;YAC1B,QAAQ;YACR,gBAAgB;YAChB,IAAI;QACN,OAAO,EAAE,CAAC,oBAAoB,EAAE,qBAAqB,CAAC;KACvD;IACD;QACE,IAAI,EAAE,oBAAoB;QAC1B,IAAI,EAAE,UAAU;QAChB,MAAM,EAAE,YAAY;QACpB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