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

casesensitive subscribe #21

Open
wants to merge 47 commits into
base: master
Choose a base branch
from
Open

casesensitive subscribe #21

wants to merge 47 commits into from

Conversation

eddieraa
Copy link
Owner

No description provided.

eddieraa and others added 30 commits October 23, 2020 19:12
* Refactoring codes

* close channel

* Adding filter

* Adding registerInterval

Co-authored-by: Eddie Raapoto <[email protected]>
Co-authored-by: Raapoto Eddie <[email protected]>
* Implement Filter

* Adding Filter implementation
Adding samples

* Implement LoadBalance Filter

* Filter

* Change Filter implementation

* Avoid  segfault when call GetService("xxxx",nil)

* Fix bug with LoadBalancerFilter

Co-authored-by: Raapoto Eddie <[email protected]>
Co-authored-by: Eddie Raapoto <[email protected]>
* Implement Filter

* Adding Filter implementation
Adding samples

* Implement LoadBalance Filter

* Filter

* Change Filter implementation

* Avoid  segfault when call GetService("xxxx",nil)

* Fix bug with LoadBalancerFilter

* Manage due time

* Refactoring

* Fix nil pointer seg fault after closing registry

Co-authored-by: Raapoto Eddie <[email protected]>
Co-authored-by: Eddie Raapoto <[email protected]>
* Implement Filter

* Adding Filter implementation
Adding samples

* Implement LoadBalance Filter

* Filter

* Change Filter implementation

* Avoid  segfault when call GetService("xxxx",nil)

* Fix bug with LoadBalancerFilter

* Adding tests

* Adding cache

Co-authored-by: Raapoto Eddie <[email protected]>
Co-authored-by: Eddie Raapoto <[email protected]>
* Refactoring

* Refactoring

* Adding support to registry.Observe("*")

* Adding localhost observer filter
Adding Unregiser func

Co-authored-by: Raapoto Eddie <[email protected]>
* Update dependencies

* Adding utility func for get free port

* Timestamps.Registration and Timestamp.Duration are
in milliseconds

* Fix some warning

Co-authored-by: Eddie Raapoto <[email protected]>
Co-authored-by: Raapoto Eddie <[email protected]>
* Update dependencies

* Adding utility func for get free port

* Timestamps.Registration and Timestamp.Duration are
in milliseconds

* Fix some warning

Co-authored-by: Eddie Raapoto <[email protected]>
Co-authored-by: Raapoto Eddie <[email protected]>
Co-authored-by: Raapoto Eddie <[email protected]>
* Add draft fakepubsub

* Implement fakemap
Start to implement fakepubsub

* Stable version

* Adding test unit

* Move pubsub -> pubsub folder
Adding test unit

* Fix bug on concurency

* Fix bug with SetDefaultInstance

* Delete unused code

* Adding test unit
test error

* Avoid lock with channel

* Fix bug on checkDueTime

Co-authored-by: Eddie Raapoto <[email protected]>
Co-authored-by: Eddie Raapoto <[email protected]>
* Implement redis pubsub

* Implement redis pubsub

* Update README.md
call Stop() func

Co-authored-by: Raapoto Eddie <[email protected]>
* Refactoring

* improve tests

* Adding test units

* avoid nil pointer

* Add unit tests
=> coverage 90.5%

* Adding test for concurrent acess to map registeredService

* Fix concurrent access to registeredServices

* improve coverage

* Unit test
code coverage 94.6%

* Add callback  to test.pubsub

* improve code coverage

* Adding test unit

Co-authored-by: Raapoto Eddie <[email protected]>
eddieraapoto and others added 17 commits January 28, 2021 18:00
* Adding consul http web service

* Save changes

* sending last modif

* refactoring

* Updating dependencies

* Crete registry Port func

* commit first stable version

* rename consul folder to rest

* implement GetObservedServiceNames

* Update dependencies

* Adding GetHandlerFunc

Co-authored-by: Eddie Raapoto <[email protected]>
Co-authored-by: Eddie Raapoto <[email protected]>
* gofmt: space added in comments

* Upgrade dependencies

* gofmt: adding space in compents

* remove warnings

* Fix concurrent access on observes map

---------

Co-authored-by: Raapoto Eddie <[email protected]>
upgrade golang.org/x/net to 0.7.0
* Registry can be initialised without nats 
 => registry.Register() func wait until nats is ready

* Adding Configure interface
=> if Pubsub implement this interface. Registry invoke Configure at startup

---------

Co-authored-by: Raapoto Eddie <[email protected]>
@eddieraa eddieraa added the enhancement New feature or request label Mar 29, 2023
@eddieraa eddieraa self-assigned this Mar 29, 2023
@eddieraa eddieraa force-pushed the master branch 2 times, most recently from d047d3e to 472423e Compare September 4, 2024 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants