You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ze...@apache.org on 2019/06/03 08:56:52 UTC
[servicecomb-service-center] branch master updated (041c263 ->
58a8aa5)
This is an automated email from the ASF dual-hosted git repository.
zenlin pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-service-center.git.
from 041c263 Merge pull request #550 from Genuifx/master
new 5b5d589 Switch storage to etcd and add mock storage to tests
new eb3e06a Merge pull request #1 from ChinX/syncer
new baadcce move mocks to 'syncer/pkg/mock/'
new d2786c0 Merge pull request #2 from ChinX/syncer
new acda296 return error when etcd terminates unexpectedly
new 3a36648 Merge pull request #3 from ChinX/syncer
new 58a8aa5 Merge pull request #549 from ChinX/master
The 903 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
syncer/etcd/agent.go | 76 ++++++++++
syncer/etcd/config.go | 64 ++++++++
syncer/etcd/storage.go | 168 +++++++++++++++++++++
.../dcmock => pkg/mock/mockplugin}/instance.go | 2 +-
.../dcmock => pkg/mock/mockplugin}/service.go | 2 +-
.../mock/mockplugin}/servicecenter.go | 2 +-
.../mock/mockservicecenter}/instance.go | 2 +-
.../mock/mockservicecenter}/service.go | 2 +-
.../mock/mockservicecenter}/servicecenter.go | 2 +-
.../{storage => pkg/mock/mocksotrage}/storage.go | 52 +------
syncer/plugins/servicecenter/servicecenter_test.go | 4 +-
syncer/proto/event.pb.go | 1 +
syncer/proto/syncer.pb.go | 97 +++++++++---
syncer/proto/syncer.proto | 58 ++++---
syncer/proto/types.go | 11 +-
syncer/server/server.go | 17 ++-
syncer/servicecenter/servicecenter.go | 2 +-
syncer/servicecenter/servicecenter_test.go | 20 +--
syncer/servicecenter/sync.go | 2 +-
syncer/storage/storage_test.go | 132 ----------------
20 files changed, 454 insertions(+), 262 deletions(-)
create mode 100644 syncer/etcd/agent.go
create mode 100644 syncer/etcd/config.go
create mode 100644 syncer/etcd/storage.go
rename syncer/{test/dcmock => pkg/mock/mockplugin}/instance.go (99%)
rename syncer/{test/dcmock => pkg/mock/mockplugin}/service.go (99%)
rename syncer/{test/dcmock => pkg/mock/mockplugin}/servicecenter.go (99%)
rename syncer/{test/servicecenter => pkg/mock/mockservicecenter}/instance.go (98%)
rename syncer/{test/servicecenter => pkg/mock/mockservicecenter}/service.go (98%)
rename syncer/{test/servicecenter => pkg/mock/mockservicecenter}/servicecenter.go (99%)
rename syncer/{storage => pkg/mock/mocksotrage}/storage.go (64%)
delete mode 100644 syncer/storage/storage_test.go