diff --git a/pkg/db/fixtures/lists.yml b/pkg/db/fixtures/projects.yml similarity index 100% rename from pkg/db/fixtures/lists.yml rename to pkg/db/fixtures/projects.yml diff --git a/pkg/db/fixtures/team_lists.yml b/pkg/db/fixtures/team_projects.yml similarity index 100% rename from pkg/db/fixtures/team_lists.yml rename to pkg/db/fixtures/team_projects.yml diff --git a/pkg/db/fixtures/users_lists.yml b/pkg/db/fixtures/users_projects.yml similarity index 100% rename from pkg/db/fixtures/users_lists.yml rename to pkg/db/fixtures/users_projects.yml diff --git a/pkg/integrations/list_test.go b/pkg/integrations/project_test.go similarity index 100% rename from pkg/integrations/list_test.go rename to pkg/integrations/project_test.go diff --git a/pkg/integrations/user_list_test.go b/pkg/integrations/user_project_test.go similarity index 100% rename from pkg/integrations/user_list_test.go rename to pkg/integrations/user_project_test.go diff --git a/pkg/models/list.go b/pkg/models/prject.go similarity index 100% rename from pkg/models/list.go rename to pkg/models/prject.go diff --git a/pkg/models/list_test.go b/pkg/models/prject_test.go similarity index 100% rename from pkg/models/list_test.go rename to pkg/models/prject_test.go diff --git a/pkg/models/list_duplicate.go b/pkg/models/project_duplicate.go similarity index 100% rename from pkg/models/list_duplicate.go rename to pkg/models/project_duplicate.go diff --git a/pkg/models/list_duplicate_test.go b/pkg/models/project_duplicate_test.go similarity index 100% rename from pkg/models/list_duplicate_test.go rename to pkg/models/project_duplicate_test.go diff --git a/pkg/models/list_rights.go b/pkg/models/project_rights.go similarity index 100% rename from pkg/models/list_rights.go rename to pkg/models/project_rights.go diff --git a/pkg/models/list_team.go b/pkg/models/project_team.go similarity index 100% rename from pkg/models/list_team.go rename to pkg/models/project_team.go diff --git a/pkg/models/list_team_rights.go b/pkg/models/project_team_rights.go similarity index 100% rename from pkg/models/list_team_rights.go rename to pkg/models/project_team_rights.go diff --git a/pkg/models/list_team_test.go b/pkg/models/project_team_test.go similarity index 100% rename from pkg/models/list_team_test.go rename to pkg/models/project_team_test.go diff --git a/pkg/models/list_users.go b/pkg/models/project_users.go similarity index 100% rename from pkg/models/list_users.go rename to pkg/models/project_users.go diff --git a/pkg/models/list_users_rights.go b/pkg/models/project_users_rights.go similarity index 100% rename from pkg/models/list_users_rights.go rename to pkg/models/project_users_rights.go diff --git a/pkg/models/list_users_rights_test.go b/pkg/models/project_users_rights_test.go similarity index 100% rename from pkg/models/list_users_rights_test.go rename to pkg/models/project_users_rights_test.go diff --git a/pkg/models/list_users_test.go b/pkg/models/project_users_test.go similarity index 100% rename from pkg/models/list_users_test.go rename to pkg/models/project_users_test.go diff --git a/pkg/models/user_list.go b/pkg/models/user_project.go similarity index 100% rename from pkg/models/user_list.go rename to pkg/models/user_project.go diff --git a/pkg/models/users_list_test.go b/pkg/models/user_project_test.go similarity index 100% rename from pkg/models/users_list_test.go rename to pkg/models/user_project_test.go diff --git a/pkg/routes/api/v1/list_by_namespace.go b/pkg/routes/api/v1/project_by_namespace.go similarity index 94% rename from pkg/routes/api/v1/list_by_namespace.go rename to pkg/routes/api/v1/project_by_namespace.go index 2f6d421b9..0e947e892 100644 --- a/pkg/routes/api/v1/list_by_namespace.go +++ b/pkg/routes/api/v1/project_by_namespace.go @@ -29,8 +29,8 @@ import ( "github.com/labstack/echo/v4" ) -// GetProjectsByNamespaceID is the web handler to delete a namespace -// TODO: depricate this in favour of namespace.ReadOne() <-- should also return the projects +// GetProjectsByNamespaceID is the web handler to get all projects belonging to a namespace +// TODO: deprecate this in favour of namespace.ReadOne() <-- should also return the projects // @Summary Get all projects in a namespace // @Description Returns all projects inside of a namespace. // @tags namespace diff --git a/pkg/user/users_list.go b/pkg/user/users_project.go similarity index 100% rename from pkg/user/users_list.go rename to pkg/user/users_project.go