@abgov/adsp-sdk-mcp-server 1.39.9 → 1.40.1
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.
|
@@ -24,7 +24,7 @@ Services can also allow their own roles to export their resources. Export _sourc
|
|
|
24
24
|
- **Which tenant is used.** Tenant users and service accounts create jobs in the tenant of their token. Core users with the exporter role must set the `tenantId` query parameter when creating a job; the job is created in that tenant. Without `tenantId`, core users get 400.
|
|
25
25
|
- **Reading the resource.** The job reads the resource with the export service's own service account, which has the `export-job` role, and passes the job's tenant as the `tenantId` query parameter. The requesting user's roles are checked when the job is created, not when the resource is read.
|
|
26
26
|
- **Role scope.** The exporter role, and any exporter roles configured for a source, must be held in the tenant of the request. A core user's exporter role also allows creating and reading jobs in the `tenantId` tenant.
|
|
27
|
-
- **Configuration.** Export sources are read from the `platform:export-service` configuration.
|
|
27
|
+
- **Configuration.** Export sources are read from the `platform:export-service` configuration. Tenant `sources` are merged by key with the platform (core) `sources`, such as the sources registered by form service. When the tenant and the platform configure the same service or API URN, the platform source is used.
|
|
28
28
|
- **Export files** are uploaded to the job's tenant.
|
|
29
29
|
- **Reading jobs.** The user who created a job can always read it. Other users need the exporter role in the job's tenant. Core users must set `tenantId` (400 without it), and core users with the exporter role can read any job of that tenant.
|
|
30
30
|
|
|
@@ -93,12 +93,13 @@ Each tenant has its own Keycloak realm, which signs the access tokens of the ten
|
|
|
93
93
|
|
|
94
94
|
Tenant service sends the following domain events under the `tenant-service` namespace. It doesn't consume events.
|
|
95
95
|
|
|
96
|
-
| Event
|
|
97
|
-
|
|
|
98
|
-
| `tenant-created`
|
|
99
|
-
| `tenant-deleted`
|
|
100
|
-
| `tenant-archived`
|
|
101
|
-
| `tenant-restored`
|
|
96
|
+
| Event | Description |
|
|
97
|
+
| :-------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
98
|
+
| `tenant-created` | A tenant was created, either with an existing realm or once its new realm was provisioned. The payload includes the `tenant` and `createdBy`. |
|
|
99
|
+
| `tenant-deleted` | A tenant was permanently deleted (purged). The payload includes the `tenant` and `deletedBy`. |
|
|
100
|
+
| `tenant-archived` | A tenant was archived. The payload includes the `tenant` and `archivedBy`. |
|
|
101
|
+
| `tenant-restored` | An archived tenant was restored. The payload includes the `tenant` and `restoredBy`. |
|
|
102
|
+
| `tenant-name-updated` | A tenant was renamed. The payload includes the updated `tenant` and `updatedBy`. |
|
|
102
103
|
|
|
103
104
|
## Audit actions
|
|
104
105
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abgov/adsp-sdk-mcp-server",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.40.1",
|
|
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",
|
package/provenance.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"kind": "release",
|
|
3
|
-
"builtAt": "2026-11-
|
|
4
|
-
"sourceCommit": "
|
|
5
|
-
"latestRelease": "1.
|
|
6
|
-
"docsCommit": "
|
|
3
|
+
"builtAt": "2026-11-23T15:59:31.452Z",
|
|
4
|
+
"sourceCommit": "05199bb414f1d6a7c0e79312e8caf3e54347c277",
|
|
5
|
+
"latestRelease": "1.40.0",
|
|
6
|
+
"docsCommit": "d0010bba46594bacd5a6cfe3265816b18fc9e45a",
|
|
7
7
|
"sdk": {
|
|
8
|
-
"version": "2.
|
|
8
|
+
"version": "2.37.0",
|
|
9
9
|
"commit": "4721e7cf9f8bd770e911058cb3a233be7ebc0923",
|
|
10
10
|
"unreleasedChanges": false
|
|
11
11
|
}
|