Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
a05be77
IMP-281: Dominant-v2 proto
ndiezel0 Aug 1, 2024
56efdb5
Fix
ndiezel0 Aug 2, 2024
8c03efe
Fix
ndiezel0 Aug 2, 2024
7bae6d1
Fix
ndiezel0 Aug 2, 2024
25ea0ab
Review fixes
ndiezel0 Aug 5, 2024
25a6c01
Fix
ndiezel0 Aug 5, 2024
1708917
Fix
ndiezel0 Aug 7, 2024
77650c8
Commit uses only global version
ndiezel0 Aug 9, 2024
ad13305
Remove targeted version from UpdateOp
ndiezel0 Aug 13, 2024
cb64d6c
IMP-281: Add CommitResponse
ndiezel0 Sep 29, 2024
dcc7a7d
Get rid of Version
ndiezel0 Sep 30, 2024
de7ce44
Fix proxy definition
ndiezel0 Oct 2, 2024
df265c0
User Op exception for existing user
ndiezel0 Nov 7, 2024
1698ed8
New method
ndiezel0 Nov 18, 2024
b718527
Fix
ndiezel0 Jan 10, 2025
91cb04e
Fix Refless
ndiezel0 Jan 10, 2025
2d7d7ac
Merge remote-tracking branch 'origin/master' into IMP-281/dmt_v2_proto
ndiezel0 Jan 16, 2025
e997691
Alternative dmt v2 (#156)
nanodirijabl Feb 7, 2025
991b4d3
Merge branch 'master' into IMP-281/dmt_v2_proto
ndiezel0 Feb 7, 2025
0653586
SearchObjects method
ndiezel0 Mar 3, 2025
b469bd8
Fix
ndiezel0 Mar 4, 2025
6cecb05
Change SearchRequestParams.limit to required and reorder fields
ndiezel0 Mar 15, 2025
1bd531e
Remove deprecated GetObjectsByType method
ndiezel0 Mar 17, 2025
26d9a5c
Update domain_config_v2.thrift
ndiezel0 Mar 24, 2025
3c567e2
Update proto/domain.thrift
ndiezel0 Mar 25, 2025
ae3593d
Merge branch 'master' into IMP-281/dmt_v2_proto
A77AY Mar 27, 2025
f67c980
add domain_config_v2 codegen
A77AY Mar 27, 2025
2c421b2
add codegen2
A77AY Mar 27, 2025
9b8887f
Revert "add domain_config_v2 codegen"
A77AY Mar 27, 2025
0c0c0bc
clean
A77AY Mar 27, 2025
0d9b9bb
Add LimitedVersionedObject and search API improvements
ndiezel0 Apr 17, 2025
8c704ad
Add GetByEmail method to AuthorManagement service
ndiezel0 Apr 22, 2025
0496809
Fix typo
ndiezel0 Apr 25, 2025
66ca4d1
Add object_ref to ObjectNotFound exception and introduce CheckoutObje…
ndiezel0 May 5, 2025
36167cc
Add HistoricalCommit and FinalOperation structures, update CheckoutSn…
ndiezel0 May 12, 2025
aacf35a
Update LimitedVersionedObject structure have domain.Reference
ndiezel0 May 13, 2025
0e2b6a6
Refactor ObjectNotFound exception and update CheckoutObjects method s…
ndiezel0 May 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@vality/domain-proto",
"version": "2.0.0",
"scripts": {
"codegen": "thrift-codegen --i ./proto --n domain_config domain claim_management payment_processing accounter"
"codegen": "thrift-codegen --i ./proto --n domain_config domain_config_v2 domain claim_management payment_processing accounter"
},
"publishConfig": {
"access": "public",
Expand Down
110 changes: 106 additions & 4 deletions proto/domain.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -3123,9 +3123,11 @@ struct LimitConfigRef {
1: required LimitConfigID id
}

/* There are 2 requirements on Reference and DomainObject unions:
/* There are 3 requirements on Reference and DomainObject unions:
* - all field types must be unique,
* - all corresponding field names in both unions must match.
* - all corresponding field names in both unions must match,
* - all types must be accounted in DomainObjectType enum with
* union's field number as according values.
*
* Otherwise [dmt_core](https://github.com/valitydev/dmt_core)'s
* integrity verification mechanism would break.
Expand Down Expand Up @@ -3214,10 +3216,8 @@ union DomainObject {
36 : MobileOperatorObject mobile_operator

42 : CryptoCurrencyObject crypto_currency

44 : CountryObject country
45 : TradeBlocObject trade_bloc

46 : IdentityProviderObject identity_provider
47 : LimitConfigObject limit_config

Expand All @@ -3241,6 +3241,108 @@ union DomainObject {
// 43
}

union ReflessDomainObject {
1 : Category category
2 : Currency currency
19 : BusinessSchedule business_schedule
20 : Calendar calendar
3 : PaymentMethodDefinition payment_method
21 : PayoutMethodDefinition payout_method
5 : Bank bank
6 : ContractTemplate contract_template
17 : TermSetHierarchy term_set_hierarchy
18 : PaymentInstitution payment_institution
7 : Provider provider
8 : Terminal terminal
15 : Inspector inspector
14 : SystemAccountSet system_account_set
16 : ExternalAccountSet external_account_set
9 : ProxyDefinition proxy
11 : Globals globals
23 : CashRegisterProvider cash_register_provider
26 : RoutingRuleset routing_rules
28 : BankCardCategory bank_card_category
29 : Criterion criterion
32 : DocumentType document_type
33 : PaymentService payment_service
34 : PaymentSystem payment_system
35 : BankCardTokenService payment_token
36 : MobileOperator mobile_operator

42 : CryptoCurrency crypto_currency
44 : Country country
45 : TradeBloc trade_bloc
46 : IdentityProvider identity_provider
47 : limiter_config.LimitConfig limit_config

12 : Dummy dummy
13 : DummyLink dummy_link

// Reserved
// 10
// 22
// 27
// 24
// 25
// 37
// 38
// 39
// 40
// 41
// 43
}

enum DomainObjectType {
category = 1
currency = 2
business_schedule = 19
calendar = 20
payment_method = 3
payout_method = 21
bank = 5
contract_template = 6
term_set_hierarchy = 17
payment_institution = 18
provider = 7
terminal = 8
inspector = 15
system_account_set = 14
external_account_set = 16
proxy = 9
globals = 11
cash_register_provider = 23
routing_rules = 26
bank_card_category = 28
criterion = 29
document_type = 32
payment_service = 33
payment_system = 34
payment_token = 35
mobile_operator = 36

crypto_currency = 42
country = 44
trade_bloc = 45
identity_provider = 46
limit_config = 47

dummy = 12
dummy_link = 13

// Reserved
// 10
// 22
// 27
// 24
// 25
// 37
// 38
// 39
// 40
// 41
// 43
}

/* Domain */

typedef map<Reference, DomainObject> Domain
Loading
Loading