harperdb 4.3.24 → 4.4.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -3
- package/application-template/config.yaml +2 -5
- package/bin/harperdb.js +103 -74
- package/bin/lite.js +121 -22
- package/config/yaml/defaultConfig.yaml +11 -43
- package/config/yaml/defaultNatsConfig.yaml +36 -0
- package/index.js +3 -12
- package/json/hdbConnectorOptions.json +14 -14
- package/json/interNodeConnectorOptions.json +15 -15
- package/json/systemSchema.json +260 -307
- package/launchServiceScripts/launchInstallNATSServer.js +4 -4
- package/launchServiceScripts/launchNatsIngestService.js +121 -22
- package/launchServiceScripts/launchNatsReplyService.js +121 -22
- package/launchServiceScripts/launchUpdateNodes4-0-0.js +121 -22
- package/logs/README.md +1 -1
- package/npm-shrinkwrap.json +7545 -7228
- package/package.json +130 -131
- package/resources/DatabaseTransaction.d.ts +1 -0
- package/resources/ErrorResource.d.ts +26 -0
- package/resources/RecordEncoder.d.ts +3 -1
- package/resources/Resource.d.ts +8 -1
- package/resources/ResourceInterface.d.ts +7 -3
- package/resources/Resources.d.ts +5 -4
- package/resources/Table.d.ts +50 -19
- package/resources/auditStore.d.ts +45 -1
- package/resources/databases.d.ts +54 -17
- package/resources/search.d.ts +6 -0
- package/resources/transactionBroadcast.d.ts +2 -1
- package/server/Server.d.ts +1 -1
- package/server/jobs/jobProcess.js +121 -22
- package/server/serverHelpers/Headers.d.ts +9 -1
- package/server/threads/threadServer.js +121 -22
- package/utility/scripts/restartHdb.js +121 -22
- package/application-template/routes/index.js +0 -14
- package/studio/build-local/asset-manifest.json +0 -53
- package/studio/build-local/index.html +0 -1
- package/studio/build-local/static/css/main.6c0f1b63.css +0 -13
- package/studio/build-local/static/js/110.ca4244a6.chunk.js +0 -2
- package/studio/build-local/static/js/110.ca4244a6.chunk.js.LICENSE.txt +0 -1
- package/studio/build-local/static/js/228.302d7db9.chunk.js +0 -1
- package/studio/build-local/static/js/287.21477cf9.chunk.js +0 -1
- package/studio/build-local/static/js/409.17daa4fe.chunk.js +0 -2
- package/studio/build-local/static/js/409.17daa4fe.chunk.js.LICENSE.txt +0 -8
- package/studio/build-local/static/js/424.ad87c8fd.chunk.js +0 -1
- package/studio/build-local/static/js/446.5237e847.chunk.js +0 -2
- package/studio/build-local/static/js/446.5237e847.chunk.js.LICENSE.txt +0 -13
- package/studio/build-local/static/js/662.92e32ffc.chunk.js +0 -1
- package/studio/build-local/static/js/718.74e9355d.chunk.js +0 -1
- package/studio/build-local/static/js/723.c58acced.chunk.js +0 -2
- package/studio/build-local/static/js/723.c58acced.chunk.js.LICENSE.txt +0 -5
- package/studio/build-local/static/js/731.8a941eb3.chunk.js +0 -1
- package/studio/build-local/static/js/807.510f66df.chunk.js +0 -2
- package/studio/build-local/static/js/807.510f66df.chunk.js.LICENSE.txt +0 -5
- package/studio/build-local/static/js/926.88d6f9ce.chunk.js +0 -1
- package/studio/build-local/static/js/browse-csvupload.453237f3.chunk.js +0 -1
- package/studio/build-local/static/js/browse-datatable.b9ef2d28.chunk.js +0 -1
- package/studio/build-local/static/js/browse-entitymanager.50827a5a.chunk.js +0 -1
- package/studio/build-local/static/js/browse-jsonviewer.a2534004.chunk.js +0 -1
- package/studio/build-local/static/js/custom-functions.dd7e182c.chunk.js +0 -1
- package/studio/build-local/static/js/instance-charts.34d15f02.chunk.js +0 -1
- package/studio/build-local/static/js/instance-cluster.5bce430c.chunk.js +0 -1
- package/studio/build-local/static/js/instance-config.70c17b53.chunk.js +0 -1
- package/studio/build-local/static/js/instance-query.4f6eec62.chunk.js +0 -1
- package/studio/build-local/static/js/instance-roles.507a4ed0.chunk.js +0 -1
- package/studio/build-local/static/js/instance-status.ce9d7f64.chunk.js +0 -1
- package/studio/build-local/static/js/instance-users-datatable.190640fd.chunk.js +0 -1
- package/studio/build-local/static/js/instance-users-edit.d2444479.chunk.js +0 -1
- package/studio/build-local/static/js/instance-users.eabfbbde.chunk.js +0 -1
- package/studio/build-local/static/js/instance.a163623f.chunk.js +0 -1
- package/studio/build-local/static/js/instances.6b88a87c.chunk.js +0 -1
- package/studio/build-local/static/js/main.7106edfd.js +0 -2
- package/studio/build-local/static/js/main.7106edfd.js.LICENSE.txt +0 -72
- package/studio/build-local/static/js/offline-app.7371216b.chunk.js +0 -1
- package/studio/build-local/static/js/online-app.db436eec.chunk.js +0 -1
- package/studio/build-local/static/js/organization-billing.b2f260f0.chunk.js +0 -1
- package/studio/build-local/static/js/organization-users.b6171b18.chunk.js +0 -1
- package/studio/build-local/static/js/organization.7800f16a.chunk.js +0 -1
- package/studio/build-local/static/js/organizations.8bb505f2.chunk.js +0 -1
- package/studio/build-local/static/js/profile.292bdd86.chunk.js +0 -1
- package/studio/build-local/static/js/resetPassword.8fdfba77.chunk.js +0 -1
- package/studio/build-local/static/js/roles-jsonviewer.c11f1816.chunk.js +0 -1
- package/studio/build-local/static/js/signIn.b11bdc50.chunk.js +0 -1
- package/studio/build-local/static/js/signUp.564d4e0b.chunk.js +0 -1
- package/studio/build-local/static/js/structure-reloader.b6de4091.chunk.js +0 -1
- package/studio/build-local/static/js/topnav.4fd41d60.chunk.js +0 -1
- package/studio/build-local/static/js/updatePassword.e23019c7.chunk.js +0 -1
|
@@ -6,55 +6,25 @@ http:
|
|
|
6
6
|
corsAccessList:
|
|
7
7
|
- null
|
|
8
8
|
keepAliveTimeout: 30000
|
|
9
|
-
port:
|
|
10
|
-
securePort:
|
|
9
|
+
port: null
|
|
10
|
+
securePort: 9926
|
|
11
11
|
mtls: false
|
|
12
12
|
timeout: 120000
|
|
13
13
|
threads:
|
|
14
14
|
count: null
|
|
15
15
|
debug: false
|
|
16
16
|
authentication:
|
|
17
|
+
authorizeLocal: false
|
|
17
18
|
cacheTTL: 30000
|
|
18
19
|
enableSessions: true
|
|
19
20
|
operationTokenTimeout: 1d
|
|
20
21
|
refreshTokenTimeout: 30d
|
|
21
22
|
analytics:
|
|
22
23
|
aggregatePeriod: 60
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
name: harperdb
|
|
28
|
-
network:
|
|
29
|
-
port: 9932
|
|
30
|
-
routes:
|
|
31
|
-
leafNodes:
|
|
32
|
-
network:
|
|
33
|
-
port: 9931
|
|
34
|
-
network:
|
|
35
|
-
port: 9930
|
|
36
|
-
leafServer:
|
|
37
|
-
network:
|
|
38
|
-
port: 9940
|
|
39
|
-
routes:
|
|
40
|
-
streams:
|
|
41
|
-
maxAge: null
|
|
42
|
-
maxBytes: null
|
|
43
|
-
maxMsgs: null
|
|
44
|
-
maxConsumeMsgs: 100
|
|
45
|
-
maxIngestThreads: 2
|
|
46
|
-
path: null
|
|
47
|
-
logLevel: info
|
|
48
|
-
nodeName: null
|
|
49
|
-
republishMessages: false
|
|
50
|
-
databaseLevel: false
|
|
51
|
-
tls:
|
|
52
|
-
certificate: null
|
|
53
|
-
certificateAuthority: null
|
|
54
|
-
privateKey: null
|
|
55
|
-
insecure: true
|
|
56
|
-
verify: true
|
|
57
|
-
user: null
|
|
24
|
+
replication:
|
|
25
|
+
hostname: null
|
|
26
|
+
databases: '*' # Database name or list of database names to replicate, * defaults to all databases
|
|
27
|
+
routes: null
|
|
58
28
|
componentsRoot: null
|
|
59
29
|
localStudio:
|
|
60
30
|
enabled: false
|
|
@@ -85,10 +55,10 @@ operationsApi:
|
|
|
85
55
|
network:
|
|
86
56
|
cors: true
|
|
87
57
|
corsAccessList:
|
|
88
|
-
-
|
|
58
|
+
- '*'
|
|
89
59
|
domainSocket: hdb/operations-server
|
|
90
|
-
port:
|
|
91
|
-
securePort:
|
|
60
|
+
port: null
|
|
61
|
+
securePort: 9925
|
|
92
62
|
rootPath: null
|
|
93
63
|
storage:
|
|
94
64
|
writeAsync: false
|
|
@@ -98,6 +68,4 @@ storage:
|
|
|
98
68
|
path: null
|
|
99
69
|
prefetchWrites: true
|
|
100
70
|
tls:
|
|
101
|
-
|
|
102
|
-
certificateAuthority: null
|
|
103
|
-
privateKey: null
|
|
71
|
+
privateKey: null
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
---
|
|
2
|
+
clustering:
|
|
3
|
+
enabled: true
|
|
4
|
+
hubServer:
|
|
5
|
+
cluster:
|
|
6
|
+
name: harperdb
|
|
7
|
+
network:
|
|
8
|
+
port: 9932
|
|
9
|
+
routes:
|
|
10
|
+
leafNodes:
|
|
11
|
+
network:
|
|
12
|
+
port: 9931
|
|
13
|
+
network:
|
|
14
|
+
port: 9930
|
|
15
|
+
leafServer:
|
|
16
|
+
network:
|
|
17
|
+
port: 9940
|
|
18
|
+
routes:
|
|
19
|
+
streams:
|
|
20
|
+
maxAge: null
|
|
21
|
+
maxBytes: null
|
|
22
|
+
maxMsgs: null
|
|
23
|
+
maxConsumeMsgs: 100
|
|
24
|
+
maxIngestThreads: 2
|
|
25
|
+
path: null
|
|
26
|
+
logLevel: info
|
|
27
|
+
nodeName: null
|
|
28
|
+
republishMessages: false
|
|
29
|
+
databaseLevel: false
|
|
30
|
+
tls:
|
|
31
|
+
certificate: null
|
|
32
|
+
certificateAuthority: null
|
|
33
|
+
privateKey: null
|
|
34
|
+
insecure: true
|
|
35
|
+
verify: true
|
|
36
|
+
user: null
|
package/index.js
CHANGED
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
global.databases = exports.databases = {};
|
|
5
|
-
global.getUser = exports.getUser = undefined;
|
|
6
|
-
global.server = exports.server = {};
|
|
7
|
-
global.contentTypes = exports.contentTypes = null;
|
|
8
|
-
global.threads = exports.threads = [];
|
|
9
|
-
global.logger = {};
|
|
10
|
-
exports._assignPackageExport = (name, value) => {
|
|
11
|
-
global[name] = exports[name] = value;
|
|
12
|
-
};
|
|
1
|
+
const server_utils = require('./server/serverHelpers/serverUtilities');
|
|
2
|
+
const globals = require('./globals');
|
|
3
|
+
Object.assign(exports, globals);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
2
|
+
"rejectUnauthorized": false,
|
|
3
|
+
"autoConnect": true,
|
|
4
|
+
"autoReconnect": true,
|
|
5
|
+
"secure": true,
|
|
6
|
+
"connectTimeout": 10000,
|
|
7
|
+
"ackTimeout": 60000,
|
|
8
|
+
"autoReconnectOptions": {
|
|
9
|
+
"initialDelay": 100,
|
|
10
|
+
"maxDelay": 200
|
|
11
|
+
},
|
|
12
|
+
"query": {
|
|
13
|
+
"hdb_worker": 1
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
2
|
+
"rejectUnauthorized": false,
|
|
3
|
+
"autoConnect": true,
|
|
4
|
+
"autoReconnect": true,
|
|
5
|
+
"secure": true,
|
|
6
|
+
"connectTimeout": 10000,
|
|
7
|
+
"ackTimeout": 60000,
|
|
8
|
+
"autoReconnectOptions": {
|
|
9
|
+
"initialDelay": 1000,
|
|
10
|
+
"maxDelay": 2000
|
|
11
|
+
},
|
|
12
|
+
"query": {
|
|
13
|
+
"node_client_name": null,
|
|
14
|
+
"node_server_name": null
|
|
15
|
+
}
|
|
16
|
+
}
|