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

KZL-1054 Fix Node.js SDK Getting Started subscription #257

Merged
merged 10 commits into from
Mar 25, 2019

Conversation

xbill82
Copy link
Contributor

@xbill82 xbill82 commented Mar 14, 2019

Fix subscription by moving the kuzzle.disconnect() to the callback so that the program has to wait for it to quit.

How should this be manually tested?

Follow the Node.js SDK Getting Started tutorial.

Other changes

  • build script now reads the port from env variable

@xbill82 xbill82 self-assigned this Mar 14, 2019
@xbill82 xbill82 requested a review from Aschen March 14, 2019 10:11
@kuzzle
Copy link
Contributor

kuzzle commented Mar 14, 2019

Snippets tests reports

SDK Version Tests overview
v6 ✔️
v5 ✔️
v1 ✔️
v1 ✔️
v1 ✔️
v1 ✔️

scottinet and others added 4 commits March 15, 2019 09:51
[first steps] fix titles to make them appear in the right nav pane
⚠️ depends on kuzzleio/sdk-cpp#70

Please restart the CI once the C++ SDK is updated.

# Description

Add the missing `kuzzleio::` namespace, required by the now fixed C++ SDK (see kuzzleio/sdk-cpp#70)

# Other changes

* C++ Getting Started guides:
  * fix typos in comments
  * use our standard formatting convention (2 spaces, 80 chars columns, ...)
  * fix the memleaked WebSocket pointer
  * add missing `disconnect` call, and missing pointer deletions
  * remove`#define` pragmas for data index and collection, as they made the code examples harder to follow, at least from my point of view
* add missing `disconnect` call, and missing pointer deletions in C++ test templates
@scottinet
Copy link
Contributor

@xbill82 > Travis says that your change doesn't seem to work. Can you take a look at it?

scottinet and others added 3 commits March 20, 2019 14:28
# Description

Add a note in the manual installation section, instructing users to check their `ulimit -n` value on the server hosting Kuzzle instances
…#255)

## What does this PR do?

Document missing getters in the C++ Kuzzle class about offline queue and reconnection options.

Depends on kuzzleio/sdk-cpp#71
# Description

Solve a code snippet resulting in a dangling pointer.
@Aschen
Copy link
Contributor

Aschen commented Mar 24, 2019

@xbill82 Maybe you can use the same mechanism as for the other realtime example: https://github.com/kuzzleio/documentation/blob/c87a51c66e555ef0334745be28f05e5f3cf4f26e/test/templates/realtime.tpl.js

@alexandrebouthinon alexandrebouthinon merged commit fcd3c3a into 2-dev Mar 25, 2019
@alexandrebouthinon alexandrebouthinon deleted the KZL-1054-nodejs-getting-started-fix branch March 25, 2019 12:12
@scottinet scottinet mentioned this pull request Mar 26, 2019
scottinet added a commit that referenced this pull request Mar 26, 2019
# [2.1.0](https://github.com/kuzzleio/documentation/releases/tag/2.1.0) (2019-03-26)


#### Bug fixes

- [ [#251](#251) ] Fix ssl option name for android   ([jenow](https://github.com/jenow))

#### New features

- [ [#164](#164) ] KZL-861 Getting started with Webpack   ([xbill82](https://github.com/xbill82))

#### Enhancements

- [ [#252](#252) ] Add loading of fixtures mappings securities in admin controller   ([Aschen](https://github.com/Aschen))
- [ [#253](#253) ] Plugin embedded sdk   ([Aschen](https://github.com/Aschen))
- [ [#249](#249) ] Better example for SearchResult.next   ([Aschen](https://github.com/Aschen))

#### Others

- [ [#262](#262) ] [API] new auth:refreshToken API route documentation   ([scottinet](https://github.com/scottinet))
- [ [#257](#257) ] KZL-1054 Fix Node.js SDK Getting Started subscription   ([xbill82](https://github.com/xbill82))
- [ [#263](#263) ] [debug] Print standard output on an assertion error   ([scottinet](https://github.com/scottinet))
---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants