@twin.org/node 0.0.3-next.14 → 0.0.3-next.15
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/dist/locales/en.json +54 -6
- package/docs/changelog.md +14 -0
- package/docs/examples.md +8 -2
- package/docs/open-api/spec.json +861 -186
- package/package.json +2 -2
package/dist/locales/en.json
CHANGED
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"cliCommandMissing": "CLI command \"{command}\" is not recognised",
|
|
13
13
|
"cliCommandParamMissing": "Parameter \"{param}\" is required for command \"{command}\"",
|
|
14
14
|
"cliCommandParamExtra": "Parameter(s) \"{params}\" are not recognised for command \"{command}\"",
|
|
15
|
-
"cliEnvVarMissing": "Environment variable \"{envVar}\" does not exist"
|
|
15
|
+
"cliEnvVarMissing": "Environment variable \"{envVar}\" does not exist",
|
|
16
|
+
"invalidPublicOrigin": "The public origin \"{publicOrigin}\" is not a valid origin URL, it should be in the format \"protocol://host[:port]\"."
|
|
16
17
|
},
|
|
17
18
|
"bootstrapLegacy": {
|
|
18
19
|
"noFeaturesEnabled": "No features are enabled in legacy bootstrap mode, at least one feature must be enabled."
|
|
@@ -36,6 +37,10 @@
|
|
|
36
37
|
"tenantImport": {
|
|
37
38
|
"tenantAdminComponentNotRegistered": "Multi-tenant support must be enabled to use this command."
|
|
38
39
|
},
|
|
40
|
+
"tenantUpdate": {
|
|
41
|
+
"tenantAdminComponentNotRegistered": "Multi-tenant support must be enabled to use this command.",
|
|
42
|
+
"tenantNotFound": "The tenant with ID \"{notFoundId}\" was not found in the system."
|
|
43
|
+
},
|
|
39
44
|
"userCreate": {
|
|
40
45
|
"passwordTooShort": "The password provided is too short, it must be at least {minLength} characters long.",
|
|
41
46
|
"userAlreadyExists": "The user with ID already exists and overwriteMode is set to \"error\"."
|
|
@@ -43,6 +48,13 @@
|
|
|
43
48
|
"vaultKeyCreate": {
|
|
44
49
|
"vaultKeyAlreadyExists": "The vault key with ID already exists and overwriteMode is set to \"error\"."
|
|
45
50
|
},
|
|
51
|
+
"nodeSetTenant": {
|
|
52
|
+
"tenantNotFound": "The tenant with ID \"{notFoundId}\" was not found in the system.",
|
|
53
|
+
"tenantAdminComponentNotRegistered": "Multi-tenant support must be enabled to use this command."
|
|
54
|
+
},
|
|
55
|
+
"nodeSetIdentity": {
|
|
56
|
+
"identityNotFound": "The identity with DID \"{notFoundId}\" was not found in the system."
|
|
57
|
+
},
|
|
46
58
|
"entityStorageAuthenticationService": {
|
|
47
59
|
"loginFailed": "Login failed",
|
|
48
60
|
"userNotFound": "The user with the specified e-mail could not be found",
|
|
@@ -489,6 +501,8 @@
|
|
|
489
501
|
"dataSpaceConnectorService": {
|
|
490
502
|
"activityLogEntryNotFound": "Not found activity Log Entry: \"{notFoundId}\"",
|
|
491
503
|
"activityAlreadyNotified": "Activity has already been notified",
|
|
504
|
+
"activityStillProcessing": "Activity is still being processed",
|
|
505
|
+
"noFailedTasksToRetry": "Activity has error status but no failed tasks to retry",
|
|
492
506
|
"invalidActivityGeneratorIdentity": "Invalid activity. No identity specified either on 'generator' or 'actor'",
|
|
493
507
|
"invalidActivity": "Invalid Activity. Expected fields not specified",
|
|
494
508
|
"unknownActivityLogEntryId": "Unknown Activity Log Entry Id \"{activityLogEntryId}\"",
|
|
@@ -1302,12 +1316,13 @@
|
|
|
1302
1316
|
}
|
|
1303
1317
|
},
|
|
1304
1318
|
"labels": {
|
|
1319
|
+
"resolvingIdentity": "Resolving identity",
|
|
1305
1320
|
"stored": "The node identity has been stored"
|
|
1306
1321
|
}
|
|
1307
1322
|
},
|
|
1308
1323
|
"tenant-create": {
|
|
1309
1324
|
"description": "Create a tenant with associated api key",
|
|
1310
|
-
"example": "tenant-create --tenant-id=\"0011..aabb\" --api-key=\"aabb..0099\" --label=\"My Tenant\"",
|
|
1325
|
+
"example": "tenant-create --tenant-id=\"0011..aabb\" --api-key=\"aabb..0099\" --label=\"My Tenant\" --public-origin=\"https://example.com:1234\"",
|
|
1311
1326
|
"params": {
|
|
1312
1327
|
"tenant-id": {
|
|
1313
1328
|
"description": "The tenant ID to add. If not provided a random tenant id will be generated."
|
|
@@ -1318,6 +1333,9 @@
|
|
|
1318
1333
|
"label": {
|
|
1319
1334
|
"description": "A descriptive label for the tenant."
|
|
1320
1335
|
},
|
|
1336
|
+
"public-origin": {
|
|
1337
|
+
"description": "The public URL origin for the tenant e.g. https://example.com:1234"
|
|
1338
|
+
},
|
|
1321
1339
|
"load-env": {
|
|
1322
1340
|
"description": "Comma separated list of paths to .env files to read input parameters from."
|
|
1323
1341
|
},
|
|
@@ -1335,12 +1353,13 @@
|
|
|
1335
1353
|
"creating": "Creating tenant",
|
|
1336
1354
|
"tenantId": "Tenant ID",
|
|
1337
1355
|
"apiKey": "API Key",
|
|
1338
|
-
"label": "Label"
|
|
1356
|
+
"label": "Label",
|
|
1357
|
+
"publicOrigin": "Public Origin"
|
|
1339
1358
|
}
|
|
1340
1359
|
},
|
|
1341
1360
|
"tenant-import": {
|
|
1342
1361
|
"description": "Import a tenant with associated api key",
|
|
1343
|
-
"example": "tenant-import --tenant-id=\"0011..aabb\" --api-key=\"aabb..0099\" --label=\"My Tenant\"",
|
|
1362
|
+
"example": "tenant-import --tenant-id=\"0011..aabb\" --api-key=\"aabb..0099\" --label=\"My Tenant\" --public-origin=\"https://example.com:1234\"",
|
|
1344
1363
|
"params": {
|
|
1345
1364
|
"tenant-id": {
|
|
1346
1365
|
"description": "The tenant ID to import."
|
|
@@ -1351,6 +1370,9 @@
|
|
|
1351
1370
|
"label": {
|
|
1352
1371
|
"description": "A descriptive label for the tenant."
|
|
1353
1372
|
},
|
|
1373
|
+
"public-origin": {
|
|
1374
|
+
"description": "The public URL origin for the tenant e.g. https://example.com:1234"
|
|
1375
|
+
},
|
|
1354
1376
|
"load-env": {
|
|
1355
1377
|
"description": "Comma separated list of paths to .env files to read input parameters from."
|
|
1356
1378
|
}
|
|
@@ -1360,6 +1382,31 @@
|
|
|
1360
1382
|
"imported": "Imported tenant"
|
|
1361
1383
|
}
|
|
1362
1384
|
},
|
|
1385
|
+
"tenant-update": {
|
|
1386
|
+
"description": "Update a tenant with associated api key",
|
|
1387
|
+
"example": "tenant-update --tenant-id=\"0011..aabb\" --api-key=\"aabb..0099\" --label=\"My Tenant\" --public-origin=\"https://example.com:1234\"",
|
|
1388
|
+
"params": {
|
|
1389
|
+
"tenant-id": {
|
|
1390
|
+
"description": "The tenant ID to update."
|
|
1391
|
+
},
|
|
1392
|
+
"api-key": {
|
|
1393
|
+
"description": "The API key to associate with the tenant id."
|
|
1394
|
+
},
|
|
1395
|
+
"label": {
|
|
1396
|
+
"description": "A descriptive label for the tenant."
|
|
1397
|
+
},
|
|
1398
|
+
"public-origin": {
|
|
1399
|
+
"description": "The public URL origin for the tenant e.g. https://example.com:1234"
|
|
1400
|
+
},
|
|
1401
|
+
"load-env": {
|
|
1402
|
+
"description": "Comma separated list of paths to .env files to read input parameters from."
|
|
1403
|
+
}
|
|
1404
|
+
},
|
|
1405
|
+
"labels": {
|
|
1406
|
+
"updating": "Updating tenant",
|
|
1407
|
+
"updated": "Updated tenant"
|
|
1408
|
+
}
|
|
1409
|
+
},
|
|
1363
1410
|
"node-set-tenant": {
|
|
1364
1411
|
"description": "Set the node tenant",
|
|
1365
1412
|
"example": "node-set-tenant --tenant-id=\"0011..aabb\"",
|
|
@@ -1624,7 +1671,7 @@
|
|
|
1624
1671
|
"bucketExists": "Skipping create bucket \"{bucket}\" as it already exists"
|
|
1625
1672
|
},
|
|
1626
1673
|
"dataSpaceConnectorService": {
|
|
1627
|
-
"scheduledTask": "\"{taskId}\": Task scheduled for Data Space Connector App \"{dataSpaceConnectorAppId}\""
|
|
1674
|
+
"scheduledTask": "\"{taskId}\": Task scheduled for Data Space Connector App \"{dataSpaceConnectorAppId}\" (isRetry: {isRetry})"
|
|
1628
1675
|
},
|
|
1629
1676
|
"dataSpaceConnectorSocketClient": {
|
|
1630
1677
|
"subscribeActivityLogs": "Subscription created for topic activity logs with id \"{subscriptionId}\"",
|
|
@@ -1864,7 +1911,8 @@
|
|
|
1864
1911
|
"scheduledCleanUpTask": "Activity Log clean up task scheduled",
|
|
1865
1912
|
"engineCloneStart": "'start' method has been called from an engine clone. No task scheduler created",
|
|
1866
1913
|
"cleanUpOngoing": "There is an ongoing clean up of activity logs. Skipping",
|
|
1867
|
-
"activityLogCleanedUp": "Activity Log has been cleaned up. \"{numRecordsDeleted}\" records deleted"
|
|
1914
|
+
"activityLogCleanedUp": "Activity Log has been cleaned up. \"{numRecordsDeleted}\" records deleted",
|
|
1915
|
+
"replacingFailedTasks": "Retrying apps \"{appsToRetry}\" (successful: \"{successfulApps}\") for activity \"{activityLogEntryId}\""
|
|
1868
1916
|
},
|
|
1869
1917
|
"dataSpaceConnectorSocketRoutes": {
|
|
1870
1918
|
"activityLogStatusConnected": "Web Socket Connected: Socket Id: \"{socketId}\"",
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @twin.org/node - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.3-next.15](https://github.com/twinfoundation/node/compare/node-v0.0.3-next.14...node-v0.0.3-next.15) (2026-01-26)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* support public origin and hosting service ([#77](https://github.com/twinfoundation/node/issues/77)) ([3b9039f](https://github.com/twinfoundation/node/commit/3b9039fcba7f7038c06f8fd6a5ccc9fdbbf535b3))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/node-core bumped from 0.0.3-next.14 to 0.0.3-next.15
|
|
16
|
+
|
|
3
17
|
## [0.0.3-next.14](https://github.com/twinfoundation/node/compare/node-v0.0.3-next.13...node-v0.0.3-next.14) (2026-01-21)
|
|
4
18
|
|
|
5
19
|
|
package/docs/examples.md
CHANGED
|
@@ -79,13 +79,19 @@ twin-node vault-key-import --load-env="node-identity.env,my-key.json" --identity
|
|
|
79
79
|
Alternatively import existing details:
|
|
80
80
|
|
|
81
81
|
```shell
|
|
82
|
-
twin-node tenant-create --
|
|
82
|
+
twin-node tenant-create --label="node" --public-origin="https://api.example.com" --output-env-prefix=node --output-json="node-tenant.json" --output-env="node-tenant.env"
|
|
83
83
|
```
|
|
84
84
|
|
|
85
85
|
### Import a tenant to be used by the node
|
|
86
86
|
|
|
87
87
|
```shell
|
|
88
|
-
twin-node tenant-import --load-env="node-tenant.json" --tenant-id=!NODE_TENANT_ID --api-key=!NODE_API_KEY --label=!NODE_LABEL
|
|
88
|
+
twin-node tenant-import --load-env="node-tenant.json" --tenant-id=!NODE_TENANT_ID --api-key=!NODE_API_KEY --label=!NODE_LABEL --public-origin="https://api.example.com"
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
### Update a tenant to be used by the node
|
|
92
|
+
|
|
93
|
+
```shell
|
|
94
|
+
twin-node tenant-update --load-env="node-tenant.json" --tenant-id=!NODE_TENANT_ID --label="New Label"
|
|
89
95
|
```
|
|
90
96
|
|
|
91
97
|
### Associated the tenant with the node
|