Commit Graph

317 Commits

Author SHA1 Message Date
34540ef42c non localghost mongo
All checks were successful
Deploy / CreateImage (push) Successful in 2m16s
Deploy / DeployService (push) Successful in 23s
2025-03-18 18:43:11 +03:00
db9cb0bfb6 ci prod
All checks were successful
Deploy / CreateImage (push) Successful in 1m23s
Deploy / DeployService (push) Successful in 21s
2025-02-23 21:42:07 +03:00
12027b0193 ci: change inter service communication to domain routing
All checks were successful
Deploy / CreateImage (push) Successful in 1m36s
Deploy / DeployService (push) Successful in 24s
2025-01-11 13:33:39 +03:00
7a16318de2 fix deployment staging compose
All checks were successful
Deploy / CreateImage (push) Successful in 2m20s
Deploy / DeployService (push) Successful in 1m11s
2024-12-12 23:43:34 +03:00
d0b728140b ci: add linter pipeline
Some checks failed
Lint / Lint (push) Failing after 1m52s
2024-12-11 15:28:53 +03:00
10be24b06c change ci to gitea 2024-12-11 15:15:37 +03:00
4c33724863 applied renamer 2024-12-11 15:14:39 +03:00
1303461341 enable service discovery artefacts creation 2024-09-05 20:37:39 +03:00
6b73c9018a ci: remove from external interface 2024-04-21 18:44:22 +03:00
8a49ec0bbe Merge branch 'staging' into 'main'
Staging

See merge request pena-services/discount-service!53
2024-04-17 01:52:40 +00:00
ec5ccc6d11 -- 2024-04-15 03:08:29 +03:00
7e6e7e95cf fix: nko discount obtain 2024-03-28 18:21:37 +03:00
f8d2e66901 debug: add rule for duplicate privilege discounts avoiding 2024-03-22 02:19:22 +03:00
b576d7dfda debud: add logging discounts, move put noAccept for future improvements and sum PriceFrom 2024-03-22 01:17:28 +03:00
850c62cb4a Merge branch 'dev' into 'staging'
Dev

See merge request pena-services/discount-service!52
2024-03-21 21:54:20 +00:00
d40c3222c7 Merge branch 'test3' into 'dev'
изменение логики работы скидок с учетом скидок за промокод

See merge request pena-services/discount-service!51
2024-03-21 21:52:19 +00:00
a2500b5a79 reworked apply 2024-03-21 18:30:53 +03:00
b8c7fad3c2 Update README.md 2024-03-20 19:57:35 +00:00
072ae3562f missing += 2024-03-19 12:47:13 +03:00
38fe346761 make copy conditions for layer 3 2024-03-18 22:42:49 +03:00
3c0232c792 update 2024-03-18 22:08:20 +03:00
b83fc5d6c1 fix: missing custom price logic 2024-03-13 00:31:48 +03:00
bffe373290 change updateone -> updatemany 2024-03-11 12:42:49 +03:00
1f446afece add restriction for create discount 2024-03-11 12:30:28 +03:00
fb03969260 update condition filter 2024-03-11 01:07:20 +03:00
559afc41fd update making aplyed slice 2024-03-10 23:56:04 +03:00
2ef2af861f update logic determine 2024-03-10 23:40:18 +03:00
7d18427f68 comented apply logic 2024-03-09 19:44:50 +03:00
22bf2a0dce update gitignore 2024-03-07 19:43:26 +03:00
3e1b7b6b20 reworked 2024-03-07 19:32:30 +03:00
b64d8f4a21 add customer calculate data for test 2024-03-05 21:08:16 +03:00
06cae6f736 fix calculate CartPurchasesAmount 2024-03-05 17:13:37 +03:00
d7647f8ed2 add test data dump for collections - privileges,tariffs,discounts 2024-03-05 16:42:59 +03:00
39c55f647d finish test add data.json -> test results 2024-03-05 16:20:15 +03:00
b8f8825af2 start write test 2024-03-04 22:29:02 +03:00
1cdefd3eae start write test 2024-03-04 22:21:29 +03:00
3bee10b347 описание старой логики вычисления корзины и новой логики вычисления корзины 2024-02-29 19:44:52 +00:00
7d45400031 fix: монга подключалась к неправильномю юзеру, которого не было в базе и молчала об этом 2024-01-31 13:01:49 +03:00
4713b4da4f ci: preparation 4 production 2024-01-27 16:08:45 +03:00
734b26ef08 calculation bug 2024-01-25 19:49:03 +03:00
d4e1adf055 fix: поиск продуктовых скидок теперь полагается на сумму привилегий в тарифах 2023-12-31 13:33:31 +03:00
fe78ca9639 fix: add logic for nko discount and undiscounted tariffs 2023-12-08 02:14:56 +03:00
4b037b855f debug: add logging for nother nilpointer 2023-11-16 01:02:32 +03:00
81cb6bae3c debug: add logging for nother nilpointer 2023-11-16 00:52:44 +03:00
c2b5039c99 debug: add ifnil statement to avoid nil pointer exception 2023-11-15 23:43:45 +03:00
c16a4c278b debug: add logging for catch nil pointer 2023-11-15 22:44:52 +03:00
2d878b7988 debug: remowe unusable logging 2023-11-15 22:12:20 +03:00
52a01d5f5b Merge branch 'dev' into 'staging'
Dev

See merge request pena-services/discount-service!50
2023-11-11 16:13:37 +00:00
b21cd69d00 Dev 2023-11-11 16:13:37 +00:00
fc08b0b017 fix: some type check mistakes 2023-10-15 00:58:29 +03:00