Commit Graph

80 Commits

Author SHA1 Message Date
maniolias
5bc2aaa093 refactor: delete unused code 2020-10-01 16:27:39 +02:00
maniolias
401f6c3190 fix(shuffle): fix shuffle methode for array with length <= 1 2020-10-01 16:23:42 +02:00
maniolias
e9834daa31 feat(tcp): add timeout when trying to connect to a TCP endpoint
* the timeout parameters in options will trigger a timeout only when the socket is connected (cf. https://nodejs.org/api/net.html#net_socket_settimeout_timeout_callback). To handle connection timeout we have to handle it manually
2020-09-17 09:52:11 +02:00
maniolias
f79a0444f6 feat(cluster): rewrite cluster discovering
* Discovering process adapted from EventStore scala client
* Use DNS for first discover but also for reconnoctions (the aim is to be able to reconnect even if all nodes have new IP addresses eg. after rolling update in a cloud environment)
* Being able to perform proper unit testing
2020-09-17 09:52:11 +02:00
Ali Abbas Jaffri
11f882501f 🐛 Adding object reference to externalTcpIp: Solves locating cluster via gossip seeds 2020-03-02 15:39:32 +01:00
55b9ddd856 Minor improvement to protobuf isolation 2019-11-02 16:02:07 -07:00
fe82aebfec Fix #91 2019-11-02 15:40:02 -07:00
Nicolas Dextraze
6ad2d34114 Added some more tests around RecordedEvent properties type 2019-11-01 12:57:54 -07:00
Nicolas Dextraze
67dab18d53 Fixed Buffer deprecated warnings when using node >= v10 2019-11-01 12:53:24 -07:00
Nicolas Dextraze
941f671ed2 Fix missing warn in Loggers 2019-11-01 11:10:16 -07:00
Nicolas Dextraze
02642c5cfb Fix appendToStream with expectedVersion any and same event not working due to protobufjs bug 2019-08-02 22:34:38 -07:00
Jonathan Dextraze
4ae4c1e010 Fix error with logging in SimpleQueuedHandler handler 2019-06-06 11:42:22 -07:00
Nicolas Dextraze
930b900426
Merge pull request #78 from Poimen/fix-issue-76
Adds extra options to delete
2019-05-20 13:01:26 -07:00
Richard Shephard
1449b43b8d Fix missing = in delete uri 2019-05-17 17:48:29 +02:00
Richard Shephard
2f4850680f Fix incorrect variables used after undefined removal 2019-05-16 17:01:30 +02:00
Richard Shephard
8f68923008 Remove undefine's check as the options will need to be provided anyways... 2019-05-16 17:00:47 +02:00
Richard Shephard
8e54a22cd2 Fix uri for reset 2019-05-16 16:52:11 +02:00
Richard Shephard
6663b42903 Fix sendDelete call to provide empty data so header is correct 2019-05-16 16:18:09 +02:00
Richard Shephard
ad8d16d112 Fix documentation 2019-05-16 15:37:58 +02:00
Richard Shephard
bebd04a398 Fix client endpoint used 2019-05-16 15:36:05 +02:00
Richard Shephard
7ccced45aa Add reset endpoint 2019-05-16 13:57:11 +02:00
Richard Shephard
35f720f94f Added extra parameters to delete projections 2019-05-16 11:56:25 +02:00
Nicolas Dextraze
6d49f51e7d fix issue #74 - projections manager create continuous trackEmittedStreams parameter should be lowercase 2019-05-15 10:23:48 -07:00
Neb, Sebastian
20818869f1 Fix for issue #68 by using self._log_debug instead of this._log.debug 2019-02-19 09:55:49 +01:00
Nicolas Dextraze
7db060af6e Removed some console
Fixed issue 60
2019-02-18 09:12:28 -08:00
Jur Jean
7dc4658719 Merge branch 'master' of github.com:nicdex/node-eventstore-client into remove-subscription-started-log 2019-02-13 12:51:07 +01:00
Jur Jean
811368c1af Removed the console log about subscription started 2019-02-13 12:50:32 +01:00
Nicolas Dextraze
e9d86a3c4d Fix issue #63 - export PersistentSubscriptionNakEventAction 2019-01-17 10:00:49 -08:00
Jur Jean
ef26ed636f Send Content-Length to eliminate missing Content-Type error in some cases 2018-12-04 14:05:44 +01:00
2893454e8a Updated messages.proto to have optional event for ResolvedEvent and ResolvedIndexedEvent and regenarated protobuf code 2018-10-27 16:00:44 -07:00
a0642ab081 Re-add optional (allowing null) on ResolvedEvent event property in protobuf 2018-10-27 15:50:11 -07:00
c1f17a7d99 #61 fixed subscriptionDropped being called only once
Added subscribe-all-from-events sample to test
2018-10-21 14:47:25 -07:00
215708014c Add Object.freeze on private enums
Improve code readability
2018-07-09 10:27:12 -07:00
Christos Dimitroulas
d8c0bfb03a improve docs for createConnection 2018-07-09 11:58:39 +01:00
bc2fbe14e3 Adding SSL support, release 0.2.3 2018-03-11 15:25:44 -07:00
9fc5d64ceb Adding start/end as static Position
Add the streamPosition constants
Move Projections into the expose classes section
Version 0.2.2
2018-02-19 10:06:33 -08:00
67dd275b5d Fix potential error handling bug due to missing EventEmitter.call(this) in EventStoreNodeConnection and EventStoreConnectionLogicHandler 2018-01-17 11:29:24 -08:00
a5807483a2 Merge branch 'v4_proto' 2017-11-08 12:47:30 -08:00
e79ad8f9c4 Use Long in Stream catchup subscription
Use Long in tests
Bump version to 2.0
2017-11-08 12:45:22 -08:00
Nicolas Dextraze
16c081020a Add ProjectionsManager 2017-10-18 14:39:25 -07:00
Nicolas Dextraze
4584517ede Update tests, typescript declaration 2017-10-17 15:55:07 -07:00
Nicolas Dextraze
e6af223f0d Fix identify client serialize 2017-10-17 14:36:00 -07:00
Nicolas Dextraze
990351738c Update proto 2017-10-17 14:31:26 -07:00
20de4c3715 remove useless new Buffer(guidParse.parse(...)) since it's now returning a buffer 2017-09-03 12:36:39 -07:00
a8081a280a Fix GUID bytes ordering 2017-09-02 15:30:19 -07:00
7c94e26055 handle eventAppeared callback returning Promise 2017-07-16 17:11:54 -07:00
Nicolas Dextraze
6634dee5f3 Fix unhandled rejection issue with connectToPersistentSubscription #44 2017-06-30 18:54:25 -07:00
1d21facd2c Fix #41 2017-06-24 11:32:04 -07:00
Nicolas Dextraze
8735b23bf9 Remove strictness of UUID 2017-06-05 15:23:27 -07:00
Nicolas Dextraze
121e248dd8 #35 implement heartbeatInfo event on connection 2017-05-15 12:55:14 -07:00