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
package/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<img src="https://hdb-marketing.s3.amazonaws.com/GRYHORIZ_HDB_Drk_Gry.png" width="692" height="156">
|
|
2
2
|
|
|
3
3
|
## Contents
|
|
4
|
+
|
|
4
5
|
1. [HarperDB Overview](#harperdb-overview)
|
|
5
6
|
2. [HarperDB Studio](#harperdb-studio)
|
|
6
7
|
3. [HarperDB APIs](#harperdb-apis)
|
|
@@ -9,12 +10,15 @@
|
|
|
9
10
|
6. [Installing HarperDB](#installing-harperdb)
|
|
10
11
|
|
|
11
12
|
## HarperDB Overview
|
|
13
|
+
|
|
12
14
|
HarperDB eliminates the complexity typically synonymous with distributed services by combining an ultra-fast document data store, in-memory cache, real-time message broker, and your application components into a single distributed technology. When clustered and geo-distributed, HarperDB nodes instantly synchronize data creating a real-time service fabric, ensuring low-latency in-region responses for clients worldwide. In addition to massive cost savings at scale, HarperDB’s REST, GraphQL, SQL, and real-time interfaces make light work of servicing frontend requirements. Install and manage on your hardware with npm, or have us host your services with HarperDB Cloud. For questions, reach us at [hello@harperdb.io](mailto:hello@harperdb.io).
|
|
13
15
|
|
|
14
16
|
[Learn more about HarperDB](https://www.harperdb.io/?utm_source=repo&utm_medium=npm)
|
|
15
17
|
|
|
16
18
|
## HarperDB Studio
|
|
19
|
+
|
|
17
20
|
Every Installation of HarperDB can be administered online using HarperDB Studio. This web-based interface provides you the ability to set up new schemas and tables, configure users and roles, manage data replication, and purchase and deploy enterprise licenses.
|
|
21
|
+
|
|
18
22
|
- Simplify Administration – handle all HarperDB administration tasks from one simple interface
|
|
19
23
|
|
|
20
24
|
[HarperDB Studio](https://studio.harperdb.io/sign-up)
|
|
@@ -26,20 +30,24 @@ The preferred way to interact with HarperDB for typical querying, accessing, and
|
|
|
26
30
|
The complete [HarperDB Operations API documentation](https://docs.harperdb.io/docs/operations-api) provides important administrative functions. Generally it is recommended that use the [RESTful interface](https://docs.harperdb.io/docs/rest/) as your primary interface for scalable and performant data interaction for building production applications, and the operations API for administrative purposes.
|
|
27
31
|
|
|
28
32
|
## Documentation and Support
|
|
33
|
+
|
|
29
34
|
[Docs](https://docs.harperdb.io/)
|
|
30
35
|
|
|
31
36
|
[Support](https://harperdb.io/support/)
|
|
32
37
|
|
|
33
38
|
## Prerequisites
|
|
39
|
+
|
|
34
40
|
HarperDB requires Node.js 14 or higher. Our fully tested and supported Node.js version is 18.15.0.
|
|
35
41
|
|
|
36
42
|
HarperDB has been tested on the following platforms
|
|
43
|
+
|
|
37
44
|
- Linux on AMD64
|
|
38
45
|
- Linux on ARM64
|
|
39
46
|
- MacOS on Intel
|
|
40
47
|
- MacOS on Apple silicon (Rosetta AMD64 emulation required for Node.js versions older than Node.js 16)
|
|
41
48
|
|
|
42
49
|
Other UNIX-like operating systems and other CPU architectures may be able to run HarperDB, but these have not been tested and may require the following
|
|
50
|
+
|
|
43
51
|
- GCC
|
|
44
52
|
- Make
|
|
45
53
|
- Python v3.7, v3.8, v3.9, or v3.10
|
|
@@ -49,12 +57,13 @@ Other UNIX-like operating systems and other CPU architectures may be able to run
|
|
|
49
57
|
HarperDB can run natively on Windows 10 & 11. HarperDB running on Windows is only intended for evaluation or development purposes.
|
|
50
58
|
|
|
51
59
|
## Installing HarperDB
|
|
60
|
+
|
|
52
61
|
```
|
|
53
62
|
npm install -g harperdb
|
|
54
63
|
harperdb
|
|
55
64
|
```
|
|
56
|
-
HarperDB will prompt you for configuration options during install, and then automatically start after install.
|
|
57
65
|
|
|
58
|
-
|
|
66
|
+
HarperDB will prompt you for configuration options during install, and then automatically start after install.
|
|
59
67
|
|
|
60
|
-
|
|
68
|
+
---
|
|
69
|
+
27c4e458fa46472729853c04fb969026dd19309f
|
|
@@ -8,11 +8,8 @@ graphqlSchema: # These reads GraphQL schemas to define the schema of database/t
|
|
|
8
8
|
jsResource: # Loads JavaScript modules such that their exports are exported as resources
|
|
9
9
|
files: resources.js # the entry module for resources
|
|
10
10
|
# path: / # exported resources are on the root path by default, like http://server/resource-name
|
|
11
|
-
fastifyRoutes: # This loads files that define fastify routes using fastify's auto-loader
|
|
12
|
-
files: routes/*.js # specify the location of route definition modules
|
|
13
|
-
path: . # relative to the app-name, like http://server/app-name/route-name
|
|
14
11
|
static: # This allows static files to be directly accessible
|
|
15
12
|
root: web
|
|
16
13
|
files: web/**
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
roles: # This can define the roles that are used in the application
|
|
15
|
+
files: roles.yaml
|