@verii/server-credentialagent 1.1.0 → 1.2.0-pre.1776405743
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 +5 -5
- package/e2e/README.md +1 -1
- package/package.json +30 -30
package/README.md
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
### Local
|
|
3
3
|
Where implemented, such as in the credential agent and oracle,
|
|
4
4
|
it is possible to run migration commands from the package's root folder:
|
|
5
|
-
- `
|
|
6
|
-
- `
|
|
7
|
-
- `
|
|
8
|
-
- `
|
|
5
|
+
- `pnpm run migrate:create migration-name-kebab-case-format` Will create a file in `migrations` folder
|
|
6
|
+
- `pnpm run migrate:up`: Will run all migrations
|
|
7
|
+
- `pnpm run migrate:down`: Will revert the last executed migration
|
|
8
|
+
- `pnpm run migrate:status`: Will show the current migration status
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
#### Notes for credential-agent migrations
|
|
@@ -15,5 +15,5 @@ it is possible to run migration commands from the package's root folder:
|
|
|
15
15
|
|
|
16
16
|
It is also possible to run the migrations using the services' docker images (services that include migrations):
|
|
17
17
|
```
|
|
18
|
-
docker run --name credentialagent-migrations -e MONGO_URI=**** ghcr.io/velocitynetworkfoundation/credentialagent:latest sh -c "cd servers/credentialagent &&
|
|
18
|
+
docker run --name credentialagent-migrations -e MONGO_URI=**** ghcr.io/velocitynetworkfoundation/credentialagent:latest sh -c "cd servers/credentialagent && pnpm run migrate:up"
|
|
19
19
|
```
|
package/e2e/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
1. Run docker compose `docker compose -f ../docker/compose.yml up`
|
|
6
6
|
1. Set the `NODE_TLS_REJECT_UNAUTHORIZED` environment variable to `0`
|
|
7
|
-
1. Run tests using `
|
|
7
|
+
1. Run tests using `pnpm exec nx run @verii/server-credentialagent:test:e2e`
|
|
8
8
|
|
|
9
9
|
## Docker Compose
|
|
10
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@verii/server-credentialagent",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0-pre.1776405743",
|
|
4
4
|
"description": "Credential Agent application",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"repository": "https://github.com/LFDT-Verii/core",
|
|
@@ -40,31 +40,31 @@
|
|
|
40
40
|
"@fastify/view": "^11.0.0",
|
|
41
41
|
"@spencejs/spence-factories": "^1.0.0",
|
|
42
42
|
"@spencejs/spence-mongo-repos": "^1.0.0",
|
|
43
|
-
"@verii/auth": "1.
|
|
44
|
-
"@verii/base-contract-io": "1.
|
|
45
|
-
"@verii/blockchain-functions": "1.
|
|
46
|
-
"@verii/common-fetchers": "1.
|
|
47
|
-
"@verii/common-functions": "1.
|
|
48
|
-
"@verii/common-schemas": "1.
|
|
49
|
-
"@verii/config": "1.
|
|
50
|
-
"@verii/contract-permissions": "1.
|
|
51
|
-
"@verii/crypto": "1.
|
|
52
|
-
"@verii/csv-parser": "1.
|
|
53
|
-
"@verii/db-kms": "1.
|
|
54
|
-
"@verii/did-doc": "1.
|
|
55
|
-
"@verii/fastify-plugins": "1.
|
|
56
|
-
"@verii/http-client": "1.
|
|
57
|
-
"@verii/jwt": "1.
|
|
58
|
-
"@verii/metadata-registration": "1.
|
|
59
|
-
"@verii/organizations-registry": "1.
|
|
60
|
-
"@verii/rest-queries": "1.
|
|
61
|
-
"@verii/server-provider": "1.
|
|
62
|
-
"@verii/spencer-mongo-extensions": "1.
|
|
63
|
-
"@verii/test-regexes": "1.
|
|
64
|
-
"@verii/validation": "1.
|
|
65
|
-
"@verii/vc-checks": "1.
|
|
66
|
-
"@verii/verii-issuing": "1.
|
|
67
|
-
"@verii/verii-verification": "1.
|
|
43
|
+
"@verii/auth": "1.2.0-pre.1776405743",
|
|
44
|
+
"@verii/base-contract-io": "1.2.0-pre.1776405743",
|
|
45
|
+
"@verii/blockchain-functions": "1.2.0-pre.1776405743",
|
|
46
|
+
"@verii/common-fetchers": "1.2.0-pre.1776405743",
|
|
47
|
+
"@verii/common-functions": "1.2.0-pre.1776405743",
|
|
48
|
+
"@verii/common-schemas": "1.2.0-pre.1776405743",
|
|
49
|
+
"@verii/config": "1.2.0-pre.1776405743",
|
|
50
|
+
"@verii/contract-permissions": "1.2.0-pre.1776405743",
|
|
51
|
+
"@verii/crypto": "1.2.0-pre.1776405743",
|
|
52
|
+
"@verii/csv-parser": "1.2.0-pre.1776405743",
|
|
53
|
+
"@verii/db-kms": "1.2.0-pre.1776405743",
|
|
54
|
+
"@verii/did-doc": "1.2.0-pre.1776405743",
|
|
55
|
+
"@verii/fastify-plugins": "1.2.0-pre.1776405743",
|
|
56
|
+
"@verii/http-client": "1.2.0-pre.1776405743",
|
|
57
|
+
"@verii/jwt": "1.2.0-pre.1776405743",
|
|
58
|
+
"@verii/metadata-registration": "1.2.0-pre.1776405743",
|
|
59
|
+
"@verii/organizations-registry": "1.2.0-pre.1776405743",
|
|
60
|
+
"@verii/rest-queries": "1.2.0-pre.1776405743",
|
|
61
|
+
"@verii/server-provider": "1.2.0-pre.1776405743",
|
|
62
|
+
"@verii/spencer-mongo-extensions": "1.2.0-pre.1776405743",
|
|
63
|
+
"@verii/test-regexes": "1.2.0-pre.1776405743",
|
|
64
|
+
"@verii/validation": "1.2.0-pre.1776405743",
|
|
65
|
+
"@verii/vc-checks": "1.2.0-pre.1776405743",
|
|
66
|
+
"@verii/verii-issuing": "1.2.0-pre.1776405743",
|
|
67
|
+
"@verii/verii-verification": "1.2.0-pre.1776405743",
|
|
68
68
|
"ajv": "8.18.0",
|
|
69
69
|
"canonicalize": "^2.1.0",
|
|
70
70
|
"date-fns": "~4.1.0",
|
|
@@ -83,10 +83,10 @@
|
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
85
|
"@spencejs/spence-config": "1.0.0",
|
|
86
|
-
"@verii/endpoints-organizations-registrar": "1.
|
|
87
|
-
"@verii/sample-data": "1.
|
|
86
|
+
"@verii/endpoints-organizations-registrar": "1.2.0-pre.1776405743",
|
|
87
|
+
"@verii/sample-data": "1.2.0-pre.1776405743",
|
|
88
88
|
"@verii/test-regexes": "0.5.0-build",
|
|
89
|
-
"@verii/tests-helpers": "1.
|
|
89
|
+
"@verii/tests-helpers": "1.2.0-pre.1776405743",
|
|
90
90
|
"cheerio": "1.2.0",
|
|
91
91
|
"dotenv": "16.6.1",
|
|
92
92
|
"eslint": "9.39.4",
|
|
@@ -108,5 +108,5 @@
|
|
|
108
108
|
"prettier": "3.8.1",
|
|
109
109
|
"qs": "6.15.1"
|
|
110
110
|
},
|
|
111
|
-
"gitHead": "
|
|
111
|
+
"gitHead": "54b33e26e7124e2d8341e67fba7385e207b3bd1e"
|
|
112
112
|
}
|