drone/internal/store/database
Johannes Batzill 335998505e [MISC] Introduce PathStore and Move PathLogic to Controller Layer (#226)
This change is a follow up on the effort to remove transactions and sync stores from the database layer, and move them in the application layer. It is addressing the repo + space store.
The following changes are included:
- Introduce PathStore storing resource paths (repo + space)
- Add foreign key from path.repo_id/space_id to repo.id/space.id
- Add foreign key from repo/space.parent_id to space.id
- Remove repo_sync and space_sync
- Move path creation logic to repo/space controller (for both creating primary paths for new repos/spaces, as well as creating alias spaces)
- Reimplement repo/space moving on controller layer
2023-01-18 11:34:12 -08:00
..
dbtx global mutex for the dbtx package (#118) 2022-12-13 17:52:16 +01:00
migrate [MISC] Introduce PathStore and Move PathLogic to Controller Layer (#226) 2023-01-18 11:34:12 -08:00
mutex [MAINT] golangci-lint config changed (#31) 2022-10-13 14:39:15 +02:00
testdata Introduce UIDs for Space / Repo / Tokens, Add Custom Harness Validation, ... (#57) 2022-11-06 23:14:47 -08:00
path.go [MISC] Introduce PathStore and Move PathLogic to Controller Layer (#226) 2023-01-18 11:34:12 -08:00
principal_info.go [MISC] Introduce PathStore and Move PathLogic to Controller Layer (#226) 2023-01-18 11:34:12 -08:00
principal_service_account.go [Techdebt] merge user/service/serviceaccount stores into single principal store (#160) 2023-01-05 15:58:18 -08:00
principal_service.go [Techdebt] merge user/service/serviceaccount stores into single principal store (#160) 2023-01-05 15:58:18 -08:00
principal_test.go [Techdebt] merge user/service/serviceaccount stores into single principal store (#160) 2023-01-05 15:58:18 -08:00
principal_user.go [Techdebt] merge user/service/serviceaccount stores into single principal store (#160) 2023-01-05 15:58:18 -08:00
principal.go [Techdebt] merge user/service/serviceaccount stores into single principal store (#160) 2023-01-05 15:58:18 -08:00
pullreq_activity.go [MISC] Introduce PathStore and Move PathLogic to Controller Layer (#226) 2023-01-18 11:34:12 -08:00
pullreq_reviewers.go [MISC] Introduce PathStore and Move PathLogic to Controller Layer (#226) 2023-01-18 11:34:12 -08:00
pullreq_reviews.go pull request reviewers (#167) 2023-01-06 20:29:20 +01:00
pullreq.go [MISC] Introduce PathStore and Move PathLogic to Controller Layer (#226) 2023-01-18 11:34:12 -08:00
repo.go [MISC] Introduce PathStore and Move PathLogic to Controller Layer (#226) 2023-01-18 11:34:12 -08:00
space.go [MISC] Introduce PathStore and Move PathLogic to Controller Layer (#226) 2023-01-18 11:34:12 -08:00
store_test.go [Techdebt] merge user/service/serviceaccount stores into single principal store (#160) 2023-01-05 15:58:18 -08:00
store.go [MISC] Introduce PathStore and Move PathLogic to Controller Layer (#226) 2023-01-18 11:34:12 -08:00
token.go DB & API refactor: Use snake case (#144) 2022-12-29 13:53:08 -08:00
util_test.go [MAINT] golangci-lint config changed (#31) 2022-10-13 14:39:15 +02:00
util.go [MISC] Introduce PathStore and Move PathLogic to Controller Layer (#226) 2023-01-18 11:34:12 -08:00
webhook_execution.go [Webhook] Add Event Processing and Retrigger (#148) 2023-01-04 14:43:36 -08:00
webhook.go [MISC] Introduce PathStore and Move PathLogic to Controller Layer (#226) 2023-01-18 11:34:12 -08:00
wire.go [MISC] Introduce PathStore and Move PathLogic to Controller Layer (#226) 2023-01-18 11:34:12 -08:00