Commit graph

161 commits

Author SHA1 Message Date
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
1565e56737
chore: rename *Exists error to Dupliate* error 2024-05-18 19:00:58 +05:30
5a9043e226
feat: identity service: set user verified 2024-05-18 18:29:17 +05:30
36f85e2e18
feat: db port and (pg) adapter to check if verification secret exists 2024-05-18 18:29:08 +05:30
fbb5435d3c
feat: db: pg: adapter to delete verification secret 2024-05-18 18:27:52 +05:30
1da8f791b4
feat: db: port for deleting verification secret 2024-05-18 18:27:07 +05:30
6858633cb9
feat: identity: promote user to admin 2024-05-18 00:15:52 +05:30
a65bbdaa8c
fix: missed mod files 2024-05-18 00:11:12 +05:30
c43814d8f0
feat: identity: update_email service 2024-05-18 00:10:38 +05:30
458afd3577
chore: lints 2024-05-18 00:10:22 +05:30
5d49ecee5c
feat: identity: delete_user service 2024-05-18 00:09:47 +05:30
b4e56cc9a1
fix: update_user: delete module. Difficult to maintain consistency in
denormalized views
2024-05-18 00:04:19 +05:30
33022dc4ea
feat: identity: login service 2024-05-18 00:02:08 +05:30
2d1fb4fd1c
feat: identity: update_username service 2024-05-17 23:58:58 +05:30
8085f5e54b
feat: identity: update password cmd and service 2024-05-17 23:58:30 +05:30
09d3e5331c
chore: identity: use common error type for cmds 2024-05-17 23:58:05 +05:30
4b5f8733ce
feat: identity: register_user service 2024-05-17 23:39:58 +05:30
8c136cb46c
feat: identity: register_user command 2024-05-17 23:39:48 +05:30
b83112d359
feat: define types aliases for GenerateRandomStringInterface 2024-05-17 23:28:17 +05:30
eba678b6de
feat: BDD test helpers 2024-05-17 23:27:33 +05:30
bd34170d6e
feat: define identity domain aggregate 2024-05-17 23:26:40 +05:30
ef2c2fec2f
feat: mailer adapter: bootstrap smtp client 2024-05-17 23:25:47 +05:30
e60a78054e
feat: mailer: send OTp link port 2024-05-17 23:24:24 +05:30
ff080103c7
feat: db pg adapter: store OTP links 2024-05-17 23:23:54 +05:30
2e081e3803
feat: db pg adapter: define username_exists adapter 2024-05-17 23:23:44 +05:30
4e4287c418
feat: db pg adapter: define email_exists adapter 2024-05-17 23:23:38 +05:30