kuzzle 2.44.0-beta.1 → 2.45.0

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 (40) hide show
  1. package/lib/api/controllers/adminController.js +2 -1
  2. package/lib/api/controllers/authController.d.ts +1 -0
  3. package/lib/api/controllers/authController.js +2 -1
  4. package/lib/api/controllers/securityController.js +22 -20
  5. package/lib/api/funnel.js +30 -10
  6. package/lib/cluster/command.js +3 -2
  7. package/lib/cluster/idCardHandler.d.ts +1 -0
  8. package/lib/cluster/idCardHandler.js +2 -1
  9. package/lib/cluster/node.js +18 -19
  10. package/lib/cluster/subscriber.js +5 -3
  11. package/lib/core/backend/backend.d.ts +3 -2
  12. package/lib/core/backend/backend.js +1 -1
  13. package/lib/core/cache/cacheEngine.js +3 -1
  14. package/lib/core/network/accessLogger.js +3 -2
  15. package/lib/core/network/entryPoint.js +7 -7
  16. package/lib/core/network/protocols/httpwsProtocol.js +7 -7
  17. package/lib/core/network/protocols/mqttProtocol.js +3 -2
  18. package/lib/core/network/router.js +4 -3
  19. package/lib/core/plugin/pluginsManager.js +13 -5
  20. package/lib/core/realtime/hotelClerk.d.ts +1 -0
  21. package/lib/core/realtime/hotelClerk.js +4 -3
  22. package/lib/core/realtime/notifier.js +2 -1
  23. package/lib/core/security/roleRepository.js +3 -2
  24. package/lib/core/security/securityLoader.js +5 -7
  25. package/lib/core/shared/store.d.ts +1 -0
  26. package/lib/core/shared/store.js +2 -1
  27. package/lib/core/statistics/statistics.js +3 -1
  28. package/lib/core/storage/storageEngine.js +6 -1
  29. package/lib/core/validation/validation.js +6 -5
  30. package/lib/kuzzle/dumpGenerator.js +17 -16
  31. package/lib/kuzzle/internalIndexHandler.js +3 -1
  32. package/lib/kuzzle/kuzzle.js +0 -1
  33. package/lib/service/cache/redis.js +4 -0
  34. package/lib/service/storage/7/elasticsearch.d.ts +1 -0
  35. package/lib/service/storage/7/elasticsearch.js +5 -4
  36. package/lib/service/storage/8/elasticsearch.d.ts +1 -0
  37. package/lib/service/storage/8/elasticsearch.js +5 -4
  38. package/lib/service/storage/Elasticsearch.d.ts +1 -0
  39. package/lib/service/storage/Elasticsearch.js +1 -1
  40. package/package.json +1 -1
@@ -2,6 +2,7 @@ import Service from "../service";
2
2
  import { storeScopeEnum } from "../../core/storage/storeScopeEnum";
3
3
  export declare class Elasticsearch extends Service {
4
4
  client: any;
5
+ private readonly logger;
5
6
  constructor(config: any, scope?: storeScopeEnum);
6
7
  static buildClient(config: any, version?: "7" | "8"): any;
7
8
  _initSequence(): Promise<void>;
@@ -13,7 +13,7 @@ const storeScopeEnum_1 = require("../../core/storage/storeScopeEnum");
13
13
  class Elasticsearch extends service_1.default {
14
14
  constructor(config, scope = storeScopeEnum_1.storeScopeEnum.PUBLIC) {
15
15
  super("elasticsearch", config);
16
- global.kuzzle.log.info(`[ℹ] Elasticsearch configuration is set to major version : ${config.majorVersion}`);
16
+ this.logger = global.kuzzle.log.child("service:storage:elasticsearch");
17
17
  if (config.majorVersion === "7") {
18
18
  this.client = new elasticsearch_1.ES7(config, scope);
19
19
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "kuzzle",
3
3
  "author": "The Kuzzle Team <support@kuzzle.io>",
4
- "version": "2.44.0-beta.1",
4
+ "version": "2.45.0",
5
5
  "description": "Kuzzle is an open-source solution that handles all the data management through a secured API, with a large choice of protocols.",
6
6
  "bin": "bin/start-kuzzle-server",
7
7
  "scripts": {