Commit graph

231 commits

Author SHA1 Message Date
f189ecbf38
feat: define Customization aggregate, and impl Query and View 2024-07-16 15:55:14 +05:30
0f29902b4b
fix: rm customization from product aggregate 2024-07-16 15:55:12 +05:30
89d43f281f Merge pull request 'chore: clippy lints' (#44) from chore-clippy into master
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #44
2024-07-16 13:20:06 +05:30
cb5bb703e1
chore: clippy lints
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-07-16 11:50:49 +05:30
d707051e72 Merge pull request 'feat: check for Customization constraint violation' (#43) from customize-products into master
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #43
2024-07-16 11:42:37 +05:30
fcb99cc9ec
feat: impl customization name violation for db
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-07-16 11:37:25 +05:30
4fc4b612bf
fix: accept product_id separately 2024-07-16 11:37:01 +05:30
37aeac8c69
feat: impl customization_id_exists for postgres 2024-07-16 11:28:51 +05:30
38485e572f
feat: check for Customization constraint violation in add_product_service
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2024-07-16 11:19:59 +05:30
66464b33f1
feat: error types for customization table constraint violoations 2024-07-16 11:19:35 +05:30
5937d7a0fd
feat: define customization duplicate name check DB port 2024-07-16 11:17:36 +05:30
4c2cec1e7f
feat: define customization ID check DB port 2024-07-16 11:17:11 +05:30
e8d270565f Merge pull request 'feat: add customization field to Product aggregate, and use separate query to list them' (#42) from customize-products into master
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #42
2024-07-16 00:27:03 +05:30
85dabf644c
feat: add customization field to Product aggregate, and use separate query to list them
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-07-15 23:54:41 +05:30
cebe9bf943 Merge pull request 'fix: add deleted flag to Product aggregate and ignore deleted Products while checking Product.name uniqueness' (#40) from deleted-flag into master
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #40
2024-07-15 23:54:00 +05:30
fb50c66ffb
fix: ignore deleted products while checking for product names
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-07-15 22:36:02 +05:30
8557b68d9d
fix: add deleted flag to Product aggregate 2024-07-15 22:33:32 +05:30
8106292f3a Merge pull request 'fix: add deleted flag to Category aggregate & ignore deleted Categories while checking Category name uniqueness' (#39) from deleted-flag into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #39
2024-07-15 20:53:44 +05:30
92219cd4f3
fix: ignore deleted categories while checking for category names
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-07-15 20:33:17 +05:30
46dcf1add8 Merge pull request 'feat: add deleted flag to Store aggregate & ignore deleted stores while checking store name uniqueness' (#38) from deleted-flag into master
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #38
2024-07-15 20:32:42 +05:30
cdb055fb42
fix: add deleted flag to Category aggregate 2024-07-15 20:31:16 +05:30
8d0374d217
fix: ignore deleted stores while checking for store names
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-07-15 20:26:39 +05:30
c119687853
feat: add deleted flag to Store aggregate 2024-07-15 20:23:00 +05:30
eae59bd641 Merge pull request 'chore: update rust nightly compiler' (#37) from chore-devenv into master
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #37
2024-07-15 20:04:45 +05:30
59c7054f14 Merge pull request 'feat: add quantity to Product aggregate' (#36) from include-quantity-in-product into master
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #36
2024-07-15 19:58:04 +05:30
c8fabe323a
chore: update rust nightly compiler
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-07-15 19:55:23 +05:30
06e455ccb9
feat: add quantity to Product aggregate
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-07-15 19:50:39 +05:30
0ddeec2374
feat: place holder stock aggregate 2024-07-15 19:49:55 +05:30
ffa44dc399 Merge pull request 'feat: add product against categories' (#34) from add-product into master
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #34
2024-07-15 18:21:13 +05:30
0bf0238aa5 Merge pull request 'feat&chore: impl cqrs::Querey for category and cleanup tests' (#35) from chore-category into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #35
2024-07-15 18:21:06 +05:30
71adf78aea
chore: use util function to create dummy category record
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-07-15 17:58:45 +05:30
e22e4ff5fb
feat: impl cqrs_es::Query for CategoryView 2024-07-15 17:58:01 +05:30
3a8630abcd
fix: load add_product_service mocking
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-07-15 17:57:30 +05:30
732f486aef
feat: define product aggregate table and implement cqrs_es::View
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pr/woodpecker Pipeline failed
2024-07-15 17:55:09 +05:30
1fe54c5c38
feat: impl product name exists for category DB port 2024-07-15 17:54:08 +05:30
07c3c6c56d
feat: impl product ID exists DB port 2024-07-15 17:53:53 +05:30
79397b6b44
feat: handle duplicate ID and name for Product and CategoryAggregate 2024-07-15 17:53:33 +05:30
06066426d8
feat: define&impl servie to add product 2024-07-15 17:52:44 +05:30
13e913e661
feat: handle duplicate ID and name for Product and CategoryAggregate 2024-07-15 17:52:18 +05:30
a3a947fd89
feat: define product name exists for category DB port 2024-07-15 17:48:41 +05:30
f6f3834ba1
feat: define product ID exists DB port 2024-07-15 17:48:26 +05:30
6158779995
feat: define product aggregates,add product command and event 2024-07-15 17:47:50 +05:30
e3fb0f775d Merge pull request 'feat: index User.email' (#33) from email-index into master
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #33
2024-07-15 16:02:18 +05:30
eeda0d20d7
feat: index User.email
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-07-15 15:54:36 +05:30
caf580c6df Merge pull request 'fix: replace username with first and last name and use user_id UUID for primary keys' (#32) from user-di into master
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #32
2024-07-14 22:53:49 +05:30
452da98cbe
fix: reset env var post testing
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-07-14 22:23:09 +05:30
53239dd55e
debug: print db url
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pr/woodpecker Pipeline failed
2024-07-14 21:46:35 +05:30
c1eeff81d5
fix: use separate thread to not override DATABASE_URL
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pr/woodpecker Pipeline was successful
2024-07-14 21:38:34 +05:30
a3d17179d6
fix: limit db pool to 1 in tests
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pr/woodpecker Pipeline failed
2024-07-14 21:21:39 +05:30
50bd3db7b3
fix: replace username with first and last name and use user_id UUID for primary keys
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
ci/woodpecker/push/woodpecker Pipeline failed
2024-07-14 21:00:20 +05:30