@twin.org/node-core 0.0.3-next.34 → 0.0.3-next.36
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 +132 -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/commands/identityCreate.js +11 -1
- package/dist/es/commands/identityCreate.js.map +1 -1
- package/dist/es/commands/identityVerificationMethodImport.js +1 -1
- package/dist/es/commands/identityVerificationMethodImport.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 +6 -2
- 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 +26 -27
- package/dist/types/models/IEngineServerEnvironmentVariables.d.ts +4 -0
- package/docs/changelog.md +18 -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 +43 -52
- package/docs/reference/interfaces/IEngineServerEnvironmentVariables.md +68 -77
- package/docs/reference/interfaces/INodeEnvironmentVariables.md +72 -77
- package/package.json +5 -4
|
@@ -674,6 +674,38 @@ The type of telemetry connector: entity-storage.
|
|
|
674
674
|
|
|
675
675
|
***
|
|
676
676
|
|
|
677
|
+
### openTelemetryMeterName? {#opentelemetrymetername}
|
|
678
|
+
|
|
679
|
+
> `optional` **openTelemetryMeterName?**: `string`
|
|
680
|
+
|
|
681
|
+
The name of the Open Telemetry meter to use, only required if using open-telemetry as telemetry connector, defaults to twin-node.
|
|
682
|
+
|
|
683
|
+
***
|
|
684
|
+
|
|
685
|
+
### openTelemetryMeterVersion? {#opentelemetrymeterversion}
|
|
686
|
+
|
|
687
|
+
> `optional` **openTelemetryMeterVersion?**: `string`
|
|
688
|
+
|
|
689
|
+
The version of the Open Telemetry metrics specification to use, only required if using open-telemetry as telemetry connector, defaults to 1.0.0.
|
|
690
|
+
|
|
691
|
+
***
|
|
692
|
+
|
|
693
|
+
### openTelemetryReader? {#opentelemetryreader}
|
|
694
|
+
|
|
695
|
+
> `optional` **openTelemetryReader?**: `string`
|
|
696
|
+
|
|
697
|
+
The type of Open Telemetry metric reader to use, only required if using open-telemetry as telemetry connector, values: prometheus.
|
|
698
|
+
|
|
699
|
+
***
|
|
700
|
+
|
|
701
|
+
### openTelemetryPrometheusPort? {#opentelemetryprometheusport}
|
|
702
|
+
|
|
703
|
+
> `optional` **openTelemetryPrometheusPort?**: `string`
|
|
704
|
+
|
|
705
|
+
The port to use for the Open Telemetry Prometheus metrics server, only required if using open-telemetry as telemetry connector and prometheus as reader, defaults to 9464.
|
|
706
|
+
|
|
707
|
+
***
|
|
708
|
+
|
|
677
709
|
### faucetConnector? {#faucetconnector}
|
|
678
710
|
|
|
679
711
|
> `optional` **faucetConnector?**: `string`
|
|
@@ -982,14 +1014,6 @@ The maximum number of consolidations to keep in storage, only used if this is a
|
|
|
982
1014
|
|
|
983
1015
|
***
|
|
984
1016
|
|
|
985
|
-
### federatedCatalogueEnabled? {#federatedcatalogueenabled}
|
|
986
|
-
|
|
987
|
-
> `optional` **federatedCatalogueEnabled?**: `string`
|
|
988
|
-
|
|
989
|
-
Is the federated catalogue enabled, defaults to false.
|
|
990
|
-
|
|
991
|
-
***
|
|
992
|
-
|
|
993
1017
|
### federatedCatalogueFilters? {#federatedcataloguefilters}
|
|
994
1018
|
|
|
995
1019
|
> `optional` **federatedCatalogueFilters?**: `string`
|
|
@@ -998,14 +1022,6 @@ Federated catalog filters, command separated list of filters to add.
|
|
|
998
1022
|
|
|
999
1023
|
***
|
|
1000
1024
|
|
|
1001
|
-
### trustEnabled? {#trustenabled}
|
|
1002
|
-
|
|
1003
|
-
> `optional` **trustEnabled?**: `string`
|
|
1004
|
-
|
|
1005
|
-
Is the trust management enabled, defaults to false.
|
|
1006
|
-
|
|
1007
|
-
***
|
|
1008
|
-
|
|
1009
1025
|
### trustGenerators? {#trustgenerators}
|
|
1010
1026
|
|
|
1011
1027
|
> `optional` **trustGenerators?**: `string`
|
|
@@ -1040,19 +1056,18 @@ Defaults to undefined for never expiring.
|
|
|
1040
1056
|
|
|
1041
1057
|
***
|
|
1042
1058
|
|
|
1043
|
-
### rightsManagementEnabled? {#rightsmanagementenabled}
|
|
1044
|
-
|
|
1045
|
-
> `optional` **rightsManagementEnabled?**: `string`
|
|
1046
|
-
|
|
1047
|
-
Is the rights management enabled, defaults to false.
|
|
1048
|
-
|
|
1049
|
-
***
|
|
1050
|
-
|
|
1051
1059
|
### rightsManagementCallbackPath? {#rightsmanagementcallbackpath}
|
|
1052
1060
|
|
|
1053
1061
|
> `optional` **rightsManagementCallbackPath?**: `string`
|
|
1054
1062
|
|
|
1055
|
-
|
|
1063
|
+
Path under which the rights management service is mounted (single source
|
|
1064
|
+
of truth). The same value drives:
|
|
1065
|
+
- the server route mount (via engine config)
|
|
1066
|
+
- the PNP service's callback URL builder (`buildCallbackUrl`)
|
|
1067
|
+
- the PNP rest-client's pathPrefix (consumer side)
|
|
1068
|
+
Defaults to `rights-management`. Set when deploying behind a reverse proxy
|
|
1069
|
+
with path rewriting, K8s ingress with path-based routing, or any custom
|
|
1070
|
+
mount point.
|
|
1056
1071
|
|
|
1057
1072
|
***
|
|
1058
1073
|
|
|
@@ -1112,22 +1127,6 @@ The rights management policy obligation enforcers to add to the factory.
|
|
|
1112
1127
|
|
|
1113
1128
|
***
|
|
1114
1129
|
|
|
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
1130
|
### dataspaceEnabled? {#dataspaceenabled}
|
|
1132
1131
|
|
|
1133
1132
|
> `optional` **dataspaceEnabled?**: `string`
|
|
@@ -1175,14 +1174,6 @@ Example: "dataspace/entities"
|
|
|
1175
1174
|
|
|
1176
1175
|
***
|
|
1177
1176
|
|
|
1178
|
-
### automationEnabled? {#automationenabled}
|
|
1179
|
-
|
|
1180
|
-
> `optional` **automationEnabled?**: `string`
|
|
1181
|
-
|
|
1182
|
-
Are the automation components enabled, defaults to false.
|
|
1183
|
-
|
|
1184
|
-
***
|
|
1185
|
-
|
|
1186
1177
|
### healthEnabled? {#healthenabled}
|
|
1187
1178
|
|
|
1188
1179
|
> `optional` **healthEnabled?**: `string`
|
|
@@ -1191,11 +1182,11 @@ Are the health components enabled, defaults to false.
|
|
|
1191
1182
|
|
|
1192
1183
|
***
|
|
1193
1184
|
|
|
1194
|
-
###
|
|
1185
|
+
### healthIntervalSeconds? {#healthintervalseconds}
|
|
1195
1186
|
|
|
1196
|
-
> `optional` **
|
|
1187
|
+
> `optional` **healthIntervalSeconds?**: `string`
|
|
1197
1188
|
|
|
1198
|
-
|
|
1189
|
+
The interval in seconds for performing health checks, defaults to 60.
|
|
1199
1190
|
|
|
1200
1191
|
***
|
|
1201
1192
|
|
|
@@ -1010,6 +1010,54 @@ The type of telemetry connector: entity-storage.
|
|
|
1010
1010
|
|
|
1011
1011
|
***
|
|
1012
1012
|
|
|
1013
|
+
### openTelemetryMeterName? {#opentelemetrymetername}
|
|
1014
|
+
|
|
1015
|
+
> `optional` **openTelemetryMeterName?**: `string`
|
|
1016
|
+
|
|
1017
|
+
The name of the Open Telemetry meter to use, only required if using open-telemetry as telemetry connector, defaults to twin-node.
|
|
1018
|
+
|
|
1019
|
+
#### Inherited from
|
|
1020
|
+
|
|
1021
|
+
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`openTelemetryMeterName`](IEngineEnvironmentVariables.md#opentelemetrymetername)
|
|
1022
|
+
|
|
1023
|
+
***
|
|
1024
|
+
|
|
1025
|
+
### openTelemetryMeterVersion? {#opentelemetrymeterversion}
|
|
1026
|
+
|
|
1027
|
+
> `optional` **openTelemetryMeterVersion?**: `string`
|
|
1028
|
+
|
|
1029
|
+
The version of the Open Telemetry metrics specification to use, only required if using open-telemetry as telemetry connector, defaults to 1.0.0.
|
|
1030
|
+
|
|
1031
|
+
#### Inherited from
|
|
1032
|
+
|
|
1033
|
+
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`openTelemetryMeterVersion`](IEngineEnvironmentVariables.md#opentelemetrymeterversion)
|
|
1034
|
+
|
|
1035
|
+
***
|
|
1036
|
+
|
|
1037
|
+
### openTelemetryReader? {#opentelemetryreader}
|
|
1038
|
+
|
|
1039
|
+
> `optional` **openTelemetryReader?**: `string`
|
|
1040
|
+
|
|
1041
|
+
The type of Open Telemetry metric reader to use, only required if using open-telemetry as telemetry connector, values: prometheus.
|
|
1042
|
+
|
|
1043
|
+
#### Inherited from
|
|
1044
|
+
|
|
1045
|
+
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`openTelemetryReader`](IEngineEnvironmentVariables.md#opentelemetryreader)
|
|
1046
|
+
|
|
1047
|
+
***
|
|
1048
|
+
|
|
1049
|
+
### openTelemetryPrometheusPort? {#opentelemetryprometheusport}
|
|
1050
|
+
|
|
1051
|
+
> `optional` **openTelemetryPrometheusPort?**: `string`
|
|
1052
|
+
|
|
1053
|
+
The port to use for the Open Telemetry Prometheus metrics server, only required if using open-telemetry as telemetry connector and prometheus as reader, defaults to 9464.
|
|
1054
|
+
|
|
1055
|
+
#### Inherited from
|
|
1056
|
+
|
|
1057
|
+
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`openTelemetryPrometheusPort`](IEngineEnvironmentVariables.md#opentelemetryprometheusport)
|
|
1058
|
+
|
|
1059
|
+
***
|
|
1060
|
+
|
|
1013
1061
|
### faucetConnector? {#faucetconnector}
|
|
1014
1062
|
|
|
1015
1063
|
> `optional` **faucetConnector?**: `string`
|
|
@@ -1458,18 +1506,6 @@ The maximum number of consolidations to keep in storage, only used if this is a
|
|
|
1458
1506
|
|
|
1459
1507
|
***
|
|
1460
1508
|
|
|
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
1509
|
### federatedCatalogueFilters? {#federatedcataloguefilters}
|
|
1474
1510
|
|
|
1475
1511
|
> `optional` **federatedCatalogueFilters?**: `string`
|
|
@@ -1482,18 +1518,6 @@ Federated catalog filters, command separated list of filters to add.
|
|
|
1482
1518
|
|
|
1483
1519
|
***
|
|
1484
1520
|
|
|
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
1521
|
### trustGenerators? {#trustgenerators}
|
|
1498
1522
|
|
|
1499
1523
|
> `optional` **trustGenerators?**: `string`
|
|
@@ -1544,23 +1568,18 @@ Defaults to undefined for never expiring.
|
|
|
1544
1568
|
|
|
1545
1569
|
***
|
|
1546
1570
|
|
|
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
1571
|
### rightsManagementCallbackPath? {#rightsmanagementcallbackpath}
|
|
1560
1572
|
|
|
1561
1573
|
> `optional` **rightsManagementCallbackPath?**: `string`
|
|
1562
1574
|
|
|
1563
|
-
|
|
1575
|
+
Path under which the rights management service is mounted (single source
|
|
1576
|
+
of truth). The same value drives:
|
|
1577
|
+
- the server route mount (via engine config)
|
|
1578
|
+
- the PNP service's callback URL builder (`buildCallbackUrl`)
|
|
1579
|
+
- the PNP rest-client's pathPrefix (consumer side)
|
|
1580
|
+
Defaults to `rights-management`. Set when deploying behind a reverse proxy
|
|
1581
|
+
with path rewriting, K8s ingress with path-based routing, or any custom
|
|
1582
|
+
mount point.
|
|
1564
1583
|
|
|
1565
1584
|
#### Inherited from
|
|
1566
1585
|
|
|
@@ -1652,30 +1671,6 @@ The rights management policy obligation enforcers to add to the factory.
|
|
|
1652
1671
|
|
|
1653
1672
|
***
|
|
1654
1673
|
|
|
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
1674
|
### dataspaceEnabled? {#dataspaceenabled}
|
|
1680
1675
|
|
|
1681
1676
|
> `optional` **dataspaceEnabled?**: `string`
|
|
@@ -1739,18 +1734,6 @@ Example: "dataspace/entities"
|
|
|
1739
1734
|
|
|
1740
1735
|
***
|
|
1741
1736
|
|
|
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
1737
|
### healthEnabled? {#healthenabled}
|
|
1755
1738
|
|
|
1756
1739
|
> `optional` **healthEnabled?**: `string`
|
|
@@ -1763,15 +1746,15 @@ Are the health components enabled, defaults to false.
|
|
|
1763
1746
|
|
|
1764
1747
|
***
|
|
1765
1748
|
|
|
1766
|
-
###
|
|
1749
|
+
### healthIntervalSeconds? {#healthintervalseconds}
|
|
1767
1750
|
|
|
1768
|
-
> `optional` **
|
|
1751
|
+
> `optional` **healthIntervalSeconds?**: `string`
|
|
1769
1752
|
|
|
1770
|
-
|
|
1753
|
+
The interval in seconds for performing health checks, defaults to 60.
|
|
1771
1754
|
|
|
1772
1755
|
#### Inherited from
|
|
1773
1756
|
|
|
1774
|
-
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`
|
|
1757
|
+
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`healthIntervalSeconds`](IEngineEnvironmentVariables.md#healthintervalseconds)
|
|
1775
1758
|
|
|
1776
1759
|
***
|
|
1777
1760
|
|
|
@@ -1892,6 +1875,14 @@ The id of the key in the vault to use for signing in auth operations.
|
|
|
1892
1875
|
|
|
1893
1876
|
***
|
|
1894
1877
|
|
|
1878
|
+
### hostingParamEncryptionKeyId? {#hostingparamencryptionkeyid}
|
|
1879
|
+
|
|
1880
|
+
> `optional` **hostingParamEncryptionKeyId?**: `string`
|
|
1881
|
+
|
|
1882
|
+
The id of the key in the vault to use for encrypting hosting parameters in auth operations.
|
|
1883
|
+
|
|
1884
|
+
***
|
|
1885
|
+
|
|
1895
1886
|
### mimeTypeProcessors? {#mimetypeprocessors}
|
|
1896
1887
|
|
|
1897
1888
|
> `optional` **mimeTypeProcessors?**: `string`
|
|
@@ -1006,6 +1006,54 @@ The type of telemetry connector: entity-storage.
|
|
|
1006
1006
|
|
|
1007
1007
|
***
|
|
1008
1008
|
|
|
1009
|
+
### openTelemetryMeterName? {#opentelemetrymetername}
|
|
1010
|
+
|
|
1011
|
+
> `optional` **openTelemetryMeterName?**: `string`
|
|
1012
|
+
|
|
1013
|
+
The name of the Open Telemetry meter to use, only required if using open-telemetry as telemetry connector, defaults to twin-node.
|
|
1014
|
+
|
|
1015
|
+
#### Inherited from
|
|
1016
|
+
|
|
1017
|
+
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`openTelemetryMeterName`](IEngineServerEnvironmentVariables.md#opentelemetrymetername)
|
|
1018
|
+
|
|
1019
|
+
***
|
|
1020
|
+
|
|
1021
|
+
### openTelemetryMeterVersion? {#opentelemetrymeterversion}
|
|
1022
|
+
|
|
1023
|
+
> `optional` **openTelemetryMeterVersion?**: `string`
|
|
1024
|
+
|
|
1025
|
+
The version of the Open Telemetry metrics specification to use, only required if using open-telemetry as telemetry connector, defaults to 1.0.0.
|
|
1026
|
+
|
|
1027
|
+
#### Inherited from
|
|
1028
|
+
|
|
1029
|
+
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`openTelemetryMeterVersion`](IEngineServerEnvironmentVariables.md#opentelemetrymeterversion)
|
|
1030
|
+
|
|
1031
|
+
***
|
|
1032
|
+
|
|
1033
|
+
### openTelemetryReader? {#opentelemetryreader}
|
|
1034
|
+
|
|
1035
|
+
> `optional` **openTelemetryReader?**: `string`
|
|
1036
|
+
|
|
1037
|
+
The type of Open Telemetry metric reader to use, only required if using open-telemetry as telemetry connector, values: prometheus.
|
|
1038
|
+
|
|
1039
|
+
#### Inherited from
|
|
1040
|
+
|
|
1041
|
+
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`openTelemetryReader`](IEngineServerEnvironmentVariables.md#opentelemetryreader)
|
|
1042
|
+
|
|
1043
|
+
***
|
|
1044
|
+
|
|
1045
|
+
### openTelemetryPrometheusPort? {#opentelemetryprometheusport}
|
|
1046
|
+
|
|
1047
|
+
> `optional` **openTelemetryPrometheusPort?**: `string`
|
|
1048
|
+
|
|
1049
|
+
The port to use for the Open Telemetry Prometheus metrics server, only required if using open-telemetry as telemetry connector and prometheus as reader, defaults to 9464.
|
|
1050
|
+
|
|
1051
|
+
#### Inherited from
|
|
1052
|
+
|
|
1053
|
+
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`openTelemetryPrometheusPort`](IEngineServerEnvironmentVariables.md#opentelemetryprometheusport)
|
|
1054
|
+
|
|
1055
|
+
***
|
|
1056
|
+
|
|
1009
1057
|
### faucetConnector? {#faucetconnector}
|
|
1010
1058
|
|
|
1011
1059
|
> `optional` **faucetConnector?**: `string`
|
|
@@ -1454,18 +1502,6 @@ The maximum number of consolidations to keep in storage, only used if this is a
|
|
|
1454
1502
|
|
|
1455
1503
|
***
|
|
1456
1504
|
|
|
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
1505
|
### federatedCatalogueFilters? {#federatedcataloguefilters}
|
|
1470
1506
|
|
|
1471
1507
|
> `optional` **federatedCatalogueFilters?**: `string`
|
|
@@ -1478,18 +1514,6 @@ Federated catalog filters, command separated list of filters to add.
|
|
|
1478
1514
|
|
|
1479
1515
|
***
|
|
1480
1516
|
|
|
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
1517
|
### trustGenerators? {#trustgenerators}
|
|
1494
1518
|
|
|
1495
1519
|
> `optional` **trustGenerators?**: `string`
|
|
@@ -1540,23 +1564,18 @@ Defaults to undefined for never expiring.
|
|
|
1540
1564
|
|
|
1541
1565
|
***
|
|
1542
1566
|
|
|
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
1567
|
### rightsManagementCallbackPath? {#rightsmanagementcallbackpath}
|
|
1556
1568
|
|
|
1557
1569
|
> `optional` **rightsManagementCallbackPath?**: `string`
|
|
1558
1570
|
|
|
1559
|
-
|
|
1571
|
+
Path under which the rights management service is mounted (single source
|
|
1572
|
+
of truth). The same value drives:
|
|
1573
|
+
- the server route mount (via engine config)
|
|
1574
|
+
- the PNP service's callback URL builder (`buildCallbackUrl`)
|
|
1575
|
+
- the PNP rest-client's pathPrefix (consumer side)
|
|
1576
|
+
Defaults to `rights-management`. Set when deploying behind a reverse proxy
|
|
1577
|
+
with path rewriting, K8s ingress with path-based routing, or any custom
|
|
1578
|
+
mount point.
|
|
1560
1579
|
|
|
1561
1580
|
#### Inherited from
|
|
1562
1581
|
|
|
@@ -1648,30 +1667,6 @@ The rights management policy obligation enforcers to add to the factory.
|
|
|
1648
1667
|
|
|
1649
1668
|
***
|
|
1650
1669
|
|
|
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
1670
|
### dataspaceEnabled? {#dataspaceenabled}
|
|
1676
1671
|
|
|
1677
1672
|
> `optional` **dataspaceEnabled?**: `string`
|
|
@@ -1735,18 +1730,6 @@ Example: "dataspace/entities"
|
|
|
1735
1730
|
|
|
1736
1731
|
***
|
|
1737
1732
|
|
|
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
1733
|
### healthEnabled? {#healthenabled}
|
|
1751
1734
|
|
|
1752
1735
|
> `optional` **healthEnabled?**: `string`
|
|
@@ -1759,15 +1742,15 @@ Are the health components enabled, defaults to false.
|
|
|
1759
1742
|
|
|
1760
1743
|
***
|
|
1761
1744
|
|
|
1762
|
-
###
|
|
1745
|
+
### healthIntervalSeconds? {#healthintervalseconds}
|
|
1763
1746
|
|
|
1764
|
-
> `optional` **
|
|
1747
|
+
> `optional` **healthIntervalSeconds?**: `string`
|
|
1765
1748
|
|
|
1766
|
-
|
|
1749
|
+
The interval in seconds for performing health checks, defaults to 60.
|
|
1767
1750
|
|
|
1768
1751
|
#### Inherited from
|
|
1769
1752
|
|
|
1770
|
-
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`
|
|
1753
|
+
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`healthIntervalSeconds`](IEngineServerEnvironmentVariables.md#healthintervalseconds)
|
|
1771
1754
|
|
|
1772
1755
|
***
|
|
1773
1756
|
|
|
@@ -1928,6 +1911,18 @@ The id of the key in the vault to use for signing in auth operations.
|
|
|
1928
1911
|
|
|
1929
1912
|
***
|
|
1930
1913
|
|
|
1914
|
+
### hostingParamEncryptionKeyId? {#hostingparamencryptionkeyid}
|
|
1915
|
+
|
|
1916
|
+
> `optional` **hostingParamEncryptionKeyId?**: `string`
|
|
1917
|
+
|
|
1918
|
+
The id of the key in the vault to use for encrypting hosting parameters in auth operations.
|
|
1919
|
+
|
|
1920
|
+
#### Inherited from
|
|
1921
|
+
|
|
1922
|
+
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`hostingParamEncryptionKeyId`](IEngineServerEnvironmentVariables.md#hostingparamencryptionkeyid)
|
|
1923
|
+
|
|
1924
|
+
***
|
|
1925
|
+
|
|
1931
1926
|
### mimeTypeProcessors? {#mimetypeprocessors}
|
|
1932
1927
|
|
|
1933
1928
|
> `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.36",
|
|
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",
|
|
@@ -34,10 +34,11 @@
|
|
|
34
34
|
"@twin.org/rights-management-rest-client": "next",
|
|
35
35
|
"@twin.org/standards-w3c-did": "next",
|
|
36
36
|
"@twin.org/standards-w3c-odrl": "next",
|
|
37
|
+
"@twin.org/telemetry-connector-opentelemetry": "next",
|
|
37
38
|
"@twin.org/trust-models": "next",
|
|
38
39
|
"@twin.org/vault-models": "next",
|
|
39
40
|
"@twin.org/wallet-models": "next",
|
|
40
|
-
"dotenv": "17.
|
|
41
|
+
"dotenv": "17.4.2",
|
|
41
42
|
"schema-dts": "2.0.0"
|
|
42
43
|
},
|
|
43
44
|
"main": "./dist/es/index.js",
|
|
@@ -68,7 +69,7 @@
|
|
|
68
69
|
"utilities"
|
|
69
70
|
],
|
|
70
71
|
"bugs": {
|
|
71
|
-
"url": "git+https://github.com/
|
|
72
|
+
"url": "git+https://github.com/iotaledger/node/issues"
|
|
72
73
|
},
|
|
73
74
|
"homepage": "https://twindev.org"
|
|
74
75
|
}
|