syncbase/v23: simple integration test
Change-Id: I70b3c10ea3f4581918ec64063da2e76d238053ad
diff --git a/services/syncbase/server/interfaces/sync.vdl b/services/syncbase/server/interfaces/sync.vdl
index fe64066..082d645 100644
--- a/services/syncbase/server/interfaces/sync.vdl
+++ b/services/syncbase/server/interfaces/sync.vdl
@@ -6,6 +6,7 @@
import (
wire "v.io/syncbase/v23/services/syncbase/nosql"
+ "v.io/v23/security/access"
)
// Sync defines methods for data exchange between Syncbases.
@@ -14,21 +15,21 @@
// GetDeltas returns the responder's current generation vector
// and all the missing log records when compared to the
// initiator's generation vector.
- GetDeltas() error
+ GetDeltas() error {access.Read}
// SyncGroup-related methods.
// PublishSyncGroup is typically invoked on a "central" peer
// to publish the SyncGroup.
- PublishSyncGroup(sg SyncGroup) error
+ PublishSyncGroup(sg SyncGroup) error {access.Write}
// JoinSyncGroupAtAdmin is invoked by a prospective SyncGroup member's
// Syncbase on a SyncGroup admin. It checks whether the requestor is
// allowed to join the named SyncGroup, and if so, adds the requestor to
// the SyncGroup.
- JoinSyncGroupAtAdmin(sgName, joinerName string, myInfo wire.SyncGroupMemberInfo) (SyncGroup | error)
+ JoinSyncGroupAtAdmin(sgName, joinerName string, myInfo wire.SyncGroupMemberInfo) (SyncGroup | error) {access.Read}
// BlobSync methods.
// FetchBlob returns the requested blob.
- FetchBlob() error
+ FetchBlob() error {access.Read}
}