Commit Graph

50 Commits

Author SHA1 Message Date
Aleksey Kashapov
12f5e53da8
TD-686: Adopts opentelemetry API (#28)
* Instruments swagger operation handler
* Bumps deps; updates proto refs
* Tweaks woody timeout testcase
* Bumps OTP version
* Bumps bouncer & token keeper clients
2023-10-31 11:52:08 +03:00
Alexey S
f8a6e83eae
TD-177: token-keeper auth (#7) 2022-03-28 15:50:06 +03:00
ndiezel0
7e978870c6
TD-173: Add CI/CD (#1)
* TD-173: Add CI/CD

* Fix release name

* Get rid off old CI remains

* Review fix
2022-02-15 19:40:53 +03:00
Sergey Yelin
22511f863c
ED-242: Move hay to release section (#46) 2021-09-10 12:53:45 +03:00
Sergey Yelin
2873e37ed1
ED-242: Add missing woody-api-hay to release (#45) 2021-09-10 11:20:57 +03:00
Sergey Yelin
e749582887
ED-242: update erlang deps (#44) 2021-09-10 10:08:06 +03:00
Yaroslav Rogov
f8649dddb6
ED-226/feat: Add the rest of monitoring tools (#41)
- how_are_you for metrics
- also fix formatting on configs and app.src
2021-08-23 15:03:12 +03:00
Andrew Mayorov
49ab24d7ba
Pass JWT token id along with bouncer ctx (#40)
* Fix rbkmoney/how_are_you@29f9d3d dependency

* Bump to bouncer_client_erlang@36cb53a for this to work

* Bump to rbkmoney/woody_erlang@58f56b4 w/ `get_addr/2` facility.
2021-01-27 11:05:24 +03:00
ndiezel0
1f151d49c7
MSPF-629: Update bouncer proto and client (#39) 2021-01-12 18:52:23 +03:00
ndiezel0
8a2f0c57fc
MSPF-629: Update bouncer client and proto (#38)
* MSPF-629: Update bouncer client and proto

* MSPF-629: Use updated helpers

* MSPF-629: Add realm acquisition

* MSPF-629: Fix fragment formation

* MSPF-629: Fix tests

* MSPF-629: Fix even more tests

* MSPF-629: Format

* MSPF-629: Review fix

* MSPF-629: Format

* MSPF-629: Simplify add_shortener

* MSPF-629: Fix auth tests

* MSPF-629: Format
2020-12-21 20:32:04 +03:00
Артем
71b63ffb38
MSPF-605: Add bouncer integration (#35) 2020-11-23 18:38:51 +03:00
Sergey Yelin
bf8673d8ed
Add prometeus (#34)
* Add prometeus

* Add error mapping

* Fix format
2020-10-23 22:13:20 +03:00
Andrey Fadeev
f0cd85e458
Add formatter (#33)
* Add erlfmt
* Update build-utils
* Apply erlfmt
* Exclude generated swag client and server from format check
2020-10-13 17:09:27 +03:00
Andrew Mayorov
8e89bdf915
Bump to rbkmoney/woody_erlang@d106ef6 (#32)
Bump other deps as well while switching to public endpoints in the meantime.

* Bump to rbkmoney/woody_erlang@d106ef66
* Bump to rbkmoney/machinegun_proto@d814d694
* Bump to rbkmoney/machinegun@b366973c image in tests
* Bump to rbkmoney/cowboy_access_log@c058ad42
* Bump to rbkmoney/logger_logstash_formatter@01352571
* Bump to rbkmoney/woody_erlang_user_identity@d6d8c570
* Bump to rbkmoney/scoper@23b1625b
2020-08-18 14:26:48 +03:00
Andrey Fadeev
c0b9715e2f
MSPF-563 Disable expiration check (#30) 2020-06-16 19:12:30 +03:00
Sergey Yelin
e6fef0f64c
MSPF-532: Use relaxed format for timestamps (#28)
* MSPF-532: Use relaxed format for timestamps

* Adjust time unit in parse_timestamp/1
2020-04-20 11:55:29 +03:00
Sergey Yelin
45f1fddedf
MSPF-532: Get rid of rfc3339 lib (#27)
* MSPF-532: Get rid of rfc3339 lib

* Fix plt file name

* Cut subseconds here because it not relevant
2020-04-16 19:13:26 +03:00
Andrew Mayorov
09d5ecdec8
MSPF-499: Enable healthcheck logging (#22)
* Bump rbkmoney/build_utils@b9b18f3e
* Bump test dep rbkmoney/machinegun@5b85e3c7
* Bump to rbkmoney/erlang-health@d8fb5f2c
2019-08-07 17:37:53 +03:00
Sergey Yelin
7027eac629
Fix cowboy_access_log crash on non swagger handler (#21) 2019-07-19 16:04:32 +03:00
Sergey Elin
57f1fa111c
MSPF-469: Add operation_id to access log (#20)
* MSPF-469: Add operation_id to access log

* Typos

* More typo
2019-07-02 17:55:07 +03:00
Sergey Elin
e180427fa1
Remove logger_logstash_formetter from shortener dependency (#19) 2019-07-02 15:32:38 +03:00
Sergey Elin
f63648f764
Update erlang and deps (#18)
* MSPF-469: Update erlang and deps

* MSPF-469: Fix config and update deps
2019-06-25 17:20:00 +03:00
Toporkov Igor
eb42455013
Migrate to OTP 21 Logger (#17)
* Migrate to OTP 21 Logger (#16)

* initial lager remove

* Updated logging dependencies, tweaked configs

* Configurated log handlers

* Fixed log output files, added default handler config

* Bumped deps

* Filtered access logs

* Switched access log to master
2019-04-26 11:42:33 +03:00
Toporkov Igor
1b31deb9f7
MSPF-396: update to erlang 21 (#13)
* MSPF-396: update to erlang 21 (#12)

* Setup to run on local machine

* Migrated to new erlang/cowboy with dependencies

* Updated dependecies & fixed wrong error handling

* Removed redundant dependecy and hid generated apps

* Removed extra cors module, added Options to handler

* Fixed middleware misplacement, and properly implemented handler behaviour

* cleaned up

* returned to url instead of http in private repos

* Returned to using cowboy_cors as CORS app, fixed typing, added epic branches rules for Jenkins

* added missing dependency, divided net_opts option

* Updated cors policy, added cors tests

* Reverted unnessesary Jenkinsfile changes

* Suppresed jesse warnings

* Updated build image tag

* Switched to using new jesse and parse_trans

* Bumped utils and image tags, updated registry

* bumped base image

* bumped build_utils, removed registry redefinition

* Refreshed outdated config (#14)

* bumped erlang-health, fixed lager crash

* Upgraded lager, restored redirection, refreshed config

* Refreshed deprecated ranch opts passing

* Switched to master branches

* Bumped build image
2019-04-03 17:20:56 +03:00
Alexey
ba71536ebc
CAPI-321: Woody retries in shortener (#10) 2019-01-22 15:37:01 +03:00
Andrey Fadeev
ce26b73b2c
Add links ownership processing (#5)
Add links ownership processing

Add `owner` field to link state.
Add `owner` field checking to read and delete operations.
Already created links process as is.
2018-05-23 16:57:37 +03:00
Petr Kozorezov
0f68121437
add "health" handle (#4) 2018-04-13 14:21:06 +03:00
Andrew Mayorov
30b85c129b
MSPF-320: Add forgotten cors policy definition (#2) 2017-12-22 15:15:43 +03:00
Andrey Mayorov
0ed4b76769 HG-320: Exile the Manik 2017-12-20 13:47:12 +03:00
Andrey Mayorov
6af13509c1 MSPF-320: Remove unused clauses 2017-12-20 13:47:12 +03:00
Andrey Mayorov
d542b38961 MSPF-320: Simplify generation of an id 2017-12-20 13:47:12 +03:00
Andrey Mayorov
23443c1d66 MSPF-320: Simplify machine events 2017-12-20 13:47:12 +03:00
Andrey Mayorov
2da005b61a MSPF-320: Explicitly allow 401s 2017-12-20 13:47:12 +03:00
Andrey Mayorov
a964251f32 MSPF-320: Describe empty TODOs 2017-12-20 13:47:12 +03:00
Andrey Mayorov
09a5208817 MSPF-320: Bump to rbkmoney/swag-url-shortener@d03407f 2017-12-20 13:47:12 +03:00
Andrey Mayorov
d881d2513d MSPF-320: Shitcode resource access control 2017-12-20 13:47:12 +03:00
Andrey Mayorov
95c7b0e7cb MSPF-320: Remove deprecared call 2017-12-20 13:47:12 +03:00
Andrey Mayorov
8b8ef11714 MSPF-320: Implement simple source url whitelisting 2017-12-20 13:47:12 +03:00
Andrey Mayorov
c5ab5a1c1e MSPF-320: Scope swagger handling 2017-12-20 13:47:12 +03:00
Andrey Mayorov
3be2fe3209 MSPF-320: Make tests work finally 2017-12-20 13:47:12 +03:00
Andrey Mayorov
91df667e9a MSPF-320: Draft a test suite 2017-12-20 13:47:12 +03:00
Andrey Mayorov
57044965a5 MSPF-320: Make a stronger friendship with dialyzer 2017-12-20 13:47:12 +03:00
Andrey Mayorov
6d527559f8 MSPF-320: Glue everything together 2017-12-20 13:47:12 +03:00
Andrey Mayorov
c88c7aac11 MSPF-320: Refactor and modernize automaton client 2017-12-20 13:47:12 +03:00
Andrey Mayorov
23f249aac3 MSPF-320: Splice supervisor and app entrypoint into a single file for simplicity 2017-12-20 13:47:12 +03:00
Dmitry Manik
69ec14439a MSPF-320: Fix review comments 2017-12-20 13:47:12 +03:00
Dmitry Manik
942ffed841 MSPF-320: Introduce the essence of shortener 2017-12-20 13:47:12 +03:00
Dmitry Manik
f9e2ff1835 MSPF-320: Fix review comments 2017-12-20 13:47:12 +03:00
Dmitry Manik
79c7768bdf MSPF-320: Introduce CAPI copypaste 2017-12-20 13:47:12 +03:00
Dmitry Manik
7fdb5913ce MSPF-320: Add swag-server generation 2017-12-20 13:47:12 +03:00