HG-472 Try to inject priority field into exists TerminalRef (#439)

This commit is contained in:
Andrey Fadeev 2019-06-24 16:45:43 +03:00 committed by GitHub
parent 0b8b408b91
commit 2f1a27c60e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1756,8 +1756,6 @@ struct WithdrawalProviderDecision {
2: required WithdrawalProviderSelector then_
}
struct TerminalRef { 1: required ObjectID id }
/** Inspectors */
struct InspectorRef { 1: required ObjectID id }
@ -1795,7 +1793,7 @@ struct Terminal {
union TerminalSelector {
1: list<TerminalDecision> decisions
2: set<TerminalRef> value
2: set<ProviderTerminalRef> value
}
struct TerminalDecision {
@ -1803,6 +1801,15 @@ struct TerminalDecision {
2: required TerminalSelector then_
}
struct ProviderTerminalRef {
1: required ObjectID id
2: optional i64 priority = 1000
}
struct TerminalRef {
1: required ObjectID id
}
/* Predicates / conditions */
union Predicate {