Skip to content

Commit

Permalink
Merge d124ac1 into 9d919c5
Browse files Browse the repository at this point in the history
  • Loading branch information
yasserf committed Jul 5, 2019
2 parents 9d919c5 + d124ac1 commit e3f4252
Show file tree
Hide file tree
Showing 58 changed files with 969 additions and 497 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ matrix:
script:
- npm run lint;
- npm run test:all:coverage;
- bash scripts/package.sh true

addons:
apt:
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## [4.0.0-rc.11] - 2019.07.03

### Feat

- Adding support for a notify API via HTTP

### Misc

- Updating uws to support node12

## [4.0.0-rc.10] - 2019.06.10

### Feat
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM node:10
COPY package*.json ./
RUN npm install --production
RUN npm install --production deepstream.io-storage-rethinkdb deepstream.io-cache-redis
RUN npm install --production @deepstream/storage-rethinkdb @deepstream/cache-redis
COPY . ./

EXPOSE 6020
Expand Down
7 changes: 5 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ os:

install:
- ps: Install-Product node 10 x64
- curl -L -o nasm.exe https://www.nasm.us/pub/nasm/releasebuilds/2.13.03/win64/nasm-2.13.03-installer-x64.exe
- start /wait nasm.exe /S
- ps: $env:path="C:\Program Files\nasm;$($env:path)"
- sed -i "s@git\@github.com:@https:\/\/github.com\/@" .gitmodules
- git submodule update --init --recursive
- npm install
Expand All @@ -15,8 +18,8 @@ test_script:
- npm --version
- npm test
# Artifacts are packaged before before_deploy
# - bash scripts\package.sh
# - For /d %%d in ( build\** ) do MOVE %%d %cd%
- bash scripts\package.sh
- For /d %%d in ( build\** ) do MOVE %%d %cd%

artifacts:
- path: 'build\*.zip'
Expand Down
2 changes: 1 addition & 1 deletion binary-protocol
41 changes: 37 additions & 4 deletions conf/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ listen:
# Connection Endpoint Configuration
# to disable, replace configuration with null eg. `http: null`
connectionEndpoints:
websocket:
name: uws
- type: ws-websocket
options:
# port for the websocket server
port: 6020
Expand All @@ -73,6 +72,9 @@ connectionEndpoints:
heartbeatInterval: 30000
# the amount of milliseconds that writes to sockets are buffered
outgoingBufferTimeout: 50
# the maximum amount of bytes to buffer before flushing, stops the client from large enough packages
# to block its responsivness
maxBufferByteSize: 100000

# Headers to copy over from websocket
headers:
Expand All @@ -88,8 +90,7 @@ connectionEndpoints:
# maximum allowed size of an individual message in bytes
maxMessageSize: 1048576

http:
name: http
- type: node-http
options:
# port for the http server
port: 8080
Expand Down Expand Up @@ -125,6 +126,38 @@ connectionEndpoints:
# maximum allowed size of an individual message in bytes
maxMessageSize: 1024

# - type: uws-websocket
# options:
# # port for the websocket server
# port: 6020
# # host for the websocket server
# host: 0.0.0.0
# # url path websocket connections connect to
# urlPath: /deepstream
# # url path for http health-checks, GET requests to this path will return 200 if deepstream is alive
# healthCheckPath: /health-check
# # the amount of milliseconds between each ping/heartbeat message
# heartbeatInterval: 30000
# # the amount of milliseconds that writes to sockets are buffered
# outgoingBufferTimeout: 50
# # the maximum amount of bytes to buffer before flushing, stops the client from large enough packages
# # to block its responsivness
# maxBufferByteSize: 100000

# # Headers to copy over from websocket
# headers:
# - user-agent

# # Security
# # amount of time a connection can remain open while not being logged in
# unauthenticatedClientTimeout: 180000
# # invalid login attempts before the connection is cut
# maxAuthAttempts: 3
# # if true, the logs will contain the cleartext username / password of invalid login attempts
# logInvalidAuthData: false
# # maximum allowed size of an individual message in bytes
# maxMessageSize: 1048576

# Logger Configuration
logger:
# use either the default logger
Expand Down
1 change: 1 addition & 0 deletions conf/permissions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ record:
read: true
delete: true
listen: true
notify: true
event:
"*":
publish: true
Expand Down
2 changes: 1 addition & 1 deletion connectors/cache/redis
Loading

0 comments on commit e3f4252

Please sign in to comment.