@twin.org/node-core 0.0.3-next.33 → 0.0.3-next.35
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/es/builders/engineEnvBuilder.js +145 -9
- package/dist/es/builders/engineEnvBuilder.js.map +1 -1
- package/dist/es/builders/engineServerEnvBuilder.js +18 -2
- package/dist/es/builders/engineServerEnvBuilder.js.map +1 -1
- package/dist/es/commands/bootstrapLegacy.js +28 -16
- package/dist/es/commands/bootstrapLegacy.js.map +1 -1
- package/dist/es/defaults.js +3 -1
- package/dist/es/defaults.js.map +1 -1
- package/dist/es/models/IEngineEnvironmentVariables.js.map +1 -1
- package/dist/es/models/IEngineServerEnvironmentVariables.js.map +1 -1
- package/dist/es/node.js +1 -1
- package/dist/es/node.js.map +1 -1
- package/dist/types/builders/engineEnvBuilder.d.ts +56 -0
- package/dist/types/builders/engineServerEnvBuilder.d.ts +7 -0
- package/dist/types/defaults.d.ts +1 -0
- package/dist/types/models/IEngineEnvironmentVariables.d.ts +18 -23
- package/dist/types/models/IEngineServerEnvironmentVariables.d.ts +4 -0
- package/docs/changelog.md +252 -237
- package/docs/reference/functions/isAuthEntityStorageRequired.md +20 -0
- package/docs/reference/functions/isAutomationRequired.md +20 -0
- package/docs/reference/functions/isBackgroundTasksRequired.md +20 -0
- package/docs/reference/functions/isFederatedCatalogueRequired.md +20 -0
- package/docs/reference/functions/isImmutableProofRequired.md +20 -0
- package/docs/reference/functions/isRightsManagementRequired.md +20 -0
- package/docs/reference/functions/isTaskSchedulerRequired.md +20 -0
- package/docs/reference/functions/isTrustRequired.md +20 -0
- package/docs/reference/functions/isUrlTransformerRequired.md +20 -0
- package/docs/reference/index.md +10 -0
- package/docs/reference/interfaces/IEngineEnvironmentVariables.md +27 -44
- package/docs/reference/interfaces/IEngineServerEnvironmentVariables.md +44 -65
- package/docs/reference/interfaces/INodeEnvironmentVariables.md +48 -65
- package/docs/reference/variables/URL_TRANSFORMER_ENCRYPTION_KEY_ID.md +3 -0
- package/locales/en.json +2 -1
- package/package.json +3 -3
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Function: isAuthEntityStorageRequired()
|
|
2
|
+
|
|
3
|
+
> **isAuthEntityStorageRequired**(`envVars`): `boolean`
|
|
4
|
+
|
|
5
|
+
Checks if the authentication entity storage subsystem is required.
|
|
6
|
+
Returns true when any component that depends on the authentication entity storage subsystem is enabled.
|
|
7
|
+
|
|
8
|
+
## Parameters
|
|
9
|
+
|
|
10
|
+
### envVars
|
|
11
|
+
|
|
12
|
+
[`IEngineServerEnvironmentVariables`](../interfaces/IEngineServerEnvironmentVariables.md)
|
|
13
|
+
|
|
14
|
+
The environment variables.
|
|
15
|
+
|
|
16
|
+
## Returns
|
|
17
|
+
|
|
18
|
+
`boolean`
|
|
19
|
+
|
|
20
|
+
True if authentication entity storage is enabled.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Function: isAutomationRequired()
|
|
2
|
+
|
|
3
|
+
> **isAutomationRequired**(`envVars`): `boolean`
|
|
4
|
+
|
|
5
|
+
Checks if the automation subsystem is required.
|
|
6
|
+
Returns true when any component that depends on the automation subsystem is enabled.
|
|
7
|
+
|
|
8
|
+
## Parameters
|
|
9
|
+
|
|
10
|
+
### envVars
|
|
11
|
+
|
|
12
|
+
[`IEngineEnvironmentVariables`](../interfaces/IEngineEnvironmentVariables.md)
|
|
13
|
+
|
|
14
|
+
The environment variables.
|
|
15
|
+
|
|
16
|
+
## Returns
|
|
17
|
+
|
|
18
|
+
`boolean`
|
|
19
|
+
|
|
20
|
+
True if automation is enabled.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Function: isBackgroundTasksRequired()
|
|
2
|
+
|
|
3
|
+
> **isBackgroundTasksRequired**(`envVars`): `boolean`
|
|
4
|
+
|
|
5
|
+
Checks if the background tasks subsystem is required.
|
|
6
|
+
Returns true when any component that depends on the background tasks subsystem is enabled.
|
|
7
|
+
|
|
8
|
+
## Parameters
|
|
9
|
+
|
|
10
|
+
### envVars
|
|
11
|
+
|
|
12
|
+
[`IEngineEnvironmentVariables`](../interfaces/IEngineEnvironmentVariables.md)
|
|
13
|
+
|
|
14
|
+
The environment variables.
|
|
15
|
+
|
|
16
|
+
## Returns
|
|
17
|
+
|
|
18
|
+
`boolean`
|
|
19
|
+
|
|
20
|
+
True if dataspace or verifiable storage is enabled.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Function: isFederatedCatalogueRequired()
|
|
2
|
+
|
|
3
|
+
> **isFederatedCatalogueRequired**(`envVars`): `boolean`
|
|
4
|
+
|
|
5
|
+
Checks if the immutable proof subsystem is required.
|
|
6
|
+
Returns true when any component that depends on the immutable proof subsystem is enabled.
|
|
7
|
+
|
|
8
|
+
## Parameters
|
|
9
|
+
|
|
10
|
+
### envVars
|
|
11
|
+
|
|
12
|
+
[`IEngineEnvironmentVariables`](../interfaces/IEngineEnvironmentVariables.md)
|
|
13
|
+
|
|
14
|
+
The environment variables.
|
|
15
|
+
|
|
16
|
+
## Returns
|
|
17
|
+
|
|
18
|
+
`boolean`
|
|
19
|
+
|
|
20
|
+
True if verifiable storage is enabled.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Function: isImmutableProofRequired()
|
|
2
|
+
|
|
3
|
+
> **isImmutableProofRequired**(`envVars`): `boolean`
|
|
4
|
+
|
|
5
|
+
Checks if the immutable proof subsystem is required.
|
|
6
|
+
Returns true when any component that depends on the immutable proof subsystem is enabled.
|
|
7
|
+
|
|
8
|
+
## Parameters
|
|
9
|
+
|
|
10
|
+
### envVars
|
|
11
|
+
|
|
12
|
+
[`IEngineEnvironmentVariables`](../interfaces/IEngineEnvironmentVariables.md)
|
|
13
|
+
|
|
14
|
+
The environment variables.
|
|
15
|
+
|
|
16
|
+
## Returns
|
|
17
|
+
|
|
18
|
+
`boolean`
|
|
19
|
+
|
|
20
|
+
True if verifiable storage is enabled.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Function: isRightsManagementRequired()
|
|
2
|
+
|
|
3
|
+
> **isRightsManagementRequired**(`envVars`): `boolean`
|
|
4
|
+
|
|
5
|
+
Checks if the rights management subsystem is required.
|
|
6
|
+
Returns true when any component that depends on the rights management subsystem is enabled.
|
|
7
|
+
|
|
8
|
+
## Parameters
|
|
9
|
+
|
|
10
|
+
### envVars
|
|
11
|
+
|
|
12
|
+
[`IEngineEnvironmentVariables`](../interfaces/IEngineEnvironmentVariables.md)
|
|
13
|
+
|
|
14
|
+
The environment variables.
|
|
15
|
+
|
|
16
|
+
## Returns
|
|
17
|
+
|
|
18
|
+
`boolean`
|
|
19
|
+
|
|
20
|
+
True if rights management is enabled.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Function: isTaskSchedulerRequired()
|
|
2
|
+
|
|
3
|
+
> **isTaskSchedulerRequired**(`envVars`): `boolean`
|
|
4
|
+
|
|
5
|
+
Checks if the task scheduler subsystem is required.
|
|
6
|
+
Returns true when any component that depends on the task scheduler subsystem is enabled.
|
|
7
|
+
|
|
8
|
+
## Parameters
|
|
9
|
+
|
|
10
|
+
### envVars
|
|
11
|
+
|
|
12
|
+
[`IEngineEnvironmentVariables`](../interfaces/IEngineEnvironmentVariables.md)
|
|
13
|
+
|
|
14
|
+
The environment variables.
|
|
15
|
+
|
|
16
|
+
## Returns
|
|
17
|
+
|
|
18
|
+
`boolean`
|
|
19
|
+
|
|
20
|
+
True if task scheduler is enabled.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Function: isTrustRequired()
|
|
2
|
+
|
|
3
|
+
> **isTrustRequired**(`envVars`): `boolean`
|
|
4
|
+
|
|
5
|
+
Checks if the trust subsystem is required.
|
|
6
|
+
Returns true when any component that depends on the trust subsystem is enabled.
|
|
7
|
+
|
|
8
|
+
## Parameters
|
|
9
|
+
|
|
10
|
+
### envVars
|
|
11
|
+
|
|
12
|
+
[`IEngineEnvironmentVariables`](../interfaces/IEngineEnvironmentVariables.md)
|
|
13
|
+
|
|
14
|
+
The environment variables.
|
|
15
|
+
|
|
16
|
+
## Returns
|
|
17
|
+
|
|
18
|
+
`boolean`
|
|
19
|
+
|
|
20
|
+
True if rights-management, synchronised-storage, or dataspace is enabled.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Function: isUrlTransformerRequired()
|
|
2
|
+
|
|
3
|
+
> **isUrlTransformerRequired**(`envVars`): `boolean`
|
|
4
|
+
|
|
5
|
+
Checks if the URL transformer subsystem is required.
|
|
6
|
+
Returns true when any component that depends on the URL transformer subsystem is enabled.
|
|
7
|
+
|
|
8
|
+
## Parameters
|
|
9
|
+
|
|
10
|
+
### envVars
|
|
11
|
+
|
|
12
|
+
[`IEngineEnvironmentVariables`](../interfaces/IEngineEnvironmentVariables.md)
|
|
13
|
+
|
|
14
|
+
The environment variables.
|
|
15
|
+
|
|
16
|
+
## Returns
|
|
17
|
+
|
|
18
|
+
`boolean`
|
|
19
|
+
|
|
20
|
+
True if rights-management, dataspace, federated-catalogue, or tenant is enabled.
|
package/docs/reference/index.md
CHANGED
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
- [SYNCHRONISED\_STORAGE\_BLOB\_STORAGE\_ENCRYPTION\_KEY\_ID](variables/SYNCHRONISED_STORAGE_BLOB_STORAGE_ENCRYPTION_KEY_ID.md)
|
|
34
34
|
- [TRUST\_VERIFICATION\_METHOD\_ID](variables/TRUST_VERIFICATION_METHOD_ID.md)
|
|
35
35
|
- [AUTH\_SIGNING\_KEY\_ID](variables/AUTH_SIGNING_KEY_ID.md)
|
|
36
|
+
- [URL\_TRANSFORMER\_ENCRYPTION\_KEY\_ID](variables/URL_TRANSFORMER_ENCRYPTION_KEY_ID.md)
|
|
36
37
|
- [CONTEXT\_ID\_HANDLER\_FEATURE\_DID](variables/CONTEXT_ID_HANDLER_FEATURE_DID.md)
|
|
37
38
|
- [CONTEXT\_ID\_HANDLER\_FEATURE\_TENANT](variables/CONTEXT_ID_HANDLER_FEATURE_TENANT.md)
|
|
38
39
|
- [ModuleProtocol](variables/ModuleProtocol.md)
|
|
@@ -40,7 +41,16 @@
|
|
|
40
41
|
## Functions
|
|
41
42
|
|
|
42
43
|
- [buildEngineConfiguration](functions/buildEngineConfiguration.md)
|
|
44
|
+
- [isTrustRequired](functions/isTrustRequired.md)
|
|
45
|
+
- [isUrlTransformerRequired](functions/isUrlTransformerRequired.md)
|
|
46
|
+
- [isBackgroundTasksRequired](functions/isBackgroundTasksRequired.md)
|
|
47
|
+
- [isImmutableProofRequired](functions/isImmutableProofRequired.md)
|
|
48
|
+
- [isFederatedCatalogueRequired](functions/isFederatedCatalogueRequired.md)
|
|
49
|
+
- [isRightsManagementRequired](functions/isRightsManagementRequired.md)
|
|
50
|
+
- [isTaskSchedulerRequired](functions/isTaskSchedulerRequired.md)
|
|
51
|
+
- [isAutomationRequired](functions/isAutomationRequired.md)
|
|
43
52
|
- [buildEngineServerConfiguration](functions/buildEngineServerConfiguration.md)
|
|
53
|
+
- [isAuthEntityStorageRequired](functions/isAuthEntityStorageRequired.md)
|
|
44
54
|
- [extensionsConfiguration](functions/extensionsConfiguration.md)
|
|
45
55
|
- [extensionsInitialiseEngine](functions/extensionsInitialiseEngine.md)
|
|
46
56
|
- [extensionsInitialiseEngineServer](functions/extensionsInitialiseEngineServer.md)
|
|
@@ -982,14 +982,6 @@ The maximum number of consolidations to keep in storage, only used if this is a
|
|
|
982
982
|
|
|
983
983
|
***
|
|
984
984
|
|
|
985
|
-
### federatedCatalogueEnabled? {#federatedcatalogueenabled}
|
|
986
|
-
|
|
987
|
-
> `optional` **federatedCatalogueEnabled?**: `string`
|
|
988
|
-
|
|
989
|
-
Is the federated catalogue enabled, defaults to false.
|
|
990
|
-
|
|
991
|
-
***
|
|
992
|
-
|
|
993
985
|
### federatedCatalogueFilters? {#federatedcataloguefilters}
|
|
994
986
|
|
|
995
987
|
> `optional` **federatedCatalogueFilters?**: `string`
|
|
@@ -998,14 +990,6 @@ Federated catalog filters, command separated list of filters to add.
|
|
|
998
990
|
|
|
999
991
|
***
|
|
1000
992
|
|
|
1001
|
-
### trustEnabled? {#trustenabled}
|
|
1002
|
-
|
|
1003
|
-
> `optional` **trustEnabled?**: `string`
|
|
1004
|
-
|
|
1005
|
-
Is the trust management enabled, defaults to false.
|
|
1006
|
-
|
|
1007
|
-
***
|
|
1008
|
-
|
|
1009
993
|
### trustGenerators? {#trustgenerators}
|
|
1010
994
|
|
|
1011
995
|
> `optional` **trustGenerators?**: `string`
|
|
@@ -1040,19 +1024,18 @@ Defaults to undefined for never expiring.
|
|
|
1040
1024
|
|
|
1041
1025
|
***
|
|
1042
1026
|
|
|
1043
|
-
### rightsManagementEnabled? {#rightsmanagementenabled}
|
|
1044
|
-
|
|
1045
|
-
> `optional` **rightsManagementEnabled?**: `string`
|
|
1046
|
-
|
|
1047
|
-
Is the rights management enabled, defaults to false.
|
|
1048
|
-
|
|
1049
|
-
***
|
|
1050
|
-
|
|
1051
1027
|
### rightsManagementCallbackPath? {#rightsmanagementcallbackpath}
|
|
1052
1028
|
|
|
1053
1029
|
> `optional` **rightsManagementCallbackPath?**: `string`
|
|
1054
1030
|
|
|
1055
|
-
|
|
1031
|
+
Path under which the rights management service is mounted (single source
|
|
1032
|
+
of truth). The same value drives:
|
|
1033
|
+
- the server route mount (via engine config)
|
|
1034
|
+
- the PNP service's callback URL builder (`buildCallbackUrl`)
|
|
1035
|
+
- the PNP rest-client's pathPrefix (consumer side)
|
|
1036
|
+
Defaults to `rights-management`. Set when deploying behind a reverse proxy
|
|
1037
|
+
with path rewriting, K8s ingress with path-based routing, or any custom
|
|
1038
|
+
mount point.
|
|
1056
1039
|
|
|
1057
1040
|
***
|
|
1058
1041
|
|
|
@@ -1112,22 +1095,6 @@ The rights management policy obligation enforcers to add to the factory.
|
|
|
1112
1095
|
|
|
1113
1096
|
***
|
|
1114
1097
|
|
|
1115
|
-
### backgroundTasksEnabled? {#backgroundtasksenabled}
|
|
1116
|
-
|
|
1117
|
-
> `optional` **backgroundTasksEnabled?**: `string`
|
|
1118
|
-
|
|
1119
|
-
Are background tasks enabled, defaults to false.
|
|
1120
|
-
|
|
1121
|
-
***
|
|
1122
|
-
|
|
1123
|
-
### taskSchedulerEnabled? {#taskschedulerenabled}
|
|
1124
|
-
|
|
1125
|
-
> `optional` **taskSchedulerEnabled?**: `string`
|
|
1126
|
-
|
|
1127
|
-
Is the task scheduler enabled, defaults to false.
|
|
1128
|
-
|
|
1129
|
-
***
|
|
1130
|
-
|
|
1131
1098
|
### dataspaceEnabled? {#dataspaceenabled}
|
|
1132
1099
|
|
|
1133
1100
|
> `optional` **dataspaceEnabled?**: `string`
|
|
@@ -1175,11 +1142,27 @@ Example: "dataspace/entities"
|
|
|
1175
1142
|
|
|
1176
1143
|
***
|
|
1177
1144
|
|
|
1178
|
-
###
|
|
1145
|
+
### healthEnabled? {#healthenabled}
|
|
1146
|
+
|
|
1147
|
+
> `optional` **healthEnabled?**: `string`
|
|
1148
|
+
|
|
1149
|
+
Are the health components enabled, defaults to false.
|
|
1150
|
+
|
|
1151
|
+
***
|
|
1152
|
+
|
|
1153
|
+
### healthIntervalSeconds? {#healthintervalseconds}
|
|
1154
|
+
|
|
1155
|
+
> `optional` **healthIntervalSeconds?**: `string`
|
|
1156
|
+
|
|
1157
|
+
The interval in seconds for performing health checks, defaults to 60.
|
|
1158
|
+
|
|
1159
|
+
***
|
|
1160
|
+
|
|
1161
|
+
### urlTransformerEncryptionKeyId? {#urltransformerencryptionkeyid}
|
|
1179
1162
|
|
|
1180
|
-
> `optional` **
|
|
1163
|
+
> `optional` **urlTransformerEncryptionKeyId?**: `string`
|
|
1181
1164
|
|
|
1182
|
-
|
|
1165
|
+
The id of the key in the vault to use for encrypting parameters in url transformer.
|
|
1183
1166
|
|
|
1184
1167
|
***
|
|
1185
1168
|
|
|
@@ -1458,18 +1458,6 @@ The maximum number of consolidations to keep in storage, only used if this is a
|
|
|
1458
1458
|
|
|
1459
1459
|
***
|
|
1460
1460
|
|
|
1461
|
-
### federatedCatalogueEnabled? {#federatedcatalogueenabled}
|
|
1462
|
-
|
|
1463
|
-
> `optional` **federatedCatalogueEnabled?**: `string`
|
|
1464
|
-
|
|
1465
|
-
Is the federated catalogue enabled, defaults to false.
|
|
1466
|
-
|
|
1467
|
-
#### Inherited from
|
|
1468
|
-
|
|
1469
|
-
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`federatedCatalogueEnabled`](IEngineEnvironmentVariables.md#federatedcatalogueenabled)
|
|
1470
|
-
|
|
1471
|
-
***
|
|
1472
|
-
|
|
1473
1461
|
### federatedCatalogueFilters? {#federatedcataloguefilters}
|
|
1474
1462
|
|
|
1475
1463
|
> `optional` **federatedCatalogueFilters?**: `string`
|
|
@@ -1482,18 +1470,6 @@ Federated catalog filters, command separated list of filters to add.
|
|
|
1482
1470
|
|
|
1483
1471
|
***
|
|
1484
1472
|
|
|
1485
|
-
### trustEnabled? {#trustenabled}
|
|
1486
|
-
|
|
1487
|
-
> `optional` **trustEnabled?**: `string`
|
|
1488
|
-
|
|
1489
|
-
Is the trust management enabled, defaults to false.
|
|
1490
|
-
|
|
1491
|
-
#### Inherited from
|
|
1492
|
-
|
|
1493
|
-
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`trustEnabled`](IEngineEnvironmentVariables.md#trustenabled)
|
|
1494
|
-
|
|
1495
|
-
***
|
|
1496
|
-
|
|
1497
1473
|
### trustGenerators? {#trustgenerators}
|
|
1498
1474
|
|
|
1499
1475
|
> `optional` **trustGenerators?**: `string`
|
|
@@ -1544,23 +1520,18 @@ Defaults to undefined for never expiring.
|
|
|
1544
1520
|
|
|
1545
1521
|
***
|
|
1546
1522
|
|
|
1547
|
-
### rightsManagementEnabled? {#rightsmanagementenabled}
|
|
1548
|
-
|
|
1549
|
-
> `optional` **rightsManagementEnabled?**: `string`
|
|
1550
|
-
|
|
1551
|
-
Is the rights management enabled, defaults to false.
|
|
1552
|
-
|
|
1553
|
-
#### Inherited from
|
|
1554
|
-
|
|
1555
|
-
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`rightsManagementEnabled`](IEngineEnvironmentVariables.md#rightsmanagementenabled)
|
|
1556
|
-
|
|
1557
|
-
***
|
|
1558
|
-
|
|
1559
1523
|
### rightsManagementCallbackPath? {#rightsmanagementcallbackpath}
|
|
1560
1524
|
|
|
1561
1525
|
> `optional` **rightsManagementCallbackPath?**: `string`
|
|
1562
1526
|
|
|
1563
|
-
|
|
1527
|
+
Path under which the rights management service is mounted (single source
|
|
1528
|
+
of truth). The same value drives:
|
|
1529
|
+
- the server route mount (via engine config)
|
|
1530
|
+
- the PNP service's callback URL builder (`buildCallbackUrl`)
|
|
1531
|
+
- the PNP rest-client's pathPrefix (consumer side)
|
|
1532
|
+
Defaults to `rights-management`. Set when deploying behind a reverse proxy
|
|
1533
|
+
with path rewriting, K8s ingress with path-based routing, or any custom
|
|
1534
|
+
mount point.
|
|
1564
1535
|
|
|
1565
1536
|
#### Inherited from
|
|
1566
1537
|
|
|
@@ -1652,30 +1623,6 @@ The rights management policy obligation enforcers to add to the factory.
|
|
|
1652
1623
|
|
|
1653
1624
|
***
|
|
1654
1625
|
|
|
1655
|
-
### backgroundTasksEnabled? {#backgroundtasksenabled}
|
|
1656
|
-
|
|
1657
|
-
> `optional` **backgroundTasksEnabled?**: `string`
|
|
1658
|
-
|
|
1659
|
-
Are background tasks enabled, defaults to false.
|
|
1660
|
-
|
|
1661
|
-
#### Inherited from
|
|
1662
|
-
|
|
1663
|
-
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`backgroundTasksEnabled`](IEngineEnvironmentVariables.md#backgroundtasksenabled)
|
|
1664
|
-
|
|
1665
|
-
***
|
|
1666
|
-
|
|
1667
|
-
### taskSchedulerEnabled? {#taskschedulerenabled}
|
|
1668
|
-
|
|
1669
|
-
> `optional` **taskSchedulerEnabled?**: `string`
|
|
1670
|
-
|
|
1671
|
-
Is the task scheduler enabled, defaults to false.
|
|
1672
|
-
|
|
1673
|
-
#### Inherited from
|
|
1674
|
-
|
|
1675
|
-
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`taskSchedulerEnabled`](IEngineEnvironmentVariables.md#taskschedulerenabled)
|
|
1676
|
-
|
|
1677
|
-
***
|
|
1678
|
-
|
|
1679
1626
|
### dataspaceEnabled? {#dataspaceenabled}
|
|
1680
1627
|
|
|
1681
1628
|
> `optional` **dataspaceEnabled?**: `string`
|
|
@@ -1739,15 +1686,39 @@ Example: "dataspace/entities"
|
|
|
1739
1686
|
|
|
1740
1687
|
***
|
|
1741
1688
|
|
|
1742
|
-
###
|
|
1689
|
+
### healthEnabled? {#healthenabled}
|
|
1690
|
+
|
|
1691
|
+
> `optional` **healthEnabled?**: `string`
|
|
1692
|
+
|
|
1693
|
+
Are the health components enabled, defaults to false.
|
|
1694
|
+
|
|
1695
|
+
#### Inherited from
|
|
1696
|
+
|
|
1697
|
+
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`healthEnabled`](IEngineEnvironmentVariables.md#healthenabled)
|
|
1698
|
+
|
|
1699
|
+
***
|
|
1700
|
+
|
|
1701
|
+
### healthIntervalSeconds? {#healthintervalseconds}
|
|
1743
1702
|
|
|
1744
|
-
> `optional` **
|
|
1703
|
+
> `optional` **healthIntervalSeconds?**: `string`
|
|
1745
1704
|
|
|
1746
|
-
|
|
1705
|
+
The interval in seconds for performing health checks, defaults to 60.
|
|
1747
1706
|
|
|
1748
1707
|
#### Inherited from
|
|
1749
1708
|
|
|
1750
|
-
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`
|
|
1709
|
+
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`healthIntervalSeconds`](IEngineEnvironmentVariables.md#healthintervalseconds)
|
|
1710
|
+
|
|
1711
|
+
***
|
|
1712
|
+
|
|
1713
|
+
### urlTransformerEncryptionKeyId? {#urltransformerencryptionkeyid}
|
|
1714
|
+
|
|
1715
|
+
> `optional` **urlTransformerEncryptionKeyId?**: `string`
|
|
1716
|
+
|
|
1717
|
+
The id of the key in the vault to use for encrypting parameters in url transformer.
|
|
1718
|
+
|
|
1719
|
+
#### Inherited from
|
|
1720
|
+
|
|
1721
|
+
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`urlTransformerEncryptionKeyId`](IEngineEnvironmentVariables.md#urltransformerencryptionkeyid)
|
|
1751
1722
|
|
|
1752
1723
|
***
|
|
1753
1724
|
|
|
@@ -1856,6 +1827,14 @@ The id of the key in the vault to use for signing in auth operations.
|
|
|
1856
1827
|
|
|
1857
1828
|
***
|
|
1858
1829
|
|
|
1830
|
+
### hostingParamEncryptionKeyId? {#hostingparamencryptionkeyid}
|
|
1831
|
+
|
|
1832
|
+
> `optional` **hostingParamEncryptionKeyId?**: `string`
|
|
1833
|
+
|
|
1834
|
+
The id of the key in the vault to use for encrypting hosting parameters in auth operations.
|
|
1835
|
+
|
|
1836
|
+
***
|
|
1837
|
+
|
|
1859
1838
|
### mimeTypeProcessors? {#mimetypeprocessors}
|
|
1860
1839
|
|
|
1861
1840
|
> `optional` **mimeTypeProcessors?**: `string`
|
|
@@ -1454,18 +1454,6 @@ The maximum number of consolidations to keep in storage, only used if this is a
|
|
|
1454
1454
|
|
|
1455
1455
|
***
|
|
1456
1456
|
|
|
1457
|
-
### federatedCatalogueEnabled? {#federatedcatalogueenabled}
|
|
1458
|
-
|
|
1459
|
-
> `optional` **federatedCatalogueEnabled?**: `string`
|
|
1460
|
-
|
|
1461
|
-
Is the federated catalogue enabled, defaults to false.
|
|
1462
|
-
|
|
1463
|
-
#### Inherited from
|
|
1464
|
-
|
|
1465
|
-
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`federatedCatalogueEnabled`](IEngineServerEnvironmentVariables.md#federatedcatalogueenabled)
|
|
1466
|
-
|
|
1467
|
-
***
|
|
1468
|
-
|
|
1469
1457
|
### federatedCatalogueFilters? {#federatedcataloguefilters}
|
|
1470
1458
|
|
|
1471
1459
|
> `optional` **federatedCatalogueFilters?**: `string`
|
|
@@ -1478,18 +1466,6 @@ Federated catalog filters, command separated list of filters to add.
|
|
|
1478
1466
|
|
|
1479
1467
|
***
|
|
1480
1468
|
|
|
1481
|
-
### trustEnabled? {#trustenabled}
|
|
1482
|
-
|
|
1483
|
-
> `optional` **trustEnabled?**: `string`
|
|
1484
|
-
|
|
1485
|
-
Is the trust management enabled, defaults to false.
|
|
1486
|
-
|
|
1487
|
-
#### Inherited from
|
|
1488
|
-
|
|
1489
|
-
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`trustEnabled`](IEngineServerEnvironmentVariables.md#trustenabled)
|
|
1490
|
-
|
|
1491
|
-
***
|
|
1492
|
-
|
|
1493
1469
|
### trustGenerators? {#trustgenerators}
|
|
1494
1470
|
|
|
1495
1471
|
> `optional` **trustGenerators?**: `string`
|
|
@@ -1540,23 +1516,18 @@ Defaults to undefined for never expiring.
|
|
|
1540
1516
|
|
|
1541
1517
|
***
|
|
1542
1518
|
|
|
1543
|
-
### rightsManagementEnabled? {#rightsmanagementenabled}
|
|
1544
|
-
|
|
1545
|
-
> `optional` **rightsManagementEnabled?**: `string`
|
|
1546
|
-
|
|
1547
|
-
Is the rights management enabled, defaults to false.
|
|
1548
|
-
|
|
1549
|
-
#### Inherited from
|
|
1550
|
-
|
|
1551
|
-
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`rightsManagementEnabled`](IEngineServerEnvironmentVariables.md#rightsmanagementenabled)
|
|
1552
|
-
|
|
1553
|
-
***
|
|
1554
|
-
|
|
1555
1519
|
### rightsManagementCallbackPath? {#rightsmanagementcallbackpath}
|
|
1556
1520
|
|
|
1557
1521
|
> `optional` **rightsManagementCallbackPath?**: `string`
|
|
1558
1522
|
|
|
1559
|
-
|
|
1523
|
+
Path under which the rights management service is mounted (single source
|
|
1524
|
+
of truth). The same value drives:
|
|
1525
|
+
- the server route mount (via engine config)
|
|
1526
|
+
- the PNP service's callback URL builder (`buildCallbackUrl`)
|
|
1527
|
+
- the PNP rest-client's pathPrefix (consumer side)
|
|
1528
|
+
Defaults to `rights-management`. Set when deploying behind a reverse proxy
|
|
1529
|
+
with path rewriting, K8s ingress with path-based routing, or any custom
|
|
1530
|
+
mount point.
|
|
1560
1531
|
|
|
1561
1532
|
#### Inherited from
|
|
1562
1533
|
|
|
@@ -1648,30 +1619,6 @@ The rights management policy obligation enforcers to add to the factory.
|
|
|
1648
1619
|
|
|
1649
1620
|
***
|
|
1650
1621
|
|
|
1651
|
-
### backgroundTasksEnabled? {#backgroundtasksenabled}
|
|
1652
|
-
|
|
1653
|
-
> `optional` **backgroundTasksEnabled?**: `string`
|
|
1654
|
-
|
|
1655
|
-
Are background tasks enabled, defaults to false.
|
|
1656
|
-
|
|
1657
|
-
#### Inherited from
|
|
1658
|
-
|
|
1659
|
-
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`backgroundTasksEnabled`](IEngineServerEnvironmentVariables.md#backgroundtasksenabled)
|
|
1660
|
-
|
|
1661
|
-
***
|
|
1662
|
-
|
|
1663
|
-
### taskSchedulerEnabled? {#taskschedulerenabled}
|
|
1664
|
-
|
|
1665
|
-
> `optional` **taskSchedulerEnabled?**: `string`
|
|
1666
|
-
|
|
1667
|
-
Is the task scheduler enabled, defaults to false.
|
|
1668
|
-
|
|
1669
|
-
#### Inherited from
|
|
1670
|
-
|
|
1671
|
-
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`taskSchedulerEnabled`](IEngineServerEnvironmentVariables.md#taskschedulerenabled)
|
|
1672
|
-
|
|
1673
|
-
***
|
|
1674
|
-
|
|
1675
1622
|
### dataspaceEnabled? {#dataspaceenabled}
|
|
1676
1623
|
|
|
1677
1624
|
> `optional` **dataspaceEnabled?**: `string`
|
|
@@ -1735,15 +1682,39 @@ Example: "dataspace/entities"
|
|
|
1735
1682
|
|
|
1736
1683
|
***
|
|
1737
1684
|
|
|
1738
|
-
###
|
|
1685
|
+
### healthEnabled? {#healthenabled}
|
|
1686
|
+
|
|
1687
|
+
> `optional` **healthEnabled?**: `string`
|
|
1688
|
+
|
|
1689
|
+
Are the health components enabled, defaults to false.
|
|
1690
|
+
|
|
1691
|
+
#### Inherited from
|
|
1692
|
+
|
|
1693
|
+
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`healthEnabled`](IEngineServerEnvironmentVariables.md#healthenabled)
|
|
1694
|
+
|
|
1695
|
+
***
|
|
1696
|
+
|
|
1697
|
+
### healthIntervalSeconds? {#healthintervalseconds}
|
|
1739
1698
|
|
|
1740
|
-
> `optional` **
|
|
1699
|
+
> `optional` **healthIntervalSeconds?**: `string`
|
|
1741
1700
|
|
|
1742
|
-
|
|
1701
|
+
The interval in seconds for performing health checks, defaults to 60.
|
|
1743
1702
|
|
|
1744
1703
|
#### Inherited from
|
|
1745
1704
|
|
|
1746
|
-
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`
|
|
1705
|
+
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`healthIntervalSeconds`](IEngineServerEnvironmentVariables.md#healthintervalseconds)
|
|
1706
|
+
|
|
1707
|
+
***
|
|
1708
|
+
|
|
1709
|
+
### urlTransformerEncryptionKeyId? {#urltransformerencryptionkeyid}
|
|
1710
|
+
|
|
1711
|
+
> `optional` **urlTransformerEncryptionKeyId?**: `string`
|
|
1712
|
+
|
|
1713
|
+
The id of the key in the vault to use for encrypting parameters in url transformer.
|
|
1714
|
+
|
|
1715
|
+
#### Inherited from
|
|
1716
|
+
|
|
1717
|
+
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`urlTransformerEncryptionKeyId`](IEngineServerEnvironmentVariables.md#urltransformerencryptionkeyid)
|
|
1747
1718
|
|
|
1748
1719
|
***
|
|
1749
1720
|
|
|
@@ -1892,6 +1863,18 @@ The id of the key in the vault to use for signing in auth operations.
|
|
|
1892
1863
|
|
|
1893
1864
|
***
|
|
1894
1865
|
|
|
1866
|
+
### hostingParamEncryptionKeyId? {#hostingparamencryptionkeyid}
|
|
1867
|
+
|
|
1868
|
+
> `optional` **hostingParamEncryptionKeyId?**: `string`
|
|
1869
|
+
|
|
1870
|
+
The id of the key in the vault to use for encrypting hosting parameters in auth operations.
|
|
1871
|
+
|
|
1872
|
+
#### Inherited from
|
|
1873
|
+
|
|
1874
|
+
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`hostingParamEncryptionKeyId`](IEngineServerEnvironmentVariables.md#hostingparamencryptionkeyid)
|
|
1875
|
+
|
|
1876
|
+
***
|
|
1877
|
+
|
|
1895
1878
|
### mimeTypeProcessors? {#mimetypeprocessors}
|
|
1896
1879
|
|
|
1897
1880
|
> `optional` **mimeTypeProcessors?**: `string`
|
package/locales/en.json
CHANGED
|
@@ -104,7 +104,8 @@
|
|
|
104
104
|
"attestationMethodCreate": "Creating attestation method for organisation identity",
|
|
105
105
|
"immutableProofMethodCreate": "Creating immutable proof method for organisation identity",
|
|
106
106
|
"adminIdentityCreate": "Creating admin user identity",
|
|
107
|
-
"adminUserCreate": "Creating admin user"
|
|
107
|
+
"adminUserCreate": "Creating admin user",
|
|
108
|
+
"urlTransformParamKeyAdd": "Adding URL transform parameter encryption key"
|
|
108
109
|
}
|
|
109
110
|
},
|
|
110
111
|
"identity-create": {
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/node-core",
|
|
3
|
-
"version": "0.0.3-next.
|
|
3
|
+
"version": "0.0.3-next.35",
|
|
4
4
|
"description": "TWIN Node Core for serving APIs using the specified configuration",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
|
-
"url": "git+https://github.com/
|
|
7
|
+
"url": "git+https://github.com/iotaledger/node.git",
|
|
8
8
|
"directory": "packages/node-core"
|
|
9
9
|
},
|
|
10
10
|
"author": "martyn.janes@iota.org",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"utilities"
|
|
69
69
|
],
|
|
70
70
|
"bugs": {
|
|
71
|
-
"url": "git+https://github.com/
|
|
71
|
+
"url": "git+https://github.com/iotaledger/node/issues"
|
|
72
72
|
},
|
|
73
73
|
"homepage": "https://twindev.org"
|
|
74
74
|
}
|