Commit Graph

32 Commits

Author SHA1 Message Date
Aleksey Kashapov
f95b1607fb
FIN-31: Bumps valitydev/damsel@ab292d9, adds support for commit creation timestamp (#37)
* FIN-31: Bumps valitydev/damsel@ab292d9, adds support for commit creation timestamp

* Bumps workflow, prometheus and dmt-client

* Fixes formatting

* Refactors commits history to respect events occurrence timestamps
2024-05-15 16:40:12 +03:00
Aleksey Kashapov
2150eea1b2
TD-686: Adopts opentelemetry API (#33) 2023-10-24 13:28:17 +03:00
Andrew Mayorov
5bbcf17aaa
OPS-161: Bump to valitydev/damsel@4e82c24 (#22)
Also drop migration code now outdated.

* Add cacheless dmt_api tests
2022-09-14 18:09:41 +03:00
Andrew Mayorov
6f4ec7d9b8
OPS-161: Use modernizer facility to migrate domain-config (#20)
So that valitydev/damsel@09e7a75 might be dropped after migration.

* Bump to valitydev/machinery-erlang@19cdc6c
2022-08-30 13:43:30 +03:00
Andrew Mayorov
4b71be54bd
TD-330: Bump to valitydev/damsel@9362c08 (#17)
* Use valitydev/thrift compiler 0.14.2.3
* Bump to valitydev/dmt-core@7584133
* Bump to valitydev/machinegun-proto@a411c7d
* Drop repository v4
* Update to valitydev/dmt-client@ce6678a in tests
* Keep v5 migration code and tests as examples only
* Add testcase on `RepositoryClient`
* Add testcases on `Repository` functions exceptions
* Move unused msgpack protocol out to thrift runtime library
2022-07-15 11:30:18 +03:00
Boris
86d0ae1f04
Update damsel to rbkmoney/damsel@887eec19 (#169) 2021-10-15 14:53:04 +03:00
Yaroslav Rogov
c25af1f5a6
ED-190/deps: Update dmt_client (#163)
* ED-190/deps: Update dmt_client

* ED-190/fix: Fix tests

* ED-190/deps: Update dmt_client and update usage

* ED-190/fix formatting
2021-08-26 16:58:11 +03:00
Andrey Fadeev
7be5ef55eb
Add formatter (#143)
* Add erlfmt
* Update build-utils
* Apply erlfmt
2020-10-13 18:28:11 +03:00
Andrew Mayorov
1dbb330957
Bump to rbkmoney/woody_erlang@d106ef6 (#141)
* Bump to rbkmoney/genlib@1ca0879
* Bump to rbkmoney/dmt_client@24e3aad9
2020-08-19 15:04:10 +03:00
Andrey Fadeev
d7d9d5c69e
MSPF-561 Cleanup temporary migration related code (#138)
* Revert "MSPF-561 Temporary disable acyclicity check (#136)"
This reverts commit f3c5caf159.

* Revert "MSPF-561 Add temporary migration speeding up (#134)"
This reverts commit 2033285b5a.

* Remove dmt_api_repository_v3
2020-07-08 13:54:27 +03:00
Andrey Fadeev
f3c5caf159
MSPF-561 Temporary disable acyclicity check (#136)
We already have config with cycles in the past :(
2020-07-07 14:37:00 +03:00
Andrey Fadeev
997e3e1bc3
MSPF-561 Fix undefined selector processing in migraion (#133) 2020-07-06 14:42:55 +03:00
Andrey Fadeev
035868ba0a
MSPF-561 Add provider merge migration (#130) 2020-06-29 19:36:09 +03:00
Andrew Mayorov
d7f07634b5
DC-120: Update exception mapping (#127)
* Bump to rbkmoney/dmt_core@9a7a3779

Update error mapping accordingly.

* Bump to rbkmoney/image-service-erlang@37c294de
* Bump to rbkmoney/image-build@07d3946f
* Bump to rbkmoney/build_utils@39115931
* Bump to rbkmoney/genlib@54920e76
* Bump to rbkmoney/woody_erlang@dd5eaa73
* Bump to rbkmoney/erlang-health@406fdd36
* Bump to rbkmoney/scoper@8e3499b1
* Bump to rbkmoney/logger_logstash_formatter@6fc1957b
* Bump to rbkmoney/machinegun_proto@7def31fa
* Bump to recon 2.5.1 + observer-cli 1.5.4
* Bump to rbkmoney/damsel@8c94c46b
2020-06-22 13:56:37 +03:00
Andrew Mayorov
fa3180948e
Bump deps (#110)
* Bump to rbkmoney/erlang-health@3a80bb4
* Bump to rbkmoney/genlib@941b8c8
* Bump to rbkmoney/logger_logstash_formatter@2882879
* Bump to rbkmoney/machinegun@bc41864 image
* Upgrade w/ respect to rbkmoney/machinegun_proto@3916141
2020-01-27 18:35:33 +03:00
Andrey Fadeev
eb749809b8
MSPF-507 Allow to configure woody options (#103)
* Allow to configure woody server protocol_opts
* Allow to configure woody client http keepalive timeouts
2019-09-10 19:42:29 +03:00
Sergei Shuvatov
1e9172cf27 HG-494: rename dmsl to damsel (#100) 2019-08-09 13:43:31 +03:00
Andrey Fadeev
a5ac86019a MSPF-434 Add Erlang 21 support (#93)
* MSPF-434 Add Erlang 21 support

* Update Erlang and deps

* Reconfigure logger
2019-06-25 19:08:15 +03:00
Evgeny Levenets
27df8b508e
DC-97: implement PullRange interface (#82)
* DC-97: implement PullRange interface

* bump dmt_client and fix tests
2018-08-30 18:39:03 +03:00
Evgeny Levenets
4cb7581ba2
MSPF-373: bump dmt_client & woody in tests (#80)
* MSPF-373: bump dmt_client in tests
* fix URL logging as list of integers
* bump scoper
2018-07-17 14:17:53 +03:00
Evgeny Levenets
1ab46ce8e2
DC-86: change storage method to thrift_binary (#77)
* DC-86: change storage method to thrift_binary

* migration logic incoming

* bump build_utils

* add test for migration & rework handlers

* use migration machine

* remove get_events in repository_v3

* postreview fix 01

remove timer config
test fix

* lager format minifix

* idempotent retry for commit in v4

* use 503 instead of 500 in commit handler

* don't check cached snapshot version on commit

* remove unnecessary try-catch
2018-07-06 16:33:49 +03:00
Andrew Mayorov
11c9f51051
DC-17: Log everything with the magnificent scoper buddy (#58)
* DC-17: Log everything with the magnificent scoper buddy

* DC-17: Employ json formatter in tests too
2017-11-17 18:52:52 +03:00
Evgeny Levenets
45bea4fbf5
DC-61: first implementation of snapshot storage (#57)
Idea: store some of snapshots in MG events to lower memory usage and state squashing time.
Naive legacy events migration included.
Lots of ad-hocs included too.
Also:
* remove ability to set cash size in elements
* remove unnecessary calls to old repository
* remove obvious lager messages
* fix strange dialyzer warning
* rework events
* remove redundant cache checks
* remove redundant cache put
2017-11-16 19:41:03 +03:00
Andrew Mayorov
39a7384bfa HG-219: Adapt to damsel w/ multiclaims (#43)
* bumped damsel and other deps

set log level in tests to ‘warning’

* fixed Jenkinsfile to store multiclaims images

* HG-219: Bump to upstream rbkmoney/damsel@b665c89

* HG-192: Properly marshal error reasons (#42)
2017-07-17 16:11:30 +03:00
Natalia Pulina
281bc7a4ce DC-47: init_per_suite fixed, bump to rbkmoney/dmt_client@93577c5 (#40) 2017-07-13 16:47:08 +04:00
Evgeny Levenets
ed3d3a8b72 DC-32: cache refactoring (#35)
DC-32: cache refactoring
* added dominant-specific cache
* added cache usage on commits and checkouts
* bumped dependancies
* fixed rebar.config

DC-34: added naive cache displacement implementation
2017-05-18 00:24:55 +03:00
Andrew Mayorov
4167e27622 HG-155: Fix pulling since the very first commit (#33)
* HG-155: Fix pulling since the very first commit

* HG-155: Narrow down dmt version matching
2017-04-03 14:20:25 +03:00
Andrew Mayorov
61320c4320 HG-155: Switch to the msgpack-aware machinegun interface (#32)
* HG-155: Switch to msgpack-like machinegun interface

* HG-155: Bump deps up and move onto Erlang 19

* HG-155: Make the release rebar-runnable

* HG-155: Fix marshalling to and from msgpack

* HG-155: Bump to rbkmoney/woody_erlang@2f264f9

* HG-155: Add forgotten msgpack-thrift protocol

* HG-155: Make dialyzer happy again

* HG-155: Make repository machine versioned

 * Migrate legacy history upon machine init
 * Introduce automaton client to reduce boilerplate
 * Remove `get_commit` facility as it was unused

* HG-155: Add repository dispatcher + add migration tests

* HG-155: Move in-memory thrift encoding into dedicated module

* HG-155: Use plain thrift binary as it is much simpler to work with

* HG-155: Switch back to msgpack-based commit representaion

* HG-155: Remove meaningless repair signal handling in favor of simple repair

* HG-155: Add forgotten behaviour annotations

* HG-155: Mention better approach with a migrating repository backend

* HG-155: Make dialyzer happy again

* HG-155: Bump to rbkmoney/damsel@d0c4a06, rbkmoney/machinegun@e04e529

* HG-155: Make elvis happy

* HG-155: Fix make target and Jenkinsfile
2017-03-29 18:27:11 +03:00
Evgeny Levenets
3e59aea58d DC-12: bumped machinegun (#22)
Bumped to 2c956c1172
2016-12-27 13:05:03 +03:00
Andrew Mayorov
afee5aa9a9 HG-64: Bump to rbkmoney/damsel@5e264e0 via damsel_erlang (#10) 2016-10-14 20:48:54 +03:00
Andrew Mayorov
c24f4d8567 HG-49: Bump damsel protocols up (#9) 2016-10-13 20:49:40 +03:00
Igor Savchuk
2872e3a1f0 Split dominant (#3)
* split dominant to three repos

* fix submodule name

* new jenkins

* fix wc_release

* fix trailing space

* fix permissions

* fix path in dockerfile

* fix cmd

* fix release

* fix mg api

* fix the rest

* update dmt_core

* MG-16: Migrate to the new machinegun proto

* Fix some bugs involving cold cache access
* Harden the test suite
* Ensure proper woody context flow

* MG-16: Fix dialyzer warnings

* MG-16: Attempt to hack around docker-compose network connectivity quirks

* MG-16: Remove unused files

* MG-16: Mention potential race condition in the TODO list
2016-09-07 22:43:14 +03:00