kuzzle 2.60.1 → 2.61.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/dist/index.d.ts +2 -0
  2. package/dist/index.js +2 -0
  3. package/dist/lib/cluster/idCardHandler.d.ts +11 -1
  4. package/dist/lib/cluster/idCardHandler.js +10 -2
  5. package/dist/lib/cluster/node.d.ts +14 -0
  6. package/dist/lib/cluster/node.js +19 -0
  7. package/dist/lib/config/index.js +43 -8
  8. package/dist/lib/core/backend/backendStorage.js +4 -6
  9. package/dist/lib/core/plugin/pluginContext.js +2 -2
  10. package/dist/lib/core/storage/clientAdapter.d.ts +13 -10
  11. package/dist/lib/core/storage/clientAdapter.js +112 -60
  12. package/dist/lib/core/storage/conformance/capabilityCases.d.ts +3 -0
  13. package/dist/lib/core/storage/conformance/capabilityCases.js +121 -0
  14. package/dist/lib/core/storage/conformance/conformanceContext.d.ts +33 -0
  15. package/dist/lib/core/storage/conformance/conformanceContext.js +97 -0
  16. package/dist/lib/core/storage/conformance/conformanceEnvironment.d.ts +7 -0
  17. package/dist/lib/core/storage/conformance/conformanceEnvironment.js +136 -0
  18. package/dist/lib/core/storage/conformance/coreCases.d.ts +3 -0
  19. package/dist/lib/core/storage/conformance/coreCases.js +381 -0
  20. package/dist/lib/core/storage/conformance/storageDriverConformance.d.ts +53 -0
  21. package/dist/lib/core/storage/conformance/storageDriverConformance.js +89 -0
  22. package/dist/lib/core/storage/indexCache.d.ts +26 -2
  23. package/dist/lib/core/storage/indexCache.js +100 -2
  24. package/dist/lib/core/storage/storageDriverLoader.d.ts +41 -0
  25. package/dist/lib/core/storage/storageDriverLoader.js +276 -0
  26. package/dist/lib/core/storage/storageEngine.js +9 -1
  27. package/dist/lib/core/storage/storageError.d.ts +15 -0
  28. package/dist/lib/core/storage/storageError.js +36 -0
  29. package/dist/lib/kerror/codes/1-services.json +35 -0
  30. package/dist/lib/kerror/codes/8-cluster.json +6 -0
  31. package/dist/lib/service/storage/builtInDrivers.d.ts +6 -0
  32. package/dist/lib/service/storage/builtInDrivers.js +103 -0
  33. package/dist/lib/service/storage/storageService.d.ts +13 -0
  34. package/dist/lib/service/storage/storageService.js +44 -0
  35. package/dist/lib/types/config/KuzzleConfiguration.d.ts +8 -0
  36. package/dist/lib/types/config/storageEngine/StorageEngineElasticsearchConfiguration.d.ts +13 -1
  37. package/dist/lib/types/index.d.ts +1 -0
  38. package/dist/lib/types/index.js +1 -0
  39. package/dist/lib/types/storage/StorageDriver.d.ts +306 -0
  40. package/dist/lib/types/storage/StorageDriver.js +41 -0
  41. package/dist/package.json +4 -1
  42. package/package.json +4 -1
  43. package/dist/lib/service/storage/7/elasticsearch.d.ts +0 -1054
  44. package/dist/lib/service/storage/7/elasticsearch.js +0 -3063
  45. package/dist/lib/service/storage/7/esWrapper.d.ts +0 -36
  46. package/dist/lib/service/storage/7/esWrapper.js +0 -295
  47. package/dist/lib/service/storage/8/elasticsearch.d.ts +0 -1047
  48. package/dist/lib/service/storage/8/elasticsearch.js +0 -3096
  49. package/dist/lib/service/storage/8/esWrapper.d.ts +0 -36
  50. package/dist/lib/service/storage/8/esWrapper.js +0 -295
  51. package/dist/lib/service/storage/Elasticsearch.d.ts +0 -16
  52. package/dist/lib/service/storage/Elasticsearch.js +0 -48
package/dist/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.60.1",
4
+ "version": "2.61.0-beta.2",
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
  "scripts": {
7
7
  "build": "rm -Rf ./dist && tsc && node -r ts-node/register/transpile-only ./bin/copy-binaries.ts",
@@ -21,6 +21,7 @@
21
21
  "test:functional:legacy:websocket": "cucumber-js --format progress-bar --profile websocketLegacy --config cucumber.config.cjs",
22
22
  "test:functional:http": "KUZZLE_PROTOCOL=http cucumber-js --profile http --config cucumber.config.cjs",
23
23
  "test:functional:websocket": "KUZZLE_PROTOCOL=websocket cucumber-js --profile websocket --config cucumber.config.cjs",
24
+ "test:conformance": "vitest run --config vitest.conformance.config.ts",
24
25
  "test:unit:vitest": "vitest run --fileParallelism false --coverage --bail=1 --passWithNoTests",
25
26
  "test:lint": "eslint ./lib ./tests ./bin ./features ./features-legacy",
26
27
  "typecheck:tests": "tsc -p tsconfig.tests.json",
@@ -51,6 +52,8 @@
51
52
  "kuzzle-logger": "1.7.0",
52
53
  "kuzzle-plugin-auth-passport-local": "6.4.1",
53
54
  "kuzzle-sdk": ">=7.17.1 <8.0.0",
55
+ "kuzzle-storage-es-7": "1.0.0-beta.1",
56
+ "kuzzle-storage-es-8": "1.0.0-beta.1",
54
57
  "kuzzle-types": "^1.0.0",
55
58
  "kuzzle-vault": "2.2.0",
56
59
  "lodash": "4.17.21",
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.60.1",
4
+ "version": "2.61.0-beta.2",
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
  "scripts": {
7
7
  "build": "rm -Rf ./dist && tsc && node -r ts-node/register/transpile-only ./bin/copy-binaries.ts",
@@ -21,6 +21,7 @@
21
21
  "test:functional:legacy:websocket": "cucumber-js --format progress-bar --profile websocketLegacy --config cucumber.config.cjs",
22
22
  "test:functional:http": "KUZZLE_PROTOCOL=http cucumber-js --profile http --config cucumber.config.cjs",
23
23
  "test:functional:websocket": "KUZZLE_PROTOCOL=websocket cucumber-js --profile websocket --config cucumber.config.cjs",
24
+ "test:conformance": "vitest run --config vitest.conformance.config.ts",
24
25
  "test:unit:vitest": "vitest run --fileParallelism false --coverage --bail=1 --passWithNoTests",
25
26
  "test:lint": "eslint ./lib ./tests ./bin ./features ./features-legacy",
26
27
  "typecheck:tests": "tsc -p tsconfig.tests.json",
@@ -51,6 +52,8 @@
51
52
  "kuzzle-logger": "1.7.0",
52
53
  "kuzzle-plugin-auth-passport-local": "6.4.1",
53
54
  "kuzzle-sdk": ">=7.17.1 <8.0.0",
55
+ "kuzzle-storage-es-7": "1.0.0-beta.1",
56
+ "kuzzle-storage-es-8": "1.0.0-beta.1",
54
57
  "kuzzle-types": "^1.0.0",
55
58
  "kuzzle-vault": "2.2.0",
56
59
  "lodash": "4.17.21",