Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 3.2.11 #83

Merged
merged 12 commits into from
Jun 14, 2019
Merged

Release 3.2.11 #83

merged 12 commits into from
Jun 14, 2019

Conversation

Aschen
Copy link
Contributor

@Aschen Aschen commented Jun 14, 2019

3.2.11 (2019-06-14)

Bug fixes

Enhancements

Others


benoitvidis and others added 12 commits April 5, 2019 09:23
## What does this PR do ?

This PR is the fixed version of #74 which, in its original version, would remove the strategies loaded at Kuzzle start -_-;....

### How should this be manually tested?

1. check the local strategy is still working, for instance by using the admin console
2. test "on-the-flight" strategies addon and removal:
  - Add this small plugin to your cluster: https://gist.github.com/benoitvidis/a5d9bd592a261d7b903209e73abed59d
  - Check the `dummy` strategy does not exist by trying to log in
  - Call http://localhost:7512/_plugin/test/do/bar
  - Check the `dummy` strategy is known on all nodes
  - Call http://localhost:7512/_plugin/test/do/foo
  - Check the `dummy` strategy has been deleted from all nodes

Additionally, you can run kuzzle functional tests:
1. switch Kuzzle version to kuzzleio/kuzzle#1284
2. from kuzzle directory, run `./node_modules/.bin/cucumber-js --profile websocketNoRedis`

### Boyscout

dependencies upgrade.
## What does this PR do ?

This PR fixes a nasty bug where existing strategies would be removed from Kuzzle when the cluster inits itself.
This PR adds functional tests to the cluster stack.
Co-Authored-By: benoitvidis <[email protected]>
Co-Authored-By: benoitvidis <[email protected]>
Add nightly functional tests for redis 3, 4 & 5 versions
This PR improves the coverage of unit tests for the cluster.
Description

The zmq module is unmaintained for 3 years now, and it's no longer compatible with the latest versions of Node.js
However, a fork of that module has been made a year ago to solve that issue and, since then, the new module grew and is now the new standard to access 0mq with Node.js: zeromq

This PR replaces the zmq module with zeromq. Because it comes from a fork, the API is the same, so the changes are minimal.
@Aschen Aschen added the release label Jun 14, 2019
@codecov
Copy link

codecov bot commented Jun 14, 2019

Codecov Report

Merging #83 into master will increase coverage by 33.65%.
The diff coverage is 96.29%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master      #83       +/-   ##
===========================================
+ Coverage   57.03%   90.69%   +33.65%     
===========================================
  Files           4        4               
  Lines         533      548       +15     
===========================================
+ Hits          304      497      +193     
+ Misses        229       51      -178
Impacted Files Coverage Δ
lib/redis/manager.js 98.27% <100%> (+67.12%) ⬆️
lib/index.js 83.8% <95.65%> (+34.73%) ⬆️
lib/node.js 97.98% <96.15%> (+20.43%) ⬆️
lib/redis/state.js 100% <0%> (+85.71%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f3e0ad1...e49b1e2. Read the comment docs.

1 similar comment
@codecov
Copy link

codecov bot commented Jun 14, 2019

Codecov Report

Merging #83 into master will increase coverage by 33.65%.
The diff coverage is 96.29%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master      #83       +/-   ##
===========================================
+ Coverage   57.03%   90.69%   +33.65%     
===========================================
  Files           4        4               
  Lines         533      548       +15     
===========================================
+ Hits          304      497      +193     
+ Misses        229       51      -178
Impacted Files Coverage Δ
lib/redis/manager.js 98.27% <100%> (+67.12%) ⬆️
lib/index.js 83.8% <95.65%> (+34.73%) ⬆️
lib/node.js 97.98% <96.15%> (+20.43%) ⬆️
lib/redis/state.js 100% <0%> (+85.71%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f3e0ad1...e49b1e2. Read the comment docs.

@Aschen Aschen merged commit 59430f5 into master Jun 14, 2019
@Aschen Aschen deleted the 3.2.11-proposal branch June 14, 2019 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants