@golemio/core 3.3.0-dev.2644055028 → 3.3.0-rc.2646964518

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 (220) hide show
  1. package/dist/helpers/BaseApp.js.map +1 -1
  2. package/dist/helpers/ConfigLoader.js.map +1 -1
  3. package/dist/helpers/DateTime.js.map +1 -1
  4. package/dist/helpers/HealthCheck.js.map +1 -1
  5. package/dist/helpers/LightshipStarter.js +1 -2
  6. package/dist/helpers/LightshipStarter.js.map +1 -1
  7. package/dist/helpers/configuration/SimpleConfig.js.map +1 -1
  8. package/dist/helpers/data-access/amqp/AlternateExchangeCreator.js +1 -1
  9. package/dist/helpers/data-access/amqp/AlternateExchangeCreator.js.map +1 -1
  10. package/dist/helpers/data-access/amqp/AmqpConnector.js +2 -1
  11. package/dist/helpers/data-access/amqp/AmqpConnector.js.map +1 -1
  12. package/dist/helpers/data-access/azure/AbstractAzureService.js.map +1 -1
  13. package/dist/helpers/data-access/azure/AzureBearerTokenProvider.js.map +1 -1
  14. package/dist/helpers/data-access/azure/buildBearerTokenProvider.js.map +1 -1
  15. package/dist/helpers/data-access/feature-flags/FeatureFlagServiceFactory.js.map +1 -1
  16. package/dist/helpers/data-access/opensearch/OpenSearchConnector.js.map +1 -1
  17. package/dist/helpers/data-access/opensearch/OpenSearchService.js.map +1 -1
  18. package/dist/helpers/data-access/opensearch/OpenSearchSyncOrchestrator.js +1 -1
  19. package/dist/helpers/data-access/opensearch/OpenSearchSyncOrchestrator.js.map +1 -1
  20. package/dist/helpers/data-access/opensearch/czechAnalyzer.d.ts +6 -0
  21. package/dist/helpers/data-access/opensearch/czechAnalyzer.js +30 -0
  22. package/dist/helpers/data-access/opensearch/czechAnalyzer.js.map +1 -0
  23. package/dist/helpers/data-access/opensearch/index.d.ts +1 -5
  24. package/dist/helpers/data-access/opensearch/index.js +5 -9
  25. package/dist/helpers/data-access/opensearch/index.js.map +1 -1
  26. package/dist/helpers/data-access/postgres/DatabaseConnector.js +3 -10
  27. package/dist/helpers/data-access/postgres/DatabaseConnector.js.map +1 -1
  28. package/dist/helpers/data-access/postgres/IDatabaseInfo.d.ts +0 -1
  29. package/dist/helpers/data-access/postgres/repositories/AbstractCachedRepository.js.map +1 -1
  30. package/dist/helpers/data-access/pubsub/subscribers/AbstractSubscriber.d.ts +1 -0
  31. package/dist/helpers/data-access/pubsub/subscribers/RedisSubscriber.js.map +1 -1
  32. package/dist/helpers/data-access/redis/IoRedisConnector.js.map +1 -1
  33. package/dist/helpers/data-access/storage/AbstractStorageService.d.ts +4 -0
  34. package/dist/helpers/data-access/storage/AzureBlobStorageService.d.ts +4 -0
  35. package/dist/helpers/data-access/storage/AzureBlobStorageService.js.map +1 -1
  36. package/dist/helpers/data-access/storage/NoopStorageService.d.ts +3 -0
  37. package/dist/helpers/data-access/storage/StorageServiceFactory.js.map +1 -1
  38. package/dist/helpers/data-access/table-storage/TableStorageServiceFactory.js.map +1 -1
  39. package/dist/helpers/data-access/table-storage/providers/AzureTableStorageService.js.map +1 -1
  40. package/dist/helpers/inspector/InspectorUtils.js.map +1 -1
  41. package/dist/helpers/logger/LoggerEmitter.d.ts +1 -0
  42. package/dist/helpers/logger/LoggerProvider.js.map +1 -1
  43. package/dist/helpers/logger/RequestLoggerProvider.js.map +1 -1
  44. package/dist/helpers/parser/queryParser.js.map +1 -1
  45. package/dist/helpers/routing/AbstractGeoJsonRouter.d.ts +1 -1
  46. package/dist/helpers/routing/AbstractGeoJsonRouter.js.map +1 -1
  47. package/dist/helpers/tools/memory/MemoryMonitor.d.ts +1 -0
  48. package/dist/helpers/tools/memory/MemoryMonitor.js +7 -17
  49. package/dist/helpers/tools/memory/MemoryMonitor.js.map +1 -1
  50. package/dist/helpers/tools/memory/MemoryMonitoringDecorator.js +3 -2
  51. package/dist/helpers/tools/memory/MemoryMonitoringDecorator.js.map +1 -1
  52. package/dist/helpers/tools/memory/examples/MemoryMonitoringExamples.js.map +1 -1
  53. package/dist/helpers/transformation/AbstractTransformation.js.map +1 -1
  54. package/dist/helpers/utils.js.map +1 -1
  55. package/dist/index.js +7 -17
  56. package/dist/index.js.map +1 -1
  57. package/dist/input-gateway/config/InputGatewayConfiguration.js +1 -2
  58. package/dist/input-gateway/config/InputGatewayConfiguration.js.map +1 -1
  59. package/dist/input-gateway/connectors/AMQPConnector.js +2 -3
  60. package/dist/input-gateway/connectors/AMQPConnector.js.map +1 -1
  61. package/dist/input-gateway/controllers/BaseController.js +1 -0
  62. package/dist/input-gateway/controllers/BaseController.js.map +1 -1
  63. package/dist/input-gateway/data-access/StorageServiceProvider.js +1 -2
  64. package/dist/input-gateway/data-access/StorageServiceProvider.js.map +1 -1
  65. package/dist/input-gateway/helpers/CheckContentTypeMiddleware.js.map +1 -1
  66. package/dist/input-gateway/helpers/ErrorPreprocessorMiddleware.js.map +1 -1
  67. package/dist/input-gateway/helpers/Logger.d.ts +1 -0
  68. package/dist/input-gateway/helpers/LoggerEmitterProvider.js +1 -2
  69. package/dist/input-gateway/helpers/LoggerEmitterProvider.js.map +1 -1
  70. package/dist/input-gateway/helpers/ResponseTimeMiddleware.js.map +1 -1
  71. package/dist/input-gateway/helpers/SaveRawDataMiddleware.js +1 -2
  72. package/dist/input-gateway/helpers/SaveRawDataMiddleware.js.map +1 -1
  73. package/dist/input-gateway/ioc/Di.js +1 -0
  74. package/dist/input-gateway/ioc/Di.js.map +1 -1
  75. package/dist/input-gateway/middleware/CsvParserMiddleware.js +1 -2
  76. package/dist/input-gateway/middleware/CsvParserMiddleware.js.map +1 -1
  77. package/dist/input-gateway/models/RedisModel.d.ts +1 -1
  78. package/dist/input-gateway/models/RedisModel.js.map +1 -1
  79. package/dist/integration-engine/config/IntegrationEngineConfiguration.js +3 -4
  80. package/dist/integration-engine/config/IntegrationEngineConfiguration.js.map +1 -1
  81. package/dist/integration-engine/connectors/AMQPConnector.js +3 -3
  82. package/dist/integration-engine/connectors/AMQPConnector.js.map +1 -1
  83. package/dist/integration-engine/connectors/index.js +4 -0
  84. package/dist/integration-engine/connectors/index.js.map +1 -1
  85. package/dist/integration-engine/data-access/RawDataStorage.js.map +1 -1
  86. package/dist/integration-engine/data-access/StorageServiceProvider.js +1 -2
  87. package/dist/integration-engine/data-access/StorageServiceProvider.js.map +1 -1
  88. package/dist/integration-engine/data-access/pubsub/subscribers/RedisSubscriber.js.map +1 -1
  89. package/dist/integration-engine/datasources/DataSource.js.map +1 -1
  90. package/dist/integration-engine/datasources/DataSourceStream.d.ts +1 -0
  91. package/dist/integration-engine/datasources/DataSourceStream.js.map +1 -1
  92. package/dist/integration-engine/datasources/DataSourceStreamManager.js.map +1 -1
  93. package/dist/integration-engine/datasources/DataSourceStreamed.js.map +1 -1
  94. package/dist/integration-engine/datasources/RetryDataSource.js.map +1 -1
  95. package/dist/integration-engine/datasources/datatype-strategy/CSVDataTypeStrategy.js.map +1 -1
  96. package/dist/integration-engine/datasources/datatype-strategy/JSONDataTypeStrategy.js.map +1 -1
  97. package/dist/integration-engine/datasources/datatype-strategy/XMLDataTypeStrategy.js.map +1 -1
  98. package/dist/integration-engine/datasources/datatype-strategy/ZipFileDataTypeStrategy.d.ts +2 -0
  99. package/dist/integration-engine/datasources/datatype-strategy/ZipFileDataTypeStrategy.js.map +1 -1
  100. package/dist/integration-engine/datasources/index.d.ts +0 -5
  101. package/dist/integration-engine/datasources/index.js +0 -5
  102. package/dist/integration-engine/datasources/index.js.map +1 -1
  103. package/dist/integration-engine/datasources/protocol-strategy/FTPProtocolStrategy.js.map +1 -1
  104. package/dist/integration-engine/datasources/protocol-strategy/GoogleCloudStorageProtocolStrategy.js.map +1 -1
  105. package/dist/integration-engine/datasources/protocol-strategy/HTTPFetchProtocolStrategy.js.map +1 -1
  106. package/dist/integration-engine/datasources/protocol-strategy/HTTPRequestProtocolStrategy.js.map +1 -1
  107. package/dist/integration-engine/datasources/protocol-strategy/HTTPRequestProtocolStrategyStreamed.d.ts +1 -4
  108. package/dist/integration-engine/datasources/protocol-strategy/HTTPRequestProtocolStrategyStreamed.js +1 -30
  109. package/dist/integration-engine/datasources/protocol-strategy/HTTPRequestProtocolStrategyStreamed.js.map +1 -1
  110. package/dist/integration-engine/datasources/protocol-strategy/IProtocolStrategy.d.ts +3 -0
  111. package/dist/integration-engine/datasources/protocol-strategy/PaginatedHTTPProtocolStrategy.js.map +1 -1
  112. package/dist/integration-engine/datasources/protocol-strategy/PostgresProtocolStrategy.js +2 -2
  113. package/dist/integration-engine/datasources/protocol-strategy/PostgresProtocolStrategy.js.map +1 -1
  114. package/dist/integration-engine/datasources/protocol-strategy/PostgresProtocolStrategyStreamed.js +1 -1
  115. package/dist/integration-engine/datasources/protocol-strategy/PostgresProtocolStrategyStreamed.js.map +1 -1
  116. package/dist/integration-engine/datasources/protocol-strategy/ProtocolStrategy.d.ts +0 -2
  117. package/dist/integration-engine/datasources/protocol-strategy/ProtocolStrategy.js +7 -42
  118. package/dist/integration-engine/datasources/protocol-strategy/ProtocolStrategy.js.map +1 -1
  119. package/dist/integration-engine/datasources/protocol-strategy/SFTPProtocolStrategy.js.map +1 -1
  120. package/dist/integration-engine/datasources/protocol-strategy/helpers/FTPFileProcessor.js.map +1 -1
  121. package/dist/integration-engine/datasources/protocol-strategy/interfaces/IHTTPRequestSettings.d.ts +3 -0
  122. package/dist/integration-engine/helpers/FileCompressor.d.ts +2 -0
  123. package/dist/integration-engine/helpers/FileCompressor.js.map +1 -1
  124. package/dist/integration-engine/helpers/GeocodeApi.js +1 -2
  125. package/dist/integration-engine/helpers/GeocodeApi.js.map +1 -1
  126. package/dist/integration-engine/helpers/IntegrationErrorHandler.js.map +1 -1
  127. package/dist/integration-engine/helpers/Logger.d.ts +1 -0
  128. package/dist/integration-engine/helpers/LoggerEmitterProvider.js +1 -2
  129. package/dist/integration-engine/helpers/LoggerEmitterProvider.js.map +1 -1
  130. package/dist/integration-engine/ioc/Di.js +2 -2
  131. package/dist/integration-engine/ioc/Di.js.map +1 -1
  132. package/dist/integration-engine/models/PostgresModel.d.ts +1 -1
  133. package/dist/integration-engine/models/PostgresModel.js.map +1 -1
  134. package/dist/integration-engine/models/RedisModel.d.ts +1 -1
  135. package/dist/integration-engine/models/RedisModel.js.map +1 -1
  136. package/dist/integration-engine/models/postgres/AuditAttributeModel.js +5 -5
  137. package/dist/integration-engine/models/postgres/AuditAttributeModel.js.map +1 -1
  138. package/dist/integration-engine/queueprocessors/QueueProcessor.js.map +1 -1
  139. package/dist/integration-engine/queueprocessors/helpers.js.map +1 -1
  140. package/dist/integration-engine/transformations/BaseTransformation.js.map +1 -1
  141. package/dist/integration-engine/workers/AbstractTask.js.map +1 -1
  142. package/dist/integration-engine/workers/AbstractTaskJsonSchema.js.map +1 -1
  143. package/dist/integration-engine/workers/AbstractTaskWithoutValidation.js +1 -1
  144. package/dist/integration-engine/workers/AbstractTaskWithoutValidation.js.map +1 -1
  145. package/dist/integration-engine/workers/AbstractWorker.js +2 -2
  146. package/dist/integration-engine/workers/AbstractWorker.js.map +1 -1
  147. package/dist/integration-engine/workers/BaseWorker.d.ts +1 -1
  148. package/dist/integration-engine/workers/BaseWorker.js.map +1 -1
  149. package/dist/integration-engine/workers/helpers/AbortableTask.js.map +1 -1
  150. package/dist/integration-engine/workers/helpers/MessageDataParser.js.map +1 -1
  151. package/dist/integration-engine/workers/helpers/MessageDataValidator.js.map +1 -1
  152. package/dist/integration-engine/workers/webhooks/CloudflareCachePurgeWebhook.js.map +1 -1
  153. package/dist/monitoring/metrics/metrics-builder.js.map +1 -1
  154. package/dist/monitoring/metrics/metrics-middleware.js.map +1 -1
  155. package/dist/monitoring/metrics/metrics-service.d.ts +3 -2
  156. package/dist/monitoring/metrics/metrics-service.js.map +1 -1
  157. package/dist/monitoring/opentelemetry/instrumentation/configs/amqplib.js.map +1 -1
  158. package/dist/monitoring/opentelemetry/instrumentation/configs/aws-sdk.js.map +1 -1
  159. package/dist/monitoring/opentelemetry/instrumentation/configs/http.js.map +1 -1
  160. package/dist/monitoring/opentelemetry/trace-provider.js.map +1 -1
  161. package/dist/output-gateway/CacheHeaderMiddleware.d.ts +1 -0
  162. package/dist/output-gateway/CacheHeaderMiddleware.js +1 -2
  163. package/dist/output-gateway/CacheHeaderMiddleware.js.map +1 -1
  164. package/dist/output-gateway/CompressionByDefaultMiddleware.js +1 -2
  165. package/dist/output-gateway/CompressionByDefaultMiddleware.js.map +1 -1
  166. package/dist/output-gateway/Geo.js.map +1 -1
  167. package/dist/output-gateway/Logger.d.ts +1 -0
  168. package/dist/output-gateway/Utils.js.map +1 -1
  169. package/dist/output-gateway/Validation.js +1 -1
  170. package/dist/output-gateway/Validation.js.map +1 -1
  171. package/dist/output-gateway/config/OutputGatewayConfiguration.js +1 -2
  172. package/dist/output-gateway/config/OutputGatewayConfiguration.js.map +1 -1
  173. package/dist/output-gateway/ioc/Di.js +0 -1
  174. package/dist/output-gateway/ioc/Di.js.map +1 -1
  175. package/dist/output-gateway/routes/BaseRouter.js.map +1 -1
  176. package/dist/output-gateway/routes/GeoJsonRouter.d.ts +1 -1
  177. package/dist/output-gateway/routes/GeoJsonRouter.js.map +1 -1
  178. package/dist/output-gateway/routes/typeguards/RouterExpireParametersTypeGuard.js.map +1 -1
  179. package/dist/shared/class-transformer.js +7 -17
  180. package/dist/shared/class-transformer.js.map +1 -1
  181. package/dist/shared/class-validator.js +7 -17
  182. package/dist/shared/class-validator.js.map +1 -1
  183. package/dist/shared/express-validator.js +7 -17
  184. package/dist/shared/express-validator.js.map +1 -1
  185. package/dist/shared/golemio-errors.js +7 -17
  186. package/dist/shared/golemio-errors.js.map +1 -1
  187. package/dist/shared/golemio-validator.js +7 -17
  188. package/dist/shared/golemio-validator.js.map +1 -1
  189. package/dist/shared/lightship.js +7 -17
  190. package/dist/shared/lightship.js.map +1 -1
  191. package/dist/shared/luxon.js +7 -17
  192. package/dist/shared/luxon.js.map +1 -1
  193. package/dist/shared/pino.js +7 -17
  194. package/dist/shared/pino.js.map +1 -1
  195. package/dist/shared/qs.js +7 -17
  196. package/dist/shared/qs.js.map +1 -1
  197. package/dist/shared/redis-semaphore.js +7 -17
  198. package/dist/shared/redis-semaphore.js.map +1 -1
  199. package/package.json +7 -17
  200. package/dist/helpers/data-access/opensearch/czechAnalysis.d.ts +0 -14
  201. package/dist/helpers/data-access/opensearch/czechAnalysis.js +0 -73
  202. package/dist/helpers/data-access/opensearch/czechAnalysis.js.map +0 -1
  203. package/dist/helpers/data-access/opensearch/expandAcronyms.d.ts +0 -1
  204. package/dist/helpers/data-access/opensearch/expandAcronyms.js +0 -19
  205. package/dist/helpers/data-access/opensearch/expandAcronyms.js.map +0 -1
  206. package/dist/helpers/data-access/opensearch/liveSearchQuery.d.ts +0 -18
  207. package/dist/helpers/data-access/opensearch/liveSearchQuery.js +0 -41
  208. package/dist/helpers/data-access/opensearch/liveSearchQuery.js.map +0 -1
  209. package/dist/integration-engine/datasources/BatchWritable.d.ts +0 -14
  210. package/dist/integration-engine/datasources/BatchWritable.js +0 -42
  211. package/dist/integration-engine/datasources/BatchWritable.js.map +0 -1
  212. package/dist/integration-engine/datasources/DataSourceStreamedPipeline.d.ts +0 -24
  213. package/dist/integration-engine/datasources/DataSourceStreamedPipeline.js +0 -72
  214. package/dist/integration-engine/datasources/DataSourceStreamedPipeline.js.map +0 -1
  215. package/dist/integration-engine/datasources/datatype-strategy/JSONStreamTransformer.d.ts +0 -4
  216. package/dist/integration-engine/datasources/datatype-strategy/JSONStreamTransformer.js +0 -12
  217. package/dist/integration-engine/datasources/datatype-strategy/JSONStreamTransformer.js.map +0 -1
  218. package/dist/integration-engine/datasources/protocol-strategy/IStreamingProtocolStrategy.d.ts +0 -4
  219. package/dist/integration-engine/datasources/protocol-strategy/IStreamingProtocolStrategy.js +0 -3
  220. package/dist/integration-engine/datasources/protocol-strategy/IStreamingProtocolStrategy.js.map +0 -1
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.JSONStreamTransformer = void 0;
4
- // eslint-disable-next-line @typescript-eslint/no-var-requires
5
- const JSONStream = require("JSONStream");
6
- class JSONStreamTransformer {
7
- static parse(path) {
8
- return JSONStream.parse(path);
9
- }
10
- }
11
- exports.JSONStreamTransformer = JSONStreamTransformer;
12
- //# sourceMappingURL=JSONStreamTransformer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"JSONStreamTransformer.js","sourceRoot":"","sources":["../../../../src/integration-engine/datasources/datatype-strategy/JSONStreamTransformer.ts"],"names":[],"mappings":";;;AAGA,8DAA8D;AAC9D,MAAM,UAAU,GAAG,OAAO,CAAC,YAAY,CAA4B,CAAC;AACpE,MAAa,qBAAqB;IAC9B,MAAM,CAAC,KAAK,CAAC,IAAY;QACrB,OAAO,UAAU,CAAC,KAAK,CAAC,IAAI,CAAyB,CAAC;IAC1D,CAAC;CACJ;AAJD,sDAIC"}
@@ -1,4 +0,0 @@
1
- import { Readable } from "stream";
2
- export interface IStreamingProtocolStrategy {
3
- getBodyStream(): Promise<Readable>;
4
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=IStreamingProtocolStrategy.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IStreamingProtocolStrategy.js","sourceRoot":"","sources":["../../../../src/integration-engine/datasources/protocol-strategy/IStreamingProtocolStrategy.ts"],"names":[],"mappings":""}