@gitpod/gitpod-protocol 0.1.5-wth-update-mysql-dependencies-2.30 → 0.1.5-wth-test.41

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.
Files changed (250) hide show
  1. package/data/builtin-theia-plugins.json +9 -9
  2. package/data/gitpod-schema.json +8 -22
  3. package/lib/accounting-protocol.d.ts +155 -0
  4. package/lib/accounting-protocol.d.ts.map +1 -0
  5. package/lib/accounting-protocol.js +109 -0
  6. package/lib/accounting-protocol.js.map +1 -0
  7. package/lib/admin-protocol.d.ts +20 -4
  8. package/lib/admin-protocol.d.ts.map +1 -1
  9. package/lib/admin-protocol.js +15 -0
  10. package/lib/admin-protocol.js.map +1 -1
  11. package/lib/analytics.d.ts +45 -0
  12. package/lib/analytics.d.ts.map +1 -0
  13. package/lib/{util/without.js → analytics.js} +4 -2
  14. package/lib/analytics.js.map +1 -0
  15. package/lib/context-url.d.ts +18 -0
  16. package/lib/context-url.d.ts.map +1 -0
  17. package/lib/context-url.js +49 -0
  18. package/lib/context-url.js.map +1 -0
  19. package/lib/{util/context-url.spec.d.ts → context-url.spec.d.ts} +3 -1
  20. package/lib/context-url.spec.d.ts.map +1 -0
  21. package/lib/context-url.spec.js +73 -0
  22. package/lib/context-url.spec.js.map +1 -0
  23. package/lib/email-protocol.d.ts +1 -2
  24. package/lib/email-protocol.d.ts.map +1 -1
  25. package/lib/email-protocol.js +4 -4
  26. package/lib/email-protocol.js.map +1 -1
  27. package/lib/encryption/container-module.js +5 -4
  28. package/lib/encryption/container-module.js.map +1 -1
  29. package/lib/encryption/encryption-engine.js +19 -20
  30. package/lib/encryption/encryption-engine.js.map +1 -1
  31. package/lib/encryption/encryption-engine.spec.js +29 -36
  32. package/lib/encryption/encryption-engine.spec.js.map +1 -1
  33. package/lib/encryption/encryption-service.js +29 -43
  34. package/lib/encryption/encryption-service.js.map +1 -1
  35. package/lib/encryption/key-provider.js +25 -30
  36. package/lib/encryption/key-provider.js.map +1 -1
  37. package/lib/env.d.ts +1 -2
  38. package/lib/env.d.ts.map +1 -1
  39. package/lib/env.js +20 -21
  40. package/lib/env.js.map +1 -1
  41. package/lib/gitpod-file-parser.js +25 -41
  42. package/lib/gitpod-file-parser.js.map +1 -1
  43. package/lib/gitpod-file-parser.spec.js +116 -116
  44. package/lib/gitpod-file-parser.spec.js.map +1 -1
  45. package/lib/gitpod-service.d.ts +132 -18
  46. package/lib/gitpod-service.d.ts.map +1 -1
  47. package/lib/gitpod-service.js +168 -256
  48. package/lib/gitpod-service.js.map +1 -1
  49. package/lib/headless-workspace-log.d.ts +8 -11
  50. package/lib/headless-workspace-log.d.ts.map +1 -1
  51. package/lib/headless-workspace-log.js +4 -7
  52. package/lib/headless-workspace-log.js.map +1 -1
  53. package/lib/index.d.ts +4 -0
  54. package/lib/index.d.ts.map +1 -1
  55. package/lib/index.js +5 -1
  56. package/lib/index.js.map +1 -1
  57. package/lib/messaging/browser/connection.d.ts +5 -3
  58. package/lib/messaging/browser/connection.d.ts.map +1 -1
  59. package/lib/messaging/browser/connection.js +183 -33
  60. package/lib/messaging/browser/connection.js.map +1 -1
  61. package/lib/messaging/browser/window-connection.js +35 -55
  62. package/lib/messaging/browser/window-connection.js.map +1 -1
  63. package/lib/messaging/client-call-metrics.d.ts +35 -0
  64. package/lib/messaging/client-call-metrics.d.ts.map +1 -0
  65. package/lib/messaging/client-call-metrics.js +83 -0
  66. package/lib/messaging/client-call-metrics.js.map +1 -0
  67. package/lib/messaging/connection-error-handler.js +11 -23
  68. package/lib/messaging/connection-error-handler.js.map +1 -1
  69. package/lib/messaging/error.d.ts +3 -1
  70. package/lib/messaging/error.d.ts.map +1 -1
  71. package/lib/messaging/error.js +6 -2
  72. package/lib/messaging/error.js.map +1 -1
  73. package/lib/messaging/handler.d.ts +10 -0
  74. package/lib/messaging/handler.d.ts.map +1 -1
  75. package/lib/messaging/node/connection.js +22 -22
  76. package/lib/messaging/node/connection.js.map +1 -1
  77. package/lib/messaging/proxy-factory.d.ts +2 -0
  78. package/lib/messaging/proxy-factory.d.ts.map +1 -1
  79. package/lib/messaging/proxy-factory.js +74 -159
  80. package/lib/messaging/proxy-factory.js.map +1 -1
  81. package/lib/payment-protocol.d.ts +18 -0
  82. package/lib/payment-protocol.d.ts.map +1 -0
  83. package/lib/payment-protocol.js +13 -0
  84. package/lib/payment-protocol.js.map +1 -0
  85. package/lib/permission.d.ts +2 -1
  86. package/lib/permission.d.ts.map +1 -1
  87. package/lib/permission.js +14 -13
  88. package/lib/permission.js.map +1 -1
  89. package/lib/plans.d.ts +210 -0
  90. package/lib/plans.d.ts.map +1 -0
  91. package/lib/plans.js +570 -0
  92. package/lib/plans.js.map +1 -0
  93. package/lib/protocol.d.ts +94 -15
  94. package/lib/protocol.d.ts.map +1 -1
  95. package/lib/protocol.js +104 -130
  96. package/lib/protocol.js.map +1 -1
  97. package/lib/snapshot-url.d.ts +14 -0
  98. package/lib/snapshot-url.d.ts.map +1 -0
  99. package/lib/snapshot-url.js +26 -0
  100. package/lib/snapshot-url.js.map +1 -0
  101. package/{src/util/without.ts → lib/snapshot-url.spec.d.ts} +2 -3
  102. package/lib/snapshot-url.spec.d.ts.map +1 -0
  103. package/lib/snapshot-url.spec.js +41 -0
  104. package/lib/snapshot-url.spec.js.map +1 -0
  105. package/lib/team-subscription-protocol.d.ts +73 -0
  106. package/lib/team-subscription-protocol.d.ts.map +1 -0
  107. package/lib/team-subscription-protocol.js +63 -0
  108. package/lib/team-subscription-protocol.js.map +1 -0
  109. package/lib/teams-projects-protocol.d.ts +103 -0
  110. package/lib/teams-projects-protocol.d.ts.map +1 -0
  111. package/lib/teams-projects-protocol.js +23 -0
  112. package/lib/teams-projects-protocol.js.map +1 -0
  113. package/lib/util/analytics.d.ts +8 -0
  114. package/lib/util/analytics.d.ts.map +1 -0
  115. package/lib/util/analytics.js +79 -0
  116. package/lib/util/analytics.js.map +1 -0
  117. package/lib/util/async-iterator.js +55 -133
  118. package/lib/util/async-iterator.js.map +1 -1
  119. package/lib/util/cancelable.js +17 -59
  120. package/lib/util/cancelable.js.map +1 -1
  121. package/lib/util/date-time.js +8 -8
  122. package/lib/util/date-time.js.map +1 -1
  123. package/lib/util/deferred.js +10 -12
  124. package/lib/util/deferred.js.map +1 -1
  125. package/lib/util/disposable.js +26 -39
  126. package/lib/util/disposable.js.map +1 -1
  127. package/lib/util/event.js +58 -74
  128. package/lib/util/event.js.map +1 -1
  129. package/lib/util/garbage-collected-cache.js +22 -46
  130. package/lib/util/garbage-collected-cache.js.map +1 -1
  131. package/lib/util/generate-workspace-id.d.ts.map +1 -1
  132. package/lib/util/generate-workspace-id.js +13 -67
  133. package/lib/util/generate-workspace-id.js.map +1 -1
  134. package/lib/util/generate-workspace-id.spec.js +34 -79
  135. package/lib/util/generate-workspace-id.spec.js.map +1 -1
  136. package/lib/util/gitpod-cookie.d.ts +20 -0
  137. package/lib/util/gitpod-cookie.d.ts.map +1 -0
  138. package/lib/util/gitpod-cookie.js +44 -0
  139. package/lib/util/gitpod-cookie.js.map +1 -0
  140. package/lib/util/gitpod-host-url.d.ts +1 -1
  141. package/lib/util/gitpod-host-url.d.ts.map +1 -1
  142. package/lib/util/gitpod-host-url.js +98 -98
  143. package/lib/util/gitpod-host-url.js.map +1 -1
  144. package/lib/util/gitpod-host-url.spec.d.ts +7 -1
  145. package/lib/util/gitpod-host-url.spec.d.ts.map +1 -1
  146. package/lib/util/gitpod-host-url.spec.js +103 -31
  147. package/lib/util/gitpod-host-url.spec.js.map +1 -1
  148. package/lib/util/grpc.d.ts +15 -0
  149. package/lib/util/grpc.d.ts.map +1 -0
  150. package/lib/util/grpc.js +18 -0
  151. package/lib/util/grpc.js.map +1 -0
  152. package/lib/util/logging.d.ts +49 -33
  153. package/lib/util/logging.d.ts.map +1 -1
  154. package/lib/util/logging.js +107 -110
  155. package/lib/util/logging.js.map +1 -1
  156. package/lib/util/make-link.js +2 -2
  157. package/lib/util/make-link.js.map +1 -1
  158. package/lib/util/parse-workspace-id.d.ts +10 -0
  159. package/lib/util/parse-workspace-id.d.ts.map +1 -1
  160. package/lib/util/parse-workspace-id.js +32 -7
  161. package/lib/util/parse-workspace-id.js.map +1 -1
  162. package/lib/util/parse-workspace-id.spec.d.ts +4 -0
  163. package/lib/util/parse-workspace-id.spec.d.ts.map +1 -1
  164. package/lib/util/parse-workspace-id.spec.js +123 -84
  165. package/lib/util/parse-workspace-id.spec.js.map +1 -1
  166. package/lib/util/queue.js +16 -55
  167. package/lib/util/queue.js.map +1 -1
  168. package/lib/util/queue.spec.js +144 -288
  169. package/lib/util/queue.spec.js.map +1 -1
  170. package/lib/util/repeater.js +35 -88
  171. package/lib/util/repeater.js.map +1 -1
  172. package/lib/util/safe-promise.js +9 -12
  173. package/lib/util/safe-promise.js.map +1 -1
  174. package/lib/util/semaphore.js +15 -46
  175. package/lib/util/semaphore.js.map +1 -1
  176. package/lib/util/skip-if.js +6 -6
  177. package/lib/util/skip-if.js.map +1 -1
  178. package/lib/util/timeutil.js +28 -16
  179. package/lib/util/timeutil.js.map +1 -1
  180. package/lib/util/timeutil.spec.js +21 -24
  181. package/lib/util/timeutil.spec.js.map +1 -1
  182. package/lib/util/tracing.js +43 -47
  183. package/lib/util/tracing.js.map +1 -1
  184. package/lib/util/workspace-port-authentication.js +3 -2
  185. package/lib/util/workspace-port-authentication.js.map +1 -1
  186. package/lib/workspace-cluster.d.ts +74 -0
  187. package/lib/workspace-cluster.d.ts.map +1 -0
  188. package/lib/workspace-cluster.js +16 -0
  189. package/lib/workspace-cluster.js.map +1 -0
  190. package/lib/workspace-instance.d.ts +5 -2
  191. package/lib/workspace-instance.d.ts.map +1 -1
  192. package/lib/wsready.d.ts +1 -1
  193. package/lib/wsready.js +2 -2
  194. package/package.json +28 -16
  195. package/pkg-yarn.lock +17 -9
  196. package/src/accounting-protocol.ts +229 -0
  197. package/src/admin-protocol.ts +39 -5
  198. package/src/analytics.ts +54 -0
  199. package/src/context-url.spec.ts +39 -0
  200. package/src/context-url.ts +51 -0
  201. package/src/email-protocol.ts +2 -3
  202. package/src/env.ts +10 -10
  203. package/src/gitpod-service.ts +198 -33
  204. package/src/headless-workspace-log.ts +7 -11
  205. package/src/index.ts +5 -1
  206. package/src/messaging/browser/connection.ts +195 -14
  207. package/src/messaging/client-call-metrics.ts +97 -0
  208. package/src/messaging/error.ts +8 -2
  209. package/src/messaging/handler.ts +12 -0
  210. package/src/messaging/node/connection.ts +2 -2
  211. package/src/messaging/proxy-factory.ts +14 -6
  212. package/src/payment-protocol.ts +20 -0
  213. package/src/permission.ts +2 -1
  214. package/src/plans.ts +632 -0
  215. package/src/protocol.ts +153 -43
  216. package/src/snapshot-url.spec.ts +25 -0
  217. package/src/snapshot-url.ts +27 -0
  218. package/src/team-subscription-protocol.ts +113 -0
  219. package/src/teams-projects-protocol.ts +132 -0
  220. package/src/util/analytics.ts +87 -0
  221. package/src/util/deferred.ts +1 -1
  222. package/src/util/garbage-collected-cache.ts +2 -2
  223. package/src/util/generate-workspace-id.spec.ts +3 -3
  224. package/src/util/generate-workspace-id.ts +2 -0
  225. package/src/util/gitpod-cookie.ts +39 -0
  226. package/src/util/gitpod-host-url.spec.ts +25 -1
  227. package/src/util/gitpod-host-url.ts +23 -10
  228. package/src/util/grpc.ts +15 -0
  229. package/src/util/logging.ts +102 -38
  230. package/src/util/parse-workspace-id.spec.ts +21 -1
  231. package/src/util/parse-workspace-id.ts +32 -6
  232. package/src/util/queue.spec.ts +1 -1
  233. package/src/util/semaphore.ts +2 -2
  234. package/src/util/skip-if.ts +1 -1
  235. package/src/util/timeutil.ts +4 -4
  236. package/src/workspace-cluster.ts +96 -0
  237. package/src/workspace-instance.ts +25 -13
  238. package/src/wsready.ts +2 -2
  239. package/lib/util/context-url.d.ts +0 -13
  240. package/lib/util/context-url.d.ts.map +0 -1
  241. package/lib/util/context-url.js +0 -26
  242. package/lib/util/context-url.js.map +0 -1
  243. package/lib/util/context-url.spec.d.ts.map +0 -1
  244. package/lib/util/context-url.spec.js +0 -52
  245. package/lib/util/context-url.spec.js.map +0 -1
  246. package/lib/util/without.d.ts +0 -7
  247. package/lib/util/without.d.ts.map +0 -1
  248. package/lib/util/without.js.map +0 -1
  249. package/src/util/context-url.spec.ts +0 -25
  250. package/src/util/context-url.ts +0 -23
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright (c) 2020 TypeFox GmbH. All rights reserved.
3
+ * Copyright (c) 2020 Gitpod GmbH. All rights reserved.
4
4
  * Licensed under the GNU Affero General Public License (AGPL).
5
5
  * See License-AGPL.txt in the project root for license information.
6
6
  */
@@ -13,40 +13,112 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
13
13
  var __metadata = (this && this.__metadata) || function (k, v) {
14
14
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
15
15
  };
16
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
17
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
18
+ return new (P || (P = Promise))(function (resolve, reject) {
19
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
20
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
21
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
22
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
23
+ });
24
+ };
16
25
  Object.defineProperty(exports, "__esModule", { value: true });
17
26
  exports.GitpodHostUrlTest = void 0;
18
- var chai = require("chai");
19
- var mocha_typescript_1 = require("mocha-typescript");
20
- var gitpod_host_url_1 = require("./gitpod-host-url");
21
- var expect = chai.expect;
22
- var GitpodHostUrlTest = /** @class */ (function () {
23
- function GitpodHostUrlTest() {
24
- }
25
- GitpodHostUrlTest.prototype.parseWorkspaceId_pathBased = function () {
26
- var actual = gitpod_host_url_1.GitpodHostUrl.fromWorkspaceUrl("http://35.223.201.195/workspace/bc77e03d-c781-4235-bca0-e24087f5e472/").workspaceId;
27
+ const chai = require("chai");
28
+ const mocha_typescript_1 = require("mocha-typescript");
29
+ const gitpod_host_url_1 = require("./gitpod-host-url");
30
+ const expect = chai.expect;
31
+ let GitpodHostUrlTest = class GitpodHostUrlTest {
32
+ parseWorkspaceId_pathBased() {
33
+ const actual = gitpod_host_url_1.GitpodHostUrl.fromWorkspaceUrl("http://35.223.201.195/workspace/bc77e03d-c781-4235-bca0-e24087f5e472/").workspaceId;
27
34
  expect(actual).to.equal("bc77e03d-c781-4235-bca0-e24087f5e472");
28
- };
29
- GitpodHostUrlTest.prototype.parseWorkspaceId_hosts_withEnvVarsInjected = function () {
30
- var actual = gitpod_host_url_1.GitpodHostUrl.fromWorkspaceUrl("https://gray-grasshopper-nfbitfia.ws-eu02.gitpod-staging.com/#passedin=test%20value/https://github.com/gitpod-io/gitpod-test-repo").workspaceId;
35
+ }
36
+ parseWorkspaceId_hosts_withEnvVarsInjected() {
37
+ const actual = gitpod_host_url_1.GitpodHostUrl.fromWorkspaceUrl("https://gray-grasshopper-nfbitfia.ws-eu02.gitpod-staging.com/#passedin=test%20value/https://github.com/gitpod-io/gitpod-test-repo").workspaceId;
31
38
  expect(actual).to.equal("gray-grasshopper-nfbitfia");
32
- };
33
- __decorate([
34
- mocha_typescript_1.test,
35
- __metadata("design:type", Function),
36
- __metadata("design:paramtypes", []),
37
- __metadata("design:returntype", void 0)
38
- ], GitpodHostUrlTest.prototype, "parseWorkspaceId_pathBased", null);
39
- __decorate([
40
- mocha_typescript_1.test,
41
- __metadata("design:type", Function),
42
- __metadata("design:paramtypes", []),
43
- __metadata("design:returntype", void 0)
44
- ], GitpodHostUrlTest.prototype, "parseWorkspaceId_hosts_withEnvVarsInjected", null);
45
- GitpodHostUrlTest = __decorate([
46
- mocha_typescript_1.suite
47
- ], GitpodHostUrlTest);
48
- return GitpodHostUrlTest;
49
- }());
39
+ }
40
+ testWithoutWorkspacePrefix() {
41
+ return __awaiter(this, void 0, void 0, function* () {
42
+ expect(gitpod_host_url_1.GitpodHostUrl.fromWorkspaceUrl("https://3000-moccasin-ferret-155799b3.ws-eu02.gitpod-staging.com/").withoutWorkspacePrefix().toString()).to.equal("https://gitpod-staging.com/");
43
+ });
44
+ }
45
+ testWithoutWorkspacePrefix2() {
46
+ return __awaiter(this, void 0, void 0, function* () {
47
+ expect(gitpod_host_url_1.GitpodHostUrl.fromWorkspaceUrl("https://gitpod-staging.com/").withoutWorkspacePrefix().toString()).to.equal("https://gitpod-staging.com/");
48
+ });
49
+ }
50
+ testWithoutWorkspacePrefix3() {
51
+ return __awaiter(this, void 0, void 0, function* () {
52
+ expect(gitpod_host_url_1.GitpodHostUrl.fromWorkspaceUrl("https://gray-rook-5523v5d8.ws-dev.my-branch-1234.staging.gitpod-dev.com/").withoutWorkspacePrefix().toString()).to.equal("https://my-branch-1234.staging.gitpod-dev.com/");
53
+ });
54
+ }
55
+ testWithoutWorkspacePrefix4() {
56
+ return __awaiter(this, void 0, void 0, function* () {
57
+ expect(gitpod_host_url_1.GitpodHostUrl.fromWorkspaceUrl("https://my-branch-1234.staging.gitpod-dev.com/").withoutWorkspacePrefix().toString()).to.equal("https://my-branch-1234.staging.gitpod-dev.com/");
58
+ });
59
+ }
60
+ testWithoutWorkspacePrefix5() {
61
+ return __awaiter(this, void 0, void 0, function* () {
62
+ expect(gitpod_host_url_1.GitpodHostUrl.fromWorkspaceUrl("https://abc-nice-brunch-4224.staging.gitpod-dev.com/").withoutWorkspacePrefix().toString()).to.equal("https://abc-nice-brunch-4224.staging.gitpod-dev.com/");
63
+ });
64
+ }
65
+ testWithoutWorkspacePrefix6() {
66
+ return __awaiter(this, void 0, void 0, function* () {
67
+ expect(gitpod_host_url_1.GitpodHostUrl.fromWorkspaceUrl("https://gray-rook-5523v5d8.ws-dev.abc-nice-brunch-4224.staging.gitpod-dev.com/").withoutWorkspacePrefix().toString()).to.equal("https://abc-nice-brunch-4224.staging.gitpod-dev.com/");
68
+ });
69
+ }
70
+ };
71
+ __decorate([
72
+ mocha_typescript_1.test,
73
+ __metadata("design:type", Function),
74
+ __metadata("design:paramtypes", []),
75
+ __metadata("design:returntype", void 0)
76
+ ], GitpodHostUrlTest.prototype, "parseWorkspaceId_pathBased", null);
77
+ __decorate([
78
+ mocha_typescript_1.test,
79
+ __metadata("design:type", Function),
80
+ __metadata("design:paramtypes", []),
81
+ __metadata("design:returntype", void 0)
82
+ ], GitpodHostUrlTest.prototype, "parseWorkspaceId_hosts_withEnvVarsInjected", null);
83
+ __decorate([
84
+ mocha_typescript_1.test,
85
+ __metadata("design:type", Function),
86
+ __metadata("design:paramtypes", []),
87
+ __metadata("design:returntype", Promise)
88
+ ], GitpodHostUrlTest.prototype, "testWithoutWorkspacePrefix", null);
89
+ __decorate([
90
+ mocha_typescript_1.test,
91
+ __metadata("design:type", Function),
92
+ __metadata("design:paramtypes", []),
93
+ __metadata("design:returntype", Promise)
94
+ ], GitpodHostUrlTest.prototype, "testWithoutWorkspacePrefix2", null);
95
+ __decorate([
96
+ mocha_typescript_1.test,
97
+ __metadata("design:type", Function),
98
+ __metadata("design:paramtypes", []),
99
+ __metadata("design:returntype", Promise)
100
+ ], GitpodHostUrlTest.prototype, "testWithoutWorkspacePrefix3", null);
101
+ __decorate([
102
+ mocha_typescript_1.test,
103
+ __metadata("design:type", Function),
104
+ __metadata("design:paramtypes", []),
105
+ __metadata("design:returntype", Promise)
106
+ ], GitpodHostUrlTest.prototype, "testWithoutWorkspacePrefix4", null);
107
+ __decorate([
108
+ mocha_typescript_1.test,
109
+ __metadata("design:type", Function),
110
+ __metadata("design:paramtypes", []),
111
+ __metadata("design:returntype", Promise)
112
+ ], GitpodHostUrlTest.prototype, "testWithoutWorkspacePrefix5", null);
113
+ __decorate([
114
+ mocha_typescript_1.test,
115
+ __metadata("design:type", Function),
116
+ __metadata("design:paramtypes", []),
117
+ __metadata("design:returntype", Promise)
118
+ ], GitpodHostUrlTest.prototype, "testWithoutWorkspacePrefix6", null);
119
+ GitpodHostUrlTest = __decorate([
120
+ mocha_typescript_1.suite
121
+ ], GitpodHostUrlTest);
50
122
  exports.GitpodHostUrlTest = GitpodHostUrlTest;
51
123
  module.exports = new GitpodHostUrlTest();
52
124
  //# sourceMappingURL=gitpod-host-url.spec.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"gitpod-host-url.spec.js","sourceRoot":"","sources":["../../src/util/gitpod-host-url.spec.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;AAEH,2BAA6B;AAC7B,qDAA+C;AAC/C,qDAAkD;AAClD,IAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;AAG3B;IAAA;IAWA,CAAC;IATgB,sDAA0B,GAAjC;QACF,IAAM,MAAM,GAAG,+BAAa,CAAC,gBAAgB,CAAC,uEAAuE,CAAC,CAAC,WAAW,CAAC;QACnI,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,sCAAsC,CAAC,CAAC;IACpE,CAAC;IAEY,sEAA0C,GAAjD;QACF,IAAM,MAAM,GAAG,+BAAa,CAAC,gBAAgB,CAAC,mIAAmI,CAAC,CAAC,WAAW,CAAC;QAC/L,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,2BAA2B,CAAC,CAAC;IACzD,CAAC;IARK;QAAL,uBAAI;;;;uEAGJ;IAEK;QAAL,uBAAI;;;;uFAGJ;IAVQ,iBAAiB;QAD7B,wBAAK;OACO,iBAAiB,CAW7B;IAAD,wBAAC;CAAA,AAXD,IAWC;AAXY,8CAAiB;AAY9B,MAAM,CAAC,OAAO,GAAG,IAAI,iBAAiB,EAAE,CAAA"}
1
+ {"version":3,"file":"gitpod-host-url.spec.js","sourceRoot":"","sources":["../../src/util/gitpod-host-url.spec.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;;;;;;AAEH,6BAA6B;AAC7B,uDAA+C;AAC/C,uDAAkD;AAClD,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM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AAM,CAAC,+BAAa,CAAC,gBAAgB,CAAC,sDAAsD,CAAC,CAAC,sBAAsB,EAAE,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,sDAAsD,CAAC,CAAC;QACxM,CAAC;KAAA;IAEkB,2BAA2B;;YAC1C,MAAM,CAAC,+BAAa,CAAC,gBAAgB,CAAC,gFAAgF,CAAC,CAAC,sBAAsB,EAAE,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,sDAAsD,CAAC,CAAC;QAClO,CAAC;KAAA;CACJ,CAAA;AAjCS;IAAL,uBAAI;;;;mEAGJ;AAEK;IAAL,uBAAI;;;;mFAGJ;AAEK;IAAL,uBAAI;;;;mEAEJ;AAEK;IAAL,uBAAI;;;;oEAEJ;AAEK;IAAL,uBAAI;;;;oEAEJ;AAEK;IAAL,uBAAI;;;;oEAEJ;AAEK;IAAL,uBAAI;;;;oEAEJ;AAEK;IAAL,uBAAI;;;;oEAEJ;AAlCQ,iBAAiB;IAD7B,wBAAK;GACO,iBAAiB,CAmC7B;AAnCY,8CAAiB;AAoC9B,MAAM,CAAC,OAAO,GAAG,IAAI,iBAAiB,EAAE,CAAA"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Copyright (c) 2021 Gitpod GmbH. All rights reserved.
3
+ * Licensed under the GNU Affero General Public License (AGPL).
4
+ * See License-AGPL.txt in the project root for license information.
5
+ */
6
+ export declare const defaultGRPCOptions: {
7
+ "grpc.keepalive_timeout_ms": number;
8
+ "grpc.keepalive_time_ms": number;
9
+ "grpc.http2.min_time_between_pings_ms": number;
10
+ "grpc.keepalive_permit_without_calls": number;
11
+ "grpc-node.max_session_memory": number;
12
+ "grpc.max_reconnect_backoff_ms": number;
13
+ "grpc.max_receive_message_length": number;
14
+ };
15
+ //# sourceMappingURL=grpc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grpc.d.ts","sourceRoot":"","sources":["../../src/util/grpc.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;CAQ/B,CAAC"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ /**
3
+ * Copyright (c) 2021 Gitpod GmbH. All rights reserved.
4
+ * Licensed under the GNU Affero General Public License (AGPL).
5
+ * See License-AGPL.txt in the project root for license information.
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.defaultGRPCOptions = void 0;
9
+ exports.defaultGRPCOptions = {
10
+ "grpc.keepalive_timeout_ms": 10000,
11
+ "grpc.keepalive_time_ms": 60000,
12
+ "grpc.http2.min_time_between_pings_ms": 10000,
13
+ "grpc.keepalive_permit_without_calls": 1,
14
+ "grpc-node.max_session_memory": 50,
15
+ "grpc.max_reconnect_backoff_ms": 5000,
16
+ "grpc.max_receive_message_length": 1024 * 1024 * 16,
17
+ };
18
+ //# sourceMappingURL=grpc.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grpc.js","sourceRoot":"","sources":["../../src/util/grpc.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEW,QAAA,kBAAkB,GAAG;IAC/B,2BAA2B,EAAE,KAAK;IAClC,wBAAwB,EAAE,KAAK;IAC/B,sCAAsC,EAAE,KAAK;IAC7C,qCAAqC,EAAE,CAAC;IACxC,8BAA8B,EAAE,EAAE;IAClC,+BAA+B,EAAE,IAAI;IACrC,iCAAiC,EAAE,IAAI,GAAG,IAAI,GAAG,EAAE;CACtD,CAAC"}
@@ -19,58 +19,74 @@ export declare namespace LogContext {
19
19
  export interface LogPayload {
20
20
  }
21
21
  export declare namespace log {
22
- function error(context: LogContext, message: string, error: Error, payload: LogPayload): void;
23
- function error(context: LogContext, message: string, error: Error): void;
22
+ function error(context: LogContext, message: string, error: any, payload: LogPayload): void;
23
+ function error(context: LogContext, message: string, error: any): void;
24
24
  function error(context: LogContext, message: string, payload: LogPayload): void;
25
25
  function error(context: LogContext, message: string): void;
26
- function error(context: LogContext, error: Error, payload: LogPayload): void;
27
- function error(context: LogContext, error: Error): void;
28
- function error(message: string, error: Error, payload: LogPayload): void;
29
- function error(message: string, error: Error): void;
26
+ function error(context: LogContext, error: any, payload: LogPayload): void;
27
+ function error(context: LogContext, error: any): void;
28
+ function error(message: string, error: any, payload: LogPayload): void;
29
+ function error(message: string, error: any): void;
30
30
  function error(message: string, payload: LogPayload): void;
31
31
  function error(message: string): void;
32
- function error(error: Error, payload: LogPayload): void;
33
- function error(error: Error): void;
34
- function warn(context: LogContext, message: string, error: Error, payload: LogPayload): void;
35
- function warn(context: LogContext, message: string, error: Error): void;
32
+ function error(error: any, payload: LogPayload): void;
33
+ function error(error: any): void;
34
+ function warn(context: LogContext, message: string, error: any, payload: LogPayload): void;
35
+ function warn(context: LogContext, message: string, error: any): void;
36
36
  function warn(context: LogContext, message: string, payload: LogPayload): void;
37
37
  function warn(context: LogContext, message: string): void;
38
- function warn(context: LogContext, error: Error, payload: LogPayload): void;
39
- function warn(context: LogContext, error: Error): void;
40
- function warn(message: string, error: Error, payload: LogPayload): void;
41
- function warn(message: string, error: Error): void;
38
+ function warn(context: LogContext, error: any, payload: LogPayload): void;
39
+ function warn(context: LogContext, error: any): void;
40
+ function warn(message: string, error: any, payload: LogPayload): void;
41
+ function warn(message: string, error: any): void;
42
42
  function warn(message: string, payload: LogPayload): void;
43
43
  function warn(message: string): void;
44
- function warn(error: Error, payload: LogPayload): void;
45
- function warn(error: Error): void;
46
- function info(context: LogContext, message: string, error: Error, payload: LogPayload): void;
47
- function info(context: LogContext, message: string, error: Error): void;
44
+ function warn(error: any, payload: LogPayload): void;
45
+ function warn(error: any): void;
46
+ function info(context: LogContext, message: string, error: any, payload: LogPayload): void;
47
+ function info(context: LogContext, message: string, error: any): void;
48
48
  function info(context: LogContext, message: string, payload: LogPayload): void;
49
49
  function info(context: LogContext, message: string): void;
50
- function info(context: LogContext, error: Error, payload: LogPayload): void;
51
- function info(context: LogContext, error: Error): void;
52
- function info(message: string, error: Error, payload: LogPayload): void;
53
- function info(message: string, error: Error): void;
50
+ function info(context: LogContext, error: any, payload: LogPayload): void;
51
+ function info(context: LogContext, error: any): void;
52
+ function info(message: string, error: any, payload: LogPayload): void;
53
+ function info(message: string, error: any): void;
54
54
  function info(message: string, payload: LogPayload): void;
55
55
  function info(message: string): void;
56
- function info(error: Error, payload: LogPayload): void;
57
- function info(error: Error): void;
58
- function debug(context: LogContext, message: string, error: Error, payload: LogPayload): void;
59
- function debug(context: LogContext, message: string, error: Error): void;
56
+ function info(error: any, payload: LogPayload): void;
57
+ function info(error: any): void;
58
+ function debug(context: LogContext, message: string, error: any, payload: LogPayload): void;
59
+ function debug(context: LogContext, message: string, error: any): void;
60
60
  function debug(context: LogContext, message: string, payload: LogPayload): void;
61
61
  function debug(context: LogContext, message: string): void;
62
- function debug(context: LogContext, error: Error, payload: LogPayload): void;
63
- function debug(context: LogContext, error: Error): void;
64
- function debug(message: string, error: Error, payload: LogPayload): void;
65
- function debug(message: string, error: Error): void;
62
+ function debug(context: LogContext, error: any, payload: LogPayload): void;
63
+ function debug(context: LogContext, error: any): void;
64
+ function debug(message: string, error: any, payload: LogPayload): void;
65
+ function debug(message: string, error: any): void;
66
66
  function debug(message: string, payload: LogPayload): void;
67
67
  function debug(message: string): void;
68
- function debug(error: Error, payload: LogPayload): void;
69
- function debug(error: Error): void;
68
+ function debug(error: any, payload: LogPayload): void;
69
+ function debug(error: any): void;
70
70
  /**
71
71
  * Do not use in frontend.
72
72
  */
73
- function enableJSONLogging(componentArg: string, versionArg: string | undefined): void;
73
+ function enableJSONLogging(componentArg: string, versionArg: string | undefined, logLevel?: LogrusLogLevel): void;
74
+ function setLogLevel(logLevel: LogrusLogLevel | undefined): void;
74
75
  function resetToDefaultLogging(): void;
76
+ function setVersion(versionArg: string): void;
77
+ }
78
+ export declare type LogrusLogLevel = keyof (typeof LogrusLogLevels);
79
+ export declare const LogrusLogLevels: {
80
+ trace: boolean;
81
+ debug: boolean;
82
+ info: boolean;
83
+ warning: boolean;
84
+ error: boolean;
85
+ fatal: boolean;
86
+ panic: boolean;
87
+ };
88
+ export declare namespace LogrusLogLevel {
89
+ function isGreatherOrEqual(lvl: LogrusLogLevel | undefined, ref: LogrusLogLevel | undefined): boolean;
90
+ function getFromEnv(): LogrusLogLevel | undefined;
75
91
  }
76
92
  //# sourceMappingURL=logging.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"logging.d.ts","sourceRoot":"","sources":["../../src/util/logging.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH,MAAM,WAAW,UAAU;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AACD,yBAAiB,UAAU,CAAC;IACxB,SAAgB,IAAI,CAAC,MAAM,EAAG;QAAE,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,GAAG,CAAC;QAAC,OAAO,CAAC,EAAE,GAAG,CAAA;KAAE,cAK3E;CACJ;AAED,MAAM,WAAW,UAAU;CAE1B;AAED,yBAAiB,GAAG,CAAC;IACjB,SAAgB,KAAK,CAAC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,UAAU,GAAG,IAAI,CAAC;IACrG,SAAgB,KAAK,CAAC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IAChF,SAAgB,KAAK,CAAC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,GAAG,IAAI,CAAC;IACvF,SAAgB,KAAK,CAAC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAClE,SAAgB,KAAK,CAAC,OAAO,EAAE,UAAU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