Commit graph

186 commits

Author SHA1 Message Date
a99ba07d19
feat: impl View for Order aggregate 2024-07-23 19:34:49 +05:30
3bb854f2ea
feat: add order command and reslutant event 2024-07-23 19:34:49 +05:30
a47810e4e7
feat: define order aggregate 2024-07-23 19:34:49 +05:30
95dcf0bae1
feat: db port to check for duplicate order IDs 2024-07-23 19:34:49 +05:30
8b8111f17e
fix: record sale time in LineItemView
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-23 19:07:23 +05:30
667e1549c9
feat: delete LineItem service
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-23 18:02:29 +05:30
15c0241598
feat: updatel LineItem service
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2024-07-23 17:55:31 +05:30
f295666bd0
fix: rename delete_line_item > delete_line_item_command 2024-07-23 17:55:09 +05:30
ebcdc25e90
feat: implement Aggregate for LineItem aggregate
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2024-07-23 17:43:14 +05:30
1412cb19ec
feat: db port to check if line item UUID exists 2024-07-23 17:42:57 +05:30
36432bcd83
feat: add line item service 2024-07-23 17:41:40 +05:30
66101f0aeb
feat: implement View for LineItem aggregate 2024-07-23 17:41:10 +05:30
ac1964d21a
feat: define LineItem with add and update events and commands
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2024-07-23 14:46:52 +05:30
de5beb6dbd
feat: replace maildev with mailpit
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-23 14:38:36 +05:30
7b0492d926
feat: method to check if Quantity is empty
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pr/woodpecker Pipeline failed
ci/woodpecker/pull_request_closed/woodpecker Pipeline failed
2024-07-17 23:52:01 +05:30
72163df68d
feat: get Category from DB and order Product index while Product creation
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pr/woodpecker Pipeline failed
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-07-17 20:23:16 +05:30
327e033aeb
feat: index Product for full text search with meillisearch 2024-07-17 20:21:02 +05:30
7103116c0f
feat: read meilisearch config 2024-07-17 20:16:21 +05:30
953d8d9fb7
feat: include minor and major quantity description in Product and amend DB for same
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
closes: #54
2024-07-17 16:24:40 +05:30
bc1245894b
feat: update Store aggregate cmd, event and service
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 22:41:12 +05:30
9d0c3ccb45
feat: update Category aggregate cmd, event and service
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 22:10:16 +05:30
987b48a3df
feat: update Customization aggregate cmd, event and service
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 20:56:47 +05:30
feaab33d33
fix: use product ID from customization obj 2024-07-16 20:56:31 +05:30
2ec9df9ef7
fix: include product_id in Customization aggregate obj
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 19:57:56 +05:30
4243c0346f Merge pull request 'feat: test AddCUstomization with cqrs infra' (#49) from add-customization-test into master
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #49
2024-07-16 19:45:59 +05:30
478977850a
feat: test AddCUstomization with cqrs infra
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 19:39:41 +05:30
9070bea10d Merge pull request 'fix: consistency check for Store before creating Category' (#48) from store-exists-check into master
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #48
2024-07-16 17:39:00 +05:30
3a65f2ca17
fix: consistency check for Store before creating Category
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 17:30:34 +05:30
ae8615b8ee
fix: use UUID instead of Store obj to check constraint violations w DB port 2024-07-16 17:28:30 +05:30
fcfe91708e
fix: consistency check for category before creating product
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 17:21:15 +05:30
18141a4079
feat: update product service, event and command
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 17:15:03 +05:30
d43d8683e9
feat: define and impl add customization user case
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 15:56:22 +05:30
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
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
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
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
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
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
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
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
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
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
07be1ecf20 Merge pull request 'fix: ovverride store aggregate when newly created' (#31) from fix-override-store-aggregate into master
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #31
2024-07-14 18:37:11 +05:30
9675b0138e Merge pull request 'fix: check for duplicate store names in owner scope before creating store' (#30) from fix-check-duplicate-store-name-for-owner into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #30
2024-07-14 18:36:25 +05:30
bae971a309
fix: ovverride store aggregate when newly created
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pr/woodpecker Pipeline failed
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-07-14 18:31:57 +05:30
69dfb926f2
fix: check for duplicate store names in owner scope before creating store
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-14 18:29:48 +05:30
55c881adc8
feat: use unique non-UUIDs to signal new aggregate creation, and check
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pr/woodpecker Pipeline failed
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
for the same in cqrs framework
2024-07-14 18:26:39 +05:30
f98213dc2e
feat: add category service with tests and ports
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-13 21:29:43 +05:30
99b615d01d
feat: test add store service with cqrs_es infra
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-07-13 21:16:46 +05:30
d9a77acd82
feat: use an interface for generating UUIDs
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-13 20:49:51 +05:30
0119b9fee1 Merge pull request 'feat: define store aggregates and implement service to create store' (#24) from create-store into master
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #24
2024-07-13 19:45:33 +05:30
c56d13b196
feat: cqrs_es scaffolding
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline failed
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-07-13 19:37:30 +05:30
19b6c5420b
feat: define store aggregates and implement service to create store
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pr/woodpecker Pipeline failed
2024-07-13 17:40:11 +05:30
e3ee7f0922
fix: initialize user post registration and load into cqrs_es framework
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-13 17:37:23 +05:30
879dc95295
feat: service to verify email
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline failed
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-07-12 17:49:52 +05:30
90729bd401
fix: set email_verified to false by default 2024-07-12 17:49:36 +05:30
0f3bf764b6
fix: override cookie settings in tests in a separate thread to not delete its value for other tests
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pr/woodpecker Pipeline failed
2024-07-11 02:25:23 +05:30
420b8a7d8b
feat: Identifier: db pg adapter: UserView
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2024-05-19 00:39:01 +05:30
d7ec43d4b2
feat: identity: implement cqrs::Aggregate for User 2024-05-19 00:38:51 +05:30
86a66a420c
feat: define service group and UserServicesInterface with mocking 2024-05-19 00:35:49 +05:30
1f25754822
fix: identity: derive error for IdentityError 2024-05-19 00:35:45 +05:30
51894cfcb7
feat: identity: define type aliases for services 2024-05-19 00:35:25 +05:30
cef61fe229
feat: identity: add deleted field to user 2024-05-19 00:34:22 +05:30
434436b81f
fix: check for duplicate email and send confirmation link while updating email 2024-05-19 00:33:36 +05:30
956b94f97b
chore: license headers 2024-05-18 21:35:01 +05:30
1815637a38
feat: lettre email adapter: load email config and test account_validation_link 2024-05-18 20:42:30 +05:30
d5bcd3493b
fix: read email config as a URL for optionally disabling TLS 2024-05-18 20:41:27 +05:30
70c4a967bf
feat: read from and reply_to email config params as mailbox addresses 2024-05-18 20:14:01 +05:30
e90b2d401c
feat: optionally provision test database 2024-05-18 19:57:33 +05:30
c1ac50c497
feat: read and load email config 2024-05-18 19:40:48 +05:30
607d2350b6
feat: validate configuration parameters 2024-05-18 19:40:30 +05:30
2170f03cf2
feat: identity: resend verification email service
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2024-05-18 19:10:47 +05:30
1be035be98
feat: db port&pg adapter: get verification otp 2024-05-18 19:01:29 +05:30