drone/types/enum
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
..
common.go [MISC] Introduce PathStore and Move PathLogic to Controller Layer (#226) 2023-01-18 11:34:12 -08:00
git.go Add Tag Listing API (#49) 2022-10-28 13:10:26 -07:00
grant.go Introduce Controller for Repo, Space, User, and ServiceAccount (#25) 2022-10-03 18:56:49 -07:00
order_test.go [MAINT] golangci-lint config changed (#31) 2022-10-13 14:39:15 +02:00
order.go [MISC] Minor Cleanup in types + enum Package (#186) 2023-01-11 23:16:07 -08:00
path.go [MISC] Introduce PathStore and Move PathLogic to Controller Layer (#226) 2023-01-18 11:34:12 -08:00
permission.go [Embedded] Harness Router, Inline Space Creation, Bootstrap, Harness/Admin User Setup (#28) 2022-10-10 21:32:14 -07:00
principal.go Principals, ServiceAccounts, Tokens and auth.Sessions (#15) 2022-09-25 23:44:51 -07:00
pullreq.go Handling branch events for PRs (#221) 2023-01-18 13:26:20 +01:00
repo.go Introduce UIDs for Space / Repo / Tokens, Add Custom Harness Validation, ... (#57) 2022-11-06 23:14:47 -08:00
resource.go enum types should have Enum() method (#192) 2023-01-12 17:13:03 +01:00
space.go Introduce UIDs for Space / Repo / Tokens, Add Custom Harness Validation, ... (#57) 2022-11-06 23:14:47 -08:00
token.go [feat] pull/push over https - done (#47) 2022-11-01 19:02:29 +01:00
user_test.go [MAINT] golangci-lint config changed (#31) 2022-10-13 14:39:15 +02:00
user.go feat: [SCM-60]: return number of duplicate PR, unique partial index for PR branch uniqueness (#214) 2023-01-17 11:42:33 +01:00
webhook.go [SCM-61]: sort in webhook list api (#199) 2023-01-17 09:59:27 -08:00