mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-10 08:05:12 +00:00
feat: project view (#90)
* init for views (spooler, handler) * init for views (spooler, handler) * start view in management * granted project * implement granted project view * search granted projects * fix search column * update all projects on project change * search roles * filter org * project members * project grant members * fix tests * application view * project grant search * mock * test appendevents * test appendevents * Update internal/view/query.go Co-authored-by: Livio Amstutz <[email protected]> * Update internal/eventstore/spooler/spooler.go Co-authored-by: Livio Amstutz <[email protected]> * Update internal/view/query.go Co-authored-by: Livio Amstutz <[email protected]> * merge request changes * Update internal/project/repository/view/model/application.go Co-authored-by: Livio Amstutz <[email protected]> * merge request changes * Project view sql (#92) * sql and configs * error handling * sql start in eventstore * on error handling, config * read user on members * Update internal/project/repository/view/application_view.go Co-authored-by: Silvan <[email protected]> * Update internal/project/repository/view/model/application.go Co-authored-by: Silvan <[email protected]> * Update internal/project/repository/view/model/application.go Co-authored-by: Silvan <[email protected]> * Update internal/project/repository/view/model/application.go Co-authored-by: Silvan <[email protected]> * Update internal/project/repository/view/model/application.go Co-authored-by: Silvan <[email protected]> * Update internal/project/repository/view/model/application.go Co-authored-by: Silvan <[email protected]> * Update internal/project/repository/view/model/application_query.go Co-authored-by: Silvan <[email protected]> * Update pkg/management/api/grpc/project_grant_converter.go Co-authored-by: Silvan <[email protected]> * Update pkg/management/api/grpc/project_grant_member_converter.go Co-authored-by: Silvan <[email protected]> * Update pkg/management/api/grpc/project_grant_member_converter.go Co-authored-by: Silvan <[email protected]> * Update pkg/management/api/grpc/project_member_converter.go Co-authored-by: Silvan <[email protected]> * Update pkg/management/api/grpc/project_member_converter.go Co-authored-by: Silvan <[email protected]> * Update internal/project/repository/view/model/granted_project.go Co-authored-by: Silvan <[email protected]> * return caos errors * Update internal/project/repository/view/model/granted_project_query.go Co-authored-by: Silvan <[email protected]> * Update internal/project/repository/view/model/project_grant_member.go Co-authored-by: Silvan <[email protected]> * Update internal/project/repository/view/model/project_grant_member_query.go Co-authored-by: Silvan <[email protected]> * Update internal/project/repository/view/model/project_member.go Co-authored-by: Silvan <[email protected]> * Update internal/project/repository/view/model/project_member_query.go Co-authored-by: Silvan <[email protected]> * Update internal/project/repository/view/model/project_role.go Co-authored-by: Silvan <[email protected]> * Update internal/project/repository/view/model/project_role_query.go Co-authored-by: Silvan <[email protected]> * Update pkg/management/api/grpc/application_converter.go Co-authored-by: Silvan <[email protected]> * Update pkg/management/api/grpc/application_converter.go Co-authored-by: Silvan <[email protected]> * Update pkg/management/api/grpc/project_converter.go Co-authored-by: Silvan <[email protected]> * Update pkg/management/api/grpc/project_converter.go Co-authored-by: Silvan <[email protected]> * Update pkg/management/api/grpc/project_converter.go Co-authored-by: Silvan <[email protected]> * Update pkg/management/api/grpc/project_converter.go Co-authored-by: Silvan <[email protected]> * converter fix Co-authored-by: Livio Amstutz <[email protected]> Co-authored-by: Silvan <[email protected]>
This commit is contained in:
co-authored by
Livio Amstutz
Silvan
parent
49d86fdabb
commit
6e105f662e
@@ -7,7 +7,11 @@ import (
|
||||
)
|
||||
|
||||
func (s *Server) SearchApplications(ctx context.Context, in *ApplicationSearchRequest) (*ApplicationSearchResponse, error) {
|
||||
return nil, errors.ThrowUnimplemented(nil, "GRPC-yW23f", "Not implemented")
|
||||
response, err := s.project.SearchApplications(ctx, applicationSearchRequestsToModel(in))
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return applicationSearchResponseFromModel(response), nil
|
||||
}
|
||||
|
||||
func (s *Server) ApplicationByID(ctx context.Context, in *ApplicationID) (*Application, error) {
|
||||
|
||||
Reference in New Issue
Block a user