@platformatic/runtime 2.0.0 → 2.0.2
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/config.d.ts +1 -1
- package/package.json +13 -13
- package/schema.json +1 -1
- package/fixtures/botched-start/platformatic.runtime.json +0 -14
- package/fixtures/botched-start/services/a/platformatic.service.json +0 -14
- package/fixtures/botched-start/services/a/plugin.js +0 -11
- package/fixtures/composerApp/api1.json +0 -65
- package/fixtures/composerApp/platformatic.composer.json +0 -23
- package/fixtures/configs/invalid-entrypoint.json +0 -14
- package/fixtures/configs/invalid-schema-type.config.json +0 -19
- package/fixtures/configs/invalid-web-with-services.json +0 -36
- package/fixtures/configs/missing-property.config.json +0 -13
- package/fixtures/configs/missing-service-config.json +0 -7
- package/fixtures/configs/monorepo-composer-no-autoload.json +0 -32
- package/fixtures/configs/monorepo-composer.json +0 -19
- package/fixtures/configs/monorepo-create-cycle.json +0 -20
- package/fixtures/configs/monorepo-missing-dependencies.json +0 -9
- package/fixtures/configs/monorepo-no-cycles.json +0 -19
- package/fixtures/configs/monorepo-openapi.json +0 -12
- package/fixtures/configs/monorepo-watch-env.json +0 -19
- package/fixtures/configs/monorepo-watch-single.json +0 -12
- package/fixtures/configs/monorepo-watch.json +0 -27
- package/fixtures/configs/monorepo-with-dependencies.json +0 -8
- package/fixtures/configs/monorepo-with-management-api-without-metrics.json +0 -21
- package/fixtures/configs/monorepo-with-management-api.json +0 -20
- package/fixtures/configs/monorepo-with-metrics.json +0 -32
- package/fixtures/configs/monorepo.json +0 -27
- package/fixtures/configs/no-schema.config.json +0 -18
- package/fixtures/configs/no-services.config.json +0 -5
- package/fixtures/configs/no-sources.config.json +0 -4
- package/fixtures/configs/service-throws-on-start.json +0 -11
- package/fixtures/configs/service-with-env-port.json +0 -32
- package/fixtures/configs/service-with-stdio.json +0 -12
- package/fixtures/configs/watch.json +0 -19
- package/fixtures/crash-on-bootstrap/platformatic.runtime.json +0 -15
- package/fixtures/crash-on-bootstrap/services/service-1/platformatic.service.json +0 -14
- package/fixtures/crash-on-bootstrap/services/service-1/plugin.js +0 -5
- package/fixtures/crash-on-bootstrap/services/service-2/platformatic.service.json +0 -14
- package/fixtures/crash-on-bootstrap/services/service-2/plugin.js +0 -5
- package/fixtures/dbApp/package.json +0 -5
- package/fixtures/dbApp/platformatic.db.json +0 -28
- package/fixtures/dbApp/plugin.js +0 -12
- package/fixtures/dbAppNoName/package.json +0 -4
- package/fixtures/dbAppNoName/platformatic.db.json +0 -27
- package/fixtures/dbAppNoName/plugin.js +0 -12
- package/fixtures/dbAppNoPackageJson/platformatic.db.json +0 -27
- package/fixtures/dbAppNoPackageJson/plugin.js +0 -12
- package/fixtures/dbAppWithMigrationError/migrations/001.do.sql +0 -4
- package/fixtures/dbAppWithMigrationError/migrations/001.undo.sql +0 -1
- package/fixtures/dbAppWithMigrationError/package.json +0 -5
- package/fixtures/dbAppWithMigrationError/platformatic.db.json +0 -28
- package/fixtures/dbAppWithMigrationError/plugin.js +0 -5
- package/fixtures/do-not-reload-dependencies/node_modules/foo/foo.js +0 -2
- package/fixtures/do-not-reload-dependencies/node_modules/foo/package.json +0 -3
- package/fixtures/do-not-reload-dependencies/node_modules/foom/foom.js +0 -1
- package/fixtures/do-not-reload-dependencies/node_modules/foom/package.json +0 -4
- package/fixtures/do-not-reload-dependencies/platformatic.service.json +0 -18
- package/fixtures/do-not-reload-dependencies/plugin.js +0 -14
- package/fixtures/do-not-restart-on-crash/platformatic.runtime.json +0 -15
- package/fixtures/do-not-restart-on-crash/services/a/platformatic.service.json +0 -16
- package/fixtures/do-not-restart-on-crash/services/a/plugin.js +0 -9
- package/fixtures/empty/hello.js +0 -7
- package/fixtures/express/platformatic.runtime.json +0 -21
- package/fixtures/express/services/a/platformatic.service.json +0 -14
- package/fixtures/express/services/a/plugin.js +0 -26
- package/fixtures/express/services/b/platformatic.service.json +0 -14
- package/fixtures/express/services/b/plugin.js +0 -19
- package/fixtures/external-client/openmeter.json +0 -420
- package/fixtures/external-client/platformatic.service.json +0 -13
- package/fixtures/interceptors/external.js +0 -27
- package/fixtures/interceptors/idp.js +0 -48
- package/fixtures/interceptors/platformatic.runtime.json +0 -27
- package/fixtures/interceptors/services/a/platformatic.service.json +0 -17
- package/fixtures/interceptors/services/a/plugin.js +0 -15
- package/fixtures/interceptors-2/platformatic.runtime.json +0 -25
- package/fixtures/interceptors-2/services/a/platformatic.service.json +0 -17
- package/fixtures/interceptors-2/services/a/plugin.js +0 -15
- package/fixtures/leven/.env.sample +0 -4
- package/fixtures/leven/platformatic.runtime.json +0 -11
- package/fixtures/leven/services/deeply-spittle/platformatic.service.json +0 -25
- package/fixtures/leven/services/deeply-spittle/plugins/example.js +0 -6
- package/fixtures/leven/services/deeply-spittle/routes/root.js +0 -8
- package/fixtures/leven/services/rainy-empire/platformatic.composer.json +0 -21
- package/fixtures/management-api/package.json +0 -4
- package/fixtures/management-api/platformatic.json +0 -22
- package/fixtures/management-api/services/service-1/platformatic.json +0 -15
- package/fixtures/management-api/services/service-1/plugin.js +0 -16
- package/fixtures/management-api/services/service-2/platformatic.json +0 -9
- package/fixtures/management-api/services/service-2/plugin.js +0 -8
- package/fixtures/management-api/services/service-db/migrations/001.do.sql +0 -4
- package/fixtures/management-api/services/service-db/migrations/001.undo.sql +0 -1
- package/fixtures/management-api/services/service-db/package.json +0 -5
- package/fixtures/management-api/services/service-db/platformatic.db.json +0 -29
- package/fixtures/management-api/services/service-db/plugin.js +0 -12
- package/fixtures/management-api-custom-labels/package.json +0 -4
- package/fixtures/management-api-custom-labels/platformatic.json +0 -22
- package/fixtures/management-api-custom-labels/services/service-1/platformatic.json +0 -12
- package/fixtures/management-api-custom-labels/services/service-1/plugin.js +0 -16
- package/fixtures/management-api-custom-labels/services/service-2/platformatic.json +0 -9
- package/fixtures/management-api-custom-labels/services/service-2/plugin.js +0 -8
- package/fixtures/management-api-custom-labels/services/service-db/migrations/001.do.sql +0 -4
- package/fixtures/management-api-custom-labels/services/service-db/migrations/001.undo.sql +0 -1
- package/fixtures/management-api-custom-labels/services/service-db/package.json +0 -5
- package/fixtures/management-api-custom-labels/services/service-db/platformatic.db.json +0 -29
- package/fixtures/management-api-custom-labels/services/service-db/plugin.js +0 -12
- package/fixtures/management-api-without-metrics/package.json +0 -4
- package/fixtures/management-api-without-metrics/platformatic.json +0 -14
- package/fixtures/management-api-without-metrics/services/service-1/platformatic.json +0 -8
- package/fixtures/monorepo/composerApp/external-service.json +0 -204
- package/fixtures/monorepo/composerApp/platformatic.composer.json +0 -46
- package/fixtures/monorepo/dbApp/platformatic.db.json +0 -16
- package/fixtures/monorepo/docs/README.md +0 -1
- package/fixtures/monorepo/serviceApp/deps/dep1.js +0 -7
- package/fixtures/monorepo/serviceApp/deps/dep2.mjs +0 -2
- package/fixtures/monorepo/serviceApp/deps/dep3.mjs +0 -2
- package/fixtures/monorepo/serviceApp/deps/dep4.js +0 -1
- package/fixtures/monorepo/serviceApp/platformatic.service.json +0 -23
- package/fixtures/monorepo/serviceApp/plugin.js +0 -29
- package/fixtures/monorepo/serviceApp/with-logger/package.json +0 -5
- package/fixtures/monorepo/serviceApp/with-logger/with-logger.cjs +0 -25
- package/fixtures/monorepo/serviceApp/with-logger/with-logger.d.ts +0 -38
- package/fixtures/monorepo/serviceApp/with-logger/with-logger.openapi.json +0 -22
- package/fixtures/monorepo/serviceAppWithLogger/platformatic.service.json +0 -20
- package/fixtures/monorepo/serviceAppWithLogger/plugin.js +0 -20
- package/fixtures/monorepo/serviceAppWithMultiplePlugins/platformatic.service.json +0 -28
- package/fixtures/monorepo/serviceAppWithMultiplePlugins/plugin.js +0 -8
- package/fixtures/monorepo/serviceAppWithMultiplePlugins/plugin2.mjs +0 -5
- package/fixtures/monorepo-missing-dependencies/composer/platformatic.json +0 -24
- package/fixtures/monorepo-openapi/serviceAppWithoutOpenapi/platformatic.service.json +0 -13
- package/fixtures/monorepo-openapi/serviceAppWithoutOpenapi/plugin.js +0 -8
- package/fixtures/monorepo-watch/service1/platformatic.service.json +0 -13
- package/fixtures/monorepo-watch/service1/plugin.js +0 -8
- package/fixtures/monorepo-with-dependencies/main/clients/service-1/package.json +0 -3
- package/fixtures/monorepo-with-dependencies/main/clients/service-1/schema.json +0 -204
- package/fixtures/monorepo-with-dependencies/main/clients/service-2/package.json +0 -3
- package/fixtures/monorepo-with-dependencies/main/clients/service-2/schema.json +0 -204
- package/fixtures/monorepo-with-dependencies/main/external-service.schema.json +0 -204
- package/fixtures/monorepo-with-dependencies/main/platformatic.json +0 -46
- package/fixtures/monorepo-with-dependencies/service-1/clients/service-2/package.json +0 -3
- package/fixtures/monorepo-with-dependencies/service-1/clients/service-2/schema.json +0 -204
- package/fixtures/monorepo-with-dependencies/service-1/external-service.schema.json +0 -204
- package/fixtures/monorepo-with-dependencies/service-1/platformatic.json +0 -29
- package/fixtures/monorepo-with-dependencies/service-2/platformatic.json +0 -15
- package/fixtures/no-env.service.json +0 -25
- package/fixtures/preload/platformatic.runtime.json +0 -15
- package/fixtures/preload/preload.js +0 -1
- package/fixtures/preload/services/a/platformatic.service.json +0 -14
- package/fixtures/preload/services/a/plugin.js +0 -7
- package/fixtures/prom-server/platformatic.json +0 -16
- package/fixtures/prom-server/services/service-1/platformatic.json +0 -13
- package/fixtures/prom-server/services/service-1/plugin.js +0 -8
- package/fixtures/prom-server/services/service-2/platformatic.json +0 -12
- package/fixtures/prom-server/services/service-2/plugin.js +0 -8
- package/fixtures/restart-on-crash/platformatic.runtime.json +0 -14
- package/fixtures/restart-on-crash/services/a/platformatic.service.json +0 -16
- package/fixtures/restart-on-crash/services/a/plugin.js +0 -9
- package/fixtures/sample-runtime/.env +0 -9
- package/fixtures/sample-runtime/package.json +0 -16
- package/fixtures/sample-runtime/platformatic.json +0 -18
- package/fixtures/sample-runtime/services/rival/package.json +0 -16
- package/fixtures/sample-runtime/services/rival/platformatic.json +0 -33
- package/fixtures/sample-runtime/services/rival/routes/root.js +0 -7
- package/fixtures/sample-runtime-with-2-services/.env +0 -10
- package/fixtures/sample-runtime-with-2-services/package.json +0 -16
- package/fixtures/sample-runtime-with-2-services/platformatic.json +0 -18
- package/fixtures/sample-runtime-with-2-services/services/foobar/package.json +0 -16
- package/fixtures/sample-runtime-with-2-services/services/foobar/platformatic.json +0 -18
- package/fixtures/sample-runtime-with-2-services/services/foobar/routes/root.js +0 -7
- package/fixtures/sample-runtime-with-2-services/services/rival/package.json +0 -16
- package/fixtures/sample-runtime-with-2-services/services/rival/platformatic.json +0 -33
- package/fixtures/sample-runtime-with-2-services/services/rival/routes/root.js +0 -7
- package/fixtures/server/logger-transport/custom-transport.js +0 -15
- package/fixtures/server/logger-transport/platformatic.runtime.json +0 -21
- package/fixtures/server/logger-transport/services/echo/platformatic.service.json +0 -12
- package/fixtures/server/logger-transport/services/echo/routes/hello.js +0 -6
- package/fixtures/server/overrides-service/platformatic.runtime.json +0 -18
- package/fixtures/server/overrides-service/services/echo/platformatic.service.json +0 -19
- package/fixtures/server/overrides-service/services/echo/routes/span.js +0 -8
- package/fixtures/server/runtime-server/platformatic.runtime.json +0 -18
- package/fixtures/server/runtime-server/services/echo/platformatic.service.json +0 -12
- package/fixtures/server/runtime-server/services/echo/routes/hello.js +0 -6
- package/fixtures/serviceAppThrowsOnStart/platformatic.service.json +0 -12
- package/fixtures/serviceAppThrowsOnStart/plugin.js +0 -6
- package/fixtures/stackables/node_modules/foo/foo.js +0 -62
- package/fixtures/stackables/node_modules/foo/package.json +0 -4
- package/fixtures/stackables/platformatic.json +0 -11
- package/fixtures/start-command-in-runtime.js +0 -24
- package/fixtures/start-command.js +0 -9
- package/fixtures/starter.js +0 -9
- package/fixtures/stdio/platformatic.service.json +0 -6
- package/fixtures/stdio/plugin.js +0 -24
- package/fixtures/telemetry/platformatic.runtime.json +0 -18
- package/fixtures/telemetry/services/echo/platformatic.service.json +0 -19
- package/fixtures/telemetry/services/echo/routes/span.js +0 -22
- package/fixtures/telemetry/services/service-1/platformatic.service.json +0 -19
- package/fixtures/telemetry/services/service-1/routes/echo.js +0 -7
- package/fixtures/typescript/.env +0 -4
- package/fixtures/typescript/platformatic.runtime.json +0 -11
- package/fixtures/typescript/services/composer/platformatic.composer.json +0 -28
- package/fixtures/typescript/services/movies/.env +0 -4
- package/fixtures/typescript/services/movies/global.d.ts +0 -23
- package/fixtures/typescript/services/movies/migrations/001.do.sql +0 -6
- package/fixtures/typescript/services/movies/migrations/001.undo.sql +0 -3
- package/fixtures/typescript/services/movies/platformatic.db.json +0 -33
- package/fixtures/typescript/services/movies/plugin.ts +0 -5
- package/fixtures/typescript/services/movies/tsconfig.json +0 -21
- package/fixtures/typescript/services/movies/types/Movie.d.ts +0 -9
- package/fixtures/typescript/services/movies/types/index.d.ts +0 -7
- package/fixtures/typescript/services/titles/client/client.d.ts +0 -141
- package/fixtures/typescript/services/titles/client/client.openapi.json +0 -630
- package/fixtures/typescript/services/titles/client/package.json +0 -4
- package/fixtures/typescript/services/titles/platformatic.service.json +0 -31
- package/fixtures/typescript/services/titles/plugins/example.ts +0 -6
- package/fixtures/typescript/services/titles/routes/root.ts +0 -21
- package/fixtures/typescript/services/titles/tsconfig.json +0 -21
- package/fixtures/typescript-custom-flags/.env +0 -4
- package/fixtures/typescript-custom-flags/platformatic.runtime.json +0 -11
- package/fixtures/typescript-custom-flags/services/composer/platformatic.composer.json +0 -28
- package/fixtures/typescript-custom-flags/services/movies/global.d.ts +0 -23
- package/fixtures/typescript-custom-flags/services/movies/migrations/001.do.sql +0 -6
- package/fixtures/typescript-custom-flags/services/movies/migrations/001.undo.sql +0 -3
- package/fixtures/typescript-custom-flags/services/movies/platformatic.db.json +0 -35
- package/fixtures/typescript-custom-flags/services/movies/plugin.ts +0 -5
- package/fixtures/typescript-custom-flags/services/movies/tsconfig.json +0 -20
- package/fixtures/typescript-custom-flags/services/movies/types/Movie.d.ts +0 -9
- package/fixtures/typescript-custom-flags/services/movies/types/index.d.ts +0 -7
- package/fixtures/typescript-custom-flags/services/titles/client/client.d.ts +0 -141
- package/fixtures/typescript-custom-flags/services/titles/client/client.openapi.json +0 -630
- package/fixtures/typescript-custom-flags/services/titles/client/package.json +0 -4
- package/fixtures/typescript-custom-flags/services/titles/platformatic.service.json +0 -33
- package/fixtures/typescript-custom-flags/services/titles/plugins/example.ts +0 -6
- package/fixtures/typescript-custom-flags/services/titles/routes/root.ts +0 -21
- package/fixtures/typescript-custom-flags/services/titles/tsconfig.json +0 -21
- package/fixtures/typescript-no-env/platformatic.runtime.json +0 -11
- package/fixtures/typescript-no-env/services/composer/platformatic.composer.json +0 -28
- package/fixtures/typescript-no-env/services/movies/global.d.ts +0 -23
- package/fixtures/typescript-no-env/services/movies/migrations/001.do.sql +0 -6
- package/fixtures/typescript-no-env/services/movies/migrations/001.undo.sql +0 -3
- package/fixtures/typescript-no-env/services/movies/platformatic.db.json +0 -33
- package/fixtures/typescript-no-env/services/movies/plugin.ts +0 -5
- package/fixtures/typescript-no-env/services/movies/tsconfig.json +0 -21
- package/fixtures/typescript-no-env/services/movies/types/Movie.d.ts +0 -9
- package/fixtures/typescript-no-env/services/movies/types/index.d.ts +0 -7
- package/fixtures/typescript-no-env/services/titles/client/client.d.ts +0 -141
- package/fixtures/typescript-no-env/services/titles/client/client.openapi.json +0 -630
- package/fixtures/typescript-no-env/services/titles/client/package.json +0 -4
- package/fixtures/typescript-no-env/services/titles/platformatic.service.json +0 -31
- package/fixtures/typescript-no-env/services/titles/plugins/example.ts +0 -6
- package/fixtures/typescript-no-env/services/titles/routes/root.ts +0 -21
- package/fixtures/typescript-no-env/services/titles/tsconfig.json +0 -21
package/config.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* and run json-schema-to-typescript to regenerate this file.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
export type
|
|
8
|
+
export type HttpsSchemasPlatformaticDevPlatformaticRuntime202Json = {
|
|
9
9
|
[k: string]: unknown;
|
|
10
10
|
} & {
|
|
11
11
|
$schema?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/runtime",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
"typescript": "^5.5.4",
|
|
35
35
|
"undici-oidc-interceptor": "^0.5.0",
|
|
36
36
|
"why-is-node-running": "^2.2.2",
|
|
37
|
-
"@platformatic/composer": "2.0.
|
|
38
|
-
"@platformatic/db": "2.0.
|
|
39
|
-
"@platformatic/service": "2.0.
|
|
40
|
-
"@platformatic/sql-
|
|
41
|
-
"@platformatic/sql-
|
|
37
|
+
"@platformatic/composer": "2.0.2",
|
|
38
|
+
"@platformatic/db": "2.0.2",
|
|
39
|
+
"@platformatic/service": "2.0.2",
|
|
40
|
+
"@platformatic/sql-mapper": "2.0.2",
|
|
41
|
+
"@platformatic/sql-graphql": "2.0.2"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@fastify/error": "^4.0.0",
|
|
@@ -68,13 +68,13 @@
|
|
|
68
68
|
"undici": "^6.9.0",
|
|
69
69
|
"undici-thread-interceptor": "^0.6.1",
|
|
70
70
|
"ws": "^8.16.0",
|
|
71
|
-
"@platformatic/basic": "2.0.
|
|
72
|
-
"@platformatic/config": "2.0.
|
|
73
|
-
"@platformatic/
|
|
74
|
-
"@platformatic/
|
|
75
|
-
"@platformatic/telemetry": "2.0.
|
|
76
|
-
"@platformatic/
|
|
77
|
-
"@platformatic/
|
|
71
|
+
"@platformatic/basic": "2.0.2",
|
|
72
|
+
"@platformatic/config": "2.0.2",
|
|
73
|
+
"@platformatic/itc": "2.0.2",
|
|
74
|
+
"@platformatic/generators": "2.0.2",
|
|
75
|
+
"@platformatic/telemetry": "2.0.2",
|
|
76
|
+
"@platformatic/utils": "2.0.2",
|
|
77
|
+
"@platformatic/ts-compiler": "2.0.2"
|
|
78
78
|
},
|
|
79
79
|
"scripts": {
|
|
80
80
|
"test": "npm run lint && borp --concurrency=1 --timeout=180000 && tsd",
|
package/schema.json
CHANGED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://schemas.platformatic.dev/@platformatic/runtime/1.52.0.json",
|
|
3
|
-
"entrypoint": "a",
|
|
4
|
-
"autoload": {
|
|
5
|
-
"path": "./services"
|
|
6
|
-
},
|
|
7
|
-
"server": {
|
|
8
|
-
"hostname": "127.0.0.1",
|
|
9
|
-
"port": "{PORT}",
|
|
10
|
-
"logger": {
|
|
11
|
-
"level": "info"
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"openapi": "3.0.3",
|
|
3
|
-
"info": {
|
|
4
|
-
"version": "8.3.1",
|
|
5
|
-
"title": "@fastify/swagger"
|
|
6
|
-
},
|
|
7
|
-
"components": {
|
|
8
|
-
"schemas": {}
|
|
9
|
-
},
|
|
10
|
-
"paths": {
|
|
11
|
-
"/users": {
|
|
12
|
-
"get": {
|
|
13
|
-
"responses": {
|
|
14
|
-
"200": {
|
|
15
|
-
"description": "Default Response"
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"post": {
|
|
20
|
-
"responses": {
|
|
21
|
-
"200": {
|
|
22
|
-
"description": "Default Response"
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
"put": {
|
|
27
|
-
"responses": {
|
|
28
|
-
"200": {
|
|
29
|
-
"description": "Default Response"
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
"/users/{id}": {
|
|
35
|
-
"get": {
|
|
36
|
-
"responses": {
|
|
37
|
-
"200": {
|
|
38
|
-
"description": "Default Response"
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
"post": {
|
|
43
|
-
"responses": {
|
|
44
|
-
"200": {
|
|
45
|
-
"description": "Default Response"
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"put": {
|
|
50
|
-
"responses": {
|
|
51
|
-
"200": {
|
|
52
|
-
"description": "Default Response"
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
"delete": {
|
|
57
|
-
"responses": {
|
|
58
|
-
"200": {
|
|
59
|
-
"description": "Default Response"
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://schemas.platformatic.dev/@platformatic/composer/1.52.0.json",
|
|
3
|
-
"server": {
|
|
4
|
-
"hostname": "127.0.0.1",
|
|
5
|
-
"port": 0,
|
|
6
|
-
"logger": {
|
|
7
|
-
"level": "info"
|
|
8
|
-
}
|
|
9
|
-
},
|
|
10
|
-
"composer": {
|
|
11
|
-
"services": [
|
|
12
|
-
{
|
|
13
|
-
"id": "api1",
|
|
14
|
-
"origin": "http://127.0.0.1",
|
|
15
|
-
"openapi": {
|
|
16
|
-
"file": "./api1.json"
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
],
|
|
20
|
-
"refreshTimeout": 1000
|
|
21
|
-
},
|
|
22
|
-
"watch": false
|
|
23
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://schemas.platformatic.dev/@platformatic/runtime/1.52.0.json",
|
|
3
|
-
"entrypoint": "invalid",
|
|
4
|
-
"autoload": {
|
|
5
|
-
"path": "../monorepo",
|
|
6
|
-
"exclude": ["docs", "composerApp"],
|
|
7
|
-
"mappings": {
|
|
8
|
-
"serviceAppWithLogger": {
|
|
9
|
-
"id": "with-logger",
|
|
10
|
-
"config": "platformatic.service.json"
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://schemas.platformatic.dev/trickortreat/0.22.0.json",
|
|
3
|
-
"server": {
|
|
4
|
-
"hostname": "127.0.0.1",
|
|
5
|
-
"port": 0,
|
|
6
|
-
"logger": {
|
|
7
|
-
"level": "info",
|
|
8
|
-
"name": "hello server"
|
|
9
|
-
}
|
|
10
|
-
},
|
|
11
|
-
"plugins": {
|
|
12
|
-
"paths": ["./plugin.js"]
|
|
13
|
-
},
|
|
14
|
-
"service": {
|
|
15
|
-
"openapi": true
|
|
16
|
-
},
|
|
17
|
-
"metrics": false,
|
|
18
|
-
"watch": false
|
|
19
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://schemas.platformatic.dev/@platformatic/runtime/1.52.0.json",
|
|
3
|
-
"entrypoint": "db-app",
|
|
4
|
-
"autoload": {
|
|
5
|
-
"path": "../monorepo",
|
|
6
|
-
"exclude": ["docs", "composerApp"],
|
|
7
|
-
"mappings": {
|
|
8
|
-
"serviceAppWithLogger": {
|
|
9
|
-
"id": "with-logger",
|
|
10
|
-
"config": "platformatic.service.json"
|
|
11
|
-
},
|
|
12
|
-
"serviceAppWithMultiplePlugins": {
|
|
13
|
-
"id": "multi-plugin-service",
|
|
14
|
-
"config": "platformatic.service.json"
|
|
15
|
-
},
|
|
16
|
-
"dbApp": {
|
|
17
|
-
"id": "db-app",
|
|
18
|
-
"config": "platformatic.db.json"
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"services": [
|
|
23
|
-
{
|
|
24
|
-
"id": "with-logger",
|
|
25
|
-
"path": "../monorepo/serviceAppWithLogger",
|
|
26
|
-
"config": "platformatic.service.json"
|
|
27
|
-
}
|
|
28
|
-
],
|
|
29
|
-
"web": [
|
|
30
|
-
{
|
|
31
|
-
"id": "with-logger",
|
|
32
|
-
"path": "../monorepo/serviceAppWithLogger",
|
|
33
|
-
"config": "platformatic.service.json"
|
|
34
|
-
}
|
|
35
|
-
]
|
|
36
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://schemas.platformatic.dev/@platformatic/runtime/1.52.0.json",
|
|
3
|
-
"entrypoint": "serviceApp",
|
|
4
|
-
"autoload": {
|
|
5
|
-
"exclude": ["docs", "composerApp"],
|
|
6
|
-
"mappings": {
|
|
7
|
-
"serviceAppWithMultiplePlugins": {
|
|
8
|
-
"id": "multi-plugin-service",
|
|
9
|
-
"config": "platformatic.service.json"
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://schemas.platformatic.dev/@platformatic/runtime/1.52.0.json",
|
|
3
|
-
"entrypoint": "composerApp",
|
|
4
|
-
"watch": false,
|
|
5
|
-
"services": [
|
|
6
|
-
{
|
|
7
|
-
"id": "with-logger",
|
|
8
|
-
"path": "../monorepo/serviceAppWithLogger",
|
|
9
|
-
"config": "platformatic.service.json"
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
"id": "db-app",
|
|
13
|
-
"path": "../monorepo/dbApp",
|
|
14
|
-
"config": "platformatic.db.json"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"id": "composerApp",
|
|
18
|
-
"path": "../monorepo/composerApp",
|
|
19
|
-
"config": "platformatic.composer.json"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"id": "multi-plugin-service",
|
|
23
|
-
"path": "../monorepo/serviceAppWithMultiplePlugins",
|
|
24
|
-
"config": "platformatic.service.json"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"id": "serviceApp",
|
|
28
|
-
"path": "../monorepo/serviceApp",
|
|
29
|
-
"config": "platformatic.service.json"
|
|
30
|
-
}
|
|
31
|
-
]
|
|
32
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://schemas.platformatic.dev/@platformatic/runtime/1.52.0.json",
|
|
3
|
-
"entrypoint": "composerApp",
|
|
4
|
-
"watch": false,
|
|
5
|
-
"autoload": {
|
|
6
|
-
"path": "../monorepo",
|
|
7
|
-
"exclude": ["docs"],
|
|
8
|
-
"mappings": {
|
|
9
|
-
"serviceAppWithLogger": {
|
|
10
|
-
"id": "with-logger",
|
|
11
|
-
"config": "platformatic.service.json"
|
|
12
|
-
},
|
|
13
|
-
"serviceAppWithMultiplePlugins": {
|
|
14
|
-
"id": "multi-plugin-service",
|
|
15
|
-
"config": "platformatic.service.json"
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://schemas.platformatic.dev/@platformatic/runtime/1.52.0.json",
|
|
3
|
-
"entrypoint": "with-logger",
|
|
4
|
-
"watch": false,
|
|
5
|
-
"autoload": {
|
|
6
|
-
"path": "../monorepo",
|
|
7
|
-
"exclude": [
|
|
8
|
-
"composerApp",
|
|
9
|
-
"docs",
|
|
10
|
-
"serviceAppWithMultiplePlugins",
|
|
11
|
-
"serviceAppWithLogger"
|
|
12
|
-
],
|
|
13
|
-
"mappings": {
|
|
14
|
-
"serviceApp": {
|
|
15
|
-
"id": "with-logger",
|
|
16
|
-
"config": "platformatic.service.json"
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://schemas.platformatic.dev/@platformatic/runtime/1.52.0.json",
|
|
3
|
-
"entrypoint": "serviceApp",
|
|
4
|
-
"watch": false,
|
|
5
|
-
"autoload": {
|
|
6
|
-
"path": "../monorepo",
|
|
7
|
-
"exclude": ["docs", "composerApp"],
|
|
8
|
-
"mappings": {
|
|
9
|
-
"serviceAppWithLogger": {
|
|
10
|
-
"id": "with-logger",
|
|
11
|
-
"config": "platformatic.service.json"
|
|
12
|
-
},
|
|
13
|
-
"serviceAppWithMultiplePlugins": {
|
|
14
|
-
"id": "multi-plugin-service",
|
|
15
|
-
"config": "platformatic.service.json"
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://schemas.platformatic.dev/@platformatic/runtime/1.52.0.json",
|
|
3
|
-
"entrypoint": "without-openapi",
|
|
4
|
-
"watch": false,
|
|
5
|
-
"services": [
|
|
6
|
-
{
|
|
7
|
-
"id": "without-openapi",
|
|
8
|
-
"path": "../monorepo-openapi/serviceAppWithoutOpenapi",
|
|
9
|
-
"config": "platformatic.service.json"
|
|
10
|
-
}
|
|
11
|
-
]
|
|
12
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://schemas.platformatic.dev/@platformatic/runtime/1.52.0.json",
|
|
3
|
-
"entrypoint": "serviceApp",
|
|
4
|
-
"watch": "{PLT_WATCH}",
|
|
5
|
-
"autoload": {
|
|
6
|
-
"path": "../monorepo",
|
|
7
|
-
"exclude": ["docs", "composerApp"],
|
|
8
|
-
"mappings": {
|
|
9
|
-
"serviceAppWithLogger": {
|
|
10
|
-
"id": "with-logger",
|
|
11
|
-
"config": "platformatic.service.json"
|
|
12
|
-
},
|
|
13
|
-
"serviceAppWithMultiplePlugins": {
|
|
14
|
-
"id": "multi-plugin-service",
|
|
15
|
-
"config": "platformatic.service.json"
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://platformatic.dev/schemas/v2.0.0/runtime",
|
|
3
|
-
"entrypoint": "serviceApp",
|
|
4
|
-
"watch": true,
|
|
5
|
-
"autoload": {
|
|
6
|
-
"path": "../monorepo",
|
|
7
|
-
"exclude": ["docs", "composerApp"],
|
|
8
|
-
"mappings": {
|
|
9
|
-
"serviceAppWithLogger": {
|
|
10
|
-
"id": "with-logger",
|
|
11
|
-
"config": "platformatic.service.json"
|
|
12
|
-
},
|
|
13
|
-
"serviceAppWithMultiplePlugins": {
|
|
14
|
-
"id": "multi-plugin-service",
|
|
15
|
-
"config": "platformatic.service.json"
|
|
16
|
-
},
|
|
17
|
-
"dbApp": {
|
|
18
|
-
"id": "db-app",
|
|
19
|
-
"config": "platformatic.db.json"
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
"logger": {
|
|
24
|
-
"level": "trace"
|
|
25
|
-
},
|
|
26
|
-
"restartOnError": 1000
|
|
27
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://schemas.platformatic.dev/@platformatic/runtime/1.22.0.json",
|
|
3
|
-
"entrypoint": "serviceApp",
|
|
4
|
-
"watch": true,
|
|
5
|
-
"autoload": {
|
|
6
|
-
"path": "../monorepo",
|
|
7
|
-
"exclude": ["docs", "composerApp"],
|
|
8
|
-
"mappings": {
|
|
9
|
-
"serviceAppWithLogger": {
|
|
10
|
-
"id": "with-logger",
|
|
11
|
-
"config": "platformatic.service.json"
|
|
12
|
-
},
|
|
13
|
-
"serviceAppWithMultiplePlugins": {
|
|
14
|
-
"id": "multi-plugin-service",
|
|
15
|
-
"config": "platformatic.service.json"
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"managementApi": {},
|
|
20
|
-
"metrics": false
|
|
21
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://schemas.platformatic.dev/@platformatic/runtime/1.52.0.json",
|
|
3
|
-
"entrypoint": "serviceApp",
|
|
4
|
-
"watch": false,
|
|
5
|
-
"autoload": {
|
|
6
|
-
"path": "../monorepo",
|
|
7
|
-
"exclude": ["docs", "composerApp"],
|
|
8
|
-
"mappings": {
|
|
9
|
-
"serviceAppWithLogger": {
|
|
10
|
-
"id": "with-logger",
|
|
11
|
-
"config": "platformatic.service.json"
|
|
12
|
-
},
|
|
13
|
-
"serviceAppWithMultiplePlugins": {
|
|
14
|
-
"id": "multi-plugin-service",
|
|
15
|
-
"config": "platformatic.service.json"
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"managementApi": {}
|
|
20
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://platformatic.dev/schemas/v0.20.0/runtime",
|
|
3
|
-
"entrypoint": "serviceApp",
|
|
4
|
-
"watch": false,
|
|
5
|
-
"managementApi": false,
|
|
6
|
-
"autoload": {
|
|
7
|
-
"path": "../monorepo",
|
|
8
|
-
"exclude": [
|
|
9
|
-
"docs",
|
|
10
|
-
"composerApp"
|
|
11
|
-
],
|
|
12
|
-
"mappings": {
|
|
13
|
-
"serviceAppWithLogger": {
|
|
14
|
-
"id": "with-logger",
|
|
15
|
-
"config": "platformatic.service.json"
|
|
16
|
-
},
|
|
17
|
-
"serviceAppWithMultiplePlugins": {
|
|
18
|
-
"id": "multi-plugin-service",
|
|
19
|
-
"config": "platformatic.service.json"
|
|
20
|
-
},
|
|
21
|
-
"dbApp": {
|
|
22
|
-
"id": "db-app",
|
|
23
|
-
"config": "platformatic.db.json"
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"metrics": {
|
|
28
|
-
"labels": {
|
|
29
|
-
"app": "serviceApp"
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://schemas.platformatic.dev/@platformatic/runtime/1.52.0.json",
|
|
3
|
-
"entrypoint": "serviceApp",
|
|
4
|
-
"watch": false,
|
|
5
|
-
"managementApi": false,
|
|
6
|
-
"autoload": {
|
|
7
|
-
"path": "../monorepo",
|
|
8
|
-
"exclude": [
|
|
9
|
-
"docs",
|
|
10
|
-
"composerApp"
|
|
11
|
-
],
|
|
12
|
-
"mappings": {
|
|
13
|
-
"serviceAppWithLogger": {
|
|
14
|
-
"id": "with-logger",
|
|
15
|
-
"config": "platformatic.service.json"
|
|
16
|
-
},
|
|
17
|
-
"serviceAppWithMultiplePlugins": {
|
|
18
|
-
"id": "multi-plugin-service",
|
|
19
|
-
"config": "platformatic.service.json"
|
|
20
|
-
},
|
|
21
|
-
"dbApp": {
|
|
22
|
-
"id": "db-app",
|
|
23
|
-
"config": "platformatic.db.json"
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"server": {
|
|
3
|
-
"hostname": "127.0.0.1",
|
|
4
|
-
"port": 0,
|
|
5
|
-
"logger": {
|
|
6
|
-
"level": "info",
|
|
7
|
-
"name": "hello server"
|
|
8
|
-
}
|
|
9
|
-
},
|
|
10
|
-
"plugins": {
|
|
11
|
-
"paths": ["./plugin.js"]
|
|
12
|
-
},
|
|
13
|
-
"service": {
|
|
14
|
-
"openapi": true
|
|
15
|
-
},
|
|
16
|
-
"metrics": false,
|
|
17
|
-
"watch": false
|
|
18
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://schemas.platformatic.dev/@platformatic/runtime/1.52.0.json",
|
|
3
|
-
"entrypoint": "serviceThrowsOnStart",
|
|
4
|
-
"services": [
|
|
5
|
-
{
|
|
6
|
-
"id": "serviceThrowsOnStart",
|
|
7
|
-
"path": "../serviceAppThrowsOnStart",
|
|
8
|
-
"config": "platformatic.service.json"
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
}
|