mirror of
https://github.com/valitydev/fistful-proto.git
synced 2024-11-06 01:15:16 +00:00
TD-906: Retires indiscriminate EventSink
services (#69)
This commit is contained in:
parent
6600be9355
commit
0238425797
@ -255,31 +255,6 @@ service Management {
|
||||
)
|
||||
}
|
||||
|
||||
/// Event sink
|
||||
|
||||
struct EventSinkPayload {
|
||||
1: required eventsink.SequenceID sequence
|
||||
2: required base.Timestamp occured_at
|
||||
3: required list<Change> changes
|
||||
}
|
||||
|
||||
struct SinkEvent {
|
||||
1: required eventsink.EventID id
|
||||
2: required base.Timestamp created_at
|
||||
3: required DepositID source
|
||||
4: required EventSinkPayload payload
|
||||
}
|
||||
|
||||
service EventSink {
|
||||
|
||||
list<SinkEvent> GetEvents (1: eventsink.EventRange range)
|
||||
throws ()
|
||||
|
||||
eventsink.EventID GetLastEventID ()
|
||||
throws (1: eventsink.NoLastEvent ex1)
|
||||
|
||||
}
|
||||
|
||||
/// Repair
|
||||
|
||||
union RepairScenario {
|
||||
|
@ -132,31 +132,6 @@ union StatusChange {
|
||||
1: Status changed
|
||||
}
|
||||
|
||||
/// Event sink
|
||||
|
||||
struct EventSinkPayload {
|
||||
1: required eventsink.SequenceID sequence
|
||||
2: required base.Timestamp occured_at
|
||||
3: required list<Change> changes
|
||||
}
|
||||
|
||||
struct SinkEvent {
|
||||
1: required eventsink.EventID id
|
||||
2: required base.Timestamp created_at
|
||||
3: required DestinationID source
|
||||
4: required EventSinkPayload payload
|
||||
}
|
||||
|
||||
service EventSink {
|
||||
|
||||
list<SinkEvent> GetEvents (1: eventsink.EventRange range)
|
||||
throws ()
|
||||
|
||||
eventsink.EventID GetLastEventID ()
|
||||
throws (1: eventsink.NoLastEvent ex1)
|
||||
|
||||
}
|
||||
|
||||
/// Repair
|
||||
|
||||
union RepairScenario {
|
||||
|
@ -203,25 +203,6 @@ union ChallengeChangePayload {
|
||||
2: ChallengeStatus status_changed
|
||||
}
|
||||
|
||||
/// Event sink
|
||||
|
||||
struct SinkEvent {
|
||||
1: required eventsink.EventID id
|
||||
2: required base.Timestamp created_at
|
||||
3: required IdentityID source
|
||||
4: required EventSinkPayload payload
|
||||
}
|
||||
|
||||
service EventSink {
|
||||
|
||||
list<SinkEvent> GetEvents (1: eventsink.EventRange range)
|
||||
throws ()
|
||||
|
||||
eventsink.EventID GetLastEventID ()
|
||||
throws (1: eventsink.NoLastEvent ex1)
|
||||
|
||||
}
|
||||
|
||||
/// Repair
|
||||
|
||||
union RepairScenario {
|
||||
|
@ -141,31 +141,6 @@ struct StatusChange {
|
||||
1: required Status status
|
||||
}
|
||||
|
||||
/// Event sink
|
||||
|
||||
struct EventSinkPayload {
|
||||
1: required eventsink.SequenceID sequence
|
||||
2: required base.Timestamp occured_at
|
||||
3: required list<Change> changes
|
||||
}
|
||||
|
||||
struct SinkEvent {
|
||||
1: required eventsink.EventID id
|
||||
2: required base.Timestamp created_at
|
||||
3: required SourceID source
|
||||
4: required EventSinkPayload payload
|
||||
}
|
||||
|
||||
service EventSink {
|
||||
|
||||
list<SinkEvent> GetEvents (1: eventsink.EventRange range)
|
||||
throws ()
|
||||
|
||||
eventsink.EventID GetLastEventID ()
|
||||
throws (1: eventsink.NoLastEvent ex1)
|
||||
|
||||
}
|
||||
|
||||
/// Repair
|
||||
|
||||
union RepairScenario {
|
||||
|
@ -177,31 +177,6 @@ service Management {
|
||||
)
|
||||
}
|
||||
|
||||
/// Event sink
|
||||
|
||||
struct EventSinkPayload {
|
||||
1: required eventsink.SequenceID sequence
|
||||
2: required base.Timestamp occured_at
|
||||
3: required list<Change> changes
|
||||
}
|
||||
|
||||
struct SinkEvent {
|
||||
1: required eventsink.EventID id
|
||||
2: required base.Timestamp created_at
|
||||
3: required W2WTransferID source
|
||||
4: required EventSinkPayload payload
|
||||
}
|
||||
|
||||
service EventSink {
|
||||
|
||||
list<SinkEvent> GetEvents (1: eventsink.EventRange range)
|
||||
throws ()
|
||||
|
||||
eventsink.EventID GetLastEventID ()
|
||||
throws (1: eventsink.NoLastEvent ex1)
|
||||
|
||||
}
|
||||
|
||||
/// Repair
|
||||
|
||||
union RepairScenario {
|
||||
|
@ -110,25 +110,6 @@ service Management {
|
||||
throws (1: fistful.WalletNotFound ex1)
|
||||
}
|
||||
|
||||
/// Event sink
|
||||
|
||||
struct SinkEvent {
|
||||
1: required eventsink.EventID id
|
||||
2: required base.Timestamp created_at
|
||||
3: required WalletID source
|
||||
4: required Event payload
|
||||
}
|
||||
|
||||
service EventSink {
|
||||
|
||||
list<SinkEvent> GetEvents (1: eventsink.EventRange range)
|
||||
throws ()
|
||||
|
||||
eventsink.EventID GetLastEventID ()
|
||||
throws (1: eventsink.NoLastEvent ex1)
|
||||
|
||||
}
|
||||
|
||||
/// Repair
|
||||
|
||||
union RepairScenario {
|
||||
|
@ -329,31 +329,6 @@ service Management {
|
||||
)
|
||||
}
|
||||
|
||||
/// Event sink
|
||||
|
||||
struct EventSinkPayload {
|
||||
1: required eventsink.SequenceID sequence
|
||||
2: required base.Timestamp occured_at
|
||||
3: required list<Change> changes
|
||||
}
|
||||
|
||||
struct SinkEvent {
|
||||
1: required eventsink.EventID id
|
||||
2: required base.Timestamp created_at
|
||||
3: required WithdrawalID source
|
||||
4: required EventSinkPayload payload
|
||||
}
|
||||
|
||||
service EventSink {
|
||||
|
||||
list<SinkEvent> GetEvents (1: eventsink.EventRange range)
|
||||
throws ()
|
||||
|
||||
eventsink.EventID GetLastEventID ()
|
||||
throws (1: eventsink.NoLastEvent ex1)
|
||||
|
||||
}
|
||||
|
||||
/// Repair
|
||||
|
||||
union RepairScenario {
|
||||
|
@ -204,25 +204,6 @@ service Management {
|
||||
)
|
||||
}
|
||||
|
||||
/// Event sink
|
||||
|
||||
struct SinkEvent {
|
||||
1: required eventsink.EventID id
|
||||
2: required base.Timestamp created_at
|
||||
3: required SessionID source
|
||||
4: required Event payload
|
||||
}
|
||||
|
||||
service EventSink {
|
||||
|
||||
list<SinkEvent> GetEvents (1: eventsink.EventRange range)
|
||||
throws ()
|
||||
|
||||
eventsink.EventID GetLastEventID ()
|
||||
throws (1: eventsink.NoLastEvent ex1)
|
||||
|
||||
}
|
||||
|
||||
/// Repair
|
||||
|
||||
union RepairScenario {
|
||||
|
Loading…
Reference in New Issue
Block a user