-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from m-ld/perf-test
#15: Initial benchmarking, in sim folder
- Loading branch information
Showing
37 changed files
with
1,985 additions
and
269 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,5 @@ node_modules/ | |
local/ | ||
_site/ | ||
*.private.env.json | ||
*.env | ||
*.env | ||
.clinic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/** | ||
* @see https://www.11ty.dev/docs/data-computed/#advanced-details | ||
*/ | ||
module.exports = require('../_includes/http/http-client.env.json').doc; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
POST {{origin}}/api/v1/user/{{account}}/activation | ||
Accept: application/json | ||
Content-Type: application/json | ||
|
||
{ "email": "{{email}}" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
PATCH {{origin}}/api/v1/user/{{account}} | ||
Authorization: Basic {{digest}} | ||
Accept: application/json | ||
Content-Type: application/json | ||
|
||
{ "@insert": { "remotesAuth": "{{remotesAuth}}" } } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
POST {{origin}}/api/v1/user/{{account}}/key | ||
Authorization: Bearer {{jwe}} | ||
X-Activation-Code: {{activation}} | ||
Accept: application/json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
POST {{origin}}/api/v1/user/{{account}}/key | ||
Authorization: Basic {{rootAccount}} {{rootKey}} | ||
Accept: application/json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
GET {{origin}}/api/v1/domain/{{account}}/{{subdomain}}/state | ||
Authorization: Basic {{digest}} | ||
Accept: application/json | ||
[QueryStringParams] | ||
q: {{read}} # to be URL-encoded as the query string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
POST {{origin}}/api/v1/domain/{{account}}/{{subdomain}}/state | ||
Authorization: Basic {{digest}} | ||
Content-Type: application/json | ||
|
||
{ | ||
"@id": "Client-0005", | ||
"company_name": "The Flintstones" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"local": { | ||
"origin": "http://localhost:3000", | ||
"account": "my-account", | ||
"remotesAuth": "anon", | ||
"subdomain": "my-subdomain", | ||
"read": "{\"@describe\":\"?id\",\"@where\":{\"@id\":\"?id\"}}" | ||
}, | ||
"doc": { | ||
"origin": "{{ '{{ origin }}' }}", | ||
"rootAccount": "{{ '{{ root }}' }}", | ||
"rootKey": "≪root key≫", | ||
"account": "≪account name≫", | ||
"accountKey": "≪account key≫", | ||
"email": "≪user email≫", | ||
"jwe": "≪jwe≫", | ||
"activation": "≪emailed activation code≫", | ||
"remotesAuth": "≪remotes auth option≫", | ||
"subdomain": "≪subdomain≫", | ||
"read": "{\"@describe\":\"?id\",\"@where\":{\"@id\":\"?id\"}}", | ||
"digest": "≪base64(≪account name≫:≪account key≫)≫" | ||
}, | ||
"prod": { | ||
"origin": "https://gw.m-ld.org", | ||
"account": "public", | ||
"remotesAuth": "anon", | ||
"read": "{\"@describe\":\"?id\",\"@where\":{\"@id\":\"?id\"}}" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
PUT {{origin}}/api/v1/domain/{{account}}/{{subdomain}} | ||
Accept: application/json | ||
Authorization: Basic {{digest}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
POST {{origin}}/api/v1/domain/{{account}} | ||
Accept: application/json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
PATCH {{origin}}/api/v1/user/{{account}} | ||
Authorization: Basic {{digest}} | ||
Content-Type: application/json | ||
|
||
{ "@insert": { "naming": "uuid" } } |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.