Skip to content

Commit 2b3e4c7

Browse files
Merge pull request #230 from HarperDB/format-2
Format
2 parents 9976bc2 + c726398 commit 2b3e4c7

File tree

984 files changed

+49603
-48852
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

984 files changed

+49603
-48852
lines changed

.git-blame-ignore-revs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
# Initial format commit
2-
245bc11c93fcff5cbaceddb799de5e1fad132d3e
2+
245bc11c93fcff5cbaceddb799de5e1fad132d3e
3+
4+
# Replatform format commit
5+
abe8637ab83416cd9927e5e5e1c121144fbc3969

.github/workflows/deploy.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
# However, do NOT cancel in-progress runs as we want to allow these deployments to complete.
1414
# This shouldn't be necessary for most cases, but it can help avoid conflicts if multiple pushes happen in quick succession.
1515
concurrency:
16-
group: "pages"
16+
group: 'pages'
1717
cancel-in-progress: false
1818

1919
jobs:
@@ -93,7 +93,6 @@ jobs:
9393
name: github-pages
9494
url: ${{ steps.deployment.outputs.page_url }}
9595

96-
9796
steps:
9897
- name: Deploy to GitHub Pages
9998
id: deployment

.gitignore

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,29 @@ bin-release/
2222
.idea/modules.xml
2323
.idea/vcs.xml
2424

25-
node_modules
25+
node_modules
26+
27+
# Site .gitignore so its picked up by prettier
28+
# Dependencies
29+
site/node_modules
30+
31+
# Production
32+
site/build
33+
34+
# Latest (/docs/) is a build time copy of the latest version
35+
site/docs
36+
37+
# Generated files
38+
site/.docusaurus
39+
site/.cache-loader
40+
41+
# Misc
42+
site/.DS_Store
43+
site/.env.local
44+
site/.env.development.local
45+
site/.env.test.local
46+
site/.env.production.local
47+
48+
site/npm-debug.log*
49+
site/yarn-debug.log*
50+
site/yarn-error.log*
Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
{
2-
"label": "Administration",
3-
"position": 2,
4-
"link": {
5-
"type": "generated-index",
6-
"title": "Administration Documentation",
7-
"description": "Guides for managing and administering HarperDB instances",
8-
"keywords": [
9-
"administration"
10-
]
11-
}
12-
}
2+
"label": "Administration",
3+
"position": 2,
4+
"link": {
5+
"type": "generated-index",
6+
"title": "Administration Documentation",
7+
"description": "Guides for managing and administering HarperDB instances",
8+
"keywords": ["administration"]
9+
}
10+
}

docs/administration/harper-studio/instances.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ A summary view of all instances within an organization can be viewed by clicking
4040
1. Select Instance Specs
4141
1. Select Instance RAM
4242

43-
_Harper Cloud Instances are billed based on Instance RAM, this will select the size of your provisioned instance._ _More on instance specs__._
43+
_Harper Cloud Instances are billed based on Instance RAM, this will select the size of your provisioned instance._ _More on instance specs\_\_._
4444

4545
1. Select Storage Size
4646

47-
_Each instance has a mounted storage volume where your Harper data will reside. Storage is provisioned based on space and IOPS._ _More on IOPS Impact on Performance__._
47+
_Each instance has a mounted storage volume where your Harper data will reside. Storage is provisioned based on space and IOPS._ _More on IOPS Impact on Performance\_\_._
4848

4949
1. Select Instance Region
5050

docs/custom-functions/create-project.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Otherwise, to create a project, you have the following options:
1010

1111
1. **Use the add_custom_function_project operation**
1212

13-
This operation creates a new project folder, and populates it with templates for the routes, helpers, and static subfolders.
13+
This operation creates a new project folder, and populates it with templates for the routes, helpers, and static subfolders.
1414

1515
```json
1616
{

docs/deployments/_category_.json

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
{
2-
"label": "Deployments",
3-
"position": 3,
4-
"link": {
5-
"type": "generated-index",
6-
"title": "Deployments Documentation",
7-
"description": "Installation and deployment guides for HarperDB",
8-
"keywords": [
9-
"deployments"
10-
]
11-
}
12-
}
2+
"label": "Deployments",
3+
"position": 3,
4+
"link": {
5+
"type": "generated-index",
6+
"title": "Deployments Documentation",
7+
"description": "Installation and deployment guides for HarperDB",
8+
"keywords": ["deployments"]
9+
}
10+
}

docs/deployments/configuration.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -583,9 +583,9 @@ To access the audit logs, use the API operation `read_audit_log`. It will provid
583583

584584
```json
585585
{
586-
"operation": "read_audit_log",
587-
"schema": "dev",
588-
"table": "dog"
586+
"operation": "read_audit_log",
587+
"schema": "dev",
588+
"table": "dog"
589589
}
590590
```
591591

@@ -728,7 +728,7 @@ This section defines log configuration for HTTP logging. By default, HTTP reques
728728
- `timing` - This will log timing information
729729
- `headers` - This will log the headers in each request (which can be very verbose)
730730
- `id` - This will assign a unique id to each request and log it in the entry for each request. This is assigned as the `request.requestId` property and can be used to by other logging to track a request.
731-
Note that the `level` will determine which HTTP requests are logged:
731+
Note that the `level` will determine which HTTP requests are logged:
732732
- `info` (or more verbose) - All HTTP requests
733733
- `warn` - HTTP requests with a status code of 400 or above
734734
- `error` - HTTP requests with a status code of 500
@@ -737,10 +737,10 @@ For example:
737737

738738
```yaml
739739
http:
740-
logging:
740+
logging:
741741
timing: true
742742
level: info
743-
path: ~/hdb/log/http.log
743+
path: ~/hdb/log/http.log
744744
... rest of http config
745745
```
746746

docs/deployments/harper-cloud/alarms.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Harper Cloud instance alarms are triggered when certain conditions are met. Once
1313
- **Intervals**: The number of occurrences before an alarm is triggered and the period that the metric is evaluated over.
1414
- **Proposed Remedy**: Recommended solution to avoid the alert in the future.
1515

16-
| Alarm | Threshold | Intervals | Proposed Remedy |
17-
| ------- | ---------- | --------- | ------------------------------------------------------------------------------------------------------------------------------ |
16+
| Alarm | Threshold | Intervals | Proposed Remedy |
17+
| ------- | ---------- | --------- | --------------------------------------------------------------------------------------------------------------------------- |
1818
| Storage | > 90% Disk | 1 x 5min | [Increased storage volume](../../administration/harper-studio/instance-configuration#update-instance-storage) |
1919
| CPU | > 90% Avg | 2 x 5min | [Increase instance size for additional CPUs](../../administration/harper-studio/instance-configuration#update-instance-ram) |
2020
| Memory | > 90% RAM | 2 x 5min | [Increase instance size](../../administration/harper-studio/instance-configuration#update-instance-ram) |

docs/deployments/upgrade-hdb-instance.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ Upgrading Harper is a two-step process. First the latest version of Harper must
1212

1313
1. Install the latest version of Harper using `npm install -g harperdb`.
1414

15-
Note `-g` should only be used if you installed Harper globally (which is recommended).
15+
Note `-g` should only be used if you installed Harper globally (which is recommended).
1616

1717
1. Run `harperdb` to initiate the upgrade process.
1818

19-
Harper will then prompt you for all appropriate inputs and then run the upgrade directives.
19+
Harper will then prompt you for all appropriate inputs and then run the upgrade directives.
2020

2121
## Node Version Manager (nvm)
2222

@@ -130,7 +130,7 @@ replication:
130130
{
131131
"operation": "add_node",
132132
"hostname:": "node-1",
133-
"url": "wss://my-cluster-node-1:9925"
133+
"url": "wss://my-cluster-node-1:9925"
134134
}
135135
```
136136

0 commit comments

Comments
 (0)