@odatano/core 2.0.0-rc.8 → 2.0.0-rc.9
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 +2 -0
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -90,6 +90,8 @@ Service available at `http://localhost:4004`. See the [Quick Start Guide](docs/Q
|
|
|
90
90
|
> Production needs the `[production]` profile (`NODE_ENV=production`), which switches to `auth: xsuaa`. Don't expose a dev-mode instance. See the [Security Guide](docs/guides/SECURITY_GUIDE.md#authentication-xsuaa).
|
|
91
91
|
>
|
|
92
92
|
> The Docker image runs `NODE_ENV=production` with HTTP basic auth via `@odatano/cap-auth` (`ODATANO_HTTP_PASSWORD` required, user `ODATANO_HTTP_USER` default `odatano`, roles `ODATANO_HTTP_ROLES` default `Admin`; 20 failed attempts per 15 min per client address and user, then 429). `ODATANO_AUTH=dummy` disables authentication for local testing only. `getLiveness()` and `VerifyDataSignature` stay anonymous.
|
|
93
|
+
>
|
|
94
|
+
> Database of the image: `ODATANO_DB_URL=postgres://user:pw@host:5432/db` selects PostgreSQL (schema deployed on every boot); otherwise SQLite at `ODATANO_DB_PATH` (default `/data/db.sqlite`). `docker compose run --rm --no-deps odatano migrate --from /data/db.sqlite` copies an existing SQLite file into a freshly deployed PostgreSQL.
|
|
93
95
|
|
|
94
96
|
## Services
|
|
95
97
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@odatano/core",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.9",
|
|
4
4
|
"description": "SAP CAP plugin for Cardano blockchain OData V4 integration",
|
|
5
5
|
"imports": {
|
|
6
6
|
"#cds-models/*": "./@cds-models/*/index.js"
|
|
@@ -56,6 +56,7 @@
|
|
|
56
56
|
"@cap-js/cds-test": "^0.4.1",
|
|
57
57
|
"@cap-js/cds-typer": "^0.40.0",
|
|
58
58
|
"@cap-js/cds-types": "^0.18.0",
|
|
59
|
+
"@cap-js/postgres": "^3.1.1",
|
|
59
60
|
"@cap-js/sqlite": "^3",
|
|
60
61
|
"@sap/cds": "^10",
|
|
61
62
|
"@sap/cds-dk": "^10",
|