@dbos-inc/dbos-sdk 0.8.45-preview → 0.8.46-preview

Sign up to get free protection for your applications and to get access to all the features.
Files changed (196) hide show
  1. package/dist/packages/dbos-cloud/applications/delete-app.d.ts.map +1 -1
  2. package/dist/packages/dbos-cloud/applications/delete-app.js +1 -2
  3. package/dist/packages/dbos-cloud/applications/delete-app.js.map +1 -1
  4. package/dist/packages/dbos-cloud/applications/deploy-app-code.d.ts.map +1 -1
  5. package/dist/packages/dbos-cloud/applications/deploy-app-code.js +5 -7
  6. package/dist/packages/dbos-cloud/applications/deploy-app-code.js.map +1 -1
  7. package/dist/packages/dbos-cloud/applications/get-app-logs.d.ts.map +1 -1
  8. package/dist/packages/dbos-cloud/applications/get-app-logs.js +1 -2
  9. package/dist/packages/dbos-cloud/applications/get-app-logs.js.map +1 -1
  10. package/dist/packages/dbos-cloud/applications/list-apps.d.ts.map +1 -1
  11. package/dist/packages/dbos-cloud/applications/list-apps.js +1 -2
  12. package/dist/packages/dbos-cloud/applications/list-apps.js.map +1 -1
  13. package/dist/packages/dbos-cloud/applications/register-app.d.ts.map +1 -1
  14. package/dist/packages/dbos-cloud/applications/register-app.js +1 -2
  15. package/dist/packages/dbos-cloud/applications/register-app.js.map +1 -1
  16. package/dist/packages/dbos-cloud/applications/update-app.d.ts.map +1 -1
  17. package/dist/packages/dbos-cloud/applications/update-app.js +1 -2
  18. package/dist/packages/dbos-cloud/applications/update-app.js.map +1 -1
  19. package/dist/packages/dbos-cloud/cloudutils.d.ts +7 -0
  20. package/dist/packages/dbos-cloud/cloudutils.d.ts.map +1 -1
  21. package/dist/packages/dbos-cloud/cloudutils.js +44 -3
  22. package/dist/packages/dbos-cloud/cloudutils.js.map +1 -1
  23. package/dist/packages/dbos-cloud/login.d.ts.map +1 -1
  24. package/dist/packages/dbos-cloud/login.js +3 -4
  25. package/dist/packages/dbos-cloud/login.js.map +1 -1
  26. package/dist/packages/dbos-cloud/register.d.ts.map +1 -1
  27. package/dist/packages/dbos-cloud/register.js +1 -2
  28. package/dist/packages/dbos-cloud/register.js.map +1 -1
  29. package/dist/packages/dbos-cloud/userdb.d.ts.map +1 -1
  30. package/dist/packages/dbos-cloud/userdb.js +3 -4
  31. package/dist/packages/dbos-cloud/userdb.js.map +1 -1
  32. package/dist/src/context.d.ts +1 -0
  33. package/dist/src/context.d.ts.map +1 -1
  34. package/dist/src/httpServer/server.d.ts +2 -1
  35. package/dist/src/httpServer/server.d.ts.map +1 -1
  36. package/dist/src/testing/testing_runtime.d.ts +2 -1
  37. package/dist/src/testing/testing_runtime.d.ts.map +1 -1
  38. package/dist/src/utils.d.ts +0 -1
  39. package/dist/src/utils.d.ts.map +1 -1
  40. package/dist/src/utils.js +3 -12
  41. package/dist/src/utils.js.map +1 -1
  42. package/dist/tsconfig.build.tsbuildinfo +1 -1
  43. package/package.json +1 -1
  44. package/packages/dbos-cloud/dist/packages/dbos-cloud/applications/delete-app.d.ts.map +1 -1
  45. package/packages/dbos-cloud/dist/packages/dbos-cloud/applications/delete-app.js +1 -2
  46. package/packages/dbos-cloud/dist/packages/dbos-cloud/applications/delete-app.js.map +1 -1
  47. package/packages/dbos-cloud/dist/packages/dbos-cloud/applications/deploy-app-code.d.ts.map +1 -1
  48. package/packages/dbos-cloud/dist/packages/dbos-cloud/applications/deploy-app-code.js +5 -7
  49. package/packages/dbos-cloud/dist/packages/dbos-cloud/applications/deploy-app-code.js.map +1 -1
  50. package/packages/dbos-cloud/dist/packages/dbos-cloud/applications/get-app-logs.d.ts.map +1 -1
  51. package/packages/dbos-cloud/dist/packages/dbos-cloud/applications/get-app-logs.js +1 -2
  52. package/packages/dbos-cloud/dist/packages/dbos-cloud/applications/get-app-logs.js.map +1 -1
  53. package/packages/dbos-cloud/dist/packages/dbos-cloud/applications/list-apps.d.ts.map +1 -1
  54. package/packages/dbos-cloud/dist/packages/dbos-cloud/applications/list-apps.js +1 -2
  55. package/packages/dbos-cloud/dist/packages/dbos-cloud/applications/list-apps.js.map +1 -1
  56. package/packages/dbos-cloud/dist/packages/dbos-cloud/applications/register-app.d.ts.map +1 -1
  57. package/packages/dbos-cloud/dist/packages/dbos-cloud/applications/register-app.js +1 -2
  58. package/packages/dbos-cloud/dist/packages/dbos-cloud/applications/register-app.js.map +1 -1
  59. package/packages/dbos-cloud/dist/packages/dbos-cloud/applications/update-app.d.ts.map +1 -1
  60. package/packages/dbos-cloud/dist/packages/dbos-cloud/applications/update-app.js +1 -2
  61. package/packages/dbos-cloud/dist/packages/dbos-cloud/applications/update-app.js.map +1 -1
  62. package/packages/dbos-cloud/dist/packages/dbos-cloud/cloudutils.d.ts +7 -0
  63. package/packages/dbos-cloud/dist/packages/dbos-cloud/cloudutils.d.ts.map +1 -1
  64. package/packages/dbos-cloud/dist/packages/dbos-cloud/cloudutils.js +44 -3
  65. package/packages/dbos-cloud/dist/packages/dbos-cloud/cloudutils.js.map +1 -1
  66. package/packages/dbos-cloud/dist/packages/dbos-cloud/login.d.ts.map +1 -1
  67. package/packages/dbos-cloud/dist/packages/dbos-cloud/login.js +3 -4
  68. package/packages/dbos-cloud/dist/packages/dbos-cloud/login.js.map +1 -1
  69. package/packages/dbos-cloud/dist/packages/dbos-cloud/register.d.ts.map +1 -1
  70. package/packages/dbos-cloud/dist/packages/dbos-cloud/register.js +1 -2
  71. package/packages/dbos-cloud/dist/packages/dbos-cloud/register.js.map +1 -1
  72. package/packages/dbos-cloud/dist/packages/dbos-cloud/userdb.d.ts.map +1 -1
  73. package/packages/dbos-cloud/dist/packages/dbos-cloud/userdb.js +3 -4
  74. package/packages/dbos-cloud/dist/packages/dbos-cloud/userdb.js.map +1 -1
  75. package/packages/dbos-cloud/dist/src/utils.d.ts +0 -1
  76. package/packages/dbos-cloud/dist/src/utils.d.ts.map +1 -1
  77. package/packages/dbos-cloud/dist/src/utils.js +3 -12
  78. package/packages/dbos-cloud/dist/src/utils.js.map +1 -1
  79. package/packages/dbos-cloud/package.json +1 -1
  80. package/packages/dbos-openapi/package.json +1 -1
  81. package/packages/dbos-cloud/dist/schemas/system_db_schema.d.ts +0 -34
  82. package/packages/dbos-cloud/dist/schemas/system_db_schema.d.ts.map +0 -1
  83. package/packages/dbos-cloud/dist/schemas/system_db_schema.js +0 -77
  84. package/packages/dbos-cloud/dist/schemas/system_db_schema.js.map +0 -1
  85. package/packages/dbos-cloud/dist/schemas/user_db_schema.d.ts +0 -11
  86. package/packages/dbos-cloud/dist/schemas/user_db_schema.d.ts.map +0 -1
  87. package/packages/dbos-cloud/dist/schemas/user_db_schema.js +0 -16
  88. package/packages/dbos-cloud/dist/schemas/user_db_schema.js.map +0 -1
  89. package/packages/dbos-cloud/dist/src/communicator.d.ts +0 -25
  90. package/packages/dbos-cloud/dist/src/communicator.d.ts.map +0 -1
  91. package/packages/dbos-cloud/dist/src/communicator.js +0 -26
  92. package/packages/dbos-cloud/dist/src/communicator.js.map +0 -1
  93. package/packages/dbos-cloud/dist/src/context.d.ts +0 -64
  94. package/packages/dbos-cloud/dist/src/context.d.ts.map +0 -1
  95. package/packages/dbos-cloud/dist/src/context.js +0 -96
  96. package/packages/dbos-cloud/dist/src/context.js.map +0 -1
  97. package/packages/dbos-cloud/dist/src/data_validation.d.ts +0 -3
  98. package/packages/dbos-cloud/dist/src/data_validation.d.ts.map +0 -1
  99. package/packages/dbos-cloud/dist/src/data_validation.js +0 -168
  100. package/packages/dbos-cloud/dist/src/data_validation.js.map +0 -1
  101. package/packages/dbos-cloud/dist/src/dbos-executor.d.ts +0 -102
  102. package/packages/dbos-cloud/dist/src/dbos-executor.d.ts.map +0 -1
  103. package/packages/dbos-cloud/dist/src/dbos-executor.js +0 -631
  104. package/packages/dbos-cloud/dist/src/dbos-executor.js.map +0 -1
  105. package/packages/dbos-cloud/dist/src/dbos-runtime/applicationVersion.d.ts +0 -3
  106. package/packages/dbos-cloud/dist/src/dbos-runtime/applicationVersion.d.ts.map +0 -1
  107. package/packages/dbos-cloud/dist/src/dbos-runtime/applicationVersion.js +0 -13
  108. package/packages/dbos-cloud/dist/src/dbos-runtime/applicationVersion.js.map +0 -1
  109. package/packages/dbos-cloud/dist/src/dbos-runtime/cli.d.ts +0 -8
  110. package/packages/dbos-cloud/dist/src/dbos-runtime/cli.d.ts.map +0 -1
  111. package/packages/dbos-cloud/dist/src/dbos-runtime/cli.js +0 -61
  112. package/packages/dbos-cloud/dist/src/dbos-runtime/cli.js.map +0 -1
  113. package/packages/dbos-cloud/dist/src/dbos-runtime/config.d.ts +0 -29
  114. package/packages/dbos-cloud/dist/src/dbos-runtime/config.d.ts.map +0 -1
  115. package/packages/dbos-cloud/dist/src/dbos-runtime/config.js +0 -111
  116. package/packages/dbos-cloud/dist/src/dbos-runtime/config.js.map +0 -1
  117. package/packages/dbos-cloud/dist/src/dbos-runtime/debug.d.ts +0 -4
  118. package/packages/dbos-cloud/dist/src/dbos-runtime/debug.d.ts.map +0 -1
  119. package/packages/dbos-cloud/dist/src/dbos-runtime/debug.js +0 -21
  120. package/packages/dbos-cloud/dist/src/dbos-runtime/debug.js.map +0 -1
  121. package/packages/dbos-cloud/dist/src/dbos-runtime/init.d.ts +0 -7
  122. package/packages/dbos-cloud/dist/src/dbos-runtime/init.d.ts.map +0 -1
  123. package/packages/dbos-cloud/dist/src/dbos-runtime/init.js +0 -51
  124. package/packages/dbos-cloud/dist/src/dbos-runtime/init.js.map +0 -1
  125. package/packages/dbos-cloud/dist/src/dbos-runtime/migrate.d.ts +0 -3
  126. package/packages/dbos-cloud/dist/src/dbos-runtime/migrate.d.ts.map +0 -1
  127. package/packages/dbos-cloud/dist/src/dbos-runtime/migrate.js +0 -175
  128. package/packages/dbos-cloud/dist/src/dbos-runtime/migrate.js.map +0 -1
  129. package/packages/dbos-cloud/dist/src/dbos-runtime/runtime.d.ts +0 -28
  130. package/packages/dbos-cloud/dist/src/dbos-runtime/runtime.d.ts.map +0 -1
  131. package/packages/dbos-cloud/dist/src/dbos-runtime/runtime.js +0 -95
  132. package/packages/dbos-cloud/dist/src/dbos-runtime/runtime.js.map +0 -1
  133. package/packages/dbos-cloud/dist/src/debugger/debug_workflow.d.ts +0 -38
  134. package/packages/dbos-cloud/dist/src/debugger/debug_workflow.d.ts.map +0 -1
  135. package/packages/dbos-cloud/dist/src/debugger/debug_workflow.js +0 -211
  136. package/packages/dbos-cloud/dist/src/debugger/debug_workflow.js.map +0 -1
  137. package/packages/dbos-cloud/dist/src/decorators.d.ts +0 -118
  138. package/packages/dbos-cloud/dist/src/decorators.d.ts.map +0 -1
  139. package/packages/dbos-cloud/dist/src/decorators.js +0 -467
  140. package/packages/dbos-cloud/dist/src/decorators.js.map +0 -1
  141. package/packages/dbos-cloud/dist/src/error.d.ts +0 -47
  142. package/packages/dbos-cloud/dist/src/error.d.ts.map +0 -1
  143. package/packages/dbos-cloud/dist/src/error.js +0 -171
  144. package/packages/dbos-cloud/dist/src/error.js.map +0 -1
  145. package/packages/dbos-cloud/dist/src/httpServer/handler.d.ts +0 -54
  146. package/packages/dbos-cloud/dist/src/httpServer/handler.d.ts.map +0 -1
  147. package/packages/dbos-cloud/dist/src/httpServer/handler.js +0 -175
  148. package/packages/dbos-cloud/dist/src/httpServer/handler.js.map +0 -1
  149. package/packages/dbos-cloud/dist/src/httpServer/handlerTypes.d.ts +0 -11
  150. package/packages/dbos-cloud/dist/src/httpServer/handlerTypes.d.ts.map +0 -1
  151. package/packages/dbos-cloud/dist/src/httpServer/handlerTypes.js +0 -19
  152. package/packages/dbos-cloud/dist/src/httpServer/handlerTypes.js.map +0 -1
  153. package/packages/dbos-cloud/dist/src/httpServer/middleware.d.ts +0 -56
  154. package/packages/dbos-cloud/dist/src/httpServer/middleware.d.ts.map +0 -1
  155. package/packages/dbos-cloud/dist/src/httpServer/middleware.js +0 -57
  156. package/packages/dbos-cloud/dist/src/httpServer/middleware.js.map +0 -1
  157. package/packages/dbos-cloud/dist/src/httpServer/server.d.ts +0 -45
  158. package/packages/dbos-cloud/dist/src/httpServer/server.d.ts.map +0 -1
  159. package/packages/dbos-cloud/dist/src/httpServer/server.js +0 -253
  160. package/packages/dbos-cloud/dist/src/httpServer/server.js.map +0 -1
  161. package/packages/dbos-cloud/dist/src/system_database.d.ts +0 -91
  162. package/packages/dbos-cloud/dist/src/system_database.d.ts.map +0 -1
  163. package/packages/dbos-cloud/dist/src/system_database.js +0 -462
  164. package/packages/dbos-cloud/dist/src/system_database.js.map +0 -1
  165. package/packages/dbos-cloud/dist/src/telemetry/collector.d.ts +0 -16
  166. package/packages/dbos-cloud/dist/src/telemetry/collector.d.ts.map +0 -1
  167. package/packages/dbos-cloud/dist/src/telemetry/collector.js +0 -65
  168. package/packages/dbos-cloud/dist/src/telemetry/collector.js.map +0 -1
  169. package/packages/dbos-cloud/dist/src/telemetry/exporters.d.ts +0 -15
  170. package/packages/dbos-cloud/dist/src/telemetry/exporters.d.ts.map +0 -1
  171. package/packages/dbos-cloud/dist/src/telemetry/exporters.js +0 -59
  172. package/packages/dbos-cloud/dist/src/telemetry/exporters.js.map +0 -1
  173. package/packages/dbos-cloud/dist/src/telemetry/index.d.ts +0 -11
  174. package/packages/dbos-cloud/dist/src/telemetry/index.d.ts.map +0 -1
  175. package/packages/dbos-cloud/dist/src/telemetry/index.js +0 -19
  176. package/packages/dbos-cloud/dist/src/telemetry/index.js.map +0 -1
  177. package/packages/dbos-cloud/dist/src/telemetry/logs.d.ts +0 -47
  178. package/packages/dbos-cloud/dist/src/telemetry/logs.d.ts.map +0 -1
  179. package/packages/dbos-cloud/dist/src/telemetry/logs.js +0 -195
  180. package/packages/dbos-cloud/dist/src/telemetry/logs.js.map +0 -1
  181. package/packages/dbos-cloud/dist/src/telemetry/traces.d.ts +0 -14
  182. package/packages/dbos-cloud/dist/src/telemetry/traces.d.ts.map +0 -1
  183. package/packages/dbos-cloud/dist/src/telemetry/traces.js +0 -52
  184. package/packages/dbos-cloud/dist/src/telemetry/traces.js.map +0 -1
  185. package/packages/dbos-cloud/dist/src/transaction.d.ts +0 -29
  186. package/packages/dbos-cloud/dist/src/transaction.d.ts.map +0 -1
  187. package/packages/dbos-cloud/dist/src/transaction.js +0 -27
  188. package/packages/dbos-cloud/dist/src/transaction.js.map +0 -1
  189. package/packages/dbos-cloud/dist/src/user_database.d.ts +0 -132
  190. package/packages/dbos-cloud/dist/src/user_database.d.ts.map +0 -1
  191. package/packages/dbos-cloud/dist/src/user_database.js +0 -332
  192. package/packages/dbos-cloud/dist/src/user_database.js.map +0 -1
  193. package/packages/dbos-cloud/dist/src/workflow.d.ts +0 -195
  194. package/packages/dbos-cloud/dist/src/workflow.d.ts.map +0 -1
  195. package/packages/dbos-cloud/dist/src/workflow.js +0 -498
  196. package/packages/dbos-cloud/dist/src/workflow.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"dbos-executor.js","sourceRoot":"","sources":["../../../../src/dbos-executor.ts"],"names":[],"mappings":";;;;;;AAAA,uDAAuD;AACvD,mCAMiB;AACjB,yCAYoB;AAIpB,qDAA2D;AAC3D,+CAA4C;AAC5C,2CAA0D;AAC1D,qDAA0D;AAG1D,uDAAmG;AACnG,+BAAoC;AACpC,mDAOyB;AACzB,6CAAiI;AACjI,4CAAoD;AACpD,gDAAkC;AAClC,uCAAyD;AAEzD,8DAAiE;AACjE,qDAAiD;AAGpC,QAAA,QAAQ,GAAa,EAAE,CAAC;AACxB,QAAA,oBAAoB,GAAG,kBAAkB,CAAC;AA6B1C,QAAA,aAAa,GAAG;IAC3B,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,WAAW,EAAE,aAAa;IAC1B,YAAY,EAAE,cAAc;CACpB,CAAC;AAEX,MAAM,gBAAgB,GAAG;IACvB,WAAW,EAAE,aAAa;IAC1B,QAAQ,EAAE,UAAU;IACpB,IAAI,EAAE,MAAM;CACJ,CAAC;AAEX,MAAa,YAAY;IA0CF;IAzCrB,WAAW,CAAU;IACrB,gBAAgB;IAChB,YAAY,GAAiB,IAA+B,CAAC;IAC7D,kBAAkB;IACT,cAAc,CAAiB;IAExC,oGAAoG;IACpG,MAAM,CAAU,gBAAgB,GAAG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AAC,oBAAoB,CAAC,OAAO,CAAC,CAAC,mBAAmB,EAAE,EAAE;YACxD,MAAM,EAAE,GAAG,mBAAuE,CAAC;YACnF,IAAI,EAAE,CAAC,MAAM,EAAE,CAAC;gBACd,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,OAAO,GAAG,EAAE,CAAC,MAAM,CAAC,CAAC;gBACtE,MAAM,KAAK,GAAG,EAAE,CAAC,gBAAgB,EAAE,CAAC;gBACpC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACrB,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,0BAA0B,GAAG,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;gBACvE,CAAC;YACH,CAAC;QACH,CAAC,CAAC,CAAC;IACL,CAAC;;AA1nBH,oCA2nBC"}
@@ -1,3 +0,0 @@
1
- export declare function getApplicationVersion(): string | undefined;
2
- export declare function setApplicationVersion(version: string): void;
3
- //# sourceMappingURL=applicationVersion.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"applicationVersion.d.ts","sourceRoot":"","sources":["../../../../../src/dbos-runtime/applicationVersion.ts"],"names":[],"mappings":"AAAA,wBAAgB,qBAAqB,IAAI,MAAM,GAAG,SAAS,CAE1D;AAED,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAE3D"}
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.setApplicationVersion = exports.getApplicationVersion = void 0;
4
- function getApplicationVersion() {
5
- return applicationVersion;
6
- }
7
- exports.getApplicationVersion = getApplicationVersion;
8
- function setApplicationVersion(version) {
9
- applicationVersion = version;
10
- }
11
- exports.setApplicationVersion = setApplicationVersion;
12
- let applicationVersion = undefined;
13
- //# sourceMappingURL=applicationVersion.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"applicationVersion.js","sourceRoot":"","sources":["../../../../../src/dbos-runtime/applicationVersion.ts"],"names":[],"mappings":";;;AAAA,SAAgB,qBAAqB;IACjC,OAAO,kBAAkB,CAAC;AAC9B,CAAC;AAFD,sDAEC;AAED,SAAgB,qBAAqB,CAAC,OAAe;IACjD,kBAAkB,GAAG,OAAO,CAAC;AACjC,CAAC;AAFD,sDAEC;AAED,IAAI,kBAAkB,GAAuB,SAAS,CAAC"}
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env node
2
- export interface DBOSCLIStartOptions {
3
- port?: number;
4
- loglevel?: string;
5
- configfile?: string;
6
- entrypoint?: string;
7
- }
8
- //# sourceMappingURL=cli.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../../../../../src/dbos-runtime/cli.ts"],"names":[],"mappings":";AAiBA,MAAM,WAAW,mBAAmB;IAClC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
@@ -1,61 +0,0 @@
1
- #!/usr/bin/env node
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- const config_1 = require("./config");
5
- const runtime_1 = require("./runtime");
6
- const commander_1 = require("commander");
7
- const init_1 = require("./init");
8
- const debug_1 = require("./debug");
9
- const migrate_1 = require("./migrate");
10
- const program = new commander_1.Command();
11
- program
12
- .command('start')
13
- .description('Start the server')
14
- .option('-p, --port <number>', 'Specify the port number')
15
- .option('-l, --loglevel <string>', 'Specify log level')
16
- .option('-c, --configfile <string>', 'Specify the config file path', config_1.dbosConfigFilePath)
17
- .option('-e, --entrypoint <string>', 'Specify the entrypoint file path')
18
- .action(async (options) => {
19
- const [dbosConfig, runtimeConfig] = (0, config_1.parseConfigFile)(options);
20
- const runtime = new runtime_1.DBOSRuntime(dbosConfig, runtimeConfig);
21
- await runtime.init();
22
- runtime.startServer();
23
- });
24
- program
25
- .command('debug')
26
- .description('Debug a workflow')
27
- .requiredOption('-x, --proxy <string>', 'Specify the debugger proxy URL')
28
- .requiredOption('-u, --uuid <string>', 'Specify the workflow UUID to debug')
29
- .option('-l, --loglevel <string>', 'Specify log level')
30
- .option('-c, --configfile <string>', 'Specify the config file path', config_1.dbosConfigFilePath)
31
- .option('-e, --entrypoint <string>', 'Specify the entrypoint file path')
32
- .action(async (options) => {
33
- const [dbosConfig, runtimeConfig] = (0, config_1.parseConfigFile)(options);
34
- await (0, debug_1.debugWorkflow)(dbosConfig, runtimeConfig, options.proxy, options.uuid);
35
- });
36
- program
37
- .command('init')
38
- .description('Init a DBOS application')
39
- .option('-n, --appName <application-name>', 'Application name', 'dbos-hello-app')
40
- .action(async (options) => {
41
- await (0, init_1.init)(options.appName);
42
- });
43
- program
44
- .command('migrate')
45
- .description("Perform a database migration")
46
- .action((async () => {
47
- const exitCode = await (0, migrate_1.migrate)();
48
- process.exit(exitCode);
49
- }));
50
- program
51
- .command('rollback')
52
- .action((() => {
53
- const exitCode = (0, migrate_1.rollbackMigration)();
54
- process.exit(exitCode);
55
- }));
56
- program.parse(process.argv);
57
- // If no arguments provided, display help by default
58
- if (!process.argv.slice(2).length) {
59
- program.outputHelp();
60
- }
61
- //# sourceMappingURL=cli.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cli.js","sourceRoot":"","sources":["../../../../../src/dbos-runtime/cli.ts"],"names":[],"mappings":";;;AAEA,qCAA+D;AAC/D,uCAA2D;AAE3D,yCAAoC;AAEpC,iCAA8B;AAC9B,mCAAwC;AACxC,uCAAuD;AAEvD,MAAM,OAAO,GAAG,IAAI,mBAAO,EAAE,CAAC;AAkB9B,OAAO;KACJ,OAAO,CAAC,OAAO,CAAC;KAChB,WAAW,CAAC,kBAAkB,CAAC;KAC/B,MAAM,CAAC,qBAAqB,EAAE,yBAAyB,CAAC;KACxD,MAAM,CAAC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AAE;IAC7C,MAAM,IAAA,WAAI,EAAC,OAAO,CAAC,OAAO,CAAC,CAAC;AAC9B,CAAC,CAAC,CAAC;AAEL,OAAO;KACJ,OAAO,CAAC,SAAS,CAAC;KAClB,WAAW,CAAC,8BAA8B,CAAC;KAC3C,MAAM,CAAC,CAAC,KAAK,IAAI,EAAE;IAClB,MAAM,QAAQ,GAAG,MAAM,IAAA,iBAAO,GAAE,CAAC;IACjC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;AACzB,CAAC,CAAC,CAAC,CAAA;AAEL,OAAO;KACJ,OAAO,CAAC,UAAU,CAAC;KACnB,MAAM,CAAC,CAAC,GAAG,EAAE;IACZ,MAAM,QAAQ,GAAG,IAAA,2BAAiB,GAAE,CAAC;IACrC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;AACzB,CAAC,CAAC,CAAC,CAAA;AAEL,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;AAE5B,oDAAoD;AACpD,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAClC,OAAO,CAAC,UAAU,EAAE,CAAC;AACvB,CAAC"}
@@ -1,29 +0,0 @@
1
- import { DBOSConfig } from "../dbos-executor";
2
- import { DBOSRuntimeConfig } from "./runtime";
3
- import { UserDatabaseName } from "../user_database";
4
- import { DBOSCLIStartOptions } from "./cli";
5
- import { TelemetryConfig } from "../telemetry";
6
- export declare const dbosConfigFilePath = "dbos-config.yaml";
7
- export interface ConfigFile {
8
- version: string;
9
- database: {
10
- hostname: string;
11
- port: number;
12
- username: string;
13
- password?: string;
14
- connectionTimeoutMillis?: number;
15
- user_database: string;
16
- ssl_ca?: string;
17
- observability_database?: string;
18
- user_dbclient?: UserDatabaseName;
19
- migrate?: string[];
20
- rollback?: string[];
21
- };
22
- telemetry?: TelemetryConfig;
23
- application: any;
24
- runtimeConfig?: DBOSRuntimeConfig;
25
- dbClientMetadata?: any;
26
- }
27
- export declare function loadConfigFile(configFilePath: string): ConfigFile | undefined;
28
- export declare function parseConfigFile(cliOptions?: DBOSCLIStartOptions): [DBOSConfig, DBOSRuntimeConfig];
29
- //# sourceMappingURL=config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../src/dbos-runtime/config.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAG9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAG/C,eAAO,MAAM,kBAAkB,qBAAqB,CAAC;AAErD,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE;QACR,QAAQ,EAAE,MAAM,CAAC;QACjB,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,uBAAuB,CAAC,EAAE,MAAM,CAAC;QACjC,aAAa,EAAE,MAAM,CAAC;QACtB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,sBAAsB,CAAC,EAAE,MAAM,CAAC;QAChC,aAAa,CAAC,EAAE,gBAAgB,CAAC;QACjC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;QACnB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;KACrB,CAAC;IACF,SAAS,CAAC,EAAE,eAAe,CAAC;IAE5B,WAAW,EAAE,GAAG,CAAC;IACjB,aAAa,CAAC,EAAE,iBAAiB,CAAC;IAElC,gBAAgB,CAAC,EAAE,GAAG,CAAC;CACxB;AAcD,wBAAgB,cAAc,CAAC,cAAc,EAAE,MAAM,GAAG,UAAU,GAAG,SAAS,CAa7E;AAMD,wBAAgB,eAAe,CAAC,UAAU,CAAC,EAAE,mBAAmB,GAAG,CAAC,UAAU,EAAE,iBAAiB,CAAC,CA0EjG"}
@@ -1,111 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.parseConfigFile = exports.loadConfigFile = exports.dbosConfigFilePath = void 0;
7
- const error_1 = require("../error");
8
- const utils_1 = require("../utils");
9
- const yaml_1 = __importDefault(require("yaml"));
10
- const user_database_1 = require("../user_database");
11
- const applicationVersion_1 = require("./applicationVersion");
12
- exports.dbosConfigFilePath = "dbos-config.yaml";
13
- /*
14
- * Substitute environment variables using a regex for matching.
15
- * Will find anything in curly braces.
16
- * TODO: Use a more robust solution.
17
- */
18
- function substituteEnvVars(content) {
19
- const regex = /\${([^}]+)}/g; // Regex to match ${VAR_NAME} style placeholders
20
- return content.replace(regex, (_, g1) => {
21
- return process.env[g1] || ""; // If the env variable is not set, return an empty string.
22
- });
23
- }
24
- function loadConfigFile(configFilePath) {
25
- let configFile;
26
- try {
27
- const configFileContent = (0, utils_1.readFileSync)(configFilePath);
28
- const interpolatedConfig = substituteEnvVars(configFileContent);
29
- configFile = yaml_1.default.parse(interpolatedConfig);
30
- }
31
- catch (e) {
32
- if (e instanceof Error) {
33
- throw new error_1.DBOSInitializationError(`Failed to load config from ${configFilePath}: ${e.message}`);
34
- }
35
- }
36
- return configFile;
37
- }
38
- exports.loadConfigFile = loadConfigFile;
39
- /*
40
- * Parse `dbosConfigFilePath` and return DBOSConfig and DBOSRuntimeConfig
41
- * Considers DBOSCLIStartOptions if provided, which takes precedence over config file
42
- * */
43
- function parseConfigFile(cliOptions) {
44
- const configFilePath = cliOptions?.configfile ?? exports.dbosConfigFilePath;
45
- const configFile = loadConfigFile(configFilePath);
46
- if (!configFile) {
47
- throw new error_1.DBOSInitializationError(`DBOS configuration file ${configFilePath} is empty`);
48
- }
49
- (0, applicationVersion_1.setApplicationVersion)(configFile.version);
50
- /*******************************/
51
- /* Handle user database config */
52
- /*******************************/
53
- if (!configFile.database) {
54
- throw new error_1.DBOSInitializationError(`DBOS configuration ${configFilePath} does not contain database config`);
55
- }
56
- const poolConfig = {
57
- host: configFile.database.hostname,
58
- port: configFile.database.port,
59
- user: configFile.database.username,
60
- password: configFile.database.password,
61
- connectionTimeoutMillis: configFile.database.connectionTimeoutMillis || 3000,
62
- database: configFile.database.user_database,
63
- };
64
- if (!poolConfig.password) {
65
- throw new error_1.DBOSInitializationError(`DBOS configuration ${configFilePath} does not contain database password`);
66
- }
67
- if (configFile.database.ssl_ca) {
68
- poolConfig.ssl = { ca: [(0, utils_1.readFileSync)(configFile.database.ssl_ca)], rejectUnauthorized: true };
69
- }
70
- /***************************/
71
- /* Handle telemetry config */
72
- /***************************/
73
- // Consider CLI --loglevel flag. A bit verbose because everything is optional.
74
- if (cliOptions?.loglevel) {
75
- if (!configFile.telemetry) {
76
- configFile.telemetry = { logs: { logLevel: cliOptions.loglevel } };
77
- }
78
- else if (!configFile.telemetry.logs) {
79
- configFile.telemetry.logs = { logLevel: cliOptions.loglevel };
80
- }
81
- else {
82
- configFile.telemetry.logs.logLevel = cliOptions.loglevel;
83
- }
84
- }
85
- /************************************/
86
- /* Build final DBOS configuration */
87
- /************************************/
88
- const dbosConfig = {
89
- poolConfig: poolConfig,
90
- userDbclient: configFile.database.user_dbclient || user_database_1.UserDatabaseName.KNEX,
91
- telemetry: configFile.telemetry || undefined,
92
- system_database: `${poolConfig.database}_dbos_sys`,
93
- observability_database: configFile.database.observability_database || undefined,
94
- // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
95
- application: configFile.application || undefined,
96
- dbClientMetadata: {
97
- // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access
98
- entities: configFile.dbClientMetadata?.entities,
99
- },
100
- };
101
- /*************************************/
102
- /* Build final runtime Configuration */
103
- /*************************************/
104
- const runtimeConfig = {
105
- entrypoint: cliOptions?.entrypoint || configFile.runtimeConfig?.entrypoint || "dist/operations.js",
106
- port: cliOptions?.port || configFile.runtimeConfig?.port || 3000,
107
- };
108
- return [dbosConfig, runtimeConfig];
109
- }
110
- exports.parseConfigFile = parseConfigFile;
111
- //# sourceMappingURL=config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../../../../../src/dbos-runtime/config.ts"],"names":[],"mappings":";;;;;;AAAA,oCAAmD;AACnD,oCAAwC;AAGxC,gDAAwB;AAExB,oDAAoD;AAGpD,6DAA6D;AAEhD,QAAA,kBAAkB,GAAG,kBAAkB,CAAC;AAyBrD;;;;EAIE;AACF,SAAS,iBAAiB,CAAC,OAAe;IACxC,MAAM,KAAK,GAAG,cAAc,CAAC,CAAE,gDAAgD;IAC/E,OAAO,OAAO,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC,EAAE,EAAU,EAAE,EAAE;QAC5C,OAAO,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,CAAE,0DAA0D;IAC7F,CAAC,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,cAAc,CAAC,cAAsB;IACnD,IAAI,UAAkC,CAAC;IACvC,IAAI,CAAC;QACH,MAAM,iBAAiB,GAAG,IAAA,oBAAY,EAAC,cAAc,CAAC,CAAC;QACvD,MAAM,kBAAkB,GAAG,iBAAiB,CAAC,iBAA2B,CAAC,CAAC;QAC1E,UAAU,GAAG,cAAI,CAAC,KAAK,CAAC,kBAAkB,CAAe,CAAC;IAC5D,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,IAAI,CAAC,YAAY,KAAK,EAAE,CAAC;YACvB,MAAM,IAAI,+BAAuB,CAAC,8BAA8B,cAAc,KAAK,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;QAClG,CAAC;IACH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AAU,IAAI,oBAAoB;QAClG,IAAI,EAAE,UAAU,EAAE,IAAI,IAAI,UAAU,CAAC,aAAa,EAAE,IAAI,IAAI,IAAI;KACjE,CAAC;IAEF,OAAO,CAAC,UAAU,EAAE,aAAa,CAAC,CAAC;AACrC,CAAC;AA1ED,0CA0EC"}
@@ -1,4 +0,0 @@
1
- import { DBOSConfig } from "../dbos-executor";
2
- import { DBOSRuntimeConfig } from "./runtime";
3
- export declare function debugWorkflow(dbosConfig: DBOSConfig, runtimeConfig: DBOSRuntimeConfig, proxy: string, workflowUUID: string): Promise<void>;
4
- //# sourceMappingURL=debug.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["../../../../../src/dbos-runtime/debug.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAgB,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAe,iBAAiB,EAAI,MAAM,WAAW,CAAC;AAE7D,wBAAsB,aAAa,CAAC,UAAU,EAAE,UAAU,EAAE,aAAa,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,iBAgBhI"}
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.debugWorkflow = void 0;
4
- const dbos_executor_1 = require("../dbos-executor");
5
- const runtime_1 = require("./runtime");
6
- async function debugWorkflow(dbosConfig, runtimeConfig, proxy, workflowUUID) {
7
- const provDB = `${dbosConfig.poolConfig.database}_prov`;
8
- dbosConfig = { ...dbosConfig, debugProxy: proxy, system_database: provDB };
9
- dbosConfig.poolConfig.database = provDB;
10
- // Load classes
11
- const classes = await runtime_1.DBOSRuntime.loadClasses(runtimeConfig.entrypoint);
12
- const dbosExec = new dbos_executor_1.DBOSExecutor(dbosConfig);
13
- await dbosExec.init(...classes);
14
- // Invoke the workflow in debug mode.
15
- const handle = await dbosExec.executeWorkflowUUID(workflowUUID);
16
- await handle.getResult();
17
- // Destroy testing runtime.
18
- await dbosExec.destroy();
19
- }
20
- exports.debugWorkflow = debugWorkflow;
21
- //# sourceMappingURL=debug.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug.js","sourceRoot":"","sources":["../../../../../src/dbos-runtime/debug.ts"],"names":[],"mappings":";;;AAAA,oDAA4D;AAC5D,uCAA6D;AAEtD,KAAK,UAAU,aAAa,CAAC,UAAsB,EAAE,aAAgC,EAAE,KAAa,EAAE,YAAoB;IAC/H,MAAM,MAAM,GAAG,GAAG,UAAU,CAAC,UAAU,CAAC,QAAQ,OAAO,CAAC;IACxD,UAAU,GAAG,EAAC,GAAG,UAAU,EAAE,UAAU,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1E,UAAU,CAAC,UAAU,CAAC,QAAQ,GAAG,MAAM,CAAC;IAExC,eAAe;IACf,MAAM,OAAO,GAAG,MAAM,qBAAW,CAAC,WAAW,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;IACxE,MAAM,QAAQ,GAAG,IAAI,4BAAY,CAAC,UAAU,CAAC,CAAC;IAC9C,MAAM,QAAQ,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,CAAC;IAEhC,qCAAqC;IACrC,MAAM,MAAM,GAAG,MAAM,QAAQ,CAAC,mBAAmB,CAAC,YAAY,CAAC,CAAC;IAChE,MAAM,MAAM,CAAC,SAAS,EAAE,CAAC;IAEzB,2BAA2B;IAC3B,MAAM,QAAQ,CAAC,OAAO,EAAE,CAAC;AAC3B,CAAC;AAhBD,sCAgBC"}
@@ -1,7 +0,0 @@
1
- interface CopyOption {
2
- rename?: (basename: string) => string;
3
- }
4
- export declare const copy: (src: string, targets: string[], dest: string, { rename }?: CopyOption) => Promise<void[]>;
5
- export declare function init(appName: string): Promise<void>;
6
- export {};
7
- //# sourceMappingURL=init.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../../../../src/dbos-runtime/init.ts"],"names":[],"mappings":"AAMA,UAAU,UAAU;IAClB,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAA;CACtC;AAID,eAAO,MAAM,IAAI,QACV,MAAM,WACF,MAAM,EAAE,QACX,MAAM,eACW,UAAU,oBA6BlC,CAAA;AAED,wBAAsB,IAAI,CAAC,OAAO,EAAE,MAAM,iBAiBzC"}
@@ -1,51 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.init = exports.copy = void 0;
7
- const fast_glob_1 = require("fast-glob");
8
- const path_1 = __importDefault(require("path"));
9
- const fs_1 = __importDefault(require("fs"));
10
- const child_process_1 = require("child_process");
11
- const error_1 = require("../error");
12
- const identity = (x) => x;
13
- const copy = async (src, targets, dest, { rename = identity } = {}) => {
14
- if (targets.length === 0 || !dest) {
15
- throw new TypeError('`src` and `dest` are required');
16
- }
17
- const sourceFiles = await (0, fast_glob_1.async)(targets, {
18
- cwd: src,
19
- dot: true,
20
- absolute: false,
21
- stats: false,
22
- ignore: ['**/node_modules/**', '**/dist/**']
23
- });
24
- return Promise.all(sourceFiles.map(async (p) => {
25
- const dirname = path_1.default.dirname(p);
26
- const basename = rename(path_1.default.basename(p));
27
- const from = path_1.default.resolve(src, p);
28
- const to = path_1.default.join(dest, dirname, basename);
29
- // Ensure the destination directory exists
30
- await fs_1.default.promises.mkdir(path_1.default.dirname(to), { recursive: true });
31
- return fs_1.default.promises.copyFile(from, to);
32
- }));
33
- };
34
- exports.copy = copy;
35
- async function init(appName) {
36
- if (fs_1.default.existsSync(appName)) {
37
- throw new error_1.DBOSError(`Directory ${appName} already exists, exiting...`);
38
- }
39
- const templatePath = path_1.default.resolve(__dirname, '..', '..', '..', 'examples', 'hello');
40
- const targets = ["**"];
41
- await (0, exports.copy)(templatePath, targets, appName);
42
- const packageJsonName = path_1.default.resolve(appName, 'package.json');
43
- const content = fs_1.default.readFileSync(packageJsonName, 'utf-8');
44
- let updatedContent = content.replace('"name": "dbos-hello"', `"name": "${appName}"`);
45
- updatedContent = updatedContent.replace('"@dbos-inc/dbos-sdk": "../..",', ``);
46
- fs_1.default.writeFileSync(packageJsonName, updatedContent, 'utf-8');
47
- (0, child_process_1.execSync)("npm i", { cwd: appName, stdio: 'inherit' });
48
- (0, child_process_1.execSync)("npm install --save @dbos-inc/dbos-sdk", { cwd: appName, stdio: 'inherit' });
49
- }
50
- exports.init = init;
51
- //# sourceMappingURL=init.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"init.js","sourceRoot":"","sources":["../../../../../src/dbos-runtime/init.ts"],"names":[],"mappings":";;;;;;AAAA,yCAAyC;AACzC,gDAAuB;AACvB,4CAAmB;AACnB,iDAAwC;AACxC,oCAAoC;AAMpC,MAAM,QAAQ,GAAG,CAAC,CAAS,EAAE,EAAE,CAAC,CAAC,CAAA;AAE1B,MAAM,IAAI,GAAG,KAAK,EACvB,GAAW,EACX,OAAiB,EACjB,IAAY,EACZ,EAAE,MAAM,GAAG,QAAQ,KAAiB,EAAE,EACtC,EAAE;IAEF,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;QAClC,MAAM,IAAI,SAAS,CAAC,+BAA+B,CAAC,CAAA;IACtD,CAAC;IAED,MAAM,WAAW,GAAG,MAAM,IAAA,iBAAI,EAAC,OAAO,EAAE;QACtC,GAAG,EAAE,GAAG;QACR,GAAG,EAAE,IAAI;QACT,QAAQ,EAAE,KAAK;QACf,KAAK,EAAE,KAAK;QACZ,MAAM,EAAE,CAAC,oBAAoB,EAAE,YAAY,CAAC;KAC7C,CAAC,CAAA;IAEF,OAAO,OAAO,CAAC,GAAG,CAChB,WAAW,CAAC,GAAG,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE;QAC1B,MAAM,OAAO,GAAG,cAAI,CAAC,OAAO,CAAC,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O,GAAG,CAAC,CAAC;IACrF,cAAc,GAAG,cAAc,CAAC,OAAO,CAAC,gCAAgC,EAAE,EAAE,CAAC,CAAC;IAC9E,YAAE,CAAC,aAAa,CAAC,eAAe,EAAE,cAAc,EAAE,OAAO,CAAC,CAAC;IAC3D,IAAA,wBAAQ,EAAC,OAAO,EAAE,EAAC,GAAG,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAC,CAAC,CAAA;IACnD,IAAA,wBAAQ,EAAC,uCAAuC,EAAE,EAAC,GAAG,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAC,CAAC,CAAA;AACrF,CAAC;AAjBD,oBAiBC"}
@@ -1,3 +0,0 @@
1
- export declare function migrate(): Promise<number>;
2
- export declare function rollbackMigration(): number;
3
- //# sourceMappingURL=migrate.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"migrate.d.ts","sourceRoot":"","sources":["../../../../../src/dbos-runtime/migrate.ts"],"names":[],"mappings":"AASA,wBAAsB,OAAO,IAAI,OAAO,CAAC,MAAM,CAAC,CAiF/C;AAED,wBAAgB,iBAAiB,IAAI,MAAM,CA4B1C"}
@@ -1,175 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.rollbackMigration = exports.migrate = void 0;
4
- const child_process_1 = require("child_process");
5
- const logs_1 = require("../telemetry/logs");
6
- const user_database_1 = require("../user_database");
7
- const config_1 = require("./config");
8
- const utils_1 = require("../utils");
9
- const pg_1 = require("pg");
10
- const user_db_schema_1 = require("../../schemas/user_db_schema");
11
- const system_database_1 = require("../system_database");
12
- async function migrate() {
13
- const logger = new logs_1.GlobalLogger();
14
- // Read the configuration YAML file
15
- const configFile = (0, config_1.loadConfigFile)(config_1.dbosConfigFilePath);
16
- if (!configFile) {
17
- logger.error(`Failed to parse ${config_1.dbosConfigFilePath}`);
18
- return 1;
19
- }
20
- const userDBName = configFile.database.user_database;
21
- logger.info(`Creating database ${userDBName} if it does not already exist`);
22
- const createDB = `createdb -h ${configFile.database.hostname} -p ${configFile.database.port} ${userDBName} -U ${configFile.database.username} -ew ${userDBName}`;
23
- try {
24
- process.env.PGPASSWORD = configFile.database.password;
25
- const createDBOutput = (0, child_process_1.execSync)(createDB, { env: process.env }).toString();
26
- if (createDBOutput.includes(`database "${userDBName}" already exists`)) {
27
- logger.info(`Database ${userDBName} already exists`);
28
- }
29
- else {
30
- logger.info(createDBOutput);
31
- }
32
- }
33
- catch (e) {
34
- if (e instanceof Error) {
35
- if (e.message.includes(`database "${userDBName}" already exists`)) {
36
- logger.info(`Database ${userDBName} already exists`);
37
- }
38
- else {
39
- logger.error(`Error creating database: ${e.message}`);
40
- return 1;
41
- }
42
- }
43
- else {
44
- logger.error(e);
45
- return 1;
46
- }
47
- }
48
- const dbType = configFile.database.user_dbclient || user_database_1.UserDatabaseName.KNEX;
49
- const migrationScript = `node_modules/.bin/${dbType}`;
50
- const migrationCommands = configFile.database.migrate;
51
- try {
52
- migrationCommands?.forEach((cmd) => {
53
- const command = `node ${migrationScript} ${cmd}`;
54
- logger.info(`Executing migration command: ${command}`);
55
- const migrateCommandOutput = (0, child_process_1.execSync)(command).toString();
56
- logger.info(migrateCommandOutput);
57
- });
58
- }
59
- catch (e) {
60
- logger.error("Error running migration");
61
- if (e instanceof Error) {
62
- // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any
63
- const stderr = e.stderr;
64
- if (stderr && Buffer.isBuffer(stderr) && stderr.length > 0) {
65
- logger.error(`Standard Error: ${stderr.toString().trim()}`);
66
- }
67
- // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any
68
- const stdout = e.stdout;
69
- if (stdout && Buffer.isBuffer(stdout) && stdout.length > 0) {
70
- logger.error(`Standard Output: ${stdout.toString().trim()}`);
71
- }
72
- if (e.message) {
73
- logger.error(e.message);
74
- }
75
- }
76
- else {
77
- logger.error(e);
78
- }
79
- return 1;
80
- }
81
- logger.info("Creating DBOS tables and system database.");
82
- try {
83
- await createDBOSTables(configFile);
84
- }
85
- catch (e) {
86
- if (e instanceof Error) {
87
- logger.error(`Error creating DBOS system database: ${e.message}`);
88
- }
89
- else {
90
- logger.error(e);
91
- }
92
- return 1;
93
- }
94
- return 0;
95
- }
96
- exports.migrate = migrate;
97
- function rollbackMigration() {
98
- const logger = new logs_1.GlobalLogger();
99
- // read the yaml file
100
- const configFile = (0, config_1.loadConfigFile)(config_1.dbosConfigFilePath);
101
- if (!configFile) {
102
- logger.error(`failed to parse ${config_1.dbosConfigFilePath}`);
103
- return 1;
104
- }
105
- let dbType = configFile.database.user_dbclient;
106
- if (dbType == undefined) {
107
- dbType = "knex";
108
- }
109
- const rollbackcommands = configFile.database.rollback;
110
- try {
111
- rollbackcommands?.forEach((cmd) => {
112
- const command = "npx " + dbType + " " + cmd;
113
- logger.info("Executing " + command);
114
- (0, child_process_1.execSync)(command);
115
- });
116
- }
117
- catch (e) {
118
- logger.error("Error rolling back migration. ");
119
- return 1;
120
- }
121
- return 0;
122
- }
123
- exports.rollbackMigration = rollbackMigration;
124
- // Create DBOS system DB and tables.
125
- // TODO: replace this with knex to manage schema.
126
- async function createDBOSTables(configFile) {
127
- const logger = new logs_1.GlobalLogger();
128
- const userPoolConfig = {
129
- host: configFile.database.hostname,
130
- port: configFile.database.port,
131
- user: configFile.database.username,
132
- password: configFile.database.password,
133
- connectionTimeoutMillis: configFile.database.connectionTimeoutMillis || 3000,
134
- database: configFile.database.user_database,
135
- };
136
- if (configFile.database.ssl_ca) {
137
- userPoolConfig.ssl = { ca: [(0, utils_1.readFileSync)(configFile.database.ssl_ca)], rejectUnauthorized: true };
138
- }
139
- const systemPoolConfig = { ...userPoolConfig };
140
- systemPoolConfig.database = `${userPoolConfig.database}_dbos_sys`;
141
- const pgUserClient = new pg_1.Client(userPoolConfig);
142
- await pgUserClient.connect();
143
- // Create DBOS table/schema in user DB.
144
- const schemaExists = await pgUserClient.query(`SELECT EXISTS (SELECT FROM information_schema.schemata WHERE schema_name = 'dbos')`);
145
- if (!schemaExists.rows[0].exists) {
146
- await pgUserClient.query(user_db_schema_1.createUserDBSchema);
147
- await pgUserClient.query(user_db_schema_1.userDBSchema);
148
- }
149
- // Create the DBOS system database.
150
- const dbExists = await pgUserClient.query(`SELECT EXISTS (SELECT FROM pg_database WHERE datname = '${systemPoolConfig.database}')`);
151
- if (!dbExists.rows[0].exists) {
152
- await pgUserClient.query(`CREATE DATABASE ${systemPoolConfig.database}`);
153
- }
154
- // Load the DBOS system schema.
155
- const pgSystemClient = new pg_1.Client(systemPoolConfig);
156
- await pgSystemClient.connect();
157
- try {
158
- await (0, system_database_1.migrateSystemDatabase)(systemPoolConfig);
159
- }
160
- catch (e) {
161
- const tableExists = await pgSystemClient.query(`SELECT EXISTS (SELECT FROM information_schema.tables WHERE table_schema = 'dbos' AND table_name = 'operation_outputs')`);
162
- if (tableExists.rows[0].exists) {
163
- // If the table has been created by someone else. Ignore the error.
164
- logger.warn(`System tables creation failed, may conflict with concurrent tasks: ${e.message}`);
165
- }
166
- else {
167
- throw e;
168
- }
169
- }
170
- finally {
171
- await pgSystemClient.end();
172
- await pgUserClient.end();
173
- }
174
- }
175
- //# sourceMappingURL=migrate.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"migrate.js","sourceRoot":"","sources":["../../../../../src/dbos-runtime/migrate.ts"],"names":[],"mappings":";;;AAAA,iDAAyC;AACzC,4CAAiD;AACjD,oDAAoD;AACpD,qCAA0E;AAC1E,oCAAwC;AACxC,2BAAwC;AACxC,iEAAgF;AAChF,wDAA2E;AAEpE,KAAK,UAAU,OAAO;IAC3B,MAAM,MAAM,GAAG,IAAI,mBAAY,EAAE,CAAC;IAElC,mCAAmC;IACnC,MAAM,UAAU,GAA2B,IAAA,uBAAc,EAAC,2BAAkB,CAAC,CAAC;IAC9E,IAAI,CAAC,UAAU,EAAE,CAAC;QAChB,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