kourou icon indicating copy to clipboard operation
kourou copied to clipboard

Kourou 1.0: Fixes, refacto and test migration

Open OlivierCavadenti opened this issue 1 year ago • 1 comments

Fixes:

  • config:diff : Bug when displaying differences between object values (with the --values flag)
  • redis:list-keys : There is a bug in the command when no matching key is found

Renaming:

  • api-key:create : The description flag should be an argument
  • api-key:search : The filter flag should be named query
  • kourou sdk:execute : Should be renamed to kourou execute
  • sdk:query : Should be renamed to api and the automatic inference of commands as API action should be removed
  • app:start-services : Should be renamed in services:start and a flag should be added to specify Docker Compose project name

Flag adds:

  • document:search : The aggregations flag should be added (maybe just name it aggs)
  • export:user : A --mappings flag should be added to export mappings (and the former mappings related commands should be removed)

Removed:

  • *:export : Export commands should all be in the export: namespace (e.g. index:export => export:index)
  • *:import : Import commands should be deleted and only the global import command should be kept
  • instance:* : Instance commands should be removed since they are obsolete with kaaf

Others:

  • Remove --editor options for "execute" and "api"
  • Clean up packages and update versions

Cucumber to Jest migration:

  • [X] Install Jest
  • [X] Init contest for Jest tests (Kuzzle SDK)
  • [ ] migrate api-key tests

Closes #88

OlivierCavadenti avatar Oct 20 '22 15:10 OlivierCavadenti