@twin.org/node-core 0.0.3-next.34 → 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 +110 -10
- 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 -23
- package/dist/es/commands/bootstrapLegacy.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/models/IEngineEnvironmentVariables.d.ts +10 -27
- package/dist/types/models/IEngineServerEnvironmentVariables.d.ts +4 -0
- package/docs/changelog.md +10 -2
- 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 +9 -0
- package/docs/reference/interfaces/IEngineEnvironmentVariables.md +11 -52
- package/docs/reference/interfaces/IEngineServerEnvironmentVariables.md +20 -77
- package/docs/reference/interfaces/INodeEnvironmentVariables.md +24 -77
- package/package.json +3 -3
|
@@ -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
|
@@ -41,7 +41,16 @@
|
|
|
41
41
|
## Functions
|
|
42
42
|
|
|
43
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)
|
|
44
52
|
- [buildEngineServerConfiguration](functions/buildEngineServerConfiguration.md)
|
|
53
|
+
- [isAuthEntityStorageRequired](functions/isAuthEntityStorageRequired.md)
|
|
45
54
|
- [extensionsConfiguration](functions/extensionsConfiguration.md)
|
|
46
55
|
- [extensionsInitialiseEngine](functions/extensionsInitialiseEngine.md)
|
|
47
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,14 +1142,6 @@ Example: "dataspace/entities"
|
|
|
1175
1142
|
|
|
1176
1143
|
***
|
|
1177
1144
|
|
|
1178
|
-
### automationEnabled? {#automationenabled}
|
|
1179
|
-
|
|
1180
|
-
> `optional` **automationEnabled?**: `string`
|
|
1181
|
-
|
|
1182
|
-
Are the automation components enabled, defaults to false.
|
|
1183
|
-
|
|
1184
|
-
***
|
|
1185
|
-
|
|
1186
1145
|
### healthEnabled? {#healthenabled}
|
|
1187
1146
|
|
|
1188
1147
|
> `optional` **healthEnabled?**: `string`
|
|
@@ -1191,11 +1150,11 @@ Are the health components enabled, defaults to false.
|
|
|
1191
1150
|
|
|
1192
1151
|
***
|
|
1193
1152
|
|
|
1194
|
-
###
|
|
1153
|
+
### healthIntervalSeconds? {#healthintervalseconds}
|
|
1195
1154
|
|
|
1196
|
-
> `optional` **
|
|
1155
|
+
> `optional` **healthIntervalSeconds?**: `string`
|
|
1197
1156
|
|
|
1198
|
-
|
|
1157
|
+
The interval in seconds for performing health checks, defaults to 60.
|
|
1199
1158
|
|
|
1200
1159
|
***
|
|
1201
1160
|
|
|
@@ -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,18 +1686,6 @@ Example: "dataspace/entities"
|
|
|
1739
1686
|
|
|
1740
1687
|
***
|
|
1741
1688
|
|
|
1742
|
-
### automationEnabled? {#automationenabled}
|
|
1743
|
-
|
|
1744
|
-
> `optional` **automationEnabled?**: `string`
|
|
1745
|
-
|
|
1746
|
-
Are the automation components enabled, defaults to false.
|
|
1747
|
-
|
|
1748
|
-
#### Inherited from
|
|
1749
|
-
|
|
1750
|
-
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`automationEnabled`](IEngineEnvironmentVariables.md#automationenabled)
|
|
1751
|
-
|
|
1752
|
-
***
|
|
1753
|
-
|
|
1754
1689
|
### healthEnabled? {#healthenabled}
|
|
1755
1690
|
|
|
1756
1691
|
> `optional` **healthEnabled?**: `string`
|
|
@@ -1763,15 +1698,15 @@ Are the health components enabled, defaults to false.
|
|
|
1763
1698
|
|
|
1764
1699
|
***
|
|
1765
1700
|
|
|
1766
|
-
###
|
|
1701
|
+
### healthIntervalSeconds? {#healthintervalseconds}
|
|
1767
1702
|
|
|
1768
|
-
> `optional` **
|
|
1703
|
+
> `optional` **healthIntervalSeconds?**: `string`
|
|
1769
1704
|
|
|
1770
|
-
|
|
1705
|
+
The interval in seconds for performing health checks, defaults to 60.
|
|
1771
1706
|
|
|
1772
1707
|
#### Inherited from
|
|
1773
1708
|
|
|
1774
|
-
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`
|
|
1709
|
+
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`healthIntervalSeconds`](IEngineEnvironmentVariables.md#healthintervalseconds)
|
|
1775
1710
|
|
|
1776
1711
|
***
|
|
1777
1712
|
|
|
@@ -1892,6 +1827,14 @@ The id of the key in the vault to use for signing in auth operations.
|
|
|
1892
1827
|
|
|
1893
1828
|
***
|
|
1894
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
|
+
|
|
1895
1838
|
### mimeTypeProcessors? {#mimetypeprocessors}
|
|
1896
1839
|
|
|
1897
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,18 +1682,6 @@ Example: "dataspace/entities"
|
|
|
1735
1682
|
|
|
1736
1683
|
***
|
|
1737
1684
|
|
|
1738
|
-
### automationEnabled? {#automationenabled}
|
|
1739
|
-
|
|
1740
|
-
> `optional` **automationEnabled?**: `string`
|
|
1741
|
-
|
|
1742
|
-
Are the automation components enabled, defaults to false.
|
|
1743
|
-
|
|
1744
|
-
#### Inherited from
|
|
1745
|
-
|
|
1746
|
-
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`automationEnabled`](IEngineServerEnvironmentVariables.md#automationenabled)
|
|
1747
|
-
|
|
1748
|
-
***
|
|
1749
|
-
|
|
1750
1685
|
### healthEnabled? {#healthenabled}
|
|
1751
1686
|
|
|
1752
1687
|
> `optional` **healthEnabled?**: `string`
|
|
@@ -1759,15 +1694,15 @@ Are the health components enabled, defaults to false.
|
|
|
1759
1694
|
|
|
1760
1695
|
***
|
|
1761
1696
|
|
|
1762
|
-
###
|
|
1697
|
+
### healthIntervalSeconds? {#healthintervalseconds}
|
|
1763
1698
|
|
|
1764
|
-
> `optional` **
|
|
1699
|
+
> `optional` **healthIntervalSeconds?**: `string`
|
|
1765
1700
|
|
|
1766
|
-
|
|
1701
|
+
The interval in seconds for performing health checks, defaults to 60.
|
|
1767
1702
|
|
|
1768
1703
|
#### Inherited from
|
|
1769
1704
|
|
|
1770
|
-
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`
|
|
1705
|
+
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`healthIntervalSeconds`](IEngineServerEnvironmentVariables.md#healthintervalseconds)
|
|
1771
1706
|
|
|
1772
1707
|
***
|
|
1773
1708
|
|
|
@@ -1928,6 +1863,18 @@ The id of the key in the vault to use for signing in auth operations.
|
|
|
1928
1863
|
|
|
1929
1864
|
***
|
|
1930
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
|
+
|
|
1931
1878
|
### mimeTypeProcessors? {#mimetypeprocessors}
|
|
1932
1879
|
|
|
1933
1880
|
> `optional` **mimeTypeProcessors?**: `string`
|
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
|
}
|