You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ti...@apache.org on 2020/11/28 03:28:11 UTC
[servicecomb-service-center] branch master updated (d198992 ->
094deff)
This is an automated email from the ASF dual-hosted git repository.
tianxiaoliang pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-service-center.git.
from d198992 SCB-2094 Bug fixes (#764)
add 094deff Incremental synchronization of sc: sync between sc and syncer (#755)
No new revisions were added by this update.
Summary of changes:
datasource/etcd/event/instance_event_handler.go | 44 +++-
etc/conf/app.yaml | 3 +
pkg/dump/dump.go | 7 +
server/alarm/common.go | 1 +
server/bootstrap/bootstrap.go | 3 +
.../cors.go => rest/syncer/service/service.go} | 36 +--
.../syncer/service/service_test.go} | 46 +++-
server/{broker/broker.go => rest/syncer/syncer.go} | 8 +-
.../syncer_controller.go} | 21 +-
server/server.go | 17 +-
.../syncernotify}/common.go | 16 +-
server/syncernotify/notify_service.go | 81 +++++++
.../syncer_publisher.go} | 52 +++--
server/syncernotify/websocket.go | 245 +++++++++++++++++++++
server/syncernotify/websocket_test.go | 152 +++++++++++++
syncer/client/watch_client.go | 165 ++++++++++++++
syncer/client/watch_client_test.go | 29 +++
syncer/server/server.go | 58 ++++-
syncer/servicecenter/servicecenter.go | 5 +
19 files changed, 907 insertions(+), 82 deletions(-)
copy server/{interceptor/cors/cors.go => rest/syncer/service/service.go} (61%)
copy server/{config/config_test.go => rest/syncer/service/service_test.go} (56%)
copy server/{broker/broker.go => rest/syncer/syncer.go} (82%)
copy server/rest/{controller/v3/instance_watcher.go => syncer/syncer_controller.go} (66%)
copy {datasource/etcd/sd/servicecenter => server/syncernotify}/common.go (79%)
create mode 100644 server/syncernotify/notify_service.go
copy server/{connection/ws/publisher.go => syncernotify/syncer_publisher.go} (69%)
create mode 100644 server/syncernotify/websocket.go
create mode 100644 server/syncernotify/websocket_test.go
create mode 100644 syncer/client/watch_client.go
create mode 100644 syncer/client/watch_client_test.go