From 8a23ac5d2e831c553613979946195a0b00efe25e Mon Sep 17 00:00:00 2001 From: BlakePatterson Date: Thu, 10 Oct 2024 09:50:46 -0400 Subject: [PATCH 01/21] chore(refactor): update servicename to serviceccrn throughout repo --- internal/api/graphql/gqlgen.yml | 2 +- .../graphql/graph/baseResolver/activity.go | 2 +- .../api/graphql/graph/baseResolver/common.go | 4 +- .../api/graphql/graph/baseResolver/issue.go | 4 +- .../graphql/graph/baseResolver/issue_match.go | 2 +- .../graph/baseResolver/issue_repository.go | 2 +- .../api/graphql/graph/baseResolver/service.go | 14 +- internal/api/graphql/graph/generated.go | 128 +++++++++--------- internal/api/graphql/graph/model/models.go | 4 +- .../api/graphql/graph/model/models_gen.go | 12 +- .../activity/addService.graphql | 2 +- .../activity/directRelations.graphql | 2 +- .../queryCollection/activity/full.graphql | 4 +- .../activity/removeService.graphql | 2 +- .../componentInstance/directRelations.graphql | 2 +- .../graph/queryCollection/issue/full.graphql | 2 +- .../issueRepository/directRelations.graphql | 2 +- .../service/addIssueRepository.graphql | 2 +- .../queryCollection/service/addOwner.graphql | 2 +- .../queryCollection/service/create.graphql | 2 +- .../service/directRelations.graphql | 2 +- .../queryCollection/service/minimal.graphql | 2 +- .../service/removeIssueRepository.graphql | 2 +- .../service/removeOwner.graphql | 2 +- .../queryCollection/service/update.graphql | 2 +- ...viceNames.graphql => serviceCcrns.graphql} | 2 +- .../supportGroup/addService.graphql | 2 +- .../supportGroup/directRelations.graphql | 2 +- .../supportGroup/removeService.graphql | 2 +- .../user/directRelations.graphql | 2 +- .../resolver/issue_match_filter_value.go | 2 +- .../graphql/graph/resolver/service_filter.go | 10 +- .../graphql/graph/schema/activity.graphqls | 2 +- .../graph/schema/issue_repository.graphqls | 2 +- .../api/graphql/graph/schema/service.graphqls | 6 +- .../graph/schema/service_filter.graphqls | 2 +- internal/app/issue/issue_handler_test.go | 2 +- .../issue_match/issue_match_handler_test.go | 2 +- .../issue_repository_handler_test.go | 2 +- .../issue_variant_handler_test.go | 2 +- internal/app/service/service_handler.go | 16 +-- .../app/service/service_handler_events.go | 10 +- .../app/service/service_handler_interface.go | 2 +- internal/app/service/service_handler_test.go | 26 ++-- internal/database/interface.go | 2 +- internal/database/mariadb/activity.go | 10 +- internal/database/mariadb/activity_test.go | 4 +- internal/database/mariadb/entity.go | 8 +- internal/database/mariadb/init/schema.sql | 6 +- internal/database/mariadb/issue.go | 15 +- internal/database/mariadb/issue_match.go | 8 +- internal/database/mariadb/issue_repository.go | 12 +- .../database/mariadb/issue_repository_test.go | 4 +- internal/database/mariadb/issue_test.go | 14 +- internal/database/mariadb/service.go | 32 ++--- internal/database/mariadb/service_test.go | 64 ++++----- internal/database/mariadb/test/fixture.go | 8 +- internal/e2e/activity_query_test.go | 2 +- internal/e2e/component_instance_query_test.go | 2 +- internal/e2e/issue_repository_query_test.go | 2 +- internal/e2e/service_filter_query_test.go | 18 +-- internal/e2e/service_query_test.go | 10 +- internal/e2e/support_group_query_test.go | 2 +- internal/e2e/user_query_test.go | 2 +- internal/entity/activity.go | 2 +- internal/entity/issue.go | 2 +- internal/entity/issue_match.go | 2 +- internal/entity/issue_repository.go | 4 +- internal/entity/service.go | 4 +- internal/entity/test/service.go | 2 +- internal/mocks/mock_Database.go | 24 ++-- internal/mocks/mock_Heureka.go | 24 ++-- scanner/k8s-assets/client/generated.go | 20 +-- .../client/query/service_create.graphql | 2 +- scanner/k8s-assets/main.go | 7 +- scanner/k8s-assets/processor/processor.go | 14 +- scanner/k8s-assets/scanner/config.go | 2 +- scanner/k8s-assets/scanner/scanner.go | 10 +- 78 files changed, 324 insertions(+), 322 deletions(-) rename internal/api/graphql/graph/queryCollection/serviceFilter/{serviceNames.graphql => serviceCcrns.graphql} (86%) diff --git a/internal/api/graphql/gqlgen.yml b/internal/api/graphql/gqlgen.yml index 72a7cc00..b4b00656 100644 --- a/internal/api/graphql/gqlgen.yml +++ b/internal/api/graphql/gqlgen.yml @@ -209,7 +209,7 @@ models: resolver: true ServiceFilterValue: fields: - serviceName: + serviceCcrn: resolver: true uniqueUserId: resolver: true diff --git a/internal/api/graphql/graph/baseResolver/activity.go b/internal/api/graphql/graph/baseResolver/activity.go index c078e632..ce2a17ad 100644 --- a/internal/api/graphql/graph/baseResolver/activity.go +++ b/internal/api/graphql/graph/baseResolver/activity.go @@ -90,7 +90,7 @@ func ActivityBaseResolver(app app.Heureka, ctx context.Context, filter *model.Ac f := &entity.ActivityFilter{ Paginated: entity.Paginated{First: first, After: afterId}, - ServiceName: filter.ServiceName, + ServiceCCRN: filter.ServiceCcrn, ServiceId: sId, IssueId: issueId, } diff --git a/internal/api/graphql/graph/baseResolver/common.go b/internal/api/graphql/graph/baseResolver/common.go index dddee8c9..8d0444bf 100644 --- a/internal/api/graphql/graph/baseResolver/common.go +++ b/internal/api/graphql/graph/baseResolver/common.go @@ -14,7 +14,7 @@ import ( ) var ( - FilterDisplayServiceName string = "Service Name" + FilterDisplayServiceCcrn string = "Service CCRN" FilterDisplaySupportGroupName string = "Support Group Name" FilterDisplayUserName string = "User Name" FilterDisplayUniqueUserId string = "Unique User ID" @@ -24,7 +24,7 @@ var ( FilterDisplayIssuePrimaryName string = "Issue Name" FilterDisplayIssueSeverity string = "Severity" - ServiceFilterServiceName string = "serviceName" + ServiceFilterServiceCcrn string = "serviceCcrn" ServiceFilterUniqueUserId string = "uniqueUserId" ServiceFilterType string = "type" ServiceFilterUserName string = "userName" diff --git a/internal/api/graphql/graph/baseResolver/issue.go b/internal/api/graphql/graph/baseResolver/issue.go index 9cc8b6df..065db6df 100644 --- a/internal/api/graphql/graph/baseResolver/issue.go +++ b/internal/api/graphql/graph/baseResolver/issue.go @@ -99,7 +99,7 @@ func IssueBaseResolver(app app.Heureka, ctx context.Context, filter *model.Issue f := &entity.IssueFilter{ Paginated: entity.Paginated{First: first, After: afterId}, - ServiceName: filter.AffectedService, + ServiceCCRN: filter.AffectedService, ActivityId: activityId, ComponentVersionId: cvId, PrimaryName: filter.PrimaryName, @@ -170,7 +170,7 @@ func IssueNameBaseResolver(app app.Heureka, ctx context.Context, filter *model.I f := &entity.IssueFilter{ Paginated: entity.Paginated{}, - ServiceName: filter.AffectedService, + ServiceCCRN: filter.AffectedService, PrimaryName: filter.PrimaryName, Type: lo.Map(filter.IssueType, func(item *model.IssueTypes, _ int) *string { return pointer.String(item.String()) }), Search: filter.Search, diff --git a/internal/api/graphql/graph/baseResolver/issue_match.go b/internal/api/graphql/graph/baseResolver/issue_match.go index 2d59b5f9..96ecf85b 100644 --- a/internal/api/graphql/graph/baseResolver/issue_match.go +++ b/internal/api/graphql/graph/baseResolver/issue_match.go @@ -105,7 +105,7 @@ func IssueMatchBaseResolver(app app.Heureka, ctx context.Context, filter *model. f := &entity.IssueMatchFilter{ Id: issue_match_ids, Paginated: entity.Paginated{First: first, After: afterId}, - AffectedServiceName: filter.AffectedService, + AffectedServiceCCRN: filter.AffectedService, Status: lo.Map(filter.Status, func(item *model.IssueMatchStatusValues, _ int) *string { return pointer.String(item.String()) }), SeverityValue: lo.Map(filter.Severity, func(item *model.SeverityValues, _ int) *string { return pointer.String(item.String()) }), SupportGroupName: filter.SupportGroupName, diff --git a/internal/api/graphql/graph/baseResolver/issue_repository.go b/internal/api/graphql/graph/baseResolver/issue_repository.go index 3d346f1c..8f571b0d 100644 --- a/internal/api/graphql/graph/baseResolver/issue_repository.go +++ b/internal/api/graphql/graph/baseResolver/issue_repository.go @@ -89,7 +89,7 @@ func IssueRepositoryBaseResolver(app app.Heureka, ctx context.Context, filter *m Paginated: entity.Paginated{First: first, After: afterId}, ServiceId: serviceId, Name: filter.Name, - ServiceName: filter.ServiceName, + ServiceCCRN: filter.ServiceCcrn, } opt := GetListOptions(requestedFields) diff --git a/internal/api/graphql/graph/baseResolver/service.go b/internal/api/graphql/graph/baseResolver/service.go index 5542352f..7e110991 100644 --- a/internal/api/graphql/graph/baseResolver/service.go +++ b/internal/api/graphql/graph/baseResolver/service.go @@ -97,7 +97,7 @@ func ServiceBaseResolver(app app.Heureka, ctx context.Context, filter *model.Ser f := &entity.ServiceFilter{ Paginated: entity.Paginated{First: first, After: afterId}, SupportGroupName: filter.SupportGroupName, - Name: filter.ServiceName, + CCRN: filter.ServiceCcrn, OwnerName: filter.UserName, OwnerId: ownerId, ActivityId: activityId, @@ -144,11 +144,11 @@ func ServiceBaseResolver(app app.Heureka, ctx context.Context, filter *model.Ser return &connection, nil } -func ServiceNameBaseResolver(app app.Heureka, ctx context.Context, filter *model.ServiceFilter) (*model.FilterItem, error) { +func ServiceCcrnBaseResolver(app app.Heureka, ctx context.Context, filter *model.ServiceFilter) (*model.FilterItem, error) { requestedFields := GetPreloads(ctx) logrus.WithFields(logrus.Fields{ "requestedFields": requestedFields, - }).Debug("Called ServiceNameBaseResolver") + }).Debug("Called ServiceCcrnBaseResolver") if filter == nil { filter = &model.ServiceFilter{} @@ -157,16 +157,16 @@ func ServiceNameBaseResolver(app app.Heureka, ctx context.Context, filter *model f := &entity.ServiceFilter{ Paginated: entity.Paginated{}, SupportGroupName: filter.SupportGroupName, - Name: filter.ServiceName, + CCRN: filter.ServiceCcrn, OwnerName: filter.UserName, } opt := GetListOptions(requestedFields) - names, err := app.ListServiceNames(f, opt) + names, err := app.ListServiceCcrns(f, opt) if err != nil { - return nil, NewResolverError("ServiceNameBaseResolver", err.Error()) + return nil, NewResolverError("ServiceCcrnBaseResolver", err.Error()) } var pointerNames []*string @@ -176,7 +176,7 @@ func ServiceNameBaseResolver(app app.Heureka, ctx context.Context, filter *model } filterItem := model.FilterItem{ - DisplayName: &FilterDisplayServiceName, + DisplayName: &FilterDisplayServiceCcrn, Values: pointerNames, } diff --git a/internal/api/graphql/graph/generated.go b/internal/api/graphql/graph/generated.go index 249d6e4f..07caa677 100644 --- a/internal/api/graphql/graph/generated.go +++ b/internal/api/graphql/graph/generated.go @@ -463,10 +463,10 @@ type ComplexityRoot struct { Service struct { Activities func(childComplexity int, filter *model.ActivityFilter, first *int, after *string) int + Ccrn func(childComplexity int) int ComponentInstances func(childComplexity int, filter *model.ComponentInstanceFilter, first *int, after *string) int ID func(childComplexity int) int IssueRepositories func(childComplexity int, filter *model.IssueRepositoryFilter, first *int, after *string) int - Name func(childComplexity int) int Owners func(childComplexity int, filter *model.UserFilter, first *int, after *string) int SupportGroups func(childComplexity int, filter *model.SupportGroupFilter, first *int, after *string) int } @@ -484,7 +484,7 @@ type ComplexityRoot struct { } ServiceFilterValue struct { - ServiceName func(childComplexity int, filter *model.ServiceFilter) int + ServiceCcrn func(childComplexity int, filter *model.ServiceFilter) int SupportGroupName func(childComplexity int, filter *model.SupportGroupFilter) int UniqueUserID func(childComplexity int, filter *model.UserFilter) int UserName func(childComplexity int, filter *model.UserFilter) int @@ -679,7 +679,7 @@ type ServiceResolver interface { ComponentInstances(ctx context.Context, obj *model.Service, filter *model.ComponentInstanceFilter, first *int, after *string) (*model.ComponentInstanceConnection, error) } type ServiceFilterValueResolver interface { - ServiceName(ctx context.Context, obj *model.ServiceFilterValue, filter *model.ServiceFilter) (*model.FilterItem, error) + ServiceCcrn(ctx context.Context, obj *model.ServiceFilterValue, filter *model.ServiceFilter) (*model.FilterItem, error) UniqueUserID(ctx context.Context, obj *model.ServiceFilterValue, filter *model.UserFilter) (*model.FilterItem, error) UserName(ctx context.Context, obj *model.ServiceFilterValue, filter *model.UserFilter) (*model.FilterItem, error) SupportGroupName(ctx context.Context, obj *model.ServiceFilterValue, filter *model.SupportGroupFilter) (*model.FilterItem, error) @@ -3064,6 +3064,13 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return e.complexity.Service.Activities(childComplexity, args["filter"].(*model.ActivityFilter), args["first"].(*int), args["after"].(*string)), true + case "Service.ccrn": + if e.complexity.Service.Ccrn == nil { + break + } + + return e.complexity.Service.Ccrn(childComplexity), true + case "Service.componentInstances": if e.complexity.Service.ComponentInstances == nil { break @@ -3095,13 +3102,6 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return e.complexity.Service.IssueRepositories(childComplexity, args["filter"].(*model.IssueRepositoryFilter), args["first"].(*int), args["after"].(*string)), true - case "Service.name": - if e.complexity.Service.Name == nil { - break - } - - return e.complexity.Service.Name(childComplexity), true - case "Service.owners": if e.complexity.Service.Owners == nil { break @@ -3168,17 +3168,17 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return e.complexity.ServiceEdge.Priority(childComplexity), true - case "ServiceFilterValue.serviceName": - if e.complexity.ServiceFilterValue.ServiceName == nil { + case "ServiceFilterValue.serviceCcrn": + if e.complexity.ServiceFilterValue.ServiceCcrn == nil { break } - args, err := ec.field_ServiceFilterValue_serviceName_args(context.TODO(), rawArgs) + args, err := ec.field_ServiceFilterValue_serviceCcrn_args(context.TODO(), rawArgs) if err != nil { return 0, false } - return e.complexity.ServiceFilterValue.ServiceName(childComplexity, args["filter"].(*model.ServiceFilter)), true + return e.complexity.ServiceFilterValue.ServiceCcrn(childComplexity, args["filter"].(*model.ServiceFilter)), true case "ServiceFilterValue.supportGroupName": if e.complexity.ServiceFilterValue.SupportGroupName == nil { @@ -8908,17 +8908,17 @@ func (ec *executionContext) field_Query___type_argsName( return zeroVal, nil } -func (ec *executionContext) field_ServiceFilterValue_serviceName_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_ServiceFilterValue_serviceCcrn_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - arg0, err := ec.field_ServiceFilterValue_serviceName_argsFilter(ctx, rawArgs) + arg0, err := ec.field_ServiceFilterValue_serviceCcrn_argsFilter(ctx, rawArgs) if err != nil { return nil, err } args["filter"] = arg0 return args, nil } -func (ec *executionContext) field_ServiceFilterValue_serviceName_argsFilter( +func (ec *executionContext) field_ServiceFilterValue_serviceCcrn_argsFilter( ctx context.Context, rawArgs map[string]interface{}, ) (*model.ServiceFilter, error) { @@ -12573,8 +12573,8 @@ func (ec *executionContext) fieldContext_ComponentInstance_service(_ context.Con switch field.Name { case "id": return ec.fieldContext_Service_id(ctx, field) - case "name": - return ec.fieldContext_Service_name(ctx, field) + case "ccrn": + return ec.fieldContext_Service_ccrn(ctx, field) case "owners": return ec.fieldContext_Service_owners(ctx, field) case "supportGroups": @@ -20229,8 +20229,8 @@ func (ec *executionContext) fieldContext_Mutation_createService(ctx context.Cont switch field.Name { case "id": return ec.fieldContext_Service_id(ctx, field) - case "name": - return ec.fieldContext_Service_name(ctx, field) + case "ccrn": + return ec.fieldContext_Service_ccrn(ctx, field) case "owners": return ec.fieldContext_Service_owners(ctx, field) case "supportGroups": @@ -20300,8 +20300,8 @@ func (ec *executionContext) fieldContext_Mutation_updateService(ctx context.Cont switch field.Name { case "id": return ec.fieldContext_Service_id(ctx, field) - case "name": - return ec.fieldContext_Service_name(ctx, field) + case "ccrn": + return ec.fieldContext_Service_ccrn(ctx, field) case "owners": return ec.fieldContext_Service_owners(ctx, field) case "supportGroups": @@ -20426,8 +20426,8 @@ func (ec *executionContext) fieldContext_Mutation_addOwnerToService(ctx context. switch field.Name { case "id": return ec.fieldContext_Service_id(ctx, field) - case "name": - return ec.fieldContext_Service_name(ctx, field) + case "ccrn": + return ec.fieldContext_Service_ccrn(ctx, field) case "owners": return ec.fieldContext_Service_owners(ctx, field) case "supportGroups": @@ -20497,8 +20497,8 @@ func (ec *executionContext) fieldContext_Mutation_removeOwnerFromService(ctx con switch field.Name { case "id": return ec.fieldContext_Service_id(ctx, field) - case "name": - return ec.fieldContext_Service_name(ctx, field) + case "ccrn": + return ec.fieldContext_Service_ccrn(ctx, field) case "owners": return ec.fieldContext_Service_owners(ctx, field) case "supportGroups": @@ -20568,8 +20568,8 @@ func (ec *executionContext) fieldContext_Mutation_addIssueRepositoryToService(ct switch field.Name { case "id": return ec.fieldContext_Service_id(ctx, field) - case "name": - return ec.fieldContext_Service_name(ctx, field) + case "ccrn": + return ec.fieldContext_Service_ccrn(ctx, field) case "owners": return ec.fieldContext_Service_owners(ctx, field) case "supportGroups": @@ -20639,8 +20639,8 @@ func (ec *executionContext) fieldContext_Mutation_removeIssueRepositoryFromServi switch field.Name { case "id": return ec.fieldContext_Service_id(ctx, field) - case "name": - return ec.fieldContext_Service_name(ctx, field) + case "ccrn": + return ec.fieldContext_Service_ccrn(ctx, field) case "owners": return ec.fieldContext_Service_owners(ctx, field) case "supportGroups": @@ -23954,8 +23954,8 @@ func (ec *executionContext) fieldContext_Query_ServiceFilterValues(_ context.Con IsResolver: true, Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { switch field.Name { - case "serviceName": - return ec.fieldContext_ServiceFilterValue_serviceName(ctx, field) + case "serviceCcrn": + return ec.fieldContext_ServiceFilterValue_serviceCcrn(ctx, field) case "uniqueUserId": return ec.fieldContext_ServiceFilterValue_uniqueUserId(ctx, field) case "userName": @@ -24199,8 +24199,8 @@ func (ec *executionContext) fieldContext_Service_id(_ context.Context, field gra return fc, nil } -func (ec *executionContext) _Service_name(ctx context.Context, field graphql.CollectedField, obj *model.Service) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Service_name(ctx, field) +func (ec *executionContext) _Service_ccrn(ctx context.Context, field graphql.CollectedField, obj *model.Service) (ret graphql.Marshaler) { + fc, err := ec.fieldContext_Service_ccrn(ctx, field) if err != nil { return graphql.Null } @@ -24213,7 +24213,7 @@ func (ec *executionContext) _Service_name(ctx context.Context, field graphql.Col }() resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { ctx = rctx // use context from middleware stack in children - return obj.Name, nil + return obj.Ccrn, nil }) if err != nil { ec.Error(ctx, err) @@ -24227,7 +24227,7 @@ func (ec *executionContext) _Service_name(ctx context.Context, field graphql.Col return ec.marshalOString2ᚖstring(ctx, field.Selections, res) } -func (ec *executionContext) fieldContext_Service_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { +func (ec *executionContext) fieldContext_Service_ccrn(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { fc = &graphql.FieldContext{ Object: "Service", Field: field, @@ -24729,8 +24729,8 @@ func (ec *executionContext) fieldContext_ServiceEdge_node(_ context.Context, fie switch field.Name { case "id": return ec.fieldContext_Service_id(ctx, field) - case "name": - return ec.fieldContext_Service_name(ctx, field) + case "ccrn": + return ec.fieldContext_Service_ccrn(ctx, field) case "owners": return ec.fieldContext_Service_owners(ctx, field) case "supportGroups": @@ -24830,8 +24830,8 @@ func (ec *executionContext) fieldContext_ServiceEdge_priority(_ context.Context, return fc, nil } -func (ec *executionContext) _ServiceFilterValue_serviceName(ctx context.Context, field graphql.CollectedField, obj *model.ServiceFilterValue) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ServiceFilterValue_serviceName(ctx, field) +func (ec *executionContext) _ServiceFilterValue_serviceCcrn(ctx context.Context, field graphql.CollectedField, obj *model.ServiceFilterValue) (ret graphql.Marshaler) { + fc, err := ec.fieldContext_ServiceFilterValue_serviceCcrn(ctx, field) if err != nil { return graphql.Null } @@ -24844,7 +24844,7 @@ func (ec *executionContext) _ServiceFilterValue_serviceName(ctx context.Context, }() resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { ctx = rctx // use context from middleware stack in children - return ec.resolvers.ServiceFilterValue().ServiceName(rctx, obj, fc.Args["filter"].(*model.ServiceFilter)) + return ec.resolvers.ServiceFilterValue().ServiceCcrn(rctx, obj, fc.Args["filter"].(*model.ServiceFilter)) }) if err != nil { ec.Error(ctx, err) @@ -24858,7 +24858,7 @@ func (ec *executionContext) _ServiceFilterValue_serviceName(ctx context.Context, return ec.marshalOFilterItem2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐFilterItem(ctx, field.Selections, res) } -func (ec *executionContext) fieldContext_ServiceFilterValue_serviceName(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { +func (ec *executionContext) fieldContext_ServiceFilterValue_serviceCcrn(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { fc = &graphql.FieldContext{ Object: "ServiceFilterValue", Field: field, @@ -24883,7 +24883,7 @@ func (ec *executionContext) fieldContext_ServiceFilterValue_serviceName(ctx cont } }() ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_ServiceFilterValue_serviceName_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { + if fc.Args, err = ec.field_ServiceFilterValue_serviceCcrn_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { ec.Error(ctx, err) return fc, err } @@ -27964,20 +27964,20 @@ func (ec *executionContext) unmarshalInputActivityFilter(ctx context.Context, ob asMap[k] = v } - fieldsInOrder := [...]string{"serviceName", "status"} + fieldsInOrder := [...]string{"serviceCcrn", "status"} for _, k := range fieldsInOrder { v, ok := asMap[k] if !ok { continue } switch k { - case "serviceName": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("serviceName")) + case "serviceCcrn": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("serviceCcrn")) data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) if err != nil { return it, err } - it.ServiceName = data + it.ServiceCcrn = data case "status": ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("status")) data, err := ec.unmarshalOActivityStatusValues2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐActivityStatusValues(ctx, v) @@ -28689,20 +28689,20 @@ func (ec *executionContext) unmarshalInputIssueRepositoryFilter(ctx context.Cont asMap[k] = v } - fieldsInOrder := [...]string{"serviceName", "serviceId", "name"} + fieldsInOrder := [...]string{"serviceCcrn", "serviceId", "name"} for _, k := range fieldsInOrder { v, ok := asMap[k] if !ok { continue } switch k { - case "serviceName": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("serviceName")) + case "serviceCcrn": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("serviceCcrn")) data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) if err != nil { return it, err } - it.ServiceName = data + it.ServiceCcrn = data case "serviceId": ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("serviceId")) data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) @@ -28846,20 +28846,20 @@ func (ec *executionContext) unmarshalInputServiceFilter(ctx context.Context, obj asMap[k] = v } - fieldsInOrder := [...]string{"serviceName", "uniqueUserId", "type", "userName", "supportGroupName", "search"} + fieldsInOrder := [...]string{"serviceCcrn", "uniqueUserId", "type", "userName", "supportGroupName", "search"} for _, k := range fieldsInOrder { v, ok := asMap[k] if !ok { continue } switch k { - case "serviceName": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("serviceName")) + case "serviceCcrn": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("serviceCcrn")) data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) if err != nil { return it, err } - it.ServiceName = data + it.ServiceCcrn = data case "uniqueUserId": ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("uniqueUserId")) data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) @@ -28908,20 +28908,20 @@ func (ec *executionContext) unmarshalInputServiceInput(ctx context.Context, obj asMap[k] = v } - fieldsInOrder := [...]string{"name"} + fieldsInOrder := [...]string{"ccrn"} for _, k := range fieldsInOrder { v, ok := asMap[k] if !ok { continue } switch k { - case "name": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) + case "ccrn": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("ccrn")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { return it, err } - it.Name = data + it.Ccrn = data } } @@ -33139,8 +33139,8 @@ func (ec *executionContext) _Service(ctx context.Context, sel ast.SelectionSet, if out.Values[i] == graphql.Null { atomic.AddUint32(&out.Invalids, 1) } - case "name": - out.Values[i] = ec._Service_name(ctx, field, obj) + case "ccrn": + out.Values[i] = ec._Service_ccrn(ctx, field, obj) case "owners": field := field @@ -33426,7 +33426,7 @@ func (ec *executionContext) _ServiceFilterValue(ctx context.Context, sel ast.Sel switch field.Name { case "__typename": out.Values[i] = graphql.MarshalString("ServiceFilterValue") - case "serviceName": + case "serviceCcrn": field := field innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { @@ -33435,7 +33435,7 @@ func (ec *executionContext) _ServiceFilterValue(ctx context.Context, sel ast.Sel ec.Error(ctx, ec.Recover(ctx, r)) } }() - res = ec._ServiceFilterValue_serviceName(ctx, field, obj) + res = ec._ServiceFilterValue_serviceCcrn(ctx, field, obj) return res } diff --git a/internal/api/graphql/graph/model/models.go b/internal/api/graphql/graph/model/models.go index 0952c290..c1eac8c1 100644 --- a/internal/api/graphql/graph/model/models.go +++ b/internal/api/graphql/graph/model/models.go @@ -334,14 +334,14 @@ func NewUserEntity(user *UserInput) entity.User { func NewService(s *entity.Service) Service { return Service{ ID: fmt.Sprintf("%d", s.Id), - Name: &s.Name, + Ccrn: &s.CCRN, } } func NewServiceEntity(service *ServiceInput) entity.Service { return entity.Service{ BaseService: entity.BaseService{ - Name: lo.FromPtr(service.Name), + CCRN: lo.FromPtr(service.Ccrn), }, } } diff --git a/internal/api/graphql/graph/model/models_gen.go b/internal/api/graphql/graph/model/models_gen.go index 379d808f..9e550108 100644 --- a/internal/api/graphql/graph/model/models_gen.go +++ b/internal/api/graphql/graph/model/models_gen.go @@ -60,7 +60,7 @@ func (this ActivityEdge) GetNode() Node { return *this.Node } func (this ActivityEdge) GetCursor() *string { return this.Cursor } type ActivityFilter struct { - ServiceName []*string `json:"serviceName,omitempty"` + ServiceCcrn []*string `json:"serviceCcrn,omitempty"` Status []*ActivityStatusValues `json:"status,omitempty"` } @@ -512,7 +512,7 @@ func (this IssueRepositoryEdge) GetNode() Node { return *this.Node } func (this IssueRepositoryEdge) GetCursor() *string { return this.Cursor } type IssueRepositoryFilter struct { - ServiceName []*string `json:"serviceName,omitempty"` + ServiceCcrn []*string `json:"serviceCcrn,omitempty"` ServiceID []*string `json:"serviceId,omitempty"` Name []*string `json:"name,omitempty"` } @@ -595,7 +595,7 @@ type Query struct { type Service struct { ID string `json:"id"` - Name *string `json:"name,omitempty"` + Ccrn *string `json:"ccrn,omitempty"` Owners *UserConnection `json:"owners,omitempty"` SupportGroups *SupportGroupConnection `json:"supportGroups,omitempty"` Activities *ActivityConnection `json:"activities,omitempty"` @@ -627,7 +627,7 @@ func (this ServiceEdge) GetNode() Node { return *this.Node } func (this ServiceEdge) GetCursor() *string { return this.Cursor } type ServiceFilter struct { - ServiceName []*string `json:"serviceName,omitempty"` + ServiceCcrn []*string `json:"serviceCcrn,omitempty"` UniqueUserID []*string `json:"uniqueUserId,omitempty"` Type []*int `json:"type,omitempty"` UserName []*string `json:"userName,omitempty"` @@ -636,14 +636,14 @@ type ServiceFilter struct { } type ServiceFilterValue struct { - ServiceName *FilterItem `json:"serviceName,omitempty"` + ServiceCcrn *FilterItem `json:"serviceCcrn,omitempty"` UniqueUserID *FilterItem `json:"uniqueUserId,omitempty"` UserName *FilterItem `json:"userName,omitempty"` SupportGroupName *FilterItem `json:"supportGroupName,omitempty"` } type ServiceInput struct { - Name *string `json:"name,omitempty"` + Ccrn *string `json:"ccrn,omitempty"` } type Severity struct { diff --git a/internal/api/graphql/graph/queryCollection/activity/addService.graphql b/internal/api/graphql/graph/queryCollection/activity/addService.graphql index 09036fac..14935970 100644 --- a/internal/api/graphql/graph/queryCollection/activity/addService.graphql +++ b/internal/api/graphql/graph/queryCollection/activity/addService.graphql @@ -11,7 +11,7 @@ mutation ($activityId: ID!, $serviceId: ID!) { edges { node { id - name + ccrn } } } diff --git a/internal/api/graphql/graph/queryCollection/activity/directRelations.graphql b/internal/api/graphql/graph/queryCollection/activity/directRelations.graphql index 30bc155f..e40d7d3e 100644 --- a/internal/api/graphql/graph/queryCollection/activity/directRelations.graphql +++ b/internal/api/graphql/graph/queryCollection/activity/directRelations.graphql @@ -17,7 +17,7 @@ query ($filter: ActivityFilter, $first: Int, $after: String) { edges { node { id - name + ccrn } cursor } diff --git a/internal/api/graphql/graph/queryCollection/activity/full.graphql b/internal/api/graphql/graph/queryCollection/activity/full.graphql index 15bfff0d..900d0806 100644 --- a/internal/api/graphql/graph/queryCollection/activity/full.graphql +++ b/internal/api/graphql/graph/queryCollection/activity/full.graphql @@ -17,7 +17,7 @@ query ($filter: ActivityFilter, $first: Int, $after: String) { edges { node { id - name + ccrn owners { totalCount edges { @@ -177,7 +177,7 @@ query ($filter: ActivityFilter, $first: Int, $after: String) { edges { node { id - name + ccrn } cursor } diff --git a/internal/api/graphql/graph/queryCollection/activity/removeService.graphql b/internal/api/graphql/graph/queryCollection/activity/removeService.graphql index c0fb433f..ceec6e29 100644 --- a/internal/api/graphql/graph/queryCollection/activity/removeService.graphql +++ b/internal/api/graphql/graph/queryCollection/activity/removeService.graphql @@ -11,7 +11,7 @@ mutation ($activityId: ID!, $serviceId: ID!) { edges { node { id - name + ccrn } } } diff --git a/internal/api/graphql/graph/queryCollection/componentInstance/directRelations.graphql b/internal/api/graphql/graph/queryCollection/componentInstance/directRelations.graphql index e7d97d74..1ef71306 100644 --- a/internal/api/graphql/graph/queryCollection/componentInstance/directRelations.graphql +++ b/internal/api/graphql/graph/queryCollection/componentInstance/directRelations.graphql @@ -23,7 +23,7 @@ query ($filter: ComponentInstanceFilter, $first: Int, $after: String) { serviceId service { id - name + ccrn } createdAt updatedAt diff --git a/internal/api/graphql/graph/queryCollection/issue/full.graphql b/internal/api/graphql/graph/queryCollection/issue/full.graphql index 0fbfcda0..5b53d7ba 100644 --- a/internal/api/graphql/graph/queryCollection/issue/full.graphql +++ b/internal/api/graphql/graph/queryCollection/issue/full.graphql @@ -101,7 +101,7 @@ query ($filter: IssueFilter, $first: Int, $after: String) { } service { id - name + ccrn owners { totalCount edges { diff --git a/internal/api/graphql/graph/queryCollection/issueRepository/directRelations.graphql b/internal/api/graphql/graph/queryCollection/issueRepository/directRelations.graphql index 259d50d3..db574c98 100644 --- a/internal/api/graphql/graph/queryCollection/issueRepository/directRelations.graphql +++ b/internal/api/graphql/graph/queryCollection/issueRepository/directRelations.graphql @@ -40,7 +40,7 @@ query ($filter: IssueRepositoryFilter, $first: Int, $after: String) { edges { node { id - name + ccrn } cursor priority diff --git a/internal/api/graphql/graph/queryCollection/service/addIssueRepository.graphql b/internal/api/graphql/graph/queryCollection/service/addIssueRepository.graphql index 86d82b10..2ee588c1 100644 --- a/internal/api/graphql/graph/queryCollection/service/addIssueRepository.graphql +++ b/internal/api/graphql/graph/queryCollection/service/addIssueRepository.graphql @@ -8,7 +8,7 @@ mutation ($serviceId: ID!, $issueRepositoryId: ID!, $priority: Int!) { priority: $priority ) { id - name + ccrn issueRepositories { edges { node { diff --git a/internal/api/graphql/graph/queryCollection/service/addOwner.graphql b/internal/api/graphql/graph/queryCollection/service/addOwner.graphql index 91cc9485..53de2489 100644 --- a/internal/api/graphql/graph/queryCollection/service/addOwner.graphql +++ b/internal/api/graphql/graph/queryCollection/service/addOwner.graphql @@ -7,7 +7,7 @@ mutation ($serviceId: ID!, $userId: ID!) { userId: $userId ) { id - name + ccrn owners { edges { node { diff --git a/internal/api/graphql/graph/queryCollection/service/create.graphql b/internal/api/graphql/graph/queryCollection/service/create.graphql index 26c1de2c..48513564 100644 --- a/internal/api/graphql/graph/queryCollection/service/create.graphql +++ b/internal/api/graphql/graph/queryCollection/service/create.graphql @@ -6,6 +6,6 @@ mutation ($input: ServiceInput!) { input: $input ) { id - name + ccrn } } \ No newline at end of file diff --git a/internal/api/graphql/graph/queryCollection/service/directRelations.graphql b/internal/api/graphql/graph/queryCollection/service/directRelations.graphql index 16e131dc..fdf24f95 100644 --- a/internal/api/graphql/graph/queryCollection/service/directRelations.graphql +++ b/internal/api/graphql/graph/queryCollection/service/directRelations.graphql @@ -12,7 +12,7 @@ query ($filter: ServiceFilter, $first: Int, $after: String) { edges { node { id - name + ccrn owners { totalCount edges { diff --git a/internal/api/graphql/graph/queryCollection/service/minimal.graphql b/internal/api/graphql/graph/queryCollection/service/minimal.graphql index 206015f5..393c1287 100644 --- a/internal/api/graphql/graph/queryCollection/service/minimal.graphql +++ b/internal/api/graphql/graph/queryCollection/service/minimal.graphql @@ -11,7 +11,7 @@ query ($filter: ServiceFilter, $first: Int, $after: String) { edges { node { id - name + ccrn } cursor } diff --git a/internal/api/graphql/graph/queryCollection/service/removeIssueRepository.graphql b/internal/api/graphql/graph/queryCollection/service/removeIssueRepository.graphql index a9da692c..437ec5d3 100644 --- a/internal/api/graphql/graph/queryCollection/service/removeIssueRepository.graphql +++ b/internal/api/graphql/graph/queryCollection/service/removeIssueRepository.graphql @@ -7,7 +7,7 @@ mutation ($serviceId: ID!, $issueRepositoryId: ID!) { issueRepositoryId: $issueRepositoryId ) { id - name + ccrn issueRepositories { edges { node { diff --git a/internal/api/graphql/graph/queryCollection/service/removeOwner.graphql b/internal/api/graphql/graph/queryCollection/service/removeOwner.graphql index 484950ca..33444759 100644 --- a/internal/api/graphql/graph/queryCollection/service/removeOwner.graphql +++ b/internal/api/graphql/graph/queryCollection/service/removeOwner.graphql @@ -7,7 +7,7 @@ mutation ($serviceId: ID!, $userId: ID!) { userId: $userId ) { id - name + ccrn owners{ edges { node { diff --git a/internal/api/graphql/graph/queryCollection/service/update.graphql b/internal/api/graphql/graph/queryCollection/service/update.graphql index 24b398f5..4317a5fb 100644 --- a/internal/api/graphql/graph/queryCollection/service/update.graphql +++ b/internal/api/graphql/graph/queryCollection/service/update.graphql @@ -8,6 +8,6 @@ mutation ($id: ID!, $input: ServiceInput!) { ) { __typename id - name + ccrn } } \ No newline at end of file diff --git a/internal/api/graphql/graph/queryCollection/serviceFilter/serviceNames.graphql b/internal/api/graphql/graph/queryCollection/serviceFilter/serviceCcrns.graphql similarity index 86% rename from internal/api/graphql/graph/queryCollection/serviceFilter/serviceNames.graphql rename to internal/api/graphql/graph/queryCollection/serviceFilter/serviceCcrns.graphql index 01c8f5dc..a68ed926 100644 --- a/internal/api/graphql/graph/queryCollection/serviceFilter/serviceNames.graphql +++ b/internal/api/graphql/graph/queryCollection/serviceFilter/serviceCcrns.graphql @@ -3,7 +3,7 @@ query($filter: ServiceFilter){ ServiceFilterValues{ - serviceName(filter: $filter){ + serviceCcrn(filter: $filter){ filterName values } diff --git a/internal/api/graphql/graph/queryCollection/supportGroup/addService.graphql b/internal/api/graphql/graph/queryCollection/supportGroup/addService.graphql index a305a241..b3fe6902 100644 --- a/internal/api/graphql/graph/queryCollection/supportGroup/addService.graphql +++ b/internal/api/graphql/graph/queryCollection/supportGroup/addService.graphql @@ -12,7 +12,7 @@ mutation ($supportGroupId: ID!, $serviceId: ID!) { edges { node { id - name + ccrn } } } diff --git a/internal/api/graphql/graph/queryCollection/supportGroup/directRelations.graphql b/internal/api/graphql/graph/queryCollection/supportGroup/directRelations.graphql index b18731ad..74300b3a 100644 --- a/internal/api/graphql/graph/queryCollection/supportGroup/directRelations.graphql +++ b/internal/api/graphql/graph/queryCollection/supportGroup/directRelations.graphql @@ -34,7 +34,7 @@ query ($filter: SupportGroupFilter, $first: Int, $after: String) { edges { node { id - name + ccrn } cursor } diff --git a/internal/api/graphql/graph/queryCollection/supportGroup/removeService.graphql b/internal/api/graphql/graph/queryCollection/supportGroup/removeService.graphql index fcdca46a..2ded677b 100644 --- a/internal/api/graphql/graph/queryCollection/supportGroup/removeService.graphql +++ b/internal/api/graphql/graph/queryCollection/supportGroup/removeService.graphql @@ -12,7 +12,7 @@ mutation ($supportGroupId: ID!, $serviceId: ID!) { edges { node { id - name + ccrn } } } diff --git a/internal/api/graphql/graph/queryCollection/user/directRelations.graphql b/internal/api/graphql/graph/queryCollection/user/directRelations.graphql index 745da0ba..de3668be 100644 --- a/internal/api/graphql/graph/queryCollection/user/directRelations.graphql +++ b/internal/api/graphql/graph/queryCollection/user/directRelations.graphql @@ -34,7 +34,7 @@ query ($filter: UserFilter, $first: Int, $after: String) { edges { node { id - name + ccrn } cursor } diff --git a/internal/api/graphql/graph/resolver/issue_match_filter_value.go b/internal/api/graphql/graph/resolver/issue_match_filter_value.go index ed9ad6db..72f93b66 100644 --- a/internal/api/graphql/graph/resolver/issue_match_filter_value.go +++ b/internal/api/graphql/graph/resolver/issue_match_filter_value.go @@ -27,7 +27,7 @@ func (r *issueMatchFilterValueResolver) PrimaryName(ctx context.Context, obj *mo // AffectedService is the resolver for the affectedService field. func (r *issueMatchFilterValueResolver) AffectedService(ctx context.Context, obj *model.IssueMatchFilterValue, filter *model.ServiceFilter) (*model.FilterItem, error) { - item, err := baseResolver.ServiceNameBaseResolver(r.App, ctx, filter) + item, err := baseResolver.ServiceCcrnBaseResolver(r.App, ctx, filter) if err != nil { return nil, err } diff --git a/internal/api/graphql/graph/resolver/service_filter.go b/internal/api/graphql/graph/resolver/service_filter.go index 2e0eeb71..e1a94799 100644 --- a/internal/api/graphql/graph/resolver/service_filter.go +++ b/internal/api/graphql/graph/resolver/service_filter.go @@ -15,14 +15,14 @@ import ( "github.com/cloudoperators/heureka/internal/api/graphql/graph/model" ) -// ServiceName is the resolver for the serviceName field. -func (r *serviceFilterValueResolver) ServiceName(ctx context.Context, obj *model.ServiceFilterValue, filter *model.ServiceFilter) (*model.FilterItem, error) { - item, err := baseResolver.ServiceNameBaseResolver(r.App, ctx, filter) +// ServiceCcrn is the resolver for the serviceCcrn field. +func (r *serviceFilterValueResolver) ServiceCcrn(ctx context.Context, obj *model.ServiceFilterValue, filter *model.ServiceFilter) (*model.FilterItem, error) { + item, err := baseResolver.ServiceCcrnBaseResolver(r.App, ctx, filter) if err != nil { return nil, err } - item.FilterName = &baseResolver.ServiceFilterServiceName - return item, nil + item.FilterName = &baseResolver.ServiceFilterServiceCcrn + return item, err } // UniqueUserID is the resolver for the uniqueUserId field. diff --git a/internal/api/graphql/graph/schema/activity.graphqls b/internal/api/graphql/graph/schema/activity.graphqls index b7ccc630..0b4dd782 100644 --- a/internal/api/graphql/graph/schema/activity.graphqls +++ b/internal/api/graphql/graph/schema/activity.graphqls @@ -26,7 +26,7 @@ type ActivityEdge implements Edge { } input ActivityFilter { - serviceName: [String] + serviceCcrn: [String] status: [ActivityStatusValues] } diff --git a/internal/api/graphql/graph/schema/issue_repository.graphqls b/internal/api/graphql/graph/schema/issue_repository.graphqls index a85967a7..f34eef63 100644 --- a/internal/api/graphql/graph/schema/issue_repository.graphqls +++ b/internal/api/graphql/graph/schema/issue_repository.graphqls @@ -31,7 +31,7 @@ type IssueRepositoryEdge implements Edge { } input IssueRepositoryFilter { - serviceName: [String] + serviceCcrn: [String] serviceId: [String] name: [String] } \ No newline at end of file diff --git a/internal/api/graphql/graph/schema/service.graphqls b/internal/api/graphql/graph/schema/service.graphqls index dc202967..76e7d50f 100644 --- a/internal/api/graphql/graph/schema/service.graphqls +++ b/internal/api/graphql/graph/schema/service.graphqls @@ -3,7 +3,7 @@ type Service implements Node { id: ID! - name: String + ccrn: String owners(filter: UserFilter, first: Int, after: String): UserConnection supportGroups(filter: SupportGroupFilter, first: Int, after: String): SupportGroupConnection activities(filter: ActivityFilter, first: Int, after: String): ActivityConnection @@ -12,7 +12,7 @@ type Service implements Node { } input ServiceInput { - name: String + ccrn: String } type ServiceConnection implements Connection { @@ -28,7 +28,7 @@ type ServiceEdge implements Edge { } input ServiceFilter { - serviceName: [String] + serviceCcrn: [String] uniqueUserId: [String] type: [Int] userName: [String] diff --git a/internal/api/graphql/graph/schema/service_filter.graphqls b/internal/api/graphql/graph/schema/service_filter.graphqls index 79fbdea5..1433e594 100644 --- a/internal/api/graphql/graph/schema/service_filter.graphqls +++ b/internal/api/graphql/graph/schema/service_filter.graphqls @@ -2,7 +2,7 @@ # SPDX-License-Identifier: Apache-2.0 type ServiceFilterValue { - serviceName(filter: ServiceFilter): FilterItem + serviceCcrn(filter: ServiceFilter): FilterItem uniqueUserId(filter: UserFilter): FilterItem userName(filter: UserFilter): FilterItem supportGroupName(filter: SupportGroupFilter): FilterItem diff --git a/internal/app/issue/issue_handler_test.go b/internal/app/issue/issue_handler_test.go index d91b0b36..d6bb230e 100644 --- a/internal/app/issue/issue_handler_test.go +++ b/internal/app/issue/issue_handler_test.go @@ -37,7 +37,7 @@ func getIssueFilter() *entity.IssueFilter { First: nil, After: nil, }, - ServiceName: []*string{&serviceName}, + ServiceCCRN: []*string{&serviceName}, Id: nil, IssueMatchStatus: nil, IssueMatchDiscoveryDate: nil, diff --git a/internal/app/issue_match/issue_match_handler_test.go b/internal/app/issue_match/issue_match_handler_test.go index 825e1991..0f8bba00 100644 --- a/internal/app/issue_match/issue_match_handler_test.go +++ b/internal/app/issue_match/issue_match_handler_test.go @@ -44,7 +44,7 @@ func getIssueMatchFilter() *entity.IssueMatchFilter { After: nil, }, Id: nil, - AffectedServiceName: nil, + AffectedServiceCCRN: nil, SeverityValue: nil, Status: nil, IssueId: nil, diff --git a/internal/app/issue_repository/issue_repository_handler_test.go b/internal/app/issue_repository/issue_repository_handler_test.go index 4dff1a5d..2a22fb57 100644 --- a/internal/app/issue_repository/issue_repository_handler_test.go +++ b/internal/app/issue_repository/issue_repository_handler_test.go @@ -39,7 +39,7 @@ func getIssueRepositoryFilter() *entity.IssueRepositoryFilter { Name: nil, Id: nil, ServiceId: nil, - ServiceName: []*string{&sName}, + ServiceCCRN: []*string{&sName}, } } diff --git a/internal/app/issue_variant/issue_variant_handler_test.go b/internal/app/issue_variant/issue_variant_handler_test.go index 538eb22f..44a54a3e 100644 --- a/internal/app/issue_variant/issue_variant_handler_test.go +++ b/internal/app/issue_variant/issue_variant_handler_test.go @@ -53,7 +53,7 @@ func issueRepositoryFilter() *entity.IssueRepositoryFilter { Id: nil, ServiceId: nil, Name: nil, - ServiceName: nil, + ServiceCCRN: nil, } } diff --git a/internal/app/service/service_handler.go b/internal/app/service/service_handler.go index 415b883a..63965f3f 100644 --- a/internal/app/service/service_handler.go +++ b/internal/app/service/service_handler.go @@ -126,7 +126,7 @@ func (s *serviceHandler) ListServices(filter *entity.ServiceFilter, options *ent func (s *serviceHandler) CreateService(service *entity.Service) (*entity.Service, error) { f := &entity.ServiceFilter{ - Name: []*string{&service.Name}, + CCRN: []*string{&service.CCRN}, } l := logrus.WithFields(logrus.Fields{ @@ -143,7 +143,7 @@ func (s *serviceHandler) CreateService(service *entity.Service) (*entity.Service } if len(services.Elements) > 0 { - return nil, NewServiceHandlerError(fmt.Sprintf("Duplicated entry %s for name.", service.Name)) + return nil, NewServiceHandlerError(fmt.Sprintf("Duplicated entry %s for name.", service.CCRN)) } newService, err := s.database.CreateService(service) @@ -270,20 +270,20 @@ func (s *serviceHandler) RemoveIssueRepositoryFromService(serviceId, issueReposi return s.GetService(serviceId) } -func (s *serviceHandler) ListServiceNames(filter *entity.ServiceFilter, options *entity.ListOptions) ([]string, error) { +func (s *serviceHandler) ListServiceCcrns(filter *entity.ServiceFilter, options *entity.ListOptions) ([]string, error) { l := logrus.WithFields(logrus.Fields{ - "event": ListServiceNamesEventName, + "event": ListServiceCcrnsEventName, "filter": filter, }) - serviceNames, err := s.database.GetServiceNames(filter) + serviceCcrns, err := s.database.GetServiceCcrns(filter) if err != nil { l.Error(err) - return nil, NewServiceHandlerError("Internal error while retrieving serviceNames.") + return nil, NewServiceHandlerError("Internal error while retrieving serviceCCRNs.") } - s.eventRegistry.PushEvent(&ListServiceNamesEvent{Filter: filter, Options: options, Names: serviceNames}) + s.eventRegistry.PushEvent(&ListServiceCcrnsEvent{Filter: filter, Options: options, Ccrns: serviceCcrns}) - return serviceNames, nil + return serviceCcrns, nil } diff --git a/internal/app/service/service_handler_events.go b/internal/app/service/service_handler_events.go index 8d213552..d5789a93 100644 --- a/internal/app/service/service_handler_events.go +++ b/internal/app/service/service_handler_events.go @@ -18,7 +18,7 @@ const ( RemoveOwnerFromServiceEventName event.EventName = "RemoveOwnerFromService" ListServicesEventName event.EventName = "ListServices" GetServiceEventName event.EventName = "GetService" - ListServiceNamesEventName event.EventName = "ListServiceNames" + ListServiceCcrnsEventName event.EventName = "ListServiceCcrns" AddIssueRepositoryToServiceEventName event.EventName = "AddIssueRepositoryToService" RemoveIssueRepositoryFromServiceEventName event.EventName = "RemoveIssueRepositoryFromService" ) @@ -84,14 +84,14 @@ func (e *GetServiceEvent) Name() event.EventName { return GetServiceEventName } -type ListServiceNamesEvent struct { +type ListServiceCcrnsEvent struct { Filter *entity.ServiceFilter Options *entity.ListOptions - Names []string + Ccrns []string } -func (e *ListServiceNamesEvent) Name() event.EventName { - return ListServiceNamesEventName +func (e *ListServiceCcrnsEvent) Name() event.EventName { + return ListServiceCcrnsEventName } type AddIssueRepositoryToServiceEvent struct { diff --git a/internal/app/service/service_handler_interface.go b/internal/app/service/service_handler_interface.go index 569b6131..42378c9c 100644 --- a/internal/app/service/service_handler_interface.go +++ b/internal/app/service/service_handler_interface.go @@ -13,7 +13,7 @@ type ServiceHandler interface { DeleteService(id int64) error AddOwnerToService(serviceId, ownerId int64) (*entity.Service, error) RemoveOwnerFromService(serviceId, ownerId int64) (*entity.Service, error) - ListServiceNames(filter *entity.ServiceFilter, options *entity.ListOptions) ([]string, error) + ListServiceCcrns(filter *entity.ServiceFilter, options *entity.ListOptions) ([]string, error) AddIssueRepositoryToService(int64, int64, int64) (*entity.Service, error) RemoveIssueRepositoryFromService(int64, int64) (*entity.Service, error) } diff --git a/internal/app/service/service_handler_test.go b/internal/app/service/service_handler_test.go index d4491a86..e49a51b3 100644 --- a/internal/app/service/service_handler_test.go +++ b/internal/app/service/service_handler_test.go @@ -45,7 +45,7 @@ func getServiceFilter() *entity.ServiceFilter { First: nil, After: nil, }, - Name: nil, + CCRN: nil, Id: nil, SupportGroupName: []*string{&sgName}, } @@ -134,7 +134,7 @@ var _ = Describe("When creating Service", Label("app", "CreateService"), func() }) It("creates service", func() { - filter.Name = []*string{&service.Name} + filter.CCRN = []*string{&service.CCRN} db.On("CreateService", &service).Return(&service, nil) db.On("GetServices", filter).Return([]entity.Service{}, nil) @@ -143,7 +143,7 @@ var _ = Describe("When creating Service", Label("app", "CreateService"), func() Expect(err).To(BeNil(), "no error should be thrown") Expect(newService.Id).NotTo(BeEquivalentTo(0)) By("setting fields", func() { - Expect(newService.Name).To(BeEquivalentTo(service.Name)) + Expect(newService.CCRN).To(BeEquivalentTo(service.CCRN)) }) }) @@ -247,13 +247,13 @@ var _ = Describe("When updating Service", Label("app", "UpdateService"), func() It("updates service", func() { db.On("UpdateService", &service).Return(nil) serviceHandler = s.NewServiceHandler(db, er) - service.Name = "SecretService" + service.CCRN = "SecretService" filter.Id = []*int64{&service.Id} db.On("GetServices", filter).Return([]entity.Service{service}, nil) updatedService, err := serviceHandler.UpdateService(&service) Expect(err).To(BeNil(), "no error should be thrown") By("setting fields", func() { - Expect(updatedService.Name).To(BeEquivalentTo(service.Name)) + Expect(updatedService.CCRN).To(BeEquivalentTo(service.CCRN)) }) }) }) @@ -384,7 +384,7 @@ var _ = Describe("When modifying relationship of issueRepository and Service", L }) }) -var _ = Describe("When listing serviceNames", Label("app", "ListServicesNames"), func() { +var _ = Describe("When listing serviceCcrns", Label("app", "ListServicesCcrns"), func() { var ( db *mocks.MockDatabase serviceHandler s.ServiceHandler @@ -403,29 +403,29 @@ var _ = Describe("When listing serviceNames", Label("app", "ListServicesNames"), When("no filters are used", func() { BeforeEach(func() { - db.On("GetServiceNames", filter).Return([]string{}, nil) + db.On("GetServiceCcrns", filter).Return([]string{}, nil) }) It("it return the results", func() { serviceHandler = s.NewServiceHandler(db, er) - res, err := serviceHandler.ListServiceNames(filter, options) + res, err := serviceHandler.ListServiceCcrns(filter, options) Expect(err).To(BeNil(), "no error should be thrown") Expect(res).Should(BeEmpty(), "return correct result") }) }) - When("specific serviceNames filter is applied", func() { + When("specific serviceCcrns filter is applied", func() { BeforeEach(func() { filter = &entity.ServiceFilter{ - Name: []*string{&name}, + CCRN: []*string{&name}, } - db.On("GetServiceNames", filter).Return([]string{name}, nil) + db.On("GetServiceCcrns", filter).Return([]string{name}, nil) }) It("returns filtered services according to the service type", func() { serviceHandler = s.NewServiceHandler(db, er) - res, err := serviceHandler.ListServiceNames(filter, options) + res, err := serviceHandler.ListServiceCcrns(filter, options) Expect(err).To(BeNil(), "no error should be thrown") - Expect(res).Should(ConsistOf(name), "should only consist of serviceName") + Expect(res).Should(ConsistOf(name), "should only consist of serviceCcrn") }) }) }) diff --git a/internal/database/interface.go b/internal/database/interface.go index 34c2f297..0b8fc965 100644 --- a/internal/database/interface.go +++ b/internal/database/interface.go @@ -60,7 +60,7 @@ type Database interface { RemoveOwnerFromService(int64, int64) error AddIssueRepositoryToService(int64, int64, int64) error RemoveIssueRepositoryFromService(int64, int64) error - GetServiceNames(*entity.ServiceFilter) ([]string, error) + GetServiceCcrns(*entity.ServiceFilter) ([]string, error) GetUsers(*entity.UserFilter) ([]entity.User, error) GetAllUserIds(*entity.UserFilter) ([]int64, error) diff --git a/internal/database/mariadb/activity.go b/internal/database/mariadb/activity.go index 681f0543..4f6e1c5f 100644 --- a/internal/database/mariadb/activity.go +++ b/internal/database/mariadb/activity.go @@ -27,7 +27,7 @@ func (s *SqlDatabase) ensureActivityFilter(f *entity.ActivityFilter) *entity.Act Id: nil, Status: nil, ServiceId: nil, - ServiceName: nil, + ServiceCCRN: nil, IssueId: nil, EvidenceId: nil, } @@ -35,10 +35,10 @@ func (s *SqlDatabase) ensureActivityFilter(f *entity.ActivityFilter) *entity.Act func (s *SqlDatabase) getActivityJoins(filter *entity.ActivityFilter) string { joins := "" - if len(filter.ServiceId) > 0 || len(filter.ServiceName) > 0 { + if len(filter.ServiceId) > 0 || len(filter.ServiceCCRN) > 0 { joins = fmt.Sprintf("%s\n%s", joins, "LEFT JOIN ActivityHasService AHS on A.activity_id = AHS.activityhasservice_activity_id") } - if len(filter.ServiceName) > 0 { + if len(filter.ServiceCCRN) > 0 { joins = fmt.Sprintf("%s\n%s", joins, "LEFT JOIN Service S on AHS.activityhasservice_service_id = S.service_id") } if len(filter.EvidenceId) > 0 { @@ -55,7 +55,7 @@ func (s *SqlDatabase) getActivityFilterString(filter *entity.ActivityFilter) str fl = append(fl, buildFilterQuery(filter.Id, "A.activity_id = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.Status, "A.activity_status = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.ServiceId, "AHS.activityhasservice_service_id = ?", OP_OR)) - fl = append(fl, buildFilterQuery(filter.ServiceName, "S.service_name= ?", OP_OR)) + fl = append(fl, buildFilterQuery(filter.ServiceCCRN, "S.service_ccrn= ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.EvidenceId, "E.evidence_id = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.IssueId, "AHI.activityhasissue_issue_id = ?", OP_OR)) fl = append(fl, "A.activity_deleted_at IS NULL") @@ -113,7 +113,7 @@ func (s *SqlDatabase) buildActivityStatement(baseQuery string, filter *entity.Ac filterParameters = buildQueryParameters(filterParameters, filter.Id) filterParameters = buildQueryParameters(filterParameters, filter.Status) filterParameters = buildQueryParameters(filterParameters, filter.ServiceId) - filterParameters = buildQueryParameters(filterParameters, filter.ServiceName) + filterParameters = buildQueryParameters(filterParameters, filter.ServiceCCRN) filterParameters = buildQueryParameters(filterParameters, filter.EvidenceId) filterParameters = buildQueryParameters(filterParameters, filter.IssueId) if withCursor { diff --git a/internal/database/mariadb/activity_test.go b/internal/database/mariadb/activity_test.go index 83e61573..05238133 100644 --- a/internal/database/mariadb/activity_test.go +++ b/internal/database/mariadb/activity_test.go @@ -229,7 +229,7 @@ var _ = Describe("Activity", Label("database", "Activity"), func() { } } - filter := &entity.ActivityFilter{ServiceName: []*string{&serviceRow.Name.String}} + filter := &entity.ActivityFilter{ServiceCCRN: []*string{&serviceRow.CCRN.String}} entries, err := db.GetActivities(filter) @@ -386,7 +386,7 @@ var _ = Describe("Activity", Label("database", "Activity"), func() { } } - filter := &entity.ActivityFilter{ServiceName: []*string{&serviceRow.Name.String}} + filter := &entity.ActivityFilter{ServiceCCRN: []*string{&serviceRow.CCRN.String}} entries, err := db.CountActivities(filter) By("throwing no error", func() { diff --git a/internal/database/mariadb/entity.go b/internal/database/mariadb/entity.go index 5a584e6b..12c78c89 100644 --- a/internal/database/mariadb/entity.go +++ b/internal/database/mariadb/entity.go @@ -454,7 +454,7 @@ type ServiceRow struct { type BaseServiceRow struct { Id sql.NullInt64 `db:"service_id" json:"id"` - Name sql.NullString `db:"service_name" json:"name"` + CCRN sql.NullString `db:"service_ccrn" json:"ccrn"` CreatedAt sql.NullTime `db:"service_created_at" json:"created_at"` DeletedAt sql.NullTime `db:"service_deleted_at" json:"deleted_at,omitempty"` UpdatedAt sql.NullTime `db:"service_updated_at" json:"updated_at"` @@ -463,7 +463,7 @@ type BaseServiceRow struct { func (bsr *BaseServiceRow) AsBaseService() entity.BaseService { return entity.BaseService{ Id: GetInt64Value(bsr.Id), - Name: GetStringValue(bsr.Name), + CCRN: GetStringValue(bsr.CCRN), Owners: []entity.User{}, Activities: []entity.Activity{}, CreatedAt: GetTimeValue(bsr.CreatedAt), @@ -483,7 +483,7 @@ func (sr *ServiceRow) AsService() entity.Service { return entity.Service{ BaseService: entity.BaseService{ Id: GetInt64Value(sr.Id), - Name: GetStringValue(sr.Name), + CCRN: GetStringValue(sr.CCRN), Owners: []entity.User{}, Activities: []entity.Activity{}, CreatedAt: GetTimeValue(sr.BaseServiceRow.CreatedAt), @@ -499,7 +499,7 @@ func (sr *ServiceRow) AsService() entity.Service { func (sr *ServiceRow) FromService(s *entity.Service) { sr.Id = sql.NullInt64{Int64: s.Id, Valid: true} - sr.Name = sql.NullString{String: s.Name, Valid: true} + sr.CCRN = sql.NullString{String: s.CCRN, Valid: true} sr.BaseServiceRow.CreatedAt = sql.NullTime{Time: s.BaseService.CreatedAt, Valid: true} sr.BaseServiceRow.DeletedAt = sql.NullTime{Time: s.BaseService.DeletedAt, Valid: true} sr.BaseServiceRow.UpdatedAt = sql.NullTime{Time: s.BaseService.UpdatedAt, Valid: true} diff --git a/internal/database/mariadb/init/schema.sql b/internal/database/mariadb/init/schema.sql index 1ee75400..9a31141d 100644 --- a/internal/database/mariadb/init/schema.sql +++ b/internal/database/mariadb/init/schema.sql @@ -56,14 +56,14 @@ create table if not exists Service ( service_id int unsigned auto_increment primary key, - service_name varchar(256) not null, + service_ccrn varchar(256) not null, service_created_at timestamp default current_timestamp() not null, service_deleted_at timestamp null, service_updated_at timestamp default current_timestamp() not null on update current_timestamp(), constraint id_UNIQUE unique (service_id), - constraint name_UNIQUE - unique (service_name) + constraint ccrn_UNIQUE + unique (service_ccrn) ); create table if not exists SupportGroupService diff --git a/internal/database/mariadb/issue.go b/internal/database/mariadb/issue.go index 947a11af..dcb2a219 100644 --- a/internal/database/mariadb/issue.go +++ b/internal/database/mariadb/issue.go @@ -5,9 +5,10 @@ package mariadb import ( "fmt" - "github.com/cloudoperators/heureka/internal/database" "strings" + "github.com/cloudoperators/heureka/internal/database" + "github.com/cloudoperators/heureka/internal/entity" "github.com/jmoiron/sqlx" "github.com/sirupsen/logrus" @@ -20,7 +21,7 @@ const ( func (s *SqlDatabase) getIssueFilterString(filter *entity.IssueFilter) string { var fl []string - fl = append(fl, buildFilterQuery(filter.ServiceName, "S.service_name = ?", OP_OR)) + fl = append(fl, buildFilterQuery(filter.ServiceCCRN, "S.service_ccrn = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.Id, "I.issue_id = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.IssueMatchStatus, "IM.issuematch_status = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.ActivityId, "A.activity_id = ?", OP_OR)) @@ -43,12 +44,12 @@ func (s *SqlDatabase) getIssueJoins(filter *entity.IssueFilter, withAggregations LEFT JOIN Activity A on AHI.activityhasissue_activity_id = A.activity_id `) } - if len(filter.IssueMatchStatus) > 0 || len(filter.ServiceName) > 0 || len(filter.IssueMatchId) > 0 || withAggregations { + if len(filter.IssueMatchStatus) > 0 || len(filter.ServiceCCRN) > 0 || len(filter.IssueMatchId) > 0 || withAggregations { joins = fmt.Sprintf("%s\n%s", joins, ` LEFT JOIN IssueMatch IM ON I.issue_id = IM.issuematch_issue_id `) } - if len(filter.ServiceName) > 0 || withAggregations { + if len(filter.ServiceCCRN) > 0 || withAggregations { joins = fmt.Sprintf("%s\n%s", joins, ` LEFT JOIN ComponentInstance CI ON CI.componentinstance_id = IM.issuematch_component_instance_id LEFT JOIN ComponentVersion CV ON CI.componentinstance_component_version_id = CV.componentversion_id @@ -80,7 +81,7 @@ func (s *SqlDatabase) ensureIssueFilter(f *entity.IssueFilter) *entity.IssueFilt First: &first, After: &after, }, - ServiceName: nil, + ServiceCCRN: nil, Id: nil, ActivityId: nil, IssueMatchStatus: nil, @@ -162,7 +163,7 @@ func (s *SqlDatabase) buildIssueStatement(baseQuery string, filter *entity.Issue //adding parameters var filterParameters []interface{} - filterParameters = buildQueryParameters(filterParameters, filter.ServiceName) + filterParameters = buildQueryParameters(filterParameters, filter.ServiceCCRN) filterParameters = buildQueryParameters(filterParameters, filter.Id) filterParameters = buildQueryParameters(filterParameters, filter.IssueMatchStatus) filterParameters = buildQueryParameters(filterParameters, filter.ActivityId) @@ -197,7 +198,7 @@ func (s *SqlDatabase) GetIssuesWithAggregations(filter *entity.IssueFilter) ([]e aggregations := []string{ "count(distinct issuematch_id) as agg_issue_matches", "count(distinct activity_id) as agg_activities", - "count(distinct service_name) as agg_affected_services", + "count(distinct service_ccrn) as agg_affected_services", "count(distinct componentversionissue_component_version_id) as agg_component_versions", "sum(componentinstance_count) as agg_affected_component_instances", "min(issuematch_target_remediation_date) as agg_earliest_target_remediation_date", diff --git a/internal/database/mariadb/issue_match.go b/internal/database/mariadb/issue_match.go index e851ef82..60aaafde 100644 --- a/internal/database/mariadb/issue_match.go +++ b/internal/database/mariadb/issue_match.go @@ -34,7 +34,7 @@ func (s *SqlDatabase) getIssueMatchFilterString(filter *entity.IssueMatchFilter) fl = append(fl, buildFilterQuery(filter.IssueId, "IM.issuematch_issue_id = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.ComponentInstanceId, "IM.issuematch_component_instance_id = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.EvidenceId, "IME.issuematchevidence_evidence_id = ?", OP_OR)) - fl = append(fl, buildFilterQuery(filter.AffectedServiceName, "S.service_name = ?", OP_OR)) + fl = append(fl, buildFilterQuery(filter.AffectedServiceCCRN, "S.service_ccrn = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.SeverityValue, "IM.issuematch_rating = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.Status, "IM.issuematch_status = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.SupportGroupName, "SG.supportgroup_name = ?", OP_OR)) @@ -67,7 +67,7 @@ func (s *SqlDatabase) getIssueMatchJoins(filter *entity.IssueMatchFilter) string `) } - if len(filter.AffectedServiceName) > 0 || len(filter.SupportGroupName) > 0 || len(filter.ComponentName) > 0 { + if len(filter.AffectedServiceCCRN) > 0 || len(filter.SupportGroupName) > 0 || len(filter.ComponentName) > 0 { joins = fmt.Sprintf("%s\n%s", joins, ` LEFT JOIN ComponentInstance CI on CI.componentinstance_id = IM.issuematch_component_instance_id @@ -80,7 +80,7 @@ func (s *SqlDatabase) getIssueMatchJoins(filter *entity.IssueMatchFilter) string `) } - if len(filter.AffectedServiceName) > 0 || len(filter.SupportGroupName) > 0 { + if len(filter.AffectedServiceCCRN) > 0 || len(filter.SupportGroupName) > 0 { joins = fmt.Sprintf("%s\n%s", joins, ` LEFT JOIN Service S on S.service_id = CI.componentinstance_service_id `) @@ -168,7 +168,7 @@ func (s *SqlDatabase) buildIssueMatchStatement(baseQuery string, filter *entity. filterParameters = buildQueryParameters(filterParameters, filter.IssueId) filterParameters = buildQueryParameters(filterParameters, filter.ComponentInstanceId) filterParameters = buildQueryParameters(filterParameters, filter.EvidenceId) - filterParameters = buildQueryParameters(filterParameters, filter.AffectedServiceName) + filterParameters = buildQueryParameters(filterParameters, filter.AffectedServiceCCRN) filterParameters = buildQueryParameters(filterParameters, filter.SeverityValue) filterParameters = buildQueryParameters(filterParameters, filter.Status) filterParameters = buildQueryParameters(filterParameters, filter.SupportGroupName) diff --git a/internal/database/mariadb/issue_repository.go b/internal/database/mariadb/issue_repository.go index 431d4735..e9f8eef5 100644 --- a/internal/database/mariadb/issue_repository.go +++ b/internal/database/mariadb/issue_repository.go @@ -16,7 +16,7 @@ func (s *SqlDatabase) getIssueRepositoryFilterString(filter *entity.IssueReposit var fl []string fl = append(fl, buildFilterQuery(filter.Name, "IR.issuerepository_name = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.Id, "IR.issuerepository_id = ?", OP_OR)) - fl = append(fl, buildFilterQuery(filter.ServiceName, "S.service_name = ?", OP_OR)) + fl = append(fl, buildFilterQuery(filter.ServiceCCRN, "S.service_ccrn = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.ServiceId, "IRS.issuerepositoryservice_service_id = ?", OP_OR)) fl = append(fl, "IR.issuerepository_deleted_at IS NULL") @@ -25,12 +25,12 @@ func (s *SqlDatabase) getIssueRepositoryFilterString(filter *entity.IssueReposit func (s *SqlDatabase) getIssueRepositoryJoins(filter *entity.IssueRepositoryFilter) string { joins := "" - if len(filter.ServiceId) > 0 || len(filter.ServiceName) > 0 { + if len(filter.ServiceId) > 0 || len(filter.ServiceCCRN) > 0 { joins = fmt.Sprintf("%s\n%s", joins, ` LEFT JOIN IssueRepositoryService IRS on IR.issuerepository_id = IRS.issuerepositoryservice_issue_repository_id `) } - if len(filter.ServiceName) > 0 { + if len(filter.ServiceCCRN) > 0 { joins = fmt.Sprintf("%s\n%s", joins, ` LEFT JOIN Service S on S.service_id = IRS.issuerepositoryservice_service_id `) @@ -51,7 +51,7 @@ func (s *SqlDatabase) getIssueRepositoryUpdateFields(issueRepository *entity.Iss func (s *SqlDatabase) getIssueRepositoryColumns(filter *entity.IssueRepositoryFilter) string { columns := "IR.*" - if len(filter.ServiceId) > 0 || len(filter.ServiceName) > 0 { + if len(filter.ServiceId) > 0 || len(filter.ServiceCCRN) > 0 { columns = fmt.Sprintf("%s, %s", columns, "IRS.*") } return columns @@ -69,7 +69,7 @@ func (s *SqlDatabase) ensureIssueRepositoryFilter(f *entity.IssueRepositoryFilte ServiceId: nil, Name: nil, Id: nil, - ServiceName: nil, + ServiceCCRN: nil, } } if f.First == nil { @@ -122,7 +122,7 @@ func (s *SqlDatabase) buildIssueRepositoryStatement(baseQuery string, filter *en var filterParameters []interface{} filterParameters = buildQueryParameters(filterParameters, filter.Name) filterParameters = buildQueryParameters(filterParameters, filter.Id) - filterParameters = buildQueryParameters(filterParameters, filter.ServiceName) + filterParameters = buildQueryParameters(filterParameters, filter.ServiceCCRN) filterParameters = buildQueryParameters(filterParameters, filter.ServiceId) if withCursor { filterParameters = append(filterParameters, cursor.Value) diff --git a/internal/database/mariadb/issue_repository_test.go b/internal/database/mariadb/issue_repository_test.go index d6ac4358..5bd2c4c5 100644 --- a/internal/database/mariadb/issue_repository_test.go +++ b/internal/database/mariadb/issue_repository_test.go @@ -187,7 +187,7 @@ var _ = Describe("IssueRepository", Label("database", "IssueRepository"), func() } } - filter := &entity.IssueRepositoryFilter{ServiceName: []*string{&sRow.Name.String}} + filter := &entity.IssueRepositoryFilter{ServiceCCRN: []*string{&sRow.CCRN.String}} entries, err := db.GetIssueRepositories(filter) @@ -326,7 +326,7 @@ var _ = Describe("IssueRepository", Label("database", "IssueRepository"), func() First: &pageSize, After: nil, }, - ServiceName: []*string{&sRow.Name.String}, + ServiceCCRN: []*string{&sRow.CCRN.String}, } entries, err := db.CountIssueRepositories(filter) By("throwing no error", func() { diff --git a/internal/database/mariadb/issue_test.go b/internal/database/mariadb/issue_test.go index b1f6fe83..b448d7c8 100644 --- a/internal/database/mariadb/issue_test.go +++ b/internal/database/mariadb/issue_test.go @@ -172,7 +172,7 @@ var _ = Describe("Issue", Label("database", "Issue"), func() { issueRows = seedCollection.GetIssueByService(&row) searchingRow = len(issueRows) == 0 } - filter := &entity.IssueFilter{ServiceName: []*string{&row.Name.String}} + filter := &entity.IssueFilter{ServiceCCRN: []*string{&row.CCRN.String}} entries, err := db.GetIssues(filter) @@ -188,7 +188,7 @@ var _ = Describe("Issue", Label("database", "Issue"), func() { }) It("can filter a non existing service name", func() { nonExistingName := util.GenerateRandomString(40, nil) - filter := &entity.IssueFilter{ServiceName: []*string{&nonExistingName}} + filter := &entity.IssueFilter{ServiceCCRN: []*string{&nonExistingName}} entries, err := db.GetIssues(filter) @@ -200,15 +200,15 @@ var _ = Describe("Issue", Label("database", "Issue"), func() { }) }) It("can filter by multiple existing service names", func() { - serviceNames := make([]*string, len(seedCollection.ServiceRows)) + serviceCcrns := make([]*string, len(seedCollection.ServiceRows)) var expectedIssues []mariadb.IssueRow for i, row := range seedCollection.ServiceRows { - x := row.Name.String + x := row.CCRN.String expectedIssues = append(expectedIssues, seedCollection.GetIssueByService(&row)...) - serviceNames[i] = &x + serviceCcrns[i] = &x } expectedIssues = lo.Uniq(expectedIssues) - filter := &entity.IssueFilter{ServiceName: serviceNames} + filter := &entity.IssueFilter{ServiceCCRN: serviceCcrns} entries, err := db.GetIssues(filter) @@ -501,7 +501,7 @@ var _ = Describe("Issue", Label("database", "Issue"), func() { issueRows = seedCollection.GetIssueByService(&row) searchingRow = len(issueRows) > 0 } - filter := &entity.IssueFilter{ServiceName: []*string{&row.Name.String}} + filter := &entity.IssueFilter{ServiceCCRN: []*string{&row.CCRN.String}} count, err := db.CountIssues(filter) diff --git a/internal/database/mariadb/service.go b/internal/database/mariadb/service.go index 65e15cb4..8be3cd69 100644 --- a/internal/database/mariadb/service.go +++ b/internal/database/mariadb/service.go @@ -13,12 +13,12 @@ import ( ) const ( - serviceWildCardFilterQuery = "S.service_name LIKE Concat('%',?,'%')" + serviceWildCardFilterQuery = "S.service_ccrn LIKE Concat('%',?,'%')" ) func (s *SqlDatabase) getServiceFilterString(filter *entity.ServiceFilter) string { var fl []string - fl = append(fl, buildFilterQuery(filter.Name, "S.service_name = ?", OP_OR)) + fl = append(fl, buildFilterQuery(filter.CCRN, "S.service_ccrn = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.Id, "S.service_id = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.SupportGroupName, "SG.supportgroup_name = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.OwnerName, "U.user_name = ?", OP_OR)) @@ -92,7 +92,7 @@ func (s *SqlDatabase) ensureServiceFilter(f *entity.ServiceFilter) *entity.Servi After: &after, }, SupportGroupName: nil, - Name: nil, + CCRN: nil, Id: nil, OwnerName: nil, SupportGroupId: nil, @@ -112,8 +112,8 @@ func (s *SqlDatabase) ensureServiceFilter(f *entity.ServiceFilter) *entity.Servi func (s *SqlDatabase) getServiceUpdateFields(service *entity.Service) string { fl := []string{} - if service.Name != "" { - fl = append(fl, "service_name = :service_name") + if service.CCRN != "" { + fl = append(fl, "service_ccrn = :service_ccrn") } return strings.Join(fl, ", ") } @@ -158,7 +158,7 @@ func (s *SqlDatabase) buildServiceStatement(baseQuery string, filter *entity.Ser //adding parameters var filterParameters []interface{} filterParameters = buildQueryParameters(filterParameters, filter.SupportGroupName) - filterParameters = buildQueryParameters(filterParameters, filter.Name) + filterParameters = buildQueryParameters(filterParameters, filter.CCRN) filterParameters = buildQueryParameters(filterParameters, filter.Id) filterParameters = buildQueryParameters(filterParameters, filter.OwnerName) filterParameters = buildQueryParameters(filterParameters, filter.ActivityId) @@ -260,9 +260,9 @@ func (s *SqlDatabase) CreateService(service *entity.Service) (*entity.Service, e query := ` INSERT INTO Service ( - service_name + service_ccrn ) VALUES ( - :service_name + :service_ccrn ) ` @@ -428,14 +428,14 @@ func (s *SqlDatabase) RemoveIssueRepositoryFromService(serviceId int64, issueRep return err } -func (s *SqlDatabase) GetServiceNames(filter *entity.ServiceFilter) ([]string, error) { +func (s *SqlDatabase) GetServiceCcrns(filter *entity.ServiceFilter) ([]string, error) { l := logrus.WithFields(logrus.Fields{ "filter": filter, - "event": "database.GetServiceNames", + "event": "database.GetServiceCcrns", }) baseQuery := ` - SELECT service_name FROM Service S + SELECT service_ccrn FROM Service S %s %s ` @@ -460,19 +460,19 @@ func (s *SqlDatabase) GetServiceNames(filter *entity.ServiceFilter) ([]string, e defer rows.Close() // Collect the results - serviceNames := []string{} - var name string + serviceCcrns := []string{} + var ccrn string for rows.Next() { - if err := rows.Scan(&name); err != nil { + if err := rows.Scan(&ccrn); err != nil { l.Error("Error scanning row: ", err) continue } - serviceNames = append(serviceNames, name) + serviceCcrns = append(serviceCcrns, ccrn) } if err = rows.Err(); err != nil { l.Error("Row iteration error: ", err) return nil, err } - return serviceNames, nil + return serviceCcrns, nil } diff --git a/internal/database/mariadb/service_test.go b/internal/database/mariadb/service_test.go index 3dee040b..9a9e0e10 100644 --- a/internal/database/mariadb/service_test.go +++ b/internal/database/mariadb/service_test.go @@ -148,7 +148,7 @@ var _ = Describe("Service", Label("database", "Service"), func() { for _, r := range res { for _, row := range seedCollection.ServiceRows { if r.Id == row.Id.Int64 { - Expect(r.Name).Should(BeEquivalentTo(row.Name.String), "Name should match") + Expect(r.CCRN).Should(BeEquivalentTo(row.CCRN.String), "Name should match") Expect(r.BaseService.CreatedAt).ShouldNot(BeEquivalentTo(row.CreatedAt.Time), "CreatedAt matches") Expect(r.BaseService.UpdatedAt).ShouldNot(BeEquivalentTo(row.UpdatedAt.Time), "UpdatedAt matches") } @@ -160,7 +160,7 @@ var _ = Describe("Service", Label("database", "Service"), func() { Context("and using a filter", func() { It("can filter by a single name", func() { row := seedCollection.ServiceRows[rand.Intn(len(seedCollection.ServiceRows))] - filter := &entity.ServiceFilter{Name: []*string{&row.Name.String}} + filter := &entity.ServiceFilter{CCRN: []*string{&row.CCRN.String}} entries, err := db.GetServices(filter) @@ -172,13 +172,13 @@ var _ = Describe("Service", Label("database", "Service"), func() { }) By("returning entries include the service name", func() { for _, entry := range entries { - Expect(entry.Name).To(BeEquivalentTo(row.Name.String)) + Expect(entry.CCRN).To(BeEquivalentTo(row.CCRN.String)) } }) }) It("can filter by a random non existing service name", func() { nonExistingName := util.GenerateRandomString(40, nil) - filter := &entity.ServiceFilter{Name: []*string{&nonExistingName}} + filter := &entity.ServiceFilter{CCRN: []*string{&nonExistingName}} entries, err := db.GetServices(filter) @@ -190,12 +190,12 @@ var _ = Describe("Service", Label("database", "Service"), func() { }) }) It("can filter by all existing service names", func() { - serviceNames := make([]*string, len(seedCollection.ServiceRows)) + serviceCcrns := make([]*string, len(seedCollection.ServiceRows)) for i, row := range seedCollection.ServiceRows { - x := row.Name.String - serviceNames[i] = &x + x := row.CCRN.String + serviceCcrns[i] = &x } - filter := &entity.ServiceFilter{Name: serviceNames} + filter := &entity.ServiceFilter{CCRN: serviceCcrns} entries, err := db.GetServices(filter) @@ -378,7 +378,7 @@ var _ = Describe("Service", Label("database", "Service"), func() { } }) }) - It("can filter service ServiceName using wild card search", func() { + It("can filter service ServiceCcrn using wild card search", func() { row := seedCollection.ServiceRows[rand.Intn(len(seedCollection.ServiceRows))] const charactersToRemoveFromBeginning = 2 @@ -386,18 +386,18 @@ var _ = Describe("Service", Label("database", "Service"), func() { const minimalCharactersToKeep = 1 start := charactersToRemoveFromBeginning - end := len(row.Name.String) - charactersToRemoveFromEnd + end := len(row.CCRN.String) - charactersToRemoveFromEnd Expect(start+minimalCharactersToKeep < end).To(BeTrue()) - searchStr := row.Name.String[start:end] + searchStr := row.CCRN.String[start:end] filter := &entity.ServiceFilter{Search: []*string{&searchStr}} entries, err := db.GetServices(filter) names := []string{} for _, entry := range entries { - names = append(names, entry.Name) + names = append(names, entry.CCRN) } By("throwing no error", func() { @@ -409,7 +409,7 @@ var _ = Describe("Service", Label("database", "Service"), func() { }) By("returning the expected elements", func() { - Expect(names).To(ContainElement(row.Name.String)) + Expect(names).To(ContainElement(row.CCRN.String)) }) }) }) @@ -560,7 +560,7 @@ var _ = Describe("Service", Label("database", "Service"), func() { Expect(len(s)).To(BeEquivalentTo(1)) }) By("setting fields", func() { - Expect(s[0].Name).To(BeEquivalentTo(service.Name)) + Expect(s[0].CCRN).To(BeEquivalentTo(service.CCRN)) }) }) It("does not insert service with existing name", func() { @@ -587,7 +587,7 @@ var _ = Describe("Service", Label("database", "Service"), func() { It("can update service name correctly", func() { service := seedCollection.ServiceRows[0].AsService() - service.Name = "SecretService" + service.CCRN = "SecretService" err := db.UpdateService(&service) By("throwing no error", func() { @@ -606,7 +606,7 @@ var _ = Describe("Service", Label("database", "Service"), func() { Expect(len(s)).To(BeEquivalentTo(1)) }) By("setting fields", func() { - Expect(s[0].Name).To(BeEquivalentTo(service.Name)) + Expect(s[0].CCRN).To(BeEquivalentTo(service.CCRN)) }) }) }) @@ -771,10 +771,10 @@ var _ = Describe("Service", Label("database", "Service"), func() { }) }) }) - When("Getting ServiceNames", Label("GetServiceNames"), func() { + When("Getting ServiceCcrns", Label("GetServiceCcrns"), func() { Context("and the database is empty", func() { It("can perform the list query", func() { - res, err := db.GetServiceNames(nil) + res, err := db.GetServiceCcrns(nil) By("throwing no error", func() { Expect(err).To(BeNil()) }) @@ -791,7 +791,7 @@ var _ = Describe("Service", Label("database", "Service"), func() { Context("and using no filter", func() { It("can fetch the items correctly", func() { - res, err := db.GetServiceNames(nil) + res, err := db.GetServiceCcrns(nil) By("throwing no error", func() { Expect(err).Should(BeNil()) @@ -801,21 +801,21 @@ var _ = Describe("Service", Label("database", "Service"), func() { Expect(len(res)).Should(BeIdenticalTo(len(seedCollection.ServiceRows))) }) - existingServiceNames := lo.Map(seedCollection.ServiceRows, func(s mariadb.BaseServiceRow, index int) string { - return s.Name.String + existingServiceCcrns := lo.Map(seedCollection.ServiceRows, func(s mariadb.BaseServiceRow, index int) string { + return s.CCRN.String }) By("returning the correct names", func() { - left, right := lo.Difference(res, existingServiceNames) + left, right := lo.Difference(res, existingServiceCcrns) Expect(left).Should(BeEmpty()) Expect(right).Should(BeEmpty()) }) }) }) - Context("and using a ServiceName filter", func() { + Context("and using a ServiceCcrn filter", func() { var filter *entity.ServiceFilter - var expectedServiceNames []string + var expectedServiceCcrns []string BeforeEach(func() { namePointers := []*string{} @@ -823,22 +823,22 @@ var _ = Describe("Service", Label("database", "Service"), func() { namePointers = append(namePointers, &name) filter = &entity.ServiceFilter{ - Name: namePointers, + CCRN: namePointers, } It("can fetch the filtered items correctly", func() { - res, err := db.GetServiceNames(filter) + res, err := db.GetServiceCcrns(filter) By("throwing no error", func() { Expect(err).Should(BeNil()) }) By("returning the correct number of results", func() { - Expect(len(res)).Should(BeIdenticalTo(len(expectedServiceNames))) + Expect(len(res)).Should(BeIdenticalTo(len(expectedServiceCcrns))) }) By("returning the correct names", func() { - left, right := lo.Difference(res, expectedServiceNames) + left, right := lo.Difference(res, expectedServiceCcrns) Expect(left).Should(BeEmpty()) Expect(right).Should(BeEmpty()) }) @@ -848,16 +848,16 @@ var _ = Describe("Service", Label("database", "Service"), func() { var anotherFilter *entity.ServiceFilter BeforeEach(func() { - nonExistentServiceName := "NonexistentService" + nonExistentServiceCcrn := "NonexistentService" - nonExistentServiceNames := []*string{&nonExistentServiceName} + nonExistentServiceCcrns := []*string{&nonExistentServiceCcrn} anotherFilter = &entity.ServiceFilter{ - Name: nonExistentServiceNames, + CCRN: nonExistentServiceCcrns, } It("returns an empty list when no services match the filter", func() { - res, err := db.GetServiceNames(anotherFilter) + res, err := db.GetServiceCcrns(anotherFilter) Expect(err).Should(BeNil()) Expect(res).Should(BeEmpty()) diff --git a/internal/database/mariadb/test/fixture.go b/internal/database/mariadb/test/fixture.go index 449f893e..a619dd41 100644 --- a/internal/database/mariadb/test/fixture.go +++ b/internal/database/mariadb/test/fixture.go @@ -908,9 +908,9 @@ func (s *DatabaseSeeder) InsertFakeComponentInstance(ci mariadb.ComponentInstanc func (s *DatabaseSeeder) InsertFakeBaseService(service mariadb.BaseServiceRow) (int64, error) { query := ` INSERT INTO Service ( - service_name + service_ccrn ) VALUES ( - :service_name + :service_ccrn )` return s.ExecPreparedNamed(query, service) } @@ -1166,7 +1166,7 @@ func NewFakeIssueRepository() mariadb.IssueRepositoryRow { func NewFakeBaseService() mariadb.BaseServiceRow { return mariadb.BaseServiceRow{ - Name: sql.NullString{String: gofakeit.AppName(), Valid: true}, + CCRN: sql.NullString{String: gofakeit.AppName(), Valid: true}, } } @@ -1394,7 +1394,7 @@ func (s *DatabaseSeeder) SeedRealServices() map[string]mariadb.BaseServiceRow { for _, sv := range svs { service := mariadb.BaseServiceRow{ - Name: sql.NullString{String: sv, Valid: true}, + CCRN: sql.NullString{String: sv, Valid: true}, } serviceId, err := s.InsertFakeBaseService(service) if err != nil { diff --git a/internal/e2e/activity_query_test.go b/internal/e2e/activity_query_test.go index af6ed051..b2edc5a8 100644 --- a/internal/e2e/activity_query_test.go +++ b/internal/e2e/activity_query_test.go @@ -156,7 +156,7 @@ var _ = Describe("Getting Activities via API", Label("e2e", "Activity"), func() } for _, s := range activity.Node.Services.Edges { Expect(s.Node.ID).ToNot(BeEmpty()) - Expect(*s.Node.Name).ToNot(BeEmpty()) + Expect(*s.Node.Ccrn).ToNot(BeEmpty()) } for _, e := range activity.Node.Evidences.Edges { Expect(e.Node.ID).ToNot(BeEmpty()) diff --git a/internal/e2e/component_instance_query_test.go b/internal/e2e/component_instance_query_test.go index 68eed095..e4d8d30e 100644 --- a/internal/e2e/component_instance_query_test.go +++ b/internal/e2e/component_instance_query_test.go @@ -168,7 +168,7 @@ var _ = Describe("Getting ComponentInstances via API", Label("e2e", "ComponentIn service := ci.Node.Service Expect(service.ID).ToNot(BeNil(), "service has a ID set") - Expect(service.Name).ToNot(BeNil(), "service has a name set") + Expect(service.Ccrn).ToNot(BeNil(), "service has a name set") _, serviceFound := lo.Find(seedCollection.ServiceRows, func(row mariadb.BaseServiceRow) bool { return fmt.Sprintf("%d", row.Id.Int64) == service.ID diff --git a/internal/e2e/issue_repository_query_test.go b/internal/e2e/issue_repository_query_test.go index 5a5c6a9e..7a424b25 100644 --- a/internal/e2e/issue_repository_query_test.go +++ b/internal/e2e/issue_repository_query_test.go @@ -172,7 +172,7 @@ var _ = Describe("Getting IssueRepositories via API", Label("e2e", "IssueReposit for _, service := range ir.Node.Services.Edges { Expect(service.Node.ID).ToNot(BeNil(), "Service has a ID set") - Expect(service.Node.Name).ToNot(BeNil(), "Service has a name set") + Expect(service.Node.Ccrn).ToNot(BeNil(), "Service has a name set") Expect(service.Priority).ToNot(BeNil(), "Service has a priority set") _, serviceFound := lo.Find(seedCollection.IssueRepositoryServiceRows, func(row mariadb.IssueRepositoryServiceRow) bool { diff --git a/internal/e2e/service_filter_query_test.go b/internal/e2e/service_filter_query_test.go index 7c513f97..32f67032 100644 --- a/internal/e2e/service_filter_query_test.go +++ b/internal/e2e/service_filter_query_test.go @@ -51,7 +51,7 @@ var _ = Describe("Getting ServiceFilterValues via API", Label("e2e", "ServiceFil client := graphql.NewClient(fmt.Sprintf("http://localhost:%s/query", cfg.Port)) //@todo may need to make this more fault proof?! What if the test is executed from the root dir? does it still work? - b, err := os.ReadFile("../api/graphql/graph/queryCollection/serviceFilter/serviceNames.graphql") + b, err := os.ReadFile("../api/graphql/graph/queryCollection/serviceFilter/serviceCcrns.graphql") Expect(err).To(BeNil()) str := string(b) @@ -67,7 +67,7 @@ var _ = Describe("Getting ServiceFilterValues via API", Label("e2e", "ServiceFil logrus.WithError(err).WithField("request", req).Fatalln("Error while unmarshaling") } - Expect(respData.ServiceFilterValues.ServiceName.Values).To(BeEmpty()) + Expect(respData.ServiceFilterValues.ServiceCcrn.Values).To(BeEmpty()) }) It("returns empty for supportGroupNames", func() { client := graphql.NewClient(fmt.Sprintf("http://localhost:%s/query", cfg.Port)) @@ -141,10 +141,10 @@ var _ = Describe("Getting ServiceFilterValues via API", Label("e2e", "ServiceFil seedCollection = seeder.SeedDbWithNFakeData(10) }) Context("and no additional filters are present", func() { - It("returns correct serviceNames", func() { + It("returns correct serviceCcrns", func() { client := graphql.NewClient(fmt.Sprintf("http://localhost:%s/query", cfg.Port)) - b, err := os.ReadFile("../api/graphql/graph/queryCollection/serviceFilter/serviceNames.graphql") + b, err := os.ReadFile("../api/graphql/graph/queryCollection/serviceFilter/serviceCcrns.graphql") Expect(err).To(BeNil()) str := string(b) @@ -160,14 +160,14 @@ var _ = Describe("Getting ServiceFilterValues via API", Label("e2e", "ServiceFil logrus.WithError(err).WithField("request", req).Fatalln("Error while unmarshaling") } - Expect(len(respData.ServiceFilterValues.ServiceName.Values)).To(Equal(len(seedCollection.ServiceRows))) + Expect(len(respData.ServiceFilterValues.ServiceCcrn.Values)).To(Equal(len(seedCollection.ServiceRows))) - existingServiceNames := lo.Map(seedCollection.ServiceRows, func(s mariadb.BaseServiceRow, index int) string { - return s.Name.String + existingServiceCcrns := lo.Map(seedCollection.ServiceRows, func(s mariadb.BaseServiceRow, index int) string { + return s.CCRN.String }) - for _, name := range respData.ServiceFilterValues.ServiceName.Values { - Expect(lo.Contains(existingServiceNames, *name)).To(BeTrue()) + for _, name := range respData.ServiceFilterValues.ServiceCcrn.Values { + Expect(lo.Contains(existingServiceCcrns, *name)).To(BeTrue()) } }) It("returns correct supportGroupNames", func() { diff --git a/internal/e2e/service_query_test.go b/internal/e2e/service_query_test.go index 4e83159c..ed6de0b5 100644 --- a/internal/e2e/service_query_test.go +++ b/internal/e2e/service_query_test.go @@ -269,7 +269,7 @@ var _ = Describe("Creating Service via API", Label("e2e", "Services"), func() { req := graphql.NewRequest(str) req.Var("input", map[string]string{ - "name": service.Name, + "ccrn": service.CCRN, }) req.Header.Set("Cache-Control", "no-cache") @@ -282,7 +282,7 @@ var _ = Describe("Creating Service via API", Label("e2e", "Services"), func() { logrus.WithError(err).WithField("request", req).Fatalln("Error while unmarshaling") } - Expect(*respData.Service.Name).To(Equal(service.Name)) + Expect(*respData.Service.Ccrn).To(Equal(service.CCRN)) }) }) }) @@ -331,11 +331,11 @@ var _ = Describe("Updating service via API", Label("e2e", "Services"), func() { req := graphql.NewRequest(str) service := seedCollection.ServiceRows[0].AsService() - service.Name = "SecretService" + service.CCRN = "SecretService" req.Var("id", fmt.Sprintf("%d", service.Id)) req.Var("input", map[string]string{ - "name": service.Name, + "ccrn": service.CCRN, }) req.Header.Set("Cache-Control", "no-cache") @@ -348,7 +348,7 @@ var _ = Describe("Updating service via API", Label("e2e", "Services"), func() { logrus.WithError(err).WithField("request", req).Fatalln("Error while unmarshaling") } - Expect(*respData.Service.Name).To(Equal(service.Name)) + Expect(*respData.Service.Ccrn).To(Equal(service.CCRN)) }) }) }) diff --git a/internal/e2e/support_group_query_test.go b/internal/e2e/support_group_query_test.go index 399b8a25..2ba6c31f 100644 --- a/internal/e2e/support_group_query_test.go +++ b/internal/e2e/support_group_query_test.go @@ -178,7 +178,7 @@ var _ = Describe("Getting SupportGroups via API", Label("e2e", "SupportGroups"), for _, service := range sg.Node.Services.Edges { Expect(service.Node.ID).ToNot(BeNil(), "Service has a ID set") - Expect(service.Node.Name).ToNot(BeNil(), "Service has a name set") + Expect(service.Node.Ccrn).ToNot(BeNil(), "Service has a name set") _, serviceFound := lo.Find(seedCollection.SupportGroupServiceRows, func(row mariadb.SupportGroupServiceRow) bool { return fmt.Sprintf("%d", row.SupportGroupId.Int64) == sg.Node.ID && // correct support group diff --git a/internal/e2e/user_query_test.go b/internal/e2e/user_query_test.go index d57ab0ad..27e56cc5 100644 --- a/internal/e2e/user_query_test.go +++ b/internal/e2e/user_query_test.go @@ -162,7 +162,7 @@ var _ = Describe("Getting Users via API", Label("e2e", "Users"), func() { for _, service := range user.Node.Services.Edges { Expect(service.Node.ID).ToNot(BeNil(), "Service has a ID set") - Expect(service.Node.Name).ToNot(BeNil(), "Service has a name set") + Expect(service.Node.Ccrn).ToNot(BeNil(), "Service has a name set") _, serviceFound := lo.Find(seedCollection.OwnerRows, func(row mariadb.OwnerRow) bool { return fmt.Sprintf("%d", row.UserId.Int64) == user.Node.ID && // correct user diff --git a/internal/entity/activity.go b/internal/entity/activity.go index d5a4e4a6..4769e363 100644 --- a/internal/entity/activity.go +++ b/internal/entity/activity.go @@ -64,7 +64,7 @@ type ActivityAggregations struct { type ActivityFilter struct { Paginated Status []*string `json:"status"` - ServiceName []*string `json:"service_name"` + ServiceCCRN []*string `json:"service_ccrn"` Id []*int64 `json:"id"` ServiceId []*int64 `json:"service_id"` IssueId []*int64 `json:"issue_id"` diff --git a/internal/entity/issue.go b/internal/entity/issue.go index 6b114872..d40a6fb7 100644 --- a/internal/entity/issue.go +++ b/internal/entity/issue.go @@ -52,7 +52,7 @@ type IssueResult struct { type IssueFilter struct { Paginated PrimaryName []*string `json:"primary_name"` - ServiceName []*string `json:"service_name"` + ServiceCCRN []*string `json:"service_ccrn"` Type []*string `json:"type"` Id []*int64 `json:"id"` ActivityId []*int64 `json:"activity_id"` diff --git a/internal/entity/issue_match.go b/internal/entity/issue_match.go index d79c8a83..1d1a4d41 100644 --- a/internal/entity/issue_match.go +++ b/internal/entity/issue_match.go @@ -59,7 +59,7 @@ type IssueMatch struct { type IssueMatchFilter struct { Paginated Id []*int64 `json:"id"` - AffectedServiceName []*string `json:"affected_service_name"` + AffectedServiceCCRN []*string `json:"affected_service_ccrn"` SeverityValue []*string `json:"severity_value"` Status []*string `json:"status"` IssueId []*int64 `json:"issue_id"` diff --git a/internal/entity/issue_repository.go b/internal/entity/issue_repository.go index 0be984f5..75013371 100644 --- a/internal/entity/issue_repository.go +++ b/internal/entity/issue_repository.go @@ -21,7 +21,7 @@ type IssueRepositoryFilter struct { Id []*int64 `json:"id"` ServiceId []*int64 `json:"service_id"` Name []*string `json:"name"` - ServiceName []*string `json:"service_name"` + ServiceCCRN []*string `json:"service_ccrn"` } func NewIssueRepositoryFilter() *IssueRepositoryFilter { @@ -33,7 +33,7 @@ func NewIssueRepositoryFilter() *IssueRepositoryFilter { Id: nil, ServiceId: nil, Name: nil, - ServiceName: nil, + ServiceCCRN: nil, } } diff --git a/internal/entity/service.go b/internal/entity/service.go index cb7c7e67..7691565d 100644 --- a/internal/entity/service.go +++ b/internal/entity/service.go @@ -7,7 +7,7 @@ import "time" type BaseService struct { Id int64 `json:"id"` - Name string `json:"name"` + CCRN string `json:"ccrn"` SupportGroup *SupportGroup `json:"support_group,omitempty"` SupportGroupId int64 `db:"service_support_group_id"` Owners []User `json:"owners,omitempty"` @@ -25,7 +25,7 @@ type ServiceFilter struct { Paginated SupportGroupName []*string `json:"support_group_name"` Id []*int64 `json:"id"` - Name []*string `json:"name"` + CCRN []*string `json:"ccrn"` OwnerName []*string `json:"owner_name"` OwnerId []*int64 `json:"owner_id"` ActivityId []*int64 `json:"activity_id"` diff --git a/internal/entity/test/service.go b/internal/entity/test/service.go index fb695bcc..8dcac3f7 100644 --- a/internal/entity/test/service.go +++ b/internal/entity/test/service.go @@ -12,7 +12,7 @@ func NewFakeServiceEntity() entity.Service { return entity.Service{ BaseService: entity.BaseService{ Id: int64(gofakeit.Number(1, 10000000)), - Name: gofakeit.Name(), + CCRN: gofakeit.Name(), SupportGroup: nil, Activities: nil, Owners: nil, diff --git a/internal/mocks/mock_Database.go b/internal/mocks/mock_Database.go index b3549657..a0a403f4 100644 --- a/internal/mocks/mock_Database.go +++ b/internal/mocks/mock_Database.go @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Greenhouse contributors // SPDX-License-Identifier: Apache-2.0 -// Code generated by mockery v2.42.1. DO NOT EDIT. +// Code generated by mockery v2.46.2. DO NOT EDIT. package mocks @@ -4181,12 +4181,12 @@ func (_c *MockDatabase_GetIssuesWithAggregations_Call) RunAndReturn(run func(*en return _c } -// GetServiceNames provides a mock function with given fields: _a0 -func (_m *MockDatabase) GetServiceNames(_a0 *entity.ServiceFilter) ([]string, error) { +// GetServiceCcrns provides a mock function with given fields: _a0 +func (_m *MockDatabase) GetServiceCcrns(_a0 *entity.ServiceFilter) ([]string, error) { ret := _m.Called(_a0) if len(ret) == 0 { - panic("no return value specified for GetServiceNames") + panic("no return value specified for GetServiceCcrns") } var r0 []string @@ -4211,30 +4211,30 @@ func (_m *MockDatabase) GetServiceNames(_a0 *entity.ServiceFilter) ([]string, er return r0, r1 } -// MockDatabase_GetServiceNames_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetServiceNames' -type MockDatabase_GetServiceNames_Call struct { +// MockDatabase_GetServiceCcrns_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetServiceCcrns' +type MockDatabase_GetServiceCcrns_Call struct { *mock.Call } -// GetServiceNames is a helper method to define mock.On call +// GetServiceCcrns is a helper method to define mock.On call // - _a0 *entity.ServiceFilter -func (_e *MockDatabase_Expecter) GetServiceNames(_a0 interface{}) *MockDatabase_GetServiceNames_Call { - return &MockDatabase_GetServiceNames_Call{Call: _e.mock.On("GetServiceNames", _a0)} +func (_e *MockDatabase_Expecter) GetServiceCcrns(_a0 interface{}) *MockDatabase_GetServiceCcrns_Call { + return &MockDatabase_GetServiceCcrns_Call{Call: _e.mock.On("GetServiceCcrns", _a0)} } -func (_c *MockDatabase_GetServiceNames_Call) Run(run func(_a0 *entity.ServiceFilter)) *MockDatabase_GetServiceNames_Call { +func (_c *MockDatabase_GetServiceCcrns_Call) Run(run func(_a0 *entity.ServiceFilter)) *MockDatabase_GetServiceCcrns_Call { _c.Call.Run(func(args mock.Arguments) { run(args[0].(*entity.ServiceFilter)) }) return _c } -func (_c *MockDatabase_GetServiceNames_Call) Return(_a0 []string, _a1 error) *MockDatabase_GetServiceNames_Call { +func (_c *MockDatabase_GetServiceCcrns_Call) Return(_a0 []string, _a1 error) *MockDatabase_GetServiceCcrns_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockDatabase_GetServiceNames_Call) RunAndReturn(run func(*entity.ServiceFilter) ([]string, error)) *MockDatabase_GetServiceNames_Call { +func (_c *MockDatabase_GetServiceCcrns_Call) RunAndReturn(run func(*entity.ServiceFilter) ([]string, error)) *MockDatabase_GetServiceCcrns_Call { _c.Call.Return(run) return _c } diff --git a/internal/mocks/mock_Heureka.go b/internal/mocks/mock_Heureka.go index 15b5764a..ad81b9d7 100644 --- a/internal/mocks/mock_Heureka.go +++ b/internal/mocks/mock_Heureka.go @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Greenhouse contributors // SPDX-License-Identifier: Apache-2.0 -// Code generated by mockery v2.42.1. DO NOT EDIT. +// Code generated by mockery v2.46.2. DO NOT EDIT. package mocks @@ -2905,12 +2905,12 @@ func (_c *MockHeureka_ListIssues_Call) RunAndReturn(run func(*entity.IssueFilter return _c } -// ListServiceNames provides a mock function with given fields: filter, options -func (_m *MockHeureka) ListServiceNames(filter *entity.ServiceFilter, options *entity.ListOptions) ([]string, error) { +// ListServiceCcrns provides a mock function with given fields: filter, options +func (_m *MockHeureka) ListServiceCcrns(filter *entity.ServiceFilter, options *entity.ListOptions) ([]string, error) { ret := _m.Called(filter, options) if len(ret) == 0 { - panic("no return value specified for ListServiceNames") + panic("no return value specified for ListServiceCcrns") } var r0 []string @@ -2935,31 +2935,31 @@ func (_m *MockHeureka) ListServiceNames(filter *entity.ServiceFilter, options *e return r0, r1 } -// MockHeureka_ListServiceNames_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListServiceNames' -type MockHeureka_ListServiceNames_Call struct { +// MockHeureka_ListServiceCcrns_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListServiceCcrns' +type MockHeureka_ListServiceCcrns_Call struct { *mock.Call } -// ListServiceNames is a helper method to define mock.On call +// ListServiceCcrns is a helper method to define mock.On call // - filter *entity.ServiceFilter // - options *entity.ListOptions -func (_e *MockHeureka_Expecter) ListServiceNames(filter interface{}, options interface{}) *MockHeureka_ListServiceNames_Call { - return &MockHeureka_ListServiceNames_Call{Call: _e.mock.On("ListServiceNames", filter, options)} +func (_e *MockHeureka_Expecter) ListServiceCcrns(filter interface{}, options interface{}) *MockHeureka_ListServiceCcrns_Call { + return &MockHeureka_ListServiceCcrns_Call{Call: _e.mock.On("ListServiceCcrns", filter, options)} } -func (_c *MockHeureka_ListServiceNames_Call) Run(run func(filter *entity.ServiceFilter, options *entity.ListOptions)) *MockHeureka_ListServiceNames_Call { +func (_c *MockHeureka_ListServiceCcrns_Call) Run(run func(filter *entity.ServiceFilter, options *entity.ListOptions)) *MockHeureka_ListServiceCcrns_Call { _c.Call.Run(func(args mock.Arguments) { run(args[0].(*entity.ServiceFilter), args[1].(*entity.ListOptions)) }) return _c } -func (_c *MockHeureka_ListServiceNames_Call) Return(_a0 []string, _a1 error) *MockHeureka_ListServiceNames_Call { +func (_c *MockHeureka_ListServiceCcrns_Call) Return(_a0 []string, _a1 error) *MockHeureka_ListServiceCcrns_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockHeureka_ListServiceNames_Call) RunAndReturn(run func(*entity.ServiceFilter, *entity.ListOptions) ([]string, error)) *MockHeureka_ListServiceNames_Call { +func (_c *MockHeureka_ListServiceCcrns_Call) RunAndReturn(run func(*entity.ServiceFilter, *entity.ListOptions) ([]string, error)) *MockHeureka_ListServiceCcrns_Call { _c.Call.Return(run) return _c } diff --git a/scanner/k8s-assets/client/generated.go b/scanner/k8s-assets/client/generated.go index 6e16a4d5..46f83b5d 100644 --- a/scanner/k8s-assets/client/generated.go +++ b/scanner/k8s-assets/client/generated.go @@ -403,17 +403,17 @@ func (v *ListSupportGroupsSupportGroupsSupportGroupConnectionEdgesSupportGroupEd // Service includes the requested fields of the GraphQL type Service. type Service struct { Id string `json:"id"` - Name string `json:"name"` + Ccrn string `json:"ccrn"` } // GetId returns Service.Id, and is useful for accessing the field via an interface. func (v *Service) GetId() string { return v.Id } -// GetName returns Service.Name, and is useful for accessing the field via an interface. -func (v *Service) GetName() string { return v.Name } +// GetCcrn returns Service.Ccrn, and is useful for accessing the field via an interface. +func (v *Service) GetCcrn() string { return v.Ccrn } type ServiceFilter struct { - ServiceName []string `json:"serviceName"` + ServiceCcrn []string `json:"serviceCcrn"` UniqueUserId []string `json:"uniqueUserId"` Type []int `json:"type"` UserName []string `json:"userName"` @@ -421,8 +421,8 @@ type ServiceFilter struct { Search []string `json:"search"` } -// GetServiceName returns ServiceFilter.ServiceName, and is useful for accessing the field via an interface. -func (v *ServiceFilter) GetServiceName() []string { return v.ServiceName } +// GetServiceCcrn returns ServiceFilter.ServiceCcrn, and is useful for accessing the field via an interface. +func (v *ServiceFilter) GetServiceCcrn() []string { return v.ServiceCcrn } // GetUniqueUserId returns ServiceFilter.UniqueUserId, and is useful for accessing the field via an interface. func (v *ServiceFilter) GetUniqueUserId() []string { return v.UniqueUserId } @@ -440,11 +440,11 @@ func (v *ServiceFilter) GetSupportGroupName() []string { return v.SupportGroupNa func (v *ServiceFilter) GetSearch() []string { return v.Search } type ServiceInput struct { - Name string `json:"name"` + Ccrn string `json:"ccrn"` } -// GetName returns ServiceInput.Name, and is useful for accessing the field via an interface. -func (v *ServiceInput) GetName() string { return v.Name } +// GetCcrn returns ServiceInput.Ccrn, and is useful for accessing the field via an interface. +func (v *ServiceInput) GetCcrn() string { return v.Ccrn } // SupportGroup includes the requested fields of the GraphQL type SupportGroup. type SupportGroup struct { @@ -679,7 +679,7 @@ const CreateService_Operation = ` mutation CreateService ($input: ServiceInput!) { createService(input: $input) { id - name + ccrn } } ` diff --git a/scanner/k8s-assets/client/query/service_create.graphql b/scanner/k8s-assets/client/query/service_create.graphql index 052a4cdf..7321ff44 100644 --- a/scanner/k8s-assets/client/query/service_create.graphql +++ b/scanner/k8s-assets/client/query/service_create.graphql @@ -7,6 +7,6 @@ mutation CreateService ($input: ServiceInput!) { input: $input ) { id - name + ccrn } } \ No newline at end of file diff --git a/scanner/k8s-assets/main.go b/scanner/k8s-assets/main.go index fbde412c..cac0af88 100644 --- a/scanner/k8s-assets/main.go +++ b/scanner/k8s-assets/main.go @@ -10,6 +10,8 @@ import ( "sync" "time" + "runtime" + kubeconfig "github.com/cloudoperators/heureka/scanners/k8s-assets/config" "github.com/cloudoperators/heureka/scanners/k8s-assets/processor" "github.com/cloudoperators/heureka/scanners/k8s-assets/scanner" @@ -19,7 +21,6 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/kubernetes" _ "k8s.io/client-go/plugin/pkg/client/auth/oidc" - "runtime" ) type Config struct { @@ -80,7 +81,7 @@ func processNamespace(ctx context.Context, s *scanner.Scanner, p *processor.Proc log.WithFields(log.Fields{ "error": err, "namespace": namespace, - "serviceName": serviceInfo.Name, + "serviceCcrn": serviceInfo.CCRN, }).Error("Failed to process service") } @@ -89,7 +90,7 @@ func processNamespace(ctx context.Context, s *scanner.Scanner, p *processor.Proc log.WithFields(log.Fields{ "error": err, "namespace": namespace, - "serviceName": serviceInfo.Name, + "serviceCcrn": serviceInfo.CCRN, "podName": podReplica.GenerateName, }).Error("Failed to process pod") } diff --git a/scanner/k8s-assets/processor/processor.go b/scanner/k8s-assets/processor/processor.go index d761cbf1..c6b3dc87 100644 --- a/scanner/k8s-assets/processor/processor.go +++ b/scanner/k8s-assets/processor/processor.go @@ -76,8 +76,8 @@ func NewProcessor(cfg Config) *Processor { func (p *Processor) ProcessService(ctx context.Context, serviceInfo scanner.ServiceInfo) (string, error) { var serviceId string - if serviceInfo.Name == "" { - serviceInfo.Name = "none" + if serviceInfo.CCRN == "" { + serviceInfo.CCRN = "none" } // The Service might already exist in the DB @@ -85,17 +85,17 @@ func (p *Processor) ProcessService(ctx context.Context, serviceInfo scanner.Serv _serviceId, err := p.getService(ctx, serviceInfo) if err != nil { log.WithError(err).WithFields(log.Fields{ - "serviceName": serviceInfo.Name, + "serviceCcrn": serviceInfo.CCRN, }).Error("failed to fetch service") // Create new Service createServiceInput := &client.ServiceInput{ - Name: serviceInfo.Name, + Ccrn: serviceInfo.CCRN, } createServiceResp, err := client.CreateService(ctx, *p.Client, createServiceInput) if err != nil { - return "", fmt.Errorf("failed to create Service %s: %w", serviceInfo.Name, err) + return "", fmt.Errorf("failed to create Service %s: %w", serviceInfo.CCRN, err) } else { serviceId = createServiceResp.CreateService.Id } @@ -107,7 +107,7 @@ func (p *Processor) ProcessService(ctx context.Context, serviceInfo scanner.Serv _supportGroupId, err := p.getSupportGroup(ctx, serviceInfo) if err != nil { log.WithError(err).WithFields(log.Fields{ - "serviceName": serviceInfo.Name, + "serviceCcrn": serviceInfo.CCRN, }).Error("failed to fetch service") // Create new SupportGroup @@ -155,7 +155,7 @@ func (p *Processor) getService(ctx context.Context, serviceInfo scanner.ServiceI var serviceId string listServicesFilter := client.ServiceFilter{ - ServiceName: []string{serviceInfo.Name}, + ServiceCcrn: []string{serviceInfo.CCRN}, } listServicesResp, err := client.ListServices(ctx, *p.Client, &listServicesFilter) if err != nil { diff --git a/scanner/k8s-assets/scanner/config.go b/scanner/k8s-assets/scanner/config.go index 2cf48ab4..60e5a158 100644 --- a/scanner/k8s-assets/scanner/config.go +++ b/scanner/k8s-assets/scanner/config.go @@ -8,6 +8,6 @@ type Config struct { KubeconfigContext string `envconfig:"KUBE_CONFIG_CONTEXT"` KubeconfigType string `envconfig:"KUBE_CONFIG_TYPE" default:"oidc"` SupportGroupLabel string `envconfig:"SUPPORT_GROUP_LABEL" default:"ccloud/support-group" required:"true"` - ServiceNameLabel string `envconfig:"SERVICE_NAME_LABEL" default:"ccloud/service" required:"true"` + ServiceCCRNLabel string `envconfig:"SERVICE_CCRN_LABEL" default:"ccloud/service" required:"true"` ScannerTimeout string `envconfig:"SCANNER_TIMEOUT" default:"30m"` } diff --git a/scanner/k8s-assets/scanner/scanner.go b/scanner/k8s-assets/scanner/scanner.go index bac35138..dc1404e7 100644 --- a/scanner/k8s-assets/scanner/scanner.go +++ b/scanner/k8s-assets/scanner/scanner.go @@ -23,7 +23,7 @@ type Scanner struct { } type ServiceInfo struct { - Name string + CCRN string SupportGroup string Pods []PodInfo } @@ -51,7 +51,7 @@ type ContainerInfo struct { type PodLabels struct { SupportGroup string Owner string - ServiceName string + ServiceCCRN string } func NewScanner(kubeConfig *rest.Config, clientSet *kubernetes.Clientset, cfg Config) Scanner { @@ -76,8 +76,8 @@ func (s *Scanner) GetRelevantLabels(pod v1.Pod) PodLabels { podLabels := PodLabels{} for labelName, labelValue := range pod.Labels { switch labelName { - case s.Config.ServiceNameLabel: - podLabels.ServiceName = labelValue + case s.Config.ServiceCCRNLabel: + podLabels.ServiceCCRN = labelValue case s.Config.SupportGroupLabel: podLabels.SupportGroup = labelValue default: @@ -161,7 +161,7 @@ func (s *Scanner) GroupPodsByGenerateName(pods []v1.Pod) []PodReplicaSet { // GetServiceInfo extracts meta information from a PodInfo object func (s *Scanner) GetServiceInfo(podInfo PodInfo) ServiceInfo { return ServiceInfo{ - Name: podInfo.Labels.ServiceName, + CCRN: podInfo.Labels.ServiceCCRN, SupportGroup: podInfo.Labels.SupportGroup, } } From 74a5f491a179cda863639dc1cb91ff7d6aeb6d04 Mon Sep 17 00:00:00 2001 From: BlakePatterson Date: Thu, 10 Oct 2024 14:42:36 -0400 Subject: [PATCH 02/21] chore(refactor): update component to use ccrn throughout repo --- internal/api/graphql/gqlgen.yml | 2 +- .../api/graphql/graph/baseResolver/common.go | 4 +- .../graphql/graph/baseResolver/component.go | 14 +-- .../graph/baseResolver/component_version.go | 3 +- .../graphql/graph/baseResolver/issue_match.go | 2 +- internal/api/graphql/graph/generated.go | 112 +++++++++--------- internal/api/graphql/graph/model/models.go | 4 +- .../api/graphql/graph/model/models_gen.go | 12 +- .../queryCollection/component/create.graphql | 2 +- .../component/directRelations.graphql | 2 +- .../queryCollection/component/minimal.graphql | 2 +- .../queryCollection/component/update.graphql | 2 +- .../componentVersion/directRelations.graphql | 2 +- .../graph/queryCollection/issue/full.graphql | 2 +- .../resolver/issue_match_filter_value.go | 8 +- .../graphql/graph/schema/component.graphqls | 6 +- .../graph/schema/component_version.graphqls | 2 +- .../graphql/graph/schema/issue_match.graphqls | 2 +- .../schema/issue_match_filter_value.graphqls | 2 +- internal/app/component/component_handler.go | 16 +-- .../app/component/component_handler_events.go | 10 +- .../component/component_handler_interface.go | 2 +- .../app/component/component_handler_test.go | 12 +- internal/database/interface.go | 2 +- internal/database/mariadb/component.go | 26 ++-- internal/database/mariadb/component_test.go | 46 +++---- .../database/mariadb/component_version.go | 11 +- .../mariadb/component_version_test.go | 6 +- internal/database/mariadb/entity.go | 6 +- internal/database/mariadb/init/schema.sql | 6 +- internal/database/mariadb/issue_match.go | 8 +- internal/database/mariadb/test/fixture.go | 8 +- internal/e2e/component_query_test.go | 10 +- internal/e2e/component_version_query_test.go | 2 +- internal/entity/component.go | 4 +- internal/entity/component_version.go | 2 +- internal/entity/issue_match.go | 2 +- internal/entity/test/component.go | 2 +- internal/mocks/mock_Database.go | 88 +++++++------- internal/mocks/mock_Heureka.go | 72 +++++------ scanner/k8s-assets/client/generated.go | 20 ++-- .../client/query/component_query.graphql | 2 +- scanner/k8s-assets/processor/processor.go | 2 +- scanner/keppel/client/generated.go | 34 ++++-- .../client/query/createComponent.graphql | 2 +- .../client/query/listComponents.graphql | 2 +- scanner/keppel/processor/processor.go | 6 +- 47 files changed, 302 insertions(+), 292 deletions(-) diff --git a/internal/api/graphql/gqlgen.yml b/internal/api/graphql/gqlgen.yml index b4b00656..20a0e81f 100644 --- a/internal/api/graphql/gqlgen.yml +++ b/internal/api/graphql/gqlgen.yml @@ -203,7 +203,7 @@ models: resolver: true affectedService: resolver: true - componentName: + componentCcrn: resolver: true supportGroupName: resolver: true diff --git a/internal/api/graphql/graph/baseResolver/common.go b/internal/api/graphql/graph/baseResolver/common.go index 8d0444bf..948808c8 100644 --- a/internal/api/graphql/graph/baseResolver/common.go +++ b/internal/api/graphql/graph/baseResolver/common.go @@ -18,7 +18,7 @@ var ( FilterDisplaySupportGroupName string = "Support Group Name" FilterDisplayUserName string = "User Name" FilterDisplayUniqueUserId string = "Unique User ID" - FilterDisplayComponentName string = "Component Name" + FilterDisplayComponentCcrn string = "Component CCRN" FilterDisplayIssueType string = "Issue Type" FilterDisplayIssueMatchStatus string = "Issue Match Status" FilterDisplayIssuePrimaryName string = "Issue Name" @@ -31,7 +31,7 @@ var ( ServiceFilterSupportGroupName string = "supportGroupName" IssueMatchFilterPrimaryName string = "primaryName" - IssueMatchFilterComponentName string = "componentName" + IssueMatchFilterComponentCcrn string = "componentCcrn" IssueMatchFilterIssueType string = "issueType" IssueMatchFilterStatus string = "status" IssueMatchFilterSeverity string = "severity" diff --git a/internal/api/graphql/graph/baseResolver/component.go b/internal/api/graphql/graph/baseResolver/component.go index 8d0d5204..91cedbc1 100644 --- a/internal/api/graphql/graph/baseResolver/component.go +++ b/internal/api/graphql/graph/baseResolver/component.go @@ -71,7 +71,7 @@ func ComponentBaseResolver(app app.Heureka, ctx context.Context, filter *model.C f := &entity.ComponentFilter{ Paginated: entity.Paginated{First: first, After: afterId}, - Name: filter.ComponentName, + CCRN: filter.ComponentCcrn, } opt := GetListOptions(requestedFields) @@ -107,11 +107,11 @@ func ComponentBaseResolver(app app.Heureka, ctx context.Context, filter *model.C } -func ComponentNameBaseResolver(app app.Heureka, ctx context.Context, filter *model.ComponentFilter) (*model.FilterItem, error) { +func ComponentCcrnBaseResolver(app app.Heureka, ctx context.Context, filter *model.ComponentFilter) (*model.FilterItem, error) { requestedFields := GetPreloads(ctx) logrus.WithFields(logrus.Fields{ "requestedFields": requestedFields, - }).Debug("Called ComponentNameBaseResolver") + }).Debug("Called ComponentCcrnBaseResolver") if filter == nil { filter = &model.ComponentFilter{} @@ -119,15 +119,15 @@ func ComponentNameBaseResolver(app app.Heureka, ctx context.Context, filter *mod f := &entity.ComponentFilter{ Paginated: entity.Paginated{}, - Name: filter.ComponentName, + CCRN: filter.ComponentCcrn, } opt := GetListOptions(requestedFields) - names, err := app.ListComponentNames(f, opt) + names, err := app.ListComponentCcrns(f, opt) if err != nil { - return nil, NewResolverError("ComponentNameBaseReolver", err.Error()) + return nil, NewResolverError("ComponentCcrnBaseReolver", err.Error()) } var pointerNames []*string @@ -137,7 +137,7 @@ func ComponentNameBaseResolver(app app.Heureka, ctx context.Context, filter *mod } filterItem := model.FilterItem{ - DisplayName: &FilterDisplayComponentName, + DisplayName: &FilterDisplayComponentCcrn, Values: pointerNames, } diff --git a/internal/api/graphql/graph/baseResolver/component_version.go b/internal/api/graphql/graph/baseResolver/component_version.go index c6e19e5a..040ad90e 100644 --- a/internal/api/graphql/graph/baseResolver/component_version.go +++ b/internal/api/graphql/graph/baseResolver/component_version.go @@ -5,6 +5,7 @@ package baseResolver import ( "context" + "github.com/cloudoperators/heureka/internal/api/graphql/graph/model" "github.com/cloudoperators/heureka/internal/app" "github.com/cloudoperators/heureka/internal/entity" @@ -97,7 +98,7 @@ func ComponentVersionBaseResolver(app app.Heureka, ctx context.Context, filter * Paginated: entity.Paginated{First: first, After: afterId}, IssueId: issueId, ComponentId: componentId, - ComponentName: filter.ComponentName, + ComponentCCRN: filter.ComponentCcrn, Version: filter.Version, } diff --git a/internal/api/graphql/graph/baseResolver/issue_match.go b/internal/api/graphql/graph/baseResolver/issue_match.go index 96ecf85b..6330e4ea 100644 --- a/internal/api/graphql/graph/baseResolver/issue_match.go +++ b/internal/api/graphql/graph/baseResolver/issue_match.go @@ -113,7 +113,7 @@ func IssueMatchBaseResolver(app app.Heureka, ctx context.Context, filter *model. EvidenceId: eId, ComponentInstanceId: ciId, Search: filter.Search, - ComponentName: filter.ComponentName, + ComponentCCRN: filter.ComponentCcrn, PrimaryName: filter.PrimaryName, IssueType: lo.Map(filter.IssueType, func(item *model.IssueTypes, _ int) *string { return pointer.String(item.String()) }), } diff --git a/internal/api/graphql/graph/generated.go b/internal/api/graphql/graph/generated.go index 07caa677..d3b13912 100644 --- a/internal/api/graphql/graph/generated.go +++ b/internal/api/graphql/graph/generated.go @@ -132,9 +132,9 @@ type ComplexityRoot struct { } Component struct { + Ccrn func(childComplexity int) int ComponentVersions func(childComplexity int, filter *model.ComponentVersionFilter, first *int, after *string) int ID func(childComplexity int) int - Name func(childComplexity int) int Type func(childComplexity int) int } @@ -301,7 +301,7 @@ type ComplexityRoot struct { IssueMatchFilterValue struct { AffectedService func(childComplexity int, filter *model.ServiceFilter) int - ComponentName func(childComplexity int, filter *model.ComponentFilter) int + ComponentCcrn func(childComplexity int, filter *model.ComponentFilter) int IssueType func(childComplexity int) int PrimaryName func(childComplexity int, filter *model.IssueFilter) int Severity func(childComplexity int) int @@ -585,7 +585,7 @@ type IssueMatchChangeResolver interface { type IssueMatchFilterValueResolver interface { PrimaryName(ctx context.Context, obj *model.IssueMatchFilterValue, filter *model.IssueFilter) (*model.FilterItem, error) AffectedService(ctx context.Context, obj *model.IssueMatchFilterValue, filter *model.ServiceFilter) (*model.FilterItem, error) - ComponentName(ctx context.Context, obj *model.IssueMatchFilterValue, filter *model.ComponentFilter) (*model.FilterItem, error) + ComponentCcrn(ctx context.Context, obj *model.IssueMatchFilterValue, filter *model.ComponentFilter) (*model.FilterItem, error) SupportGroupName(ctx context.Context, obj *model.IssueMatchFilterValue, filter *model.SupportGroupFilter) (*model.FilterItem, error) } type IssueRepositoryResolver interface { @@ -1026,6 +1026,13 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return e.complexity.CVSSTemporal.Score(childComplexity), true + case "Component.ccrn": + if e.complexity.Component.Ccrn == nil { + break + } + + return e.complexity.Component.Ccrn(childComplexity), true + case "Component.componentVersions": if e.complexity.Component.ComponentVersions == nil { break @@ -1045,13 +1052,6 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return e.complexity.Component.ID(childComplexity), true - case "Component.name": - if e.complexity.Component.Name == nil { - break - } - - return e.complexity.Component.Name(childComplexity), true - case "Component.type": if e.complexity.Component.Type == nil { break @@ -1812,17 +1812,17 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return e.complexity.IssueMatchFilterValue.AffectedService(childComplexity, args["filter"].(*model.ServiceFilter)), true - case "IssueMatchFilterValue.componentName": - if e.complexity.IssueMatchFilterValue.ComponentName == nil { + case "IssueMatchFilterValue.componentCcrn": + if e.complexity.IssueMatchFilterValue.ComponentCcrn == nil { break } - args, err := ec.field_IssueMatchFilterValue_componentName_args(context.TODO(), rawArgs) + args, err := ec.field_IssueMatchFilterValue_componentCcrn_args(context.TODO(), rawArgs) if err != nil { return 0, false } - return e.complexity.IssueMatchFilterValue.ComponentName(childComplexity, args["filter"].(*model.ComponentFilter)), true + return e.complexity.IssueMatchFilterValue.ComponentCcrn(childComplexity, args["filter"].(*model.ComponentFilter)), true case "IssueMatchFilterValue.issueType": if e.complexity.IssueMatchFilterValue.IssueType == nil { @@ -4318,17 +4318,17 @@ func (ec *executionContext) field_IssueMatchFilterValue_affectedService_argsFilt return zeroVal, nil } -func (ec *executionContext) field_IssueMatchFilterValue_componentName_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_IssueMatchFilterValue_componentCcrn_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - arg0, err := ec.field_IssueMatchFilterValue_componentName_argsFilter(ctx, rawArgs) + arg0, err := ec.field_IssueMatchFilterValue_componentCcrn_argsFilter(ctx, rawArgs) if err != nil { return nil, err } args["filter"] = arg0 return args, nil } -func (ec *executionContext) field_IssueMatchFilterValue_componentName_argsFilter( +func (ec *executionContext) field_IssueMatchFilterValue_componentCcrn_argsFilter( ctx context.Context, rawArgs map[string]interface{}, ) (*model.ComponentFilter, error) { @@ -11829,8 +11829,8 @@ func (ec *executionContext) fieldContext_Component_id(_ context.Context, field g return fc, nil } -func (ec *executionContext) _Component_name(ctx context.Context, field graphql.CollectedField, obj *model.Component) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Component_name(ctx, field) +func (ec *executionContext) _Component_ccrn(ctx context.Context, field graphql.CollectedField, obj *model.Component) (ret graphql.Marshaler) { + fc, err := ec.fieldContext_Component_ccrn(ctx, field) if err != nil { return graphql.Null } @@ -11843,7 +11843,7 @@ func (ec *executionContext) _Component_name(ctx context.Context, field graphql.C }() resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { ctx = rctx // use context from middleware stack in children - return obj.Name, nil + return obj.Ccrn, nil }) if err != nil { ec.Error(ctx, err) @@ -11857,7 +11857,7 @@ func (ec *executionContext) _Component_name(ctx context.Context, field graphql.C return ec.marshalOString2ᚖstring(ctx, field.Selections, res) } -func (ec *executionContext) fieldContext_Component_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { +func (ec *executionContext) fieldContext_Component_ccrn(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { fc = &graphql.FieldContext{ Object: "Component", Field: field, @@ -12158,8 +12158,8 @@ func (ec *executionContext) fieldContext_ComponentEdge_node(_ context.Context, f switch field.Name { case "id": return ec.fieldContext_Component_id(ctx, field) - case "name": - return ec.fieldContext_Component_name(ctx, field) + case "ccrn": + return ec.fieldContext_Component_ccrn(ctx, field) case "type": return ec.fieldContext_Component_type(ctx, field) case "componentVersions": @@ -13094,8 +13094,8 @@ func (ec *executionContext) fieldContext_ComponentVersion_component(_ context.Co switch field.Name { case "id": return ec.fieldContext_Component_id(ctx, field) - case "name": - return ec.fieldContext_Component_name(ctx, field) + case "ccrn": + return ec.fieldContext_Component_ccrn(ctx, field) case "type": return ec.fieldContext_Component_type(ctx, field) case "componentVersions": @@ -17033,8 +17033,8 @@ func (ec *executionContext) fieldContext_IssueMatchFilterValue_affectedService(c return fc, nil } -func (ec *executionContext) _IssueMatchFilterValue_componentName(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatchFilterValue) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatchFilterValue_componentName(ctx, field) +func (ec *executionContext) _IssueMatchFilterValue_componentCcrn(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatchFilterValue) (ret graphql.Marshaler) { + fc, err := ec.fieldContext_IssueMatchFilterValue_componentCcrn(ctx, field) if err != nil { return graphql.Null } @@ -17047,7 +17047,7 @@ func (ec *executionContext) _IssueMatchFilterValue_componentName(ctx context.Con }() resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { ctx = rctx // use context from middleware stack in children - return ec.resolvers.IssueMatchFilterValue().ComponentName(rctx, obj, fc.Args["filter"].(*model.ComponentFilter)) + return ec.resolvers.IssueMatchFilterValue().ComponentCcrn(rctx, obj, fc.Args["filter"].(*model.ComponentFilter)) }) if err != nil { ec.Error(ctx, err) @@ -17061,7 +17061,7 @@ func (ec *executionContext) _IssueMatchFilterValue_componentName(ctx context.Con return ec.marshalOFilterItem2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐFilterItem(ctx, field.Selections, res) } -func (ec *executionContext) fieldContext_IssueMatchFilterValue_componentName(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { +func (ec *executionContext) fieldContext_IssueMatchFilterValue_componentCcrn(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { fc = &graphql.FieldContext{ Object: "IssueMatchFilterValue", Field: field, @@ -17086,7 +17086,7 @@ func (ec *executionContext) fieldContext_IssueMatchFilterValue_componentName(ctx } }() ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_IssueMatchFilterValue_componentName_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { + if fc.Args, err = ec.field_IssueMatchFilterValue_componentCcrn_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { ec.Error(ctx, err) return fc, err } @@ -19642,8 +19642,8 @@ func (ec *executionContext) fieldContext_Mutation_createComponent(ctx context.Co switch field.Name { case "id": return ec.fieldContext_Component_id(ctx, field) - case "name": - return ec.fieldContext_Component_name(ctx, field) + case "ccrn": + return ec.fieldContext_Component_ccrn(ctx, field) case "type": return ec.fieldContext_Component_type(ctx, field) case "componentVersions": @@ -19707,8 +19707,8 @@ func (ec *executionContext) fieldContext_Mutation_updateComponent(ctx context.Co switch field.Name { case "id": return ec.fieldContext_Component_id(ctx, field) - case "name": - return ec.fieldContext_Component_name(ctx, field) + case "ccrn": + return ec.fieldContext_Component_ccrn(ctx, field) case "type": return ec.fieldContext_Component_type(ctx, field) case "componentVersions": @@ -24015,8 +24015,8 @@ func (ec *executionContext) fieldContext_Query_IssueMatchFilterValues(_ context. return ec.fieldContext_IssueMatchFilterValue_primaryName(ctx, field) case "affectedService": return ec.fieldContext_IssueMatchFilterValue_affectedService(ctx, field) - case "componentName": - return ec.fieldContext_IssueMatchFilterValue_componentName(ctx, field) + case "componentCcrn": + return ec.fieldContext_IssueMatchFilterValue_componentCcrn(ctx, field) case "supportGroupName": return ec.fieldContext_IssueMatchFilterValue_supportGroupName(ctx, field) } @@ -28025,20 +28025,20 @@ func (ec *executionContext) unmarshalInputComponentFilter(ctx context.Context, o asMap[k] = v } - fieldsInOrder := [...]string{"componentName"} + fieldsInOrder := [...]string{"componentCcrn"} for _, k := range fieldsInOrder { v, ok := asMap[k] if !ok { continue } switch k { - case "componentName": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("componentName")) + case "componentCcrn": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("componentCcrn")) data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) if err != nil { return it, err } - it.ComponentName = data + it.ComponentCcrn = data } } @@ -28052,20 +28052,20 @@ func (ec *executionContext) unmarshalInputComponentInput(ctx context.Context, ob asMap[k] = v } - fieldsInOrder := [...]string{"name", "type"} + fieldsInOrder := [...]string{"ccrn", "type"} for _, k := range fieldsInOrder { v, ok := asMap[k] if !ok { continue } switch k { - case "name": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) + case "ccrn": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("ccrn")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { return it, err } - it.Name = data + it.Ccrn = data case "type": ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("type")) data, err := ec.unmarshalOComponentTypeValues2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentTypeValues(ctx, v) @@ -28161,7 +28161,7 @@ func (ec *executionContext) unmarshalInputComponentVersionFilter(ctx context.Con asMap[k] = v } - fieldsInOrder := [...]string{"componentId", "componentName", "issueId", "version"} + fieldsInOrder := [...]string{"componentId", "componentCcrn", "issueId", "version"} for _, k := range fieldsInOrder { v, ok := asMap[k] if !ok { @@ -28175,13 +28175,13 @@ func (ec *executionContext) unmarshalInputComponentVersionFilter(ctx context.Con return it, err } it.ComponentID = data - case "componentName": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("componentName")) + case "componentCcrn": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("componentCcrn")) data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) if err != nil { return it, err } - it.ComponentName = data + it.ComponentCcrn = data case "issueId": ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("issueId")) data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) @@ -28537,7 +28537,7 @@ func (ec *executionContext) unmarshalInputIssueMatchFilter(ctx context.Context, asMap[k] = v } - fieldsInOrder := [...]string{"id", "search", "primaryName", "componentName", "issueType", "status", "severity", "affectedService", "supportGroupName"} + fieldsInOrder := [...]string{"id", "search", "primaryName", "componentCcrn", "issueType", "status", "severity", "affectedService", "supportGroupName"} for _, k := range fieldsInOrder { v, ok := asMap[k] if !ok { @@ -28565,13 +28565,13 @@ func (ec *executionContext) unmarshalInputIssueMatchFilter(ctx context.Context, return it, err } it.PrimaryName = data - case "componentName": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("componentName")) + case "componentCcrn": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("componentCcrn")) data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) if err != nil { return it, err } - it.ComponentName = data + it.ComponentCcrn = data case "issueType": ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("issueType")) data, err := ec.unmarshalOIssueTypes2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueTypes(ctx, v) @@ -29911,8 +29911,8 @@ func (ec *executionContext) _Component(ctx context.Context, sel ast.SelectionSet if out.Values[i] == graphql.Null { atomic.AddUint32(&out.Invalids, 1) } - case "name": - out.Values[i] = ec._Component_name(ctx, field, obj) + case "ccrn": + out.Values[i] = ec._Component_ccrn(ctx, field, obj) case "type": out.Values[i] = ec._Component_type(ctx, field, obj) case "componentVersions": @@ -31705,7 +31705,7 @@ func (ec *executionContext) _IssueMatchFilterValue(ctx context.Context, sel ast. } out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "componentName": + case "componentCcrn": field := field innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { @@ -31714,7 +31714,7 @@ func (ec *executionContext) _IssueMatchFilterValue(ctx context.Context, sel ast. ec.Error(ctx, ec.Recover(ctx, r)) } }() - res = ec._IssueMatchFilterValue_componentName(ctx, field, obj) + res = ec._IssueMatchFilterValue_componentCcrn(ctx, field, obj) return res } diff --git a/internal/api/graphql/graph/model/models.go b/internal/api/graphql/graph/model/models.go index c1eac8c1..223727e5 100644 --- a/internal/api/graphql/graph/model/models.go +++ b/internal/api/graphql/graph/model/models.go @@ -414,7 +414,7 @@ func NewComponent(component *entity.Component) Component { componentType, _ := ComponentTypeValue(component.Type) return Component{ ID: fmt.Sprintf("%d", component.Id), - Name: &component.Name, + Ccrn: &component.CCRN, Type: &componentType, } } @@ -425,7 +425,7 @@ func NewComponentEntity(component *ComponentInput) entity.Component { componentType = component.Type.String() } return entity.Component{ - Name: lo.FromPtr(component.Name), + CCRN: lo.FromPtr(component.Ccrn), Type: componentType, } } diff --git a/internal/api/graphql/graph/model/models_gen.go b/internal/api/graphql/graph/model/models_gen.go index 9e550108..2177391e 100644 --- a/internal/api/graphql/graph/model/models_gen.go +++ b/internal/api/graphql/graph/model/models_gen.go @@ -116,7 +116,7 @@ type CVSSTemporal struct { type Component struct { ID string `json:"id"` - Name *string `json:"name,omitempty"` + Ccrn *string `json:"ccrn,omitempty"` Type *ComponentTypeValues `json:"type,omitempty"` ComponentVersions *ComponentVersionConnection `json:"componentVersions,omitempty"` } @@ -144,11 +144,11 @@ func (this ComponentEdge) GetNode() Node { return *this.Node } func (this ComponentEdge) GetCursor() *string { return this.Cursor } type ComponentFilter struct { - ComponentName []*string `json:"componentName,omitempty"` + ComponentCcrn []*string `json:"componentCcrn,omitempty"` } type ComponentInput struct { - Name *string `json:"name,omitempty"` + Ccrn *string `json:"ccrn,omitempty"` Type *ComponentTypeValues `json:"type,omitempty"` } @@ -231,7 +231,7 @@ func (this ComponentVersionEdge) GetCursor() *string { return this.Cursor } type ComponentVersionFilter struct { ComponentID []*string `json:"componentId,omitempty"` - ComponentName []*string `json:"componentName,omitempty"` + ComponentCcrn []*string `json:"componentCcrn,omitempty"` IssueID []*string `json:"issueId,omitempty"` Version []*string `json:"version,omitempty"` } @@ -438,7 +438,7 @@ type IssueMatchFilter struct { ID []*string `json:"id,omitempty"` Search []*string `json:"search,omitempty"` PrimaryName []*string `json:"primaryName,omitempty"` - ComponentName []*string `json:"componentName,omitempty"` + ComponentCcrn []*string `json:"componentCcrn,omitempty"` IssueType []*IssueTypes `json:"issueType,omitempty"` Status []*IssueMatchStatusValues `json:"status,omitempty"` Severity []*SeverityValues `json:"severity,omitempty"` @@ -452,7 +452,7 @@ type IssueMatchFilterValue struct { IssueType *FilterItem `json:"issueType,omitempty"` PrimaryName *FilterItem `json:"primaryName,omitempty"` AffectedService *FilterItem `json:"affectedService,omitempty"` - ComponentName *FilterItem `json:"componentName,omitempty"` + ComponentCcrn *FilterItem `json:"componentCcrn,omitempty"` SupportGroupName *FilterItem `json:"supportGroupName,omitempty"` } diff --git a/internal/api/graphql/graph/queryCollection/component/create.graphql b/internal/api/graphql/graph/queryCollection/component/create.graphql index fb5e78c8..284dd32c 100644 --- a/internal/api/graphql/graph/queryCollection/component/create.graphql +++ b/internal/api/graphql/graph/queryCollection/component/create.graphql @@ -6,7 +6,7 @@ mutation ($input: ComponentInput!) { input: $input ) { id - name + ccrn type } } \ No newline at end of file diff --git a/internal/api/graphql/graph/queryCollection/component/directRelations.graphql b/internal/api/graphql/graph/queryCollection/component/directRelations.graphql index 752d6d08..8d3b77e1 100644 --- a/internal/api/graphql/graph/queryCollection/component/directRelations.graphql +++ b/internal/api/graphql/graph/queryCollection/component/directRelations.graphql @@ -12,7 +12,7 @@ query ($filter: ComponentFilter, $first: Int, $after: String) { edges { node { id - name + ccrn type componentVersions { totalCount diff --git a/internal/api/graphql/graph/queryCollection/component/minimal.graphql b/internal/api/graphql/graph/queryCollection/component/minimal.graphql index f032a666..72005309 100644 --- a/internal/api/graphql/graph/queryCollection/component/minimal.graphql +++ b/internal/api/graphql/graph/queryCollection/component/minimal.graphql @@ -11,7 +11,7 @@ query ($filter: ComponentFilter, $first: Int, $after: String) { edges { node { id - name + ccrn type } cursor diff --git a/internal/api/graphql/graph/queryCollection/component/update.graphql b/internal/api/graphql/graph/queryCollection/component/update.graphql index 5f4fe1a6..89760928 100644 --- a/internal/api/graphql/graph/queryCollection/component/update.graphql +++ b/internal/api/graphql/graph/queryCollection/component/update.graphql @@ -8,6 +8,6 @@ mutation ($id: ID!, $input: ComponentInput!) { ) { __typename id - name + ccrn } } \ No newline at end of file diff --git a/internal/api/graphql/graph/queryCollection/componentVersion/directRelations.graphql b/internal/api/graphql/graph/queryCollection/componentVersion/directRelations.graphql index 9caeb6b1..654cf814 100644 --- a/internal/api/graphql/graph/queryCollection/componentVersion/directRelations.graphql +++ b/internal/api/graphql/graph/queryCollection/componentVersion/directRelations.graphql @@ -16,7 +16,7 @@ query ($filter: ComponentVersionFilter, $first: Int, $after: String) { componentId component { id - name + ccrn type } issues { diff --git a/internal/api/graphql/graph/queryCollection/issue/full.graphql b/internal/api/graphql/graph/queryCollection/issue/full.graphql index 5b53d7ba..4d27fe16 100644 --- a/internal/api/graphql/graph/queryCollection/issue/full.graphql +++ b/internal/api/graphql/graph/queryCollection/issue/full.graphql @@ -95,7 +95,7 @@ query ($filter: IssueFilter, $first: Int, $after: String) { version component { id - name + ccrn type } } diff --git a/internal/api/graphql/graph/resolver/issue_match_filter_value.go b/internal/api/graphql/graph/resolver/issue_match_filter_value.go index 72f93b66..65d6681c 100644 --- a/internal/api/graphql/graph/resolver/issue_match_filter_value.go +++ b/internal/api/graphql/graph/resolver/issue_match_filter_value.go @@ -35,13 +35,13 @@ func (r *issueMatchFilterValueResolver) AffectedService(ctx context.Context, obj return item, nil } -// ComponentName is the resolver for the componentName field. -func (r *issueMatchFilterValueResolver) ComponentName(ctx context.Context, obj *model.IssueMatchFilterValue, filter *model.ComponentFilter) (*model.FilterItem, error) { - item, err := baseResolver.ComponentNameBaseResolver(r.App, ctx, filter) +// ComponentCcrn is the resolver for the componentCcrn field. +func (r *issueMatchFilterValueResolver) ComponentCcrn(ctx context.Context, obj *model.IssueMatchFilterValue, filter *model.ComponentFilter) (*model.FilterItem, error) { + item, err := baseResolver.ComponentCcrnBaseResolver(r.App, ctx, filter) if err != nil { return nil, err } - item.FilterName = &baseResolver.IssueMatchFilterComponentName + item.FilterName = &baseResolver.IssueMatchFilterComponentCcrn return item, nil } diff --git a/internal/api/graphql/graph/schema/component.graphqls b/internal/api/graphql/graph/schema/component.graphqls index e2805fd1..025601e1 100644 --- a/internal/api/graphql/graph/schema/component.graphqls +++ b/internal/api/graphql/graph/schema/component.graphqls @@ -3,13 +3,13 @@ type Component implements Node { id: ID! - name: String + ccrn: String type: ComponentTypeValues componentVersions(filter: ComponentVersionFilter, first: Int, after: String): ComponentVersionConnection } input ComponentInput { - name: String + ccrn: String type: ComponentTypeValues } @@ -20,7 +20,7 @@ enum ComponentTypeValues { } input ComponentFilter { - componentName: [String] + componentCcrn: [String] } type ComponentConnection implements Connection { diff --git a/internal/api/graphql/graph/schema/component_version.graphqls b/internal/api/graphql/graph/schema/component_version.graphqls index 0c556654..597292a5 100644 --- a/internal/api/graphql/graph/schema/component_version.graphqls +++ b/internal/api/graphql/graph/schema/component_version.graphqls @@ -28,7 +28,7 @@ type ComponentVersionEdge implements Edge { input ComponentVersionFilter { componentId: [String] - componentName: [String] + componentCcrn: [String] issueId: [String] version: [String] } \ No newline at end of file diff --git a/internal/api/graphql/graph/schema/issue_match.graphqls b/internal/api/graphql/graph/schema/issue_match.graphqls index 479a82f8..06c560b7 100644 --- a/internal/api/graphql/graph/schema/issue_match.graphqls +++ b/internal/api/graphql/graph/schema/issue_match.graphqls @@ -33,7 +33,7 @@ input IssueMatchFilter { id: [String] search: [String] primaryName: [String] - componentName: [String] + componentCcrn: [String] issueType: [IssueTypes] status: [IssueMatchStatusValues] severity: [SeverityValues] diff --git a/internal/api/graphql/graph/schema/issue_match_filter_value.graphqls b/internal/api/graphql/graph/schema/issue_match_filter_value.graphqls index 5387d840..8c830e60 100644 --- a/internal/api/graphql/graph/schema/issue_match_filter_value.graphqls +++ b/internal/api/graphql/graph/schema/issue_match_filter_value.graphqls @@ -7,6 +7,6 @@ type IssueMatchFilterValue { issueType: FilterItem primaryName(filter: IssueFilter): FilterItem affectedService(filter: ServiceFilter): FilterItem - componentName(filter: ComponentFilter): FilterItem + componentCcrn(filter: ComponentFilter): FilterItem supportGroupName(filter: SupportGroupFilter): FilterItem } \ No newline at end of file diff --git a/internal/app/component/component_handler.go b/internal/app/component/component_handler.go index 2da923fd..6afae4e8 100644 --- a/internal/app/component/component_handler.go +++ b/internal/app/component/component_handler.go @@ -106,7 +106,7 @@ func (cs *componentHandler) ListComponents(filter *entity.ComponentFilter, optio func (cs *componentHandler) CreateComponent(component *entity.Component) (*entity.Component, error) { f := &entity.ComponentFilter{ - Name: []*string{&component.Name}, + CCRN: []*string{&component.CCRN}, } l := logrus.WithFields(logrus.Fields{ @@ -123,7 +123,7 @@ func (cs *componentHandler) CreateComponent(component *entity.Component) (*entit } if len(components.Elements) > 0 { - return nil, NewUserHandlerError(fmt.Sprintf("Duplicated entry %s for name.", component.Name)) + return nil, NewUserHandlerError(fmt.Sprintf("Duplicated entry %s for ccrn.", component.CCRN)) } newComponent, err := cs.database.CreateComponent(component) @@ -186,20 +186,20 @@ func (cs *componentHandler) DeleteComponent(id int64) error { return nil } -func (cs *componentHandler) ListComponentNames(filter *entity.ComponentFilter, options *entity.ListOptions) ([]string, error) { +func (cs *componentHandler) ListComponentCcrns(filter *entity.ComponentFilter, options *entity.ListOptions) ([]string, error) { l := logrus.WithFields(logrus.Fields{ - "event": ListComponentNamesEventName, + "event": ListComponentCcrnsEventName, "filter": filter, }) - componentNames, err := cs.database.GetComponentNames(filter) + componentCcrns, err := cs.database.GetComponentCcrns(filter) if err != nil { l.Error(err) - return nil, NewUserHandlerError("Internal error while retrieving componentNames.") + return nil, NewUserHandlerError("Internal error while retrieving componentCcrns.") } - cs.eventRegistry.PushEvent(&ListComponentNamesEvent{Filter: filter, Options: options, Names: componentNames}) + cs.eventRegistry.PushEvent(&ListComponentCcrnsEvent{Filter: filter, Options: options, CCRNs: componentCcrns}) - return componentNames, nil + return componentCcrns, nil } diff --git a/internal/app/component/component_handler_events.go b/internal/app/component/component_handler_events.go index 91c6bef0..1a155577 100644 --- a/internal/app/component/component_handler_events.go +++ b/internal/app/component/component_handler_events.go @@ -13,7 +13,7 @@ const ( CreateComponentEventName event.EventName = "CreateComponent" UpdateComponentEventName event.EventName = "UpdateComponent" DeleteComponentEventName event.EventName = "DeleteComponent" - ListComponentNamesEventName event.EventName = "ListComponentNames" + ListComponentCcrnsEventName event.EventName = "ListComponentCcrns" ) type ListComponentsEvent struct { @@ -50,12 +50,12 @@ func (e *DeleteComponentEvent) Name() event.EventName { return DeleteComponentEventName } -type ListComponentNamesEvent struct { +type ListComponentCcrnsEvent struct { Filter *entity.ComponentFilter Options *entity.ListOptions - Names []string + CCRNs []string } -func (e *ListComponentNamesEvent) Name() event.EventName { - return ListComponentNamesEventName +func (e *ListComponentCcrnsEvent) Name() event.EventName { + return ListComponentCcrnsEventName } diff --git a/internal/app/component/component_handler_interface.go b/internal/app/component/component_handler_interface.go index 1c7d453b..0fdcf772 100644 --- a/internal/app/component/component_handler_interface.go +++ b/internal/app/component/component_handler_interface.go @@ -10,5 +10,5 @@ type ComponentHandler interface { CreateComponent(*entity.Component) (*entity.Component, error) UpdateComponent(*entity.Component) (*entity.Component, error) DeleteComponent(int64) error - ListComponentNames(*entity.ComponentFilter, *entity.ListOptions) ([]string, error) + ListComponentCcrns(*entity.ComponentFilter, *entity.ListOptions) ([]string, error) } diff --git a/internal/app/component/component_handler_test.go b/internal/app/component/component_handler_test.go index 2be75328..335337d1 100644 --- a/internal/app/component/component_handler_test.go +++ b/internal/app/component/component_handler_test.go @@ -31,13 +31,13 @@ var _ = BeforeSuite(func() { }) func getComponentFilter() *entity.ComponentFilter { - cName := "SomeNotExistingComponent" + cCCRN := "SomeNotExistingComponent" return &entity.ComponentFilter{ Paginated: entity.Paginated{ First: nil, After: nil, }, - Name: []*string{&cName}, + CCRN: []*string{&cCCRN}, } } @@ -124,7 +124,7 @@ var _ = Describe("When creating Component", Label("app", "CreateComponent"), fun }) It("creates component", func() { - filter.Name = []*string{&component.Name} + filter.CCRN = []*string{&component.CCRN} db.On("CreateComponent", &component).Return(&component, nil) db.On("GetComponents", filter).Return([]entity.Component{}, nil) componentHandler = c.NewComponentHandler(db, er) @@ -132,7 +132,7 @@ var _ = Describe("When creating Component", Label("app", "CreateComponent"), fun Expect(err).To(BeNil(), "no error should be thrown") Expect(newComponent.Id).NotTo(BeEquivalentTo(0)) By("setting fields", func() { - Expect(newComponent.Name).To(BeEquivalentTo(component.Name)) + Expect(newComponent.CCRN).To(BeEquivalentTo(component.CCRN)) Expect(newComponent.Type).To(BeEquivalentTo(component.Type)) }) }) @@ -163,13 +163,13 @@ var _ = Describe("When updating Component", Label("app", "UpdateComponent"), fun It("updates component", func() { db.On("UpdateComponent", &component).Return(nil) componentHandler = c.NewComponentHandler(db, er) - component.Name = "NewComponent" + component.CCRN = "NewComponent" filter.Id = []*int64{&component.Id} db.On("GetComponents", filter).Return([]entity.Component{component}, nil) updatedComponent, err := componentHandler.UpdateComponent(&component) Expect(err).To(BeNil(), "no error should be thrown") By("setting fields", func() { - Expect(updatedComponent.Name).To(BeEquivalentTo(component.Name)) + Expect(updatedComponent.CCRN).To(BeEquivalentTo(component.CCRN)) Expect(updatedComponent.Type).To(BeEquivalentTo(component.Type)) }) }) diff --git a/internal/database/interface.go b/internal/database/interface.go index 0b8fc965..06f240ac 100644 --- a/internal/database/interface.go +++ b/internal/database/interface.go @@ -89,7 +89,7 @@ type Database interface { CreateComponentInstance(*entity.ComponentInstance) (*entity.ComponentInstance, error) UpdateComponentInstance(*entity.ComponentInstance) error DeleteComponentInstance(int64) error - GetComponentNames(filter *entity.ComponentFilter) ([]string, error) + GetComponentCcrns(filter *entity.ComponentFilter) ([]string, error) GetActivities(*entity.ActivityFilter) ([]entity.Activity, error) GetAllActivityIds(*entity.ActivityFilter) ([]int64, error) diff --git a/internal/database/mariadb/component.go b/internal/database/mariadb/component.go index 41773aae..d6f2b55a 100644 --- a/internal/database/mariadb/component.go +++ b/internal/database/mariadb/component.go @@ -14,7 +14,7 @@ import ( func (s *SqlDatabase) getComponentFilterString(filter *entity.ComponentFilter) string { var fl []string - fl = append(fl, buildFilterQuery(filter.Name, "C.component_name = ?", OP_OR)) + fl = append(fl, buildFilterQuery(filter.CCRN, "C.component_ccrn = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.Id, "C.component_id = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.ComponentVersionId, "CV.componentversion_id = ?", OP_OR)) fl = append(fl, "C.component_deleted_at IS NULL") @@ -31,7 +31,7 @@ func (s *SqlDatabase) ensureComponentFilter(f *entity.ComponentFilter) *entity.C First: &first, After: &after, }, - Name: nil, + CCRN: nil, Id: nil, ComponentVersionId: nil, } @@ -58,8 +58,8 @@ func (s *SqlDatabase) getComponentJoins(filter *entity.ComponentFilter) string { func (s *SqlDatabase) getComponentUpdateFields(component *entity.Component) string { fl := []string{} - if component.Name != "" { - fl = append(fl, "component_name = :component_name") + if component.CCRN != "" { + fl = append(fl, "component_ccrn = :component_ccrn") } if component.Type != "" { fl = append(fl, "component_type = :component_type") @@ -106,7 +106,7 @@ func (s *SqlDatabase) buildComponentStatement(baseQuery string, filter *entity.C //adding parameters var filterParameters []interface{} - filterParameters = buildQueryParameters(filterParameters, filter.Name) + filterParameters = buildQueryParameters(filterParameters, filter.CCRN) filterParameters = buildQueryParameters(filterParameters, filter.Id) filterParameters = buildQueryParameters(filterParameters, filter.ComponentVersionId) if withCursor { @@ -201,10 +201,10 @@ func (s *SqlDatabase) CreateComponent(component *entity.Component) (*entity.Comp query := ` INSERT INTO Component ( - component_name, + component_ccrn, component_type ) VALUES ( - :component_name, + :component_ccrn, :component_type ) ` @@ -268,14 +268,14 @@ func (s *SqlDatabase) DeleteComponent(id int64) error { return err } -func (s *SqlDatabase) GetComponentNames(filter *entity.ComponentFilter) ([]string, error) { +func (s *SqlDatabase) GetComponentCcrns(filter *entity.ComponentFilter) ([]string, error) { l := logrus.WithFields(logrus.Fields{ "filter": filter, - "event": "database.GetComponentNames", + "event": "database.GetComponentCcrns", }) baseQuery := ` - SELECT C.component_name FROM Component C + SELECT C.component_ccrn FROM Component C %s %s ` @@ -300,19 +300,19 @@ func (s *SqlDatabase) GetComponentNames(filter *entity.ComponentFilter) ([]strin defer rows.Close() // Collect the results - componentNames := []string{} + componentCcrns := []string{} var name string for rows.Next() { if err := rows.Scan(&name); err != nil { l.Error("Error scanning row: ", err) continue } - componentNames = append(componentNames, name) + componentCcrns = append(componentCcrns, name) } if err = rows.Err(); err != nil { l.Error("Row iteration error: ", err) return nil, err } - return componentNames, nil + return componentCcrns, nil } diff --git a/internal/database/mariadb/component_test.go b/internal/database/mariadb/component_test.go index fc6a1d29..30fe938a 100644 --- a/internal/database/mariadb/component_test.go +++ b/internal/database/mariadb/component_test.go @@ -146,7 +146,7 @@ var _ = Describe("Component", Label("database", "Component"), func() { for _, r := range res { for _, row := range seedCollection.ComponentRows { if r.Id == row.Id.Int64 { - Expect(r.Name).Should(BeEquivalentTo(row.Name.String), "Name should match") + Expect(r.CCRN).Should(BeEquivalentTo(row.CCRN.String), "CCRN should match") Expect(r.Type).Should(BeEquivalentTo(row.Type.String), "Type should match") Expect(r.CreatedAt).ShouldNot(BeEquivalentTo(row.CreatedAt.Time), "CreatedAt matches") Expect(r.UpdatedAt).ShouldNot(BeEquivalentTo(row.UpdatedAt.Time), "UpdatedAt matches") @@ -169,15 +169,15 @@ var _ = Describe("Component", Label("database", "Component"), func() { By("returning some results", func() { Expect(entries).NotTo(BeEmpty()) }) - By("returning entries include the component name", func() { + By("returning entries include the component ccrn", func() { for _, entry := range entries { Expect(entry.Id).To(BeEquivalentTo(row.Id.Int64)) } }) }) - It("can filter by a single name", func() { + It("can filter by a single ccrn", func() { row := seedCollection.ComponentRows[rand.Intn(len(seedCollection.ComponentRows))] - filter := &entity.ComponentFilter{Name: []*string{&row.Name.String}} + filter := &entity.ComponentFilter{CCRN: []*string{&row.CCRN.String}} entries, err := db.GetComponents(filter) @@ -187,15 +187,15 @@ var _ = Describe("Component", Label("database", "Component"), func() { By("returning some results", func() { Expect(entries).NotTo(BeEmpty()) }) - By("returning entries include the component name", func() { + By("returning entries include the component ccrn", func() { for _, entry := range entries { - Expect(entry.Name).To(BeEquivalentTo(row.Name.String)) + Expect(entry.CCRN).To(BeEquivalentTo(row.CCRN.String)) } }) }) - It("can filter by a random non existing component name", func() { - nonExistingName := util.GenerateRandomString(40, nil) - filter := &entity.ComponentFilter{Name: []*string{&nonExistingName}} + It("can filter by a random non existing component ccrn", func() { + nonExistingCCRN := util.GenerateRandomString(40, nil) + filter := &entity.ComponentFilter{CCRN: []*string{&nonExistingCCRN}} entries, err := db.GetComponents(filter) @@ -206,13 +206,13 @@ var _ = Describe("Component", Label("database", "Component"), func() { Expect(entries).To(BeEmpty()) }) }) - It("can filter by all existing component names", func() { - componentNames := make([]*string, len(seedCollection.ComponentRows)) + It("can filter by all existing component ccrns", func() { + componentCCRNs := make([]*string, len(seedCollection.ComponentRows)) for i, row := range seedCollection.ComponentRows { - x := row.Name.String - componentNames[i] = &x + x := row.CCRN.String + componentCCRNs[i] = &x } - filter := &entity.ComponentFilter{Name: componentNames} + filter := &entity.ComponentFilter{CCRN: componentCCRNs} entries, err := db.GetComponents(filter) @@ -307,10 +307,10 @@ var _ = Describe("Component", Label("database", "Component"), func() { DescribeTable("can count with a filter", func(pageSize int, filterMatches int) { componentRow := seedCollection.ComponentRows[rand.Intn(len(seedCollection.ComponentRows))] - // collect all component ids that have the previously selected name + // collect all component ids that have the previously selected ccrn componentIds := []int64{} for _, cRow := range seedCollection.ComponentRows { - if cRow.Name.String == componentRow.Name.String { + if cRow.CCRN.String == componentRow.CCRN.String { componentIds = append(componentIds, cRow.Id.Int64) } } @@ -320,7 +320,7 @@ var _ = Describe("Component", Label("database", "Component"), func() { First: &pageSize, After: nil, }, - Name: []*string{&componentRow.Name.String}, + CCRN: []*string{&componentRow.CCRN.String}, } entries, err := db.CountComponents(filter) By("throwing no error", func() { @@ -370,11 +370,11 @@ var _ = Describe("Component", Label("database", "Component"), func() { }) By("setting fields", func() { Expect(c[0].Id).To(BeEquivalentTo(component.Id)) - Expect(c[0].Name).To(BeEquivalentTo(component.Name)) + Expect(c[0].CCRN).To(BeEquivalentTo(component.CCRN)) Expect(c[0].Type).To(BeEquivalentTo(component.Type)) }) }) - It("does not insert component with existing name", func() { + It("does not insert component with existing ccrn", func() { componentRow := seedCollection.ComponentRows[0] component := componentRow.AsComponent() newComponent, err := db.CreateComponent(&component) @@ -395,10 +395,10 @@ var _ = Describe("Component", Label("database", "Component"), func() { BeforeEach(func() { seedCollection = seeder.SeedDbWithNFakeData(10) }) - It("can update name correctly", func() { + It("can update ccrn correctly", func() { component := seedCollection.ComponentRows[0].AsComponent() - component.Name = "NewName" + component.CCRN = "NewCCRN" err := db.UpdateComponent(&component) By("throwing no error", func() { @@ -418,7 +418,7 @@ var _ = Describe("Component", Label("database", "Component"), func() { }) By("setting fields", func() { Expect(c[0].Id).To(BeEquivalentTo(component.Id)) - Expect(c[0].Name).To(BeEquivalentTo(component.Name)) + Expect(c[0].CCRN).To(BeEquivalentTo(component.CCRN)) Expect(c[0].Type).To(BeEquivalentTo(component.Type)) }) }) @@ -445,7 +445,7 @@ var _ = Describe("Component", Label("database", "Component"), func() { }) By("setting fields", func() { Expect(c[0].Id).To(BeEquivalentTo(component.Id)) - Expect(c[0].Name).To(BeEquivalentTo(component.Name)) + Expect(c[0].CCRN).To(BeEquivalentTo(component.CCRN)) Expect(c[0].Type).To(BeEquivalentTo(component.Type)) }) }) diff --git a/internal/database/mariadb/component_version.go b/internal/database/mariadb/component_version.go index 10c84973..8f4ec7b5 100644 --- a/internal/database/mariadb/component_version.go +++ b/internal/database/mariadb/component_version.go @@ -5,9 +5,10 @@ package mariadb import ( "fmt" - "github.com/cloudoperators/heureka/internal/database" "strings" + "github.com/cloudoperators/heureka/internal/database" + "github.com/cloudoperators/heureka/internal/entity" "github.com/jmoiron/sqlx" "github.com/sirupsen/logrus" @@ -24,7 +25,7 @@ func (s *SqlDatabase) ensureComponentVersionFilter(f *entity.ComponentVersionFil }, Id: nil, IssueId: nil, - ComponentName: nil, + ComponentCCRN: nil, ComponentId: nil, } } @@ -42,7 +43,7 @@ func (s *SqlDatabase) getComponentVersionJoins(filter *entity.ComponentVersionFi if len(filter.IssueId) > 0 { joins = fmt.Sprintf("%s\n%s", joins, "LEFT JOIN ComponentVersionIssue CVI on CV.componentversion_id = CVI.componentversionissue_component_version_id") } - if len(filter.ComponentName) > 0 { + if len(filter.ComponentCCRN) > 0 { joins = fmt.Sprintf("%s\n%s", joins, "LEFT JOIN Component C on CV.componentversion_component_id = C.component_id") } return joins @@ -65,7 +66,7 @@ func (s *SqlDatabase) getComponentVersionFilterString(filter *entity.ComponentVe fl = append(fl, buildFilterQuery(filter.IssueId, "CVI.componentversionissue_issue_id = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.ComponentId, "CV.componentversion_component_id = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.Version, "CV.componentversion_version = ?", OP_OR)) - fl = append(fl, buildFilterQuery(filter.ComponentName, "C.component_name = ?", OP_OR)) + fl = append(fl, buildFilterQuery(filter.ComponentCCRN, "C.component_ccrn = ?", OP_OR)) fl = append(fl, "CV.componentversion_deleted_at IS NULL") return combineFilterQueries(fl, OP_AND) @@ -114,7 +115,7 @@ func (s *SqlDatabase) buildComponentVersionStatement(baseQuery string, filter *e filterParameters = buildQueryParameters(filterParameters, filter.IssueId) filterParameters = buildQueryParameters(filterParameters, filter.ComponentId) filterParameters = buildQueryParameters(filterParameters, filter.Version) - filterParameters = buildQueryParameters(filterParameters, filter.ComponentName) + filterParameters = buildQueryParameters(filterParameters, filter.ComponentCCRN) if withCursor { filterParameters = append(filterParameters, cursor.Value) filterParameters = append(filterParameters, cursor.Limit) diff --git a/internal/database/mariadb/component_version_test.go b/internal/database/mariadb/component_version_test.go index 342a6a8c..a2237a75 100644 --- a/internal/database/mariadb/component_version_test.go +++ b/internal/database/mariadb/component_version_test.go @@ -245,16 +245,16 @@ var _ = Describe("ComponentVersion", Label("database", "ComponentVersion"), func It("can filter by a version and component", func() { cv := seedCollection.ComponentVersionRows[rand.Intn(len(seedCollection.ComponentVersionRows))] - componentName := "" + componentCCRN := "" for _, cr := range seedCollection.ComponentRows { if cr.Id.Int64 == cv.ComponentId.Int64 { - componentName = cr.Name.String + componentCCRN = cr.CCRN.String } } filter := &entity.ComponentVersionFilter{ Version: []*string{&cv.Version.String}, - ComponentName: []*string{&componentName}, + ComponentCCRN: []*string{&componentCCRN}, } entries, err := db.GetComponentVersions(filter) diff --git a/internal/database/mariadb/entity.go b/internal/database/mariadb/entity.go index 12c78c89..a537bfe8 100644 --- a/internal/database/mariadb/entity.go +++ b/internal/database/mariadb/entity.go @@ -365,7 +365,7 @@ func (ivwr *IssueVariantWithRepository) AsIssueVariantEntry() entity.IssueVarian type ComponentRow struct { Id sql.NullInt64 `db:"component_id" json:"id"` - Name sql.NullString `db:"component_name" json:"name"` + CCRN sql.NullString `db:"component_ccrn" json:"ccrn"` Type sql.NullString `db:"component_type" json:"type"` CreatedAt sql.NullTime `db:"component_created_at" json:"created_at"` DeletedAt sql.NullTime `db:"component_deleted_at" json:"deleted_at,omitempty"` @@ -375,7 +375,7 @@ type ComponentRow struct { func (cr *ComponentRow) AsComponent() entity.Component { return entity.Component{ Id: GetInt64Value(cr.Id), - Name: GetStringValue(cr.Name), + CCRN: GetStringValue(cr.CCRN), Type: GetStringValue(cr.Type), CreatedAt: GetTimeValue(cr.CreatedAt), DeletedAt: GetTimeValue(cr.DeletedAt), @@ -385,7 +385,7 @@ func (cr *ComponentRow) AsComponent() entity.Component { func (cr *ComponentRow) FromComponent(c *entity.Component) { cr.Id = sql.NullInt64{Int64: c.Id, Valid: true} - cr.Name = sql.NullString{String: c.Name, Valid: true} + cr.CCRN = sql.NullString{String: c.CCRN, Valid: true} cr.Type = sql.NullString{String: c.Type, Valid: true} cr.CreatedAt = sql.NullTime{Time: c.CreatedAt, Valid: true} cr.DeletedAt = sql.NullTime{Time: c.DeletedAt, Valid: true} diff --git a/internal/database/mariadb/init/schema.sql b/internal/database/mariadb/init/schema.sql index 9a31141d..13df107b 100644 --- a/internal/database/mariadb/init/schema.sql +++ b/internal/database/mariadb/init/schema.sql @@ -9,15 +9,15 @@ create table if not exists Component ( component_id int unsigned auto_increment primary key, - component_name varchar(256) not null, + component_ccrn varchar(256) not null, component_type varchar(256) not null, component_created_at timestamp default current_timestamp() not null, component_deleted_at timestamp null, component_updated_at timestamp default current_timestamp() not null on update current_timestamp(), constraint id_UNIQUE unique (component_id), - constraint name_UNIQUE - unique (component_name) + constraint ccrn_UNIQUE + unique (component_ccrn) ); create table if not exists ComponentVersion diff --git a/internal/database/mariadb/issue_match.go b/internal/database/mariadb/issue_match.go index 60aaafde..a2b7da24 100644 --- a/internal/database/mariadb/issue_match.go +++ b/internal/database/mariadb/issue_match.go @@ -39,7 +39,7 @@ func (s *SqlDatabase) getIssueMatchFilterString(filter *entity.IssueMatchFilter) fl = append(fl, buildFilterQuery(filter.Status, "IM.issuematch_status = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.SupportGroupName, "SG.supportgroup_name = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.PrimaryName, "I.issue_primary_name = ?", OP_OR)) - fl = append(fl, buildFilterQuery(filter.ComponentName, "C.component_name = ?", OP_OR)) + fl = append(fl, buildFilterQuery(filter.ComponentCCRN, "C.component_ccrn = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.IssueType, "I.issue_type = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.Search, wildCardFilterQuery, OP_OR)) fl = append(fl, "IM.issuematch_deleted_at IS NULL") @@ -67,13 +67,13 @@ func (s *SqlDatabase) getIssueMatchJoins(filter *entity.IssueMatchFilter) string `) } - if len(filter.AffectedServiceCCRN) > 0 || len(filter.SupportGroupName) > 0 || len(filter.ComponentName) > 0 { + if len(filter.AffectedServiceCCRN) > 0 || len(filter.SupportGroupName) > 0 || len(filter.ComponentCCRN) > 0 { joins = fmt.Sprintf("%s\n%s", joins, ` LEFT JOIN ComponentInstance CI on CI.componentinstance_id = IM.issuematch_component_instance_id `) - if len(filter.ComponentName) > 0 { + if len(filter.ComponentCCRN) > 0 { joins = fmt.Sprintf("%s\n%s", joins, ` LEFT JOIN ComponentVersion CV on CV.componentversion_id = CI.componentinstance_component_version_id LEFT JOIN Component C on C.component_id = CV.componentversion_component_id @@ -173,7 +173,7 @@ func (s *SqlDatabase) buildIssueMatchStatement(baseQuery string, filter *entity. filterParameters = buildQueryParameters(filterParameters, filter.Status) filterParameters = buildQueryParameters(filterParameters, filter.SupportGroupName) filterParameters = buildQueryParameters(filterParameters, filter.PrimaryName) - filterParameters = buildQueryParameters(filterParameters, filter.ComponentName) + filterParameters = buildQueryParameters(filterParameters, filter.ComponentCCRN) filterParameters = buildQueryParameters(filterParameters, filter.IssueType) filterParameters = buildQueryParametersCount(filterParameters, filter.Search, wildCardFilterParamCount) diff --git a/internal/database/mariadb/test/fixture.go b/internal/database/mariadb/test/fixture.go index a619dd41..ed367891 100644 --- a/internal/database/mariadb/test/fixture.go +++ b/internal/database/mariadb/test/fixture.go @@ -928,9 +928,9 @@ func (s *DatabaseSeeder) InsertFakeSupportGroup(sg mariadb.SupportGroupRow) (int func (s *DatabaseSeeder) InsertFakeComponent(component mariadb.ComponentRow) (int64, error) { query := ` INSERT INTO Component ( - component_name, component_type + component_ccrn, component_type ) VALUES ( - :component_name, + :component_ccrn, :component_type )` return s.ExecPreparedNamed(query, component) @@ -1187,9 +1187,9 @@ func NewFakeSupportGroup() mariadb.SupportGroupRow { func NewFakeComponent() mariadb.ComponentRow { types := []string{"containerImage", "virtualMachineImage", "repository"} - name := fmt.Sprintf("%s-%d", gofakeit.AppName(), gofakeit.Number(0, 99999)) + ccrn := fmt.Sprintf("%s-%d", gofakeit.AppName(), gofakeit.Number(0, 99999)) return mariadb.ComponentRow{ - Name: sql.NullString{String: name, Valid: true}, + CCRN: sql.NullString{String: ccrn, Valid: true}, Type: sql.NullString{String: gofakeit.RandomString(types), Valid: true}, } } diff --git a/internal/e2e/component_query_test.go b/internal/e2e/component_query_test.go index 0837ed4f..07021eb7 100644 --- a/internal/e2e/component_query_test.go +++ b/internal/e2e/component_query_test.go @@ -225,7 +225,7 @@ var _ = Describe("Creating Component via API", Label("e2e", "Components"), func( req.Var("input", map[string]string{ "type": component.Type, - "name": component.Name, + "ccrn": component.CCRN, }) req.Header.Set("Cache-Control", "no-cache") @@ -238,7 +238,7 @@ var _ = Describe("Creating Component via API", Label("e2e", "Components"), func( logrus.WithError(err).WithField("request", req).Fatalln("Error while unmarshaling") } - Expect(*respData.Component.Name).To(Equal(component.Name)) + Expect(*respData.Component.Ccrn).To(Equal(component.CCRN)) Expect(respData.Component.Type.String()).To(Equal(component.Type)) }) }) @@ -288,11 +288,11 @@ var _ = Describe("Updating Component via API", Label("e2e", "Components"), func( req := graphql.NewRequest(str) component := seedCollection.ComponentRows[0].AsComponent() - component.Name = "NewName" + component.CCRN = "NewCCRN" req.Var("id", fmt.Sprintf("%d", component.Id)) req.Var("input", map[string]string{ - "name": component.Name, + "ccrn": component.CCRN, }) req.Header.Set("Cache-Control", "no-cache") @@ -305,7 +305,7 @@ var _ = Describe("Updating Component via API", Label("e2e", "Components"), func( logrus.WithError(err).WithField("request", req).Fatalln("Error while unmarshaling") } - Expect(*respData.Component.Name).To(Equal(component.Name)) + Expect(*respData.Component.Ccrn).To(Equal(component.CCRN)) }) }) }) diff --git a/internal/e2e/component_version_query_test.go b/internal/e2e/component_version_query_test.go index 92fa8dd9..0c96afb6 100644 --- a/internal/e2e/component_version_query_test.go +++ b/internal/e2e/component_version_query_test.go @@ -173,7 +173,7 @@ var _ = Describe("Getting ComponentVersions via API", Label("e2e", "ComponentVer if cv.Node.Component != nil { Expect(cv.Node.Component.ID).ToNot(BeNil(), "component has a ID set") - Expect(cv.Node.Component.Name).ToNot(BeNil(), "component has a name set") + Expect(cv.Node.Component.Ccrn).ToNot(BeNil(), "component has a ccrn set") Expect(cv.Node.Component.Type).ToNot(BeNil(), "component has a type set") } } diff --git a/internal/entity/component.go b/internal/entity/component.go index 28204808..45eff250 100644 --- a/internal/entity/component.go +++ b/internal/entity/component.go @@ -7,7 +7,7 @@ import "time" type Component struct { Id int64 `json:"id"` - Name string `json:"name"` + CCRN string `json:"ccrn"` Type string `json:"type"` CreatedAt time.Time `json:"created_at"` DeletedAt time.Time `json:"deleted_at,omitempty"` @@ -22,7 +22,7 @@ type ComponentResult struct { type ComponentFilter struct { Paginated - Name []*string `json:"name"` + CCRN []*string `json:"ccrn"` Id []*int64 `json:"id"` ComponentVersionId []*int64 `json:"component_version_id"` } diff --git a/internal/entity/component_version.go b/internal/entity/component_version.go index 2d23e336..6ea5d88b 100644 --- a/internal/entity/component_version.go +++ b/internal/entity/component_version.go @@ -9,7 +9,7 @@ type ComponentVersionFilter struct { Paginated Id []*int64 `json:"id"` IssueId []*int64 `json:"issue_id"` - ComponentName []*string `json:"component_name"` + ComponentCCRN []*string `json:"component_ccrn"` ComponentId []*int64 `json:"component_id"` Version []*string `json:"version"` } diff --git a/internal/entity/issue_match.go b/internal/entity/issue_match.go index 1d1a4d41..9d4618e5 100644 --- a/internal/entity/issue_match.go +++ b/internal/entity/issue_match.go @@ -67,7 +67,7 @@ type IssueMatchFilter struct { ComponentInstanceId []*int64 `json:"component_instance_id"` SupportGroupName []*string `json:"support_group_name"` Search []*string `json:"search"` - ComponentName []*string `json:"component_name"` + ComponentCCRN []*string `json:"component_ccrn"` PrimaryName []*string `json:"primary_name"` IssueType []*string `json:"issue_type"` } diff --git a/internal/entity/test/component.go b/internal/entity/test/component.go index 3b12ede3..867fae84 100644 --- a/internal/entity/test/component.go +++ b/internal/entity/test/component.go @@ -11,7 +11,7 @@ import ( func NewFakeComponentEntity() entity.Component { return entity.Component{ Id: int64(gofakeit.Number(1, 10000000)), - Name: gofakeit.Name(), + CCRN: gofakeit.Name(), Type: gofakeit.Word(), CreatedAt: gofakeit.Date(), DeletedAt: gofakeit.Date(), diff --git a/internal/mocks/mock_Database.go b/internal/mocks/mock_Database.go index a0a403f4..33355aab 100644 --- a/internal/mocks/mock_Database.go +++ b/internal/mocks/mock_Database.go @@ -3395,29 +3395,29 @@ func (_c *MockDatabase_GetAllUserIds_Call) RunAndReturn(run func(*entity.UserFil return _c } -// GetComponentInstances provides a mock function with given fields: _a0 -func (_m *MockDatabase) GetComponentInstances(_a0 *entity.ComponentInstanceFilter) ([]entity.ComponentInstance, error) { - ret := _m.Called(_a0) +// GetComponentCcrns provides a mock function with given fields: filter +func (_m *MockDatabase) GetComponentCcrns(filter *entity.ComponentFilter) ([]string, error) { + ret := _m.Called(filter) if len(ret) == 0 { - panic("no return value specified for GetComponentInstances") + panic("no return value specified for GetComponentCcrns") } - var r0 []entity.ComponentInstance + var r0 []string var r1 error - if rf, ok := ret.Get(0).(func(*entity.ComponentInstanceFilter) ([]entity.ComponentInstance, error)); ok { - return rf(_a0) + if rf, ok := ret.Get(0).(func(*entity.ComponentFilter) ([]string, error)); ok { + return rf(filter) } - if rf, ok := ret.Get(0).(func(*entity.ComponentInstanceFilter) []entity.ComponentInstance); ok { - r0 = rf(_a0) + if rf, ok := ret.Get(0).(func(*entity.ComponentFilter) []string); ok { + r0 = rf(filter) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).([]entity.ComponentInstance) + r0 = ret.Get(0).([]string) } } - if rf, ok := ret.Get(1).(func(*entity.ComponentInstanceFilter) error); ok { - r1 = rf(_a0) + if rf, ok := ret.Get(1).(func(*entity.ComponentFilter) error); ok { + r1 = rf(filter) } else { r1 = ret.Error(1) } @@ -3425,57 +3425,57 @@ func (_m *MockDatabase) GetComponentInstances(_a0 *entity.ComponentInstanceFilte return r0, r1 } -// MockDatabase_GetComponentInstances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetComponentInstances' -type MockDatabase_GetComponentInstances_Call struct { +// MockDatabase_GetComponentCcrns_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetComponentCcrns' +type MockDatabase_GetComponentCcrns_Call struct { *mock.Call } -// GetComponentInstances is a helper method to define mock.On call -// - _a0 *entity.ComponentInstanceFilter -func (_e *MockDatabase_Expecter) GetComponentInstances(_a0 interface{}) *MockDatabase_GetComponentInstances_Call { - return &MockDatabase_GetComponentInstances_Call{Call: _e.mock.On("GetComponentInstances", _a0)} +// GetComponentCcrns is a helper method to define mock.On call +// - filter *entity.ComponentFilter +func (_e *MockDatabase_Expecter) GetComponentCcrns(filter interface{}) *MockDatabase_GetComponentCcrns_Call { + return &MockDatabase_GetComponentCcrns_Call{Call: _e.mock.On("GetComponentCcrns", filter)} } -func (_c *MockDatabase_GetComponentInstances_Call) Run(run func(_a0 *entity.ComponentInstanceFilter)) *MockDatabase_GetComponentInstances_Call { +func (_c *MockDatabase_GetComponentCcrns_Call) Run(run func(filter *entity.ComponentFilter)) *MockDatabase_GetComponentCcrns_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.ComponentInstanceFilter)) + run(args[0].(*entity.ComponentFilter)) }) return _c } -func (_c *MockDatabase_GetComponentInstances_Call) Return(_a0 []entity.ComponentInstance, _a1 error) *MockDatabase_GetComponentInstances_Call { +func (_c *MockDatabase_GetComponentCcrns_Call) Return(_a0 []string, _a1 error) *MockDatabase_GetComponentCcrns_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockDatabase_GetComponentInstances_Call) RunAndReturn(run func(*entity.ComponentInstanceFilter) ([]entity.ComponentInstance, error)) *MockDatabase_GetComponentInstances_Call { +func (_c *MockDatabase_GetComponentCcrns_Call) RunAndReturn(run func(*entity.ComponentFilter) ([]string, error)) *MockDatabase_GetComponentCcrns_Call { _c.Call.Return(run) return _c } -// GetComponentNames provides a mock function with given fields: filter -func (_m *MockDatabase) GetComponentNames(filter *entity.ComponentFilter) ([]string, error) { - ret := _m.Called(filter) +// GetComponentInstances provides a mock function with given fields: _a0 +func (_m *MockDatabase) GetComponentInstances(_a0 *entity.ComponentInstanceFilter) ([]entity.ComponentInstance, error) { + ret := _m.Called(_a0) if len(ret) == 0 { - panic("no return value specified for GetComponentNames") + panic("no return value specified for GetComponentInstances") } - var r0 []string + var r0 []entity.ComponentInstance var r1 error - if rf, ok := ret.Get(0).(func(*entity.ComponentFilter) ([]string, error)); ok { - return rf(filter) + if rf, ok := ret.Get(0).(func(*entity.ComponentInstanceFilter) ([]entity.ComponentInstance, error)); ok { + return rf(_a0) } - if rf, ok := ret.Get(0).(func(*entity.ComponentFilter) []string); ok { - r0 = rf(filter) + if rf, ok := ret.Get(0).(func(*entity.ComponentInstanceFilter) []entity.ComponentInstance); ok { + r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).([]string) + r0 = ret.Get(0).([]entity.ComponentInstance) } } - if rf, ok := ret.Get(1).(func(*entity.ComponentFilter) error); ok { - r1 = rf(filter) + if rf, ok := ret.Get(1).(func(*entity.ComponentInstanceFilter) error); ok { + r1 = rf(_a0) } else { r1 = ret.Error(1) } @@ -3483,30 +3483,30 @@ func (_m *MockDatabase) GetComponentNames(filter *entity.ComponentFilter) ([]str return r0, r1 } -// MockDatabase_GetComponentNames_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetComponentNames' -type MockDatabase_GetComponentNames_Call struct { +// MockDatabase_GetComponentInstances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetComponentInstances' +type MockDatabase_GetComponentInstances_Call struct { *mock.Call } -// GetComponentNames is a helper method to define mock.On call -// - filter *entity.ComponentFilter -func (_e *MockDatabase_Expecter) GetComponentNames(filter interface{}) *MockDatabase_GetComponentNames_Call { - return &MockDatabase_GetComponentNames_Call{Call: _e.mock.On("GetComponentNames", filter)} +// GetComponentInstances is a helper method to define mock.On call +// - _a0 *entity.ComponentInstanceFilter +func (_e *MockDatabase_Expecter) GetComponentInstances(_a0 interface{}) *MockDatabase_GetComponentInstances_Call { + return &MockDatabase_GetComponentInstances_Call{Call: _e.mock.On("GetComponentInstances", _a0)} } -func (_c *MockDatabase_GetComponentNames_Call) Run(run func(filter *entity.ComponentFilter)) *MockDatabase_GetComponentNames_Call { +func (_c *MockDatabase_GetComponentInstances_Call) Run(run func(_a0 *entity.ComponentInstanceFilter)) *MockDatabase_GetComponentInstances_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.ComponentFilter)) + run(args[0].(*entity.ComponentInstanceFilter)) }) return _c } -func (_c *MockDatabase_GetComponentNames_Call) Return(_a0 []string, _a1 error) *MockDatabase_GetComponentNames_Call { +func (_c *MockDatabase_GetComponentInstances_Call) Return(_a0 []entity.ComponentInstance, _a1 error) *MockDatabase_GetComponentInstances_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockDatabase_GetComponentNames_Call) RunAndReturn(run func(*entity.ComponentFilter) ([]string, error)) *MockDatabase_GetComponentNames_Call { +func (_c *MockDatabase_GetComponentInstances_Call) RunAndReturn(run func(*entity.ComponentInstanceFilter) ([]entity.ComponentInstance, error)) *MockDatabase_GetComponentInstances_Call { _c.Call.Return(run) return _c } diff --git a/internal/mocks/mock_Heureka.go b/internal/mocks/mock_Heureka.go index ad81b9d7..e5d1ff35 100644 --- a/internal/mocks/mock_Heureka.go +++ b/internal/mocks/mock_Heureka.go @@ -2197,28 +2197,28 @@ func (_c *MockHeureka_ListActivities_Call) RunAndReturn(run func(*entity.Activit return _c } -// ListComponentInstances provides a mock function with given fields: _a0, _a1 -func (_m *MockHeureka) ListComponentInstances(_a0 *entity.ComponentInstanceFilter, _a1 *entity.ListOptions) (*entity.List[entity.ComponentInstanceResult], error) { +// ListComponentCcrns provides a mock function with given fields: _a0, _a1 +func (_m *MockHeureka) ListComponentCcrns(_a0 *entity.ComponentFilter, _a1 *entity.ListOptions) ([]string, error) { ret := _m.Called(_a0, _a1) if len(ret) == 0 { - panic("no return value specified for ListComponentInstances") + panic("no return value specified for ListComponentCcrns") } - var r0 *entity.List[entity.ComponentInstanceResult] + var r0 []string var r1 error - if rf, ok := ret.Get(0).(func(*entity.ComponentInstanceFilter, *entity.ListOptions) (*entity.List[entity.ComponentInstanceResult], error)); ok { + if rf, ok := ret.Get(0).(func(*entity.ComponentFilter, *entity.ListOptions) ([]string, error)); ok { return rf(_a0, _a1) } - if rf, ok := ret.Get(0).(func(*entity.ComponentInstanceFilter, *entity.ListOptions) *entity.List[entity.ComponentInstanceResult]); ok { + if rf, ok := ret.Get(0).(func(*entity.ComponentFilter, *entity.ListOptions) []string); ok { r0 = rf(_a0, _a1) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.List[entity.ComponentInstanceResult]) + r0 = ret.Get(0).([]string) } } - if rf, ok := ret.Get(1).(func(*entity.ComponentInstanceFilter, *entity.ListOptions) error); ok { + if rf, ok := ret.Get(1).(func(*entity.ComponentFilter, *entity.ListOptions) error); ok { r1 = rf(_a0, _a1) } else { r1 = ret.Error(1) @@ -2227,57 +2227,57 @@ func (_m *MockHeureka) ListComponentInstances(_a0 *entity.ComponentInstanceFilte return r0, r1 } -// MockHeureka_ListComponentInstances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListComponentInstances' -type MockHeureka_ListComponentInstances_Call struct { +// MockHeureka_ListComponentCcrns_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListComponentCcrns' +type MockHeureka_ListComponentCcrns_Call struct { *mock.Call } -// ListComponentInstances is a helper method to define mock.On call -// - _a0 *entity.ComponentInstanceFilter +// ListComponentCcrns is a helper method to define mock.On call +// - _a0 *entity.ComponentFilter // - _a1 *entity.ListOptions -func (_e *MockHeureka_Expecter) ListComponentInstances(_a0 interface{}, _a1 interface{}) *MockHeureka_ListComponentInstances_Call { - return &MockHeureka_ListComponentInstances_Call{Call: _e.mock.On("ListComponentInstances", _a0, _a1)} +func (_e *MockHeureka_Expecter) ListComponentCcrns(_a0 interface{}, _a1 interface{}) *MockHeureka_ListComponentCcrns_Call { + return &MockHeureka_ListComponentCcrns_Call{Call: _e.mock.On("ListComponentCcrns", _a0, _a1)} } -func (_c *MockHeureka_ListComponentInstances_Call) Run(run func(_a0 *entity.ComponentInstanceFilter, _a1 *entity.ListOptions)) *MockHeureka_ListComponentInstances_Call { +func (_c *MockHeureka_ListComponentCcrns_Call) Run(run func(_a0 *entity.ComponentFilter, _a1 *entity.ListOptions)) *MockHeureka_ListComponentCcrns_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.ComponentInstanceFilter), args[1].(*entity.ListOptions)) + run(args[0].(*entity.ComponentFilter), args[1].(*entity.ListOptions)) }) return _c } -func (_c *MockHeureka_ListComponentInstances_Call) Return(_a0 *entity.List[entity.ComponentInstanceResult], _a1 error) *MockHeureka_ListComponentInstances_Call { +func (_c *MockHeureka_ListComponentCcrns_Call) Return(_a0 []string, _a1 error) *MockHeureka_ListComponentCcrns_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockHeureka_ListComponentInstances_Call) RunAndReturn(run func(*entity.ComponentInstanceFilter, *entity.ListOptions) (*entity.List[entity.ComponentInstanceResult], error)) *MockHeureka_ListComponentInstances_Call { +func (_c *MockHeureka_ListComponentCcrns_Call) RunAndReturn(run func(*entity.ComponentFilter, *entity.ListOptions) ([]string, error)) *MockHeureka_ListComponentCcrns_Call { _c.Call.Return(run) return _c } -// ListComponentNames provides a mock function with given fields: _a0, _a1 -func (_m *MockHeureka) ListComponentNames(_a0 *entity.ComponentFilter, _a1 *entity.ListOptions) ([]string, error) { +// ListComponentInstances provides a mock function with given fields: _a0, _a1 +func (_m *MockHeureka) ListComponentInstances(_a0 *entity.ComponentInstanceFilter, _a1 *entity.ListOptions) (*entity.List[entity.ComponentInstanceResult], error) { ret := _m.Called(_a0, _a1) if len(ret) == 0 { - panic("no return value specified for ListComponentNames") + panic("no return value specified for ListComponentInstances") } - var r0 []string + var r0 *entity.List[entity.ComponentInstanceResult] var r1 error - if rf, ok := ret.Get(0).(func(*entity.ComponentFilter, *entity.ListOptions) ([]string, error)); ok { + if rf, ok := ret.Get(0).(func(*entity.ComponentInstanceFilter, *entity.ListOptions) (*entity.List[entity.ComponentInstanceResult], error)); ok { return rf(_a0, _a1) } - if rf, ok := ret.Get(0).(func(*entity.ComponentFilter, *entity.ListOptions) []string); ok { + if rf, ok := ret.Get(0).(func(*entity.ComponentInstanceFilter, *entity.ListOptions) *entity.List[entity.ComponentInstanceResult]); ok { r0 = rf(_a0, _a1) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).([]string) + r0 = ret.Get(0).(*entity.List[entity.ComponentInstanceResult]) } } - if rf, ok := ret.Get(1).(func(*entity.ComponentFilter, *entity.ListOptions) error); ok { + if rf, ok := ret.Get(1).(func(*entity.ComponentInstanceFilter, *entity.ListOptions) error); ok { r1 = rf(_a0, _a1) } else { r1 = ret.Error(1) @@ -2286,31 +2286,31 @@ func (_m *MockHeureka) ListComponentNames(_a0 *entity.ComponentFilter, _a1 *enti return r0, r1 } -// MockHeureka_ListComponentNames_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListComponentNames' -type MockHeureka_ListComponentNames_Call struct { +// MockHeureka_ListComponentInstances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListComponentInstances' +type MockHeureka_ListComponentInstances_Call struct { *mock.Call } -// ListComponentNames is a helper method to define mock.On call -// - _a0 *entity.ComponentFilter +// ListComponentInstances is a helper method to define mock.On call +// - _a0 *entity.ComponentInstanceFilter // - _a1 *entity.ListOptions -func (_e *MockHeureka_Expecter) ListComponentNames(_a0 interface{}, _a1 interface{}) *MockHeureka_ListComponentNames_Call { - return &MockHeureka_ListComponentNames_Call{Call: _e.mock.On("ListComponentNames", _a0, _a1)} +func (_e *MockHeureka_Expecter) ListComponentInstances(_a0 interface{}, _a1 interface{}) *MockHeureka_ListComponentInstances_Call { + return &MockHeureka_ListComponentInstances_Call{Call: _e.mock.On("ListComponentInstances", _a0, _a1)} } -func (_c *MockHeureka_ListComponentNames_Call) Run(run func(_a0 *entity.ComponentFilter, _a1 *entity.ListOptions)) *MockHeureka_ListComponentNames_Call { +func (_c *MockHeureka_ListComponentInstances_Call) Run(run func(_a0 *entity.ComponentInstanceFilter, _a1 *entity.ListOptions)) *MockHeureka_ListComponentInstances_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.ComponentFilter), args[1].(*entity.ListOptions)) + run(args[0].(*entity.ComponentInstanceFilter), args[1].(*entity.ListOptions)) }) return _c } -func (_c *MockHeureka_ListComponentNames_Call) Return(_a0 []string, _a1 error) *MockHeureka_ListComponentNames_Call { +func (_c *MockHeureka_ListComponentInstances_Call) Return(_a0 *entity.List[entity.ComponentInstanceResult], _a1 error) *MockHeureka_ListComponentInstances_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockHeureka_ListComponentNames_Call) RunAndReturn(run func(*entity.ComponentFilter, *entity.ListOptions) ([]string, error)) *MockHeureka_ListComponentNames_Call { +func (_c *MockHeureka_ListComponentInstances_Call) RunAndReturn(run func(*entity.ComponentInstanceFilter, *entity.ListOptions) (*entity.List[entity.ComponentInstanceResult], error)) *MockHeureka_ListComponentInstances_Call { _c.Call.Return(run) return _c } diff --git a/scanner/k8s-assets/client/generated.go b/scanner/k8s-assets/client/generated.go index 46f83b5d..39a85f18 100644 --- a/scanner/k8s-assets/client/generated.go +++ b/scanner/k8s-assets/client/generated.go @@ -24,15 +24,15 @@ func (v *AddServiceToSupportGroupResponse) GetAddServiceToSupportGroup() *Suppor // Component includes the requested fields of the GraphQL type Component. type Component struct { Id string `json:"id"` - Name string `json:"name"` + Ccrn string `json:"ccrn"` Type ComponentTypeValues `json:"type"` } // GetId returns Component.Id, and is useful for accessing the field via an interface. func (v *Component) GetId() string { return v.Id } -// GetName returns Component.Name, and is useful for accessing the field via an interface. -func (v *Component) GetName() string { return v.Name } +// GetCcrn returns Component.Ccrn, and is useful for accessing the field via an interface. +func (v *Component) GetCcrn() string { return v.Ccrn } // GetType returns Component.Type, and is useful for accessing the field via an interface. func (v *Component) GetType() ComponentTypeValues { return v.Type } @@ -58,11 +58,11 @@ type ComponentConnectionEdgesComponentEdge struct { func (v *ComponentConnectionEdgesComponentEdge) GetNode() *Component { return v.Node } type ComponentFilter struct { - ComponentName []string `json:"componentName"` + ComponentCcrn []string `json:"componentCcrn"` } -// GetComponentName returns ComponentFilter.ComponentName, and is useful for accessing the field via an interface. -func (v *ComponentFilter) GetComponentName() []string { return v.ComponentName } +// GetComponentCcrn returns ComponentFilter.ComponentCcrn, and is useful for accessing the field via an interface. +func (v *ComponentFilter) GetComponentCcrn() []string { return v.ComponentCcrn } // ComponentInstance includes the requested fields of the GraphQL type ComponentInstance. type ComponentInstance struct { @@ -164,7 +164,7 @@ func (v *ComponentVersionConnectionEdgesComponentVersionEdge) GetNode() *Compone type ComponentVersionFilter struct { ComponentId []string `json:"componentId"` - ComponentName []string `json:"componentName"` + ComponentCcrn []string `json:"componentCcrn"` IssueId []string `json:"issueId"` Version []string `json:"version"` } @@ -172,8 +172,8 @@ type ComponentVersionFilter struct { // GetComponentId returns ComponentVersionFilter.ComponentId, and is useful for accessing the field via an interface. func (v *ComponentVersionFilter) GetComponentId() []string { return v.ComponentId } -// GetComponentName returns ComponentVersionFilter.ComponentName, and is useful for accessing the field via an interface. -func (v *ComponentVersionFilter) GetComponentName() []string { return v.ComponentName } +// GetComponentCcrn returns ComponentVersionFilter.ComponentCcrn, and is useful for accessing the field via an interface. +func (v *ComponentVersionFilter) GetComponentCcrn() []string { return v.ComponentCcrn } // GetIssueId returns ComponentVersionFilter.IssueId, and is useful for accessing the field via an interface. func (v *ComponentVersionFilter) GetIssueId() []string { return v.IssueId } @@ -836,7 +836,7 @@ query ListComponents ($filter: ComponentFilter) { edges { node { id - name + ccrn type } } diff --git a/scanner/k8s-assets/client/query/component_query.graphql b/scanner/k8s-assets/client/query/component_query.graphql index 9b52a73d..de319f59 100644 --- a/scanner/k8s-assets/client/query/component_query.graphql +++ b/scanner/k8s-assets/client/query/component_query.graphql @@ -11,7 +11,7 @@ query ListComponents($filter: ComponentFilter) { # @genqlient(typename: "Component") node { id - name + ccrn type } } diff --git a/scanner/k8s-assets/processor/processor.go b/scanner/k8s-assets/processor/processor.go index c6b3dc87..1e0fee58 100644 --- a/scanner/k8s-assets/processor/processor.go +++ b/scanner/k8s-assets/processor/processor.go @@ -243,7 +243,7 @@ func (p *Processor) getComponentVersion(ctx context.Context, versionHash string) version := imageAndVersion[1] listComponentVersionFilter := client.ComponentVersionFilter{ - ComponentName: []string{image}, + ComponentCcrn: []string{image}, Version: []string{version}, } listCompoVersResp, err := client.ListComponentVersions(ctx, *p.Client, &listComponentVersionFilter) diff --git a/scanner/keppel/client/generated.go b/scanner/keppel/client/generated.go index 7af7b31d..d7b1a5c4 100644 --- a/scanner/keppel/client/generated.go +++ b/scanner/keppel/client/generated.go @@ -24,15 +24,15 @@ func (v *AddComponentVersionToIssueResponse) GetAddComponentVersionToIssue() *Is // Component includes the requested fields of the GraphQL type Component. type Component struct { Id string `json:"id"` - Name string `json:"name"` + Ccrn string `json:"ccrn"` Type ComponentTypeValues `json:"type"` } // GetId returns Component.Id, and is useful for accessing the field via an interface. func (v *Component) GetId() string { return v.Id } -// GetName returns Component.Name, and is useful for accessing the field via an interface. -func (v *Component) GetName() string { return v.Name } +// GetCcrn returns Component.Ccrn, and is useful for accessing the field via an interface. +func (v *Component) GetCcrn() string { return v.Ccrn } // GetType returns Component.Type, and is useful for accessing the field via an interface. func (v *Component) GetType() ComponentTypeValues { return v.Type } @@ -54,19 +54,19 @@ type ComponentConnectionEdgesComponentEdge struct { func (v *ComponentConnectionEdgesComponentEdge) GetNode() *Component { return v.Node } type ComponentFilter struct { - ComponentName []string `json:"componentName"` + ComponentCcrn []string `json:"componentCcrn"` } -// GetComponentName returns ComponentFilter.ComponentName, and is useful for accessing the field via an interface. -func (v *ComponentFilter) GetComponentName() []string { return v.ComponentName } +// GetComponentCcrn returns ComponentFilter.ComponentCcrn, and is useful for accessing the field via an interface. +func (v *ComponentFilter) GetComponentCcrn() []string { return v.ComponentCcrn } type ComponentInput struct { - Name string `json:"name"` + Ccrn string `json:"ccrn"` Type ComponentTypeValues `json:"type"` } -// GetName returns ComponentInput.Name, and is useful for accessing the field via an interface. -func (v *ComponentInput) GetName() string { return v.Name } +// GetCcrn returns ComponentInput.Ccrn, and is useful for accessing the field via an interface. +func (v *ComponentInput) GetCcrn() string { return v.Ccrn } // GetType returns ComponentInput.Type, and is useful for accessing the field via an interface. func (v *ComponentInput) GetType() ComponentTypeValues { return v.Type } @@ -116,10 +116,18 @@ func (v *ComponentVersionConnectionEdgesComponentVersionEdge) GetNode() *Compone } type ComponentVersionFilter struct { - IssueId []string `json:"issueId"` - Version []string `json:"version"` + ComponentId []string `json:"componentId"` + ComponentCcrn []string `json:"componentCcrn"` + IssueId []string `json:"issueId"` + Version []string `json:"version"` } +// GetComponentId returns ComponentVersionFilter.ComponentId, and is useful for accessing the field via an interface. +func (v *ComponentVersionFilter) GetComponentId() []string { return v.ComponentId } + +// GetComponentCcrn returns ComponentVersionFilter.ComponentCcrn, and is useful for accessing the field via an interface. +func (v *ComponentVersionFilter) GetComponentCcrn() []string { return v.ComponentCcrn } + // GetIssueId returns ComponentVersionFilter.IssueId, and is useful for accessing the field via an interface. func (v *ComponentVersionFilter) GetIssueId() []string { return v.IssueId } @@ -403,7 +411,7 @@ const CreateComponent_Operation = ` mutation CreateComponent ($input: ComponentInput!) { createComponent(input: $input) { id - name + ccrn type } } @@ -560,7 +568,7 @@ query ListComponents ($filter: ComponentFilter, $first: Int) { edges { node { id - name + ccrn type } } diff --git a/scanner/keppel/client/query/createComponent.graphql b/scanner/keppel/client/query/createComponent.graphql index 33849abf..6e4824b0 100644 --- a/scanner/keppel/client/query/createComponent.graphql +++ b/scanner/keppel/client/query/createComponent.graphql @@ -7,7 +7,7 @@ mutation CreateComponent($input: ComponentInput!) { input: $input ) { id - name + ccrn type } } \ No newline at end of file diff --git a/scanner/keppel/client/query/listComponents.graphql b/scanner/keppel/client/query/listComponents.graphql index 8e4063e9..1036cdbf 100644 --- a/scanner/keppel/client/query/listComponents.graphql +++ b/scanner/keppel/client/query/listComponents.graphql @@ -11,7 +11,7 @@ query ListComponents($filter: ComponentFilter, $first: Int) { # @genqlient(typename: "Component") node { id - name + ccrn type } } diff --git a/scanner/keppel/processor/processor.go b/scanner/keppel/processor/processor.go index 68dd44e2..f14a7370 100644 --- a/scanner/keppel/processor/processor.go +++ b/scanner/keppel/processor/processor.go @@ -28,7 +28,7 @@ func NewProcessor(cfg Config) *Processor { func (p *Processor) ProcessRepository(registry string, account models.Account, repository models.Repository) (*client.Component, error) { r, err := client.CreateComponent(context.Background(), *p.Client, &client.ComponentInput{ - Name: fmt.Sprintf("%s/%s/%s", registry, account.Name, repository.Name), + Ccrn: fmt.Sprintf("%s/%s/%s", registry, account.Name, repository.Name), Type: client.ComponentTypeValuesContainerimage, }) @@ -111,9 +111,9 @@ func (p *Processor) ProcessReport(report models.TrivyReport, componentVersionId } } -func (p *Processor) GetComponent(name string) (*client.Component, error) { +func (p *Processor) GetComponent(ccrn string) (*client.Component, error) { r, err := client.ListComponents(context.Background(), *p.Client, &client.ComponentFilter{ - ComponentName: []string{name}, + ComponentCcrn: []string{ccrn}, }, 1) if err != nil { From 4719633cffed2b44d614a1c1b37c47875faaa894 Mon Sep 17 00:00:00 2001 From: BlakePatterson Date: Fri, 11 Oct 2024 17:44:48 -0400 Subject: [PATCH 03/21] chore(refactor): update supportgroup to use ccrn throughout repo --- internal/api/graphql/gqlgen.yml | 4 +- .../api/graphql/graph/baseResolver/common.go | 6 +- .../graphql/graph/baseResolver/issue_match.go | 2 +- .../api/graphql/graph/baseResolver/service.go | 4 +- .../graph/baseResolver/support_group.go | 18 +- internal/api/graphql/graph/generated.go | 158 +++++++++--------- internal/api/graphql/graph/model/models.go | 4 +- .../api/graphql/graph/model/models_gen.go | 14 +- .../queryCollection/activity/full.graphql | 2 +- .../graph/queryCollection/issue/full.graphql | 2 +- .../service/directRelations.graphql | 2 +- ...ames.graphql => supportGroupCcrns.graphql} | 2 +- .../supportGroup/addService.graphql | 2 +- .../supportGroup/create.graphql | 2 +- .../supportGroup/directRelations.graphql | 2 +- .../supportGroup/minimal.graphql | 2 +- .../supportGroup/removeService.graphql | 2 +- .../supportGroup/update.graphql | 2 +- .../user/directRelations.graphql | 2 +- .../resolver/issue_match_filter_value.go | 8 +- .../graphql/graph/resolver/service_filter.go | 8 +- .../graphql/graph/schema/issue_match.graphqls | 2 +- .../schema/issue_match_filter_value.graphqls | 2 +- .../api/graphql/graph/schema/service.graphqls | 2 +- .../graph/schema/service_filter.graphqls | 2 +- .../graph/schema/support_group.graphqls | 6 +- internal/app/service/service_handler_test.go | 2 +- .../support_group/support_group_handler.go | 18 +- .../support_group_handler_events.go | 10 +- .../support_group_handler_interface.go | 2 +- .../support_group_handler_test.go | 28 ++-- internal/database/interface.go | 2 +- internal/database/mariadb/entity.go | 6 +- internal/database/mariadb/init/schema.sql | 6 +- internal/database/mariadb/issue_match.go | 10 +- internal/database/mariadb/issue_match_test.go | 2 +- internal/database/mariadb/service.go | 10 +- internal/database/mariadb/service_test.go | 4 +- internal/database/mariadb/support_group.go | 26 +-- .../database/mariadb/support_group_test.go | 58 +++---- internal/database/mariadb/test/fixture.go | 8 +- internal/e2e/service_filter_query_test.go | 24 +-- internal/e2e/service_query_test.go | 2 +- internal/e2e/support_group_query_test.go | 14 +- internal/e2e/user_query_test.go | 2 +- internal/entity/issue_match.go | 2 +- internal/entity/service.go | 2 +- internal/entity/support_group.go | 4 +- internal/entity/test/support_group.go | 2 +- internal/mocks/mock_Database.go | 22 +-- internal/mocks/mock_Heureka.go | 22 +-- scanner/k8s-assets/client/generated.go | 28 ++-- .../query/addServiceToSupportGroup.graphql | 2 +- .../client/query/support_group_create.graphql | 2 +- scanner/k8s-assets/processor/processor.go | 4 +- 55 files changed, 293 insertions(+), 293 deletions(-) rename internal/api/graphql/graph/queryCollection/serviceFilter/{supportGroupNames.graphql => supportGroupCcrns.graphql} (85%) diff --git a/internal/api/graphql/gqlgen.yml b/internal/api/graphql/gqlgen.yml index 20a0e81f..67187d31 100644 --- a/internal/api/graphql/gqlgen.yml +++ b/internal/api/graphql/gqlgen.yml @@ -205,7 +205,7 @@ models: resolver: true componentCcrn: resolver: true - supportGroupName: + supportGroupCcrn: resolver: true ServiceFilterValue: fields: @@ -215,5 +215,5 @@ models: resolver: true userName: resolver: true - supportGroupName: + supportGroupCcrn: resolver: true \ No newline at end of file diff --git a/internal/api/graphql/graph/baseResolver/common.go b/internal/api/graphql/graph/baseResolver/common.go index 948808c8..02f853d9 100644 --- a/internal/api/graphql/graph/baseResolver/common.go +++ b/internal/api/graphql/graph/baseResolver/common.go @@ -15,7 +15,7 @@ import ( var ( FilterDisplayServiceCcrn string = "Service CCRN" - FilterDisplaySupportGroupName string = "Support Group Name" + FilterDisplaySupportGroupCcrn string = "Support Group CCRN" FilterDisplayUserName string = "User Name" FilterDisplayUniqueUserId string = "Unique User ID" FilterDisplayComponentCcrn string = "Component CCRN" @@ -28,7 +28,7 @@ var ( ServiceFilterUniqueUserId string = "uniqueUserId" ServiceFilterType string = "type" ServiceFilterUserName string = "userName" - ServiceFilterSupportGroupName string = "supportGroupName" + ServiceFilterSupportGroupCcrn string = "supportGroupCcrn" IssueMatchFilterPrimaryName string = "primaryName" IssueMatchFilterComponentCcrn string = "componentCcrn" @@ -36,7 +36,7 @@ var ( IssueMatchFilterStatus string = "status" IssueMatchFilterSeverity string = "severity" IssueMatchFilterAffectedService string = "affectedService" - IssueMatchFilterSupportGroupName string = "supportGroupName" + IssueMatchFilterSupportGroupCcrn string = "supportGroupCcrn" ) type ResolverError struct { diff --git a/internal/api/graphql/graph/baseResolver/issue_match.go b/internal/api/graphql/graph/baseResolver/issue_match.go index 6330e4ea..5ae2aa9f 100644 --- a/internal/api/graphql/graph/baseResolver/issue_match.go +++ b/internal/api/graphql/graph/baseResolver/issue_match.go @@ -108,7 +108,7 @@ func IssueMatchBaseResolver(app app.Heureka, ctx context.Context, filter *model. AffectedServiceCCRN: filter.AffectedService, Status: lo.Map(filter.Status, func(item *model.IssueMatchStatusValues, _ int) *string { return pointer.String(item.String()) }), SeverityValue: lo.Map(filter.Severity, func(item *model.SeverityValues, _ int) *string { return pointer.String(item.String()) }), - SupportGroupName: filter.SupportGroupName, + SupportGroupCCRN: filter.SupportGroupCcrn, IssueId: issueId, EvidenceId: eId, ComponentInstanceId: ciId, diff --git a/internal/api/graphql/graph/baseResolver/service.go b/internal/api/graphql/graph/baseResolver/service.go index 7e110991..e3614a51 100644 --- a/internal/api/graphql/graph/baseResolver/service.go +++ b/internal/api/graphql/graph/baseResolver/service.go @@ -96,7 +96,7 @@ func ServiceBaseResolver(app app.Heureka, ctx context.Context, filter *model.Ser f := &entity.ServiceFilter{ Paginated: entity.Paginated{First: first, After: afterId}, - SupportGroupName: filter.SupportGroupName, + SupportGroupCCRN: filter.SupportGroupCcrn, CCRN: filter.ServiceCcrn, OwnerName: filter.UserName, OwnerId: ownerId, @@ -156,7 +156,7 @@ func ServiceCcrnBaseResolver(app app.Heureka, ctx context.Context, filter *model f := &entity.ServiceFilter{ Paginated: entity.Paginated{}, - SupportGroupName: filter.SupportGroupName, + SupportGroupCCRN: filter.SupportGroupCcrn, CCRN: filter.ServiceCcrn, OwnerName: filter.UserName, } diff --git a/internal/api/graphql/graph/baseResolver/support_group.go b/internal/api/graphql/graph/baseResolver/support_group.go index 649271e6..8a174e67 100644 --- a/internal/api/graphql/graph/baseResolver/support_group.go +++ b/internal/api/graphql/graph/baseResolver/support_group.go @@ -52,7 +52,7 @@ func SupportGroupBaseResolver(app app.Heureka, ctx context.Context, filter *mode Paginated: entity.Paginated{First: first, After: afterId}, ServiceId: serviceId, UserId: userId, - Name: filter.SupportGroupName, + CCRN: filter.SupportGroupCcrn, } opt := GetListOptions(requestedFields) @@ -87,11 +87,11 @@ func SupportGroupBaseResolver(app app.Heureka, ctx context.Context, filter *mode return &connection, nil } -func SupportGroupNameBaseResolver(app app.Heureka, ctx context.Context, filter *model.SupportGroupFilter) (*model.FilterItem, error) { +func SupportGroupCcrnBaseResolver(app app.Heureka, ctx context.Context, filter *model.SupportGroupFilter) (*model.FilterItem, error) { requestedFields := GetPreloads(ctx) logrus.WithFields(logrus.Fields{ "requestedFields": requestedFields, - }).Debug("Called SupportGroupNameBaseResolver") + }).Debug("Called SupportGroupCcrnBaseResolver") var err error if filter == nil { @@ -103,23 +103,23 @@ func SupportGroupNameBaseResolver(app app.Heureka, ctx context.Context, filter * userIds, err = util.ConvertStrToIntSlice(filter.UserIds) if err != nil { - logrus.WithField("Filter", filter).Error("SupportGroupNameBaseResolver: Error while parsing 'UserIds'") - return nil, NewResolverError("SupportGroupNameBaseResolver", "Bad Request - unable to parse 'UserIds'") + logrus.WithField("Filter", filter).Error("SupportGroupCcrnBaseResolver: Error while parsing 'UserIds'") + return nil, NewResolverError("SupportGroupCcrnBaseResolver", "Bad Request - unable to parse 'UserIds'") } } f := &entity.SupportGroupFilter{ Paginated: entity.Paginated{}, UserId: userIds, - Name: filter.SupportGroupName, + CCRN: filter.SupportGroupCcrn, } opt := GetListOptions(requestedFields) - names, err := app.ListSupportGroupNames(f, opt) + names, err := app.ListSupportGroupCcrns(f, opt) if err != nil { - return nil, NewResolverError("SupportGroupNameBaseResolver", err.Error()) + return nil, NewResolverError("SupportGroupCcrnBaseResolver", err.Error()) } var pointerNames []*string @@ -129,7 +129,7 @@ func SupportGroupNameBaseResolver(app app.Heureka, ctx context.Context, filter * } filterItem := model.FilterItem{ - DisplayName: &FilterDisplaySupportGroupName, + DisplayName: &FilterDisplaySupportGroupCcrn, Values: pointerNames, } diff --git a/internal/api/graphql/graph/generated.go b/internal/api/graphql/graph/generated.go index d3b13912..0be06feb 100644 --- a/internal/api/graphql/graph/generated.go +++ b/internal/api/graphql/graph/generated.go @@ -306,7 +306,7 @@ type ComplexityRoot struct { PrimaryName func(childComplexity int, filter *model.IssueFilter) int Severity func(childComplexity int) int Status func(childComplexity int) int - SupportGroupName func(childComplexity int, filter *model.SupportGroupFilter) int + SupportGroupCcrn func(childComplexity int, filter *model.SupportGroupFilter) int } IssueMetadata struct { @@ -485,7 +485,7 @@ type ComplexityRoot struct { ServiceFilterValue struct { ServiceCcrn func(childComplexity int, filter *model.ServiceFilter) int - SupportGroupName func(childComplexity int, filter *model.SupportGroupFilter) int + SupportGroupCcrn func(childComplexity int, filter *model.SupportGroupFilter) int UniqueUserID func(childComplexity int, filter *model.UserFilter) int UserName func(childComplexity int, filter *model.UserFilter) int } @@ -497,8 +497,8 @@ type ComplexityRoot struct { } SupportGroup struct { + Ccrn func(childComplexity int) int ID func(childComplexity int) int - Name func(childComplexity int) int Services func(childComplexity int, filter *model.ServiceFilter, first *int, after *string) int Users func(childComplexity int, filter *model.UserFilter, first *int, after *string) int } @@ -586,7 +586,7 @@ type IssueMatchFilterValueResolver interface { PrimaryName(ctx context.Context, obj *model.IssueMatchFilterValue, filter *model.IssueFilter) (*model.FilterItem, error) AffectedService(ctx context.Context, obj *model.IssueMatchFilterValue, filter *model.ServiceFilter) (*model.FilterItem, error) ComponentCcrn(ctx context.Context, obj *model.IssueMatchFilterValue, filter *model.ComponentFilter) (*model.FilterItem, error) - SupportGroupName(ctx context.Context, obj *model.IssueMatchFilterValue, filter *model.SupportGroupFilter) (*model.FilterItem, error) + SupportGroupCcrn(ctx context.Context, obj *model.IssueMatchFilterValue, filter *model.SupportGroupFilter) (*model.FilterItem, error) } type IssueRepositoryResolver interface { IssueVariants(ctx context.Context, obj *model.IssueRepository, filter *model.IssueVariantFilter, first *int, after *string) (*model.IssueVariantConnection, error) @@ -682,7 +682,7 @@ type ServiceFilterValueResolver interface { ServiceCcrn(ctx context.Context, obj *model.ServiceFilterValue, filter *model.ServiceFilter) (*model.FilterItem, error) UniqueUserID(ctx context.Context, obj *model.ServiceFilterValue, filter *model.UserFilter) (*model.FilterItem, error) UserName(ctx context.Context, obj *model.ServiceFilterValue, filter *model.UserFilter) (*model.FilterItem, error) - SupportGroupName(ctx context.Context, obj *model.ServiceFilterValue, filter *model.SupportGroupFilter) (*model.FilterItem, error) + SupportGroupCcrn(ctx context.Context, obj *model.ServiceFilterValue, filter *model.SupportGroupFilter) (*model.FilterItem, error) } type SupportGroupResolver interface { Users(ctx context.Context, obj *model.SupportGroup, filter *model.UserFilter, first *int, after *string) (*model.UserConnection, error) @@ -1857,17 +1857,17 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return e.complexity.IssueMatchFilterValue.Status(childComplexity), true - case "IssueMatchFilterValue.supportGroupName": - if e.complexity.IssueMatchFilterValue.SupportGroupName == nil { + case "IssueMatchFilterValue.supportGroupCcrn": + if e.complexity.IssueMatchFilterValue.SupportGroupCcrn == nil { break } - args, err := ec.field_IssueMatchFilterValue_supportGroupName_args(context.TODO(), rawArgs) + args, err := ec.field_IssueMatchFilterValue_supportGroupCcrn_args(context.TODO(), rawArgs) if err != nil { return 0, false } - return e.complexity.IssueMatchFilterValue.SupportGroupName(childComplexity, args["filter"].(*model.SupportGroupFilter)), true + return e.complexity.IssueMatchFilterValue.SupportGroupCcrn(childComplexity, args["filter"].(*model.SupportGroupFilter)), true case "IssueMetadata.activityCount": if e.complexity.IssueMetadata.ActivityCount == nil { @@ -3180,17 +3180,17 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return e.complexity.ServiceFilterValue.ServiceCcrn(childComplexity, args["filter"].(*model.ServiceFilter)), true - case "ServiceFilterValue.supportGroupName": - if e.complexity.ServiceFilterValue.SupportGroupName == nil { + case "ServiceFilterValue.supportGroupCcrn": + if e.complexity.ServiceFilterValue.SupportGroupCcrn == nil { break } - args, err := ec.field_ServiceFilterValue_supportGroupName_args(context.TODO(), rawArgs) + args, err := ec.field_ServiceFilterValue_supportGroupCcrn_args(context.TODO(), rawArgs) if err != nil { return 0, false } - return e.complexity.ServiceFilterValue.SupportGroupName(childComplexity, args["filter"].(*model.SupportGroupFilter)), true + return e.complexity.ServiceFilterValue.SupportGroupCcrn(childComplexity, args["filter"].(*model.SupportGroupFilter)), true case "ServiceFilterValue.uniqueUserId": if e.complexity.ServiceFilterValue.UniqueUserID == nil { @@ -3237,19 +3237,19 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return e.complexity.Severity.Value(childComplexity), true - case "SupportGroup.id": - if e.complexity.SupportGroup.ID == nil { + case "SupportGroup.ccrn": + if e.complexity.SupportGroup.Ccrn == nil { break } - return e.complexity.SupportGroup.ID(childComplexity), true + return e.complexity.SupportGroup.Ccrn(childComplexity), true - case "SupportGroup.name": - if e.complexity.SupportGroup.Name == nil { + case "SupportGroup.id": + if e.complexity.SupportGroup.ID == nil { break } - return e.complexity.SupportGroup.Name(childComplexity), true + return e.complexity.SupportGroup.ID(childComplexity), true case "SupportGroup.services": if e.complexity.SupportGroup.Services == nil { @@ -4382,17 +4382,17 @@ func (ec *executionContext) field_IssueMatchFilterValue_primaryName_argsFilter( return zeroVal, nil } -func (ec *executionContext) field_IssueMatchFilterValue_supportGroupName_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_IssueMatchFilterValue_supportGroupCcrn_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - arg0, err := ec.field_IssueMatchFilterValue_supportGroupName_argsFilter(ctx, rawArgs) + arg0, err := ec.field_IssueMatchFilterValue_supportGroupCcrn_argsFilter(ctx, rawArgs) if err != nil { return nil, err } args["filter"] = arg0 return args, nil } -func (ec *executionContext) field_IssueMatchFilterValue_supportGroupName_argsFilter( +func (ec *executionContext) field_IssueMatchFilterValue_supportGroupCcrn_argsFilter( ctx context.Context, rawArgs map[string]interface{}, ) (*model.SupportGroupFilter, error) { @@ -8940,17 +8940,17 @@ func (ec *executionContext) field_ServiceFilterValue_serviceCcrn_argsFilter( return zeroVal, nil } -func (ec *executionContext) field_ServiceFilterValue_supportGroupName_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_ServiceFilterValue_supportGroupCcrn_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - arg0, err := ec.field_ServiceFilterValue_supportGroupName_argsFilter(ctx, rawArgs) + arg0, err := ec.field_ServiceFilterValue_supportGroupCcrn_argsFilter(ctx, rawArgs) if err != nil { return nil, err } args["filter"] = arg0 return args, nil } -func (ec *executionContext) field_ServiceFilterValue_supportGroupName_argsFilter( +func (ec *executionContext) field_ServiceFilterValue_supportGroupCcrn_argsFilter( ctx context.Context, rawArgs map[string]interface{}, ) (*model.SupportGroupFilter, error) { @@ -17093,8 +17093,8 @@ func (ec *executionContext) fieldContext_IssueMatchFilterValue_componentCcrn(ctx return fc, nil } -func (ec *executionContext) _IssueMatchFilterValue_supportGroupName(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatchFilterValue) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatchFilterValue_supportGroupName(ctx, field) +func (ec *executionContext) _IssueMatchFilterValue_supportGroupCcrn(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatchFilterValue) (ret graphql.Marshaler) { + fc, err := ec.fieldContext_IssueMatchFilterValue_supportGroupCcrn(ctx, field) if err != nil { return graphql.Null } @@ -17107,7 +17107,7 @@ func (ec *executionContext) _IssueMatchFilterValue_supportGroupName(ctx context. }() resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { ctx = rctx // use context from middleware stack in children - return ec.resolvers.IssueMatchFilterValue().SupportGroupName(rctx, obj, fc.Args["filter"].(*model.SupportGroupFilter)) + return ec.resolvers.IssueMatchFilterValue().SupportGroupCcrn(rctx, obj, fc.Args["filter"].(*model.SupportGroupFilter)) }) if err != nil { ec.Error(ctx, err) @@ -17121,7 +17121,7 @@ func (ec *executionContext) _IssueMatchFilterValue_supportGroupName(ctx context. return ec.marshalOFilterItem2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐFilterItem(ctx, field.Selections, res) } -func (ec *executionContext) fieldContext_IssueMatchFilterValue_supportGroupName(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { +func (ec *executionContext) fieldContext_IssueMatchFilterValue_supportGroupCcrn(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { fc = &graphql.FieldContext{ Object: "IssueMatchFilterValue", Field: field, @@ -17146,7 +17146,7 @@ func (ec *executionContext) fieldContext_IssueMatchFilterValue_supportGroupName( } }() ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_IssueMatchFilterValue_supportGroupName_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { + if fc.Args, err = ec.field_IssueMatchFilterValue_supportGroupCcrn_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { ec.Error(ctx, err) return fc, err } @@ -19197,8 +19197,8 @@ func (ec *executionContext) fieldContext_Mutation_createSupportGroup(ctx context switch field.Name { case "id": return ec.fieldContext_SupportGroup_id(ctx, field) - case "name": - return ec.fieldContext_SupportGroup_name(ctx, field) + case "ccrn": + return ec.fieldContext_SupportGroup_ccrn(ctx, field) case "users": return ec.fieldContext_SupportGroup_users(ctx, field) case "services": @@ -19262,8 +19262,8 @@ func (ec *executionContext) fieldContext_Mutation_updateSupportGroup(ctx context switch field.Name { case "id": return ec.fieldContext_SupportGroup_id(ctx, field) - case "name": - return ec.fieldContext_SupportGroup_name(ctx, field) + case "ccrn": + return ec.fieldContext_SupportGroup_ccrn(ctx, field) case "users": return ec.fieldContext_SupportGroup_users(ctx, field) case "services": @@ -19382,8 +19382,8 @@ func (ec *executionContext) fieldContext_Mutation_addServiceToSupportGroup(ctx c switch field.Name { case "id": return ec.fieldContext_SupportGroup_id(ctx, field) - case "name": - return ec.fieldContext_SupportGroup_name(ctx, field) + case "ccrn": + return ec.fieldContext_SupportGroup_ccrn(ctx, field) case "users": return ec.fieldContext_SupportGroup_users(ctx, field) case "services": @@ -19447,8 +19447,8 @@ func (ec *executionContext) fieldContext_Mutation_removeServiceFromSupportGroup( switch field.Name { case "id": return ec.fieldContext_SupportGroup_id(ctx, field) - case "name": - return ec.fieldContext_SupportGroup_name(ctx, field) + case "ccrn": + return ec.fieldContext_SupportGroup_ccrn(ctx, field) case "users": return ec.fieldContext_SupportGroup_users(ctx, field) case "services": @@ -19512,8 +19512,8 @@ func (ec *executionContext) fieldContext_Mutation_addUserToSupportGroup(ctx cont switch field.Name { case "id": return ec.fieldContext_SupportGroup_id(ctx, field) - case "name": - return ec.fieldContext_SupportGroup_name(ctx, field) + case "ccrn": + return ec.fieldContext_SupportGroup_ccrn(ctx, field) case "users": return ec.fieldContext_SupportGroup_users(ctx, field) case "services": @@ -19577,8 +19577,8 @@ func (ec *executionContext) fieldContext_Mutation_removeUserFromSupportGroup(ctx switch field.Name { case "id": return ec.fieldContext_SupportGroup_id(ctx, field) - case "name": - return ec.fieldContext_SupportGroup_name(ctx, field) + case "ccrn": + return ec.fieldContext_SupportGroup_ccrn(ctx, field) case "users": return ec.fieldContext_SupportGroup_users(ctx, field) case "services": @@ -23960,8 +23960,8 @@ func (ec *executionContext) fieldContext_Query_ServiceFilterValues(_ context.Con return ec.fieldContext_ServiceFilterValue_uniqueUserId(ctx, field) case "userName": return ec.fieldContext_ServiceFilterValue_userName(ctx, field) - case "supportGroupName": - return ec.fieldContext_ServiceFilterValue_supportGroupName(ctx, field) + case "supportGroupCcrn": + return ec.fieldContext_ServiceFilterValue_supportGroupCcrn(ctx, field) } return nil, fmt.Errorf("no field named %q was found under type ServiceFilterValue", field.Name) }, @@ -24017,8 +24017,8 @@ func (ec *executionContext) fieldContext_Query_IssueMatchFilterValues(_ context. return ec.fieldContext_IssueMatchFilterValue_affectedService(ctx, field) case "componentCcrn": return ec.fieldContext_IssueMatchFilterValue_componentCcrn(ctx, field) - case "supportGroupName": - return ec.fieldContext_IssueMatchFilterValue_supportGroupName(ctx, field) + case "supportGroupCcrn": + return ec.fieldContext_IssueMatchFilterValue_supportGroupCcrn(ctx, field) } return nil, fmt.Errorf("no field named %q was found under type IssueMatchFilterValue", field.Name) }, @@ -25010,8 +25010,8 @@ func (ec *executionContext) fieldContext_ServiceFilterValue_userName(ctx context return fc, nil } -func (ec *executionContext) _ServiceFilterValue_supportGroupName(ctx context.Context, field graphql.CollectedField, obj *model.ServiceFilterValue) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ServiceFilterValue_supportGroupName(ctx, field) +func (ec *executionContext) _ServiceFilterValue_supportGroupCcrn(ctx context.Context, field graphql.CollectedField, obj *model.ServiceFilterValue) (ret graphql.Marshaler) { + fc, err := ec.fieldContext_ServiceFilterValue_supportGroupCcrn(ctx, field) if err != nil { return graphql.Null } @@ -25024,7 +25024,7 @@ func (ec *executionContext) _ServiceFilterValue_supportGroupName(ctx context.Con }() resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { ctx = rctx // use context from middleware stack in children - return ec.resolvers.ServiceFilterValue().SupportGroupName(rctx, obj, fc.Args["filter"].(*model.SupportGroupFilter)) + return ec.resolvers.ServiceFilterValue().SupportGroupCcrn(rctx, obj, fc.Args["filter"].(*model.SupportGroupFilter)) }) if err != nil { ec.Error(ctx, err) @@ -25038,7 +25038,7 @@ func (ec *executionContext) _ServiceFilterValue_supportGroupName(ctx context.Con return ec.marshalOFilterItem2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐFilterItem(ctx, field.Selections, res) } -func (ec *executionContext) fieldContext_ServiceFilterValue_supportGroupName(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { +func (ec *executionContext) fieldContext_ServiceFilterValue_supportGroupCcrn(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { fc = &graphql.FieldContext{ Object: "ServiceFilterValue", Field: field, @@ -25063,7 +25063,7 @@ func (ec *executionContext) fieldContext_ServiceFilterValue_supportGroupName(ctx } }() ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_ServiceFilterValue_supportGroupName_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { + if fc.Args, err = ec.field_ServiceFilterValue_supportGroupCcrn_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { ec.Error(ctx, err) return fc, err } @@ -25247,8 +25247,8 @@ func (ec *executionContext) fieldContext_SupportGroup_id(_ context.Context, fiel return fc, nil } -func (ec *executionContext) _SupportGroup_name(ctx context.Context, field graphql.CollectedField, obj *model.SupportGroup) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_SupportGroup_name(ctx, field) +func (ec *executionContext) _SupportGroup_ccrn(ctx context.Context, field graphql.CollectedField, obj *model.SupportGroup) (ret graphql.Marshaler) { + fc, err := ec.fieldContext_SupportGroup_ccrn(ctx, field) if err != nil { return graphql.Null } @@ -25261,7 +25261,7 @@ func (ec *executionContext) _SupportGroup_name(ctx context.Context, field graphq }() resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { ctx = rctx // use context from middleware stack in children - return obj.Name, nil + return obj.Ccrn, nil }) if err != nil { ec.Error(ctx, err) @@ -25275,7 +25275,7 @@ func (ec *executionContext) _SupportGroup_name(ctx context.Context, field graphq return ec.marshalOString2ᚖstring(ctx, field.Selections, res) } -func (ec *executionContext) fieldContext_SupportGroup_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { +func (ec *executionContext) fieldContext_SupportGroup_ccrn(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { fc = &graphql.FieldContext{ Object: "SupportGroup", Field: field, @@ -25595,8 +25595,8 @@ func (ec *executionContext) fieldContext_SupportGroupEdge_node(_ context.Context switch field.Name { case "id": return ec.fieldContext_SupportGroup_id(ctx, field) - case "name": - return ec.fieldContext_SupportGroup_name(ctx, field) + case "ccrn": + return ec.fieldContext_SupportGroup_ccrn(ctx, field) case "users": return ec.fieldContext_SupportGroup_users(ctx, field) case "services": @@ -28537,7 +28537,7 @@ func (ec *executionContext) unmarshalInputIssueMatchFilter(ctx context.Context, asMap[k] = v } - fieldsInOrder := [...]string{"id", "search", "primaryName", "componentCcrn", "issueType", "status", "severity", "affectedService", "supportGroupName"} + fieldsInOrder := [...]string{"id", "search", "primaryName", "componentCcrn", "issueType", "status", "severity", "affectedService", "supportGroupCcrn"} for _, k := range fieldsInOrder { v, ok := asMap[k] if !ok { @@ -28600,13 +28600,13 @@ func (ec *executionContext) unmarshalInputIssueMatchFilter(ctx context.Context, return it, err } it.AffectedService = data - case "supportGroupName": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("supportGroupName")) + case "supportGroupCcrn": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("supportGroupCcrn")) data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) if err != nil { return it, err } - it.SupportGroupName = data + it.SupportGroupCcrn = data } } @@ -28846,7 +28846,7 @@ func (ec *executionContext) unmarshalInputServiceFilter(ctx context.Context, obj asMap[k] = v } - fieldsInOrder := [...]string{"serviceCcrn", "uniqueUserId", "type", "userName", "supportGroupName", "search"} + fieldsInOrder := [...]string{"serviceCcrn", "uniqueUserId", "type", "userName", "supportGroupCcrn", "search"} for _, k := range fieldsInOrder { v, ok := asMap[k] if !ok { @@ -28881,13 +28881,13 @@ func (ec *executionContext) unmarshalInputServiceFilter(ctx context.Context, obj return it, err } it.UserName = data - case "supportGroupName": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("supportGroupName")) + case "supportGroupCcrn": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("supportGroupCcrn")) data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) if err != nil { return it, err } - it.SupportGroupName = data + it.SupportGroupCcrn = data case "search": ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("search")) data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) @@ -28962,20 +28962,20 @@ func (ec *executionContext) unmarshalInputSupportGroupFilter(ctx context.Context asMap[k] = v } - fieldsInOrder := [...]string{"supportGroupName", "userIds"} + fieldsInOrder := [...]string{"supportGroupCcrn", "userIds"} for _, k := range fieldsInOrder { v, ok := asMap[k] if !ok { continue } switch k { - case "supportGroupName": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("supportGroupName")) + case "supportGroupCcrn": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("supportGroupCcrn")) data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) if err != nil { return it, err } - it.SupportGroupName = data + it.SupportGroupCcrn = data case "userIds": ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("userIds")) data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) @@ -28996,20 +28996,20 @@ func (ec *executionContext) unmarshalInputSupportGroupInput(ctx context.Context, asMap[k] = v } - fieldsInOrder := [...]string{"name"} + fieldsInOrder := [...]string{"ccrn"} for _, k := range fieldsInOrder { v, ok := asMap[k] if !ok { continue } switch k { - case "name": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) + case "ccrn": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("ccrn")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { return it, err } - it.Name = data + it.Ccrn = data } } @@ -31738,7 +31738,7 @@ func (ec *executionContext) _IssueMatchFilterValue(ctx context.Context, sel ast. } out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "supportGroupName": + case "supportGroupCcrn": field := field innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { @@ -31747,7 +31747,7 @@ func (ec *executionContext) _IssueMatchFilterValue(ctx context.Context, sel ast. ec.Error(ctx, ec.Recover(ctx, r)) } }() - res = ec._IssueMatchFilterValue_supportGroupName(ctx, field, obj) + res = ec._IssueMatchFilterValue_supportGroupCcrn(ctx, field, obj) return res } @@ -33525,7 +33525,7 @@ func (ec *executionContext) _ServiceFilterValue(ctx context.Context, sel ast.Sel } out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "supportGroupName": + case "supportGroupCcrn": field := field innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { @@ -33534,7 +33534,7 @@ func (ec *executionContext) _ServiceFilterValue(ctx context.Context, sel ast.Sel ec.Error(ctx, ec.Recover(ctx, r)) } }() - res = ec._ServiceFilterValue_supportGroupName(ctx, field, obj) + res = ec._ServiceFilterValue_supportGroupCcrn(ctx, field, obj) return res } @@ -33637,8 +33637,8 @@ func (ec *executionContext) _SupportGroup(ctx context.Context, sel ast.Selection if out.Values[i] == graphql.Null { atomic.AddUint32(&out.Invalids, 1) } - case "name": - out.Values[i] = ec._SupportGroup_name(ctx, field, obj) + case "ccrn": + out.Values[i] = ec._SupportGroup_ccrn(ctx, field, obj) case "users": field := field diff --git a/internal/api/graphql/graph/model/models.go b/internal/api/graphql/graph/model/models.go index 223727e5..0a633a04 100644 --- a/internal/api/graphql/graph/model/models.go +++ b/internal/api/graphql/graph/model/models.go @@ -349,13 +349,13 @@ func NewServiceEntity(service *ServiceInput) entity.Service { func NewSupportGroup(supportGroup *entity.SupportGroup) SupportGroup { return SupportGroup{ ID: fmt.Sprintf("%d", supportGroup.Id), - Name: &supportGroup.Name, + Ccrn: &supportGroup.CCRN, } } func NewSupportGroupEntity(supportGroup *SupportGroupInput) entity.SupportGroup { return entity.SupportGroup{ - Name: lo.FromPtr(supportGroup.Name), + CCRN: lo.FromPtr(supportGroup.Ccrn), } } diff --git a/internal/api/graphql/graph/model/models_gen.go b/internal/api/graphql/graph/model/models_gen.go index 2177391e..dedc7a57 100644 --- a/internal/api/graphql/graph/model/models_gen.go +++ b/internal/api/graphql/graph/model/models_gen.go @@ -443,7 +443,7 @@ type IssueMatchFilter struct { Status []*IssueMatchStatusValues `json:"status,omitempty"` Severity []*SeverityValues `json:"severity,omitempty"` AffectedService []*string `json:"affectedService,omitempty"` - SupportGroupName []*string `json:"supportGroupName,omitempty"` + SupportGroupCcrn []*string `json:"supportGroupCcrn,omitempty"` } type IssueMatchFilterValue struct { @@ -453,7 +453,7 @@ type IssueMatchFilterValue struct { PrimaryName *FilterItem `json:"primaryName,omitempty"` AffectedService *FilterItem `json:"affectedService,omitempty"` ComponentCcrn *FilterItem `json:"componentCcrn,omitempty"` - SupportGroupName *FilterItem `json:"supportGroupName,omitempty"` + SupportGroupCcrn *FilterItem `json:"supportGroupCcrn,omitempty"` } type IssueMatchInput struct { @@ -631,7 +631,7 @@ type ServiceFilter struct { UniqueUserID []*string `json:"uniqueUserId,omitempty"` Type []*int `json:"type,omitempty"` UserName []*string `json:"userName,omitempty"` - SupportGroupName []*string `json:"supportGroupName,omitempty"` + SupportGroupCcrn []*string `json:"supportGroupCcrn,omitempty"` Search []*string `json:"search,omitempty"` } @@ -639,7 +639,7 @@ type ServiceFilterValue struct { ServiceCcrn *FilterItem `json:"serviceCcrn,omitempty"` UniqueUserID *FilterItem `json:"uniqueUserId,omitempty"` UserName *FilterItem `json:"userName,omitempty"` - SupportGroupName *FilterItem `json:"supportGroupName,omitempty"` + SupportGroupCcrn *FilterItem `json:"supportGroupCcrn,omitempty"` } type ServiceInput struct { @@ -658,7 +658,7 @@ type SeverityInput struct { type SupportGroup struct { ID string `json:"id"` - Name *string `json:"name,omitempty"` + Ccrn *string `json:"ccrn,omitempty"` Users *UserConnection `json:"users,omitempty"` Services *ServiceConnection `json:"services,omitempty"` } @@ -686,12 +686,12 @@ func (this SupportGroupEdge) GetNode() Node { return *this.Node } func (this SupportGroupEdge) GetCursor() *string { return this.Cursor } type SupportGroupFilter struct { - SupportGroupName []*string `json:"supportGroupName,omitempty"` + SupportGroupCcrn []*string `json:"supportGroupCcrn,omitempty"` UserIds []*string `json:"userIds,omitempty"` } type SupportGroupInput struct { - Name *string `json:"name,omitempty"` + Ccrn *string `json:"ccrn,omitempty"` } type User struct { diff --git a/internal/api/graphql/graph/queryCollection/activity/full.graphql b/internal/api/graphql/graph/queryCollection/activity/full.graphql index 900d0806..09fbfe1f 100644 --- a/internal/api/graphql/graph/queryCollection/activity/full.graphql +++ b/internal/api/graphql/graph/queryCollection/activity/full.graphql @@ -39,7 +39,7 @@ query ($filter: ActivityFilter, $first: Int, $after: String) { edges { node { id - name + ccrn } cursor } diff --git a/internal/api/graphql/graph/queryCollection/issue/full.graphql b/internal/api/graphql/graph/queryCollection/issue/full.graphql index 4d27fe16..e826a032 100644 --- a/internal/api/graphql/graph/queryCollection/issue/full.graphql +++ b/internal/api/graphql/graph/queryCollection/issue/full.graphql @@ -123,7 +123,7 @@ query ($filter: IssueFilter, $first: Int, $after: String) { edges { node { id - name + ccrn } cursor } diff --git a/internal/api/graphql/graph/queryCollection/service/directRelations.graphql b/internal/api/graphql/graph/queryCollection/service/directRelations.graphql index fdf24f95..3b1f6b75 100644 --- a/internal/api/graphql/graph/queryCollection/service/directRelations.graphql +++ b/internal/api/graphql/graph/queryCollection/service/directRelations.graphql @@ -34,7 +34,7 @@ query ($filter: ServiceFilter, $first: Int, $after: String) { edges { node { id - name + ccrn } cursor } diff --git a/internal/api/graphql/graph/queryCollection/serviceFilter/supportGroupNames.graphql b/internal/api/graphql/graph/queryCollection/serviceFilter/supportGroupCcrns.graphql similarity index 85% rename from internal/api/graphql/graph/queryCollection/serviceFilter/supportGroupNames.graphql rename to internal/api/graphql/graph/queryCollection/serviceFilter/supportGroupCcrns.graphql index 4f4d8de8..02b4eaea 100644 --- a/internal/api/graphql/graph/queryCollection/serviceFilter/supportGroupNames.graphql +++ b/internal/api/graphql/graph/queryCollection/serviceFilter/supportGroupCcrns.graphql @@ -3,7 +3,7 @@ query($filter: SupportGroupFilter){ ServiceFilterValues{ - supportGroupName(filter: $filter){ + supportGroupCcrn(filter: $filter){ filterName values } diff --git a/internal/api/graphql/graph/queryCollection/supportGroup/addService.graphql b/internal/api/graphql/graph/queryCollection/supportGroup/addService.graphql index b3fe6902..794cb1d4 100644 --- a/internal/api/graphql/graph/queryCollection/supportGroup/addService.graphql +++ b/internal/api/graphql/graph/queryCollection/supportGroup/addService.graphql @@ -7,7 +7,7 @@ mutation ($supportGroupId: ID!, $serviceId: ID!) { serviceId: $serviceId ) { id - name + ccrn services { edges { node { diff --git a/internal/api/graphql/graph/queryCollection/supportGroup/create.graphql b/internal/api/graphql/graph/queryCollection/supportGroup/create.graphql index 0e21fc52..ab290847 100644 --- a/internal/api/graphql/graph/queryCollection/supportGroup/create.graphql +++ b/internal/api/graphql/graph/queryCollection/supportGroup/create.graphql @@ -6,6 +6,6 @@ mutation ($input: SupportGroupInput!) { input: $input ) { id - name + ccrn } } \ No newline at end of file diff --git a/internal/api/graphql/graph/queryCollection/supportGroup/directRelations.graphql b/internal/api/graphql/graph/queryCollection/supportGroup/directRelations.graphql index 74300b3a..f3a864bc 100644 --- a/internal/api/graphql/graph/queryCollection/supportGroup/directRelations.graphql +++ b/internal/api/graphql/graph/queryCollection/supportGroup/directRelations.graphql @@ -12,7 +12,7 @@ query ($filter: SupportGroupFilter, $first: Int, $after: String) { edges { node { id - name + ccrn users { totalCount edges { diff --git a/internal/api/graphql/graph/queryCollection/supportGroup/minimal.graphql b/internal/api/graphql/graph/queryCollection/supportGroup/minimal.graphql index 69007eb9..e5336159 100644 --- a/internal/api/graphql/graph/queryCollection/supportGroup/minimal.graphql +++ b/internal/api/graphql/graph/queryCollection/supportGroup/minimal.graphql @@ -11,7 +11,7 @@ query ($filter: SupportGroupFilter, $first: Int, $after: String) { edges { node { id - name + ccrn } cursor } diff --git a/internal/api/graphql/graph/queryCollection/supportGroup/removeService.graphql b/internal/api/graphql/graph/queryCollection/supportGroup/removeService.graphql index 2ded677b..f140d9a8 100644 --- a/internal/api/graphql/graph/queryCollection/supportGroup/removeService.graphql +++ b/internal/api/graphql/graph/queryCollection/supportGroup/removeService.graphql @@ -7,7 +7,7 @@ mutation ($supportGroupId: ID!, $serviceId: ID!) { supportGroupId: $supportGroupId ) { id - name + ccrn services { edges { node { diff --git a/internal/api/graphql/graph/queryCollection/supportGroup/update.graphql b/internal/api/graphql/graph/queryCollection/supportGroup/update.graphql index c485518d..2f16be81 100644 --- a/internal/api/graphql/graph/queryCollection/supportGroup/update.graphql +++ b/internal/api/graphql/graph/queryCollection/supportGroup/update.graphql @@ -8,6 +8,6 @@ mutation ($id: ID!, $input: SupportGroupInput!) { ) { __typename id - name + ccrn } } \ No newline at end of file diff --git a/internal/api/graphql/graph/queryCollection/user/directRelations.graphql b/internal/api/graphql/graph/queryCollection/user/directRelations.graphql index de3668be..60d743a0 100644 --- a/internal/api/graphql/graph/queryCollection/user/directRelations.graphql +++ b/internal/api/graphql/graph/queryCollection/user/directRelations.graphql @@ -20,7 +20,7 @@ query ($filter: UserFilter, $first: Int, $after: String) { edges { node { id - name + ccrn } cursor } diff --git a/internal/api/graphql/graph/resolver/issue_match_filter_value.go b/internal/api/graphql/graph/resolver/issue_match_filter_value.go index 65d6681c..c93fb6d3 100644 --- a/internal/api/graphql/graph/resolver/issue_match_filter_value.go +++ b/internal/api/graphql/graph/resolver/issue_match_filter_value.go @@ -45,13 +45,13 @@ func (r *issueMatchFilterValueResolver) ComponentCcrn(ctx context.Context, obj * return item, nil } -// SupportGroupName is the resolver for the supportGroupName field. -func (r *issueMatchFilterValueResolver) SupportGroupName(ctx context.Context, obj *model.IssueMatchFilterValue, filter *model.SupportGroupFilter) (*model.FilterItem, error) { - item, err := baseResolver.SupportGroupNameBaseResolver(r.App, ctx, filter) +// SupportGroupCcrn is the resolver for the supportGroupCcrn field. +func (r *issueMatchFilterValueResolver) SupportGroupCcrn(ctx context.Context, obj *model.IssueMatchFilterValue, filter *model.SupportGroupFilter) (*model.FilterItem, error) { + item, err := baseResolver.SupportGroupCcrnBaseResolver(r.App, ctx, filter) if err != nil { return nil, err } - item.FilterName = &baseResolver.IssueMatchFilterSupportGroupName + item.FilterName = &baseResolver.IssueMatchFilterSupportGroupCcrn return item, nil } diff --git a/internal/api/graphql/graph/resolver/service_filter.go b/internal/api/graphql/graph/resolver/service_filter.go index e1a94799..0178ecfe 100644 --- a/internal/api/graphql/graph/resolver/service_filter.go +++ b/internal/api/graphql/graph/resolver/service_filter.go @@ -45,13 +45,13 @@ func (r *serviceFilterValueResolver) UserName(ctx context.Context, obj *model.Se return item, err } -// SupportGroupName is the resolver for the supportGroupName field. -func (r *serviceFilterValueResolver) SupportGroupName(ctx context.Context, obj *model.ServiceFilterValue, filter *model.SupportGroupFilter) (*model.FilterItem, error) { - item, err := baseResolver.SupportGroupNameBaseResolver(r.App, ctx, filter) +// SupportGroupCcrn is the resolver for the supportGroupCcrn field. +func (r *serviceFilterValueResolver) SupportGroupCcrn(ctx context.Context, obj *model.ServiceFilterValue, filter *model.SupportGroupFilter) (*model.FilterItem, error) { + item, err := baseResolver.SupportGroupCcrnBaseResolver(r.App, ctx, filter) if err != nil { return nil, err } - item.FilterName = &baseResolver.ServiceFilterSupportGroupName + item.FilterName = &baseResolver.ServiceFilterSupportGroupCcrn return item, err } diff --git a/internal/api/graphql/graph/schema/issue_match.graphqls b/internal/api/graphql/graph/schema/issue_match.graphqls index 06c560b7..5ca68780 100644 --- a/internal/api/graphql/graph/schema/issue_match.graphqls +++ b/internal/api/graphql/graph/schema/issue_match.graphqls @@ -38,7 +38,7 @@ input IssueMatchFilter { status: [IssueMatchStatusValues] severity: [SeverityValues] affectedService: [String] - supportGroupName: [String] + supportGroupCcrn: [String] } #type CCloudSeverity { diff --git a/internal/api/graphql/graph/schema/issue_match_filter_value.graphqls b/internal/api/graphql/graph/schema/issue_match_filter_value.graphqls index 8c830e60..b44a0589 100644 --- a/internal/api/graphql/graph/schema/issue_match_filter_value.graphqls +++ b/internal/api/graphql/graph/schema/issue_match_filter_value.graphqls @@ -8,5 +8,5 @@ type IssueMatchFilterValue { primaryName(filter: IssueFilter): FilterItem affectedService(filter: ServiceFilter): FilterItem componentCcrn(filter: ComponentFilter): FilterItem - supportGroupName(filter: SupportGroupFilter): FilterItem + supportGroupCcrn(filter: SupportGroupFilter): FilterItem } \ No newline at end of file diff --git a/internal/api/graphql/graph/schema/service.graphqls b/internal/api/graphql/graph/schema/service.graphqls index 76e7d50f..0745b871 100644 --- a/internal/api/graphql/graph/schema/service.graphqls +++ b/internal/api/graphql/graph/schema/service.graphqls @@ -32,6 +32,6 @@ input ServiceFilter { uniqueUserId: [String] type: [Int] userName: [String] - supportGroupName: [String] + supportGroupCcrn: [String] search: [String] } diff --git a/internal/api/graphql/graph/schema/service_filter.graphqls b/internal/api/graphql/graph/schema/service_filter.graphqls index 1433e594..6cbf8de4 100644 --- a/internal/api/graphql/graph/schema/service_filter.graphqls +++ b/internal/api/graphql/graph/schema/service_filter.graphqls @@ -5,7 +5,7 @@ type ServiceFilterValue { serviceCcrn(filter: ServiceFilter): FilterItem uniqueUserId(filter: UserFilter): FilterItem userName(filter: UserFilter): FilterItem - supportGroupName(filter: SupportGroupFilter): FilterItem + supportGroupCcrn(filter: SupportGroupFilter): FilterItem } diff --git a/internal/api/graphql/graph/schema/support_group.graphqls b/internal/api/graphql/graph/schema/support_group.graphqls index 9f1df03d..90060247 100644 --- a/internal/api/graphql/graph/schema/support_group.graphqls +++ b/internal/api/graphql/graph/schema/support_group.graphqls @@ -3,13 +3,13 @@ type SupportGroup implements Node { id: ID! - name: String + ccrn: String users(filter: UserFilter, first: Int, after: String): UserConnection services(filter: ServiceFilter, first: Int, after: String): ServiceConnection } input SupportGroupInput { - name: String + ccrn: String } type SupportGroupConnection implements Connection { @@ -24,6 +24,6 @@ type SupportGroupEdge implements Edge { } input SupportGroupFilter { - supportGroupName: [String], + supportGroupCcrn: [String], userIds: [String], } \ No newline at end of file diff --git a/internal/app/service/service_handler_test.go b/internal/app/service/service_handler_test.go index e49a51b3..68f1465a 100644 --- a/internal/app/service/service_handler_test.go +++ b/internal/app/service/service_handler_test.go @@ -47,7 +47,7 @@ func getServiceFilter() *entity.ServiceFilter { }, CCRN: nil, Id: nil, - SupportGroupName: []*string{&sgName}, + SupportGroupCCRN: []*string{&sgName}, } } diff --git a/internal/app/support_group/support_group_handler.go b/internal/app/support_group/support_group_handler.go index bb76a40b..47b6e316 100644 --- a/internal/app/support_group/support_group_handler.go +++ b/internal/app/support_group/support_group_handler.go @@ -139,7 +139,7 @@ func (sg *supportGroupHandler) CreateSupportGroup(supportGroup *entity.SupportGr }) f := &entity.SupportGroupFilter{ - Name: []*string{&supportGroup.Name}, + CCRN: []*string{&supportGroup.CCRN}, } supportGroups, err := sg.ListSupportGroups(f, &entity.ListOptions{}) @@ -150,7 +150,7 @@ func (sg *supportGroupHandler) CreateSupportGroup(supportGroup *entity.SupportGr } if len(supportGroups.Elements) > 0 { - return nil, NewSupportGroupHandlerError(fmt.Sprintf("Duplicated entry %s for name.", supportGroup.Name)) + return nil, NewSupportGroupHandlerError(fmt.Sprintf("Duplicated entry %s for ccrn.", supportGroup.CCRN)) } newSupportGroup, err := sg.database.CreateSupportGroup(supportGroup) @@ -279,24 +279,24 @@ func (sg *supportGroupHandler) RemoveUserFromSupportGroup(supportGroupId int64, return sg.GetSupportGroup(supportGroupId) } -func (sg *supportGroupHandler) ListSupportGroupNames(filter *entity.SupportGroupFilter, options *entity.ListOptions) ([]string, error) { +func (sg *supportGroupHandler) ListSupportGroupCcrns(filter *entity.SupportGroupFilter, options *entity.ListOptions) ([]string, error) { l := logrus.WithFields(logrus.Fields{ - "event": ListSupportGroupNamesEventName, + "event": ListSupportGroupCcrnsEventName, "filter": filter, }) - supportGroupNames, err := sg.database.GetSupportGroupNames(filter) + supportGroupCcrns, err := sg.database.GetSupportGroupCcrns(filter) if err != nil { l.Error(err) - return nil, NewSupportGroupHandlerError("Internal error while retrieving supportGroupNames.") + return nil, NewSupportGroupHandlerError("Internal error while retrieving supportGroupCcrns.") } - sg.eventRegistry.PushEvent(&ListSupportGroupNamesEvent{ + sg.eventRegistry.PushEvent(&ListSupportGroupCcrnsEvent{ Filter: filter, Options: options, - Names: supportGroupNames, + Ccrns: supportGroupCcrns, }) - return supportGroupNames, nil + return supportGroupCcrns, nil } diff --git a/internal/app/support_group/support_group_handler_events.go b/internal/app/support_group/support_group_handler_events.go index 8ec8ebed..bdd17bd5 100644 --- a/internal/app/support_group/support_group_handler_events.go +++ b/internal/app/support_group/support_group_handler_events.go @@ -18,7 +18,7 @@ const ( RemoveServiceFromSupportGroupEventName event.EventName = "RemoveServiceFromSupportGroup" AddUserToSupportGroupEventName event.EventName = "AddUserToSupportGroup" RemoveUserFromSupportGroupEventName event.EventName = "RemoveUserFromSupportGroup" - ListSupportGroupNamesEventName event.EventName = "ListSupportGroupNames" + ListSupportGroupCcrnsEventName event.EventName = "ListSupportGroupCcrns" ) type ListSupportGroupsEvent struct { @@ -100,12 +100,12 @@ func (e *RemoveUserFromSupportGroupEvent) Name() event.EventName { return RemoveUserFromSupportGroupEventName } -type ListSupportGroupNamesEvent struct { +type ListSupportGroupCcrnsEvent struct { Filter *entity.SupportGroupFilter Options *entity.ListOptions - Names []string + Ccrns []string } -func (e *ListSupportGroupNamesEvent) Name() event.EventName { - return ListSupportGroupNamesEventName +func (e *ListSupportGroupCcrnsEvent) Name() event.EventName { + return ListSupportGroupCcrnsEventName } diff --git a/internal/app/support_group/support_group_handler_interface.go b/internal/app/support_group/support_group_handler_interface.go index 404d72dd..b596f618 100644 --- a/internal/app/support_group/support_group_handler_interface.go +++ b/internal/app/support_group/support_group_handler_interface.go @@ -15,5 +15,5 @@ type SupportGroupHandler interface { RemoveServiceFromSupportGroup(int64, int64) (*entity.SupportGroup, error) AddUserToSupportGroup(int64, int64) (*entity.SupportGroup, error) RemoveUserFromSupportGroup(int64, int64) (*entity.SupportGroup, error) - ListSupportGroupNames(*entity.SupportGroupFilter, *entity.ListOptions) ([]string, error) + ListSupportGroupCcrns(*entity.SupportGroupFilter, *entity.ListOptions) ([]string, error) } diff --git a/internal/app/support_group/support_group_handler_test.go b/internal/app/support_group/support_group_handler_test.go index 22bdb101..859ddacd 100644 --- a/internal/app/support_group/support_group_handler_test.go +++ b/internal/app/support_group/support_group_handler_test.go @@ -121,7 +121,7 @@ var _ = Describe("When creating SupportGroup", Label("app", "CreateSupportGroup" }) It("creates supportGroup", func() { - filter.Name = []*string{&supportGroup.Name} + filter.CCRN = []*string{&supportGroup.CCRN} db.On("CreateSupportGroup", &supportGroup).Return(&supportGroup, nil) db.On("GetSupportGroups", filter).Return([]entity.SupportGroup{}, nil) supportGroupHandler = sg.NewSupportGroupHandler(db, er) @@ -129,7 +129,7 @@ var _ = Describe("When creating SupportGroup", Label("app", "CreateSupportGroup" Expect(err).To(BeNil(), "no error should be thrown") Expect(newSupportGroup.Id).NotTo(BeEquivalentTo(0)) By("setting fields", func() { - Expect(newSupportGroup.Name).To(BeEquivalentTo(supportGroup.Name)) + Expect(newSupportGroup.CCRN).To(BeEquivalentTo(supportGroup.CCRN)) }) }) }) @@ -159,13 +159,13 @@ var _ = Describe("When updating SupportGroup", Label("app", "UpdateSupportGroup" It("updates supportGroup", func() { db.On("UpdateSupportGroup", &supportGroup).Return(nil) supportGroupHandler = sg.NewSupportGroupHandler(db, er) - supportGroup.Name = "Team Alone" + supportGroup.CCRN = "Team Alone" filter.Id = []*int64{&supportGroup.Id} db.On("GetSupportGroups", filter).Return([]entity.SupportGroup{supportGroup}, nil) updatedSupportGroup, err := supportGroupHandler.UpdateSupportGroup(&supportGroup) Expect(err).To(BeNil(), "no error should be thrown") By("setting fields", func() { - Expect(updatedSupportGroup.Name).To(BeEquivalentTo(supportGroup.Name)) + Expect(updatedSupportGroup.CCRN).To(BeEquivalentTo(supportGroup.CCRN)) }) }) }) @@ -293,48 +293,48 @@ var _ = Describe("When modifying relationship of User and SupportGroup", Label(" Expect(supportGroup).NotTo(BeNil(), "supportGroup should be returned") }) }) -var _ = Describe("When listing supportGroupNames", Label("app", "ListSupportGroupNames"), func() { +var _ = Describe("When listing supportGroupCcrns", Label("app", "ListSupportGroupCcrns"), func() { var ( db *mocks.MockDatabase supportGroupHandler sg.SupportGroupHandler filter *entity.SupportGroupFilter options *entity.ListOptions - name string + ccrn string ) BeforeEach(func() { db = mocks.NewMockDatabase(GinkgoT()) options = entity.NewListOptions() filter = getSupportGroupFilter() - name = "src" + ccrn = "src" }) When("no filters are used", func() { BeforeEach(func() { - db.On("GetSupportGroupNames", filter).Return([]string{}, nil) + db.On("GetSupportGroupCcrns", filter).Return([]string{}, nil) }) It("it return the results", func() { supportGroupHandler = sg.NewSupportGroupHandler(db, er) - res, err := supportGroupHandler.ListSupportGroupNames(filter, options) + res, err := supportGroupHandler.ListSupportGroupCcrns(filter, options) Expect(err).To(BeNil(), "no error should be thrown") Expect(res).Should(BeEmpty(), "return correct result") }) }) - When("specific supportGroupNames filter is applied", func() { + When("specific supportGroupCcrns filter is applied", func() { BeforeEach(func() { filter = &entity.SupportGroupFilter{ - Name: []*string{&name}, + CCRN: []*string{&ccrn}, } - db.On("GetSupportGroupNames", filter).Return([]string{name}, nil) + db.On("GetSupportGroupCcrns", filter).Return([]string{ccrn}, nil) }) It("returns filtered userGroups according to the service type", func() { supportGroupHandler = sg.NewSupportGroupHandler(db, er) - res, err := supportGroupHandler.ListSupportGroupNames(filter, options) + res, err := supportGroupHandler.ListSupportGroupCcrns(filter, options) Expect(err).To(BeNil(), "no error should be thrown") - Expect(res).Should(ConsistOf(name), "should only consist of supportGroup") + Expect(res).Should(ConsistOf(ccrn), "should only consist of supportGroup") }) }) }) diff --git a/internal/database/interface.go b/internal/database/interface.go index 06f240ac..02bb5682 100644 --- a/internal/database/interface.go +++ b/internal/database/interface.go @@ -81,7 +81,7 @@ type Database interface { RemoveServiceFromSupportGroup(int64, int64) error AddUserToSupportGroup(int64, int64) error RemoveUserFromSupportGroup(int64, int64) error - GetSupportGroupNames(*entity.SupportGroupFilter) ([]string, error) + GetSupportGroupCcrns(*entity.SupportGroupFilter) ([]string, error) GetComponentInstances(*entity.ComponentInstanceFilter) ([]entity.ComponentInstance, error) GetAllComponentInstanceIds(*entity.ComponentInstanceFilter) ([]int64, error) diff --git a/internal/database/mariadb/entity.go b/internal/database/mariadb/entity.go index a537bfe8..68f292ac 100644 --- a/internal/database/mariadb/entity.go +++ b/internal/database/mariadb/entity.go @@ -423,7 +423,7 @@ func (cvr *ComponentVersionRow) FromComponentVersion(cv *entity.ComponentVersion type SupportGroupRow struct { Id sql.NullInt64 `db:"supportgroup_id" json:"id"` - Name sql.NullString `db:"supportgroup_name" json:"name"` + CCRN sql.NullString `db:"supportgroup_ccrn" json:"ccrn"` CreatedAt sql.NullTime `db:"supportgroup_created_at" json:"created_at"` DeletedAt sql.NullTime `db:"supportgroup_deleted_at" json:"deleted_at,omitempty"` UpdatedAt sql.NullTime `db:"supportgroup_updated_at" json:"updated_at"` @@ -432,7 +432,7 @@ type SupportGroupRow struct { func (sgr *SupportGroupRow) AsSupportGroup() entity.SupportGroup { return entity.SupportGroup{ Id: GetInt64Value(sgr.Id), - Name: GetStringValue(sgr.Name), + CCRN: GetStringValue(sgr.CCRN), CreatedAt: GetTimeValue(sgr.CreatedAt), DeletedAt: GetTimeValue(sgr.DeletedAt), UpdatedAt: GetTimeValue(sgr.UpdatedAt), @@ -441,7 +441,7 @@ func (sgr *SupportGroupRow) AsSupportGroup() entity.SupportGroup { func (sgr *SupportGroupRow) FromSupportGroup(sg *entity.SupportGroup) { sgr.Id = sql.NullInt64{Int64: sg.Id, Valid: true} - sgr.Name = sql.NullString{String: sg.Name, Valid: true} + sgr.CCRN = sql.NullString{String: sg.CCRN, Valid: true} sgr.CreatedAt = sql.NullTime{Time: sg.CreatedAt, Valid: true} sgr.DeletedAt = sql.NullTime{Time: sg.DeletedAt, Valid: true} sgr.UpdatedAt = sql.NullTime{Time: sg.UpdatedAt, Valid: true} diff --git a/internal/database/mariadb/init/schema.sql b/internal/database/mariadb/init/schema.sql index 13df107b..784d3d07 100644 --- a/internal/database/mariadb/init/schema.sql +++ b/internal/database/mariadb/init/schema.sql @@ -42,14 +42,14 @@ create table if not exists SupportGroup ( supportgroup_id int unsigned auto_increment primary key, - supportgroup_name varchar(256) not null, + supportgroup_ccrn varchar(256) not null, supportgroup_created_at timestamp default current_timestamp() not null, supportgroup_deleted_at timestamp null, supportgroup_updated_at timestamp default current_timestamp() not null on update current_timestamp(), constraint id_UNIQUE unique (supportgroup_id), - constraint name_UNIQUE - unique (supportgroup_name) + constraint ccrn_UNIQUE + unique (supportgroup_ccrn) ); create table if not exists Service diff --git a/internal/database/mariadb/issue_match.go b/internal/database/mariadb/issue_match.go index a2b7da24..015845d6 100644 --- a/internal/database/mariadb/issue_match.go +++ b/internal/database/mariadb/issue_match.go @@ -37,7 +37,7 @@ func (s *SqlDatabase) getIssueMatchFilterString(filter *entity.IssueMatchFilter) fl = append(fl, buildFilterQuery(filter.AffectedServiceCCRN, "S.service_ccrn = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.SeverityValue, "IM.issuematch_rating = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.Status, "IM.issuematch_status = ?", OP_OR)) - fl = append(fl, buildFilterQuery(filter.SupportGroupName, "SG.supportgroup_name = ?", OP_OR)) + fl = append(fl, buildFilterQuery(filter.SupportGroupCCRN, "SG.supportgroup_ccrn = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.PrimaryName, "I.issue_primary_name = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.ComponentCCRN, "C.component_ccrn = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.IssueType, "I.issue_type = ?", OP_OR)) @@ -67,7 +67,7 @@ func (s *SqlDatabase) getIssueMatchJoins(filter *entity.IssueMatchFilter) string `) } - if len(filter.AffectedServiceCCRN) > 0 || len(filter.SupportGroupName) > 0 || len(filter.ComponentCCRN) > 0 { + if len(filter.AffectedServiceCCRN) > 0 || len(filter.SupportGroupCCRN) > 0 || len(filter.ComponentCCRN) > 0 { joins = fmt.Sprintf("%s\n%s", joins, ` LEFT JOIN ComponentInstance CI on CI.componentinstance_id = IM.issuematch_component_instance_id @@ -80,13 +80,13 @@ func (s *SqlDatabase) getIssueMatchJoins(filter *entity.IssueMatchFilter) string `) } - if len(filter.AffectedServiceCCRN) > 0 || len(filter.SupportGroupName) > 0 { + if len(filter.AffectedServiceCCRN) > 0 || len(filter.SupportGroupCCRN) > 0 { joins = fmt.Sprintf("%s\n%s", joins, ` LEFT JOIN Service S on S.service_id = CI.componentinstance_service_id `) } - if len(filter.SupportGroupName) > 0 { + if len(filter.SupportGroupCCRN) > 0 { joins = fmt.Sprintf("%s\n%s", joins, ` LEFT JOIN SupportGroupService SGS on S.service_id = SGS.supportgroupservice_service_id LEFT JOIN SupportGroup SG on SG.supportgroup_id = SGS.supportgroupservice_support_group_id @@ -171,7 +171,7 @@ func (s *SqlDatabase) buildIssueMatchStatement(baseQuery string, filter *entity. filterParameters = buildQueryParameters(filterParameters, filter.AffectedServiceCCRN) filterParameters = buildQueryParameters(filterParameters, filter.SeverityValue) filterParameters = buildQueryParameters(filterParameters, filter.Status) - filterParameters = buildQueryParameters(filterParameters, filter.SupportGroupName) + filterParameters = buildQueryParameters(filterParameters, filter.SupportGroupCCRN) filterParameters = buildQueryParameters(filterParameters, filter.PrimaryName) filterParameters = buildQueryParameters(filterParameters, filter.ComponentCCRN) filterParameters = buildQueryParameters(filterParameters, filter.IssueType) diff --git a/internal/database/mariadb/issue_match_test.go b/internal/database/mariadb/issue_match_test.go index 985a2495..46dfd8fa 100644 --- a/internal/database/mariadb/issue_match_test.go +++ b/internal/database/mariadb/issue_match_test.go @@ -317,7 +317,7 @@ var _ = Describe("IssueMatch", Label("database", "IssueMatch"), func() { filter := &entity.IssueMatchFilter{ Paginated: entity.Paginated{}, - SupportGroupName: []*string{&supportGroup.Name.String}, + SupportGroupCCRN: []*string{&supportGroup.CCRN.String}, } // fixture creation does not guarantee that a support group is always present diff --git a/internal/database/mariadb/service.go b/internal/database/mariadb/service.go index 8be3cd69..484c2aa0 100644 --- a/internal/database/mariadb/service.go +++ b/internal/database/mariadb/service.go @@ -20,7 +20,7 @@ func (s *SqlDatabase) getServiceFilterString(filter *entity.ServiceFilter) strin var fl []string fl = append(fl, buildFilterQuery(filter.CCRN, "S.service_ccrn = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.Id, "S.service_id = ?", OP_OR)) - fl = append(fl, buildFilterQuery(filter.SupportGroupName, "SG.supportgroup_name = ?", OP_OR)) + fl = append(fl, buildFilterQuery(filter.SupportGroupCCRN, "SG.supportgroup_ccrn = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.OwnerName, "U.user_name = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.ActivityId, "A.activity_id = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.ComponentInstanceId, "CI.componentinstance_id = ?", OP_OR)) @@ -45,12 +45,12 @@ func (s *SqlDatabase) getServiceJoins(filter *entity.ServiceFilter) string { LEFT JOIN User U on U.user_id = O.owner_user_id `) } - if len(filter.SupportGroupName) > 0 || len(filter.SupportGroupId) > 0 { + if len(filter.SupportGroupCCRN) > 0 || len(filter.SupportGroupId) > 0 { joins = fmt.Sprintf("%s\n%s", joins, ` LEFT JOIN SupportGroupService SGS on S.service_id = SGS.supportgroupservice_service_id `) } - if len(filter.SupportGroupName) > 0 { + if len(filter.SupportGroupCCRN) > 0 { joins = fmt.Sprintf("%s\n%s", joins, ` LEFT JOIN SupportGroup SG on SG.supportgroup_id = SGS.supportgroupservice_support_group_id `) @@ -91,7 +91,7 @@ func (s *SqlDatabase) ensureServiceFilter(f *entity.ServiceFilter) *entity.Servi First: &first, After: &after, }, - SupportGroupName: nil, + SupportGroupCCRN: nil, CCRN: nil, Id: nil, OwnerName: nil, @@ -157,7 +157,7 @@ func (s *SqlDatabase) buildServiceStatement(baseQuery string, filter *entity.Ser //adding parameters var filterParameters []interface{} - filterParameters = buildQueryParameters(filterParameters, filter.SupportGroupName) + filterParameters = buildQueryParameters(filterParameters, filter.SupportGroupCCRN) filterParameters = buildQueryParameters(filterParameters, filter.CCRN) filterParameters = buildQueryParameters(filterParameters, filter.Id) filterParameters = buildQueryParameters(filterParameters, filter.OwnerName) diff --git a/internal/database/mariadb/service_test.go b/internal/database/mariadb/service_test.go index 9a9e0e10..651ab29b 100644 --- a/internal/database/mariadb/service_test.go +++ b/internal/database/mariadb/service_test.go @@ -233,7 +233,7 @@ var _ = Describe("Service", Label("database", "Service"), func() { } } - filter := &entity.ServiceFilter{SupportGroupName: []*string{&sgRow.Name.String}} + filter := &entity.ServiceFilter{SupportGroupCCRN: []*string{&sgRow.CCRN.String}} entries, err := db.GetServices(filter) @@ -509,7 +509,7 @@ var _ = Describe("Service", Label("database", "Service"), func() { First: &pageSize, After: nil, }, - SupportGroupName: []*string{&sgRow.Name.String}, + SupportGroupCCRN: []*string{&sgRow.CCRN.String}, } entries, err := db.CountServices(filter) By("throwing no error", func() { diff --git a/internal/database/mariadb/support_group.go b/internal/database/mariadb/support_group.go index 2074f04f..a5e6661e 100644 --- a/internal/database/mariadb/support_group.go +++ b/internal/database/mariadb/support_group.go @@ -16,7 +16,7 @@ func (s *SqlDatabase) getSupportGroupFilterString(filter *entity.SupportGroupFil var fl []string fl = append(fl, buildFilterQuery(filter.Id, "SG.supportgroup_id = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.ServiceId, "SGS.supportgroupservice_service_id = ?", OP_OR)) - fl = append(fl, buildFilterQuery(filter.Name, "SG.supportgroup_name = ?", OP_OR)) + fl = append(fl, buildFilterQuery(filter.CCRN, "SG.supportgroup_ccrn = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.UserId, "SGU.supportgroupuser_user_id = ?", OP_OR)) fl = append(fl, "SG.supportgroup_deleted_at IS NULL") @@ -25,8 +25,8 @@ func (s *SqlDatabase) getSupportGroupFilterString(filter *entity.SupportGroupFil func (s *SqlDatabase) getSupportGroupUpdateFields(supportGroup *entity.SupportGroup) string { fl := []string{} - if supportGroup.Name != "" { - fl = append(fl, "supportgroup_name = :supportgroup_name") + if supportGroup.CCRN != "" { + fl = append(fl, "supportgroup_ccrn = :supportgroup_ccrn") } return strings.Join(fl, ", ") @@ -59,7 +59,7 @@ func (s *SqlDatabase) ensureSupportGroupFilter(f *entity.SupportGroupFilter) *en Id: nil, ServiceId: nil, UserId: nil, - Name: nil, + CCRN: nil, } } if f.First == nil { @@ -112,7 +112,7 @@ func (s *SqlDatabase) buildSupportGroupStatement(baseQuery string, filter *entit var filterParameters []interface{} filterParameters = buildQueryParameters(filterParameters, filter.Id) filterParameters = buildQueryParameters(filterParameters, filter.ServiceId) - filterParameters = buildQueryParameters(filterParameters, filter.Name) + filterParameters = buildQueryParameters(filterParameters, filter.CCRN) filterParameters = buildQueryParameters(filterParameters, filter.UserId) if withCursor { filterParameters = append(filterParameters, cursor.Value) @@ -206,9 +206,9 @@ func (s *SqlDatabase) CreateSupportGroup(supportGroup *entity.SupportGroup) (*en query := ` INSERT INTO SupportGroup ( - supportgroup_name + supportgroup_ccrn ) VALUES ( - :supportgroup_name + :supportgroup_ccrn ) ` @@ -371,14 +371,14 @@ func (s *SqlDatabase) RemoveUserFromSupportGroup(supportGroupId int64, userId in return err } -func (s *SqlDatabase) GetSupportGroupNames(filter *entity.SupportGroupFilter) ([]string, error) { +func (s *SqlDatabase) GetSupportGroupCcrns(filter *entity.SupportGroupFilter) ([]string, error) { l := logrus.WithFields(logrus.Fields{ "filter": filter, - "event": "database.GetSupportGroupNames", + "event": "database.GetSupportGroupCcrns", }) baseQuery := ` - SELECT SG.supportgroup_name FROM SupportGroup SG + SELECT SG.supportgroup_ccrn FROM SupportGroup SG %s %s ` @@ -403,19 +403,19 @@ func (s *SqlDatabase) GetSupportGroupNames(filter *entity.SupportGroupFilter) ([ defer rows.Close() // Collect the results - supportGroupNames := []string{} + supportGroupCcrns := []string{} var name string for rows.Next() { if err := rows.Scan(&name); err != nil { l.Error("Error scanning row: ", err) continue } - supportGroupNames = append(supportGroupNames, name) + supportGroupCcrns = append(supportGroupCcrns, name) } if err = rows.Err(); err != nil { l.Error("Row iteration error: ", err) return nil, err } - return supportGroupNames, nil + return supportGroupCcrns, nil } diff --git a/internal/database/mariadb/support_group_test.go b/internal/database/mariadb/support_group_test.go index fea82f0e..a94986ac 100644 --- a/internal/database/mariadb/support_group_test.go +++ b/internal/database/mariadb/support_group_test.go @@ -147,7 +147,7 @@ var _ = Describe("SupportGroup", Label("database", "SupportGroup"), func() { for _, r := range res { for _, row := range seedCollection.SupportGroupRows { if r.Id == row.Id.Int64 { - Expect(r.Name).Should(BeEquivalentTo(row.Name.String), "Name matches") + Expect(r.CCRN).Should(BeEquivalentTo(row.CCRN.String), "CCRN matches") Expect(r.CreatedAt.Unix()).ShouldNot(BeEquivalentTo(row.CreatedAt.Time.Unix()), "CreatedAt got set") Expect(r.UpdatedAt.Unix()).ShouldNot(BeEquivalentTo(row.UpdatedAt.Time.Unix()), "UpdatedAt got set") } @@ -229,10 +229,10 @@ var _ = Describe("SupportGroup", Label("database", "SupportGroup"), func() { } }) }) - It("can filter by a single support group name", func() { + It("can filter by a single support group ccrn", func() { row := seedCollection.SupportGroupRows[rand.Intn(len(seedCollection.SupportGroupRows))] - filter := &entity.SupportGroupFilter{Name: []*string{&row.Name.String}} + filter := &entity.SupportGroupFilter{CCRN: []*string{&row.CCRN.String}} entries, err := db.GetSupportGroups(filter) @@ -244,7 +244,7 @@ var _ = Describe("SupportGroup", Label("database", "SupportGroup"), func() { }) By("returning expected number of results", func() { for _, entry := range entries { - Expect(entry.Name).To(BeEquivalentTo(row.Name.String)) + Expect(entry.CCRN).To(BeEquivalentTo(row.CCRN.String)) } }) }) @@ -340,7 +340,7 @@ var _ = Describe("SupportGroup", Label("database", "SupportGroup"), func() { }) By("setting fields", func() { Expect(sg[0].Id).To(BeEquivalentTo(supportGroup.Id)) - Expect(sg[0].Name).To(BeEquivalentTo(supportGroup.Name)) + Expect(sg[0].CCRN).To(BeEquivalentTo(supportGroup.CCRN)) }) }) }) @@ -351,10 +351,10 @@ var _ = Describe("SupportGroup", Label("database", "SupportGroup"), func() { BeforeEach(func() { seedCollection = seeder.SeedDbWithNFakeData(10) }) - It("can update name correctly", func() { + It("can update ccrn correctly", func() { supportGroup := seedCollection.SupportGroupRows[0].AsSupportGroup() - supportGroup.Name = "Team Alone" + supportGroup.CCRN = "Team Alone" err := db.UpdateSupportGroup(&supportGroup) By("throwing no error", func() { @@ -374,7 +374,7 @@ var _ = Describe("SupportGroup", Label("database", "SupportGroup"), func() { }) By("setting fields", func() { Expect(sg[0].Id).To(BeEquivalentTo(supportGroup.Id)) - Expect(sg[0].Name).To(BeEquivalentTo(supportGroup.Name)) + Expect(sg[0].CCRN).To(BeEquivalentTo(supportGroup.CCRN)) }) }) }) @@ -538,10 +538,10 @@ var _ = Describe("SupportGroup", Label("database", "SupportGroup"), func() { }) }) }) - When("Getting SupportGroupNames", Label("GetSupportGroupNames"), func() { + When("Getting SupportGroupCcrns", Label("GetSupportGroupCcrns"), func() { Context("and the database is empty", func() { It("can perform the list query", func() { - res, err := db.GetSupportGroupNames(nil) + res, err := db.GetSupportGroupCcrns(nil) By("throwing no error", func() { Expect(err).To(BeNil()) }) @@ -558,7 +558,7 @@ var _ = Describe("SupportGroup", Label("database", "SupportGroup"), func() { Context("and using no filter", func() { It("can fetch the items correctly", func() { - res, err := db.GetSupportGroupNames(nil) + res, err := db.GetSupportGroupCcrns(nil) By("throwing no error", func() { Expect(err).Should(BeNil()) @@ -568,44 +568,44 @@ var _ = Describe("SupportGroup", Label("database", "SupportGroup"), func() { Expect(len(res)).Should(BeIdenticalTo(len(seedCollection.SupportGroupRows))) }) - existingSupportGroupNames := lo.Map(seedCollection.SupportGroupRows, func(s mariadb.SupportGroupRow, index int) string { - return s.Name.String + existingSupportGroupCcrns := lo.Map(seedCollection.SupportGroupRows, func(s mariadb.SupportGroupRow, index int) string { + return s.CCRN.String }) - By("returning the correct names", func() { - left, right := lo.Difference(res, existingSupportGroupNames) + By("returning the correct ccrns", func() { + left, right := lo.Difference(res, existingSupportGroupCcrns) Expect(left).Should(BeEmpty()) Expect(right).Should(BeEmpty()) }) }) }) - Context("and using a SupportGroupNames filter", func() { + Context("and using a SupportGroupCcrns filter", func() { var filter *entity.SupportGroupFilter - var expectedSupportGroupNames []string + var expectedSupportGroupCcrns []string BeforeEach(func() { - namePointers := []*string{} + ccrnPointers := []*string{} - name := "f1" - namePointers = append(namePointers, &name) + ccrn := "f1" + ccrnPointers = append(ccrnPointers, &ccrn) filter = &entity.SupportGroupFilter{ - Name: namePointers, + CCRN: ccrnPointers, } It("can fetch the filtered items correctly", func() { - res, err := db.GetSupportGroupNames(filter) + res, err := db.GetSupportGroupCcrns(filter) By("throwing no error", func() { Expect(err).Should(BeNil()) }) By("returning the correct number of results", func() { - Expect(len(res)).Should(BeIdenticalTo(len(expectedSupportGroupNames))) + Expect(len(res)).Should(BeIdenticalTo(len(expectedSupportGroupCcrns))) }) - By("returning the correct names", func() { - left, right := lo.Difference(res, expectedSupportGroupNames) + By("returning the correct ccrns", func() { + left, right := lo.Difference(res, expectedSupportGroupCcrns) Expect(left).Should(BeEmpty()) Expect(right).Should(BeEmpty()) }) @@ -615,16 +615,16 @@ var _ = Describe("SupportGroup", Label("database", "SupportGroup"), func() { var anotherFilter *entity.SupportGroupFilter BeforeEach(func() { - nonExistentSupportGroupName := "NonexistentService" + nonExistentSupportGroupCcrn := "NonexistentService" - nonExistentSupportGroupNames := []*string{&nonExistentSupportGroupName} + nonExistentSupportGroupCcrns := []*string{&nonExistentSupportGroupCcrn} anotherFilter = &entity.SupportGroupFilter{ - Name: nonExistentSupportGroupNames, + CCRN: nonExistentSupportGroupCcrns, } It("returns an empty list when no supportGroup match the filter", func() { - res, err := db.GetSupportGroupNames(anotherFilter) + res, err := db.GetSupportGroupCcrns(anotherFilter) Expect(err).Should(BeNil()) Expect(res).Should(BeEmpty()) diff --git a/internal/database/mariadb/test/fixture.go b/internal/database/mariadb/test/fixture.go index ed367891..11a994c6 100644 --- a/internal/database/mariadb/test/fixture.go +++ b/internal/database/mariadb/test/fixture.go @@ -918,9 +918,9 @@ func (s *DatabaseSeeder) InsertFakeBaseService(service mariadb.BaseServiceRow) ( func (s *DatabaseSeeder) InsertFakeSupportGroup(sg mariadb.SupportGroupRow) (int64, error) { query := ` INSERT INTO SupportGroup ( - supportgroup_name + supportgroup_ccrn ) VALUES ( - :supportgroup_name + :supportgroup_ccrn )` return s.ExecPreparedNamed(query, sg) } @@ -1181,7 +1181,7 @@ func NewFakeService() mariadb.ServiceRow { func NewFakeSupportGroup() mariadb.SupportGroupRow { return mariadb.SupportGroupRow{ - Name: sql.NullString{String: gofakeit.AppName(), Valid: true}, + CCRN: sql.NullString{String: gofakeit.AppName(), Valid: true}, } } @@ -1318,7 +1318,7 @@ func (s *DatabaseSeeder) SeedRealSupportGroups() map[string]mariadb.SupportGroup for _, sg := range sgs { supportGroup := mariadb.SupportGroupRow{ - Name: sql.NullString{String: sg, Valid: true}, + CCRN: sql.NullString{String: sg, Valid: true}, } supportGroupId, err := s.InsertFakeSupportGroup(supportGroup) if err != nil { diff --git a/internal/e2e/service_filter_query_test.go b/internal/e2e/service_filter_query_test.go index 32f67032..73ca78a9 100644 --- a/internal/e2e/service_filter_query_test.go +++ b/internal/e2e/service_filter_query_test.go @@ -69,10 +69,10 @@ var _ = Describe("Getting ServiceFilterValues via API", Label("e2e", "ServiceFil Expect(respData.ServiceFilterValues.ServiceCcrn.Values).To(BeEmpty()) }) - It("returns empty for supportGroupNames", func() { + It("returns empty for supportGroupCcrns", func() { client := graphql.NewClient(fmt.Sprintf("http://localhost:%s/query", cfg.Port)) - b, err := os.ReadFile("../api/graphql/graph/queryCollection/serviceFilter/supportGroupNames.graphql") + b, err := os.ReadFile("../api/graphql/graph/queryCollection/serviceFilter/supportGroupCcrns.graphql") Expect(err).To(BeNil()) str := string(b) @@ -88,7 +88,7 @@ var _ = Describe("Getting ServiceFilterValues via API", Label("e2e", "ServiceFil logrus.WithError(err).WithField("request", req).Fatalln("Error while unmarshaling") } - Expect(respData.ServiceFilterValues.SupportGroupName.Values).To(BeEmpty()) + Expect(respData.ServiceFilterValues.SupportGroupCcrn.Values).To(BeEmpty()) }) It("returns empty for userNames", func() { client := graphql.NewClient(fmt.Sprintf("http://localhost:%s/query", cfg.Port)) @@ -166,14 +166,14 @@ var _ = Describe("Getting ServiceFilterValues via API", Label("e2e", "ServiceFil return s.CCRN.String }) - for _, name := range respData.ServiceFilterValues.ServiceCcrn.Values { - Expect(lo.Contains(existingServiceCcrns, *name)).To(BeTrue()) + for _, ccrn := range respData.ServiceFilterValues.ServiceCcrn.Values { + Expect(lo.Contains(existingServiceCcrns, *ccrn)).To(BeTrue()) } }) - It("returns correct supportGroupNames", func() { + It("returns correct supportGroupCcrns", func() { client := graphql.NewClient(fmt.Sprintf("http://localhost:%s/query", cfg.Port)) - b, err := os.ReadFile("../api/graphql/graph/queryCollection/serviceFilter/supportGroupNames.graphql") + b, err := os.ReadFile("../api/graphql/graph/queryCollection/serviceFilter/supportGroupCcrns.graphql") Expect(err).To(BeNil()) str := string(b) @@ -189,14 +189,14 @@ var _ = Describe("Getting ServiceFilterValues via API", Label("e2e", "ServiceFil logrus.WithError(err).WithField("request", req).Fatalln("Error while unmarshaling") } - Expect(len(respData.ServiceFilterValues.SupportGroupName.Values)).To(Equal(len(seedCollection.SupportGroupRows))) + Expect(len(respData.ServiceFilterValues.SupportGroupCcrn.Values)).To(Equal(len(seedCollection.SupportGroupRows))) - existingSupportGroupNames := lo.Map(seedCollection.SupportGroupRows, func(s mariadb.SupportGroupRow, index int) string { - return s.Name.String + existingsupportGroupCcrns := lo.Map(seedCollection.SupportGroupRows, func(s mariadb.SupportGroupRow, index int) string { + return s.CCRN.String }) - for _, name := range respData.ServiceFilterValues.SupportGroupName.Values { - Expect(lo.Contains(existingSupportGroupNames, *name)).To(BeTrue()) + for _, ccrn := range respData.ServiceFilterValues.SupportGroupCcrn.Values { + Expect(lo.Contains(existingsupportGroupCcrns, *ccrn)).To(BeTrue()) } }) It("returns correct userNames", func() { diff --git a/internal/e2e/service_query_test.go b/internal/e2e/service_query_test.go index ed6de0b5..19359d2d 100644 --- a/internal/e2e/service_query_test.go +++ b/internal/e2e/service_query_test.go @@ -168,7 +168,7 @@ var _ = Describe("Getting Services via API", Label("e2e", "Services"), func() { for _, sg := range service.Node.SupportGroups.Edges { Expect(sg.Node.ID).ToNot(BeNil(), "supportGroup has a ID set") - Expect(sg.Node.Name).ToNot(BeNil(), "supportGroup has a name set") + Expect(sg.Node.Ccrn).ToNot(BeNil(), "supportGroup has a ccrn set") _, sgFound := lo.Find(seedCollection.SupportGroupServiceRows, func(row mariadb.SupportGroupServiceRow) bool { return fmt.Sprintf("%d", row.SupportGroupId.Int64) == sg.Node.ID && // correct sg diff --git a/internal/e2e/support_group_query_test.go b/internal/e2e/support_group_query_test.go index 2ba6c31f..20cf2d34 100644 --- a/internal/e2e/support_group_query_test.go +++ b/internal/e2e/support_group_query_test.go @@ -174,11 +174,11 @@ var _ = Describe("Getting SupportGroups via API", Label("e2e", "SupportGroups"), for _, sg := range respData.SupportGroups.Edges { Expect(sg.Node.ID).ToNot(BeNil(), "supportGroup has a ID set") - Expect(sg.Node.Name).ToNot(BeNil(), "supportGroup has a name set") + Expect(sg.Node.Ccrn).ToNot(BeNil(), "supportGroup has a ccrn set") for _, service := range sg.Node.Services.Edges { Expect(service.Node.ID).ToNot(BeNil(), "Service has a ID set") - Expect(service.Node.Ccrn).ToNot(BeNil(), "Service has a name set") + Expect(service.Node.Ccrn).ToNot(BeNil(), "Service has a ccrn set") _, serviceFound := lo.Find(seedCollection.SupportGroupServiceRows, func(row mariadb.SupportGroupServiceRow) bool { return fmt.Sprintf("%d", row.SupportGroupId.Int64) == sg.Node.ID && // correct support group @@ -258,7 +258,7 @@ var _ = Describe("Creating SupportGroup via API", Label("e2e", "SupportGroups"), req := graphql.NewRequest(str) req.Var("input", map[string]string{ - "name": supportGroup.Name, + "ccrn": supportGroup.CCRN, }) req.Header.Set("Cache-Control", "no-cache") @@ -271,7 +271,7 @@ var _ = Describe("Creating SupportGroup via API", Label("e2e", "SupportGroups"), logrus.WithError(err).WithField("request", req).Fatalln("Error while unmarshaling") } - Expect(*respData.SupportGroup.Name).To(Equal(supportGroup.Name)) + Expect(*respData.SupportGroup.Ccrn).To(Equal(supportGroup.CCRN)) }) }) }) @@ -320,11 +320,11 @@ var _ = Describe("Updating SupportGroup via API", Label("e2e", "SupportGroups"), req := graphql.NewRequest(str) supportGroup := seedCollection.SupportGroupRows[0].AsSupportGroup() - supportGroup.Name = "Team Alone" + supportGroup.CCRN = "Team Alone" req.Var("id", fmt.Sprintf("%d", supportGroup.Id)) req.Var("input", map[string]string{ - "name": supportGroup.Name, + "ccrn": supportGroup.CCRN, }) req.Header.Set("Cache-Control", "no-cache") @@ -337,7 +337,7 @@ var _ = Describe("Updating SupportGroup via API", Label("e2e", "SupportGroups"), logrus.WithError(err).WithField("request", req).Fatalln("Error while unmarshaling") } - Expect(*respData.SupportGroup.Name).To(Equal(supportGroup.Name)) + Expect(*respData.SupportGroup.Ccrn).To(Equal(supportGroup.CCRN)) }) }) }) diff --git a/internal/e2e/user_query_test.go b/internal/e2e/user_query_test.go index 27e56cc5..f32fe6c5 100644 --- a/internal/e2e/user_query_test.go +++ b/internal/e2e/user_query_test.go @@ -173,7 +173,7 @@ var _ = Describe("Getting Users via API", Label("e2e", "Users"), func() { for _, sg := range user.Node.SupportGroups.Edges { Expect(sg.Node.ID).ToNot(BeNil(), "supportGroup has a ID set") - Expect(sg.Node.Name).ToNot(BeNil(), "supportGroup has a name set") + Expect(sg.Node.Ccrn).ToNot(BeNil(), "supportGroup has a ccrn set") _, sgFound := lo.Find(seedCollection.SupportGroupUserRows, func(row mariadb.SupportGroupUserRow) bool { return fmt.Sprintf("%d", row.SupportGroupId.Int64) == sg.Node.ID && // correct support group diff --git a/internal/entity/issue_match.go b/internal/entity/issue_match.go index 9d4618e5..fbd0ea7e 100644 --- a/internal/entity/issue_match.go +++ b/internal/entity/issue_match.go @@ -65,7 +65,7 @@ type IssueMatchFilter struct { IssueId []*int64 `json:"issue_id"` EvidenceId []*int64 `json:"evidence_id"` ComponentInstanceId []*int64 `json:"component_instance_id"` - SupportGroupName []*string `json:"support_group_name"` + SupportGroupCCRN []*string `json:"support_group_ccrn"` Search []*string `json:"search"` ComponentCCRN []*string `json:"component_ccrn"` PrimaryName []*string `json:"primary_name"` diff --git a/internal/entity/service.go b/internal/entity/service.go index 7691565d..780328a9 100644 --- a/internal/entity/service.go +++ b/internal/entity/service.go @@ -23,7 +23,7 @@ type ServiceAggregations struct { type ServiceFilter struct { Paginated - SupportGroupName []*string `json:"support_group_name"` + SupportGroupCCRN []*string `json:"support_group_ccrn"` Id []*int64 `json:"id"` CCRN []*string `json:"ccrn"` OwnerName []*string `json:"owner_name"` diff --git a/internal/entity/support_group.go b/internal/entity/support_group.go index ca280db0..75259174 100644 --- a/internal/entity/support_group.go +++ b/internal/entity/support_group.go @@ -7,7 +7,7 @@ import "time" type SupportGroup struct { Id int64 `json:"id"` - Name string `json:"name"` + CCRN string `json:"ccrn"` CreatedAt time.Time `json:"created_at"` DeletedAt time.Time `json:"deleted_at,omitempty"` UpdatedAt time.Time `json:"updated_at"` @@ -18,7 +18,7 @@ type SupportGroupFilter struct { Id []*int64 `json:"id"` ServiceId []*int64 `json:"service_id"` UserId []*int64 `json:"user_id"` - Name []*string `json:"name"` + CCRN []*string `json:"ccrn"` } type SupportGroupAggregations struct { diff --git a/internal/entity/test/support_group.go b/internal/entity/test/support_group.go index fc72b935..17719720 100644 --- a/internal/entity/test/support_group.go +++ b/internal/entity/test/support_group.go @@ -11,7 +11,7 @@ import ( func NewFakeSupportGroupEntity() entity.SupportGroup { return entity.SupportGroup{ Id: int64(gofakeit.Number(1, 10000000)), - Name: gofakeit.AppName(), + CCRN: gofakeit.AppName(), CreatedAt: gofakeit.Date(), DeletedAt: gofakeit.Date(), UpdatedAt: gofakeit.Date(), diff --git a/internal/mocks/mock_Database.go b/internal/mocks/mock_Database.go index 33355aab..80a35c54 100644 --- a/internal/mocks/mock_Database.go +++ b/internal/mocks/mock_Database.go @@ -4297,12 +4297,12 @@ func (_c *MockDatabase_GetServices_Call) RunAndReturn(run func(*entity.ServiceFi return _c } -// GetSupportGroupNames provides a mock function with given fields: _a0 -func (_m *MockDatabase) GetSupportGroupNames(_a0 *entity.SupportGroupFilter) ([]string, error) { +// GetSupportGroupCcrns provides a mock function with given fields: _a0 +func (_m *MockDatabase) GetSupportGroupCcrns(_a0 *entity.SupportGroupFilter) ([]string, error) { ret := _m.Called(_a0) if len(ret) == 0 { - panic("no return value specified for GetSupportGroupNames") + panic("no return value specified for GetSupportGroupCcrns") } var r0 []string @@ -4327,30 +4327,30 @@ func (_m *MockDatabase) GetSupportGroupNames(_a0 *entity.SupportGroupFilter) ([] return r0, r1 } -// MockDatabase_GetSupportGroupNames_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSupportGroupNames' -type MockDatabase_GetSupportGroupNames_Call struct { +// MockDatabase_GetSupportGroupCcrns_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSupportGroupCcrns' +type MockDatabase_GetSupportGroupCcrns_Call struct { *mock.Call } -// GetSupportGroupNames is a helper method to define mock.On call +// GetSupportGroupCcrns is a helper method to define mock.On call // - _a0 *entity.SupportGroupFilter -func (_e *MockDatabase_Expecter) GetSupportGroupNames(_a0 interface{}) *MockDatabase_GetSupportGroupNames_Call { - return &MockDatabase_GetSupportGroupNames_Call{Call: _e.mock.On("GetSupportGroupNames", _a0)} +func (_e *MockDatabase_Expecter) GetSupportGroupCcrns(_a0 interface{}) *MockDatabase_GetSupportGroupCcrns_Call { + return &MockDatabase_GetSupportGroupCcrns_Call{Call: _e.mock.On("GetSupportGroupCcrns", _a0)} } -func (_c *MockDatabase_GetSupportGroupNames_Call) Run(run func(_a0 *entity.SupportGroupFilter)) *MockDatabase_GetSupportGroupNames_Call { +func (_c *MockDatabase_GetSupportGroupCcrns_Call) Run(run func(_a0 *entity.SupportGroupFilter)) *MockDatabase_GetSupportGroupCcrns_Call { _c.Call.Run(func(args mock.Arguments) { run(args[0].(*entity.SupportGroupFilter)) }) return _c } -func (_c *MockDatabase_GetSupportGroupNames_Call) Return(_a0 []string, _a1 error) *MockDatabase_GetSupportGroupNames_Call { +func (_c *MockDatabase_GetSupportGroupCcrns_Call) Return(_a0 []string, _a1 error) *MockDatabase_GetSupportGroupCcrns_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockDatabase_GetSupportGroupNames_Call) RunAndReturn(run func(*entity.SupportGroupFilter) ([]string, error)) *MockDatabase_GetSupportGroupNames_Call { +func (_c *MockDatabase_GetSupportGroupCcrns_Call) RunAndReturn(run func(*entity.SupportGroupFilter) ([]string, error)) *MockDatabase_GetSupportGroupCcrns_Call { _c.Call.Return(run) return _c } diff --git a/internal/mocks/mock_Heureka.go b/internal/mocks/mock_Heureka.go index e5d1ff35..6076dcbf 100644 --- a/internal/mocks/mock_Heureka.go +++ b/internal/mocks/mock_Heureka.go @@ -3023,12 +3023,12 @@ func (_c *MockHeureka_ListServices_Call) RunAndReturn(run func(*entity.ServiceFi return _c } -// ListSupportGroupNames provides a mock function with given fields: _a0, _a1 -func (_m *MockHeureka) ListSupportGroupNames(_a0 *entity.SupportGroupFilter, _a1 *entity.ListOptions) ([]string, error) { +// ListSupportGroupCcrns provides a mock function with given fields: _a0, _a1 +func (_m *MockHeureka) ListSupportGroupCcrns(_a0 *entity.SupportGroupFilter, _a1 *entity.ListOptions) ([]string, error) { ret := _m.Called(_a0, _a1) if len(ret) == 0 { - panic("no return value specified for ListSupportGroupNames") + panic("no return value specified for ListSupportGroupCcrns") } var r0 []string @@ -3053,31 +3053,31 @@ func (_m *MockHeureka) ListSupportGroupNames(_a0 *entity.SupportGroupFilter, _a1 return r0, r1 } -// MockHeureka_ListSupportGroupNames_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSupportGroupNames' -type MockHeureka_ListSupportGroupNames_Call struct { +// MockHeureka_ListSupportGroupCcrns_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSupportGroupCcrns' +type MockHeureka_ListSupportGroupCcrns_Call struct { *mock.Call } -// ListSupportGroupNames is a helper method to define mock.On call +// ListSupportGroupCcrns is a helper method to define mock.On call // - _a0 *entity.SupportGroupFilter // - _a1 *entity.ListOptions -func (_e *MockHeureka_Expecter) ListSupportGroupNames(_a0 interface{}, _a1 interface{}) *MockHeureka_ListSupportGroupNames_Call { - return &MockHeureka_ListSupportGroupNames_Call{Call: _e.mock.On("ListSupportGroupNames", _a0, _a1)} +func (_e *MockHeureka_Expecter) ListSupportGroupCcrns(_a0 interface{}, _a1 interface{}) *MockHeureka_ListSupportGroupCcrns_Call { + return &MockHeureka_ListSupportGroupCcrns_Call{Call: _e.mock.On("ListSupportGroupCcrns", _a0, _a1)} } -func (_c *MockHeureka_ListSupportGroupNames_Call) Run(run func(_a0 *entity.SupportGroupFilter, _a1 *entity.ListOptions)) *MockHeureka_ListSupportGroupNames_Call { +func (_c *MockHeureka_ListSupportGroupCcrns_Call) Run(run func(_a0 *entity.SupportGroupFilter, _a1 *entity.ListOptions)) *MockHeureka_ListSupportGroupCcrns_Call { _c.Call.Run(func(args mock.Arguments) { run(args[0].(*entity.SupportGroupFilter), args[1].(*entity.ListOptions)) }) return _c } -func (_c *MockHeureka_ListSupportGroupNames_Call) Return(_a0 []string, _a1 error) *MockHeureka_ListSupportGroupNames_Call { +func (_c *MockHeureka_ListSupportGroupCcrns_Call) Return(_a0 []string, _a1 error) *MockHeureka_ListSupportGroupCcrns_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockHeureka_ListSupportGroupNames_Call) RunAndReturn(run func(*entity.SupportGroupFilter, *entity.ListOptions) ([]string, error)) *MockHeureka_ListSupportGroupNames_Call { +func (_c *MockHeureka_ListSupportGroupCcrns_Call) RunAndReturn(run func(*entity.SupportGroupFilter, *entity.ListOptions) ([]string, error)) *MockHeureka_ListSupportGroupCcrns_Call { _c.Call.Return(run) return _c } diff --git a/scanner/k8s-assets/client/generated.go b/scanner/k8s-assets/client/generated.go index 39a85f18..d926835a 100644 --- a/scanner/k8s-assets/client/generated.go +++ b/scanner/k8s-assets/client/generated.go @@ -417,7 +417,7 @@ type ServiceFilter struct { UniqueUserId []string `json:"uniqueUserId"` Type []int `json:"type"` UserName []string `json:"userName"` - SupportGroupName []string `json:"supportGroupName"` + SupportGroupCcrn []string `json:"supportGroupCcrn"` Search []string `json:"search"` } @@ -433,8 +433,8 @@ func (v *ServiceFilter) GetType() []int { return v.Type } // GetUserName returns ServiceFilter.UserName, and is useful for accessing the field via an interface. func (v *ServiceFilter) GetUserName() []string { return v.UserName } -// GetSupportGroupName returns ServiceFilter.SupportGroupName, and is useful for accessing the field via an interface. -func (v *ServiceFilter) GetSupportGroupName() []string { return v.SupportGroupName } +// GetSupportGroupCcrn returns ServiceFilter.SupportGroupCcrn, and is useful for accessing the field via an interface. +func (v *ServiceFilter) GetSupportGroupCcrn() []string { return v.SupportGroupCcrn } // GetSearch returns ServiceFilter.Search, and is useful for accessing the field via an interface. func (v *ServiceFilter) GetSearch() []string { return v.Search } @@ -449,32 +449,32 @@ func (v *ServiceInput) GetCcrn() string { return v.Ccrn } // SupportGroup includes the requested fields of the GraphQL type SupportGroup. type SupportGroup struct { Id string `json:"id"` - Name string `json:"name"` + Ccrn string `json:"ccrn"` } // GetId returns SupportGroup.Id, and is useful for accessing the field via an interface. func (v *SupportGroup) GetId() string { return v.Id } -// GetName returns SupportGroup.Name, and is useful for accessing the field via an interface. -func (v *SupportGroup) GetName() string { return v.Name } +// GetCcrn returns SupportGroup.Ccrn, and is useful for accessing the field via an interface. +func (v *SupportGroup) GetCcrn() string { return v.Ccrn } type SupportGroupFilter struct { - SupportGroupName []string `json:"supportGroupName"` + SupportGroupCcrn []string `json:"supportGroupCcrn"` UserIds []string `json:"userIds"` } -// GetSupportGroupName returns SupportGroupFilter.SupportGroupName, and is useful for accessing the field via an interface. -func (v *SupportGroupFilter) GetSupportGroupName() []string { return v.SupportGroupName } +// GetSupportGroupCcrn returns SupportGroupFilter.SupportGroupCcrn, and is useful for accessing the field via an interface. +func (v *SupportGroupFilter) GetSupportGroupCcrn() []string { return v.SupportGroupCcrn } // GetUserIds returns SupportGroupFilter.UserIds, and is useful for accessing the field via an interface. func (v *SupportGroupFilter) GetUserIds() []string { return v.UserIds } type SupportGroupInput struct { - Name string `json:"name"` + Ccrn string `json:"ccrn"` } -// GetName returns SupportGroupInput.Name, and is useful for accessing the field via an interface. -func (v *SupportGroupInput) GetName() string { return v.Name } +// GetCcrn returns SupportGroupInput.Ccrn, and is useful for accessing the field via an interface. +func (v *SupportGroupInput) GetCcrn() string { return v.Ccrn } // __AddServiceToSupportGroupInput is used internally by genqlient type __AddServiceToSupportGroupInput struct { @@ -565,7 +565,7 @@ const AddServiceToSupportGroup_Operation = ` mutation AddServiceToSupportGroup ($supportGroupId: ID!, $serviceId: ID!) { addServiceToSupportGroup(supportGroupId: $supportGroupId, serviceId: $serviceId) { id - name + ccrn } } ` @@ -715,7 +715,7 @@ const CreateSupportGroup_Operation = ` mutation CreateSupportGroup ($input: SupportGroupInput!) { createSupportGroup(input: $input) { id - name + ccrn } } ` diff --git a/scanner/k8s-assets/client/query/addServiceToSupportGroup.graphql b/scanner/k8s-assets/client/query/addServiceToSupportGroup.graphql index 9082fd02..023d1163 100644 --- a/scanner/k8s-assets/client/query/addServiceToSupportGroup.graphql +++ b/scanner/k8s-assets/client/query/addServiceToSupportGroup.graphql @@ -8,6 +8,6 @@ mutation AddServiceToSupportGroup ($supportGroupId: ID!, $serviceId: ID!) { serviceId: $serviceId ) { id - name + ccrn } } \ No newline at end of file diff --git a/scanner/k8s-assets/client/query/support_group_create.graphql b/scanner/k8s-assets/client/query/support_group_create.graphql index 6613ae2f..e5b50a6e 100644 --- a/scanner/k8s-assets/client/query/support_group_create.graphql +++ b/scanner/k8s-assets/client/query/support_group_create.graphql @@ -7,6 +7,6 @@ mutation CreateSupportGroup ($input: SupportGroupInput!) { input: $input ) { id - name + ccrn } } \ No newline at end of file diff --git a/scanner/k8s-assets/processor/processor.go b/scanner/k8s-assets/processor/processor.go index 1e0fee58..d0f479be 100644 --- a/scanner/k8s-assets/processor/processor.go +++ b/scanner/k8s-assets/processor/processor.go @@ -112,7 +112,7 @@ func (p *Processor) ProcessService(ctx context.Context, serviceInfo scanner.Serv // Create new SupportGroup createSupportGroupInput := &client.SupportGroupInput{ - Name: serviceInfo.SupportGroup, + Ccrn: serviceInfo.SupportGroup, } createSupportGroupResp, err := client.CreateSupportGroup(ctx, *p.Client, createSupportGroupInput) if err != nil { @@ -133,7 +133,7 @@ func (p *Processor) getSupportGroup(ctx context.Context, serviceInfo scanner.Ser var supportGroupId string listSupportGroupsFilter := client.SupportGroupFilter{ - SupportGroupName: []string{serviceInfo.SupportGroup}, + SupportGroupCcrn: []string{serviceInfo.SupportGroup}, } listSupportGroupsResp, err := client.ListSupportGroups(ctx, *p.Client, &listSupportGroupsFilter) if err != nil { From 0b4b38615bf0ec07255ec7e3370d0149c3ba55e1 Mon Sep 17 00:00:00 2001 From: BlakePatterson Date: Tue, 15 Oct 2024 15:53:35 -0400 Subject: [PATCH 04/21] chore(refactor): added ccrn field to component version --- .../graph/baseResolver/component_version.go | 1 + internal/api/graphql/graph/generated.go | 77 ++++++++++++++++++- internal/api/graphql/graph/model/models.go | 2 + .../api/graphql/graph/model/models_gen.go | 3 + .../component/directRelations.graphql | 1 + .../componentInstance/directRelations.graphql | 1 + .../componentVersion/create.graphql | 1 + .../componentVersion/directRelations.graphql | 1 + .../componentVersion/minimal.graphql | 1 + .../componentVersion/update.graphql | 1 + .../graph/queryCollection/issue/full.graphql | 1 + .../graph/schema/component_version.graphqls | 3 + .../component_version_handler.go | 17 ++++ .../component_version_handler_test.go | 12 +++ .../database/mariadb/component_version.go | 8 ++ .../mariadb/component_version_test.go | 23 ++++++ internal/database/mariadb/entity.go | 3 + internal/database/mariadb/init/schema.sql | 3 + internal/database/mariadb/test/fixture.go | 4 + internal/e2e/component_version_query_test.go | 5 ++ internal/entity/component_version.go | 2 + internal/entity/test/component_version.go | 1 + scanner/k8s-assets/client/generated.go | 18 +++++ .../query/componentversion_create.graphql | 1 + .../query/componentversion_query.graphql | 1 + scanner/keppel/client/generated.go | 14 ++++ .../query/createComponentVersion.graphql | 1 + .../query/listComponentVersions.graphql | 1 + 28 files changed, 205 insertions(+), 2 deletions(-) diff --git a/internal/api/graphql/graph/baseResolver/component_version.go b/internal/api/graphql/graph/baseResolver/component_version.go index 040ad90e..fb1ac91f 100644 --- a/internal/api/graphql/graph/baseResolver/component_version.go +++ b/internal/api/graphql/graph/baseResolver/component_version.go @@ -96,6 +96,7 @@ func ComponentVersionBaseResolver(app app.Heureka, ctx context.Context, filter * f := &entity.ComponentVersionFilter{ Paginated: entity.Paginated{First: first, After: afterId}, + CCRN: filter.Ccrn, IssueId: issueId, ComponentId: componentId, ComponentCCRN: filter.ComponentCcrn, diff --git a/internal/api/graphql/graph/generated.go b/internal/api/graphql/graph/generated.go index 0be06feb..c16c74fc 100644 --- a/internal/api/graphql/graph/generated.go +++ b/internal/api/graphql/graph/generated.go @@ -174,6 +174,7 @@ type ComplexityRoot struct { } ComponentVersion struct { + Ccrn func(childComplexity int) int Component func(childComplexity int) int ComponentID func(childComplexity int) int ComponentInstances func(childComplexity int, first *int, after *string) int @@ -1204,6 +1205,13 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return e.complexity.ComponentInstanceEdge.Node(childComplexity), true + case "ComponentVersion.ccrn": + if e.complexity.ComponentVersion.Ccrn == nil { + break + } + + return e.complexity.ComponentVersion.Ccrn(childComplexity), true + case "ComponentVersion.component": if e.complexity.ComponentVersion.Component == nil { break @@ -12417,6 +12425,8 @@ func (ec *executionContext) fieldContext_ComponentInstance_componentVersion(_ co switch field.Name { case "id": return ec.fieldContext_ComponentVersion_id(ctx, field) + case "ccrn": + return ec.fieldContext_ComponentVersion_ccrn(ctx, field) case "version": return ec.fieldContext_ComponentVersion_version(ctx, field) case "componentId": @@ -12974,6 +12984,47 @@ func (ec *executionContext) fieldContext_ComponentVersion_id(_ context.Context, return fc, nil } +func (ec *executionContext) _ComponentVersion_ccrn(ctx context.Context, field graphql.CollectedField, obj *model.ComponentVersion) (ret graphql.Marshaler) { + fc, err := ec.fieldContext_ComponentVersion_ccrn(ctx, field) + if err != nil { + return graphql.Null + } + ctx = graphql.WithFieldContext(ctx, fc) + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + ret = graphql.Null + } + }() + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + ctx = rctx // use context from middleware stack in children + return obj.Ccrn, nil + }) + if err != nil { + ec.Error(ctx, err) + return graphql.Null + } + if resTmp == nil { + return graphql.Null + } + res := resTmp.(*string) + fc.Result = res + return ec.marshalOString2ᚖstring(ctx, field.Selections, res) +} + +func (ec *executionContext) fieldContext_ComponentVersion_ccrn(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "ComponentVersion", + Field: field, + IsMethod: false, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type String does not have child fields") + }, + } + return fc, nil +} + func (ec *executionContext) _ComponentVersion_version(ctx context.Context, field graphql.CollectedField, obj *model.ComponentVersion) (ret graphql.Marshaler) { fc, err := ec.fieldContext_ComponentVersion_version(ctx, field) if err != nil { @@ -13423,6 +13474,8 @@ func (ec *executionContext) fieldContext_ComponentVersionEdge_node(_ context.Con switch field.Name { case "id": return ec.fieldContext_ComponentVersion_id(ctx, field) + case "ccrn": + return ec.fieldContext_ComponentVersion_ccrn(ctx, field) case "version": return ec.fieldContext_ComponentVersion_version(ctx, field) case "componentId": @@ -20036,6 +20089,8 @@ func (ec *executionContext) fieldContext_Mutation_createComponentVersion(ctx con switch field.Name { case "id": return ec.fieldContext_ComponentVersion_id(ctx, field) + case "ccrn": + return ec.fieldContext_ComponentVersion_ccrn(ctx, field) case "version": return ec.fieldContext_ComponentVersion_version(ctx, field) case "componentId": @@ -20105,6 +20160,8 @@ func (ec *executionContext) fieldContext_Mutation_updateComponentVersion(ctx con switch field.Name { case "id": return ec.fieldContext_ComponentVersion_id(ctx, field) + case "ccrn": + return ec.fieldContext_ComponentVersion_ccrn(ctx, field) case "version": return ec.fieldContext_ComponentVersion_version(ctx, field) case "componentId": @@ -28161,13 +28218,20 @@ func (ec *executionContext) unmarshalInputComponentVersionFilter(ctx context.Con asMap[k] = v } - fieldsInOrder := [...]string{"componentId", "componentCcrn", "issueId", "version"} + fieldsInOrder := [...]string{"ccrn", "componentId", "componentCcrn", "issueId", "version"} for _, k := range fieldsInOrder { v, ok := asMap[k] if !ok { continue } switch k { + case "ccrn": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("ccrn")) + data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) + if err != nil { + return it, err + } + it.Ccrn = data case "componentId": ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("componentId")) data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) @@ -28209,13 +28273,20 @@ func (ec *executionContext) unmarshalInputComponentVersionInput(ctx context.Cont asMap[k] = v } - fieldsInOrder := [...]string{"version", "componentId"} + fieldsInOrder := [...]string{"ccrn", "version", "componentId"} for _, k := range fieldsInOrder { v, ok := asMap[k] if !ok { continue } switch k { + case "ccrn": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("ccrn")) + data, err := ec.unmarshalOString2ᚖstring(ctx, v) + if err != nil { + return it, err + } + it.Ccrn = data case "version": ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("version")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) @@ -30308,6 +30379,8 @@ func (ec *executionContext) _ComponentVersion(ctx context.Context, sel ast.Selec if out.Values[i] == graphql.Null { atomic.AddUint32(&out.Invalids, 1) } + case "ccrn": + out.Values[i] = ec._ComponentVersion_ccrn(ctx, field, obj) case "version": out.Values[i] = ec._ComponentVersion_version(ctx, field, obj) case "componentId": diff --git a/internal/api/graphql/graph/model/models.go b/internal/api/graphql/graph/model/models.go index 0a633a04..e6d31e27 100644 --- a/internal/api/graphql/graph/model/models.go +++ b/internal/api/graphql/graph/model/models.go @@ -433,6 +433,7 @@ func NewComponentEntity(component *ComponentInput) entity.Component { func NewComponentVersion(componentVersion *entity.ComponentVersion) ComponentVersion { return ComponentVersion{ ID: fmt.Sprintf("%d", componentVersion.Id), + Ccrn: &componentVersion.CCRN, Version: &componentVersion.Version, ComponentID: util.Ptr(fmt.Sprintf("%d", componentVersion.ComponentId)), } @@ -444,6 +445,7 @@ func NewComponentVersionEntity(componentVersion *ComponentVersionInput) entity.C componentId = 0 } return entity.ComponentVersion{ + CCRN: lo.FromPtr(componentVersion.Ccrn), Version: lo.FromPtr(componentVersion.Version), ComponentId: componentId, } diff --git a/internal/api/graphql/graph/model/models_gen.go b/internal/api/graphql/graph/model/models_gen.go index dedc7a57..bcb4532d 100644 --- a/internal/api/graphql/graph/model/models_gen.go +++ b/internal/api/graphql/graph/model/models_gen.go @@ -200,6 +200,7 @@ type ComponentInstanceInput struct { type ComponentVersion struct { ID string `json:"id"` + Ccrn *string `json:"ccrn,omitempty"` Version *string `json:"version,omitempty"` ComponentID *string `json:"componentId,omitempty"` Component *Component `json:"component,omitempty"` @@ -230,6 +231,7 @@ func (this ComponentVersionEdge) GetNode() Node { return *this.Node } func (this ComponentVersionEdge) GetCursor() *string { return this.Cursor } type ComponentVersionFilter struct { + Ccrn []*string `json:"ccrn,omitempty"` ComponentID []*string `json:"componentId,omitempty"` ComponentCcrn []*string `json:"componentCcrn,omitempty"` IssueID []*string `json:"issueId,omitempty"` @@ -237,6 +239,7 @@ type ComponentVersionFilter struct { } type ComponentVersionInput struct { + Ccrn *string `json:"ccrn,omitempty"` Version *string `json:"version,omitempty"` ComponentID *string `json:"componentId,omitempty"` } diff --git a/internal/api/graphql/graph/queryCollection/component/directRelations.graphql b/internal/api/graphql/graph/queryCollection/component/directRelations.graphql index 8d3b77e1..4e55d3fc 100644 --- a/internal/api/graphql/graph/queryCollection/component/directRelations.graphql +++ b/internal/api/graphql/graph/queryCollection/component/directRelations.graphql @@ -19,6 +19,7 @@ query ($filter: ComponentFilter, $first: Int, $after: String) { edges { node { id + ccrn version componentId } diff --git a/internal/api/graphql/graph/queryCollection/componentInstance/directRelations.graphql b/internal/api/graphql/graph/queryCollection/componentInstance/directRelations.graphql index 1ef71306..959d14c5 100644 --- a/internal/api/graphql/graph/queryCollection/componentInstance/directRelations.graphql +++ b/internal/api/graphql/graph/queryCollection/componentInstance/directRelations.graphql @@ -17,6 +17,7 @@ query ($filter: ComponentInstanceFilter, $first: Int, $after: String) { componentVersionId componentVersion { id + ccrn version componentId } diff --git a/internal/api/graphql/graph/queryCollection/componentVersion/create.graphql b/internal/api/graphql/graph/queryCollection/componentVersion/create.graphql index 9dbb643b..251af7c8 100644 --- a/internal/api/graphql/graph/queryCollection/componentVersion/create.graphql +++ b/internal/api/graphql/graph/queryCollection/componentVersion/create.graphql @@ -6,6 +6,7 @@ mutation ($input: ComponentVersionInput!) { input: $input ) { id + ccrn version componentId } diff --git a/internal/api/graphql/graph/queryCollection/componentVersion/directRelations.graphql b/internal/api/graphql/graph/queryCollection/componentVersion/directRelations.graphql index 654cf814..e6e58ec1 100644 --- a/internal/api/graphql/graph/queryCollection/componentVersion/directRelations.graphql +++ b/internal/api/graphql/graph/queryCollection/componentVersion/directRelations.graphql @@ -12,6 +12,7 @@ query ($filter: ComponentVersionFilter, $first: Int, $after: String) { edges { node { id + ccrn version componentId component { diff --git a/internal/api/graphql/graph/queryCollection/componentVersion/minimal.graphql b/internal/api/graphql/graph/queryCollection/componentVersion/minimal.graphql index 3cd8a389..e7e25f6b 100644 --- a/internal/api/graphql/graph/queryCollection/componentVersion/minimal.graphql +++ b/internal/api/graphql/graph/queryCollection/componentVersion/minimal.graphql @@ -11,6 +11,7 @@ query ($filter: ComponentVersionFilter, $first: Int, $after: String) { edges { node { id + ccrn version } cursor diff --git a/internal/api/graphql/graph/queryCollection/componentVersion/update.graphql b/internal/api/graphql/graph/queryCollection/componentVersion/update.graphql index 00928ffe..ebffb883 100644 --- a/internal/api/graphql/graph/queryCollection/componentVersion/update.graphql +++ b/internal/api/graphql/graph/queryCollection/componentVersion/update.graphql @@ -8,6 +8,7 @@ mutation ($id: ID!, $input: ComponentVersionInput!) { ) { __typename id + ccrn version componentId } diff --git a/internal/api/graphql/graph/queryCollection/issue/full.graphql b/internal/api/graphql/graph/queryCollection/issue/full.graphql index e826a032..a3f1fae7 100644 --- a/internal/api/graphql/graph/queryCollection/issue/full.graphql +++ b/internal/api/graphql/graph/queryCollection/issue/full.graphql @@ -92,6 +92,7 @@ query ($filter: IssueFilter, $first: Int, $after: String) { id componentVersion { id + ccrn version component { id diff --git a/internal/api/graphql/graph/schema/component_version.graphqls b/internal/api/graphql/graph/schema/component_version.graphqls index 597292a5..478657be 100644 --- a/internal/api/graphql/graph/schema/component_version.graphqls +++ b/internal/api/graphql/graph/schema/component_version.graphqls @@ -3,6 +3,7 @@ type ComponentVersion implements Node { id: ID! + ccrn: String version: String componentId: String component: Component @@ -11,6 +12,7 @@ type ComponentVersion implements Node { } input ComponentVersionInput { + ccrn: String version: String componentId: String } @@ -27,6 +29,7 @@ type ComponentVersionEdge implements Edge { } input ComponentVersionFilter { + ccrn: [String] componentId: [String] componentCcrn: [String] issueId: [String] diff --git a/internal/app/component_version/component_version_handler.go b/internal/app/component_version/component_version_handler.go index 47cadc33..45823503 100644 --- a/internal/app/component_version/component_version_handler.go +++ b/internal/app/component_version/component_version_handler.go @@ -6,6 +6,7 @@ package component_version import ( "errors" "fmt" + "github.com/cloudoperators/heureka/internal/app/common" "github.com/cloudoperators/heureka/internal/app/event" "github.com/cloudoperators/heureka/internal/database" @@ -109,11 +110,27 @@ func (cv *componentVersionHandler) ListComponentVersions(filter *entity.Componen } func (cv *componentVersionHandler) CreateComponentVersion(componentVersion *entity.ComponentVersion) (*entity.ComponentVersion, error) { + f := &entity.ComponentVersionFilter{ + CCRN: []*string{&componentVersion.CCRN}, + } + l := logrus.WithFields(logrus.Fields{ "event": CreateComponentVersionEventName, "object": componentVersion, + "filter": f, }) + componentVersions, err := cv.ListComponentVersions(f, &entity.ListOptions{}) + + if err != nil { + l.Error(err) + return nil, NewComponentVersionHandlerError("Internal error while creating componentVersion.") + } + + if len(componentVersions.Elements) > 0 { + return nil, NewComponentVersionHandlerError(fmt.Sprintf("Duplicated entry %s for ccrn.", componentVersion.CCRN)) + } + newComponent, err := cv.database.CreateComponentVersion(componentVersion) if err != nil { diff --git a/internal/app/component_version/component_version_handler_test.go b/internal/app/component_version/component_version_handler_test.go index 88d31e00..7a8ef290 100644 --- a/internal/app/component_version/component_version_handler_test.go +++ b/internal/app/component_version/component_version_handler_test.go @@ -103,15 +103,27 @@ var _ = Describe("When creating ComponentVersion", Label("app", "CreateComponent db *mocks.MockDatabase componenVersionService cv.ComponentVersionHandler componentVersion entity.ComponentVersion + filter *entity.ComponentVersionFilter ) BeforeEach(func() { db = mocks.NewMockDatabase(GinkgoT()) componentVersion = test.NewFakeComponentVersionEntity() + first := 10 + var after int64 + after = 0 + filter = &entity.ComponentVersionFilter{ + Paginated: entity.Paginated{ + First: &first, + After: &after, + }, + } }) It("creates componentVersion", func() { + filter.CCRN = []*string{&componentVersion.CCRN} db.On("CreateComponentVersion", &componentVersion).Return(&componentVersion, nil) + db.On("GetComponentVersions", filter).Return([]entity.ComponentVersion{}, nil) componenVersionService = cv.NewComponentVersionHandler(db, er) newComponentVersion, err := componenVersionService.CreateComponentVersion(&componentVersion) Expect(err).To(BeNil(), "no error should be thrown") diff --git a/internal/database/mariadb/component_version.go b/internal/database/mariadb/component_version.go index 8f4ec7b5..297dd7ec 100644 --- a/internal/database/mariadb/component_version.go +++ b/internal/database/mariadb/component_version.go @@ -24,6 +24,7 @@ func (s *SqlDatabase) ensureComponentVersionFilter(f *entity.ComponentVersionFil After: &after, }, Id: nil, + CCRN: nil, IssueId: nil, ComponentCCRN: nil, ComponentId: nil, @@ -51,6 +52,9 @@ func (s *SqlDatabase) getComponentVersionJoins(filter *entity.ComponentVersionFi func (s *SqlDatabase) getComponentVersionUpdateFields(componentVersion *entity.ComponentVersion) string { fl := []string{} + if componentVersion.CCRN != "" { + fl = append(fl, "componentversion_ccrn = :componentversion_ccrn") + } if componentVersion.Version != "" { fl = append(fl, "componentversion_version = :componentversion_version") } @@ -63,6 +67,7 @@ func (s *SqlDatabase) getComponentVersionUpdateFields(componentVersion *entity.C func (s *SqlDatabase) getComponentVersionFilterString(filter *entity.ComponentVersionFilter) string { var fl []string fl = append(fl, buildFilterQuery(filter.Id, "CV.componentversion_id = ?", OP_OR)) + fl = append(fl, buildFilterQuery(filter.CCRN, "CV.componentversion_ccrn = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.IssueId, "CVI.componentversionissue_issue_id = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.ComponentId, "CV.componentversion_component_id = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.Version, "CV.componentversion_version = ?", OP_OR)) @@ -112,6 +117,7 @@ func (s *SqlDatabase) buildComponentVersionStatement(baseQuery string, filter *e //adding parameters var filterParameters []interface{} filterParameters = buildQueryParameters(filterParameters, filter.Id) + filterParameters = buildQueryParameters(filterParameters, filter.CCRN) filterParameters = buildQueryParameters(filterParameters, filter.IssueId) filterParameters = buildQueryParameters(filterParameters, filter.ComponentId) filterParameters = buildQueryParameters(filterParameters, filter.Version) @@ -209,9 +215,11 @@ func (s *SqlDatabase) CreateComponentVersion(componentVersion *entity.ComponentV query := ` INSERT INTO ComponentVersion ( componentversion_component_id, + componentversion_ccrn, componentversion_version ) VALUES ( :componentversion_component_id, + :componentversion_ccrn, :componentversion_version ) ` diff --git a/internal/database/mariadb/component_version_test.go b/internal/database/mariadb/component_version_test.go index a2237a75..ceca3782 100644 --- a/internal/database/mariadb/component_version_test.go +++ b/internal/database/mariadb/component_version_test.go @@ -144,6 +144,7 @@ var _ = Describe("ComponentVersion", Label("database", "ComponentVersion"), func for _, r := range res { for _, row := range seedCollection.ComponentVersionRows { if r.Id == row.Id.Int64 { + Expect(r.CCRN).Should(BeEquivalentTo(row.CCRN.String), "CCRN should match") Expect(r.Version).Should(BeEquivalentTo(row.Version.String), "Name should match") Expect(r.CreatedAt).ShouldNot(BeEquivalentTo(row.CreatedAt.Time), "CreatedAt matches") Expect(r.UpdatedAt).ShouldNot(BeEquivalentTo(row.UpdatedAt.Time), "UpdatedAt matches") @@ -174,6 +175,25 @@ var _ = Describe("ComponentVersion", Label("database", "ComponentVersion"), func Expect(entries[0].Id).To(BeEquivalentTo(cv.Id.Int64)) }) }) + It("can filter by a single component ccrn that does exist", func() { + row := seedCollection.ComponentVersionRows[rand.Intn(len(seedCollection.ComponentVersionRows))] + filter := &entity.ComponentVersionFilter{CCRN: []*string{&row.CCRN.String}} + + entries, err := db.GetComponentVersions(filter) + + By("throwing no error", func() { + Expect(err).To(BeNil()) + }) + + By("returning expected number of results", func() { + Expect(len(entries)).To(BeEquivalentTo(1)) + }) + + By("returning expected elements", func() { + Expect(entries[0].Id).To(BeEquivalentTo(row.Id.Int64)) + }) + + }) It("can filter by an issue id", func() { issueRow := seedCollection.IssueRows[rand.Intn(len(seedCollection.IssueRows))] @@ -384,6 +404,7 @@ var _ = Describe("ComponentVersion", Label("database", "ComponentVersion"), func }) By("setting fields", func() { Expect(cv[0].Id).To(BeEquivalentTo(componentVersion.Id)) + Expect(cv[0].CCRN).To(BeEquivalentTo(componentVersion.CCRN)) Expect(cv[0].Version).To(BeEquivalentTo(componentVersion.Version)) }) }) @@ -418,6 +439,7 @@ var _ = Describe("ComponentVersion", Label("database", "ComponentVersion"), func }) By("setting fields", func() { Expect(cv[0].Id).To(BeEquivalentTo(componentVersion.Id)) + Expect(cv[0].CCRN).To(BeEquivalentTo(componentVersion.CCRN)) Expect(cv[0].Version).To(BeEquivalentTo(componentVersion.Version)) Expect(cv[0].ComponentId).To(BeEquivalentTo(componentVersion.ComponentId)) }) @@ -445,6 +467,7 @@ var _ = Describe("ComponentVersion", Label("database", "ComponentVersion"), func }) By("setting fields", func() { Expect(cv[0].Id).To(BeEquivalentTo(componentVersion.Id)) + Expect(cv[0].CCRN).To(BeEquivalentTo(componentVersion.CCRN)) Expect(cv[0].Version).To(BeEquivalentTo(componentVersion.Version)) Expect(cv[0].ComponentId).To(BeEquivalentTo(componentVersion.ComponentId)) }) diff --git a/internal/database/mariadb/entity.go b/internal/database/mariadb/entity.go index 68f292ac..2330adee 100644 --- a/internal/database/mariadb/entity.go +++ b/internal/database/mariadb/entity.go @@ -394,6 +394,7 @@ func (cr *ComponentRow) FromComponent(c *entity.Component) { type ComponentVersionRow struct { Id sql.NullInt64 `db:"componentversion_id" json:"id"` + CCRN sql.NullString `db:"componentversion_ccrn" json:"ccrn"` Version sql.NullString `db:"componentversion_version" json:"version"` ComponentId sql.NullInt64 `db:"componentversion_component_id"` CreatedAt sql.NullTime `db:"componentversion_created_at" json:"created_at"` @@ -404,6 +405,7 @@ type ComponentVersionRow struct { func (cvr *ComponentVersionRow) AsComponentVersion() entity.ComponentVersion { return entity.ComponentVersion{ Id: GetInt64Value(cvr.Id), + CCRN: GetStringValue(cvr.CCRN), Version: GetStringValue(cvr.Version), ComponentId: GetInt64Value(cvr.ComponentId), CreatedAt: GetTimeValue(cvr.CreatedAt), @@ -414,6 +416,7 @@ func (cvr *ComponentVersionRow) AsComponentVersion() entity.ComponentVersion { func (cvr *ComponentVersionRow) FromComponentVersion(cv *entity.ComponentVersion) { cvr.Id = sql.NullInt64{Int64: cv.Id, Valid: true} + cvr.CCRN = sql.NullString{String: cv.CCRN, Valid: true} cvr.Version = sql.NullString{String: cv.Version, Valid: true} cvr.ComponentId = sql.NullInt64{Int64: cv.ComponentId, Valid: true} cvr.CreatedAt = sql.NullTime{Time: cv.CreatedAt, Valid: true} diff --git a/internal/database/mariadb/init/schema.sql b/internal/database/mariadb/init/schema.sql index 784d3d07..608aa65b 100644 --- a/internal/database/mariadb/init/schema.sql +++ b/internal/database/mariadb/init/schema.sql @@ -24,6 +24,7 @@ create table if not exists ComponentVersion ( componentversion_id int unsigned auto_increment primary key, + componentversion_ccrn varchar(256) not null, componentversion_version varchar(256) not null, componentversion_component_id int unsigned not null, componentversion_created_at timestamp default current_timestamp() not null, @@ -31,6 +32,8 @@ create table if not exists ComponentVersion componentversion_updated_at timestamp default current_timestamp() not null on update current_timestamp(), constraint id_UNIQUE unique (componentversion_id), + constraint ccrn_UNIQUE + unique (componentversion_ccrn), constraint version_component_unique unique (componentversion_version, componentversion_component_id), constraint fk_component_version_component diff --git a/internal/database/mariadb/test/fixture.go b/internal/database/mariadb/test/fixture.go index 11a994c6..ee34fc61 100644 --- a/internal/database/mariadb/test/fixture.go +++ b/internal/database/mariadb/test/fixture.go @@ -939,9 +939,11 @@ func (s *DatabaseSeeder) InsertFakeComponent(component mariadb.ComponentRow) (in func (s *DatabaseSeeder) InsertFakeComponentVersion(cv mariadb.ComponentVersionRow) (int64, error) { query := ` INSERT INTO ComponentVersion ( + componentversion_ccrn, componentversion_version, componentversion_component_id ) VALUES ( + :componentversion_ccrn, :componentversion_version, :componentversion_component_id )` @@ -1195,7 +1197,9 @@ func NewFakeComponent() mariadb.ComponentRow { } func NewFakeComponentVersion() mariadb.ComponentVersionRow { + ccrn := fmt.Sprintf("%s-%d", gofakeit.AppName(), gofakeit.Number(0, 99999)) return mariadb.ComponentVersionRow{ + CCRN: sql.NullString{String: ccrn, Valid: true}, Version: sql.NullString{String: gofakeit.AppVersion(), Valid: true}, } } diff --git a/internal/e2e/component_version_query_test.go b/internal/e2e/component_version_query_test.go index 0c96afb6..813066e6 100644 --- a/internal/e2e/component_version_query_test.go +++ b/internal/e2e/component_version_query_test.go @@ -236,6 +236,7 @@ var _ = Describe("Creating ComponentVersion via API", Label("e2e", "ComponentVer req := graphql.NewRequest(str) req.Var("input", map[string]string{ + "ccrn": componentVersion.CCRN, "version": componentVersion.Version, "componentId": fmt.Sprintf("%d", componentId), }) @@ -250,6 +251,7 @@ var _ = Describe("Creating ComponentVersion via API", Label("e2e", "ComponentVer logrus.WithError(err).WithField("request", req).Fatalln("Error while unmarshaling") } + Expect(*respData.ComponentVersion.Ccrn).To(Equal(componentVersion.CCRN)) Expect(*respData.ComponentVersion.Version).To(Equal(componentVersion.Version)) Expect(*respData.ComponentVersion.ComponentID).To(Equal(fmt.Sprintf("%d", componentId))) }) @@ -300,10 +302,12 @@ var _ = Describe("Updating ComponentVersion via API", Label("e2e", "ComponentVer req := graphql.NewRequest(str) componentVersion := seedCollection.ComponentVersionRows[0].AsComponentVersion() + componentVersion.CCRN = "NewCCRN" componentVersion.Version = "4.2.0" req.Var("id", fmt.Sprintf("%d", componentVersion.Id)) req.Var("input", map[string]string{ + "ccrn": componentVersion.CCRN, "version": componentVersion.Version, }) @@ -317,6 +321,7 @@ var _ = Describe("Updating ComponentVersion via API", Label("e2e", "ComponentVer logrus.WithError(err).WithField("request", req).Fatalln("Error while unmarshaling") } + Expect(*respData.ComponentVersion.Ccrn).To(Equal(componentVersion.CCRN)) Expect(*respData.ComponentVersion.Version).To(Equal(componentVersion.Version)) }) }) diff --git a/internal/entity/component_version.go b/internal/entity/component_version.go index 6ea5d88b..54fe76ae 100644 --- a/internal/entity/component_version.go +++ b/internal/entity/component_version.go @@ -8,6 +8,7 @@ import "time" type ComponentVersionFilter struct { Paginated Id []*int64 `json:"id"` + CCRN []*string `json:"ccrn"` IssueId []*int64 `json:"issue_id"` ComponentCCRN []*string `json:"component_ccrn"` ComponentId []*int64 `json:"component_id"` @@ -24,6 +25,7 @@ type ComponentVersionResult struct { type ComponentVersion struct { Id int64 `json:"id"` + CCRN string `json:"ccrn"` Version string `json:"version"` Component *Component `json:"component,omitempty"` ComponentId int64 `db:"componentversion_component_id"` diff --git a/internal/entity/test/component_version.go b/internal/entity/test/component_version.go index a44b32a3..aca6665f 100644 --- a/internal/entity/test/component_version.go +++ b/internal/entity/test/component_version.go @@ -11,6 +11,7 @@ import ( func NewFakeComponentVersionEntity() entity.ComponentVersion { return entity.ComponentVersion{ Id: int64(gofakeit.Number(1, 10000000)), + CCRN: gofakeit.Name(), Version: gofakeit.AppVersion(), ComponentId: 0, ComponentInstances: nil, diff --git a/scanner/k8s-assets/client/generated.go b/scanner/k8s-assets/client/generated.go index d926835a..83bc094f 100644 --- a/scanner/k8s-assets/client/generated.go +++ b/scanner/k8s-assets/client/generated.go @@ -125,6 +125,7 @@ const ( // ComponentVersion includes the requested fields of the GraphQL type ComponentVersion. type ComponentVersion struct { Id string `json:"id"` + Ccrn string `json:"ccrn"` Version string `json:"version"` ComponentId string `json:"componentId"` } @@ -132,6 +133,9 @@ type ComponentVersion struct { // GetId returns ComponentVersion.Id, and is useful for accessing the field via an interface. func (v *ComponentVersion) GetId() string { return v.Id } +// GetCcrn returns ComponentVersion.Ccrn, and is useful for accessing the field via an interface. +func (v *ComponentVersion) GetCcrn() string { return v.Ccrn } + // GetVersion returns ComponentVersion.Version, and is useful for accessing the field via an interface. func (v *ComponentVersion) GetVersion() string { return v.Version } @@ -163,12 +167,16 @@ func (v *ComponentVersionConnectionEdgesComponentVersionEdge) GetNode() *Compone } type ComponentVersionFilter struct { + Ccrn []string `json:"ccrn"` ComponentId []string `json:"componentId"` ComponentCcrn []string `json:"componentCcrn"` IssueId []string `json:"issueId"` Version []string `json:"version"` } +// GetCcrn returns ComponentVersionFilter.Ccrn, and is useful for accessing the field via an interface. +func (v *ComponentVersionFilter) GetCcrn() []string { return v.Ccrn } + // GetComponentId returns ComponentVersionFilter.ComponentId, and is useful for accessing the field via an interface. func (v *ComponentVersionFilter) GetComponentId() []string { return v.ComponentId } @@ -182,10 +190,14 @@ func (v *ComponentVersionFilter) GetIssueId() []string { return v.IssueId } func (v *ComponentVersionFilter) GetVersion() []string { return v.Version } type ComponentVersionInput struct { + Ccrn string `json:"ccrn"` Version string `json:"version"` ComponentId string `json:"componentId"` } +// GetCcrn returns ComponentVersionInput.Ccrn, and is useful for accessing the field via an interface. +func (v *ComponentVersionInput) GetCcrn() string { return v.Ccrn } + // GetVersion returns ComponentVersionInput.Version, and is useful for accessing the field via an interface. func (v *ComponentVersionInput) GetVersion() string { return v.Version } @@ -205,6 +217,7 @@ func (v *CreateComponentInstanceResponse) GetCreateComponentInstance() *Componen // CreateComponentVersionCreateComponentVersion includes the requested fields of the GraphQL type ComponentVersion. type CreateComponentVersionCreateComponentVersion struct { Id string `json:"id"` + Ccrn string `json:"ccrn"` Version string `json:"version"` ComponentId string `json:"componentId"` } @@ -212,6 +225,9 @@ type CreateComponentVersionCreateComponentVersion struct { // GetId returns CreateComponentVersionCreateComponentVersion.Id, and is useful for accessing the field via an interface. func (v *CreateComponentVersionCreateComponentVersion) GetId() string { return v.Id } +// GetCcrn returns CreateComponentVersionCreateComponentVersion.Ccrn, and is useful for accessing the field via an interface. +func (v *CreateComponentVersionCreateComponentVersion) GetCcrn() string { return v.Ccrn } + // GetVersion returns CreateComponentVersionCreateComponentVersion.Version, and is useful for accessing the field via an interface. func (v *CreateComponentVersionCreateComponentVersion) GetVersion() string { return v.Version } @@ -642,6 +658,7 @@ const CreateComponentVersion_Operation = ` mutation CreateComponentVersion ($input: ComponentVersionInput!) { createComponentVersion(input: $input) { id + ccrn version componentId } @@ -794,6 +811,7 @@ query ListComponentVersions ($filter: ComponentVersionFilter) { edges { node { id + ccrn version componentId } diff --git a/scanner/k8s-assets/client/query/componentversion_create.graphql b/scanner/k8s-assets/client/query/componentversion_create.graphql index 3f5bb725..ab410c2b 100644 --- a/scanner/k8s-assets/client/query/componentversion_create.graphql +++ b/scanner/k8s-assets/client/query/componentversion_create.graphql @@ -6,6 +6,7 @@ mutation CreateComponentVersion ($input: ComponentVersionInput!) { input: $input ) { id + ccrn version componentId } diff --git a/scanner/k8s-assets/client/query/componentversion_query.graphql b/scanner/k8s-assets/client/query/componentversion_query.graphql index 5f9288ed..5a303dc5 100644 --- a/scanner/k8s-assets/client/query/componentversion_query.graphql +++ b/scanner/k8s-assets/client/query/componentversion_query.graphql @@ -11,6 +11,7 @@ query ListComponentVersions($filter: ComponentVersionFilter) { # @genqlient(typename: "ComponentVersion") node { id + ccrn version componentId } diff --git a/scanner/keppel/client/generated.go b/scanner/keppel/client/generated.go index d7b1a5c4..b25df8d1 100644 --- a/scanner/keppel/client/generated.go +++ b/scanner/keppel/client/generated.go @@ -82,6 +82,7 @@ const ( // ComponentVersion includes the requested fields of the GraphQL type ComponentVersion. type ComponentVersion struct { Id string `json:"id"` + Ccrn string `json:"ccrn"` Version string `json:"version"` ComponentId string `json:"componentId"` } @@ -89,6 +90,9 @@ type ComponentVersion struct { // GetId returns ComponentVersion.Id, and is useful for accessing the field via an interface. func (v *ComponentVersion) GetId() string { return v.Id } +// GetCcrn returns ComponentVersion.Ccrn, and is useful for accessing the field via an interface. +func (v *ComponentVersion) GetCcrn() string { return v.Ccrn } + // GetVersion returns ComponentVersion.Version, and is useful for accessing the field via an interface. func (v *ComponentVersion) GetVersion() string { return v.Version } @@ -116,12 +120,16 @@ func (v *ComponentVersionConnectionEdgesComponentVersionEdge) GetNode() *Compone } type ComponentVersionFilter struct { + Ccrn []string `json:"ccrn"` ComponentId []string `json:"componentId"` ComponentCcrn []string `json:"componentCcrn"` IssueId []string `json:"issueId"` Version []string `json:"version"` } +// GetCcrn returns ComponentVersionFilter.Ccrn, and is useful for accessing the field via an interface. +func (v *ComponentVersionFilter) GetCcrn() []string { return v.Ccrn } + // GetComponentId returns ComponentVersionFilter.ComponentId, and is useful for accessing the field via an interface. func (v *ComponentVersionFilter) GetComponentId() []string { return v.ComponentId } @@ -135,10 +143,14 @@ func (v *ComponentVersionFilter) GetIssueId() []string { return v.IssueId } func (v *ComponentVersionFilter) GetVersion() []string { return v.Version } type ComponentVersionInput struct { + Ccrn string `json:"ccrn"` Version string `json:"version"` ComponentId string `json:"componentId"` } +// GetCcrn returns ComponentVersionInput.Ccrn, and is useful for accessing the field via an interface. +func (v *ComponentVersionInput) GetCcrn() string { return v.Ccrn } + // GetVersion returns ComponentVersionInput.Version, and is useful for accessing the field via an interface. func (v *ComponentVersionInput) GetVersion() string { return v.Version } @@ -448,6 +460,7 @@ const CreateComponentVersion_Operation = ` mutation CreateComponentVersion ($input: ComponentVersionInput!) { createComponentVersion(input: $input) { id + ccrn version componentId } @@ -525,6 +538,7 @@ query ListComponentVersions ($filter: ComponentVersionFilter, $first: Int) { edges { node { id + ccrn version componentId } diff --git a/scanner/keppel/client/query/createComponentVersion.graphql b/scanner/keppel/client/query/createComponentVersion.graphql index 215cd0ae..8f7b7324 100644 --- a/scanner/keppel/client/query/createComponentVersion.graphql +++ b/scanner/keppel/client/query/createComponentVersion.graphql @@ -7,6 +7,7 @@ mutation CreateComponentVersion($input: ComponentVersionInput!) { input: $input ) { id + ccrn version componentId } diff --git a/scanner/keppel/client/query/listComponentVersions.graphql b/scanner/keppel/client/query/listComponentVersions.graphql index ac1fdb0d..1abea5e2 100644 --- a/scanner/keppel/client/query/listComponentVersions.graphql +++ b/scanner/keppel/client/query/listComponentVersions.graphql @@ -11,6 +11,7 @@ query ListComponentVersions($filter: ComponentVersionFilter, $first: Int) { # @genqlient(typename: "ComponentVersion") node { id + ccrn version componentId } From 4dd3b294179d01830ceef2863f0deba65b04c578 Mon Sep 17 00:00:00 2001 From: BlakePatterson Date: Tue, 22 Oct 2024 08:15:43 -0400 Subject: [PATCH 05/21] chore(refactor): revert changes to component version with ccrn This reverts commit 0b4b38615bf0ec07255ec7e3370d0149c3ba55e1. --- .../graph/baseResolver/component_version.go | 1 - internal/api/graphql/graph/generated.go | 77 +------------------ internal/api/graphql/graph/model/models.go | 2 - .../api/graphql/graph/model/models_gen.go | 3 - .../component/directRelations.graphql | 1 - .../componentInstance/directRelations.graphql | 1 - .../componentVersion/create.graphql | 1 - .../componentVersion/directRelations.graphql | 1 - .../componentVersion/minimal.graphql | 1 - .../componentVersion/update.graphql | 1 - .../graph/queryCollection/issue/full.graphql | 1 - .../graph/schema/component_version.graphqls | 3 - .../component_version_handler.go | 17 ---- .../component_version_handler_test.go | 12 --- .../database/mariadb/component_version.go | 8 -- .../mariadb/component_version_test.go | 23 ------ internal/database/mariadb/entity.go | 3 - internal/database/mariadb/init/schema.sql | 3 - internal/database/mariadb/test/fixture.go | 4 - internal/e2e/component_version_query_test.go | 5 -- internal/entity/component_version.go | 2 - internal/entity/test/component_version.go | 1 - scanner/k8s-assets/client/generated.go | 18 ----- .../query/componentversion_create.graphql | 1 - .../query/componentversion_query.graphql | 1 - scanner/keppel/client/generated.go | 14 ---- .../query/createComponentVersion.graphql | 1 - .../query/listComponentVersions.graphql | 1 - 28 files changed, 2 insertions(+), 205 deletions(-) diff --git a/internal/api/graphql/graph/baseResolver/component_version.go b/internal/api/graphql/graph/baseResolver/component_version.go index fb1ac91f..040ad90e 100644 --- a/internal/api/graphql/graph/baseResolver/component_version.go +++ b/internal/api/graphql/graph/baseResolver/component_version.go @@ -96,7 +96,6 @@ func ComponentVersionBaseResolver(app app.Heureka, ctx context.Context, filter * f := &entity.ComponentVersionFilter{ Paginated: entity.Paginated{First: first, After: afterId}, - CCRN: filter.Ccrn, IssueId: issueId, ComponentId: componentId, ComponentCCRN: filter.ComponentCcrn, diff --git a/internal/api/graphql/graph/generated.go b/internal/api/graphql/graph/generated.go index c16c74fc..0be06feb 100644 --- a/internal/api/graphql/graph/generated.go +++ b/internal/api/graphql/graph/generated.go @@ -174,7 +174,6 @@ type ComplexityRoot struct { } ComponentVersion struct { - Ccrn func(childComplexity int) int Component func(childComplexity int) int ComponentID func(childComplexity int) int ComponentInstances func(childComplexity int, first *int, after *string) int @@ -1205,13 +1204,6 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return e.complexity.ComponentInstanceEdge.Node(childComplexity), true - case "ComponentVersion.ccrn": - if e.complexity.ComponentVersion.Ccrn == nil { - break - } - - return e.complexity.ComponentVersion.Ccrn(childComplexity), true - case "ComponentVersion.component": if e.complexity.ComponentVersion.Component == nil { break @@ -12425,8 +12417,6 @@ func (ec *executionContext) fieldContext_ComponentInstance_componentVersion(_ co switch field.Name { case "id": return ec.fieldContext_ComponentVersion_id(ctx, field) - case "ccrn": - return ec.fieldContext_ComponentVersion_ccrn(ctx, field) case "version": return ec.fieldContext_ComponentVersion_version(ctx, field) case "componentId": @@ -12984,47 +12974,6 @@ func (ec *executionContext) fieldContext_ComponentVersion_id(_ context.Context, return fc, nil } -func (ec *executionContext) _ComponentVersion_ccrn(ctx context.Context, field graphql.CollectedField, obj *model.ComponentVersion) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ComponentVersion_ccrn(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Ccrn, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ComponentVersion_ccrn(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ComponentVersion", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - func (ec *executionContext) _ComponentVersion_version(ctx context.Context, field graphql.CollectedField, obj *model.ComponentVersion) (ret graphql.Marshaler) { fc, err := ec.fieldContext_ComponentVersion_version(ctx, field) if err != nil { @@ -13474,8 +13423,6 @@ func (ec *executionContext) fieldContext_ComponentVersionEdge_node(_ context.Con switch field.Name { case "id": return ec.fieldContext_ComponentVersion_id(ctx, field) - case "ccrn": - return ec.fieldContext_ComponentVersion_ccrn(ctx, field) case "version": return ec.fieldContext_ComponentVersion_version(ctx, field) case "componentId": @@ -20089,8 +20036,6 @@ func (ec *executionContext) fieldContext_Mutation_createComponentVersion(ctx con switch field.Name { case "id": return ec.fieldContext_ComponentVersion_id(ctx, field) - case "ccrn": - return ec.fieldContext_ComponentVersion_ccrn(ctx, field) case "version": return ec.fieldContext_ComponentVersion_version(ctx, field) case "componentId": @@ -20160,8 +20105,6 @@ func (ec *executionContext) fieldContext_Mutation_updateComponentVersion(ctx con switch field.Name { case "id": return ec.fieldContext_ComponentVersion_id(ctx, field) - case "ccrn": - return ec.fieldContext_ComponentVersion_ccrn(ctx, field) case "version": return ec.fieldContext_ComponentVersion_version(ctx, field) case "componentId": @@ -28218,20 +28161,13 @@ func (ec *executionContext) unmarshalInputComponentVersionFilter(ctx context.Con asMap[k] = v } - fieldsInOrder := [...]string{"ccrn", "componentId", "componentCcrn", "issueId", "version"} + fieldsInOrder := [...]string{"componentId", "componentCcrn", "issueId", "version"} for _, k := range fieldsInOrder { v, ok := asMap[k] if !ok { continue } switch k { - case "ccrn": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("ccrn")) - data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) - if err != nil { - return it, err - } - it.Ccrn = data case "componentId": ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("componentId")) data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) @@ -28273,20 +28209,13 @@ func (ec *executionContext) unmarshalInputComponentVersionInput(ctx context.Cont asMap[k] = v } - fieldsInOrder := [...]string{"ccrn", "version", "componentId"} + fieldsInOrder := [...]string{"version", "componentId"} for _, k := range fieldsInOrder { v, ok := asMap[k] if !ok { continue } switch k { - case "ccrn": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("ccrn")) - data, err := ec.unmarshalOString2ᚖstring(ctx, v) - if err != nil { - return it, err - } - it.Ccrn = data case "version": ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("version")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) @@ -30379,8 +30308,6 @@ func (ec *executionContext) _ComponentVersion(ctx context.Context, sel ast.Selec if out.Values[i] == graphql.Null { atomic.AddUint32(&out.Invalids, 1) } - case "ccrn": - out.Values[i] = ec._ComponentVersion_ccrn(ctx, field, obj) case "version": out.Values[i] = ec._ComponentVersion_version(ctx, field, obj) case "componentId": diff --git a/internal/api/graphql/graph/model/models.go b/internal/api/graphql/graph/model/models.go index e6d31e27..0a633a04 100644 --- a/internal/api/graphql/graph/model/models.go +++ b/internal/api/graphql/graph/model/models.go @@ -433,7 +433,6 @@ func NewComponentEntity(component *ComponentInput) entity.Component { func NewComponentVersion(componentVersion *entity.ComponentVersion) ComponentVersion { return ComponentVersion{ ID: fmt.Sprintf("%d", componentVersion.Id), - Ccrn: &componentVersion.CCRN, Version: &componentVersion.Version, ComponentID: util.Ptr(fmt.Sprintf("%d", componentVersion.ComponentId)), } @@ -445,7 +444,6 @@ func NewComponentVersionEntity(componentVersion *ComponentVersionInput) entity.C componentId = 0 } return entity.ComponentVersion{ - CCRN: lo.FromPtr(componentVersion.Ccrn), Version: lo.FromPtr(componentVersion.Version), ComponentId: componentId, } diff --git a/internal/api/graphql/graph/model/models_gen.go b/internal/api/graphql/graph/model/models_gen.go index bcb4532d..dedc7a57 100644 --- a/internal/api/graphql/graph/model/models_gen.go +++ b/internal/api/graphql/graph/model/models_gen.go @@ -200,7 +200,6 @@ type ComponentInstanceInput struct { type ComponentVersion struct { ID string `json:"id"` - Ccrn *string `json:"ccrn,omitempty"` Version *string `json:"version,omitempty"` ComponentID *string `json:"componentId,omitempty"` Component *Component `json:"component,omitempty"` @@ -231,7 +230,6 @@ func (this ComponentVersionEdge) GetNode() Node { return *this.Node } func (this ComponentVersionEdge) GetCursor() *string { return this.Cursor } type ComponentVersionFilter struct { - Ccrn []*string `json:"ccrn,omitempty"` ComponentID []*string `json:"componentId,omitempty"` ComponentCcrn []*string `json:"componentCcrn,omitempty"` IssueID []*string `json:"issueId,omitempty"` @@ -239,7 +237,6 @@ type ComponentVersionFilter struct { } type ComponentVersionInput struct { - Ccrn *string `json:"ccrn,omitempty"` Version *string `json:"version,omitempty"` ComponentID *string `json:"componentId,omitempty"` } diff --git a/internal/api/graphql/graph/queryCollection/component/directRelations.graphql b/internal/api/graphql/graph/queryCollection/component/directRelations.graphql index 4e55d3fc..8d3b77e1 100644 --- a/internal/api/graphql/graph/queryCollection/component/directRelations.graphql +++ b/internal/api/graphql/graph/queryCollection/component/directRelations.graphql @@ -19,7 +19,6 @@ query ($filter: ComponentFilter, $first: Int, $after: String) { edges { node { id - ccrn version componentId } diff --git a/internal/api/graphql/graph/queryCollection/componentInstance/directRelations.graphql b/internal/api/graphql/graph/queryCollection/componentInstance/directRelations.graphql index 959d14c5..1ef71306 100644 --- a/internal/api/graphql/graph/queryCollection/componentInstance/directRelations.graphql +++ b/internal/api/graphql/graph/queryCollection/componentInstance/directRelations.graphql @@ -17,7 +17,6 @@ query ($filter: ComponentInstanceFilter, $first: Int, $after: String) { componentVersionId componentVersion { id - ccrn version componentId } diff --git a/internal/api/graphql/graph/queryCollection/componentVersion/create.graphql b/internal/api/graphql/graph/queryCollection/componentVersion/create.graphql index 251af7c8..9dbb643b 100644 --- a/internal/api/graphql/graph/queryCollection/componentVersion/create.graphql +++ b/internal/api/graphql/graph/queryCollection/componentVersion/create.graphql @@ -6,7 +6,6 @@ mutation ($input: ComponentVersionInput!) { input: $input ) { id - ccrn version componentId } diff --git a/internal/api/graphql/graph/queryCollection/componentVersion/directRelations.graphql b/internal/api/graphql/graph/queryCollection/componentVersion/directRelations.graphql index e6e58ec1..654cf814 100644 --- a/internal/api/graphql/graph/queryCollection/componentVersion/directRelations.graphql +++ b/internal/api/graphql/graph/queryCollection/componentVersion/directRelations.graphql @@ -12,7 +12,6 @@ query ($filter: ComponentVersionFilter, $first: Int, $after: String) { edges { node { id - ccrn version componentId component { diff --git a/internal/api/graphql/graph/queryCollection/componentVersion/minimal.graphql b/internal/api/graphql/graph/queryCollection/componentVersion/minimal.graphql index e7e25f6b..3cd8a389 100644 --- a/internal/api/graphql/graph/queryCollection/componentVersion/minimal.graphql +++ b/internal/api/graphql/graph/queryCollection/componentVersion/minimal.graphql @@ -11,7 +11,6 @@ query ($filter: ComponentVersionFilter, $first: Int, $after: String) { edges { node { id - ccrn version } cursor diff --git a/internal/api/graphql/graph/queryCollection/componentVersion/update.graphql b/internal/api/graphql/graph/queryCollection/componentVersion/update.graphql index ebffb883..00928ffe 100644 --- a/internal/api/graphql/graph/queryCollection/componentVersion/update.graphql +++ b/internal/api/graphql/graph/queryCollection/componentVersion/update.graphql @@ -8,7 +8,6 @@ mutation ($id: ID!, $input: ComponentVersionInput!) { ) { __typename id - ccrn version componentId } diff --git a/internal/api/graphql/graph/queryCollection/issue/full.graphql b/internal/api/graphql/graph/queryCollection/issue/full.graphql index a3f1fae7..e826a032 100644 --- a/internal/api/graphql/graph/queryCollection/issue/full.graphql +++ b/internal/api/graphql/graph/queryCollection/issue/full.graphql @@ -92,7 +92,6 @@ query ($filter: IssueFilter, $first: Int, $after: String) { id componentVersion { id - ccrn version component { id diff --git a/internal/api/graphql/graph/schema/component_version.graphqls b/internal/api/graphql/graph/schema/component_version.graphqls index 478657be..597292a5 100644 --- a/internal/api/graphql/graph/schema/component_version.graphqls +++ b/internal/api/graphql/graph/schema/component_version.graphqls @@ -3,7 +3,6 @@ type ComponentVersion implements Node { id: ID! - ccrn: String version: String componentId: String component: Component @@ -12,7 +11,6 @@ type ComponentVersion implements Node { } input ComponentVersionInput { - ccrn: String version: String componentId: String } @@ -29,7 +27,6 @@ type ComponentVersionEdge implements Edge { } input ComponentVersionFilter { - ccrn: [String] componentId: [String] componentCcrn: [String] issueId: [String] diff --git a/internal/app/component_version/component_version_handler.go b/internal/app/component_version/component_version_handler.go index 45823503..47cadc33 100644 --- a/internal/app/component_version/component_version_handler.go +++ b/internal/app/component_version/component_version_handler.go @@ -6,7 +6,6 @@ package component_version import ( "errors" "fmt" - "github.com/cloudoperators/heureka/internal/app/common" "github.com/cloudoperators/heureka/internal/app/event" "github.com/cloudoperators/heureka/internal/database" @@ -110,27 +109,11 @@ func (cv *componentVersionHandler) ListComponentVersions(filter *entity.Componen } func (cv *componentVersionHandler) CreateComponentVersion(componentVersion *entity.ComponentVersion) (*entity.ComponentVersion, error) { - f := &entity.ComponentVersionFilter{ - CCRN: []*string{&componentVersion.CCRN}, - } - l := logrus.WithFields(logrus.Fields{ "event": CreateComponentVersionEventName, "object": componentVersion, - "filter": f, }) - componentVersions, err := cv.ListComponentVersions(f, &entity.ListOptions{}) - - if err != nil { - l.Error(err) - return nil, NewComponentVersionHandlerError("Internal error while creating componentVersion.") - } - - if len(componentVersions.Elements) > 0 { - return nil, NewComponentVersionHandlerError(fmt.Sprintf("Duplicated entry %s for ccrn.", componentVersion.CCRN)) - } - newComponent, err := cv.database.CreateComponentVersion(componentVersion) if err != nil { diff --git a/internal/app/component_version/component_version_handler_test.go b/internal/app/component_version/component_version_handler_test.go index 7a8ef290..88d31e00 100644 --- a/internal/app/component_version/component_version_handler_test.go +++ b/internal/app/component_version/component_version_handler_test.go @@ -103,27 +103,15 @@ var _ = Describe("When creating ComponentVersion", Label("app", "CreateComponent db *mocks.MockDatabase componenVersionService cv.ComponentVersionHandler componentVersion entity.ComponentVersion - filter *entity.ComponentVersionFilter ) BeforeEach(func() { db = mocks.NewMockDatabase(GinkgoT()) componentVersion = test.NewFakeComponentVersionEntity() - first := 10 - var after int64 - after = 0 - filter = &entity.ComponentVersionFilter{ - Paginated: entity.Paginated{ - First: &first, - After: &after, - }, - } }) It("creates componentVersion", func() { - filter.CCRN = []*string{&componentVersion.CCRN} db.On("CreateComponentVersion", &componentVersion).Return(&componentVersion, nil) - db.On("GetComponentVersions", filter).Return([]entity.ComponentVersion{}, nil) componenVersionService = cv.NewComponentVersionHandler(db, er) newComponentVersion, err := componenVersionService.CreateComponentVersion(&componentVersion) Expect(err).To(BeNil(), "no error should be thrown") diff --git a/internal/database/mariadb/component_version.go b/internal/database/mariadb/component_version.go index 297dd7ec..8f4ec7b5 100644 --- a/internal/database/mariadb/component_version.go +++ b/internal/database/mariadb/component_version.go @@ -24,7 +24,6 @@ func (s *SqlDatabase) ensureComponentVersionFilter(f *entity.ComponentVersionFil After: &after, }, Id: nil, - CCRN: nil, IssueId: nil, ComponentCCRN: nil, ComponentId: nil, @@ -52,9 +51,6 @@ func (s *SqlDatabase) getComponentVersionJoins(filter *entity.ComponentVersionFi func (s *SqlDatabase) getComponentVersionUpdateFields(componentVersion *entity.ComponentVersion) string { fl := []string{} - if componentVersion.CCRN != "" { - fl = append(fl, "componentversion_ccrn = :componentversion_ccrn") - } if componentVersion.Version != "" { fl = append(fl, "componentversion_version = :componentversion_version") } @@ -67,7 +63,6 @@ func (s *SqlDatabase) getComponentVersionUpdateFields(componentVersion *entity.C func (s *SqlDatabase) getComponentVersionFilterString(filter *entity.ComponentVersionFilter) string { var fl []string fl = append(fl, buildFilterQuery(filter.Id, "CV.componentversion_id = ?", OP_OR)) - fl = append(fl, buildFilterQuery(filter.CCRN, "CV.componentversion_ccrn = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.IssueId, "CVI.componentversionissue_issue_id = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.ComponentId, "CV.componentversion_component_id = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.Version, "CV.componentversion_version = ?", OP_OR)) @@ -117,7 +112,6 @@ func (s *SqlDatabase) buildComponentVersionStatement(baseQuery string, filter *e //adding parameters var filterParameters []interface{} filterParameters = buildQueryParameters(filterParameters, filter.Id) - filterParameters = buildQueryParameters(filterParameters, filter.CCRN) filterParameters = buildQueryParameters(filterParameters, filter.IssueId) filterParameters = buildQueryParameters(filterParameters, filter.ComponentId) filterParameters = buildQueryParameters(filterParameters, filter.Version) @@ -215,11 +209,9 @@ func (s *SqlDatabase) CreateComponentVersion(componentVersion *entity.ComponentV query := ` INSERT INTO ComponentVersion ( componentversion_component_id, - componentversion_ccrn, componentversion_version ) VALUES ( :componentversion_component_id, - :componentversion_ccrn, :componentversion_version ) ` diff --git a/internal/database/mariadb/component_version_test.go b/internal/database/mariadb/component_version_test.go index ceca3782..a2237a75 100644 --- a/internal/database/mariadb/component_version_test.go +++ b/internal/database/mariadb/component_version_test.go @@ -144,7 +144,6 @@ var _ = Describe("ComponentVersion", Label("database", "ComponentVersion"), func for _, r := range res { for _, row := range seedCollection.ComponentVersionRows { if r.Id == row.Id.Int64 { - Expect(r.CCRN).Should(BeEquivalentTo(row.CCRN.String), "CCRN should match") Expect(r.Version).Should(BeEquivalentTo(row.Version.String), "Name should match") Expect(r.CreatedAt).ShouldNot(BeEquivalentTo(row.CreatedAt.Time), "CreatedAt matches") Expect(r.UpdatedAt).ShouldNot(BeEquivalentTo(row.UpdatedAt.Time), "UpdatedAt matches") @@ -175,25 +174,6 @@ var _ = Describe("ComponentVersion", Label("database", "ComponentVersion"), func Expect(entries[0].Id).To(BeEquivalentTo(cv.Id.Int64)) }) }) - It("can filter by a single component ccrn that does exist", func() { - row := seedCollection.ComponentVersionRows[rand.Intn(len(seedCollection.ComponentVersionRows))] - filter := &entity.ComponentVersionFilter{CCRN: []*string{&row.CCRN.String}} - - entries, err := db.GetComponentVersions(filter) - - By("throwing no error", func() { - Expect(err).To(BeNil()) - }) - - By("returning expected number of results", func() { - Expect(len(entries)).To(BeEquivalentTo(1)) - }) - - By("returning expected elements", func() { - Expect(entries[0].Id).To(BeEquivalentTo(row.Id.Int64)) - }) - - }) It("can filter by an issue id", func() { issueRow := seedCollection.IssueRows[rand.Intn(len(seedCollection.IssueRows))] @@ -404,7 +384,6 @@ var _ = Describe("ComponentVersion", Label("database", "ComponentVersion"), func }) By("setting fields", func() { Expect(cv[0].Id).To(BeEquivalentTo(componentVersion.Id)) - Expect(cv[0].CCRN).To(BeEquivalentTo(componentVersion.CCRN)) Expect(cv[0].Version).To(BeEquivalentTo(componentVersion.Version)) }) }) @@ -439,7 +418,6 @@ var _ = Describe("ComponentVersion", Label("database", "ComponentVersion"), func }) By("setting fields", func() { Expect(cv[0].Id).To(BeEquivalentTo(componentVersion.Id)) - Expect(cv[0].CCRN).To(BeEquivalentTo(componentVersion.CCRN)) Expect(cv[0].Version).To(BeEquivalentTo(componentVersion.Version)) Expect(cv[0].ComponentId).To(BeEquivalentTo(componentVersion.ComponentId)) }) @@ -467,7 +445,6 @@ var _ = Describe("ComponentVersion", Label("database", "ComponentVersion"), func }) By("setting fields", func() { Expect(cv[0].Id).To(BeEquivalentTo(componentVersion.Id)) - Expect(cv[0].CCRN).To(BeEquivalentTo(componentVersion.CCRN)) Expect(cv[0].Version).To(BeEquivalentTo(componentVersion.Version)) Expect(cv[0].ComponentId).To(BeEquivalentTo(componentVersion.ComponentId)) }) diff --git a/internal/database/mariadb/entity.go b/internal/database/mariadb/entity.go index 2330adee..68f292ac 100644 --- a/internal/database/mariadb/entity.go +++ b/internal/database/mariadb/entity.go @@ -394,7 +394,6 @@ func (cr *ComponentRow) FromComponent(c *entity.Component) { type ComponentVersionRow struct { Id sql.NullInt64 `db:"componentversion_id" json:"id"` - CCRN sql.NullString `db:"componentversion_ccrn" json:"ccrn"` Version sql.NullString `db:"componentversion_version" json:"version"` ComponentId sql.NullInt64 `db:"componentversion_component_id"` CreatedAt sql.NullTime `db:"componentversion_created_at" json:"created_at"` @@ -405,7 +404,6 @@ type ComponentVersionRow struct { func (cvr *ComponentVersionRow) AsComponentVersion() entity.ComponentVersion { return entity.ComponentVersion{ Id: GetInt64Value(cvr.Id), - CCRN: GetStringValue(cvr.CCRN), Version: GetStringValue(cvr.Version), ComponentId: GetInt64Value(cvr.ComponentId), CreatedAt: GetTimeValue(cvr.CreatedAt), @@ -416,7 +414,6 @@ func (cvr *ComponentVersionRow) AsComponentVersion() entity.ComponentVersion { func (cvr *ComponentVersionRow) FromComponentVersion(cv *entity.ComponentVersion) { cvr.Id = sql.NullInt64{Int64: cv.Id, Valid: true} - cvr.CCRN = sql.NullString{String: cv.CCRN, Valid: true} cvr.Version = sql.NullString{String: cv.Version, Valid: true} cvr.ComponentId = sql.NullInt64{Int64: cv.ComponentId, Valid: true} cvr.CreatedAt = sql.NullTime{Time: cv.CreatedAt, Valid: true} diff --git a/internal/database/mariadb/init/schema.sql b/internal/database/mariadb/init/schema.sql index 608aa65b..784d3d07 100644 --- a/internal/database/mariadb/init/schema.sql +++ b/internal/database/mariadb/init/schema.sql @@ -24,7 +24,6 @@ create table if not exists ComponentVersion ( componentversion_id int unsigned auto_increment primary key, - componentversion_ccrn varchar(256) not null, componentversion_version varchar(256) not null, componentversion_component_id int unsigned not null, componentversion_created_at timestamp default current_timestamp() not null, @@ -32,8 +31,6 @@ create table if not exists ComponentVersion componentversion_updated_at timestamp default current_timestamp() not null on update current_timestamp(), constraint id_UNIQUE unique (componentversion_id), - constraint ccrn_UNIQUE - unique (componentversion_ccrn), constraint version_component_unique unique (componentversion_version, componentversion_component_id), constraint fk_component_version_component diff --git a/internal/database/mariadb/test/fixture.go b/internal/database/mariadb/test/fixture.go index ee34fc61..11a994c6 100644 --- a/internal/database/mariadb/test/fixture.go +++ b/internal/database/mariadb/test/fixture.go @@ -939,11 +939,9 @@ func (s *DatabaseSeeder) InsertFakeComponent(component mariadb.ComponentRow) (in func (s *DatabaseSeeder) InsertFakeComponentVersion(cv mariadb.ComponentVersionRow) (int64, error) { query := ` INSERT INTO ComponentVersion ( - componentversion_ccrn, componentversion_version, componentversion_component_id ) VALUES ( - :componentversion_ccrn, :componentversion_version, :componentversion_component_id )` @@ -1197,9 +1195,7 @@ func NewFakeComponent() mariadb.ComponentRow { } func NewFakeComponentVersion() mariadb.ComponentVersionRow { - ccrn := fmt.Sprintf("%s-%d", gofakeit.AppName(), gofakeit.Number(0, 99999)) return mariadb.ComponentVersionRow{ - CCRN: sql.NullString{String: ccrn, Valid: true}, Version: sql.NullString{String: gofakeit.AppVersion(), Valid: true}, } } diff --git a/internal/e2e/component_version_query_test.go b/internal/e2e/component_version_query_test.go index 813066e6..0c96afb6 100644 --- a/internal/e2e/component_version_query_test.go +++ b/internal/e2e/component_version_query_test.go @@ -236,7 +236,6 @@ var _ = Describe("Creating ComponentVersion via API", Label("e2e", "ComponentVer req := graphql.NewRequest(str) req.Var("input", map[string]string{ - "ccrn": componentVersion.CCRN, "version": componentVersion.Version, "componentId": fmt.Sprintf("%d", componentId), }) @@ -251,7 +250,6 @@ var _ = Describe("Creating ComponentVersion via API", Label("e2e", "ComponentVer logrus.WithError(err).WithField("request", req).Fatalln("Error while unmarshaling") } - Expect(*respData.ComponentVersion.Ccrn).To(Equal(componentVersion.CCRN)) Expect(*respData.ComponentVersion.Version).To(Equal(componentVersion.Version)) Expect(*respData.ComponentVersion.ComponentID).To(Equal(fmt.Sprintf("%d", componentId))) }) @@ -302,12 +300,10 @@ var _ = Describe("Updating ComponentVersion via API", Label("e2e", "ComponentVer req := graphql.NewRequest(str) componentVersion := seedCollection.ComponentVersionRows[0].AsComponentVersion() - componentVersion.CCRN = "NewCCRN" componentVersion.Version = "4.2.0" req.Var("id", fmt.Sprintf("%d", componentVersion.Id)) req.Var("input", map[string]string{ - "ccrn": componentVersion.CCRN, "version": componentVersion.Version, }) @@ -321,7 +317,6 @@ var _ = Describe("Updating ComponentVersion via API", Label("e2e", "ComponentVer logrus.WithError(err).WithField("request", req).Fatalln("Error while unmarshaling") } - Expect(*respData.ComponentVersion.Ccrn).To(Equal(componentVersion.CCRN)) Expect(*respData.ComponentVersion.Version).To(Equal(componentVersion.Version)) }) }) diff --git a/internal/entity/component_version.go b/internal/entity/component_version.go index 54fe76ae..6ea5d88b 100644 --- a/internal/entity/component_version.go +++ b/internal/entity/component_version.go @@ -8,7 +8,6 @@ import "time" type ComponentVersionFilter struct { Paginated Id []*int64 `json:"id"` - CCRN []*string `json:"ccrn"` IssueId []*int64 `json:"issue_id"` ComponentCCRN []*string `json:"component_ccrn"` ComponentId []*int64 `json:"component_id"` @@ -25,7 +24,6 @@ type ComponentVersionResult struct { type ComponentVersion struct { Id int64 `json:"id"` - CCRN string `json:"ccrn"` Version string `json:"version"` Component *Component `json:"component,omitempty"` ComponentId int64 `db:"componentversion_component_id"` diff --git a/internal/entity/test/component_version.go b/internal/entity/test/component_version.go index aca6665f..a44b32a3 100644 --- a/internal/entity/test/component_version.go +++ b/internal/entity/test/component_version.go @@ -11,7 +11,6 @@ import ( func NewFakeComponentVersionEntity() entity.ComponentVersion { return entity.ComponentVersion{ Id: int64(gofakeit.Number(1, 10000000)), - CCRN: gofakeit.Name(), Version: gofakeit.AppVersion(), ComponentId: 0, ComponentInstances: nil, diff --git a/scanner/k8s-assets/client/generated.go b/scanner/k8s-assets/client/generated.go index 83bc094f..d926835a 100644 --- a/scanner/k8s-assets/client/generated.go +++ b/scanner/k8s-assets/client/generated.go @@ -125,7 +125,6 @@ const ( // ComponentVersion includes the requested fields of the GraphQL type ComponentVersion. type ComponentVersion struct { Id string `json:"id"` - Ccrn string `json:"ccrn"` Version string `json:"version"` ComponentId string `json:"componentId"` } @@ -133,9 +132,6 @@ type ComponentVersion struct { // GetId returns ComponentVersion.Id, and is useful for accessing the field via an interface. func (v *ComponentVersion) GetId() string { return v.Id } -// GetCcrn returns ComponentVersion.Ccrn, and is useful for accessing the field via an interface. -func (v *ComponentVersion) GetCcrn() string { return v.Ccrn } - // GetVersion returns ComponentVersion.Version, and is useful for accessing the field via an interface. func (v *ComponentVersion) GetVersion() string { return v.Version } @@ -167,16 +163,12 @@ func (v *ComponentVersionConnectionEdgesComponentVersionEdge) GetNode() *Compone } type ComponentVersionFilter struct { - Ccrn []string `json:"ccrn"` ComponentId []string `json:"componentId"` ComponentCcrn []string `json:"componentCcrn"` IssueId []string `json:"issueId"` Version []string `json:"version"` } -// GetCcrn returns ComponentVersionFilter.Ccrn, and is useful for accessing the field via an interface. -func (v *ComponentVersionFilter) GetCcrn() []string { return v.Ccrn } - // GetComponentId returns ComponentVersionFilter.ComponentId, and is useful for accessing the field via an interface. func (v *ComponentVersionFilter) GetComponentId() []string { return v.ComponentId } @@ -190,14 +182,10 @@ func (v *ComponentVersionFilter) GetIssueId() []string { return v.IssueId } func (v *ComponentVersionFilter) GetVersion() []string { return v.Version } type ComponentVersionInput struct { - Ccrn string `json:"ccrn"` Version string `json:"version"` ComponentId string `json:"componentId"` } -// GetCcrn returns ComponentVersionInput.Ccrn, and is useful for accessing the field via an interface. -func (v *ComponentVersionInput) GetCcrn() string { return v.Ccrn } - // GetVersion returns ComponentVersionInput.Version, and is useful for accessing the field via an interface. func (v *ComponentVersionInput) GetVersion() string { return v.Version } @@ -217,7 +205,6 @@ func (v *CreateComponentInstanceResponse) GetCreateComponentInstance() *Componen // CreateComponentVersionCreateComponentVersion includes the requested fields of the GraphQL type ComponentVersion. type CreateComponentVersionCreateComponentVersion struct { Id string `json:"id"` - Ccrn string `json:"ccrn"` Version string `json:"version"` ComponentId string `json:"componentId"` } @@ -225,9 +212,6 @@ type CreateComponentVersionCreateComponentVersion struct { // GetId returns CreateComponentVersionCreateComponentVersion.Id, and is useful for accessing the field via an interface. func (v *CreateComponentVersionCreateComponentVersion) GetId() string { return v.Id } -// GetCcrn returns CreateComponentVersionCreateComponentVersion.Ccrn, and is useful for accessing the field via an interface. -func (v *CreateComponentVersionCreateComponentVersion) GetCcrn() string { return v.Ccrn } - // GetVersion returns CreateComponentVersionCreateComponentVersion.Version, and is useful for accessing the field via an interface. func (v *CreateComponentVersionCreateComponentVersion) GetVersion() string { return v.Version } @@ -658,7 +642,6 @@ const CreateComponentVersion_Operation = ` mutation CreateComponentVersion ($input: ComponentVersionInput!) { createComponentVersion(input: $input) { id - ccrn version componentId } @@ -811,7 +794,6 @@ query ListComponentVersions ($filter: ComponentVersionFilter) { edges { node { id - ccrn version componentId } diff --git a/scanner/k8s-assets/client/query/componentversion_create.graphql b/scanner/k8s-assets/client/query/componentversion_create.graphql index ab410c2b..3f5bb725 100644 --- a/scanner/k8s-assets/client/query/componentversion_create.graphql +++ b/scanner/k8s-assets/client/query/componentversion_create.graphql @@ -6,7 +6,6 @@ mutation CreateComponentVersion ($input: ComponentVersionInput!) { input: $input ) { id - ccrn version componentId } diff --git a/scanner/k8s-assets/client/query/componentversion_query.graphql b/scanner/k8s-assets/client/query/componentversion_query.graphql index 5a303dc5..5f9288ed 100644 --- a/scanner/k8s-assets/client/query/componentversion_query.graphql +++ b/scanner/k8s-assets/client/query/componentversion_query.graphql @@ -11,7 +11,6 @@ query ListComponentVersions($filter: ComponentVersionFilter) { # @genqlient(typename: "ComponentVersion") node { id - ccrn version componentId } diff --git a/scanner/keppel/client/generated.go b/scanner/keppel/client/generated.go index b25df8d1..d7b1a5c4 100644 --- a/scanner/keppel/client/generated.go +++ b/scanner/keppel/client/generated.go @@ -82,7 +82,6 @@ const ( // ComponentVersion includes the requested fields of the GraphQL type ComponentVersion. type ComponentVersion struct { Id string `json:"id"` - Ccrn string `json:"ccrn"` Version string `json:"version"` ComponentId string `json:"componentId"` } @@ -90,9 +89,6 @@ type ComponentVersion struct { // GetId returns ComponentVersion.Id, and is useful for accessing the field via an interface. func (v *ComponentVersion) GetId() string { return v.Id } -// GetCcrn returns ComponentVersion.Ccrn, and is useful for accessing the field via an interface. -func (v *ComponentVersion) GetCcrn() string { return v.Ccrn } - // GetVersion returns ComponentVersion.Version, and is useful for accessing the field via an interface. func (v *ComponentVersion) GetVersion() string { return v.Version } @@ -120,16 +116,12 @@ func (v *ComponentVersionConnectionEdgesComponentVersionEdge) GetNode() *Compone } type ComponentVersionFilter struct { - Ccrn []string `json:"ccrn"` ComponentId []string `json:"componentId"` ComponentCcrn []string `json:"componentCcrn"` IssueId []string `json:"issueId"` Version []string `json:"version"` } -// GetCcrn returns ComponentVersionFilter.Ccrn, and is useful for accessing the field via an interface. -func (v *ComponentVersionFilter) GetCcrn() []string { return v.Ccrn } - // GetComponentId returns ComponentVersionFilter.ComponentId, and is useful for accessing the field via an interface. func (v *ComponentVersionFilter) GetComponentId() []string { return v.ComponentId } @@ -143,14 +135,10 @@ func (v *ComponentVersionFilter) GetIssueId() []string { return v.IssueId } func (v *ComponentVersionFilter) GetVersion() []string { return v.Version } type ComponentVersionInput struct { - Ccrn string `json:"ccrn"` Version string `json:"version"` ComponentId string `json:"componentId"` } -// GetCcrn returns ComponentVersionInput.Ccrn, and is useful for accessing the field via an interface. -func (v *ComponentVersionInput) GetCcrn() string { return v.Ccrn } - // GetVersion returns ComponentVersionInput.Version, and is useful for accessing the field via an interface. func (v *ComponentVersionInput) GetVersion() string { return v.Version } @@ -460,7 +448,6 @@ const CreateComponentVersion_Operation = ` mutation CreateComponentVersion ($input: ComponentVersionInput!) { createComponentVersion(input: $input) { id - ccrn version componentId } @@ -538,7 +525,6 @@ query ListComponentVersions ($filter: ComponentVersionFilter, $first: Int) { edges { node { id - ccrn version componentId } diff --git a/scanner/keppel/client/query/createComponentVersion.graphql b/scanner/keppel/client/query/createComponentVersion.graphql index 8f7b7324..215cd0ae 100644 --- a/scanner/keppel/client/query/createComponentVersion.graphql +++ b/scanner/keppel/client/query/createComponentVersion.graphql @@ -7,7 +7,6 @@ mutation CreateComponentVersion($input: ComponentVersionInput!) { input: $input ) { id - ccrn version componentId } diff --git a/scanner/keppel/client/query/listComponentVersions.graphql b/scanner/keppel/client/query/listComponentVersions.graphql index 1abea5e2..ac1fdb0d 100644 --- a/scanner/keppel/client/query/listComponentVersions.graphql +++ b/scanner/keppel/client/query/listComponentVersions.graphql @@ -11,7 +11,6 @@ query ListComponentVersions($filter: ComponentVersionFilter, $first: Int) { # @genqlient(typename: "ComponentVersion") node { id - ccrn version componentId } From f0ab738ba492a0b1e6491ab0bf71a2400445bd2a Mon Sep 17 00:00:00 2001 From: Michael Reimsbach Date: Wed, 23 Oct 2024 15:44:22 +0200 Subject: [PATCH 06/21] Update tests.yaml (#323) --- .github/workflows/tests.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 8eb0859d..5d5d4c0a 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -23,6 +23,12 @@ jobs: go-version-file: 'go.mod' - name: Install Ginkgo run: go install github.com/onsi/ginkgo/v2/ginkgo + - name: Install Mockery + run: go install github.com/vektra/mockery/v2@v2.46.3 + - name: Generate Gqlgen code + run: make gqlgen + - name: Generate Mockery code + run: make mockery - name: Run Tests env: DB_USER: my_username From c4e86bb3adca792d8651b5c750a62359474a84c0 Mon Sep 17 00:00:00 2001 From: Michael Reimsbach Date: Thu, 24 Oct 2024 09:41:23 +0200 Subject: [PATCH 07/21] Update codeql.yaml (#325) --- .github/workflows/codeql.yaml | 38 ++++++++++++++++++++++++----------- 1 file changed, 26 insertions(+), 12 deletions(-) diff --git a/.github/workflows/codeql.yaml b/.github/workflows/codeql.yaml index af9e744d..00e5e4ca 100644 --- a/.github/workflows/codeql.yaml +++ b/.github/workflows/codeql.yaml @@ -14,15 +14,29 @@ jobs: security-events: write actions: read contents: read - uses: cloudoperators/common/.github/workflows/shared-codeql.yaml@main - with: - runs-on: "['default']" - language: "['go']" - go-check: true - go-version: "['1.22']" - node-check: false - # node-version : "['node']" - fail-fast: false - # timeout: 30 - autobuild: false - build_query: "make build-binary" + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.22 + + - name: Install mockery + run: go install github.com/vektra/mockery/v2@v2.46.3 + + - name: Run shared CodeQL workflow + uses: cloudoperators/common/.github/workflows/shared-codeql.yaml@main + with: + runs-on: "['default']" + language: "['go']" + go-check: true + go-version: "['1.22']" + node-check: false + # node-version : "['node']" + fail-fast: false + # timeout: 30 + autobuild: false + build_query: "make build-binary" From 8f6e5c03644c81c019bd73f517e88d8385d72082 Mon Sep 17 00:00:00 2001 From: copyonwrite <73547592+copyonwrite@users.noreply.github.com> Date: Thu, 24 Oct 2024 16:40:30 +0200 Subject: [PATCH 08/21] chore: add sleeps to suppress potential racing conditions which make tests fail. (#327) --- internal/database/mariadb/issue_test.go | 5 +++++ internal/e2e/activity_query_test.go | 5 +++++ internal/e2e/component_instance_query_test.go | 5 +++++ internal/e2e/component_query_test.go | 5 +++++ internal/e2e/component_version_query_test.go | 4 ++++ internal/e2e/evidence_query_test.go | 3 +++ internal/e2e/issue_match_change_test.go | 5 +++++ internal/e2e/issue_match_query_test.go | 4 ++++ internal/e2e/service_query_test.go | 6 +++++- 9 files changed, 41 insertions(+), 1 deletion(-) diff --git a/internal/database/mariadb/issue_test.go b/internal/database/mariadb/issue_test.go index d2257b7b..72ca1f20 100644 --- a/internal/database/mariadb/issue_test.go +++ b/internal/database/mariadb/issue_test.go @@ -4,6 +4,8 @@ package mariadb_test import ( + "time" + "github.com/cloudoperators/heureka/internal/database/mariadb" "github.com/cloudoperators/heureka/internal/database/mariadb/test" "github.com/cloudoperators/heureka/internal/entity" @@ -21,6 +23,9 @@ var _ = Describe("Issue", Label("database", "Issue"), func() { var db *mariadb.SqlDatabase var seeder *test.DatabaseSeeder BeforeEach(func() { + // This sleep suppresses a potential racing condition which triggers test failures. + time.Sleep(3 * time.Second) + var err error db = dbm.NewTestSchema() seeder, err = test.NewDatabaseSeeder(dbm.DbConfig()) diff --git a/internal/e2e/activity_query_test.go b/internal/e2e/activity_query_test.go index b2edc5a8..6a8370ff 100644 --- a/internal/e2e/activity_query_test.go +++ b/internal/e2e/activity_query_test.go @@ -7,6 +7,7 @@ import ( "context" "fmt" "os" + "time" "github.com/cloudoperators/heureka/internal/entity" testentity "github.com/cloudoperators/heureka/internal/entity/test" @@ -31,6 +32,9 @@ var _ = Describe("Getting Activities via API", Label("e2e", "Activity"), func() var cfg util.Config BeforeEach(func() { + // This sleep suppresses a potential racing condition which triggers test failures. + time.Sleep(3 * time.Second) + var err error _ = dbm.NewTestSchema() seeder, err = test.NewDatabaseSeeder(dbm.DbConfig()) @@ -133,6 +137,7 @@ var _ = Describe("Getting Activities via API", Label("e2e", "Activity"), func() req.Var("after", "0") req.Header.Set("Cache-Control", "no-cache") + ctx := context.Background() err = client.Run(ctx, req, &respData) diff --git a/internal/e2e/component_instance_query_test.go b/internal/e2e/component_instance_query_test.go index e4d8d30e..abe5d2cb 100644 --- a/internal/e2e/component_instance_query_test.go +++ b/internal/e2e/component_instance_query_test.go @@ -7,6 +7,7 @@ import ( "context" "fmt" "os" + "time" "github.com/cloudoperators/heureka/internal/entity" testentity "github.com/cloudoperators/heureka/internal/entity/test" @@ -31,6 +32,9 @@ var _ = Describe("Getting ComponentInstances via API", Label("e2e", "ComponentIn var cfg util.Config BeforeEach(func() { + // This sleep suppresses a potential racing condition which triggers test failures. + time.Sleep(3 * time.Second) + var err error _ = dbm.NewTestSchema() seeder, err = test.NewDatabaseSeeder(dbm.DbConfig()) @@ -135,6 +139,7 @@ var _ = Describe("Getting ComponentInstances via API", Label("e2e", "ComponentIn req.Var("after", "0") req.Header.Set("Cache-Control", "no-cache") + ctx := context.Background() err = client.Run(ctx, req, &respData) diff --git a/internal/e2e/component_query_test.go b/internal/e2e/component_query_test.go index 07021eb7..460a6e6b 100644 --- a/internal/e2e/component_query_test.go +++ b/internal/e2e/component_query_test.go @@ -7,6 +7,7 @@ import ( "context" "fmt" "os" + "time" "github.com/cloudoperators/heureka/internal/entity" testentity "github.com/cloudoperators/heureka/internal/entity/test" @@ -32,6 +33,9 @@ var _ = Describe("Getting Components via API", Label("e2e", "Components"), func( var cfg util.Config BeforeEach(func() { + // This sleep suppresses a potential racing condition which triggers test failures. + time.Sleep(3 * time.Second) + var err error _ = dbm.NewTestSchema() seeder, err = test.NewDatabaseSeeder(dbm.DbConfig()) @@ -136,6 +140,7 @@ var _ = Describe("Getting Components via API", Label("e2e", "Components"), func( req.Var("after", "0") req.Header.Set("Cache-Control", "no-cache") + ctx := context.Background() err = client.Run(ctx, req, &respData) diff --git a/internal/e2e/component_version_query_test.go b/internal/e2e/component_version_query_test.go index 0c96afb6..3bb979ff 100644 --- a/internal/e2e/component_version_query_test.go +++ b/internal/e2e/component_version_query_test.go @@ -7,6 +7,7 @@ import ( "context" "fmt" "os" + "time" "github.com/cloudoperators/heureka/internal/entity" testentity "github.com/cloudoperators/heureka/internal/entity/test" @@ -31,6 +32,9 @@ var _ = Describe("Getting ComponentVersions via API", Label("e2e", "ComponentVer var cfg util.Config BeforeEach(func() { + // This sleep suppresses a potential racing condition which triggers test failures. + time.Sleep(3 * time.Second) + var err error _ = dbm.NewTestSchema() seeder, err = test.NewDatabaseSeeder(dbm.DbConfig()) diff --git a/internal/e2e/evidence_query_test.go b/internal/e2e/evidence_query_test.go index 6a2f86b4..afdce61d 100644 --- a/internal/e2e/evidence_query_test.go +++ b/internal/e2e/evidence_query_test.go @@ -32,6 +32,9 @@ var _ = Describe("Getting Evidences via API", Label("e2e", "Evidences"), func() var cfg util.Config BeforeEach(func() { + // This sleep suppresses a potential racing condition which triggers test failures. + time.Sleep(3 * time.Second) + var err error _ = dbm.NewTestSchema() seeder, err = test.NewDatabaseSeeder(dbm.DbConfig()) diff --git a/internal/e2e/issue_match_change_test.go b/internal/e2e/issue_match_change_test.go index 82bdf998..eea4eaba 100644 --- a/internal/e2e/issue_match_change_test.go +++ b/internal/e2e/issue_match_change_test.go @@ -7,6 +7,7 @@ import ( "context" "fmt" "os" + "time" "github.com/cloudoperators/heureka/internal/entity" testentity "github.com/cloudoperators/heureka/internal/entity/test" @@ -28,6 +29,9 @@ var _ = Describe("Getting IssueMatchChanges via API", Label("e2e", "IssueMatchCh var s *server.Server var cfg util.Config BeforeEach(func() { + // This sleep suppresses a potential racing condition which triggers test failures. + time.Sleep(3 * time.Second) + var err error _ = dbm.NewTestSchema() seeder, err = test.NewDatabaseSeeder(dbm.DbConfig()) @@ -132,6 +136,7 @@ var _ = Describe("Getting IssueMatchChanges via API", Label("e2e", "IssueMatchCh req.Var("after", "0") req.Header.Set("Cache-Control", "no-cache") + ctx := context.Background() err = client.Run(ctx, req, &respData) diff --git a/internal/e2e/issue_match_query_test.go b/internal/e2e/issue_match_query_test.go index 84c1606f..284d3801 100644 --- a/internal/e2e/issue_match_query_test.go +++ b/internal/e2e/issue_match_query_test.go @@ -31,6 +31,9 @@ var _ = Describe("Getting IssueMatches via API", Label("e2e", "IssueMatches"), f var s *server.Server var cfg util.Config BeforeEach(func() { + // This sleep suppresses a potential racing condition which triggers test failures. + time.Sleep(3 * time.Second) + var err error _ = dbm.NewTestSchema() seeder, err = test.NewDatabaseSeeder(dbm.DbConfig()) @@ -134,6 +137,7 @@ var _ = Describe("Getting IssueMatches via API", Label("e2e", "IssueMatches"), f req.Var("after", "0") req.Header.Set("Cache-Control", "no-cache") + ctx := context.Background() err = client.Run(ctx, req, &respData) diff --git a/internal/e2e/service_query_test.go b/internal/e2e/service_query_test.go index ce947385..5955365e 100644 --- a/internal/e2e/service_query_test.go +++ b/internal/e2e/service_query_test.go @@ -7,6 +7,7 @@ import ( "context" "fmt" "os" + "time" "github.com/cloudoperators/heureka/internal/entity" testentity "github.com/cloudoperators/heureka/internal/entity/test" @@ -31,6 +32,9 @@ var _ = Describe("Getting Services via API", Label("e2e", "Services"), func() { var cfg util.Config BeforeEach(func() { + // This sleep suppresses a potential racing condition which triggers test failures. + time.Sleep(3 * time.Second) + var err error _ = dbm.NewTestSchema() seeder, err = test.NewDatabaseSeeder(dbm.DbConfig()) @@ -39,7 +43,6 @@ var _ = Describe("Getting Services via API", Label("e2e", "Services"), func() { cfg = dbm.DbConfig() cfg.Port = util2.GetRandomFreePort() s = server.NewServer(cfg) - s.NonBlockingStart() }) @@ -174,6 +177,7 @@ var _ = Describe("Getting Services via API", Label("e2e", "Services"), func() { req.Var("after", "0") req.Header.Set("Cache-Control", "no-cache") + ctx := context.Background() err = client.Run(ctx, req, &respData) From 059521af317395562b9582572e2b68d54ebbaa5a Mon Sep 17 00:00:00 2001 From: Michael Reimsbach Date: Fri, 25 Oct 2024 14:31:05 +0200 Subject: [PATCH 09/21] chore: increase license location threshold (#329) --- .github/licenserc.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/licenserc.yaml b/.github/licenserc.yaml index 2d24f56b..f6d802b4 100644 --- a/.github/licenserc.yaml +++ b/.github/licenserc.yaml @@ -45,7 +45,7 @@ header: # license-location-threshold specifies the index threshold where the license header can be located, # after all, a "header" cannot be TOO far from the file start. - license-location-threshold: 80 + license-location-threshold: 800 language: JSX: From b0d1ac6a9cb7ae8b1d0ac3e5ed9528abee630431 Mon Sep 17 00:00:00 2001 From: Dimitrios Tassopoulos <137508942+dimtas@users.noreply.github.com> Date: Mon, 28 Oct 2024 09:11:14 +0100 Subject: [PATCH 10/21] fix: Resolve the double port expose for Prometheus metrics (#333) --- charts/heureka/templates/PodMonitor.yaml | 19 +++++++++++++++++++ charts/heureka/templates/deployment.yaml | 2 -- 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 charts/heureka/templates/PodMonitor.yaml diff --git a/charts/heureka/templates/PodMonitor.yaml b/charts/heureka/templates/PodMonitor.yaml new file mode 100644 index 00000000..c7106ce2 --- /dev/null +++ b/charts/heureka/templates/PodMonitor.yaml @@ -0,0 +1,19 @@ +apiVersion: monitoring.coreos.com/v1 +kind: PodMonitor +metadata: + name: {{ template "heureka.fullname" . }} + labels: +{{- include "heureka.labels" . | nindent 4 }} + prometheus: kubernetes +spec: + namespaceSelector: + matchNames: + - {{ .Release.Namespace }} + + selector: + matchLabels: + app.kubernetes.io/instance: {{ .Release.Name }} + + podMetricsEndpoints: + - port: http + path: /metrics \ No newline at end of file diff --git a/charts/heureka/templates/deployment.yaml b/charts/heureka/templates/deployment.yaml index dc0398b1..07f14d98 100644 --- a/charts/heureka/templates/deployment.yaml +++ b/charts/heureka/templates/deployment.yaml @@ -68,8 +68,6 @@ spec: - name: http containerPort: {{ .Values.service.port }} protocol: TCP - - name: metrics - containerPort: {{ .Values.service.port }} livenessProbe: httpGet: path: /status From adc1e23272af049c016976f795e321bfc919b9d2 Mon Sep 17 00:00:00 2001 From: Lola <163291542+lolaapenna@users.noreply.github.com> Date: Mon, 28 Oct 2024 09:13:06 +0100 Subject: [PATCH 11/21] chore(doc):uploaded images for Prod. design doc. (#311) Co-authored-by: David Rochow --- .../assets/Heureka High-Level Architecture.png | Bin 0 -> 147887 bytes ...oblem Statement - Complexity Visibility.png | Bin 0 -> 124253 bytes ...oblem Statement - Compliance Efficiency.png | Bin 0 -> 110560 bytes 3 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 docs/assets/Heureka High-Level Architecture.png create mode 100644 docs/assets/Problem Statement - Complexity Visibility.png create mode 100644 docs/assets/Problem Statement - Compliance Efficiency.png diff --git a/docs/assets/Heureka High-Level Architecture.png b/docs/assets/Heureka High-Level Architecture.png new file mode 100644 index 0000000000000000000000000000000000000000..235b7f8c3b97ae4b84e37004f41e39907e3b0ed1 GIT binary patch literal 147887 zcmdqIby%BQ(=Ut_DPG#*P)bX1x8N?t3oTF_8lvzU0)%e0aGB`GP~=FOzNdjMb)%UXMw>PGK4_dG2oh<1OU6NQ zqN4W*-+*_{t_zrHW}cH4d=pLH4|Y45%3W-yt+d@sioTM0h3Gt~j_%^U_v^0$mH; z6^W{~+hp-O7(5_O)Pos{M~UA$dPIEW9UOI89d|SmN2Zt&Z8FGC?Sd;BKpRuO{oq0V zpf&RLwLK6kQu57{8~+z1`Iv5z-}eC^gWK=Tz~_g?w3X7!-30J_1~jy@&$tj!JUH&k3*7H7)9H^ z0|#U<&Jr&SWcLhZgDSilhh{y6iepcA&4|5$#Xd}PiSbX@sRj8>8oe4Lfs`E7Z$6Ml z94rA32$;_ZLA7%B!EgPt?r+ts^989H)M|MMAdx5Tepv^s@hha9UCqcYNZzaI$j?hq zxtkxmzVtPr5jMFFM|xjt8lw>z7cFb@Ql~Sw{EPO<7Y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*BoNeym+9V1jXJaSZ5llL&r8KdM$*HcXK2m> zo$4Lw*Zlna2>jsgR%l>>tHX)io7`SQGTjJX@2zjN4s~73iEBIj1}2@f%_a%0r#LON zDd66nP-lbzeHTG8)0%O4=y30b{mVV^23zs4ECD*mG792F3p3<{ z3a-2~nTU8aEUO8eudj!$%(cBz*dG@5dq(^RL|Q9jP?0Pv(AK2F0XyPHcSMni7&g(5IX2<}^*+mtac9@~3 zF8wsbkO>a4CD1Ahgpgen$~X(=P_Emfr&(@I(@w~=MJ6b zS5$*cv;)sWB&0jWaCg(PJp6*c|F(t_!n{m0(%#rjj6HSRS^zwWISWQbt;Si9CyH9ONs0xE`w$ zHGSRqVB2j|B~c8nve*-LxD8;jJ)p;tzU$jt+h5}6E=YV}F^gGsmlPr*Tf+Mw(mSKV ze&s)WuMjL-|GoXhug~B11uq?(?LWUDXWRC#zbx(#2xcdf^2>kyV%rxjmmw+Zy|yw<#PS2g_XUk8Sz3oo*AK;LK4-znXnK@E;M& zIxJg~Q3gua9sJ?e6Z{qrQJ&{xUEq=5by*TDi|hWe{Xz7nEc|~YYH5Y7;mm#E7c*Qr zWqjT?*?yfN`?(9->NhGhy0Y`?1uj~>`p=b>w!@1t8Y>~|dvN}9IXKsW=#{3&0=tIB z@S&m#8nr*%XTMHPLDy4`W$l`Qq*$26Lc1$J`=-It?kXg#@sRkXqJ8~zrAphZtHd;4 z)vT-FgzN4Pohq}JQ01C^(dOQ8q1|t85-RiM`=2E3ei86-sQUVKuFAFD*O{Gg-`w*- X)bBC_k^31u`0v&=iL2=%8Xo@#116p{ literal 0 HcmV?d00001 diff --git a/docs/assets/Problem Statement - Complexity Visibility.png b/docs/assets/Problem Statement - Complexity Visibility.png new file mode 100644 index 0000000000000000000000000000000000000000..3a8eb776eed628314a877b72dc173a8177bc4a88 GIT binary patch literal 124253 zcmeFZWmr{P*FOx1QUV)Lx?37Sy1PL^x{;FZP1mMdlx`3N1f)A;)3pJmyGy$JU7T|~ z_wzsZ{o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R?+yC(9Uu=~j zX)xfJPEcX;S2O>5|JSGg_jdn7_xx|){jZ_?|2@f$7>WlZ(TT*3GC1HzK~_m7Ps-@g F{{h@D)SCbR literal 0 HcmV?d00001 From 929e222943a974f0566c70b2ae7aaf27d7de1f8d Mon Sep 17 00:00:00 2001 From: Michael Reimsbach Date: Mon, 28 Oct 2024 09:55:14 +0100 Subject: [PATCH 12/21] chore: create setup job in codeql.yaml (#335) --- .github/workflows/codeql.yaml | 37 ++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/.github/workflows/codeql.yaml b/.github/workflows/codeql.yaml index 00e5e4ca..31537d9c 100644 --- a/.github/workflows/codeql.yaml +++ b/.github/workflows/codeql.yaml @@ -9,11 +9,7 @@ on: - cron: '20 08 * * 1' jobs: - codeql: - permissions: - security-events: write - actions: read - contents: read + setup: runs-on: ubuntu-latest steps: - name: Checkout repository @@ -27,16 +23,21 @@ jobs: - name: Install mockery run: go install github.com/vektra/mockery/v2@v2.46.3 - - name: Run shared CodeQL workflow - uses: cloudoperators/common/.github/workflows/shared-codeql.yaml@main - with: - runs-on: "['default']" - language: "['go']" - go-check: true - go-version: "['1.22']" - node-check: false - # node-version : "['node']" - fail-fast: false - # timeout: 30 - autobuild: false - build_query: "make build-binary" + codeql: + needs: setup + uses: cloudoperators/common/.github/workflows/shared-codeql.yaml@main + permissions: + security-events: write + actions: read + contents: read + with: + runs-on: "['default']" + language: "['go']" + go-check: true + go-version: "['1.22']" + node-check: false + # node-version : "['node']" + fail-fast: false + # timeout: 30 + autobuild: false + build_query: "make build-binary" From 76faa8a09c8e08f0352bd64e2ba8feb182421e28 Mon Sep 17 00:00:00 2001 From: Michael Reimsbach Date: Mon, 28 Oct 2024 10:04:07 +0100 Subject: [PATCH 13/21] chore: remove generated code (#324) * chore: remove generated code * Automatic application of license header * chore: remove bot license header * Automatic application of license header --------- Co-authored-by: License Bot --- .gitignore | 6 + Makefile | 6 +- internal/api/graphql/gqlgen.yml | 10 +- internal/api/graphql/graph/generated.go | 37742 ---------------- .../api/graphql/graph/model/models_gen.go | 1064 - .../api/graphql/graph/resolver/activity.go | 10 +- .../api/graphql/graph/resolver/component.go | 7 +- .../graph/resolver/component_filter.go | 7 +- .../graph/resolver/component_instance.go | 9 +- .../resolver/component_instance_filter.go | 11 +- .../graph/resolver/component_version.go | 9 +- .../api/graphql/graph/resolver/evidence.go | 9 +- internal/api/graphql/graph/resolver/issue.go | 10 +- .../api/graphql/graph/resolver/issue_match.go | 12 +- .../graph/resolver/issue_match_change.go | 8 +- .../resolver/issue_match_filter_value.go | 10 +- .../graph/resolver/issue_repository.go | 8 +- .../graphql/graph/resolver/issue_variant.go | 8 +- .../api/graphql/graph/resolver/mutation.go | 6 +- internal/api/graphql/graph/resolver/query.go | 23 +- .../api/graphql/graph/resolver/resolver.gotpl | 58 + .../api/graphql/graph/resolver/service.go | 11 +- .../graphql/graph/resolver/service_filter.go | 10 +- .../graphql/graph/resolver/support_group.go | 8 +- internal/api/graphql/graph/resolver/user.go | 8 +- .../mariadb/internal/mocks/mock_Database.go | 3877 -- .../mariadb/internal/mocks/mock_Heureka.go | 2587 -- internal/mocks/.gitkeep | 0 28 files changed, 149 insertions(+), 45385 deletions(-) delete mode 100644 internal/api/graphql/graph/generated.go delete mode 100644 internal/api/graphql/graph/model/models_gen.go create mode 100644 internal/api/graphql/graph/resolver/resolver.gotpl delete mode 100644 internal/database/mariadb/internal/mocks/mock_Database.go delete mode 100644 internal/database/mariadb/internal/mocks/mock_Heureka.go create mode 100644 internal/mocks/.gitkeep diff --git a/.gitignore b/.gitignore index a1a4fa73..5097e78b 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,9 @@ build/ .db/ .env .mariadb-dev/ + +# Generated files +internal/mocks/*.go +internal/api/graphql/graph/model/models_gen.go +internal/api/graphql/graph/generated.go + diff --git a/Makefile b/Makefile index 3d957f40..edfce156 100644 --- a/Makefile +++ b/Makefile @@ -12,11 +12,11 @@ ifeq ($(wildcard .env),.env) export $(shell sed 's/=.*//' .env) endif -build-binary: +build-binary: mockery gqlgen GO_ENABLED=0 go build -ldflags="$(LDFLAGS)" -o build/heureka cmd/heureka/main.go # Build the binary and execute it -run-%: +run-%: mockery gqlgen GOOS=$(OS) GOARCH=$(ARCH) go build -ldflags="$(LDFLAGS)" -o build/$* cmd/$*/main.go DB_SCHEMA=./internal/database/mariadb/init/schema.sql ./build/$* @@ -66,7 +66,7 @@ mockery: mockery GINKGO := go run github.com/onsi/ginkgo/v2/ginkgo -test-all: +test-all: mockery gqlgen $(GINKGO) -r test-e2e: diff --git a/internal/api/graphql/gqlgen.yml b/internal/api/graphql/gqlgen.yml index 4442eb92..dd2ca753 100644 --- a/internal/api/graphql/gqlgen.yml +++ b/internal/api/graphql/gqlgen.yml @@ -26,8 +26,8 @@ resolver: dir: graph/resolver package: resolver filename_template: "{name}.go" - # Optional: turn on to not generate template comments above resolvers - # omit_template_comment: false + omit_template_comment: true + resolver_template: graph/resolver/resolver.gotpl # Optional: turn on use ` + "`" + `gqlgen:"fieldName"` + "`" + ` tags in your models # struct_tag: json @@ -39,10 +39,10 @@ resolver: # omit_complexity: false # Optional: turn on to not generate any file notice comments in generated files -# omit_gqlgen_file_notice: false +# omit_gqlgen_file_notice: true # Optional: turn on to exclude the gqlgen version in the generated file notice. No effect if `omit_gqlgen_file_notice` is true. -# omit_gqlgen_version_in_file_notice: false +omit_gqlgen_version_in_file_notice: true # Optional: turn off to make struct-type struct fields not use pointers # e.g. type Thing struct { FieldA OtherThing } instead of { FieldA *OtherThing } @@ -228,4 +228,4 @@ models: ComponentFilterValue: fields: componentCcrn: - resolver: true \ No newline at end of file + resolver: true diff --git a/internal/api/graphql/graph/generated.go b/internal/api/graphql/graph/generated.go deleted file mode 100644 index 95a518ec..00000000 --- a/internal/api/graphql/graph/generated.go +++ /dev/null @@ -1,37742 +0,0 @@ -// SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Greenhouse contributors -// SPDX-License-Identifier: Apache-2.0 - -// Code generated by github.com/99designs/gqlgen, DO NOT EDIT. - -package graph - -import ( - "bytes" - "context" - "embed" - "errors" - "fmt" - "strconv" - "sync" - "sync/atomic" - - "github.com/99designs/gqlgen/graphql" - "github.com/99designs/gqlgen/graphql/introspection" - "github.com/cloudoperators/heureka/internal/api/graphql/graph/model" - gqlparser "github.com/vektah/gqlparser/v2" - "github.com/vektah/gqlparser/v2/ast" -) - -// region ************************** generated!.gotpl ************************** - -// NewExecutableSchema creates an ExecutableSchema from the ResolverRoot interface. -func NewExecutableSchema(cfg Config) graphql.ExecutableSchema { - return &executableSchema{ - schema: cfg.Schema, - resolvers: cfg.Resolvers, - directives: cfg.Directives, - complexity: cfg.Complexity, - } -} - -type Config struct { - Schema *ast.Schema - Resolvers ResolverRoot - Directives DirectiveRoot - Complexity ComplexityRoot -} - -type ResolverRoot interface { - Activity() ActivityResolver - Component() ComponentResolver - ComponentFilterValue() ComponentFilterValueResolver - ComponentInstance() ComponentInstanceResolver - ComponentInstanceFilterValue() ComponentInstanceFilterValueResolver - ComponentVersion() ComponentVersionResolver - Evidence() EvidenceResolver - Issue() IssueResolver - IssueMatch() IssueMatchResolver - IssueMatchChange() IssueMatchChangeResolver - IssueMatchFilterValue() IssueMatchFilterValueResolver - IssueRepository() IssueRepositoryResolver - IssueVariant() IssueVariantResolver - Mutation() MutationResolver - Query() QueryResolver - Service() ServiceResolver - ServiceFilterValue() ServiceFilterValueResolver - SupportGroup() SupportGroupResolver - User() UserResolver -} - -type DirectiveRoot struct { -} - -type ComplexityRoot struct { - Activity struct { - Evidences func(childComplexity int, filter *model.EvidenceFilter, first *int, after *string) int - ID func(childComplexity int) int - IssueMatchChanges func(childComplexity int, filter *model.IssueMatchChangeFilter, first *int, after *string) int - Issues func(childComplexity int, filter *model.IssueFilter, first *int, after *string) int - Services func(childComplexity int, filter *model.ServiceFilter, first *int, after *string) int - Status func(childComplexity int) int - } - - ActivityConnection struct { - Edges func(childComplexity int) int - PageInfo func(childComplexity int) int - TotalCount func(childComplexity int) int - } - - ActivityEdge struct { - Cursor func(childComplexity int) int - Node func(childComplexity int) int - } - - CVSS struct { - Base func(childComplexity int) int - Environmental func(childComplexity int) int - Temporal func(childComplexity int) int - Vector func(childComplexity int) int - } - - CVSSBase struct { - AttackComplexity func(childComplexity int) int - AttackVector func(childComplexity int) int - AvailabilityImpact func(childComplexity int) int - ConfidentialityImpact func(childComplexity int) int - IntegrityImpact func(childComplexity int) int - PrivilegesRequired func(childComplexity int) int - Scope func(childComplexity int) int - Score func(childComplexity int) int - UserInteraction func(childComplexity int) int - } - - CVSSEnvironmental struct { - AvailabilityRequirement func(childComplexity int) int - ConfidentialityRequirement func(childComplexity int) int - IntegrityRequirement func(childComplexity int) int - ModifiedAttackComplexity func(childComplexity int) int - ModifiedAttackVector func(childComplexity int) int - ModifiedAvailabilityImpact func(childComplexity int) int - ModifiedConfidentialityImpact func(childComplexity int) int - ModifiedIntegrityImpact func(childComplexity int) int - ModifiedPrivilegesRequired func(childComplexity int) int - ModifiedScope func(childComplexity int) int - ModifiedUserInteraction func(childComplexity int) int - Score func(childComplexity int) int - } - - CVSSParameter struct { - Name func(childComplexity int) int - Value func(childComplexity int) int - } - - CVSSTemporal struct { - ExploitCodeMaturity func(childComplexity int) int - RemediationLevel func(childComplexity int) int - ReportConfidence func(childComplexity int) int - Score func(childComplexity int) int - } - - Component struct { - Ccrn func(childComplexity int) int - ComponentVersions func(childComplexity int, filter *model.ComponentVersionFilter, first *int, after *string) int - ID func(childComplexity int) int - Type func(childComplexity int) int - } - - ComponentConnection struct { - Edges func(childComplexity int) int - PageInfo func(childComplexity int) int - TotalCount func(childComplexity int) int - } - - ComponentEdge struct { - Cursor func(childComplexity int) int - Node func(childComplexity int) int - } - - ComponentFilterValue struct { - ComponentCcrn func(childComplexity int, filter *model.ComponentFilter) int - } - - ComponentInstance struct { - Ccrn func(childComplexity int) int - ComponentVersion func(childComplexity int) int - ComponentVersionID func(childComplexity int) int - Count func(childComplexity int) int - CreatedAt func(childComplexity int) int - ID func(childComplexity int) int - IssueMatches func(childComplexity int, filter *model.IssueMatchFilter, first *int, after *string) int - Service func(childComplexity int) int - ServiceID func(childComplexity int) int - UpdatedAt func(childComplexity int) int - } - - ComponentInstanceConnection struct { - Edges func(childComplexity int) int - PageInfo func(childComplexity int) int - TotalCount func(childComplexity int) int - } - - ComponentInstanceEdge struct { - Cursor func(childComplexity int) int - Node func(childComplexity int) int - } - - ComponentInstanceFilterValue struct { - Ccrn func(childComplexity int, filter *model.ComponentInstanceFilter) int - ServiceCcrn func(childComplexity int, filter *model.ServiceFilter) int - SupportGroupCcrn func(childComplexity int, filter *model.SupportGroupFilter) int - } - - ComponentVersion struct { - Component func(childComplexity int) int - ComponentID func(childComplexity int) int - ComponentInstances func(childComplexity int, first *int, after *string) int - ID func(childComplexity int) int - Issues func(childComplexity int, first *int, after *string) int - Version func(childComplexity int) int - } - - ComponentVersionConnection struct { - Edges func(childComplexity int) int - PageInfo func(childComplexity int) int - TotalCount func(childComplexity int) int - } - - ComponentVersionEdge struct { - Cursor func(childComplexity int) int - Node func(childComplexity int) int - } - - Evidence struct { - Activity func(childComplexity int) int - ActivityID func(childComplexity int) int - Author func(childComplexity int) int - AuthorID func(childComplexity int) int - Description func(childComplexity int) int - ID func(childComplexity int) int - IssueMatches func(childComplexity int, filter *model.IssueMatchFilter, first *int, after *string) int - RaaEnd func(childComplexity int) int - Type func(childComplexity int) int - Vector func(childComplexity int) int - } - - EvidenceConnection struct { - Edges func(childComplexity int) int - PageInfo func(childComplexity int) int - TotalCount func(childComplexity int) int - } - - EvidenceEdge struct { - Cursor func(childComplexity int) int - Node func(childComplexity int) int - } - - FilterItem struct { - DisplayName func(childComplexity int) int - FilterName func(childComplexity int) int - Values func(childComplexity int) int - } - - Issue struct { - Activities func(childComplexity int, filter *model.ActivityFilter, first *int, after *string) int - ComponentVersions func(childComplexity int, filter *model.ComponentVersionFilter, first *int, after *string) int - Description func(childComplexity int) int - ID func(childComplexity int) int - IssueMatches func(childComplexity int, filter *model.IssueMatchFilter, first *int, after *string) int - IssueVariants func(childComplexity int, filter *model.IssueVariantFilter, first *int, after *string) int - LastModified func(childComplexity int) int - Metadata func(childComplexity int) int - PrimaryName func(childComplexity int) int - Type func(childComplexity int) int - } - - IssueConnection struct { - Edges func(childComplexity int) int - PageInfo func(childComplexity int) int - PolicyViolationCount func(childComplexity int) int - SecurityEventCount func(childComplexity int) int - TotalCount func(childComplexity int) int - VulnerabilityCount func(childComplexity int) int - } - - IssueEdge struct { - Cursor func(childComplexity int) int - Node func(childComplexity int) int - } - - IssueMatch struct { - ComponentInstance func(childComplexity int) int - ComponentInstanceID func(childComplexity int) int - DiscoveryDate func(childComplexity int) int - EffectiveIssueVariants func(childComplexity int, filter *model.IssueVariantFilter, first *int, after *string) int - Evidences func(childComplexity int, filter *model.EvidenceFilter, first *int, after *string) int - ID func(childComplexity int) int - Issue func(childComplexity int) int - IssueID func(childComplexity int) int - IssueMatchChanges func(childComplexity int, filter *model.IssueMatchChangeFilter, first *int, after *string) int - RemediationDate func(childComplexity int) int - Severity func(childComplexity int) int - Status func(childComplexity int) int - TargetRemediationDate func(childComplexity int) int - User func(childComplexity int) int - UserID func(childComplexity int) int - } - - IssueMatchChange struct { - Action func(childComplexity int) int - Activity func(childComplexity int) int - ActivityID func(childComplexity int) int - ID func(childComplexity int) int - IssueMatch func(childComplexity int) int - IssueMatchID func(childComplexity int) int - } - - IssueMatchChangeConnection struct { - Edges func(childComplexity int) int - PageInfo func(childComplexity int) int - TotalCount func(childComplexity int) int - } - - IssueMatchChangeEdge struct { - Cursor func(childComplexity int) int - Node func(childComplexity int) int - } - - IssueMatchConnection struct { - Edges func(childComplexity int) int - PageInfo func(childComplexity int) int - TotalCount func(childComplexity int) int - } - - IssueMatchEdge struct { - Cursor func(childComplexity int) int - Node func(childComplexity int) int - } - - IssueMatchFilterValue struct { - AffectedService func(childComplexity int, filter *model.ServiceFilter) int - ComponentCcrn func(childComplexity int, filter *model.ComponentFilter) int - IssueType func(childComplexity int) int - PrimaryName func(childComplexity int, filter *model.IssueFilter) int - Severity func(childComplexity int) int - Status func(childComplexity int) int - SupportGroupCcrn func(childComplexity int, filter *model.SupportGroupFilter) int - } - - IssueMetadata struct { - ActivityCount func(childComplexity int) int - ComponentInstanceCount func(childComplexity int) int - ComponentVersionCount func(childComplexity int) int - EarliestDiscoveryDate func(childComplexity int) int - EarliestTargetRemediationDate func(childComplexity int) int - IssueMatchCount func(childComplexity int) int - ServiceCount func(childComplexity int) int - } - - IssueRepository struct { - CreatedAt func(childComplexity int) int - ID func(childComplexity int) int - IssueVariants func(childComplexity int, filter *model.IssueVariantFilter, first *int, after *string) int - Name func(childComplexity int) int - Services func(childComplexity int, filter *model.ServiceFilter, first *int, after *string) int - URL func(childComplexity int) int - UpdatedAt func(childComplexity int) int - } - - IssueRepositoryConnection struct { - Edges func(childComplexity int) int - PageInfo func(childComplexity int) int - TotalCount func(childComplexity int) int - } - - IssueRepositoryEdge struct { - CreatedAt func(childComplexity int) int - Cursor func(childComplexity int) int - Node func(childComplexity int) int - Priority func(childComplexity int) int - UpdatedAt func(childComplexity int) int - } - - IssueVariant struct { - CreatedAt func(childComplexity int) int - Description func(childComplexity int) int - ID func(childComplexity int) int - Issue func(childComplexity int) int - IssueID func(childComplexity int) int - IssueRepository func(childComplexity int) int - IssueRepositoryID func(childComplexity int) int - SecondaryName func(childComplexity int) int - Severity func(childComplexity int) int - UpdatedAt func(childComplexity int) int - } - - IssueVariantConnection struct { - Edges func(childComplexity int) int - PageInfo func(childComplexity int) int - TotalCount func(childComplexity int) int - } - - IssueVariantEdge struct { - CreatedAt func(childComplexity int) int - Cursor func(childComplexity int) int - Node func(childComplexity int) int - UpdatedAt func(childComplexity int) int - } - - Mutation struct { - AddComponentVersionToIssue func(childComplexity int, issueID string, componentVersionID string) int - AddEvidenceToIssueMatch func(childComplexity int, issueMatchID string, evidenceID string) int - AddIssueRepositoryToService func(childComplexity int, serviceID string, issueRepositoryID string, priority int) int - AddIssueToActivity func(childComplexity int, activityID string, issueID string) int - AddOwnerToService func(childComplexity int, serviceID string, userID string) int - AddServiceToActivity func(childComplexity int, activityID string, serviceID string) int - AddServiceToSupportGroup func(childComplexity int, supportGroupID string, serviceID string) int - AddUserToSupportGroup func(childComplexity int, supportGroupID string, userID string) int - CreateActivity func(childComplexity int, input model.ActivityInput) int - CreateComponent func(childComplexity int, input model.ComponentInput) int - CreateComponentInstance func(childComplexity int, input model.ComponentInstanceInput) int - CreateComponentVersion func(childComplexity int, input model.ComponentVersionInput) int - CreateEvidence func(childComplexity int, input model.EvidenceInput) int - CreateIssue func(childComplexity int, input model.IssueInput) int - CreateIssueMatch func(childComplexity int, input model.IssueMatchInput) int - CreateIssueMatchChange func(childComplexity int, input model.IssueMatchChangeInput) int - CreateIssueRepository func(childComplexity int, input model.IssueRepositoryInput) int - CreateIssueVariant func(childComplexity int, input model.IssueVariantInput) int - CreateService func(childComplexity int, input model.ServiceInput) int - CreateSupportGroup func(childComplexity int, input model.SupportGroupInput) int - CreateUser func(childComplexity int, input model.UserInput) int - DeleteActivity func(childComplexity int, id string) int - DeleteComponent func(childComplexity int, id string) int - DeleteComponentInstance func(childComplexity int, id string) int - DeleteComponentVersion func(childComplexity int, id string) int - DeleteEvidence func(childComplexity int, id string) int - DeleteIssue func(childComplexity int, id string) int - DeleteIssueMatch func(childComplexity int, id string) int - DeleteIssueMatchChange func(childComplexity int, id string) int - DeleteIssueRepository func(childComplexity int, id string) int - DeleteIssueVariant func(childComplexity int, id string) int - DeleteService func(childComplexity int, id string) int - DeleteSupportGroup func(childComplexity int, id string) int - DeleteUser func(childComplexity int, id string) int - RemoveComponentVersionFromIssue func(childComplexity int, issueID string, componentVersionID string) int - RemoveEvidenceFromIssueMatch func(childComplexity int, issueMatchID string, evidenceID string) int - RemoveIssueFromActivity func(childComplexity int, activityID string, issueID string) int - RemoveIssueRepositoryFromService func(childComplexity int, serviceID string, issueRepositoryID string) int - RemoveOwnerFromService func(childComplexity int, serviceID string, userID string) int - RemoveServiceFromActivity func(childComplexity int, activityID string, serviceID string) int - RemoveServiceFromSupportGroup func(childComplexity int, supportGroupID string, serviceID string) int - RemoveUserFromSupportGroup func(childComplexity int, supportGroupID string, userID string) int - UpdateActivity func(childComplexity int, id string, input model.ActivityInput) int - UpdateComponent func(childComplexity int, id string, input model.ComponentInput) int - UpdateComponentInstance func(childComplexity int, id string, input model.ComponentInstanceInput) int - UpdateComponentVersion func(childComplexity int, id string, input model.ComponentVersionInput) int - UpdateEvidence func(childComplexity int, id string, input model.EvidenceInput) int - UpdateIssue func(childComplexity int, id string, input model.IssueInput) int - UpdateIssueMatch func(childComplexity int, id string, input model.IssueMatchInput) int - UpdateIssueMatchChange func(childComplexity int, id string, input model.IssueMatchChangeInput) int - UpdateIssueRepository func(childComplexity int, id string, input model.IssueRepositoryInput) int - UpdateIssueVariant func(childComplexity int, id string, input model.IssueVariantInput) int - UpdateService func(childComplexity int, id string, input model.ServiceInput) int - UpdateSupportGroup func(childComplexity int, id string, input model.SupportGroupInput) int - UpdateUser func(childComplexity int, id string, input model.UserInput) int - } - - Page struct { - After func(childComplexity int) int - IsCurrent func(childComplexity int) int - PageCount func(childComplexity int) int - PageNumber func(childComplexity int) int - } - - PageInfo struct { - HasNextPage func(childComplexity int) int - HasPreviousPage func(childComplexity int) int - IsValidPage func(childComplexity int) int - NextPageAfter func(childComplexity int) int - PageNumber func(childComplexity int) int - Pages func(childComplexity int) int - } - - Query struct { - Activities func(childComplexity int, filter *model.ActivityFilter, first *int, after *string) int - ComponentFilterValues func(childComplexity int) int - ComponentInstanceFilterValues func(childComplexity int) int - ComponentInstances func(childComplexity int, filter *model.ComponentInstanceFilter, first *int, after *string) int - ComponentVersions func(childComplexity int, filter *model.ComponentVersionFilter, first *int, after *string) int - Components func(childComplexity int, filter *model.ComponentFilter, first *int, after *string) int - Evidences func(childComplexity int, filter *model.EvidenceFilter, first *int, after *string) int - IssueMatchChanges func(childComplexity int, filter *model.IssueMatchChangeFilter, first *int, after *string) int - IssueMatchFilterValues func(childComplexity int) int - IssueMatches func(childComplexity int, filter *model.IssueMatchFilter, first *int, after *string) int - IssueRepositories func(childComplexity int, filter *model.IssueRepositoryFilter, first *int, after *string) int - IssueVariants func(childComplexity int, filter *model.IssueVariantFilter, first *int, after *string) int - Issues func(childComplexity int, filter *model.IssueFilter, first *int, after *string) int - ServiceFilterValues func(childComplexity int) int - Services func(childComplexity int, filter *model.ServiceFilter, first *int, after *string) int - SupportGroups func(childComplexity int, filter *model.SupportGroupFilter, first *int, after *string) int - Users func(childComplexity int, filter *model.UserFilter, first *int, after *string) int - } - - Service struct { - Activities func(childComplexity int, filter *model.ActivityFilter, first *int, after *string) int - Ccrn func(childComplexity int) int - ComponentInstances func(childComplexity int, filter *model.ComponentInstanceFilter, first *int, after *string) int - ID func(childComplexity int) int - IssueRepositories func(childComplexity int, filter *model.IssueRepositoryFilter, first *int, after *string) int - Metadata func(childComplexity int) int - Owners func(childComplexity int, filter *model.UserFilter, first *int, after *string) int - SupportGroups func(childComplexity int, filter *model.SupportGroupFilter, first *int, after *string) int - } - - ServiceConnection struct { - Edges func(childComplexity int) int - PageInfo func(childComplexity int) int - TotalCount func(childComplexity int) int - } - - ServiceEdge struct { - Cursor func(childComplexity int) int - Node func(childComplexity int) int - Priority func(childComplexity int) int - } - - ServiceFilterValue struct { - ServiceCcrn func(childComplexity int, filter *model.ServiceFilter) int - SupportGroupCcrn func(childComplexity int, filter *model.SupportGroupFilter) int - UniqueUserID func(childComplexity int, filter *model.UserFilter) int - UserName func(childComplexity int, filter *model.UserFilter) int - } - - ServiceMetadata struct { - ComponentInstanceCount func(childComplexity int) int - IssueMatchCount func(childComplexity int) int - } - - Severity struct { - Cvss func(childComplexity int) int - Score func(childComplexity int) int - Value func(childComplexity int) int - } - - SupportGroup struct { - Ccrn func(childComplexity int) int - ID func(childComplexity int) int - Services func(childComplexity int, filter *model.ServiceFilter, first *int, after *string) int - Users func(childComplexity int, filter *model.UserFilter, first *int, after *string) int - } - - SupportGroupConnection struct { - Edges func(childComplexity int) int - PageInfo func(childComplexity int) int - TotalCount func(childComplexity int) int - } - - SupportGroupEdge struct { - Cursor func(childComplexity int) int - Node func(childComplexity int) int - } - - User struct { - ID func(childComplexity int) int - Name func(childComplexity int) int - Services func(childComplexity int, filter *model.ServiceFilter, first *int, after *string) int - SupportGroups func(childComplexity int, filter *model.SupportGroupFilter, first *int, after *string) int - Type func(childComplexity int) int - UniqueUserID func(childComplexity int) int - } - - UserConnection struct { - Edges func(childComplexity int) int - PageInfo func(childComplexity int) int - TotalCount func(childComplexity int) int - } - - UserEdge struct { - Cursor func(childComplexity int) int - Node func(childComplexity int) int - } -} - -type ActivityResolver interface { - Services(ctx context.Context, obj *model.Activity, filter *model.ServiceFilter, first *int, after *string) (*model.ServiceConnection, error) - Issues(ctx context.Context, obj *model.Activity, filter *model.IssueFilter, first *int, after *string) (*model.IssueConnection, error) - Evidences(ctx context.Context, obj *model.Activity, filter *model.EvidenceFilter, first *int, after *string) (*model.EvidenceConnection, error) - IssueMatchChanges(ctx context.Context, obj *model.Activity, filter *model.IssueMatchChangeFilter, first *int, after *string) (*model.IssueMatchChangeConnection, error) -} -type ComponentResolver interface { - ComponentVersions(ctx context.Context, obj *model.Component, filter *model.ComponentVersionFilter, first *int, after *string) (*model.ComponentVersionConnection, error) -} -type ComponentFilterValueResolver interface { - ComponentCcrn(ctx context.Context, obj *model.ComponentFilterValue, filter *model.ComponentFilter) (*model.FilterItem, error) -} -type ComponentInstanceResolver interface { - ComponentVersion(ctx context.Context, obj *model.ComponentInstance) (*model.ComponentVersion, error) - IssueMatches(ctx context.Context, obj *model.ComponentInstance, filter *model.IssueMatchFilter, first *int, after *string) (*model.IssueMatchConnection, error) - - Service(ctx context.Context, obj *model.ComponentInstance) (*model.Service, error) -} -type ComponentInstanceFilterValueResolver interface { - ServiceCcrn(ctx context.Context, obj *model.ComponentInstanceFilterValue, filter *model.ServiceFilter) (*model.FilterItem, error) - SupportGroupCcrn(ctx context.Context, obj *model.ComponentInstanceFilterValue, filter *model.SupportGroupFilter) (*model.FilterItem, error) - Ccrn(ctx context.Context, obj *model.ComponentInstanceFilterValue, filter *model.ComponentInstanceFilter) (*model.FilterItem, error) -} -type ComponentVersionResolver interface { - Component(ctx context.Context, obj *model.ComponentVersion) (*model.Component, error) - Issues(ctx context.Context, obj *model.ComponentVersion, first *int, after *string) (*model.IssueConnection, error) - ComponentInstances(ctx context.Context, obj *model.ComponentVersion, first *int, after *string) (*model.ComponentInstanceConnection, error) -} -type EvidenceResolver interface { - Author(ctx context.Context, obj *model.Evidence) (*model.User, error) - - Activity(ctx context.Context, obj *model.Evidence) (*model.Activity, error) - IssueMatches(ctx context.Context, obj *model.Evidence, filter *model.IssueMatchFilter, first *int, after *string) (*model.IssueMatchConnection, error) -} -type IssueResolver interface { - IssueVariants(ctx context.Context, obj *model.Issue, filter *model.IssueVariantFilter, first *int, after *string) (*model.IssueVariantConnection, error) - Activities(ctx context.Context, obj *model.Issue, filter *model.ActivityFilter, first *int, after *string) (*model.ActivityConnection, error) - IssueMatches(ctx context.Context, obj *model.Issue, filter *model.IssueMatchFilter, first *int, after *string) (*model.IssueMatchConnection, error) - ComponentVersions(ctx context.Context, obj *model.Issue, filter *model.ComponentVersionFilter, first *int, after *string) (*model.ComponentVersionConnection, error) -} -type IssueMatchResolver interface { - Severity(ctx context.Context, obj *model.IssueMatch) (*model.Severity, error) - EffectiveIssueVariants(ctx context.Context, obj *model.IssueMatch, filter *model.IssueVariantFilter, first *int, after *string) (*model.IssueVariantConnection, error) - Evidences(ctx context.Context, obj *model.IssueMatch, filter *model.EvidenceFilter, first *int, after *string) (*model.EvidenceConnection, error) - - Issue(ctx context.Context, obj *model.IssueMatch) (*model.Issue, error) - - ComponentInstance(ctx context.Context, obj *model.IssueMatch) (*model.ComponentInstance, error) - IssueMatchChanges(ctx context.Context, obj *model.IssueMatch, filter *model.IssueMatchChangeFilter, first *int, after *string) (*model.IssueMatchChangeConnection, error) -} -type IssueMatchChangeResolver interface { - IssueMatch(ctx context.Context, obj *model.IssueMatchChange) (*model.IssueMatch, error) - - Activity(ctx context.Context, obj *model.IssueMatchChange) (*model.Activity, error) -} -type IssueMatchFilterValueResolver interface { - PrimaryName(ctx context.Context, obj *model.IssueMatchFilterValue, filter *model.IssueFilter) (*model.FilterItem, error) - AffectedService(ctx context.Context, obj *model.IssueMatchFilterValue, filter *model.ServiceFilter) (*model.FilterItem, error) - ComponentCcrn(ctx context.Context, obj *model.IssueMatchFilterValue, filter *model.ComponentFilter) (*model.FilterItem, error) - SupportGroupCcrn(ctx context.Context, obj *model.IssueMatchFilterValue, filter *model.SupportGroupFilter) (*model.FilterItem, error) -} -type IssueRepositoryResolver interface { - IssueVariants(ctx context.Context, obj *model.IssueRepository, filter *model.IssueVariantFilter, first *int, after *string) (*model.IssueVariantConnection, error) - Services(ctx context.Context, obj *model.IssueRepository, filter *model.ServiceFilter, first *int, after *string) (*model.ServiceConnection, error) -} -type IssueVariantResolver interface { - IssueRepository(ctx context.Context, obj *model.IssueVariant) (*model.IssueRepository, error) - - Issue(ctx context.Context, obj *model.IssueVariant) (*model.Issue, error) -} -type MutationResolver interface { - CreateUser(ctx context.Context, input model.UserInput) (*model.User, error) - UpdateUser(ctx context.Context, id string, input model.UserInput) (*model.User, error) - DeleteUser(ctx context.Context, id string) (string, error) - CreateSupportGroup(ctx context.Context, input model.SupportGroupInput) (*model.SupportGroup, error) - UpdateSupportGroup(ctx context.Context, id string, input model.SupportGroupInput) (*model.SupportGroup, error) - DeleteSupportGroup(ctx context.Context, id string) (string, error) - AddServiceToSupportGroup(ctx context.Context, supportGroupID string, serviceID string) (*model.SupportGroup, error) - RemoveServiceFromSupportGroup(ctx context.Context, supportGroupID string, serviceID string) (*model.SupportGroup, error) - AddUserToSupportGroup(ctx context.Context, supportGroupID string, userID string) (*model.SupportGroup, error) - RemoveUserFromSupportGroup(ctx context.Context, supportGroupID string, userID string) (*model.SupportGroup, error) - CreateComponent(ctx context.Context, input model.ComponentInput) (*model.Component, error) - UpdateComponent(ctx context.Context, id string, input model.ComponentInput) (*model.Component, error) - DeleteComponent(ctx context.Context, id string) (string, error) - CreateComponentInstance(ctx context.Context, input model.ComponentInstanceInput) (*model.ComponentInstance, error) - UpdateComponentInstance(ctx context.Context, id string, input model.ComponentInstanceInput) (*model.ComponentInstance, error) - DeleteComponentInstance(ctx context.Context, id string) (string, error) - CreateComponentVersion(ctx context.Context, input model.ComponentVersionInput) (*model.ComponentVersion, error) - UpdateComponentVersion(ctx context.Context, id string, input model.ComponentVersionInput) (*model.ComponentVersion, error) - DeleteComponentVersion(ctx context.Context, id string) (string, error) - CreateService(ctx context.Context, input model.ServiceInput) (*model.Service, error) - UpdateService(ctx context.Context, id string, input model.ServiceInput) (*model.Service, error) - DeleteService(ctx context.Context, id string) (string, error) - AddOwnerToService(ctx context.Context, serviceID string, userID string) (*model.Service, error) - RemoveOwnerFromService(ctx context.Context, serviceID string, userID string) (*model.Service, error) - AddIssueRepositoryToService(ctx context.Context, serviceID string, issueRepositoryID string, priority int) (*model.Service, error) - RemoveIssueRepositoryFromService(ctx context.Context, serviceID string, issueRepositoryID string) (*model.Service, error) - CreateIssueRepository(ctx context.Context, input model.IssueRepositoryInput) (*model.IssueRepository, error) - UpdateIssueRepository(ctx context.Context, id string, input model.IssueRepositoryInput) (*model.IssueRepository, error) - DeleteIssueRepository(ctx context.Context, id string) (string, error) - CreateIssue(ctx context.Context, input model.IssueInput) (*model.Issue, error) - UpdateIssue(ctx context.Context, id string, input model.IssueInput) (*model.Issue, error) - DeleteIssue(ctx context.Context, id string) (string, error) - AddComponentVersionToIssue(ctx context.Context, issueID string, componentVersionID string) (*model.Issue, error) - RemoveComponentVersionFromIssue(ctx context.Context, issueID string, componentVersionID string) (*model.Issue, error) - CreateIssueVariant(ctx context.Context, input model.IssueVariantInput) (*model.IssueVariant, error) - UpdateIssueVariant(ctx context.Context, id string, input model.IssueVariantInput) (*model.IssueVariant, error) - DeleteIssueVariant(ctx context.Context, id string) (string, error) - CreateEvidence(ctx context.Context, input model.EvidenceInput) (*model.Evidence, error) - UpdateEvidence(ctx context.Context, id string, input model.EvidenceInput) (*model.Evidence, error) - DeleteEvidence(ctx context.Context, id string) (string, error) - CreateIssueMatch(ctx context.Context, input model.IssueMatchInput) (*model.IssueMatch, error) - UpdateIssueMatch(ctx context.Context, id string, input model.IssueMatchInput) (*model.IssueMatch, error) - DeleteIssueMatch(ctx context.Context, id string) (string, error) - AddEvidenceToIssueMatch(ctx context.Context, issueMatchID string, evidenceID string) (*model.IssueMatch, error) - RemoveEvidenceFromIssueMatch(ctx context.Context, issueMatchID string, evidenceID string) (*model.IssueMatch, error) - CreateIssueMatchChange(ctx context.Context, input model.IssueMatchChangeInput) (*model.IssueMatchChange, error) - UpdateIssueMatchChange(ctx context.Context, id string, input model.IssueMatchChangeInput) (*model.IssueMatchChange, error) - DeleteIssueMatchChange(ctx context.Context, id string) (string, error) - CreateActivity(ctx context.Context, input model.ActivityInput) (*model.Activity, error) - UpdateActivity(ctx context.Context, id string, input model.ActivityInput) (*model.Activity, error) - DeleteActivity(ctx context.Context, id string) (string, error) - AddServiceToActivity(ctx context.Context, activityID string, serviceID string) (*model.Activity, error) - RemoveServiceFromActivity(ctx context.Context, activityID string, serviceID string) (*model.Activity, error) - AddIssueToActivity(ctx context.Context, activityID string, issueID string) (*model.Activity, error) - RemoveIssueFromActivity(ctx context.Context, activityID string, issueID string) (*model.Activity, error) -} -type QueryResolver interface { - Issues(ctx context.Context, filter *model.IssueFilter, first *int, after *string) (*model.IssueConnection, error) - IssueMatches(ctx context.Context, filter *model.IssueMatchFilter, first *int, after *string) (*model.IssueMatchConnection, error) - IssueMatchChanges(ctx context.Context, filter *model.IssueMatchChangeFilter, first *int, after *string) (*model.IssueMatchChangeConnection, error) - Services(ctx context.Context, filter *model.ServiceFilter, first *int, after *string) (*model.ServiceConnection, error) - Components(ctx context.Context, filter *model.ComponentFilter, first *int, after *string) (*model.ComponentConnection, error) - ComponentVersions(ctx context.Context, filter *model.ComponentVersionFilter, first *int, after *string) (*model.ComponentVersionConnection, error) - ComponentInstances(ctx context.Context, filter *model.ComponentInstanceFilter, first *int, after *string) (*model.ComponentInstanceConnection, error) - Activities(ctx context.Context, filter *model.ActivityFilter, first *int, after *string) (*model.ActivityConnection, error) - IssueVariants(ctx context.Context, filter *model.IssueVariantFilter, first *int, after *string) (*model.IssueVariantConnection, error) - IssueRepositories(ctx context.Context, filter *model.IssueRepositoryFilter, first *int, after *string) (*model.IssueRepositoryConnection, error) - Evidences(ctx context.Context, filter *model.EvidenceFilter, first *int, after *string) (*model.EvidenceConnection, error) - SupportGroups(ctx context.Context, filter *model.SupportGroupFilter, first *int, after *string) (*model.SupportGroupConnection, error) - Users(ctx context.Context, filter *model.UserFilter, first *int, after *string) (*model.UserConnection, error) - ServiceFilterValues(ctx context.Context) (*model.ServiceFilterValue, error) - IssueMatchFilterValues(ctx context.Context) (*model.IssueMatchFilterValue, error) - ComponentInstanceFilterValues(ctx context.Context) (*model.ComponentInstanceFilterValue, error) - ComponentFilterValues(ctx context.Context) (*model.ComponentFilterValue, error) -} -type ServiceResolver interface { - Owners(ctx context.Context, obj *model.Service, filter *model.UserFilter, first *int, after *string) (*model.UserConnection, error) - SupportGroups(ctx context.Context, obj *model.Service, filter *model.SupportGroupFilter, first *int, after *string) (*model.SupportGroupConnection, error) - Activities(ctx context.Context, obj *model.Service, filter *model.ActivityFilter, first *int, after *string) (*model.ActivityConnection, error) - IssueRepositories(ctx context.Context, obj *model.Service, filter *model.IssueRepositoryFilter, first *int, after *string) (*model.IssueRepositoryConnection, error) - ComponentInstances(ctx context.Context, obj *model.Service, filter *model.ComponentInstanceFilter, first *int, after *string) (*model.ComponentInstanceConnection, error) -} -type ServiceFilterValueResolver interface { - ServiceCcrn(ctx context.Context, obj *model.ServiceFilterValue, filter *model.ServiceFilter) (*model.FilterItem, error) - UniqueUserID(ctx context.Context, obj *model.ServiceFilterValue, filter *model.UserFilter) (*model.FilterItem, error) - UserName(ctx context.Context, obj *model.ServiceFilterValue, filter *model.UserFilter) (*model.FilterItem, error) - SupportGroupCcrn(ctx context.Context, obj *model.ServiceFilterValue, filter *model.SupportGroupFilter) (*model.FilterItem, error) -} -type SupportGroupResolver interface { - Users(ctx context.Context, obj *model.SupportGroup, filter *model.UserFilter, first *int, after *string) (*model.UserConnection, error) - Services(ctx context.Context, obj *model.SupportGroup, filter *model.ServiceFilter, first *int, after *string) (*model.ServiceConnection, error) -} -type UserResolver interface { - SupportGroups(ctx context.Context, obj *model.User, filter *model.SupportGroupFilter, first *int, after *string) (*model.SupportGroupConnection, error) - Services(ctx context.Context, obj *model.User, filter *model.ServiceFilter, first *int, after *string) (*model.ServiceConnection, error) -} - -type executableSchema struct { - schema *ast.Schema - resolvers ResolverRoot - directives DirectiveRoot - complexity ComplexityRoot -} - -func (e *executableSchema) Schema() *ast.Schema { - if e.schema != nil { - return e.schema - } - return parsedSchema -} - -func (e *executableSchema) Complexity(typeName, field string, childComplexity int, rawArgs map[string]interface{}) (int, bool) { - ec := executionContext{nil, e, 0, 0, nil} - _ = ec - switch typeName + "." + field { - - case "Activity.evidences": - if e.complexity.Activity.Evidences == nil { - break - } - - args, err := ec.field_Activity_evidences_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Activity.Evidences(childComplexity, args["filter"].(*model.EvidenceFilter), args["first"].(*int), args["after"].(*string)), true - - case "Activity.id": - if e.complexity.Activity.ID == nil { - break - } - - return e.complexity.Activity.ID(childComplexity), true - - case "Activity.issueMatchChanges": - if e.complexity.Activity.IssueMatchChanges == nil { - break - } - - args, err := ec.field_Activity_issueMatchChanges_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Activity.IssueMatchChanges(childComplexity, args["filter"].(*model.IssueMatchChangeFilter), args["first"].(*int), args["after"].(*string)), true - - case "Activity.issues": - if e.complexity.Activity.Issues == nil { - break - } - - args, err := ec.field_Activity_issues_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Activity.Issues(childComplexity, args["filter"].(*model.IssueFilter), args["first"].(*int), args["after"].(*string)), true - - case "Activity.services": - if e.complexity.Activity.Services == nil { - break - } - - args, err := ec.field_Activity_services_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Activity.Services(childComplexity, args["filter"].(*model.ServiceFilter), args["first"].(*int), args["after"].(*string)), true - - case "Activity.status": - if e.complexity.Activity.Status == nil { - break - } - - return e.complexity.Activity.Status(childComplexity), true - - case "ActivityConnection.edges": - if e.complexity.ActivityConnection.Edges == nil { - break - } - - return e.complexity.ActivityConnection.Edges(childComplexity), true - - case "ActivityConnection.pageInfo": - if e.complexity.ActivityConnection.PageInfo == nil { - break - } - - return e.complexity.ActivityConnection.PageInfo(childComplexity), true - - case "ActivityConnection.totalCount": - if e.complexity.ActivityConnection.TotalCount == nil { - break - } - - return e.complexity.ActivityConnection.TotalCount(childComplexity), true - - case "ActivityEdge.cursor": - if e.complexity.ActivityEdge.Cursor == nil { - break - } - - return e.complexity.ActivityEdge.Cursor(childComplexity), true - - case "ActivityEdge.node": - if e.complexity.ActivityEdge.Node == nil { - break - } - - return e.complexity.ActivityEdge.Node(childComplexity), true - - case "CVSS.base": - if e.complexity.CVSS.Base == nil { - break - } - - return e.complexity.CVSS.Base(childComplexity), true - - case "CVSS.environmental": - if e.complexity.CVSS.Environmental == nil { - break - } - - return e.complexity.CVSS.Environmental(childComplexity), true - - case "CVSS.temporal": - if e.complexity.CVSS.Temporal == nil { - break - } - - return e.complexity.CVSS.Temporal(childComplexity), true - - case "CVSS.vector": - if e.complexity.CVSS.Vector == nil { - break - } - - return e.complexity.CVSS.Vector(childComplexity), true - - case "CVSSBase.attackComplexity": - if e.complexity.CVSSBase.AttackComplexity == nil { - break - } - - return e.complexity.CVSSBase.AttackComplexity(childComplexity), true - - case "CVSSBase.attackVector": - if e.complexity.CVSSBase.AttackVector == nil { - break - } - - return e.complexity.CVSSBase.AttackVector(childComplexity), true - - case "CVSSBase.availabilityImpact": - if e.complexity.CVSSBase.AvailabilityImpact == nil { - break - } - - return e.complexity.CVSSBase.AvailabilityImpact(childComplexity), true - - case "CVSSBase.confidentialityImpact": - if e.complexity.CVSSBase.ConfidentialityImpact == nil { - break - } - - return e.complexity.CVSSBase.ConfidentialityImpact(childComplexity), true - - case "CVSSBase.integrityImpact": - if e.complexity.CVSSBase.IntegrityImpact == nil { - break - } - - return e.complexity.CVSSBase.IntegrityImpact(childComplexity), true - - case "CVSSBase.privilegesRequired": - if e.complexity.CVSSBase.PrivilegesRequired == nil { - break - } - - return e.complexity.CVSSBase.PrivilegesRequired(childComplexity), true - - case "CVSSBase.scope": - if e.complexity.CVSSBase.Scope == nil { - break - } - - return e.complexity.CVSSBase.Scope(childComplexity), true - - case "CVSSBase.score": - if e.complexity.CVSSBase.Score == nil { - break - } - - return e.complexity.CVSSBase.Score(childComplexity), true - - case "CVSSBase.userInteraction": - if e.complexity.CVSSBase.UserInteraction == nil { - break - } - - return e.complexity.CVSSBase.UserInteraction(childComplexity), true - - case "CVSSEnvironmental.availabilityRequirement": - if e.complexity.CVSSEnvironmental.AvailabilityRequirement == nil { - break - } - - return e.complexity.CVSSEnvironmental.AvailabilityRequirement(childComplexity), true - - case "CVSSEnvironmental.confidentialityRequirement": - if e.complexity.CVSSEnvironmental.ConfidentialityRequirement == nil { - break - } - - return e.complexity.CVSSEnvironmental.ConfidentialityRequirement(childComplexity), true - - case "CVSSEnvironmental.integrityRequirement": - if e.complexity.CVSSEnvironmental.IntegrityRequirement == nil { - break - } - - return e.complexity.CVSSEnvironmental.IntegrityRequirement(childComplexity), true - - case "CVSSEnvironmental.modifiedAttackComplexity": - if e.complexity.CVSSEnvironmental.ModifiedAttackComplexity == nil { - break - } - - return e.complexity.CVSSEnvironmental.ModifiedAttackComplexity(childComplexity), true - - case "CVSSEnvironmental.modifiedAttackVector": - if e.complexity.CVSSEnvironmental.ModifiedAttackVector == nil { - break - } - - return e.complexity.CVSSEnvironmental.ModifiedAttackVector(childComplexity), true - - case "CVSSEnvironmental.modifiedAvailabilityImpact": - if e.complexity.CVSSEnvironmental.ModifiedAvailabilityImpact == nil { - break - } - - return e.complexity.CVSSEnvironmental.ModifiedAvailabilityImpact(childComplexity), true - - case "CVSSEnvironmental.modifiedConfidentialityImpact": - if e.complexity.CVSSEnvironmental.ModifiedConfidentialityImpact == nil { - break - } - - return e.complexity.CVSSEnvironmental.ModifiedConfidentialityImpact(childComplexity), true - - case "CVSSEnvironmental.modifiedIntegrityImpact": - if e.complexity.CVSSEnvironmental.ModifiedIntegrityImpact == nil { - break - } - - return e.complexity.CVSSEnvironmental.ModifiedIntegrityImpact(childComplexity), true - - case "CVSSEnvironmental.modifiedPrivilegesRequired": - if e.complexity.CVSSEnvironmental.ModifiedPrivilegesRequired == nil { - break - } - - return e.complexity.CVSSEnvironmental.ModifiedPrivilegesRequired(childComplexity), true - - case "CVSSEnvironmental.modifiedScope": - if e.complexity.CVSSEnvironmental.ModifiedScope == nil { - break - } - - return e.complexity.CVSSEnvironmental.ModifiedScope(childComplexity), true - - case "CVSSEnvironmental.modifiedUserInteraction": - if e.complexity.CVSSEnvironmental.ModifiedUserInteraction == nil { - break - } - - return e.complexity.CVSSEnvironmental.ModifiedUserInteraction(childComplexity), true - - case "CVSSEnvironmental.score": - if e.complexity.CVSSEnvironmental.Score == nil { - break - } - - return e.complexity.CVSSEnvironmental.Score(childComplexity), true - - case "CVSSParameter.name": - if e.complexity.CVSSParameter.Name == nil { - break - } - - return e.complexity.CVSSParameter.Name(childComplexity), true - - case "CVSSParameter.value": - if e.complexity.CVSSParameter.Value == nil { - break - } - - return e.complexity.CVSSParameter.Value(childComplexity), true - - case "CVSSTemporal.exploitCodeMaturity": - if e.complexity.CVSSTemporal.ExploitCodeMaturity == nil { - break - } - - return e.complexity.CVSSTemporal.ExploitCodeMaturity(childComplexity), true - - case "CVSSTemporal.remediationLevel": - if e.complexity.CVSSTemporal.RemediationLevel == nil { - break - } - - return e.complexity.CVSSTemporal.RemediationLevel(childComplexity), true - - case "CVSSTemporal.reportConfidence": - if e.complexity.CVSSTemporal.ReportConfidence == nil { - break - } - - return e.complexity.CVSSTemporal.ReportConfidence(childComplexity), true - - case "CVSSTemporal.score": - if e.complexity.CVSSTemporal.Score == nil { - break - } - - return e.complexity.CVSSTemporal.Score(childComplexity), true - - case "Component.ccrn": - if e.complexity.Component.Ccrn == nil { - break - } - - return e.complexity.Component.Ccrn(childComplexity), true - - case "Component.componentVersions": - if e.complexity.Component.ComponentVersions == nil { - break - } - - args, err := ec.field_Component_componentVersions_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Component.ComponentVersions(childComplexity, args["filter"].(*model.ComponentVersionFilter), args["first"].(*int), args["after"].(*string)), true - - case "Component.id": - if e.complexity.Component.ID == nil { - break - } - - return e.complexity.Component.ID(childComplexity), true - - case "Component.type": - if e.complexity.Component.Type == nil { - break - } - - return e.complexity.Component.Type(childComplexity), true - - case "ComponentConnection.edges": - if e.complexity.ComponentConnection.Edges == nil { - break - } - - return e.complexity.ComponentConnection.Edges(childComplexity), true - - case "ComponentConnection.pageInfo": - if e.complexity.ComponentConnection.PageInfo == nil { - break - } - - return e.complexity.ComponentConnection.PageInfo(childComplexity), true - - case "ComponentConnection.totalCount": - if e.complexity.ComponentConnection.TotalCount == nil { - break - } - - return e.complexity.ComponentConnection.TotalCount(childComplexity), true - - case "ComponentEdge.cursor": - if e.complexity.ComponentEdge.Cursor == nil { - break - } - - return e.complexity.ComponentEdge.Cursor(childComplexity), true - - case "ComponentEdge.node": - if e.complexity.ComponentEdge.Node == nil { - break - } - - return e.complexity.ComponentEdge.Node(childComplexity), true - - case "ComponentFilterValue.componentCcrn": - if e.complexity.ComponentFilterValue.ComponentCcrn == nil { - break - } - - args, err := ec.field_ComponentFilterValue_componentCcrn_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.ComponentFilterValue.ComponentCcrn(childComplexity, args["filter"].(*model.ComponentFilter)), true - - case "ComponentInstance.ccrn": - if e.complexity.ComponentInstance.Ccrn == nil { - break - } - - return e.complexity.ComponentInstance.Ccrn(childComplexity), true - - case "ComponentInstance.componentVersion": - if e.complexity.ComponentInstance.ComponentVersion == nil { - break - } - - return e.complexity.ComponentInstance.ComponentVersion(childComplexity), true - - case "ComponentInstance.componentVersionId": - if e.complexity.ComponentInstance.ComponentVersionID == nil { - break - } - - return e.complexity.ComponentInstance.ComponentVersionID(childComplexity), true - - case "ComponentInstance.count": - if e.complexity.ComponentInstance.Count == nil { - break - } - - return e.complexity.ComponentInstance.Count(childComplexity), true - - case "ComponentInstance.createdAt": - if e.complexity.ComponentInstance.CreatedAt == nil { - break - } - - return e.complexity.ComponentInstance.CreatedAt(childComplexity), true - - case "ComponentInstance.id": - if e.complexity.ComponentInstance.ID == nil { - break - } - - return e.complexity.ComponentInstance.ID(childComplexity), true - - case "ComponentInstance.issueMatches": - if e.complexity.ComponentInstance.IssueMatches == nil { - break - } - - args, err := ec.field_ComponentInstance_issueMatches_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.ComponentInstance.IssueMatches(childComplexity, args["filter"].(*model.IssueMatchFilter), args["first"].(*int), args["after"].(*string)), true - - case "ComponentInstance.service": - if e.complexity.ComponentInstance.Service == nil { - break - } - - return e.complexity.ComponentInstance.Service(childComplexity), true - - case "ComponentInstance.serviceId": - if e.complexity.ComponentInstance.ServiceID == nil { - break - } - - return e.complexity.ComponentInstance.ServiceID(childComplexity), true - - case "ComponentInstance.updatedAt": - if e.complexity.ComponentInstance.UpdatedAt == nil { - break - } - - return e.complexity.ComponentInstance.UpdatedAt(childComplexity), true - - case "ComponentInstanceConnection.edges": - if e.complexity.ComponentInstanceConnection.Edges == nil { - break - } - - return e.complexity.ComponentInstanceConnection.Edges(childComplexity), true - - case "ComponentInstanceConnection.pageInfo": - if e.complexity.ComponentInstanceConnection.PageInfo == nil { - break - } - - return e.complexity.ComponentInstanceConnection.PageInfo(childComplexity), true - - case "ComponentInstanceConnection.totalCount": - if e.complexity.ComponentInstanceConnection.TotalCount == nil { - break - } - - return e.complexity.ComponentInstanceConnection.TotalCount(childComplexity), true - - case "ComponentInstanceEdge.cursor": - if e.complexity.ComponentInstanceEdge.Cursor == nil { - break - } - - return e.complexity.ComponentInstanceEdge.Cursor(childComplexity), true - - case "ComponentInstanceEdge.node": - if e.complexity.ComponentInstanceEdge.Node == nil { - break - } - - return e.complexity.ComponentInstanceEdge.Node(childComplexity), true - - case "ComponentInstanceFilterValue.ccrn": - if e.complexity.ComponentInstanceFilterValue.Ccrn == nil { - break - } - - args, err := ec.field_ComponentInstanceFilterValue_ccrn_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.ComponentInstanceFilterValue.Ccrn(childComplexity, args["filter"].(*model.ComponentInstanceFilter)), true - - case "ComponentInstanceFilterValue.serviceCcrn": - if e.complexity.ComponentInstanceFilterValue.ServiceCcrn == nil { - break - } - - args, err := ec.field_ComponentInstanceFilterValue_serviceCcrn_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.ComponentInstanceFilterValue.ServiceCcrn(childComplexity, args["filter"].(*model.ServiceFilter)), true - - case "ComponentInstanceFilterValue.supportGroupCcrn": - if e.complexity.ComponentInstanceFilterValue.SupportGroupCcrn == nil { - break - } - - args, err := ec.field_ComponentInstanceFilterValue_supportGroupCcrn_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.ComponentInstanceFilterValue.SupportGroupCcrn(childComplexity, args["filter"].(*model.SupportGroupFilter)), true - - case "ComponentVersion.component": - if e.complexity.ComponentVersion.Component == nil { - break - } - - return e.complexity.ComponentVersion.Component(childComplexity), true - - case "ComponentVersion.componentId": - if e.complexity.ComponentVersion.ComponentID == nil { - break - } - - return e.complexity.ComponentVersion.ComponentID(childComplexity), true - - case "ComponentVersion.componentInstances": - if e.complexity.ComponentVersion.ComponentInstances == nil { - break - } - - args, err := ec.field_ComponentVersion_componentInstances_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.ComponentVersion.ComponentInstances(childComplexity, args["first"].(*int), args["after"].(*string)), true - - case "ComponentVersion.id": - if e.complexity.ComponentVersion.ID == nil { - break - } - - return e.complexity.ComponentVersion.ID(childComplexity), true - - case "ComponentVersion.issues": - if e.complexity.ComponentVersion.Issues == nil { - break - } - - args, err := ec.field_ComponentVersion_issues_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.ComponentVersion.Issues(childComplexity, args["first"].(*int), args["after"].(*string)), true - - case "ComponentVersion.version": - if e.complexity.ComponentVersion.Version == nil { - break - } - - return e.complexity.ComponentVersion.Version(childComplexity), true - - case "ComponentVersionConnection.edges": - if e.complexity.ComponentVersionConnection.Edges == nil { - break - } - - return e.complexity.ComponentVersionConnection.Edges(childComplexity), true - - case "ComponentVersionConnection.pageInfo": - if e.complexity.ComponentVersionConnection.PageInfo == nil { - break - } - - return e.complexity.ComponentVersionConnection.PageInfo(childComplexity), true - - case "ComponentVersionConnection.totalCount": - if e.complexity.ComponentVersionConnection.TotalCount == nil { - break - } - - return e.complexity.ComponentVersionConnection.TotalCount(childComplexity), true - - case "ComponentVersionEdge.cursor": - if e.complexity.ComponentVersionEdge.Cursor == nil { - break - } - - return e.complexity.ComponentVersionEdge.Cursor(childComplexity), true - - case "ComponentVersionEdge.node": - if e.complexity.ComponentVersionEdge.Node == nil { - break - } - - return e.complexity.ComponentVersionEdge.Node(childComplexity), true - - case "Evidence.activity": - if e.complexity.Evidence.Activity == nil { - break - } - - return e.complexity.Evidence.Activity(childComplexity), true - - case "Evidence.activityId": - if e.complexity.Evidence.ActivityID == nil { - break - } - - return e.complexity.Evidence.ActivityID(childComplexity), true - - case "Evidence.author": - if e.complexity.Evidence.Author == nil { - break - } - - return e.complexity.Evidence.Author(childComplexity), true - - case "Evidence.authorId": - if e.complexity.Evidence.AuthorID == nil { - break - } - - return e.complexity.Evidence.AuthorID(childComplexity), true - - case "Evidence.description": - if e.complexity.Evidence.Description == nil { - break - } - - return e.complexity.Evidence.Description(childComplexity), true - - case "Evidence.id": - if e.complexity.Evidence.ID == nil { - break - } - - return e.complexity.Evidence.ID(childComplexity), true - - case "Evidence.issueMatches": - if e.complexity.Evidence.IssueMatches == nil { - break - } - - args, err := ec.field_Evidence_issueMatches_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Evidence.IssueMatches(childComplexity, args["filter"].(*model.IssueMatchFilter), args["first"].(*int), args["after"].(*string)), true - - case "Evidence.raaEnd": - if e.complexity.Evidence.RaaEnd == nil { - break - } - - return e.complexity.Evidence.RaaEnd(childComplexity), true - - case "Evidence.type": - if e.complexity.Evidence.Type == nil { - break - } - - return e.complexity.Evidence.Type(childComplexity), true - - case "Evidence.vector": - if e.complexity.Evidence.Vector == nil { - break - } - - return e.complexity.Evidence.Vector(childComplexity), true - - case "EvidenceConnection.edges": - if e.complexity.EvidenceConnection.Edges == nil { - break - } - - return e.complexity.EvidenceConnection.Edges(childComplexity), true - - case "EvidenceConnection.pageInfo": - if e.complexity.EvidenceConnection.PageInfo == nil { - break - } - - return e.complexity.EvidenceConnection.PageInfo(childComplexity), true - - case "EvidenceConnection.totalCount": - if e.complexity.EvidenceConnection.TotalCount == nil { - break - } - - return e.complexity.EvidenceConnection.TotalCount(childComplexity), true - - case "EvidenceEdge.cursor": - if e.complexity.EvidenceEdge.Cursor == nil { - break - } - - return e.complexity.EvidenceEdge.Cursor(childComplexity), true - - case "EvidenceEdge.node": - if e.complexity.EvidenceEdge.Node == nil { - break - } - - return e.complexity.EvidenceEdge.Node(childComplexity), true - - case "FilterItem.displayName": - if e.complexity.FilterItem.DisplayName == nil { - break - } - - return e.complexity.FilterItem.DisplayName(childComplexity), true - - case "FilterItem.filterName": - if e.complexity.FilterItem.FilterName == nil { - break - } - - return e.complexity.FilterItem.FilterName(childComplexity), true - - case "FilterItem.values": - if e.complexity.FilterItem.Values == nil { - break - } - - return e.complexity.FilterItem.Values(childComplexity), true - - case "Issue.activities": - if e.complexity.Issue.Activities == nil { - break - } - - args, err := ec.field_Issue_activities_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Issue.Activities(childComplexity, args["filter"].(*model.ActivityFilter), args["first"].(*int), args["after"].(*string)), true - - case "Issue.componentVersions": - if e.complexity.Issue.ComponentVersions == nil { - break - } - - args, err := ec.field_Issue_componentVersions_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Issue.ComponentVersions(childComplexity, args["filter"].(*model.ComponentVersionFilter), args["first"].(*int), args["after"].(*string)), true - - case "Issue.description": - if e.complexity.Issue.Description == nil { - break - } - - return e.complexity.Issue.Description(childComplexity), true - - case "Issue.id": - if e.complexity.Issue.ID == nil { - break - } - - return e.complexity.Issue.ID(childComplexity), true - - case "Issue.issueMatches": - if e.complexity.Issue.IssueMatches == nil { - break - } - - args, err := ec.field_Issue_issueMatches_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Issue.IssueMatches(childComplexity, args["filter"].(*model.IssueMatchFilter), args["first"].(*int), args["after"].(*string)), true - - case "Issue.issueVariants": - if e.complexity.Issue.IssueVariants == nil { - break - } - - args, err := ec.field_Issue_issueVariants_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Issue.IssueVariants(childComplexity, args["filter"].(*model.IssueVariantFilter), args["first"].(*int), args["after"].(*string)), true - - case "Issue.lastModified": - if e.complexity.Issue.LastModified == nil { - break - } - - return e.complexity.Issue.LastModified(childComplexity), true - - case "Issue.metadata": - if e.complexity.Issue.Metadata == nil { - break - } - - return e.complexity.Issue.Metadata(childComplexity), true - - case "Issue.primaryName": - if e.complexity.Issue.PrimaryName == nil { - break - } - - return e.complexity.Issue.PrimaryName(childComplexity), true - - case "Issue.type": - if e.complexity.Issue.Type == nil { - break - } - - return e.complexity.Issue.Type(childComplexity), true - - case "IssueConnection.edges": - if e.complexity.IssueConnection.Edges == nil { - break - } - - return e.complexity.IssueConnection.Edges(childComplexity), true - - case "IssueConnection.pageInfo": - if e.complexity.IssueConnection.PageInfo == nil { - break - } - - return e.complexity.IssueConnection.PageInfo(childComplexity), true - - case "IssueConnection.policyViolationCount": - if e.complexity.IssueConnection.PolicyViolationCount == nil { - break - } - - return e.complexity.IssueConnection.PolicyViolationCount(childComplexity), true - - case "IssueConnection.securityEventCount": - if e.complexity.IssueConnection.SecurityEventCount == nil { - break - } - - return e.complexity.IssueConnection.SecurityEventCount(childComplexity), true - - case "IssueConnection.totalCount": - if e.complexity.IssueConnection.TotalCount == nil { - break - } - - return e.complexity.IssueConnection.TotalCount(childComplexity), true - - case "IssueConnection.vulnerabilityCount": - if e.complexity.IssueConnection.VulnerabilityCount == nil { - break - } - - return e.complexity.IssueConnection.VulnerabilityCount(childComplexity), true - - case "IssueEdge.cursor": - if e.complexity.IssueEdge.Cursor == nil { - break - } - - return e.complexity.IssueEdge.Cursor(childComplexity), true - - case "IssueEdge.node": - if e.complexity.IssueEdge.Node == nil { - break - } - - return e.complexity.IssueEdge.Node(childComplexity), true - - case "IssueMatch.componentInstance": - if e.complexity.IssueMatch.ComponentInstance == nil { - break - } - - return e.complexity.IssueMatch.ComponentInstance(childComplexity), true - - case "IssueMatch.componentInstanceId": - if e.complexity.IssueMatch.ComponentInstanceID == nil { - break - } - - return e.complexity.IssueMatch.ComponentInstanceID(childComplexity), true - - case "IssueMatch.discoveryDate": - if e.complexity.IssueMatch.DiscoveryDate == nil { - break - } - - return e.complexity.IssueMatch.DiscoveryDate(childComplexity), true - - case "IssueMatch.effectiveIssueVariants": - if e.complexity.IssueMatch.EffectiveIssueVariants == nil { - break - } - - args, err := ec.field_IssueMatch_effectiveIssueVariants_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.IssueMatch.EffectiveIssueVariants(childComplexity, args["filter"].(*model.IssueVariantFilter), args["first"].(*int), args["after"].(*string)), true - - case "IssueMatch.evidences": - if e.complexity.IssueMatch.Evidences == nil { - break - } - - args, err := ec.field_IssueMatch_evidences_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.IssueMatch.Evidences(childComplexity, args["filter"].(*model.EvidenceFilter), args["first"].(*int), args["after"].(*string)), true - - case "IssueMatch.id": - if e.complexity.IssueMatch.ID == nil { - break - } - - return e.complexity.IssueMatch.ID(childComplexity), true - - case "IssueMatch.issue": - if e.complexity.IssueMatch.Issue == nil { - break - } - - return e.complexity.IssueMatch.Issue(childComplexity), true - - case "IssueMatch.issueId": - if e.complexity.IssueMatch.IssueID == nil { - break - } - - return e.complexity.IssueMatch.IssueID(childComplexity), true - - case "IssueMatch.issueMatchChanges": - if e.complexity.IssueMatch.IssueMatchChanges == nil { - break - } - - args, err := ec.field_IssueMatch_issueMatchChanges_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.IssueMatch.IssueMatchChanges(childComplexity, args["filter"].(*model.IssueMatchChangeFilter), args["first"].(*int), args["after"].(*string)), true - - case "IssueMatch.remediationDate": - if e.complexity.IssueMatch.RemediationDate == nil { - break - } - - return e.complexity.IssueMatch.RemediationDate(childComplexity), true - - case "IssueMatch.severity": - if e.complexity.IssueMatch.Severity == nil { - break - } - - return e.complexity.IssueMatch.Severity(childComplexity), true - - case "IssueMatch.status": - if e.complexity.IssueMatch.Status == nil { - break - } - - return e.complexity.IssueMatch.Status(childComplexity), true - - case "IssueMatch.targetRemediationDate": - if e.complexity.IssueMatch.TargetRemediationDate == nil { - break - } - - return e.complexity.IssueMatch.TargetRemediationDate(childComplexity), true - - case "IssueMatch.user": - if e.complexity.IssueMatch.User == nil { - break - } - - return e.complexity.IssueMatch.User(childComplexity), true - - case "IssueMatch.userId": - if e.complexity.IssueMatch.UserID == nil { - break - } - - return e.complexity.IssueMatch.UserID(childComplexity), true - - case "IssueMatchChange.action": - if e.complexity.IssueMatchChange.Action == nil { - break - } - - return e.complexity.IssueMatchChange.Action(childComplexity), true - - case "IssueMatchChange.activity": - if e.complexity.IssueMatchChange.Activity == nil { - break - } - - return e.complexity.IssueMatchChange.Activity(childComplexity), true - - case "IssueMatchChange.activityId": - if e.complexity.IssueMatchChange.ActivityID == nil { - break - } - - return e.complexity.IssueMatchChange.ActivityID(childComplexity), true - - case "IssueMatchChange.id": - if e.complexity.IssueMatchChange.ID == nil { - break - } - - return e.complexity.IssueMatchChange.ID(childComplexity), true - - case "IssueMatchChange.issueMatch": - if e.complexity.IssueMatchChange.IssueMatch == nil { - break - } - - return e.complexity.IssueMatchChange.IssueMatch(childComplexity), true - - case "IssueMatchChange.issueMatchId": - if e.complexity.IssueMatchChange.IssueMatchID == nil { - break - } - - return e.complexity.IssueMatchChange.IssueMatchID(childComplexity), true - - case "IssueMatchChangeConnection.edges": - if e.complexity.IssueMatchChangeConnection.Edges == nil { - break - } - - return e.complexity.IssueMatchChangeConnection.Edges(childComplexity), true - - case "IssueMatchChangeConnection.pageInfo": - if e.complexity.IssueMatchChangeConnection.PageInfo == nil { - break - } - - return e.complexity.IssueMatchChangeConnection.PageInfo(childComplexity), true - - case "IssueMatchChangeConnection.totalCount": - if e.complexity.IssueMatchChangeConnection.TotalCount == nil { - break - } - - return e.complexity.IssueMatchChangeConnection.TotalCount(childComplexity), true - - case "IssueMatchChangeEdge.cursor": - if e.complexity.IssueMatchChangeEdge.Cursor == nil { - break - } - - return e.complexity.IssueMatchChangeEdge.Cursor(childComplexity), true - - case "IssueMatchChangeEdge.node": - if e.complexity.IssueMatchChangeEdge.Node == nil { - break - } - - return e.complexity.IssueMatchChangeEdge.Node(childComplexity), true - - case "IssueMatchConnection.edges": - if e.complexity.IssueMatchConnection.Edges == nil { - break - } - - return e.complexity.IssueMatchConnection.Edges(childComplexity), true - - case "IssueMatchConnection.pageInfo": - if e.complexity.IssueMatchConnection.PageInfo == nil { - break - } - - return e.complexity.IssueMatchConnection.PageInfo(childComplexity), true - - case "IssueMatchConnection.totalCount": - if e.complexity.IssueMatchConnection.TotalCount == nil { - break - } - - return e.complexity.IssueMatchConnection.TotalCount(childComplexity), true - - case "IssueMatchEdge.cursor": - if e.complexity.IssueMatchEdge.Cursor == nil { - break - } - - return e.complexity.IssueMatchEdge.Cursor(childComplexity), true - - case "IssueMatchEdge.node": - if e.complexity.IssueMatchEdge.Node == nil { - break - } - - return e.complexity.IssueMatchEdge.Node(childComplexity), true - - case "IssueMatchFilterValue.affectedService": - if e.complexity.IssueMatchFilterValue.AffectedService == nil { - break - } - - args, err := ec.field_IssueMatchFilterValue_affectedService_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.IssueMatchFilterValue.AffectedService(childComplexity, args["filter"].(*model.ServiceFilter)), true - - case "IssueMatchFilterValue.componentCcrn": - if e.complexity.IssueMatchFilterValue.ComponentCcrn == nil { - break - } - - args, err := ec.field_IssueMatchFilterValue_componentCcrn_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.IssueMatchFilterValue.ComponentCcrn(childComplexity, args["filter"].(*model.ComponentFilter)), true - - case "IssueMatchFilterValue.issueType": - if e.complexity.IssueMatchFilterValue.IssueType == nil { - break - } - - return e.complexity.IssueMatchFilterValue.IssueType(childComplexity), true - - case "IssueMatchFilterValue.primaryName": - if e.complexity.IssueMatchFilterValue.PrimaryName == nil { - break - } - - args, err := ec.field_IssueMatchFilterValue_primaryName_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.IssueMatchFilterValue.PrimaryName(childComplexity, args["filter"].(*model.IssueFilter)), true - - case "IssueMatchFilterValue.severity": - if e.complexity.IssueMatchFilterValue.Severity == nil { - break - } - - return e.complexity.IssueMatchFilterValue.Severity(childComplexity), true - - case "IssueMatchFilterValue.status": - if e.complexity.IssueMatchFilterValue.Status == nil { - break - } - - return e.complexity.IssueMatchFilterValue.Status(childComplexity), true - - case "IssueMatchFilterValue.supportGroupCcrn": - if e.complexity.IssueMatchFilterValue.SupportGroupCcrn == nil { - break - } - - args, err := ec.field_IssueMatchFilterValue_supportGroupCcrn_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.IssueMatchFilterValue.SupportGroupCcrn(childComplexity, args["filter"].(*model.SupportGroupFilter)), true - - case "IssueMetadata.activityCount": - if e.complexity.IssueMetadata.ActivityCount == nil { - break - } - - return e.complexity.IssueMetadata.ActivityCount(childComplexity), true - - case "IssueMetadata.componentInstanceCount": - if e.complexity.IssueMetadata.ComponentInstanceCount == nil { - break - } - - return e.complexity.IssueMetadata.ComponentInstanceCount(childComplexity), true - - case "IssueMetadata.componentVersionCount": - if e.complexity.IssueMetadata.ComponentVersionCount == nil { - break - } - - return e.complexity.IssueMetadata.ComponentVersionCount(childComplexity), true - - case "IssueMetadata.earliestDiscoveryDate": - if e.complexity.IssueMetadata.EarliestDiscoveryDate == nil { - break - } - - return e.complexity.IssueMetadata.EarliestDiscoveryDate(childComplexity), true - - case "IssueMetadata.earliestTargetRemediationDate": - if e.complexity.IssueMetadata.EarliestTargetRemediationDate == nil { - break - } - - return e.complexity.IssueMetadata.EarliestTargetRemediationDate(childComplexity), true - - case "IssueMetadata.issueMatchCount": - if e.complexity.IssueMetadata.IssueMatchCount == nil { - break - } - - return e.complexity.IssueMetadata.IssueMatchCount(childComplexity), true - - case "IssueMetadata.serviceCount": - if e.complexity.IssueMetadata.ServiceCount == nil { - break - } - - return e.complexity.IssueMetadata.ServiceCount(childComplexity), true - - case "IssueRepository.created_at": - if e.complexity.IssueRepository.CreatedAt == nil { - break - } - - return e.complexity.IssueRepository.CreatedAt(childComplexity), true - - case "IssueRepository.id": - if e.complexity.IssueRepository.ID == nil { - break - } - - return e.complexity.IssueRepository.ID(childComplexity), true - - case "IssueRepository.issueVariants": - if e.complexity.IssueRepository.IssueVariants == nil { - break - } - - args, err := ec.field_IssueRepository_issueVariants_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.IssueRepository.IssueVariants(childComplexity, args["filter"].(*model.IssueVariantFilter), args["first"].(*int), args["after"].(*string)), true - - case "IssueRepository.name": - if e.complexity.IssueRepository.Name == nil { - break - } - - return e.complexity.IssueRepository.Name(childComplexity), true - - case "IssueRepository.services": - if e.complexity.IssueRepository.Services == nil { - break - } - - args, err := ec.field_IssueRepository_services_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.IssueRepository.Services(childComplexity, args["filter"].(*model.ServiceFilter), args["first"].(*int), args["after"].(*string)), true - - case "IssueRepository.url": - if e.complexity.IssueRepository.URL == nil { - break - } - - return e.complexity.IssueRepository.URL(childComplexity), true - - case "IssueRepository.updated_at": - if e.complexity.IssueRepository.UpdatedAt == nil { - break - } - - return e.complexity.IssueRepository.UpdatedAt(childComplexity), true - - case "IssueRepositoryConnection.edges": - if e.complexity.IssueRepositoryConnection.Edges == nil { - break - } - - return e.complexity.IssueRepositoryConnection.Edges(childComplexity), true - - case "IssueRepositoryConnection.pageInfo": - if e.complexity.IssueRepositoryConnection.PageInfo == nil { - break - } - - return e.complexity.IssueRepositoryConnection.PageInfo(childComplexity), true - - case "IssueRepositoryConnection.totalCount": - if e.complexity.IssueRepositoryConnection.TotalCount == nil { - break - } - - return e.complexity.IssueRepositoryConnection.TotalCount(childComplexity), true - - case "IssueRepositoryEdge.created_at": - if e.complexity.IssueRepositoryEdge.CreatedAt == nil { - break - } - - return e.complexity.IssueRepositoryEdge.CreatedAt(childComplexity), true - - case "IssueRepositoryEdge.cursor": - if e.complexity.IssueRepositoryEdge.Cursor == nil { - break - } - - return e.complexity.IssueRepositoryEdge.Cursor(childComplexity), true - - case "IssueRepositoryEdge.node": - if e.complexity.IssueRepositoryEdge.Node == nil { - break - } - - return e.complexity.IssueRepositoryEdge.Node(childComplexity), true - - case "IssueRepositoryEdge.priority": - if e.complexity.IssueRepositoryEdge.Priority == nil { - break - } - - return e.complexity.IssueRepositoryEdge.Priority(childComplexity), true - - case "IssueRepositoryEdge.updated_at": - if e.complexity.IssueRepositoryEdge.UpdatedAt == nil { - break - } - - return e.complexity.IssueRepositoryEdge.UpdatedAt(childComplexity), true - - case "IssueVariant.created_at": - if e.complexity.IssueVariant.CreatedAt == nil { - break - } - - return e.complexity.IssueVariant.CreatedAt(childComplexity), true - - case "IssueVariant.description": - if e.complexity.IssueVariant.Description == nil { - break - } - - return e.complexity.IssueVariant.Description(childComplexity), true - - case "IssueVariant.id": - if e.complexity.IssueVariant.ID == nil { - break - } - - return e.complexity.IssueVariant.ID(childComplexity), true - - case "IssueVariant.issue": - if e.complexity.IssueVariant.Issue == nil { - break - } - - return e.complexity.IssueVariant.Issue(childComplexity), true - - case "IssueVariant.issueId": - if e.complexity.IssueVariant.IssueID == nil { - break - } - - return e.complexity.IssueVariant.IssueID(childComplexity), true - - case "IssueVariant.issueRepository": - if e.complexity.IssueVariant.IssueRepository == nil { - break - } - - return e.complexity.IssueVariant.IssueRepository(childComplexity), true - - case "IssueVariant.issueRepositoryId": - if e.complexity.IssueVariant.IssueRepositoryID == nil { - break - } - - return e.complexity.IssueVariant.IssueRepositoryID(childComplexity), true - - case "IssueVariant.secondaryName": - if e.complexity.IssueVariant.SecondaryName == nil { - break - } - - return e.complexity.IssueVariant.SecondaryName(childComplexity), true - - case "IssueVariant.severity": - if e.complexity.IssueVariant.Severity == nil { - break - } - - return e.complexity.IssueVariant.Severity(childComplexity), true - - case "IssueVariant.updated_at": - if e.complexity.IssueVariant.UpdatedAt == nil { - break - } - - return e.complexity.IssueVariant.UpdatedAt(childComplexity), true - - case "IssueVariantConnection.edges": - if e.complexity.IssueVariantConnection.Edges == nil { - break - } - - return e.complexity.IssueVariantConnection.Edges(childComplexity), true - - case "IssueVariantConnection.pageInfo": - if e.complexity.IssueVariantConnection.PageInfo == nil { - break - } - - return e.complexity.IssueVariantConnection.PageInfo(childComplexity), true - - case "IssueVariantConnection.totalCount": - if e.complexity.IssueVariantConnection.TotalCount == nil { - break - } - - return e.complexity.IssueVariantConnection.TotalCount(childComplexity), true - - case "IssueVariantEdge.created_at": - if e.complexity.IssueVariantEdge.CreatedAt == nil { - break - } - - return e.complexity.IssueVariantEdge.CreatedAt(childComplexity), true - - case "IssueVariantEdge.cursor": - if e.complexity.IssueVariantEdge.Cursor == nil { - break - } - - return e.complexity.IssueVariantEdge.Cursor(childComplexity), true - - case "IssueVariantEdge.node": - if e.complexity.IssueVariantEdge.Node == nil { - break - } - - return e.complexity.IssueVariantEdge.Node(childComplexity), true - - case "IssueVariantEdge.updated_at": - if e.complexity.IssueVariantEdge.UpdatedAt == nil { - break - } - - return e.complexity.IssueVariantEdge.UpdatedAt(childComplexity), true - - case "Mutation.addComponentVersionToIssue": - if e.complexity.Mutation.AddComponentVersionToIssue == nil { - break - } - - args, err := ec.field_Mutation_addComponentVersionToIssue_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.AddComponentVersionToIssue(childComplexity, args["issueId"].(string), args["componentVersionId"].(string)), true - - case "Mutation.addEvidenceToIssueMatch": - if e.complexity.Mutation.AddEvidenceToIssueMatch == nil { - break - } - - args, err := ec.field_Mutation_addEvidenceToIssueMatch_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.AddEvidenceToIssueMatch(childComplexity, args["issueMatchId"].(string), args["evidenceId"].(string)), true - - case "Mutation.addIssueRepositoryToService": - if e.complexity.Mutation.AddIssueRepositoryToService == nil { - break - } - - args, err := ec.field_Mutation_addIssueRepositoryToService_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.AddIssueRepositoryToService(childComplexity, args["serviceId"].(string), args["issueRepositoryId"].(string), args["priority"].(int)), true - - case "Mutation.addIssueToActivity": - if e.complexity.Mutation.AddIssueToActivity == nil { - break - } - - args, err := ec.field_Mutation_addIssueToActivity_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.AddIssueToActivity(childComplexity, args["activityId"].(string), args["issueId"].(string)), true - - case "Mutation.addOwnerToService": - if e.complexity.Mutation.AddOwnerToService == nil { - break - } - - args, err := ec.field_Mutation_addOwnerToService_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.AddOwnerToService(childComplexity, args["serviceId"].(string), args["userId"].(string)), true - - case "Mutation.addServiceToActivity": - if e.complexity.Mutation.AddServiceToActivity == nil { - break - } - - args, err := ec.field_Mutation_addServiceToActivity_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.AddServiceToActivity(childComplexity, args["activityId"].(string), args["serviceId"].(string)), true - - case "Mutation.addServiceToSupportGroup": - if e.complexity.Mutation.AddServiceToSupportGroup == nil { - break - } - - args, err := ec.field_Mutation_addServiceToSupportGroup_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.AddServiceToSupportGroup(childComplexity, args["supportGroupId"].(string), args["serviceId"].(string)), true - - case "Mutation.addUserToSupportGroup": - if e.complexity.Mutation.AddUserToSupportGroup == nil { - break - } - - args, err := ec.field_Mutation_addUserToSupportGroup_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.AddUserToSupportGroup(childComplexity, args["supportGroupId"].(string), args["userId"].(string)), true - - case "Mutation.createActivity": - if e.complexity.Mutation.CreateActivity == nil { - break - } - - args, err := ec.field_Mutation_createActivity_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.CreateActivity(childComplexity, args["input"].(model.ActivityInput)), true - - case "Mutation.createComponent": - if e.complexity.Mutation.CreateComponent == nil { - break - } - - args, err := ec.field_Mutation_createComponent_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.CreateComponent(childComplexity, args["input"].(model.ComponentInput)), true - - case "Mutation.createComponentInstance": - if e.complexity.Mutation.CreateComponentInstance == nil { - break - } - - args, err := ec.field_Mutation_createComponentInstance_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.CreateComponentInstance(childComplexity, args["input"].(model.ComponentInstanceInput)), true - - case "Mutation.createComponentVersion": - if e.complexity.Mutation.CreateComponentVersion == nil { - break - } - - args, err := ec.field_Mutation_createComponentVersion_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.CreateComponentVersion(childComplexity, args["input"].(model.ComponentVersionInput)), true - - case "Mutation.createEvidence": - if e.complexity.Mutation.CreateEvidence == nil { - break - } - - args, err := ec.field_Mutation_createEvidence_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.CreateEvidence(childComplexity, args["input"].(model.EvidenceInput)), true - - case "Mutation.createIssue": - if e.complexity.Mutation.CreateIssue == nil { - break - } - - args, err := ec.field_Mutation_createIssue_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.CreateIssue(childComplexity, args["input"].(model.IssueInput)), true - - case "Mutation.createIssueMatch": - if e.complexity.Mutation.CreateIssueMatch == nil { - break - } - - args, err := ec.field_Mutation_createIssueMatch_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.CreateIssueMatch(childComplexity, args["input"].(model.IssueMatchInput)), true - - case "Mutation.createIssueMatchChange": - if e.complexity.Mutation.CreateIssueMatchChange == nil { - break - } - - args, err := ec.field_Mutation_createIssueMatchChange_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.CreateIssueMatchChange(childComplexity, args["input"].(model.IssueMatchChangeInput)), true - - case "Mutation.createIssueRepository": - if e.complexity.Mutation.CreateIssueRepository == nil { - break - } - - args, err := ec.field_Mutation_createIssueRepository_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.CreateIssueRepository(childComplexity, args["input"].(model.IssueRepositoryInput)), true - - case "Mutation.createIssueVariant": - if e.complexity.Mutation.CreateIssueVariant == nil { - break - } - - args, err := ec.field_Mutation_createIssueVariant_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.CreateIssueVariant(childComplexity, args["input"].(model.IssueVariantInput)), true - - case "Mutation.createService": - if e.complexity.Mutation.CreateService == nil { - break - } - - args, err := ec.field_Mutation_createService_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.CreateService(childComplexity, args["input"].(model.ServiceInput)), true - - case "Mutation.createSupportGroup": - if e.complexity.Mutation.CreateSupportGroup == nil { - break - } - - args, err := ec.field_Mutation_createSupportGroup_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.CreateSupportGroup(childComplexity, args["input"].(model.SupportGroupInput)), true - - case "Mutation.createUser": - if e.complexity.Mutation.CreateUser == nil { - break - } - - args, err := ec.field_Mutation_createUser_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.CreateUser(childComplexity, args["input"].(model.UserInput)), true - - case "Mutation.deleteActivity": - if e.complexity.Mutation.DeleteActivity == nil { - break - } - - args, err := ec.field_Mutation_deleteActivity_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.DeleteActivity(childComplexity, args["id"].(string)), true - - case "Mutation.deleteComponent": - if e.complexity.Mutation.DeleteComponent == nil { - break - } - - args, err := ec.field_Mutation_deleteComponent_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.DeleteComponent(childComplexity, args["id"].(string)), true - - case "Mutation.deleteComponentInstance": - if e.complexity.Mutation.DeleteComponentInstance == nil { - break - } - - args, err := ec.field_Mutation_deleteComponentInstance_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.DeleteComponentInstance(childComplexity, args["id"].(string)), true - - case "Mutation.deleteComponentVersion": - if e.complexity.Mutation.DeleteComponentVersion == nil { - break - } - - args, err := ec.field_Mutation_deleteComponentVersion_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.DeleteComponentVersion(childComplexity, args["id"].(string)), true - - case "Mutation.deleteEvidence": - if e.complexity.Mutation.DeleteEvidence == nil { - break - } - - args, err := ec.field_Mutation_deleteEvidence_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.DeleteEvidence(childComplexity, args["id"].(string)), true - - case "Mutation.deleteIssue": - if e.complexity.Mutation.DeleteIssue == nil { - break - } - - args, err := ec.field_Mutation_deleteIssue_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.DeleteIssue(childComplexity, args["id"].(string)), true - - case "Mutation.deleteIssueMatch": - if e.complexity.Mutation.DeleteIssueMatch == nil { - break - } - - args, err := ec.field_Mutation_deleteIssueMatch_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.DeleteIssueMatch(childComplexity, args["id"].(string)), true - - case "Mutation.deleteIssueMatchChange": - if e.complexity.Mutation.DeleteIssueMatchChange == nil { - break - } - - args, err := ec.field_Mutation_deleteIssueMatchChange_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.DeleteIssueMatchChange(childComplexity, args["id"].(string)), true - - case "Mutation.deleteIssueRepository": - if e.complexity.Mutation.DeleteIssueRepository == nil { - break - } - - args, err := ec.field_Mutation_deleteIssueRepository_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.DeleteIssueRepository(childComplexity, args["id"].(string)), true - - case "Mutation.deleteIssueVariant": - if e.complexity.Mutation.DeleteIssueVariant == nil { - break - } - - args, err := ec.field_Mutation_deleteIssueVariant_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.DeleteIssueVariant(childComplexity, args["id"].(string)), true - - case "Mutation.deleteService": - if e.complexity.Mutation.DeleteService == nil { - break - } - - args, err := ec.field_Mutation_deleteService_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.DeleteService(childComplexity, args["id"].(string)), true - - case "Mutation.deleteSupportGroup": - if e.complexity.Mutation.DeleteSupportGroup == nil { - break - } - - args, err := ec.field_Mutation_deleteSupportGroup_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.DeleteSupportGroup(childComplexity, args["id"].(string)), true - - case "Mutation.deleteUser": - if e.complexity.Mutation.DeleteUser == nil { - break - } - - args, err := ec.field_Mutation_deleteUser_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.DeleteUser(childComplexity, args["id"].(string)), true - - case "Mutation.removeComponentVersionFromIssue": - if e.complexity.Mutation.RemoveComponentVersionFromIssue == nil { - break - } - - args, err := ec.field_Mutation_removeComponentVersionFromIssue_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.RemoveComponentVersionFromIssue(childComplexity, args["issueId"].(string), args["componentVersionId"].(string)), true - - case "Mutation.removeEvidenceFromIssueMatch": - if e.complexity.Mutation.RemoveEvidenceFromIssueMatch == nil { - break - } - - args, err := ec.field_Mutation_removeEvidenceFromIssueMatch_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.RemoveEvidenceFromIssueMatch(childComplexity, args["issueMatchId"].(string), args["evidenceId"].(string)), true - - case "Mutation.removeIssueFromActivity": - if e.complexity.Mutation.RemoveIssueFromActivity == nil { - break - } - - args, err := ec.field_Mutation_removeIssueFromActivity_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.RemoveIssueFromActivity(childComplexity, args["activityId"].(string), args["issueId"].(string)), true - - case "Mutation.removeIssueRepositoryFromService": - if e.complexity.Mutation.RemoveIssueRepositoryFromService == nil { - break - } - - args, err := ec.field_Mutation_removeIssueRepositoryFromService_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.RemoveIssueRepositoryFromService(childComplexity, args["serviceId"].(string), args["issueRepositoryId"].(string)), true - - case "Mutation.removeOwnerFromService": - if e.complexity.Mutation.RemoveOwnerFromService == nil { - break - } - - args, err := ec.field_Mutation_removeOwnerFromService_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.RemoveOwnerFromService(childComplexity, args["serviceId"].(string), args["userId"].(string)), true - - case "Mutation.removeServiceFromActivity": - if e.complexity.Mutation.RemoveServiceFromActivity == nil { - break - } - - args, err := ec.field_Mutation_removeServiceFromActivity_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.RemoveServiceFromActivity(childComplexity, args["activityId"].(string), args["serviceId"].(string)), true - - case "Mutation.removeServiceFromSupportGroup": - if e.complexity.Mutation.RemoveServiceFromSupportGroup == nil { - break - } - - args, err := ec.field_Mutation_removeServiceFromSupportGroup_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.RemoveServiceFromSupportGroup(childComplexity, args["supportGroupId"].(string), args["serviceId"].(string)), true - - case "Mutation.removeUserFromSupportGroup": - if e.complexity.Mutation.RemoveUserFromSupportGroup == nil { - break - } - - args, err := ec.field_Mutation_removeUserFromSupportGroup_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.RemoveUserFromSupportGroup(childComplexity, args["supportGroupId"].(string), args["userId"].(string)), true - - case "Mutation.updateActivity": - if e.complexity.Mutation.UpdateActivity == nil { - break - } - - args, err := ec.field_Mutation_updateActivity_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.UpdateActivity(childComplexity, args["id"].(string), args["input"].(model.ActivityInput)), true - - case "Mutation.updateComponent": - if e.complexity.Mutation.UpdateComponent == nil { - break - } - - args, err := ec.field_Mutation_updateComponent_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.UpdateComponent(childComplexity, args["id"].(string), args["input"].(model.ComponentInput)), true - - case "Mutation.updateComponentInstance": - if e.complexity.Mutation.UpdateComponentInstance == nil { - break - } - - args, err := ec.field_Mutation_updateComponentInstance_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.UpdateComponentInstance(childComplexity, args["id"].(string), args["input"].(model.ComponentInstanceInput)), true - - case "Mutation.updateComponentVersion": - if e.complexity.Mutation.UpdateComponentVersion == nil { - break - } - - args, err := ec.field_Mutation_updateComponentVersion_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.UpdateComponentVersion(childComplexity, args["id"].(string), args["input"].(model.ComponentVersionInput)), true - - case "Mutation.updateEvidence": - if e.complexity.Mutation.UpdateEvidence == nil { - break - } - - args, err := ec.field_Mutation_updateEvidence_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.UpdateEvidence(childComplexity, args["id"].(string), args["input"].(model.EvidenceInput)), true - - case "Mutation.updateIssue": - if e.complexity.Mutation.UpdateIssue == nil { - break - } - - args, err := ec.field_Mutation_updateIssue_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.UpdateIssue(childComplexity, args["id"].(string), args["input"].(model.IssueInput)), true - - case "Mutation.updateIssueMatch": - if e.complexity.Mutation.UpdateIssueMatch == nil { - break - } - - args, err := ec.field_Mutation_updateIssueMatch_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.UpdateIssueMatch(childComplexity, args["id"].(string), args["input"].(model.IssueMatchInput)), true - - case "Mutation.updateIssueMatchChange": - if e.complexity.Mutation.UpdateIssueMatchChange == nil { - break - } - - args, err := ec.field_Mutation_updateIssueMatchChange_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.UpdateIssueMatchChange(childComplexity, args["id"].(string), args["input"].(model.IssueMatchChangeInput)), true - - case "Mutation.updateIssueRepository": - if e.complexity.Mutation.UpdateIssueRepository == nil { - break - } - - args, err := ec.field_Mutation_updateIssueRepository_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.UpdateIssueRepository(childComplexity, args["id"].(string), args["input"].(model.IssueRepositoryInput)), true - - case "Mutation.updateIssueVariant": - if e.complexity.Mutation.UpdateIssueVariant == nil { - break - } - - args, err := ec.field_Mutation_updateIssueVariant_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.UpdateIssueVariant(childComplexity, args["id"].(string), args["input"].(model.IssueVariantInput)), true - - case "Mutation.updateService": - if e.complexity.Mutation.UpdateService == nil { - break - } - - args, err := ec.field_Mutation_updateService_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.UpdateService(childComplexity, args["id"].(string), args["input"].(model.ServiceInput)), true - - case "Mutation.updateSupportGroup": - if e.complexity.Mutation.UpdateSupportGroup == nil { - break - } - - args, err := ec.field_Mutation_updateSupportGroup_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.UpdateSupportGroup(childComplexity, args["id"].(string), args["input"].(model.SupportGroupInput)), true - - case "Mutation.updateUser": - if e.complexity.Mutation.UpdateUser == nil { - break - } - - args, err := ec.field_Mutation_updateUser_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.UpdateUser(childComplexity, args["id"].(string), args["input"].(model.UserInput)), true - - case "Page.after": - if e.complexity.Page.After == nil { - break - } - - return e.complexity.Page.After(childComplexity), true - - case "Page.isCurrent": - if e.complexity.Page.IsCurrent == nil { - break - } - - return e.complexity.Page.IsCurrent(childComplexity), true - - case "Page.pageCount": - if e.complexity.Page.PageCount == nil { - break - } - - return e.complexity.Page.PageCount(childComplexity), true - - case "Page.pageNumber": - if e.complexity.Page.PageNumber == nil { - break - } - - return e.complexity.Page.PageNumber(childComplexity), true - - case "PageInfo.hasNextPage": - if e.complexity.PageInfo.HasNextPage == nil { - break - } - - return e.complexity.PageInfo.HasNextPage(childComplexity), true - - case "PageInfo.hasPreviousPage": - if e.complexity.PageInfo.HasPreviousPage == nil { - break - } - - return e.complexity.PageInfo.HasPreviousPage(childComplexity), true - - case "PageInfo.isValidPage": - if e.complexity.PageInfo.IsValidPage == nil { - break - } - - return e.complexity.PageInfo.IsValidPage(childComplexity), true - - case "PageInfo.nextPageAfter": - if e.complexity.PageInfo.NextPageAfter == nil { - break - } - - return e.complexity.PageInfo.NextPageAfter(childComplexity), true - - case "PageInfo.pageNumber": - if e.complexity.PageInfo.PageNumber == nil { - break - } - - return e.complexity.PageInfo.PageNumber(childComplexity), true - - case "PageInfo.pages": - if e.complexity.PageInfo.Pages == nil { - break - } - - return e.complexity.PageInfo.Pages(childComplexity), true - - case "Query.Activities": - if e.complexity.Query.Activities == nil { - break - } - - args, err := ec.field_Query_Activities_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Query.Activities(childComplexity, args["filter"].(*model.ActivityFilter), args["first"].(*int), args["after"].(*string)), true - - case "Query.ComponentFilterValues": - if e.complexity.Query.ComponentFilterValues == nil { - break - } - - return e.complexity.Query.ComponentFilterValues(childComplexity), true - - case "Query.ComponentInstanceFilterValues": - if e.complexity.Query.ComponentInstanceFilterValues == nil { - break - } - - return e.complexity.Query.ComponentInstanceFilterValues(childComplexity), true - - case "Query.ComponentInstances": - if e.complexity.Query.ComponentInstances == nil { - break - } - - args, err := ec.field_Query_ComponentInstances_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Query.ComponentInstances(childComplexity, args["filter"].(*model.ComponentInstanceFilter), args["first"].(*int), args["after"].(*string)), true - - case "Query.ComponentVersions": - if e.complexity.Query.ComponentVersions == nil { - break - } - - args, err := ec.field_Query_ComponentVersions_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Query.ComponentVersions(childComplexity, args["filter"].(*model.ComponentVersionFilter), args["first"].(*int), args["after"].(*string)), true - - case "Query.Components": - if e.complexity.Query.Components == nil { - break - } - - args, err := ec.field_Query_Components_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Query.Components(childComplexity, args["filter"].(*model.ComponentFilter), args["first"].(*int), args["after"].(*string)), true - - case "Query.Evidences": - if e.complexity.Query.Evidences == nil { - break - } - - args, err := ec.field_Query_Evidences_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Query.Evidences(childComplexity, args["filter"].(*model.EvidenceFilter), args["first"].(*int), args["after"].(*string)), true - - case "Query.IssueMatchChanges": - if e.complexity.Query.IssueMatchChanges == nil { - break - } - - args, err := ec.field_Query_IssueMatchChanges_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Query.IssueMatchChanges(childComplexity, args["filter"].(*model.IssueMatchChangeFilter), args["first"].(*int), args["after"].(*string)), true - - case "Query.IssueMatchFilterValues": - if e.complexity.Query.IssueMatchFilterValues == nil { - break - } - - return e.complexity.Query.IssueMatchFilterValues(childComplexity), true - - case "Query.IssueMatches": - if e.complexity.Query.IssueMatches == nil { - break - } - - args, err := ec.field_Query_IssueMatches_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Query.IssueMatches(childComplexity, args["filter"].(*model.IssueMatchFilter), args["first"].(*int), args["after"].(*string)), true - - case "Query.IssueRepositories": - if e.complexity.Query.IssueRepositories == nil { - break - } - - args, err := ec.field_Query_IssueRepositories_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Query.IssueRepositories(childComplexity, args["filter"].(*model.IssueRepositoryFilter), args["first"].(*int), args["after"].(*string)), true - - case "Query.IssueVariants": - if e.complexity.Query.IssueVariants == nil { - break - } - - args, err := ec.field_Query_IssueVariants_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Query.IssueVariants(childComplexity, args["filter"].(*model.IssueVariantFilter), args["first"].(*int), args["after"].(*string)), true - - case "Query.Issues": - if e.complexity.Query.Issues == nil { - break - } - - args, err := ec.field_Query_Issues_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Query.Issues(childComplexity, args["filter"].(*model.IssueFilter), args["first"].(*int), args["after"].(*string)), true - - case "Query.ServiceFilterValues": - if e.complexity.Query.ServiceFilterValues == nil { - break - } - - return e.complexity.Query.ServiceFilterValues(childComplexity), true - - case "Query.Services": - if e.complexity.Query.Services == nil { - break - } - - args, err := ec.field_Query_Services_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Query.Services(childComplexity, args["filter"].(*model.ServiceFilter), args["first"].(*int), args["after"].(*string)), true - - case "Query.SupportGroups": - if e.complexity.Query.SupportGroups == nil { - break - } - - args, err := ec.field_Query_SupportGroups_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Query.SupportGroups(childComplexity, args["filter"].(*model.SupportGroupFilter), args["first"].(*int), args["after"].(*string)), true - - case "Query.Users": - if e.complexity.Query.Users == nil { - break - } - - args, err := ec.field_Query_Users_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Query.Users(childComplexity, args["filter"].(*model.UserFilter), args["first"].(*int), args["after"].(*string)), true - - case "Service.activities": - if e.complexity.Service.Activities == nil { - break - } - - args, err := ec.field_Service_activities_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Service.Activities(childComplexity, args["filter"].(*model.ActivityFilter), args["first"].(*int), args["after"].(*string)), true - - case "Service.ccrn": - if e.complexity.Service.Ccrn == nil { - break - } - - return e.complexity.Service.Ccrn(childComplexity), true - - case "Service.componentInstances": - if e.complexity.Service.ComponentInstances == nil { - break - } - - args, err := ec.field_Service_componentInstances_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Service.ComponentInstances(childComplexity, args["filter"].(*model.ComponentInstanceFilter), args["first"].(*int), args["after"].(*string)), true - - case "Service.id": - if e.complexity.Service.ID == nil { - break - } - - return e.complexity.Service.ID(childComplexity), true - - case "Service.issueRepositories": - if e.complexity.Service.IssueRepositories == nil { - break - } - - args, err := ec.field_Service_issueRepositories_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Service.IssueRepositories(childComplexity, args["filter"].(*model.IssueRepositoryFilter), args["first"].(*int), args["after"].(*string)), true - - case "Service.metadata": - if e.complexity.Service.Metadata == nil { - break - } - - return e.complexity.Service.Metadata(childComplexity), true - - case "Service.owners": - if e.complexity.Service.Owners == nil { - break - } - - args, err := ec.field_Service_owners_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Service.Owners(childComplexity, args["filter"].(*model.UserFilter), args["first"].(*int), args["after"].(*string)), true - - case "Service.supportGroups": - if e.complexity.Service.SupportGroups == nil { - break - } - - args, err := ec.field_Service_supportGroups_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Service.SupportGroups(childComplexity, args["filter"].(*model.SupportGroupFilter), args["first"].(*int), args["after"].(*string)), true - - case "ServiceConnection.edges": - if e.complexity.ServiceConnection.Edges == nil { - break - } - - return e.complexity.ServiceConnection.Edges(childComplexity), true - - case "ServiceConnection.pageInfo": - if e.complexity.ServiceConnection.PageInfo == nil { - break - } - - return e.complexity.ServiceConnection.PageInfo(childComplexity), true - - case "ServiceConnection.totalCount": - if e.complexity.ServiceConnection.TotalCount == nil { - break - } - - return e.complexity.ServiceConnection.TotalCount(childComplexity), true - - case "ServiceEdge.cursor": - if e.complexity.ServiceEdge.Cursor == nil { - break - } - - return e.complexity.ServiceEdge.Cursor(childComplexity), true - - case "ServiceEdge.node": - if e.complexity.ServiceEdge.Node == nil { - break - } - - return e.complexity.ServiceEdge.Node(childComplexity), true - - case "ServiceEdge.priority": - if e.complexity.ServiceEdge.Priority == nil { - break - } - - return e.complexity.ServiceEdge.Priority(childComplexity), true - - case "ServiceFilterValue.serviceCcrn": - if e.complexity.ServiceFilterValue.ServiceCcrn == nil { - break - } - - args, err := ec.field_ServiceFilterValue_serviceCcrn_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.ServiceFilterValue.ServiceCcrn(childComplexity, args["filter"].(*model.ServiceFilter)), true - - case "ServiceFilterValue.supportGroupCcrn": - if e.complexity.ServiceFilterValue.SupportGroupCcrn == nil { - break - } - - args, err := ec.field_ServiceFilterValue_supportGroupCcrn_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.ServiceFilterValue.SupportGroupCcrn(childComplexity, args["filter"].(*model.SupportGroupFilter)), true - - case "ServiceFilterValue.uniqueUserId": - if e.complexity.ServiceFilterValue.UniqueUserID == nil { - break - } - - args, err := ec.field_ServiceFilterValue_uniqueUserId_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.ServiceFilterValue.UniqueUserID(childComplexity, args["filter"].(*model.UserFilter)), true - - case "ServiceFilterValue.userName": - if e.complexity.ServiceFilterValue.UserName == nil { - break - } - - args, err := ec.field_ServiceFilterValue_userName_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.ServiceFilterValue.UserName(childComplexity, args["filter"].(*model.UserFilter)), true - - case "ServiceMetadata.componentInstanceCount": - if e.complexity.ServiceMetadata.ComponentInstanceCount == nil { - break - } - - return e.complexity.ServiceMetadata.ComponentInstanceCount(childComplexity), true - - case "ServiceMetadata.issueMatchCount": - if e.complexity.ServiceMetadata.IssueMatchCount == nil { - break - } - - return e.complexity.ServiceMetadata.IssueMatchCount(childComplexity), true - - case "Severity.cvss": - if e.complexity.Severity.Cvss == nil { - break - } - - return e.complexity.Severity.Cvss(childComplexity), true - - case "Severity.score": - if e.complexity.Severity.Score == nil { - break - } - - return e.complexity.Severity.Score(childComplexity), true - - case "Severity.value": - if e.complexity.Severity.Value == nil { - break - } - - return e.complexity.Severity.Value(childComplexity), true - - case "SupportGroup.ccrn": - if e.complexity.SupportGroup.Ccrn == nil { - break - } - - return e.complexity.SupportGroup.Ccrn(childComplexity), true - - case "SupportGroup.id": - if e.complexity.SupportGroup.ID == nil { - break - } - - return e.complexity.SupportGroup.ID(childComplexity), true - - case "SupportGroup.services": - if e.complexity.SupportGroup.Services == nil { - break - } - - args, err := ec.field_SupportGroup_services_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.SupportGroup.Services(childComplexity, args["filter"].(*model.ServiceFilter), args["first"].(*int), args["after"].(*string)), true - - case "SupportGroup.users": - if e.complexity.SupportGroup.Users == nil { - break - } - - args, err := ec.field_SupportGroup_users_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.SupportGroup.Users(childComplexity, args["filter"].(*model.UserFilter), args["first"].(*int), args["after"].(*string)), true - - case "SupportGroupConnection.edges": - if e.complexity.SupportGroupConnection.Edges == nil { - break - } - - return e.complexity.SupportGroupConnection.Edges(childComplexity), true - - case "SupportGroupConnection.pageInfo": - if e.complexity.SupportGroupConnection.PageInfo == nil { - break - } - - return e.complexity.SupportGroupConnection.PageInfo(childComplexity), true - - case "SupportGroupConnection.totalCount": - if e.complexity.SupportGroupConnection.TotalCount == nil { - break - } - - return e.complexity.SupportGroupConnection.TotalCount(childComplexity), true - - case "SupportGroupEdge.cursor": - if e.complexity.SupportGroupEdge.Cursor == nil { - break - } - - return e.complexity.SupportGroupEdge.Cursor(childComplexity), true - - case "SupportGroupEdge.node": - if e.complexity.SupportGroupEdge.Node == nil { - break - } - - return e.complexity.SupportGroupEdge.Node(childComplexity), true - - case "User.id": - if e.complexity.User.ID == nil { - break - } - - return e.complexity.User.ID(childComplexity), true - - case "User.name": - if e.complexity.User.Name == nil { - break - } - - return e.complexity.User.Name(childComplexity), true - - case "User.services": - if e.complexity.User.Services == nil { - break - } - - args, err := ec.field_User_services_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.User.Services(childComplexity, args["filter"].(*model.ServiceFilter), args["first"].(*int), args["after"].(*string)), true - - case "User.supportGroups": - if e.complexity.User.SupportGroups == nil { - break - } - - args, err := ec.field_User_supportGroups_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.User.SupportGroups(childComplexity, args["filter"].(*model.SupportGroupFilter), args["first"].(*int), args["after"].(*string)), true - - case "User.type": - if e.complexity.User.Type == nil { - break - } - - return e.complexity.User.Type(childComplexity), true - - case "User.uniqueUserId": - if e.complexity.User.UniqueUserID == nil { - break - } - - return e.complexity.User.UniqueUserID(childComplexity), true - - case "UserConnection.edges": - if e.complexity.UserConnection.Edges == nil { - break - } - - return e.complexity.UserConnection.Edges(childComplexity), true - - case "UserConnection.pageInfo": - if e.complexity.UserConnection.PageInfo == nil { - break - } - - return e.complexity.UserConnection.PageInfo(childComplexity), true - - case "UserConnection.totalCount": - if e.complexity.UserConnection.TotalCount == nil { - break - } - - return e.complexity.UserConnection.TotalCount(childComplexity), true - - case "UserEdge.cursor": - if e.complexity.UserEdge.Cursor == nil { - break - } - - return e.complexity.UserEdge.Cursor(childComplexity), true - - case "UserEdge.node": - if e.complexity.UserEdge.Node == nil { - break - } - - return e.complexity.UserEdge.Node(childComplexity), true - - } - return 0, false -} - -func (e *executableSchema) Exec(ctx context.Context) graphql.ResponseHandler { - rc := graphql.GetOperationContext(ctx) - ec := executionContext{rc, e, 0, 0, make(chan graphql.DeferredResult)} - inputUnmarshalMap := graphql.BuildUnmarshalerMap( - ec.unmarshalInputActivityFilter, - ec.unmarshalInputActivityInput, - ec.unmarshalInputComponentFilter, - ec.unmarshalInputComponentInput, - ec.unmarshalInputComponentInstanceFilter, - ec.unmarshalInputComponentInstanceInput, - ec.unmarshalInputComponentVersionFilter, - ec.unmarshalInputComponentVersionInput, - ec.unmarshalInputDateTimeFilter, - ec.unmarshalInputEvidenceFilter, - ec.unmarshalInputEvidenceInput, - ec.unmarshalInputIssueFilter, - ec.unmarshalInputIssueInput, - ec.unmarshalInputIssueMatchChangeFilter, - ec.unmarshalInputIssueMatchChangeInput, - ec.unmarshalInputIssueMatchFilter, - ec.unmarshalInputIssueMatchInput, - ec.unmarshalInputIssueRepositoryFilter, - ec.unmarshalInputIssueRepositoryInput, - ec.unmarshalInputIssueVariantFilter, - ec.unmarshalInputIssueVariantInput, - ec.unmarshalInputServiceFilter, - ec.unmarshalInputServiceInput, - ec.unmarshalInputSeverityInput, - ec.unmarshalInputSupportGroupFilter, - ec.unmarshalInputSupportGroupInput, - ec.unmarshalInputUserFilter, - ec.unmarshalInputUserInput, - ) - first := true - - switch rc.Operation.Operation { - case ast.Query: - return func(ctx context.Context) *graphql.Response { - var response graphql.Response - var data graphql.Marshaler - if first { - first = false - ctx = graphql.WithUnmarshalerMap(ctx, inputUnmarshalMap) - data = ec._Query(ctx, rc.Operation.SelectionSet) - } else { - if atomic.LoadInt32(&ec.pendingDeferred) > 0 { - result := <-ec.deferredResults - atomic.AddInt32(&ec.pendingDeferred, -1) - data = result.Result - response.Path = result.Path - response.Label = result.Label - response.Errors = result.Errors - } else { - return nil - } - } - var buf bytes.Buffer - data.MarshalGQL(&buf) - response.Data = buf.Bytes() - if atomic.LoadInt32(&ec.deferred) > 0 { - hasNext := atomic.LoadInt32(&ec.pendingDeferred) > 0 - response.HasNext = &hasNext - } - - return &response - } - case ast.Mutation: - return func(ctx context.Context) *graphql.Response { - if !first { - return nil - } - first = false - ctx = graphql.WithUnmarshalerMap(ctx, inputUnmarshalMap) - data := ec._Mutation(ctx, rc.Operation.SelectionSet) - var buf bytes.Buffer - data.MarshalGQL(&buf) - - return &graphql.Response{ - Data: buf.Bytes(), - } - } - - default: - return graphql.OneShot(graphql.ErrorResponse(ctx, "unsupported GraphQL operation")) - } -} - -type executionContext struct { - *graphql.OperationContext - *executableSchema - deferred int32 - pendingDeferred int32 - deferredResults chan graphql.DeferredResult -} - -func (ec *executionContext) processDeferredGroup(dg graphql.DeferredGroup) { - atomic.AddInt32(&ec.pendingDeferred, 1) - go func() { - ctx := graphql.WithFreshResponseContext(dg.Context) - dg.FieldSet.Dispatch(ctx) - ds := graphql.DeferredResult{ - Path: dg.Path, - Label: dg.Label, - Result: dg.FieldSet, - Errors: graphql.GetErrors(ctx), - } - // null fields should bubble up - if dg.FieldSet.Invalids > 0 { - ds.Result = graphql.Null - } - ec.deferredResults <- ds - }() -} - -func (ec *executionContext) introspectSchema() (*introspection.Schema, error) { - if ec.DisableIntrospection { - return nil, errors.New("introspection disabled") - } - return introspection.WrapSchema(ec.Schema()), nil -} - -func (ec *executionContext) introspectType(name string) (*introspection.Type, error) { - if ec.DisableIntrospection { - return nil, errors.New("introspection disabled") - } - return introspection.WrapTypeFromDef(ec.Schema(), ec.Schema().Types[name]), nil -} - -//go:embed "schema/activity.graphqls" "schema/common.graphqls" "schema/component.graphqls" "schema/component_filter.graphqls" "schema/component_instance.graphqls" "schema/component_instance_filter.graphqls" "schema/component_version.graphqls" "schema/evidence.graphqls" "schema/issue.graphqls" "schema/issue_match.graphqls" "schema/issue_match_change.graphqls" "schema/issue_match_filter_value.graphqls" "schema/issue_repository.graphqls" "schema/issue_variant.graphqls" "schema/mutation.graphqls" "schema/query.graphqls" "schema/service.graphqls" "schema/service_filter.graphqls" "schema/support_group.graphqls" "schema/user.graphqls" -var sourcesFS embed.FS - -func sourceData(filename string) string { - data, err := sourcesFS.ReadFile(filename) - if err != nil { - panic(fmt.Sprintf("codegen problem: %s not available", filename)) - } - return string(data) -} - -var sources = []*ast.Source{ - {Name: "schema/activity.graphqls", Input: sourceData("schema/activity.graphqls"), BuiltIn: false}, - {Name: "schema/common.graphqls", Input: sourceData("schema/common.graphqls"), BuiltIn: false}, - {Name: "schema/component.graphqls", Input: sourceData("schema/component.graphqls"), BuiltIn: false}, - {Name: "schema/component_filter.graphqls", Input: sourceData("schema/component_filter.graphqls"), BuiltIn: false}, - {Name: "schema/component_instance.graphqls", Input: sourceData("schema/component_instance.graphqls"), BuiltIn: false}, - {Name: "schema/component_instance_filter.graphqls", Input: sourceData("schema/component_instance_filter.graphqls"), BuiltIn: false}, - {Name: "schema/component_version.graphqls", Input: sourceData("schema/component_version.graphqls"), BuiltIn: false}, - {Name: "schema/evidence.graphqls", Input: sourceData("schema/evidence.graphqls"), BuiltIn: false}, - {Name: "schema/issue.graphqls", Input: sourceData("schema/issue.graphqls"), BuiltIn: false}, - {Name: "schema/issue_match.graphqls", Input: sourceData("schema/issue_match.graphqls"), BuiltIn: false}, - {Name: "schema/issue_match_change.graphqls", Input: sourceData("schema/issue_match_change.graphqls"), BuiltIn: false}, - {Name: "schema/issue_match_filter_value.graphqls", Input: sourceData("schema/issue_match_filter_value.graphqls"), BuiltIn: false}, - {Name: "schema/issue_repository.graphqls", Input: sourceData("schema/issue_repository.graphqls"), BuiltIn: false}, - {Name: "schema/issue_variant.graphqls", Input: sourceData("schema/issue_variant.graphqls"), BuiltIn: false}, - {Name: "schema/mutation.graphqls", Input: sourceData("schema/mutation.graphqls"), BuiltIn: false}, - {Name: "schema/query.graphqls", Input: sourceData("schema/query.graphqls"), BuiltIn: false}, - {Name: "schema/service.graphqls", Input: sourceData("schema/service.graphqls"), BuiltIn: false}, - {Name: "schema/service_filter.graphqls", Input: sourceData("schema/service_filter.graphqls"), BuiltIn: false}, - {Name: "schema/support_group.graphqls", Input: sourceData("schema/support_group.graphqls"), BuiltIn: false}, - {Name: "schema/user.graphqls", Input: sourceData("schema/user.graphqls"), BuiltIn: false}, -} -var parsedSchema = gqlparser.MustLoadSchema(sources...) - -// endregion ************************** generated!.gotpl ************************** - -// region ***************************** args.gotpl ***************************** - -func (ec *executionContext) field_Activity_evidences_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Activity_evidences_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - arg1, err := ec.field_Activity_evidences_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg1 - arg2, err := ec.field_Activity_evidences_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg2 - return args, nil -} -func (ec *executionContext) field_Activity_evidences_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.EvidenceFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.EvidenceFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOEvidenceFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐEvidenceFilter(ctx, tmp) - } - - var zeroVal *model.EvidenceFilter - return zeroVal, nil -} - -func (ec *executionContext) field_Activity_evidences_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_Activity_evidences_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_Activity_issueMatchChanges_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Activity_issueMatchChanges_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - arg1, err := ec.field_Activity_issueMatchChanges_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg1 - arg2, err := ec.field_Activity_issueMatchChanges_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg2 - return args, nil -} -func (ec *executionContext) field_Activity_issueMatchChanges_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.IssueMatchChangeFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.IssueMatchChangeFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOIssueMatchChangeFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchChangeFilter(ctx, tmp) - } - - var zeroVal *model.IssueMatchChangeFilter - return zeroVal, nil -} - -func (ec *executionContext) field_Activity_issueMatchChanges_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_Activity_issueMatchChanges_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_Activity_issues_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Activity_issues_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - arg1, err := ec.field_Activity_issues_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg1 - arg2, err := ec.field_Activity_issues_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg2 - return args, nil -} -func (ec *executionContext) field_Activity_issues_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.IssueFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.IssueFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOIssueFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueFilter(ctx, tmp) - } - - var zeroVal *model.IssueFilter - return zeroVal, nil -} - -func (ec *executionContext) field_Activity_issues_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_Activity_issues_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_Activity_services_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Activity_services_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - arg1, err := ec.field_Activity_services_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg1 - arg2, err := ec.field_Activity_services_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg2 - return args, nil -} -func (ec *executionContext) field_Activity_services_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.ServiceFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.ServiceFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOServiceFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐServiceFilter(ctx, tmp) - } - - var zeroVal *model.ServiceFilter - return zeroVal, nil -} - -func (ec *executionContext) field_Activity_services_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_Activity_services_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_ComponentFilterValue_componentCcrn_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_ComponentFilterValue_componentCcrn_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - return args, nil -} -func (ec *executionContext) field_ComponentFilterValue_componentCcrn_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.ComponentFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.ComponentFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOComponentFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentFilter(ctx, tmp) - } - - var zeroVal *model.ComponentFilter - return zeroVal, nil -} - -func (ec *executionContext) field_ComponentInstanceFilterValue_ccrn_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_ComponentInstanceFilterValue_ccrn_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - return args, nil -} -func (ec *executionContext) field_ComponentInstanceFilterValue_ccrn_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.ComponentInstanceFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.ComponentInstanceFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOComponentInstanceFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentInstanceFilter(ctx, tmp) - } - - var zeroVal *model.ComponentInstanceFilter - return zeroVal, nil -} - -func (ec *executionContext) field_ComponentInstanceFilterValue_serviceCcrn_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_ComponentInstanceFilterValue_serviceCcrn_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - return args, nil -} -func (ec *executionContext) field_ComponentInstanceFilterValue_serviceCcrn_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.ServiceFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.ServiceFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOServiceFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐServiceFilter(ctx, tmp) - } - - var zeroVal *model.ServiceFilter - return zeroVal, nil -} - -func (ec *executionContext) field_ComponentInstanceFilterValue_supportGroupCcrn_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_ComponentInstanceFilterValue_supportGroupCcrn_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - return args, nil -} -func (ec *executionContext) field_ComponentInstanceFilterValue_supportGroupCcrn_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.SupportGroupFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.SupportGroupFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOSupportGroupFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSupportGroupFilter(ctx, tmp) - } - - var zeroVal *model.SupportGroupFilter - return zeroVal, nil -} - -func (ec *executionContext) field_ComponentInstance_issueMatches_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_ComponentInstance_issueMatches_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - arg1, err := ec.field_ComponentInstance_issueMatches_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg1 - arg2, err := ec.field_ComponentInstance_issueMatches_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg2 - return args, nil -} -func (ec *executionContext) field_ComponentInstance_issueMatches_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.IssueMatchFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.IssueMatchFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOIssueMatchFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchFilter(ctx, tmp) - } - - var zeroVal *model.IssueMatchFilter - return zeroVal, nil -} - -func (ec *executionContext) field_ComponentInstance_issueMatches_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_ComponentInstance_issueMatches_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_ComponentVersion_componentInstances_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_ComponentVersion_componentInstances_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg0 - arg1, err := ec.field_ComponentVersion_componentInstances_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg1 - return args, nil -} -func (ec *executionContext) field_ComponentVersion_componentInstances_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_ComponentVersion_componentInstances_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_ComponentVersion_issues_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_ComponentVersion_issues_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg0 - arg1, err := ec.field_ComponentVersion_issues_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg1 - return args, nil -} -func (ec *executionContext) field_ComponentVersion_issues_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_ComponentVersion_issues_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_Component_componentVersions_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Component_componentVersions_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - arg1, err := ec.field_Component_componentVersions_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg1 - arg2, err := ec.field_Component_componentVersions_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg2 - return args, nil -} -func (ec *executionContext) field_Component_componentVersions_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.ComponentVersionFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.ComponentVersionFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOComponentVersionFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentVersionFilter(ctx, tmp) - } - - var zeroVal *model.ComponentVersionFilter - return zeroVal, nil -} - -func (ec *executionContext) field_Component_componentVersions_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_Component_componentVersions_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_Evidence_issueMatches_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Evidence_issueMatches_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - arg1, err := ec.field_Evidence_issueMatches_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg1 - arg2, err := ec.field_Evidence_issueMatches_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg2 - return args, nil -} -func (ec *executionContext) field_Evidence_issueMatches_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.IssueMatchFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.IssueMatchFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOIssueMatchFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchFilter(ctx, tmp) - } - - var zeroVal *model.IssueMatchFilter - return zeroVal, nil -} - -func (ec *executionContext) field_Evidence_issueMatches_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_Evidence_issueMatches_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_IssueMatchFilterValue_affectedService_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_IssueMatchFilterValue_affectedService_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - return args, nil -} -func (ec *executionContext) field_IssueMatchFilterValue_affectedService_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.ServiceFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.ServiceFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOServiceFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐServiceFilter(ctx, tmp) - } - - var zeroVal *model.ServiceFilter - return zeroVal, nil -} - -func (ec *executionContext) field_IssueMatchFilterValue_componentCcrn_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_IssueMatchFilterValue_componentCcrn_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - return args, nil -} -func (ec *executionContext) field_IssueMatchFilterValue_componentCcrn_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.ComponentFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.ComponentFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOComponentFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentFilter(ctx, tmp) - } - - var zeroVal *model.ComponentFilter - return zeroVal, nil -} - -func (ec *executionContext) field_IssueMatchFilterValue_primaryName_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_IssueMatchFilterValue_primaryName_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - return args, nil -} -func (ec *executionContext) field_IssueMatchFilterValue_primaryName_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.IssueFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.IssueFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOIssueFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueFilter(ctx, tmp) - } - - var zeroVal *model.IssueFilter - return zeroVal, nil -} - -func (ec *executionContext) field_IssueMatchFilterValue_supportGroupCcrn_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_IssueMatchFilterValue_supportGroupCcrn_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - return args, nil -} -func (ec *executionContext) field_IssueMatchFilterValue_supportGroupCcrn_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.SupportGroupFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.SupportGroupFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOSupportGroupFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSupportGroupFilter(ctx, tmp) - } - - var zeroVal *model.SupportGroupFilter - return zeroVal, nil -} - -func (ec *executionContext) field_IssueMatch_effectiveIssueVariants_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_IssueMatch_effectiveIssueVariants_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - arg1, err := ec.field_IssueMatch_effectiveIssueVariants_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg1 - arg2, err := ec.field_IssueMatch_effectiveIssueVariants_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg2 - return args, nil -} -func (ec *executionContext) field_IssueMatch_effectiveIssueVariants_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.IssueVariantFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.IssueVariantFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOIssueVariantFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueVariantFilter(ctx, tmp) - } - - var zeroVal *model.IssueVariantFilter - return zeroVal, nil -} - -func (ec *executionContext) field_IssueMatch_effectiveIssueVariants_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_IssueMatch_effectiveIssueVariants_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_IssueMatch_evidences_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_IssueMatch_evidences_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - arg1, err := ec.field_IssueMatch_evidences_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg1 - arg2, err := ec.field_IssueMatch_evidences_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg2 - return args, nil -} -func (ec *executionContext) field_IssueMatch_evidences_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.EvidenceFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.EvidenceFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOEvidenceFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐEvidenceFilter(ctx, tmp) - } - - var zeroVal *model.EvidenceFilter - return zeroVal, nil -} - -func (ec *executionContext) field_IssueMatch_evidences_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_IssueMatch_evidences_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_IssueMatch_issueMatchChanges_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_IssueMatch_issueMatchChanges_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - arg1, err := ec.field_IssueMatch_issueMatchChanges_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg1 - arg2, err := ec.field_IssueMatch_issueMatchChanges_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg2 - return args, nil -} -func (ec *executionContext) field_IssueMatch_issueMatchChanges_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.IssueMatchChangeFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.IssueMatchChangeFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOIssueMatchChangeFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchChangeFilter(ctx, tmp) - } - - var zeroVal *model.IssueMatchChangeFilter - return zeroVal, nil -} - -func (ec *executionContext) field_IssueMatch_issueMatchChanges_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_IssueMatch_issueMatchChanges_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_IssueRepository_issueVariants_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_IssueRepository_issueVariants_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - arg1, err := ec.field_IssueRepository_issueVariants_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg1 - arg2, err := ec.field_IssueRepository_issueVariants_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg2 - return args, nil -} -func (ec *executionContext) field_IssueRepository_issueVariants_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.IssueVariantFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.IssueVariantFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOIssueVariantFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueVariantFilter(ctx, tmp) - } - - var zeroVal *model.IssueVariantFilter - return zeroVal, nil -} - -func (ec *executionContext) field_IssueRepository_issueVariants_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_IssueRepository_issueVariants_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_IssueRepository_services_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_IssueRepository_services_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - arg1, err := ec.field_IssueRepository_services_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg1 - arg2, err := ec.field_IssueRepository_services_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg2 - return args, nil -} -func (ec *executionContext) field_IssueRepository_services_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.ServiceFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.ServiceFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOServiceFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐServiceFilter(ctx, tmp) - } - - var zeroVal *model.ServiceFilter - return zeroVal, nil -} - -func (ec *executionContext) field_IssueRepository_services_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_IssueRepository_services_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_Issue_activities_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Issue_activities_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - arg1, err := ec.field_Issue_activities_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg1 - arg2, err := ec.field_Issue_activities_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg2 - return args, nil -} -func (ec *executionContext) field_Issue_activities_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.ActivityFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.ActivityFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOActivityFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐActivityFilter(ctx, tmp) - } - - var zeroVal *model.ActivityFilter - return zeroVal, nil -} - -func (ec *executionContext) field_Issue_activities_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_Issue_activities_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_Issue_componentVersions_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Issue_componentVersions_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - arg1, err := ec.field_Issue_componentVersions_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg1 - arg2, err := ec.field_Issue_componentVersions_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg2 - return args, nil -} -func (ec *executionContext) field_Issue_componentVersions_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.ComponentVersionFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.ComponentVersionFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOComponentVersionFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentVersionFilter(ctx, tmp) - } - - var zeroVal *model.ComponentVersionFilter - return zeroVal, nil -} - -func (ec *executionContext) field_Issue_componentVersions_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_Issue_componentVersions_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_Issue_issueMatches_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Issue_issueMatches_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - arg1, err := ec.field_Issue_issueMatches_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg1 - arg2, err := ec.field_Issue_issueMatches_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg2 - return args, nil -} -func (ec *executionContext) field_Issue_issueMatches_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.IssueMatchFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.IssueMatchFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOIssueMatchFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchFilter(ctx, tmp) - } - - var zeroVal *model.IssueMatchFilter - return zeroVal, nil -} - -func (ec *executionContext) field_Issue_issueMatches_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_Issue_issueMatches_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_Issue_issueVariants_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Issue_issueVariants_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - arg1, err := ec.field_Issue_issueVariants_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg1 - arg2, err := ec.field_Issue_issueVariants_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg2 - return args, nil -} -func (ec *executionContext) field_Issue_issueVariants_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.IssueVariantFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.IssueVariantFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOIssueVariantFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueVariantFilter(ctx, tmp) - } - - var zeroVal *model.IssueVariantFilter - return zeroVal, nil -} - -func (ec *executionContext) field_Issue_issueVariants_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_Issue_issueVariants_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_addComponentVersionToIssue_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_addComponentVersionToIssue_argsIssueID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["issueId"] = arg0 - arg1, err := ec.field_Mutation_addComponentVersionToIssue_argsComponentVersionID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["componentVersionId"] = arg1 - return args, nil -} -func (ec *executionContext) field_Mutation_addComponentVersionToIssue_argsIssueID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["issueId"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("issueId")) - if tmp, ok := rawArgs["issueId"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_addComponentVersionToIssue_argsComponentVersionID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["componentVersionId"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("componentVersionId")) - if tmp, ok := rawArgs["componentVersionId"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_addEvidenceToIssueMatch_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_addEvidenceToIssueMatch_argsIssueMatchID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["issueMatchId"] = arg0 - arg1, err := ec.field_Mutation_addEvidenceToIssueMatch_argsEvidenceID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["evidenceId"] = arg1 - return args, nil -} -func (ec *executionContext) field_Mutation_addEvidenceToIssueMatch_argsIssueMatchID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["issueMatchId"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("issueMatchId")) - if tmp, ok := rawArgs["issueMatchId"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_addEvidenceToIssueMatch_argsEvidenceID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["evidenceId"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("evidenceId")) - if tmp, ok := rawArgs["evidenceId"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_addIssueRepositoryToService_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_addIssueRepositoryToService_argsServiceID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["serviceId"] = arg0 - arg1, err := ec.field_Mutation_addIssueRepositoryToService_argsIssueRepositoryID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["issueRepositoryId"] = arg1 - arg2, err := ec.field_Mutation_addIssueRepositoryToService_argsPriority(ctx, rawArgs) - if err != nil { - return nil, err - } - args["priority"] = arg2 - return args, nil -} -func (ec *executionContext) field_Mutation_addIssueRepositoryToService_argsServiceID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["serviceId"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("serviceId")) - if tmp, ok := rawArgs["serviceId"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_addIssueRepositoryToService_argsIssueRepositoryID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["issueRepositoryId"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("issueRepositoryId")) - if tmp, ok := rawArgs["issueRepositoryId"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_addIssueRepositoryToService_argsPriority( - ctx context.Context, - rawArgs map[string]interface{}, -) (int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["priority"] - if !ok { - var zeroVal int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("priority")) - if tmp, ok := rawArgs["priority"]; ok { - return ec.unmarshalNInt2int(ctx, tmp) - } - - var zeroVal int - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_addIssueToActivity_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_addIssueToActivity_argsActivityID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["activityId"] = arg0 - arg1, err := ec.field_Mutation_addIssueToActivity_argsIssueID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["issueId"] = arg1 - return args, nil -} -func (ec *executionContext) field_Mutation_addIssueToActivity_argsActivityID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["activityId"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("activityId")) - if tmp, ok := rawArgs["activityId"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_addIssueToActivity_argsIssueID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["issueId"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("issueId")) - if tmp, ok := rawArgs["issueId"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_addOwnerToService_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_addOwnerToService_argsServiceID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["serviceId"] = arg0 - arg1, err := ec.field_Mutation_addOwnerToService_argsUserID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["userId"] = arg1 - return args, nil -} -func (ec *executionContext) field_Mutation_addOwnerToService_argsServiceID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["serviceId"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("serviceId")) - if tmp, ok := rawArgs["serviceId"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_addOwnerToService_argsUserID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["userId"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("userId")) - if tmp, ok := rawArgs["userId"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_addServiceToActivity_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_addServiceToActivity_argsActivityID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["activityId"] = arg0 - arg1, err := ec.field_Mutation_addServiceToActivity_argsServiceID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["serviceId"] = arg1 - return args, nil -} -func (ec *executionContext) field_Mutation_addServiceToActivity_argsActivityID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["activityId"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("activityId")) - if tmp, ok := rawArgs["activityId"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_addServiceToActivity_argsServiceID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["serviceId"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("serviceId")) - if tmp, ok := rawArgs["serviceId"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_addServiceToSupportGroup_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_addServiceToSupportGroup_argsSupportGroupID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["supportGroupId"] = arg0 - arg1, err := ec.field_Mutation_addServiceToSupportGroup_argsServiceID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["serviceId"] = arg1 - return args, nil -} -func (ec *executionContext) field_Mutation_addServiceToSupportGroup_argsSupportGroupID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["supportGroupId"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("supportGroupId")) - if tmp, ok := rawArgs["supportGroupId"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_addServiceToSupportGroup_argsServiceID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["serviceId"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("serviceId")) - if tmp, ok := rawArgs["serviceId"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_addUserToSupportGroup_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_addUserToSupportGroup_argsSupportGroupID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["supportGroupId"] = arg0 - arg1, err := ec.field_Mutation_addUserToSupportGroup_argsUserID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["userId"] = arg1 - return args, nil -} -func (ec *executionContext) field_Mutation_addUserToSupportGroup_argsSupportGroupID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["supportGroupId"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("supportGroupId")) - if tmp, ok := rawArgs["supportGroupId"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_addUserToSupportGroup_argsUserID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["userId"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("userId")) - if tmp, ok := rawArgs["userId"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_createActivity_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_createActivity_argsInput(ctx, rawArgs) - if err != nil { - return nil, err - } - args["input"] = arg0 - return args, nil -} -func (ec *executionContext) field_Mutation_createActivity_argsInput( - ctx context.Context, - rawArgs map[string]interface{}, -) (model.ActivityInput, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["input"] - if !ok { - var zeroVal model.ActivityInput - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - if tmp, ok := rawArgs["input"]; ok { - return ec.unmarshalNActivityInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐActivityInput(ctx, tmp) - } - - var zeroVal model.ActivityInput - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_createComponentInstance_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_createComponentInstance_argsInput(ctx, rawArgs) - if err != nil { - return nil, err - } - args["input"] = arg0 - return args, nil -} -func (ec *executionContext) field_Mutation_createComponentInstance_argsInput( - ctx context.Context, - rawArgs map[string]interface{}, -) (model.ComponentInstanceInput, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["input"] - if !ok { - var zeroVal model.ComponentInstanceInput - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - if tmp, ok := rawArgs["input"]; ok { - return ec.unmarshalNComponentInstanceInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentInstanceInput(ctx, tmp) - } - - var zeroVal model.ComponentInstanceInput - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_createComponentVersion_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_createComponentVersion_argsInput(ctx, rawArgs) - if err != nil { - return nil, err - } - args["input"] = arg0 - return args, nil -} -func (ec *executionContext) field_Mutation_createComponentVersion_argsInput( - ctx context.Context, - rawArgs map[string]interface{}, -) (model.ComponentVersionInput, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["input"] - if !ok { - var zeroVal model.ComponentVersionInput - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - if tmp, ok := rawArgs["input"]; ok { - return ec.unmarshalNComponentVersionInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentVersionInput(ctx, tmp) - } - - var zeroVal model.ComponentVersionInput - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_createComponent_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_createComponent_argsInput(ctx, rawArgs) - if err != nil { - return nil, err - } - args["input"] = arg0 - return args, nil -} -func (ec *executionContext) field_Mutation_createComponent_argsInput( - ctx context.Context, - rawArgs map[string]interface{}, -) (model.ComponentInput, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["input"] - if !ok { - var zeroVal model.ComponentInput - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - if tmp, ok := rawArgs["input"]; ok { - return ec.unmarshalNComponentInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentInput(ctx, tmp) - } - - var zeroVal model.ComponentInput - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_createEvidence_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_createEvidence_argsInput(ctx, rawArgs) - if err != nil { - return nil, err - } - args["input"] = arg0 - return args, nil -} -func (ec *executionContext) field_Mutation_createEvidence_argsInput( - ctx context.Context, - rawArgs map[string]interface{}, -) (model.EvidenceInput, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["input"] - if !ok { - var zeroVal model.EvidenceInput - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - if tmp, ok := rawArgs["input"]; ok { - return ec.unmarshalNEvidenceInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐEvidenceInput(ctx, tmp) - } - - var zeroVal model.EvidenceInput - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_createIssueMatchChange_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_createIssueMatchChange_argsInput(ctx, rawArgs) - if err != nil { - return nil, err - } - args["input"] = arg0 - return args, nil -} -func (ec *executionContext) field_Mutation_createIssueMatchChange_argsInput( - ctx context.Context, - rawArgs map[string]interface{}, -) (model.IssueMatchChangeInput, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["input"] - if !ok { - var zeroVal model.IssueMatchChangeInput - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - if tmp, ok := rawArgs["input"]; ok { - return ec.unmarshalNIssueMatchChangeInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchChangeInput(ctx, tmp) - } - - var zeroVal model.IssueMatchChangeInput - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_createIssueMatch_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_createIssueMatch_argsInput(ctx, rawArgs) - if err != nil { - return nil, err - } - args["input"] = arg0 - return args, nil -} -func (ec *executionContext) field_Mutation_createIssueMatch_argsInput( - ctx context.Context, - rawArgs map[string]interface{}, -) (model.IssueMatchInput, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["input"] - if !ok { - var zeroVal model.IssueMatchInput - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - if tmp, ok := rawArgs["input"]; ok { - return ec.unmarshalNIssueMatchInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchInput(ctx, tmp) - } - - var zeroVal model.IssueMatchInput - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_createIssueRepository_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_createIssueRepository_argsInput(ctx, rawArgs) - if err != nil { - return nil, err - } - args["input"] = arg0 - return args, nil -} -func (ec *executionContext) field_Mutation_createIssueRepository_argsInput( - ctx context.Context, - rawArgs map[string]interface{}, -) (model.IssueRepositoryInput, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["input"] - if !ok { - var zeroVal model.IssueRepositoryInput - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - if tmp, ok := rawArgs["input"]; ok { - return ec.unmarshalNIssueRepositoryInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueRepositoryInput(ctx, tmp) - } - - var zeroVal model.IssueRepositoryInput - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_createIssueVariant_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_createIssueVariant_argsInput(ctx, rawArgs) - if err != nil { - return nil, err - } - args["input"] = arg0 - return args, nil -} -func (ec *executionContext) field_Mutation_createIssueVariant_argsInput( - ctx context.Context, - rawArgs map[string]interface{}, -) (model.IssueVariantInput, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["input"] - if !ok { - var zeroVal model.IssueVariantInput - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - if tmp, ok := rawArgs["input"]; ok { - return ec.unmarshalNIssueVariantInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueVariantInput(ctx, tmp) - } - - var zeroVal model.IssueVariantInput - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_createIssue_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_createIssue_argsInput(ctx, rawArgs) - if err != nil { - return nil, err - } - args["input"] = arg0 - return args, nil -} -func (ec *executionContext) field_Mutation_createIssue_argsInput( - ctx context.Context, - rawArgs map[string]interface{}, -) (model.IssueInput, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["input"] - if !ok { - var zeroVal model.IssueInput - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - if tmp, ok := rawArgs["input"]; ok { - return ec.unmarshalNIssueInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueInput(ctx, tmp) - } - - var zeroVal model.IssueInput - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_createService_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_createService_argsInput(ctx, rawArgs) - if err != nil { - return nil, err - } - args["input"] = arg0 - return args, nil -} -func (ec *executionContext) field_Mutation_createService_argsInput( - ctx context.Context, - rawArgs map[string]interface{}, -) (model.ServiceInput, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["input"] - if !ok { - var zeroVal model.ServiceInput - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - if tmp, ok := rawArgs["input"]; ok { - return ec.unmarshalNServiceInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐServiceInput(ctx, tmp) - } - - var zeroVal model.ServiceInput - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_createSupportGroup_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_createSupportGroup_argsInput(ctx, rawArgs) - if err != nil { - return nil, err - } - args["input"] = arg0 - return args, nil -} -func (ec *executionContext) field_Mutation_createSupportGroup_argsInput( - ctx context.Context, - rawArgs map[string]interface{}, -) (model.SupportGroupInput, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["input"] - if !ok { - var zeroVal model.SupportGroupInput - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - if tmp, ok := rawArgs["input"]; ok { - return ec.unmarshalNSupportGroupInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSupportGroupInput(ctx, tmp) - } - - var zeroVal model.SupportGroupInput - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_createUser_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_createUser_argsInput(ctx, rawArgs) - if err != nil { - return nil, err - } - args["input"] = arg0 - return args, nil -} -func (ec *executionContext) field_Mutation_createUser_argsInput( - ctx context.Context, - rawArgs map[string]interface{}, -) (model.UserInput, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["input"] - if !ok { - var zeroVal model.UserInput - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - if tmp, ok := rawArgs["input"]; ok { - return ec.unmarshalNUserInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐUserInput(ctx, tmp) - } - - var zeroVal model.UserInput - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_deleteActivity_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_deleteActivity_argsID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["id"] = arg0 - return args, nil -} -func (ec *executionContext) field_Mutation_deleteActivity_argsID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["id"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) - if tmp, ok := rawArgs["id"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_deleteComponentInstance_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_deleteComponentInstance_argsID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["id"] = arg0 - return args, nil -} -func (ec *executionContext) field_Mutation_deleteComponentInstance_argsID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["id"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) - if tmp, ok := rawArgs["id"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_deleteComponentVersion_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_deleteComponentVersion_argsID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["id"] = arg0 - return args, nil -} -func (ec *executionContext) field_Mutation_deleteComponentVersion_argsID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["id"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) - if tmp, ok := rawArgs["id"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_deleteComponent_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_deleteComponent_argsID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["id"] = arg0 - return args, nil -} -func (ec *executionContext) field_Mutation_deleteComponent_argsID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["id"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) - if tmp, ok := rawArgs["id"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_deleteEvidence_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_deleteEvidence_argsID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["id"] = arg0 - return args, nil -} -func (ec *executionContext) field_Mutation_deleteEvidence_argsID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["id"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) - if tmp, ok := rawArgs["id"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_deleteIssueMatchChange_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_deleteIssueMatchChange_argsID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["id"] = arg0 - return args, nil -} -func (ec *executionContext) field_Mutation_deleteIssueMatchChange_argsID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["id"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) - if tmp, ok := rawArgs["id"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_deleteIssueMatch_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_deleteIssueMatch_argsID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["id"] = arg0 - return args, nil -} -func (ec *executionContext) field_Mutation_deleteIssueMatch_argsID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["id"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) - if tmp, ok := rawArgs["id"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_deleteIssueRepository_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_deleteIssueRepository_argsID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["id"] = arg0 - return args, nil -} -func (ec *executionContext) field_Mutation_deleteIssueRepository_argsID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["id"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) - if tmp, ok := rawArgs["id"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_deleteIssueVariant_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_deleteIssueVariant_argsID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["id"] = arg0 - return args, nil -} -func (ec *executionContext) field_Mutation_deleteIssueVariant_argsID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["id"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) - if tmp, ok := rawArgs["id"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_deleteIssue_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_deleteIssue_argsID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["id"] = arg0 - return args, nil -} -func (ec *executionContext) field_Mutation_deleteIssue_argsID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["id"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) - if tmp, ok := rawArgs["id"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_deleteService_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_deleteService_argsID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["id"] = arg0 - return args, nil -} -func (ec *executionContext) field_Mutation_deleteService_argsID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["id"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) - if tmp, ok := rawArgs["id"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_deleteSupportGroup_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_deleteSupportGroup_argsID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["id"] = arg0 - return args, nil -} -func (ec *executionContext) field_Mutation_deleteSupportGroup_argsID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["id"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) - if tmp, ok := rawArgs["id"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_deleteUser_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_deleteUser_argsID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["id"] = arg0 - return args, nil -} -func (ec *executionContext) field_Mutation_deleteUser_argsID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["id"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) - if tmp, ok := rawArgs["id"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_removeComponentVersionFromIssue_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_removeComponentVersionFromIssue_argsIssueID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["issueId"] = arg0 - arg1, err := ec.field_Mutation_removeComponentVersionFromIssue_argsComponentVersionID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["componentVersionId"] = arg1 - return args, nil -} -func (ec *executionContext) field_Mutation_removeComponentVersionFromIssue_argsIssueID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["issueId"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("issueId")) - if tmp, ok := rawArgs["issueId"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_removeComponentVersionFromIssue_argsComponentVersionID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["componentVersionId"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("componentVersionId")) - if tmp, ok := rawArgs["componentVersionId"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_removeEvidenceFromIssueMatch_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_removeEvidenceFromIssueMatch_argsIssueMatchID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["issueMatchId"] = arg0 - arg1, err := ec.field_Mutation_removeEvidenceFromIssueMatch_argsEvidenceID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["evidenceId"] = arg1 - return args, nil -} -func (ec *executionContext) field_Mutation_removeEvidenceFromIssueMatch_argsIssueMatchID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["issueMatchId"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("issueMatchId")) - if tmp, ok := rawArgs["issueMatchId"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_removeEvidenceFromIssueMatch_argsEvidenceID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["evidenceId"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("evidenceId")) - if tmp, ok := rawArgs["evidenceId"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_removeIssueFromActivity_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_removeIssueFromActivity_argsActivityID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["activityId"] = arg0 - arg1, err := ec.field_Mutation_removeIssueFromActivity_argsIssueID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["issueId"] = arg1 - return args, nil -} -func (ec *executionContext) field_Mutation_removeIssueFromActivity_argsActivityID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["activityId"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("activityId")) - if tmp, ok := rawArgs["activityId"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_removeIssueFromActivity_argsIssueID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["issueId"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("issueId")) - if tmp, ok := rawArgs["issueId"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_removeIssueRepositoryFromService_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_removeIssueRepositoryFromService_argsServiceID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["serviceId"] = arg0 - arg1, err := ec.field_Mutation_removeIssueRepositoryFromService_argsIssueRepositoryID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["issueRepositoryId"] = arg1 - return args, nil -} -func (ec *executionContext) field_Mutation_removeIssueRepositoryFromService_argsServiceID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["serviceId"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("serviceId")) - if tmp, ok := rawArgs["serviceId"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_removeIssueRepositoryFromService_argsIssueRepositoryID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["issueRepositoryId"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("issueRepositoryId")) - if tmp, ok := rawArgs["issueRepositoryId"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_removeOwnerFromService_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_removeOwnerFromService_argsServiceID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["serviceId"] = arg0 - arg1, err := ec.field_Mutation_removeOwnerFromService_argsUserID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["userId"] = arg1 - return args, nil -} -func (ec *executionContext) field_Mutation_removeOwnerFromService_argsServiceID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["serviceId"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("serviceId")) - if tmp, ok := rawArgs["serviceId"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_removeOwnerFromService_argsUserID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["userId"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("userId")) - if tmp, ok := rawArgs["userId"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_removeServiceFromActivity_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_removeServiceFromActivity_argsActivityID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["activityId"] = arg0 - arg1, err := ec.field_Mutation_removeServiceFromActivity_argsServiceID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["serviceId"] = arg1 - return args, nil -} -func (ec *executionContext) field_Mutation_removeServiceFromActivity_argsActivityID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["activityId"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("activityId")) - if tmp, ok := rawArgs["activityId"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_removeServiceFromActivity_argsServiceID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["serviceId"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("serviceId")) - if tmp, ok := rawArgs["serviceId"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_removeServiceFromSupportGroup_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_removeServiceFromSupportGroup_argsSupportGroupID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["supportGroupId"] = arg0 - arg1, err := ec.field_Mutation_removeServiceFromSupportGroup_argsServiceID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["serviceId"] = arg1 - return args, nil -} -func (ec *executionContext) field_Mutation_removeServiceFromSupportGroup_argsSupportGroupID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["supportGroupId"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("supportGroupId")) - if tmp, ok := rawArgs["supportGroupId"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_removeServiceFromSupportGroup_argsServiceID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["serviceId"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("serviceId")) - if tmp, ok := rawArgs["serviceId"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_removeUserFromSupportGroup_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_removeUserFromSupportGroup_argsSupportGroupID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["supportGroupId"] = arg0 - arg1, err := ec.field_Mutation_removeUserFromSupportGroup_argsUserID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["userId"] = arg1 - return args, nil -} -func (ec *executionContext) field_Mutation_removeUserFromSupportGroup_argsSupportGroupID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["supportGroupId"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("supportGroupId")) - if tmp, ok := rawArgs["supportGroupId"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_removeUserFromSupportGroup_argsUserID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["userId"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("userId")) - if tmp, ok := rawArgs["userId"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_updateActivity_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_updateActivity_argsID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["id"] = arg0 - arg1, err := ec.field_Mutation_updateActivity_argsInput(ctx, rawArgs) - if err != nil { - return nil, err - } - args["input"] = arg1 - return args, nil -} -func (ec *executionContext) field_Mutation_updateActivity_argsID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["id"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) - if tmp, ok := rawArgs["id"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_updateActivity_argsInput( - ctx context.Context, - rawArgs map[string]interface{}, -) (model.ActivityInput, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["input"] - if !ok { - var zeroVal model.ActivityInput - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - if tmp, ok := rawArgs["input"]; ok { - return ec.unmarshalNActivityInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐActivityInput(ctx, tmp) - } - - var zeroVal model.ActivityInput - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_updateComponentInstance_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_updateComponentInstance_argsID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["id"] = arg0 - arg1, err := ec.field_Mutation_updateComponentInstance_argsInput(ctx, rawArgs) - if err != nil { - return nil, err - } - args["input"] = arg1 - return args, nil -} -func (ec *executionContext) field_Mutation_updateComponentInstance_argsID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["id"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) - if tmp, ok := rawArgs["id"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_updateComponentInstance_argsInput( - ctx context.Context, - rawArgs map[string]interface{}, -) (model.ComponentInstanceInput, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["input"] - if !ok { - var zeroVal model.ComponentInstanceInput - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - if tmp, ok := rawArgs["input"]; ok { - return ec.unmarshalNComponentInstanceInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentInstanceInput(ctx, tmp) - } - - var zeroVal model.ComponentInstanceInput - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_updateComponentVersion_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_updateComponentVersion_argsID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["id"] = arg0 - arg1, err := ec.field_Mutation_updateComponentVersion_argsInput(ctx, rawArgs) - if err != nil { - return nil, err - } - args["input"] = arg1 - return args, nil -} -func (ec *executionContext) field_Mutation_updateComponentVersion_argsID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["id"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) - if tmp, ok := rawArgs["id"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_updateComponentVersion_argsInput( - ctx context.Context, - rawArgs map[string]interface{}, -) (model.ComponentVersionInput, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["input"] - if !ok { - var zeroVal model.ComponentVersionInput - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - if tmp, ok := rawArgs["input"]; ok { - return ec.unmarshalNComponentVersionInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentVersionInput(ctx, tmp) - } - - var zeroVal model.ComponentVersionInput - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_updateComponent_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_updateComponent_argsID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["id"] = arg0 - arg1, err := ec.field_Mutation_updateComponent_argsInput(ctx, rawArgs) - if err != nil { - return nil, err - } - args["input"] = arg1 - return args, nil -} -func (ec *executionContext) field_Mutation_updateComponent_argsID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["id"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) - if tmp, ok := rawArgs["id"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_updateComponent_argsInput( - ctx context.Context, - rawArgs map[string]interface{}, -) (model.ComponentInput, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["input"] - if !ok { - var zeroVal model.ComponentInput - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - if tmp, ok := rawArgs["input"]; ok { - return ec.unmarshalNComponentInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentInput(ctx, tmp) - } - - var zeroVal model.ComponentInput - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_updateEvidence_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_updateEvidence_argsID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["id"] = arg0 - arg1, err := ec.field_Mutation_updateEvidence_argsInput(ctx, rawArgs) - if err != nil { - return nil, err - } - args["input"] = arg1 - return args, nil -} -func (ec *executionContext) field_Mutation_updateEvidence_argsID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["id"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) - if tmp, ok := rawArgs["id"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_updateEvidence_argsInput( - ctx context.Context, - rawArgs map[string]interface{}, -) (model.EvidenceInput, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["input"] - if !ok { - var zeroVal model.EvidenceInput - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - if tmp, ok := rawArgs["input"]; ok { - return ec.unmarshalNEvidenceInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐEvidenceInput(ctx, tmp) - } - - var zeroVal model.EvidenceInput - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_updateIssueMatchChange_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_updateIssueMatchChange_argsID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["id"] = arg0 - arg1, err := ec.field_Mutation_updateIssueMatchChange_argsInput(ctx, rawArgs) - if err != nil { - return nil, err - } - args["input"] = arg1 - return args, nil -} -func (ec *executionContext) field_Mutation_updateIssueMatchChange_argsID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["id"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) - if tmp, ok := rawArgs["id"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_updateIssueMatchChange_argsInput( - ctx context.Context, - rawArgs map[string]interface{}, -) (model.IssueMatchChangeInput, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["input"] - if !ok { - var zeroVal model.IssueMatchChangeInput - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - if tmp, ok := rawArgs["input"]; ok { - return ec.unmarshalNIssueMatchChangeInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchChangeInput(ctx, tmp) - } - - var zeroVal model.IssueMatchChangeInput - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_updateIssueMatch_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_updateIssueMatch_argsID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["id"] = arg0 - arg1, err := ec.field_Mutation_updateIssueMatch_argsInput(ctx, rawArgs) - if err != nil { - return nil, err - } - args["input"] = arg1 - return args, nil -} -func (ec *executionContext) field_Mutation_updateIssueMatch_argsID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["id"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) - if tmp, ok := rawArgs["id"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_updateIssueMatch_argsInput( - ctx context.Context, - rawArgs map[string]interface{}, -) (model.IssueMatchInput, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["input"] - if !ok { - var zeroVal model.IssueMatchInput - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - if tmp, ok := rawArgs["input"]; ok { - return ec.unmarshalNIssueMatchInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchInput(ctx, tmp) - } - - var zeroVal model.IssueMatchInput - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_updateIssueRepository_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_updateIssueRepository_argsID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["id"] = arg0 - arg1, err := ec.field_Mutation_updateIssueRepository_argsInput(ctx, rawArgs) - if err != nil { - return nil, err - } - args["input"] = arg1 - return args, nil -} -func (ec *executionContext) field_Mutation_updateIssueRepository_argsID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["id"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) - if tmp, ok := rawArgs["id"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_updateIssueRepository_argsInput( - ctx context.Context, - rawArgs map[string]interface{}, -) (model.IssueRepositoryInput, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["input"] - if !ok { - var zeroVal model.IssueRepositoryInput - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - if tmp, ok := rawArgs["input"]; ok { - return ec.unmarshalNIssueRepositoryInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueRepositoryInput(ctx, tmp) - } - - var zeroVal model.IssueRepositoryInput - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_updateIssueVariant_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_updateIssueVariant_argsID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["id"] = arg0 - arg1, err := ec.field_Mutation_updateIssueVariant_argsInput(ctx, rawArgs) - if err != nil { - return nil, err - } - args["input"] = arg1 - return args, nil -} -func (ec *executionContext) field_Mutation_updateIssueVariant_argsID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["id"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) - if tmp, ok := rawArgs["id"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_updateIssueVariant_argsInput( - ctx context.Context, - rawArgs map[string]interface{}, -) (model.IssueVariantInput, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["input"] - if !ok { - var zeroVal model.IssueVariantInput - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - if tmp, ok := rawArgs["input"]; ok { - return ec.unmarshalNIssueVariantInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueVariantInput(ctx, tmp) - } - - var zeroVal model.IssueVariantInput - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_updateIssue_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_updateIssue_argsID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["id"] = arg0 - arg1, err := ec.field_Mutation_updateIssue_argsInput(ctx, rawArgs) - if err != nil { - return nil, err - } - args["input"] = arg1 - return args, nil -} -func (ec *executionContext) field_Mutation_updateIssue_argsID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["id"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) - if tmp, ok := rawArgs["id"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_updateIssue_argsInput( - ctx context.Context, - rawArgs map[string]interface{}, -) (model.IssueInput, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["input"] - if !ok { - var zeroVal model.IssueInput - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - if tmp, ok := rawArgs["input"]; ok { - return ec.unmarshalNIssueInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueInput(ctx, tmp) - } - - var zeroVal model.IssueInput - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_updateService_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_updateService_argsID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["id"] = arg0 - arg1, err := ec.field_Mutation_updateService_argsInput(ctx, rawArgs) - if err != nil { - return nil, err - } - args["input"] = arg1 - return args, nil -} -func (ec *executionContext) field_Mutation_updateService_argsID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["id"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) - if tmp, ok := rawArgs["id"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_updateService_argsInput( - ctx context.Context, - rawArgs map[string]interface{}, -) (model.ServiceInput, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["input"] - if !ok { - var zeroVal model.ServiceInput - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - if tmp, ok := rawArgs["input"]; ok { - return ec.unmarshalNServiceInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐServiceInput(ctx, tmp) - } - - var zeroVal model.ServiceInput - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_updateSupportGroup_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_updateSupportGroup_argsID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["id"] = arg0 - arg1, err := ec.field_Mutation_updateSupportGroup_argsInput(ctx, rawArgs) - if err != nil { - return nil, err - } - args["input"] = arg1 - return args, nil -} -func (ec *executionContext) field_Mutation_updateSupportGroup_argsID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["id"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) - if tmp, ok := rawArgs["id"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_updateSupportGroup_argsInput( - ctx context.Context, - rawArgs map[string]interface{}, -) (model.SupportGroupInput, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["input"] - if !ok { - var zeroVal model.SupportGroupInput - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - if tmp, ok := rawArgs["input"]; ok { - return ec.unmarshalNSupportGroupInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSupportGroupInput(ctx, tmp) - } - - var zeroVal model.SupportGroupInput - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_updateUser_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Mutation_updateUser_argsID(ctx, rawArgs) - if err != nil { - return nil, err - } - args["id"] = arg0 - arg1, err := ec.field_Mutation_updateUser_argsInput(ctx, rawArgs) - if err != nil { - return nil, err - } - args["input"] = arg1 - return args, nil -} -func (ec *executionContext) field_Mutation_updateUser_argsID( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["id"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) - if tmp, ok := rawArgs["id"]; ok { - return ec.unmarshalNID2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_Mutation_updateUser_argsInput( - ctx context.Context, - rawArgs map[string]interface{}, -) (model.UserInput, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["input"] - if !ok { - var zeroVal model.UserInput - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - if tmp, ok := rawArgs["input"]; ok { - return ec.unmarshalNUserInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐUserInput(ctx, tmp) - } - - var zeroVal model.UserInput - return zeroVal, nil -} - -func (ec *executionContext) field_Query_Activities_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Query_Activities_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - arg1, err := ec.field_Query_Activities_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg1 - arg2, err := ec.field_Query_Activities_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg2 - return args, nil -} -func (ec *executionContext) field_Query_Activities_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.ActivityFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.ActivityFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOActivityFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐActivityFilter(ctx, tmp) - } - - var zeroVal *model.ActivityFilter - return zeroVal, nil -} - -func (ec *executionContext) field_Query_Activities_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_Query_Activities_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_Query_ComponentInstances_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Query_ComponentInstances_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - arg1, err := ec.field_Query_ComponentInstances_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg1 - arg2, err := ec.field_Query_ComponentInstances_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg2 - return args, nil -} -func (ec *executionContext) field_Query_ComponentInstances_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.ComponentInstanceFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.ComponentInstanceFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOComponentInstanceFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentInstanceFilter(ctx, tmp) - } - - var zeroVal *model.ComponentInstanceFilter - return zeroVal, nil -} - -func (ec *executionContext) field_Query_ComponentInstances_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_Query_ComponentInstances_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_Query_ComponentVersions_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Query_ComponentVersions_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - arg1, err := ec.field_Query_ComponentVersions_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg1 - arg2, err := ec.field_Query_ComponentVersions_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg2 - return args, nil -} -func (ec *executionContext) field_Query_ComponentVersions_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.ComponentVersionFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.ComponentVersionFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOComponentVersionFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentVersionFilter(ctx, tmp) - } - - var zeroVal *model.ComponentVersionFilter - return zeroVal, nil -} - -func (ec *executionContext) field_Query_ComponentVersions_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_Query_ComponentVersions_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_Query_Components_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Query_Components_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - arg1, err := ec.field_Query_Components_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg1 - arg2, err := ec.field_Query_Components_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg2 - return args, nil -} -func (ec *executionContext) field_Query_Components_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.ComponentFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.ComponentFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOComponentFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentFilter(ctx, tmp) - } - - var zeroVal *model.ComponentFilter - return zeroVal, nil -} - -func (ec *executionContext) field_Query_Components_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_Query_Components_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_Query_Evidences_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Query_Evidences_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - arg1, err := ec.field_Query_Evidences_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg1 - arg2, err := ec.field_Query_Evidences_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg2 - return args, nil -} -func (ec *executionContext) field_Query_Evidences_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.EvidenceFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.EvidenceFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOEvidenceFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐEvidenceFilter(ctx, tmp) - } - - var zeroVal *model.EvidenceFilter - return zeroVal, nil -} - -func (ec *executionContext) field_Query_Evidences_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_Query_Evidences_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_Query_IssueMatchChanges_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Query_IssueMatchChanges_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - arg1, err := ec.field_Query_IssueMatchChanges_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg1 - arg2, err := ec.field_Query_IssueMatchChanges_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg2 - return args, nil -} -func (ec *executionContext) field_Query_IssueMatchChanges_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.IssueMatchChangeFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.IssueMatchChangeFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOIssueMatchChangeFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchChangeFilter(ctx, tmp) - } - - var zeroVal *model.IssueMatchChangeFilter - return zeroVal, nil -} - -func (ec *executionContext) field_Query_IssueMatchChanges_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_Query_IssueMatchChanges_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_Query_IssueMatches_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Query_IssueMatches_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - arg1, err := ec.field_Query_IssueMatches_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg1 - arg2, err := ec.field_Query_IssueMatches_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg2 - return args, nil -} -func (ec *executionContext) field_Query_IssueMatches_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.IssueMatchFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.IssueMatchFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOIssueMatchFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchFilter(ctx, tmp) - } - - var zeroVal *model.IssueMatchFilter - return zeroVal, nil -} - -func (ec *executionContext) field_Query_IssueMatches_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_Query_IssueMatches_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_Query_IssueRepositories_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Query_IssueRepositories_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - arg1, err := ec.field_Query_IssueRepositories_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg1 - arg2, err := ec.field_Query_IssueRepositories_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg2 - return args, nil -} -func (ec *executionContext) field_Query_IssueRepositories_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.IssueRepositoryFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.IssueRepositoryFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOIssueRepositoryFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueRepositoryFilter(ctx, tmp) - } - - var zeroVal *model.IssueRepositoryFilter - return zeroVal, nil -} - -func (ec *executionContext) field_Query_IssueRepositories_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_Query_IssueRepositories_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_Query_IssueVariants_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Query_IssueVariants_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - arg1, err := ec.field_Query_IssueVariants_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg1 - arg2, err := ec.field_Query_IssueVariants_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg2 - return args, nil -} -func (ec *executionContext) field_Query_IssueVariants_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.IssueVariantFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.IssueVariantFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOIssueVariantFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueVariantFilter(ctx, tmp) - } - - var zeroVal *model.IssueVariantFilter - return zeroVal, nil -} - -func (ec *executionContext) field_Query_IssueVariants_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_Query_IssueVariants_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_Query_Issues_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Query_Issues_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - arg1, err := ec.field_Query_Issues_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg1 - arg2, err := ec.field_Query_Issues_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg2 - return args, nil -} -func (ec *executionContext) field_Query_Issues_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.IssueFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.IssueFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOIssueFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueFilter(ctx, tmp) - } - - var zeroVal *model.IssueFilter - return zeroVal, nil -} - -func (ec *executionContext) field_Query_Issues_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_Query_Issues_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_Query_Services_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Query_Services_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - arg1, err := ec.field_Query_Services_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg1 - arg2, err := ec.field_Query_Services_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg2 - return args, nil -} -func (ec *executionContext) field_Query_Services_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.ServiceFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.ServiceFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOServiceFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐServiceFilter(ctx, tmp) - } - - var zeroVal *model.ServiceFilter - return zeroVal, nil -} - -func (ec *executionContext) field_Query_Services_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_Query_Services_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_Query_SupportGroups_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Query_SupportGroups_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - arg1, err := ec.field_Query_SupportGroups_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg1 - arg2, err := ec.field_Query_SupportGroups_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg2 - return args, nil -} -func (ec *executionContext) field_Query_SupportGroups_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.SupportGroupFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.SupportGroupFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOSupportGroupFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSupportGroupFilter(ctx, tmp) - } - - var zeroVal *model.SupportGroupFilter - return zeroVal, nil -} - -func (ec *executionContext) field_Query_SupportGroups_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_Query_SupportGroups_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_Query_Users_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Query_Users_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - arg1, err := ec.field_Query_Users_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg1 - arg2, err := ec.field_Query_Users_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg2 - return args, nil -} -func (ec *executionContext) field_Query_Users_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.UserFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.UserFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOUserFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐUserFilter(ctx, tmp) - } - - var zeroVal *model.UserFilter - return zeroVal, nil -} - -func (ec *executionContext) field_Query_Users_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_Query_Users_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_Query___type_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Query___type_argsName(ctx, rawArgs) - if err != nil { - return nil, err - } - args["name"] = arg0 - return args, nil -} -func (ec *executionContext) field_Query___type_argsName( - ctx context.Context, - rawArgs map[string]interface{}, -) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["name"] - if !ok { - var zeroVal string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) - if tmp, ok := rawArgs["name"]; ok { - return ec.unmarshalNString2string(ctx, tmp) - } - - var zeroVal string - return zeroVal, nil -} - -func (ec *executionContext) field_ServiceFilterValue_serviceCcrn_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_ServiceFilterValue_serviceCcrn_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - return args, nil -} -func (ec *executionContext) field_ServiceFilterValue_serviceCcrn_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.ServiceFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.ServiceFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOServiceFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐServiceFilter(ctx, tmp) - } - - var zeroVal *model.ServiceFilter - return zeroVal, nil -} - -func (ec *executionContext) field_ServiceFilterValue_supportGroupCcrn_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_ServiceFilterValue_supportGroupCcrn_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - return args, nil -} -func (ec *executionContext) field_ServiceFilterValue_supportGroupCcrn_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.SupportGroupFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.SupportGroupFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOSupportGroupFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSupportGroupFilter(ctx, tmp) - } - - var zeroVal *model.SupportGroupFilter - return zeroVal, nil -} - -func (ec *executionContext) field_ServiceFilterValue_uniqueUserId_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_ServiceFilterValue_uniqueUserId_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - return args, nil -} -func (ec *executionContext) field_ServiceFilterValue_uniqueUserId_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.UserFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.UserFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOUserFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐUserFilter(ctx, tmp) - } - - var zeroVal *model.UserFilter - return zeroVal, nil -} - -func (ec *executionContext) field_ServiceFilterValue_userName_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_ServiceFilterValue_userName_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - return args, nil -} -func (ec *executionContext) field_ServiceFilterValue_userName_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.UserFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.UserFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOUserFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐUserFilter(ctx, tmp) - } - - var zeroVal *model.UserFilter - return zeroVal, nil -} - -func (ec *executionContext) field_Service_activities_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Service_activities_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - arg1, err := ec.field_Service_activities_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg1 - arg2, err := ec.field_Service_activities_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg2 - return args, nil -} -func (ec *executionContext) field_Service_activities_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.ActivityFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.ActivityFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOActivityFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐActivityFilter(ctx, tmp) - } - - var zeroVal *model.ActivityFilter - return zeroVal, nil -} - -func (ec *executionContext) field_Service_activities_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_Service_activities_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_Service_componentInstances_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Service_componentInstances_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - arg1, err := ec.field_Service_componentInstances_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg1 - arg2, err := ec.field_Service_componentInstances_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg2 - return args, nil -} -func (ec *executionContext) field_Service_componentInstances_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.ComponentInstanceFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.ComponentInstanceFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOComponentInstanceFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentInstanceFilter(ctx, tmp) - } - - var zeroVal *model.ComponentInstanceFilter - return zeroVal, nil -} - -func (ec *executionContext) field_Service_componentInstances_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_Service_componentInstances_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_Service_issueRepositories_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Service_issueRepositories_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - arg1, err := ec.field_Service_issueRepositories_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg1 - arg2, err := ec.field_Service_issueRepositories_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg2 - return args, nil -} -func (ec *executionContext) field_Service_issueRepositories_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.IssueRepositoryFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.IssueRepositoryFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOIssueRepositoryFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueRepositoryFilter(ctx, tmp) - } - - var zeroVal *model.IssueRepositoryFilter - return zeroVal, nil -} - -func (ec *executionContext) field_Service_issueRepositories_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_Service_issueRepositories_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_Service_owners_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Service_owners_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - arg1, err := ec.field_Service_owners_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg1 - arg2, err := ec.field_Service_owners_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg2 - return args, nil -} -func (ec *executionContext) field_Service_owners_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.UserFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.UserFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOUserFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐUserFilter(ctx, tmp) - } - - var zeroVal *model.UserFilter - return zeroVal, nil -} - -func (ec *executionContext) field_Service_owners_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_Service_owners_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_Service_supportGroups_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_Service_supportGroups_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - arg1, err := ec.field_Service_supportGroups_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg1 - arg2, err := ec.field_Service_supportGroups_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg2 - return args, nil -} -func (ec *executionContext) field_Service_supportGroups_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.SupportGroupFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.SupportGroupFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOSupportGroupFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSupportGroupFilter(ctx, tmp) - } - - var zeroVal *model.SupportGroupFilter - return zeroVal, nil -} - -func (ec *executionContext) field_Service_supportGroups_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_Service_supportGroups_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_SupportGroup_services_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_SupportGroup_services_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - arg1, err := ec.field_SupportGroup_services_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg1 - arg2, err := ec.field_SupportGroup_services_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg2 - return args, nil -} -func (ec *executionContext) field_SupportGroup_services_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.ServiceFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.ServiceFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOServiceFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐServiceFilter(ctx, tmp) - } - - var zeroVal *model.ServiceFilter - return zeroVal, nil -} - -func (ec *executionContext) field_SupportGroup_services_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_SupportGroup_services_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_SupportGroup_users_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_SupportGroup_users_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - arg1, err := ec.field_SupportGroup_users_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg1 - arg2, err := ec.field_SupportGroup_users_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg2 - return args, nil -} -func (ec *executionContext) field_SupportGroup_users_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.UserFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.UserFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOUserFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐUserFilter(ctx, tmp) - } - - var zeroVal *model.UserFilter - return zeroVal, nil -} - -func (ec *executionContext) field_SupportGroup_users_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_SupportGroup_users_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_User_services_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_User_services_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - arg1, err := ec.field_User_services_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg1 - arg2, err := ec.field_User_services_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg2 - return args, nil -} -func (ec *executionContext) field_User_services_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.ServiceFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.ServiceFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOServiceFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐServiceFilter(ctx, tmp) - } - - var zeroVal *model.ServiceFilter - return zeroVal, nil -} - -func (ec *executionContext) field_User_services_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_User_services_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field_User_supportGroups_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field_User_supportGroups_argsFilter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["filter"] = arg0 - arg1, err := ec.field_User_supportGroups_argsFirst(ctx, rawArgs) - if err != nil { - return nil, err - } - args["first"] = arg1 - arg2, err := ec.field_User_supportGroups_argsAfter(ctx, rawArgs) - if err != nil { - return nil, err - } - args["after"] = arg2 - return args, nil -} -func (ec *executionContext) field_User_supportGroups_argsFilter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*model.SupportGroupFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { - var zeroVal *model.SupportGroupFilter - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("filter")) - if tmp, ok := rawArgs["filter"]; ok { - return ec.unmarshalOSupportGroupFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSupportGroupFilter(ctx, tmp) - } - - var zeroVal *model.SupportGroupFilter - return zeroVal, nil -} - -func (ec *executionContext) field_User_supportGroups_argsFirst( - ctx context.Context, - rawArgs map[string]interface{}, -) (*int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["first"] - if !ok { - var zeroVal *int - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first")) - if tmp, ok := rawArgs["first"]; ok { - return ec.unmarshalOInt2ᚖint(ctx, tmp) - } - - var zeroVal *int - return zeroVal, nil -} - -func (ec *executionContext) field_User_supportGroups_argsAfter( - ctx context.Context, - rawArgs map[string]interface{}, -) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["after"] - if !ok { - var zeroVal *string - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - if tmp, ok := rawArgs["after"]; ok { - return ec.unmarshalOString2ᚖstring(ctx, tmp) - } - - var zeroVal *string - return zeroVal, nil -} - -func (ec *executionContext) field___Type_enumValues_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field___Type_enumValues_argsIncludeDeprecated(ctx, rawArgs) - if err != nil { - return nil, err - } - args["includeDeprecated"] = arg0 - return args, nil -} -func (ec *executionContext) field___Type_enumValues_argsIncludeDeprecated( - ctx context.Context, - rawArgs map[string]interface{}, -) (bool, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["includeDeprecated"] - if !ok { - var zeroVal bool - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("includeDeprecated")) - if tmp, ok := rawArgs["includeDeprecated"]; ok { - return ec.unmarshalOBoolean2bool(ctx, tmp) - } - - var zeroVal bool - return zeroVal, nil -} - -func (ec *executionContext) field___Type_fields_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - arg0, err := ec.field___Type_fields_argsIncludeDeprecated(ctx, rawArgs) - if err != nil { - return nil, err - } - args["includeDeprecated"] = arg0 - return args, nil -} -func (ec *executionContext) field___Type_fields_argsIncludeDeprecated( - ctx context.Context, - rawArgs map[string]interface{}, -) (bool, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["includeDeprecated"] - if !ok { - var zeroVal bool - return zeroVal, nil - } - - ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("includeDeprecated")) - if tmp, ok := rawArgs["includeDeprecated"]; ok { - return ec.unmarshalOBoolean2bool(ctx, tmp) - } - - var zeroVal bool - return zeroVal, nil -} - -// endregion ***************************** args.gotpl ***************************** - -// region ************************** directives.gotpl ************************** - -// endregion ************************** directives.gotpl ************************** - -// region **************************** field.gotpl ***************************** - -func (ec *executionContext) _Activity_id(ctx context.Context, field graphql.CollectedField, obj *model.Activity) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Activity_id(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.ID, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(string) - fc.Result = res - return ec.marshalNID2string(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Activity_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Activity", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type ID does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _Activity_status(ctx context.Context, field graphql.CollectedField, obj *model.Activity) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Activity_status(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Status, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.ActivityStatusValues) - fc.Result = res - return ec.marshalOActivityStatusValues2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐActivityStatusValues(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Activity_status(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Activity", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type ActivityStatusValues does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _Activity_services(ctx context.Context, field graphql.CollectedField, obj *model.Activity) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Activity_services(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Activity().Services(rctx, obj, fc.Args["filter"].(*model.ServiceFilter), fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.ServiceConnection) - fc.Result = res - return ec.marshalOServiceConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐServiceConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Activity_services(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Activity", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_ServiceConnection_totalCount(ctx, field) - case "edges": - return ec.fieldContext_ServiceConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_ServiceConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type ServiceConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Activity_services_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Activity_issues(ctx context.Context, field graphql.CollectedField, obj *model.Activity) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Activity_issues(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Activity().Issues(rctx, obj, fc.Args["filter"].(*model.IssueFilter), fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.IssueConnection) - fc.Result = res - return ec.marshalOIssueConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Activity_issues(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Activity", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_IssueConnection_totalCount(ctx, field) - case "vulnerabilityCount": - return ec.fieldContext_IssueConnection_vulnerabilityCount(ctx, field) - case "policyViolationCount": - return ec.fieldContext_IssueConnection_policyViolationCount(ctx, field) - case "securityEventCount": - return ec.fieldContext_IssueConnection_securityEventCount(ctx, field) - case "edges": - return ec.fieldContext_IssueConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_IssueConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Activity_issues_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Activity_evidences(ctx context.Context, field graphql.CollectedField, obj *model.Activity) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Activity_evidences(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Activity().Evidences(rctx, obj, fc.Args["filter"].(*model.EvidenceFilter), fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.EvidenceConnection) - fc.Result = res - return ec.marshalOEvidenceConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐEvidenceConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Activity_evidences(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Activity", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_EvidenceConnection_totalCount(ctx, field) - case "edges": - return ec.fieldContext_EvidenceConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_EvidenceConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type EvidenceConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Activity_evidences_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Activity_issueMatchChanges(ctx context.Context, field graphql.CollectedField, obj *model.Activity) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Activity_issueMatchChanges(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Activity().IssueMatchChanges(rctx, obj, fc.Args["filter"].(*model.IssueMatchChangeFilter), fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.IssueMatchChangeConnection) - fc.Result = res - return ec.marshalOIssueMatchChangeConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchChangeConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Activity_issueMatchChanges(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Activity", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_IssueMatchChangeConnection_totalCount(ctx, field) - case "edges": - return ec.fieldContext_IssueMatchChangeConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_IssueMatchChangeConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueMatchChangeConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Activity_issueMatchChanges_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _ActivityConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *model.ActivityConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ActivityConnection_totalCount(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.TotalCount, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(int) - fc.Result = res - return ec.marshalNInt2int(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ActivityConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ActivityConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Int does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _ActivityConnection_edges(ctx context.Context, field graphql.CollectedField, obj *model.ActivityConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ActivityConnection_edges(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Edges, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.([]*model.ActivityEdge) - fc.Result = res - return ec.marshalOActivityEdge2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐActivityEdge(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ActivityConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ActivityConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "node": - return ec.fieldContext_ActivityEdge_node(ctx, field) - case "cursor": - return ec.fieldContext_ActivityEdge_cursor(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type ActivityEdge", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _ActivityConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *model.ActivityConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ActivityConnection_pageInfo(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.PageInfo, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.PageInfo) - fc.Result = res - return ec.marshalOPageInfo2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐPageInfo(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ActivityConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ActivityConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "hasNextPage": - return ec.fieldContext_PageInfo_hasNextPage(ctx, field) - case "hasPreviousPage": - return ec.fieldContext_PageInfo_hasPreviousPage(ctx, field) - case "isValidPage": - return ec.fieldContext_PageInfo_isValidPage(ctx, field) - case "pageNumber": - return ec.fieldContext_PageInfo_pageNumber(ctx, field) - case "nextPageAfter": - return ec.fieldContext_PageInfo_nextPageAfter(ctx, field) - case "pages": - return ec.fieldContext_PageInfo_pages(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type PageInfo", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _ActivityEdge_node(ctx context.Context, field graphql.CollectedField, obj *model.ActivityEdge) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ActivityEdge_node(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Node, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.Activity) - fc.Result = res - return ec.marshalNActivity2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐActivity(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ActivityEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ActivityEdge", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_Activity_id(ctx, field) - case "status": - return ec.fieldContext_Activity_status(ctx, field) - case "services": - return ec.fieldContext_Activity_services(ctx, field) - case "issues": - return ec.fieldContext_Activity_issues(ctx, field) - case "evidences": - return ec.fieldContext_Activity_evidences(ctx, field) - case "issueMatchChanges": - return ec.fieldContext_Activity_issueMatchChanges(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type Activity", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _ActivityEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *model.ActivityEdge) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ActivityEdge_cursor(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Cursor, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ActivityEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ActivityEdge", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _CVSS_vector(ctx context.Context, field graphql.CollectedField, obj *model.Cvss) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_CVSS_vector(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Vector, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_CVSS_vector(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "CVSS", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _CVSS_base(ctx context.Context, field graphql.CollectedField, obj *model.Cvss) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_CVSS_base(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Base, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.CVSSBase) - fc.Result = res - return ec.marshalOCVSSBase2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐCVSSBase(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_CVSS_base(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "CVSS", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "score": - return ec.fieldContext_CVSSBase_score(ctx, field) - case "attackVector": - return ec.fieldContext_CVSSBase_attackVector(ctx, field) - case "attackComplexity": - return ec.fieldContext_CVSSBase_attackComplexity(ctx, field) - case "privilegesRequired": - return ec.fieldContext_CVSSBase_privilegesRequired(ctx, field) - case "userInteraction": - return ec.fieldContext_CVSSBase_userInteraction(ctx, field) - case "scope": - return ec.fieldContext_CVSSBase_scope(ctx, field) - case "confidentialityImpact": - return ec.fieldContext_CVSSBase_confidentialityImpact(ctx, field) - case "integrityImpact": - return ec.fieldContext_CVSSBase_integrityImpact(ctx, field) - case "availabilityImpact": - return ec.fieldContext_CVSSBase_availabilityImpact(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type CVSSBase", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _CVSS_temporal(ctx context.Context, field graphql.CollectedField, obj *model.Cvss) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_CVSS_temporal(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Temporal, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.CVSSTemporal) - fc.Result = res - return ec.marshalOCVSSTemporal2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐCVSSTemporal(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_CVSS_temporal(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "CVSS", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "score": - return ec.fieldContext_CVSSTemporal_score(ctx, field) - case "exploitCodeMaturity": - return ec.fieldContext_CVSSTemporal_exploitCodeMaturity(ctx, field) - case "remediationLevel": - return ec.fieldContext_CVSSTemporal_remediationLevel(ctx, field) - case "reportConfidence": - return ec.fieldContext_CVSSTemporal_reportConfidence(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type CVSSTemporal", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _CVSS_environmental(ctx context.Context, field graphql.CollectedField, obj *model.Cvss) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_CVSS_environmental(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Environmental, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.CVSSEnvironmental) - fc.Result = res - return ec.marshalOCVSSEnvironmental2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐCVSSEnvironmental(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_CVSS_environmental(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "CVSS", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "score": - return ec.fieldContext_CVSSEnvironmental_score(ctx, field) - case "modifiedAttackVector": - return ec.fieldContext_CVSSEnvironmental_modifiedAttackVector(ctx, field) - case "modifiedAttackComplexity": - return ec.fieldContext_CVSSEnvironmental_modifiedAttackComplexity(ctx, field) - case "modifiedPrivilegesRequired": - return ec.fieldContext_CVSSEnvironmental_modifiedPrivilegesRequired(ctx, field) - case "modifiedUserInteraction": - return ec.fieldContext_CVSSEnvironmental_modifiedUserInteraction(ctx, field) - case "modifiedScope": - return ec.fieldContext_CVSSEnvironmental_modifiedScope(ctx, field) - case "modifiedConfidentialityImpact": - return ec.fieldContext_CVSSEnvironmental_modifiedConfidentialityImpact(ctx, field) - case "modifiedIntegrityImpact": - return ec.fieldContext_CVSSEnvironmental_modifiedIntegrityImpact(ctx, field) - case "modifiedAvailabilityImpact": - return ec.fieldContext_CVSSEnvironmental_modifiedAvailabilityImpact(ctx, field) - case "confidentialityRequirement": - return ec.fieldContext_CVSSEnvironmental_confidentialityRequirement(ctx, field) - case "availabilityRequirement": - return ec.fieldContext_CVSSEnvironmental_availabilityRequirement(ctx, field) - case "integrityRequirement": - return ec.fieldContext_CVSSEnvironmental_integrityRequirement(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type CVSSEnvironmental", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _CVSSBase_score(ctx context.Context, field graphql.CollectedField, obj *model.CVSSBase) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_CVSSBase_score(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Score, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*float64) - fc.Result = res - return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_CVSSBase_score(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "CVSSBase", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Float does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _CVSSBase_attackVector(ctx context.Context, field graphql.CollectedField, obj *model.CVSSBase) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_CVSSBase_attackVector(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.AttackVector, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_CVSSBase_attackVector(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "CVSSBase", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _CVSSBase_attackComplexity(ctx context.Context, field graphql.CollectedField, obj *model.CVSSBase) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_CVSSBase_attackComplexity(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.AttackComplexity, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_CVSSBase_attackComplexity(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "CVSSBase", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _CVSSBase_privilegesRequired(ctx context.Context, field graphql.CollectedField, obj *model.CVSSBase) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_CVSSBase_privilegesRequired(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.PrivilegesRequired, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_CVSSBase_privilegesRequired(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "CVSSBase", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _CVSSBase_userInteraction(ctx context.Context, field graphql.CollectedField, obj *model.CVSSBase) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_CVSSBase_userInteraction(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.UserInteraction, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_CVSSBase_userInteraction(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "CVSSBase", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _CVSSBase_scope(ctx context.Context, field graphql.CollectedField, obj *model.CVSSBase) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_CVSSBase_scope(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Scope, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_CVSSBase_scope(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "CVSSBase", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _CVSSBase_confidentialityImpact(ctx context.Context, field graphql.CollectedField, obj *model.CVSSBase) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_CVSSBase_confidentialityImpact(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.ConfidentialityImpact, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_CVSSBase_confidentialityImpact(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "CVSSBase", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _CVSSBase_integrityImpact(ctx context.Context, field graphql.CollectedField, obj *model.CVSSBase) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_CVSSBase_integrityImpact(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.IntegrityImpact, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_CVSSBase_integrityImpact(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "CVSSBase", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _CVSSBase_availabilityImpact(ctx context.Context, field graphql.CollectedField, obj *model.CVSSBase) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_CVSSBase_availabilityImpact(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.AvailabilityImpact, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_CVSSBase_availabilityImpact(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "CVSSBase", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _CVSSEnvironmental_score(ctx context.Context, field graphql.CollectedField, obj *model.CVSSEnvironmental) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_CVSSEnvironmental_score(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Score, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*float64) - fc.Result = res - return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_CVSSEnvironmental_score(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "CVSSEnvironmental", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Float does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _CVSSEnvironmental_modifiedAttackVector(ctx context.Context, field graphql.CollectedField, obj *model.CVSSEnvironmental) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_CVSSEnvironmental_modifiedAttackVector(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.ModifiedAttackVector, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_CVSSEnvironmental_modifiedAttackVector(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "CVSSEnvironmental", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _CVSSEnvironmental_modifiedAttackComplexity(ctx context.Context, field graphql.CollectedField, obj *model.CVSSEnvironmental) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_CVSSEnvironmental_modifiedAttackComplexity(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.ModifiedAttackComplexity, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_CVSSEnvironmental_modifiedAttackComplexity(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "CVSSEnvironmental", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _CVSSEnvironmental_modifiedPrivilegesRequired(ctx context.Context, field graphql.CollectedField, obj *model.CVSSEnvironmental) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_CVSSEnvironmental_modifiedPrivilegesRequired(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.ModifiedPrivilegesRequired, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_CVSSEnvironmental_modifiedPrivilegesRequired(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "CVSSEnvironmental", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _CVSSEnvironmental_modifiedUserInteraction(ctx context.Context, field graphql.CollectedField, obj *model.CVSSEnvironmental) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_CVSSEnvironmental_modifiedUserInteraction(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.ModifiedUserInteraction, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_CVSSEnvironmental_modifiedUserInteraction(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "CVSSEnvironmental", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _CVSSEnvironmental_modifiedScope(ctx context.Context, field graphql.CollectedField, obj *model.CVSSEnvironmental) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_CVSSEnvironmental_modifiedScope(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.ModifiedScope, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_CVSSEnvironmental_modifiedScope(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "CVSSEnvironmental", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _CVSSEnvironmental_modifiedConfidentialityImpact(ctx context.Context, field graphql.CollectedField, obj *model.CVSSEnvironmental) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_CVSSEnvironmental_modifiedConfidentialityImpact(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.ModifiedConfidentialityImpact, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_CVSSEnvironmental_modifiedConfidentialityImpact(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "CVSSEnvironmental", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _CVSSEnvironmental_modifiedIntegrityImpact(ctx context.Context, field graphql.CollectedField, obj *model.CVSSEnvironmental) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_CVSSEnvironmental_modifiedIntegrityImpact(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.ModifiedIntegrityImpact, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_CVSSEnvironmental_modifiedIntegrityImpact(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "CVSSEnvironmental", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _CVSSEnvironmental_modifiedAvailabilityImpact(ctx context.Context, field graphql.CollectedField, obj *model.CVSSEnvironmental) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_CVSSEnvironmental_modifiedAvailabilityImpact(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.ModifiedAvailabilityImpact, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_CVSSEnvironmental_modifiedAvailabilityImpact(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "CVSSEnvironmental", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _CVSSEnvironmental_confidentialityRequirement(ctx context.Context, field graphql.CollectedField, obj *model.CVSSEnvironmental) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_CVSSEnvironmental_confidentialityRequirement(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.ConfidentialityRequirement, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_CVSSEnvironmental_confidentialityRequirement(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "CVSSEnvironmental", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _CVSSEnvironmental_availabilityRequirement(ctx context.Context, field graphql.CollectedField, obj *model.CVSSEnvironmental) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_CVSSEnvironmental_availabilityRequirement(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.AvailabilityRequirement, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_CVSSEnvironmental_availabilityRequirement(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "CVSSEnvironmental", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _CVSSEnvironmental_integrityRequirement(ctx context.Context, field graphql.CollectedField, obj *model.CVSSEnvironmental) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_CVSSEnvironmental_integrityRequirement(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.IntegrityRequirement, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_CVSSEnvironmental_integrityRequirement(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "CVSSEnvironmental", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _CVSSParameter_name(ctx context.Context, field graphql.CollectedField, obj *model.CVSSParameter) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_CVSSParameter_name(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Name, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_CVSSParameter_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "CVSSParameter", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _CVSSParameter_value(ctx context.Context, field graphql.CollectedField, obj *model.CVSSParameter) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_CVSSParameter_value(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Value, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_CVSSParameter_value(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "CVSSParameter", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _CVSSTemporal_score(ctx context.Context, field graphql.CollectedField, obj *model.CVSSTemporal) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_CVSSTemporal_score(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Score, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*float64) - fc.Result = res - return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_CVSSTemporal_score(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "CVSSTemporal", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Float does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _CVSSTemporal_exploitCodeMaturity(ctx context.Context, field graphql.CollectedField, obj *model.CVSSTemporal) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_CVSSTemporal_exploitCodeMaturity(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.ExploitCodeMaturity, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_CVSSTemporal_exploitCodeMaturity(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "CVSSTemporal", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _CVSSTemporal_remediationLevel(ctx context.Context, field graphql.CollectedField, obj *model.CVSSTemporal) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_CVSSTemporal_remediationLevel(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.RemediationLevel, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_CVSSTemporal_remediationLevel(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "CVSSTemporal", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _CVSSTemporal_reportConfidence(ctx context.Context, field graphql.CollectedField, obj *model.CVSSTemporal) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_CVSSTemporal_reportConfidence(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.ReportConfidence, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_CVSSTemporal_reportConfidence(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "CVSSTemporal", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _Component_id(ctx context.Context, field graphql.CollectedField, obj *model.Component) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Component_id(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.ID, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(string) - fc.Result = res - return ec.marshalNID2string(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Component_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Component", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type ID does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _Component_ccrn(ctx context.Context, field graphql.CollectedField, obj *model.Component) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Component_ccrn(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Ccrn, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Component_ccrn(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Component", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _Component_type(ctx context.Context, field graphql.CollectedField, obj *model.Component) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Component_type(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Type, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.ComponentTypeValues) - fc.Result = res - return ec.marshalOComponentTypeValues2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentTypeValues(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Component_type(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Component", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type ComponentTypeValues does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _Component_componentVersions(ctx context.Context, field graphql.CollectedField, obj *model.Component) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Component_componentVersions(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Component().ComponentVersions(rctx, obj, fc.Args["filter"].(*model.ComponentVersionFilter), fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.ComponentVersionConnection) - fc.Result = res - return ec.marshalOComponentVersionConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentVersionConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Component_componentVersions(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Component", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_ComponentVersionConnection_totalCount(ctx, field) - case "edges": - return ec.fieldContext_ComponentVersionConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_ComponentVersionConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type ComponentVersionConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Component_componentVersions_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _ComponentConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *model.ComponentConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ComponentConnection_totalCount(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.TotalCount, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(int) - fc.Result = res - return ec.marshalNInt2int(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ComponentConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ComponentConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Int does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _ComponentConnection_edges(ctx context.Context, field graphql.CollectedField, obj *model.ComponentConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ComponentConnection_edges(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Edges, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.([]*model.ComponentEdge) - fc.Result = res - return ec.marshalOComponentEdge2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentEdge(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ComponentConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ComponentConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "node": - return ec.fieldContext_ComponentEdge_node(ctx, field) - case "cursor": - return ec.fieldContext_ComponentEdge_cursor(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type ComponentEdge", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _ComponentConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *model.ComponentConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ComponentConnection_pageInfo(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.PageInfo, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.PageInfo) - fc.Result = res - return ec.marshalOPageInfo2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐPageInfo(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ComponentConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ComponentConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "hasNextPage": - return ec.fieldContext_PageInfo_hasNextPage(ctx, field) - case "hasPreviousPage": - return ec.fieldContext_PageInfo_hasPreviousPage(ctx, field) - case "isValidPage": - return ec.fieldContext_PageInfo_isValidPage(ctx, field) - case "pageNumber": - return ec.fieldContext_PageInfo_pageNumber(ctx, field) - case "nextPageAfter": - return ec.fieldContext_PageInfo_nextPageAfter(ctx, field) - case "pages": - return ec.fieldContext_PageInfo_pages(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type PageInfo", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _ComponentEdge_node(ctx context.Context, field graphql.CollectedField, obj *model.ComponentEdge) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ComponentEdge_node(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Node, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.Component) - fc.Result = res - return ec.marshalNComponent2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponent(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ComponentEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ComponentEdge", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_Component_id(ctx, field) - case "ccrn": - return ec.fieldContext_Component_ccrn(ctx, field) - case "type": - return ec.fieldContext_Component_type(ctx, field) - case "componentVersions": - return ec.fieldContext_Component_componentVersions(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type Component", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _ComponentEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *model.ComponentEdge) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ComponentEdge_cursor(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Cursor, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ComponentEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ComponentEdge", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _ComponentFilterValue_componentCcrn(ctx context.Context, field graphql.CollectedField, obj *model.ComponentFilterValue) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ComponentFilterValue_componentCcrn(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.ComponentFilterValue().ComponentCcrn(rctx, obj, fc.Args["filter"].(*model.ComponentFilter)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.FilterItem) - fc.Result = res - return ec.marshalOFilterItem2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐFilterItem(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ComponentFilterValue_componentCcrn(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ComponentFilterValue", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "displayName": - return ec.fieldContext_FilterItem_displayName(ctx, field) - case "filterName": - return ec.fieldContext_FilterItem_filterName(ctx, field) - case "values": - return ec.fieldContext_FilterItem_values(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type FilterItem", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_ComponentFilterValue_componentCcrn_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _ComponentInstance_id(ctx context.Context, field graphql.CollectedField, obj *model.ComponentInstance) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ComponentInstance_id(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.ID, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(string) - fc.Result = res - return ec.marshalNID2string(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ComponentInstance_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ComponentInstance", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type ID does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _ComponentInstance_ccrn(ctx context.Context, field graphql.CollectedField, obj *model.ComponentInstance) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ComponentInstance_ccrn(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Ccrn, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ComponentInstance_ccrn(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ComponentInstance", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _ComponentInstance_count(ctx context.Context, field graphql.CollectedField, obj *model.ComponentInstance) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ComponentInstance_count(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Count, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*int) - fc.Result = res - return ec.marshalOInt2ᚖint(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ComponentInstance_count(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ComponentInstance", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Int does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _ComponentInstance_componentVersionId(ctx context.Context, field graphql.CollectedField, obj *model.ComponentInstance) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ComponentInstance_componentVersionId(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.ComponentVersionID, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ComponentInstance_componentVersionId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ComponentInstance", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _ComponentInstance_componentVersion(ctx context.Context, field graphql.CollectedField, obj *model.ComponentInstance) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ComponentInstance_componentVersion(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.ComponentInstance().ComponentVersion(rctx, obj) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.ComponentVersion) - fc.Result = res - return ec.marshalOComponentVersion2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentVersion(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ComponentInstance_componentVersion(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ComponentInstance", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_ComponentVersion_id(ctx, field) - case "version": - return ec.fieldContext_ComponentVersion_version(ctx, field) - case "componentId": - return ec.fieldContext_ComponentVersion_componentId(ctx, field) - case "component": - return ec.fieldContext_ComponentVersion_component(ctx, field) - case "issues": - return ec.fieldContext_ComponentVersion_issues(ctx, field) - case "componentInstances": - return ec.fieldContext_ComponentVersion_componentInstances(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type ComponentVersion", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _ComponentInstance_issueMatches(ctx context.Context, field graphql.CollectedField, obj *model.ComponentInstance) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ComponentInstance_issueMatches(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.ComponentInstance().IssueMatches(rctx, obj, fc.Args["filter"].(*model.IssueMatchFilter), fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.IssueMatchConnection) - fc.Result = res - return ec.marshalOIssueMatchConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ComponentInstance_issueMatches(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ComponentInstance", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_IssueMatchConnection_totalCount(ctx, field) - case "edges": - return ec.fieldContext_IssueMatchConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_IssueMatchConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueMatchConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_ComponentInstance_issueMatches_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _ComponentInstance_serviceId(ctx context.Context, field graphql.CollectedField, obj *model.ComponentInstance) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ComponentInstance_serviceId(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.ServiceID, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ComponentInstance_serviceId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ComponentInstance", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _ComponentInstance_service(ctx context.Context, field graphql.CollectedField, obj *model.ComponentInstance) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ComponentInstance_service(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.ComponentInstance().Service(rctx, obj) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.Service) - fc.Result = res - return ec.marshalOService2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐService(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ComponentInstance_service(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ComponentInstance", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_Service_id(ctx, field) - case "ccrn": - return ec.fieldContext_Service_ccrn(ctx, field) - case "owners": - return ec.fieldContext_Service_owners(ctx, field) - case "supportGroups": - return ec.fieldContext_Service_supportGroups(ctx, field) - case "activities": - return ec.fieldContext_Service_activities(ctx, field) - case "issueRepositories": - return ec.fieldContext_Service_issueRepositories(ctx, field) - case "componentInstances": - return ec.fieldContext_Service_componentInstances(ctx, field) - case "metadata": - return ec.fieldContext_Service_metadata(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type Service", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _ComponentInstance_createdAt(ctx context.Context, field graphql.CollectedField, obj *model.ComponentInstance) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ComponentInstance_createdAt(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.CreatedAt, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalODateTime2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ComponentInstance_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ComponentInstance", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type DateTime does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _ComponentInstance_updatedAt(ctx context.Context, field graphql.CollectedField, obj *model.ComponentInstance) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ComponentInstance_updatedAt(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.UpdatedAt, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalODateTime2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ComponentInstance_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ComponentInstance", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type DateTime does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _ComponentInstanceConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *model.ComponentInstanceConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ComponentInstanceConnection_totalCount(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.TotalCount, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(int) - fc.Result = res - return ec.marshalNInt2int(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ComponentInstanceConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ComponentInstanceConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Int does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _ComponentInstanceConnection_edges(ctx context.Context, field graphql.CollectedField, obj *model.ComponentInstanceConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ComponentInstanceConnection_edges(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Edges, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.([]*model.ComponentInstanceEdge) - fc.Result = res - return ec.marshalNComponentInstanceEdge2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentInstanceEdge(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ComponentInstanceConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ComponentInstanceConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "node": - return ec.fieldContext_ComponentInstanceEdge_node(ctx, field) - case "cursor": - return ec.fieldContext_ComponentInstanceEdge_cursor(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type ComponentInstanceEdge", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _ComponentInstanceConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *model.ComponentInstanceConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ComponentInstanceConnection_pageInfo(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.PageInfo, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.PageInfo) - fc.Result = res - return ec.marshalOPageInfo2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐPageInfo(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ComponentInstanceConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ComponentInstanceConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "hasNextPage": - return ec.fieldContext_PageInfo_hasNextPage(ctx, field) - case "hasPreviousPage": - return ec.fieldContext_PageInfo_hasPreviousPage(ctx, field) - case "isValidPage": - return ec.fieldContext_PageInfo_isValidPage(ctx, field) - case "pageNumber": - return ec.fieldContext_PageInfo_pageNumber(ctx, field) - case "nextPageAfter": - return ec.fieldContext_PageInfo_nextPageAfter(ctx, field) - case "pages": - return ec.fieldContext_PageInfo_pages(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type PageInfo", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _ComponentInstanceEdge_node(ctx context.Context, field graphql.CollectedField, obj *model.ComponentInstanceEdge) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ComponentInstanceEdge_node(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Node, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.ComponentInstance) - fc.Result = res - return ec.marshalNComponentInstance2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentInstance(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ComponentInstanceEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ComponentInstanceEdge", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_ComponentInstance_id(ctx, field) - case "ccrn": - return ec.fieldContext_ComponentInstance_ccrn(ctx, field) - case "count": - return ec.fieldContext_ComponentInstance_count(ctx, field) - case "componentVersionId": - return ec.fieldContext_ComponentInstance_componentVersionId(ctx, field) - case "componentVersion": - return ec.fieldContext_ComponentInstance_componentVersion(ctx, field) - case "issueMatches": - return ec.fieldContext_ComponentInstance_issueMatches(ctx, field) - case "serviceId": - return ec.fieldContext_ComponentInstance_serviceId(ctx, field) - case "service": - return ec.fieldContext_ComponentInstance_service(ctx, field) - case "createdAt": - return ec.fieldContext_ComponentInstance_createdAt(ctx, field) - case "updatedAt": - return ec.fieldContext_ComponentInstance_updatedAt(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type ComponentInstance", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _ComponentInstanceEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *model.ComponentInstanceEdge) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ComponentInstanceEdge_cursor(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Cursor, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ComponentInstanceEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ComponentInstanceEdge", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _ComponentInstanceFilterValue_serviceCcrn(ctx context.Context, field graphql.CollectedField, obj *model.ComponentInstanceFilterValue) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ComponentInstanceFilterValue_serviceCcrn(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.ComponentInstanceFilterValue().ServiceCcrn(rctx, obj, fc.Args["filter"].(*model.ServiceFilter)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.FilterItem) - fc.Result = res - return ec.marshalOFilterItem2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐFilterItem(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ComponentInstanceFilterValue_serviceCcrn(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ComponentInstanceFilterValue", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "displayName": - return ec.fieldContext_FilterItem_displayName(ctx, field) - case "filterName": - return ec.fieldContext_FilterItem_filterName(ctx, field) - case "values": - return ec.fieldContext_FilterItem_values(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type FilterItem", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_ComponentInstanceFilterValue_serviceCcrn_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _ComponentInstanceFilterValue_supportGroupCcrn(ctx context.Context, field graphql.CollectedField, obj *model.ComponentInstanceFilterValue) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ComponentInstanceFilterValue_supportGroupCcrn(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.ComponentInstanceFilterValue().SupportGroupCcrn(rctx, obj, fc.Args["filter"].(*model.SupportGroupFilter)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.FilterItem) - fc.Result = res - return ec.marshalOFilterItem2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐFilterItem(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ComponentInstanceFilterValue_supportGroupCcrn(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ComponentInstanceFilterValue", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "displayName": - return ec.fieldContext_FilterItem_displayName(ctx, field) - case "filterName": - return ec.fieldContext_FilterItem_filterName(ctx, field) - case "values": - return ec.fieldContext_FilterItem_values(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type FilterItem", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_ComponentInstanceFilterValue_supportGroupCcrn_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _ComponentInstanceFilterValue_ccrn(ctx context.Context, field graphql.CollectedField, obj *model.ComponentInstanceFilterValue) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ComponentInstanceFilterValue_ccrn(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.ComponentInstanceFilterValue().Ccrn(rctx, obj, fc.Args["filter"].(*model.ComponentInstanceFilter)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.FilterItem) - fc.Result = res - return ec.marshalOFilterItem2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐFilterItem(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ComponentInstanceFilterValue_ccrn(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ComponentInstanceFilterValue", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "displayName": - return ec.fieldContext_FilterItem_displayName(ctx, field) - case "filterName": - return ec.fieldContext_FilterItem_filterName(ctx, field) - case "values": - return ec.fieldContext_FilterItem_values(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type FilterItem", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_ComponentInstanceFilterValue_ccrn_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _ComponentVersion_id(ctx context.Context, field graphql.CollectedField, obj *model.ComponentVersion) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ComponentVersion_id(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.ID, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(string) - fc.Result = res - return ec.marshalNID2string(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ComponentVersion_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ComponentVersion", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type ID does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _ComponentVersion_version(ctx context.Context, field graphql.CollectedField, obj *model.ComponentVersion) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ComponentVersion_version(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Version, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ComponentVersion_version(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ComponentVersion", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _ComponentVersion_componentId(ctx context.Context, field graphql.CollectedField, obj *model.ComponentVersion) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ComponentVersion_componentId(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.ComponentID, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ComponentVersion_componentId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ComponentVersion", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _ComponentVersion_component(ctx context.Context, field graphql.CollectedField, obj *model.ComponentVersion) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ComponentVersion_component(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.ComponentVersion().Component(rctx, obj) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.Component) - fc.Result = res - return ec.marshalOComponent2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponent(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ComponentVersion_component(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ComponentVersion", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_Component_id(ctx, field) - case "ccrn": - return ec.fieldContext_Component_ccrn(ctx, field) - case "type": - return ec.fieldContext_Component_type(ctx, field) - case "componentVersions": - return ec.fieldContext_Component_componentVersions(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type Component", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _ComponentVersion_issues(ctx context.Context, field graphql.CollectedField, obj *model.ComponentVersion) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ComponentVersion_issues(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.ComponentVersion().Issues(rctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.IssueConnection) - fc.Result = res - return ec.marshalOIssueConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ComponentVersion_issues(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ComponentVersion", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_IssueConnection_totalCount(ctx, field) - case "vulnerabilityCount": - return ec.fieldContext_IssueConnection_vulnerabilityCount(ctx, field) - case "policyViolationCount": - return ec.fieldContext_IssueConnection_policyViolationCount(ctx, field) - case "securityEventCount": - return ec.fieldContext_IssueConnection_securityEventCount(ctx, field) - case "edges": - return ec.fieldContext_IssueConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_IssueConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_ComponentVersion_issues_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _ComponentVersion_componentInstances(ctx context.Context, field graphql.CollectedField, obj *model.ComponentVersion) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ComponentVersion_componentInstances(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.ComponentVersion().ComponentInstances(rctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.ComponentInstanceConnection) - fc.Result = res - return ec.marshalOComponentInstanceConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentInstanceConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ComponentVersion_componentInstances(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ComponentVersion", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_ComponentInstanceConnection_totalCount(ctx, field) - case "edges": - return ec.fieldContext_ComponentInstanceConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_ComponentInstanceConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type ComponentInstanceConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_ComponentVersion_componentInstances_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _ComponentVersionConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *model.ComponentVersionConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ComponentVersionConnection_totalCount(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.TotalCount, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(int) - fc.Result = res - return ec.marshalNInt2int(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ComponentVersionConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ComponentVersionConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Int does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _ComponentVersionConnection_edges(ctx context.Context, field graphql.CollectedField, obj *model.ComponentVersionConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ComponentVersionConnection_edges(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Edges, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.([]*model.ComponentVersionEdge) - fc.Result = res - return ec.marshalNComponentVersionEdge2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentVersionEdge(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ComponentVersionConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ComponentVersionConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "node": - return ec.fieldContext_ComponentVersionEdge_node(ctx, field) - case "cursor": - return ec.fieldContext_ComponentVersionEdge_cursor(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type ComponentVersionEdge", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _ComponentVersionConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *model.ComponentVersionConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ComponentVersionConnection_pageInfo(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.PageInfo, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.PageInfo) - fc.Result = res - return ec.marshalOPageInfo2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐPageInfo(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ComponentVersionConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ComponentVersionConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "hasNextPage": - return ec.fieldContext_PageInfo_hasNextPage(ctx, field) - case "hasPreviousPage": - return ec.fieldContext_PageInfo_hasPreviousPage(ctx, field) - case "isValidPage": - return ec.fieldContext_PageInfo_isValidPage(ctx, field) - case "pageNumber": - return ec.fieldContext_PageInfo_pageNumber(ctx, field) - case "nextPageAfter": - return ec.fieldContext_PageInfo_nextPageAfter(ctx, field) - case "pages": - return ec.fieldContext_PageInfo_pages(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type PageInfo", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _ComponentVersionEdge_node(ctx context.Context, field graphql.CollectedField, obj *model.ComponentVersionEdge) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ComponentVersionEdge_node(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Node, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.ComponentVersion) - fc.Result = res - return ec.marshalNComponentVersion2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentVersion(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ComponentVersionEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ComponentVersionEdge", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_ComponentVersion_id(ctx, field) - case "version": - return ec.fieldContext_ComponentVersion_version(ctx, field) - case "componentId": - return ec.fieldContext_ComponentVersion_componentId(ctx, field) - case "component": - return ec.fieldContext_ComponentVersion_component(ctx, field) - case "issues": - return ec.fieldContext_ComponentVersion_issues(ctx, field) - case "componentInstances": - return ec.fieldContext_ComponentVersion_componentInstances(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type ComponentVersion", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _ComponentVersionEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *model.ComponentVersionEdge) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ComponentVersionEdge_cursor(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Cursor, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ComponentVersionEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ComponentVersionEdge", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _Evidence_id(ctx context.Context, field graphql.CollectedField, obj *model.Evidence) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Evidence_id(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.ID, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(string) - fc.Result = res - return ec.marshalNID2string(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Evidence_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Evidence", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type ID does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _Evidence_description(ctx context.Context, field graphql.CollectedField, obj *model.Evidence) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Evidence_description(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Description, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Evidence_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Evidence", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _Evidence_type(ctx context.Context, field graphql.CollectedField, obj *model.Evidence) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Evidence_type(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Type, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Evidence_type(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Evidence", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _Evidence_vector(ctx context.Context, field graphql.CollectedField, obj *model.Evidence) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Evidence_vector(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Vector, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Evidence_vector(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Evidence", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _Evidence_raaEnd(ctx context.Context, field graphql.CollectedField, obj *model.Evidence) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Evidence_raaEnd(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.RaaEnd, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalODateTime2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Evidence_raaEnd(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Evidence", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type DateTime does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _Evidence_authorId(ctx context.Context, field graphql.CollectedField, obj *model.Evidence) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Evidence_authorId(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.AuthorID, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Evidence_authorId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Evidence", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _Evidence_author(ctx context.Context, field graphql.CollectedField, obj *model.Evidence) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Evidence_author(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Evidence().Author(rctx, obj) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.User) - fc.Result = res - return ec.marshalOUser2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐUser(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Evidence_author(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Evidence", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_User_id(ctx, field) - case "uniqueUserId": - return ec.fieldContext_User_uniqueUserId(ctx, field) - case "type": - return ec.fieldContext_User_type(ctx, field) - case "name": - return ec.fieldContext_User_name(ctx, field) - case "supportGroups": - return ec.fieldContext_User_supportGroups(ctx, field) - case "services": - return ec.fieldContext_User_services(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type User", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _Evidence_activityId(ctx context.Context, field graphql.CollectedField, obj *model.Evidence) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Evidence_activityId(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.ActivityID, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Evidence_activityId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Evidence", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _Evidence_activity(ctx context.Context, field graphql.CollectedField, obj *model.Evidence) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Evidence_activity(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Evidence().Activity(rctx, obj) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.Activity) - fc.Result = res - return ec.marshalOActivity2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐActivity(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Evidence_activity(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Evidence", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_Activity_id(ctx, field) - case "status": - return ec.fieldContext_Activity_status(ctx, field) - case "services": - return ec.fieldContext_Activity_services(ctx, field) - case "issues": - return ec.fieldContext_Activity_issues(ctx, field) - case "evidences": - return ec.fieldContext_Activity_evidences(ctx, field) - case "issueMatchChanges": - return ec.fieldContext_Activity_issueMatchChanges(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type Activity", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _Evidence_issueMatches(ctx context.Context, field graphql.CollectedField, obj *model.Evidence) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Evidence_issueMatches(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Evidence().IssueMatches(rctx, obj, fc.Args["filter"].(*model.IssueMatchFilter), fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.IssueMatchConnection) - fc.Result = res - return ec.marshalOIssueMatchConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Evidence_issueMatches(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Evidence", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_IssueMatchConnection_totalCount(ctx, field) - case "edges": - return ec.fieldContext_IssueMatchConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_IssueMatchConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueMatchConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Evidence_issueMatches_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _EvidenceConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *model.EvidenceConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_EvidenceConnection_totalCount(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.TotalCount, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(int) - fc.Result = res - return ec.marshalNInt2int(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_EvidenceConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "EvidenceConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Int does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _EvidenceConnection_edges(ctx context.Context, field graphql.CollectedField, obj *model.EvidenceConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_EvidenceConnection_edges(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Edges, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.([]*model.EvidenceEdge) - fc.Result = res - return ec.marshalOEvidenceEdge2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐEvidenceEdge(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_EvidenceConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "EvidenceConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "node": - return ec.fieldContext_EvidenceEdge_node(ctx, field) - case "cursor": - return ec.fieldContext_EvidenceEdge_cursor(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type EvidenceEdge", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _EvidenceConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *model.EvidenceConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_EvidenceConnection_pageInfo(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.PageInfo, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.PageInfo) - fc.Result = res - return ec.marshalOPageInfo2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐPageInfo(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_EvidenceConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "EvidenceConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "hasNextPage": - return ec.fieldContext_PageInfo_hasNextPage(ctx, field) - case "hasPreviousPage": - return ec.fieldContext_PageInfo_hasPreviousPage(ctx, field) - case "isValidPage": - return ec.fieldContext_PageInfo_isValidPage(ctx, field) - case "pageNumber": - return ec.fieldContext_PageInfo_pageNumber(ctx, field) - case "nextPageAfter": - return ec.fieldContext_PageInfo_nextPageAfter(ctx, field) - case "pages": - return ec.fieldContext_PageInfo_pages(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type PageInfo", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _EvidenceEdge_node(ctx context.Context, field graphql.CollectedField, obj *model.EvidenceEdge) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_EvidenceEdge_node(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Node, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.Evidence) - fc.Result = res - return ec.marshalNEvidence2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐEvidence(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_EvidenceEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "EvidenceEdge", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_Evidence_id(ctx, field) - case "description": - return ec.fieldContext_Evidence_description(ctx, field) - case "type": - return ec.fieldContext_Evidence_type(ctx, field) - case "vector": - return ec.fieldContext_Evidence_vector(ctx, field) - case "raaEnd": - return ec.fieldContext_Evidence_raaEnd(ctx, field) - case "authorId": - return ec.fieldContext_Evidence_authorId(ctx, field) - case "author": - return ec.fieldContext_Evidence_author(ctx, field) - case "activityId": - return ec.fieldContext_Evidence_activityId(ctx, field) - case "activity": - return ec.fieldContext_Evidence_activity(ctx, field) - case "issueMatches": - return ec.fieldContext_Evidence_issueMatches(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type Evidence", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _EvidenceEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *model.EvidenceEdge) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_EvidenceEdge_cursor(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Cursor, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_EvidenceEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "EvidenceEdge", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _FilterItem_displayName(ctx context.Context, field graphql.CollectedField, obj *model.FilterItem) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_FilterItem_displayName(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.DisplayName, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_FilterItem_displayName(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "FilterItem", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _FilterItem_filterName(ctx context.Context, field graphql.CollectedField, obj *model.FilterItem) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_FilterItem_filterName(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.FilterName, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_FilterItem_filterName(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "FilterItem", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _FilterItem_values(ctx context.Context, field graphql.CollectedField, obj *model.FilterItem) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_FilterItem_values(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Values, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.([]*string) - fc.Result = res - return ec.marshalOString2ᚕᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_FilterItem_values(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "FilterItem", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _Issue_id(ctx context.Context, field graphql.CollectedField, obj *model.Issue) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Issue_id(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.ID, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(string) - fc.Result = res - return ec.marshalNID2string(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Issue_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Issue", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type ID does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _Issue_type(ctx context.Context, field graphql.CollectedField, obj *model.Issue) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Issue_type(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Type, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.IssueTypes) - fc.Result = res - return ec.marshalOIssueTypes2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueTypes(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Issue_type(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Issue", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type IssueTypes does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _Issue_primaryName(ctx context.Context, field graphql.CollectedField, obj *model.Issue) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Issue_primaryName(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.PrimaryName, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Issue_primaryName(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Issue", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _Issue_description(ctx context.Context, field graphql.CollectedField, obj *model.Issue) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Issue_description(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Description, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Issue_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Issue", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _Issue_lastModified(ctx context.Context, field graphql.CollectedField, obj *model.Issue) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Issue_lastModified(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.LastModified, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalODateTime2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Issue_lastModified(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Issue", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type DateTime does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _Issue_issueVariants(ctx context.Context, field graphql.CollectedField, obj *model.Issue) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Issue_issueVariants(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Issue().IssueVariants(rctx, obj, fc.Args["filter"].(*model.IssueVariantFilter), fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.IssueVariantConnection) - fc.Result = res - return ec.marshalOIssueVariantConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueVariantConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Issue_issueVariants(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Issue", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_IssueVariantConnection_totalCount(ctx, field) - case "edges": - return ec.fieldContext_IssueVariantConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_IssueVariantConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueVariantConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Issue_issueVariants_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Issue_activities(ctx context.Context, field graphql.CollectedField, obj *model.Issue) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Issue_activities(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Issue().Activities(rctx, obj, fc.Args["filter"].(*model.ActivityFilter), fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.ActivityConnection) - fc.Result = res - return ec.marshalOActivityConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐActivityConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Issue_activities(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Issue", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_ActivityConnection_totalCount(ctx, field) - case "edges": - return ec.fieldContext_ActivityConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_ActivityConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type ActivityConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Issue_activities_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Issue_issueMatches(ctx context.Context, field graphql.CollectedField, obj *model.Issue) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Issue_issueMatches(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Issue().IssueMatches(rctx, obj, fc.Args["filter"].(*model.IssueMatchFilter), fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.IssueMatchConnection) - fc.Result = res - return ec.marshalOIssueMatchConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Issue_issueMatches(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Issue", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_IssueMatchConnection_totalCount(ctx, field) - case "edges": - return ec.fieldContext_IssueMatchConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_IssueMatchConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueMatchConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Issue_issueMatches_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Issue_componentVersions(ctx context.Context, field graphql.CollectedField, obj *model.Issue) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Issue_componentVersions(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Issue().ComponentVersions(rctx, obj, fc.Args["filter"].(*model.ComponentVersionFilter), fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.ComponentVersionConnection) - fc.Result = res - return ec.marshalOComponentVersionConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentVersionConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Issue_componentVersions(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Issue", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_ComponentVersionConnection_totalCount(ctx, field) - case "edges": - return ec.fieldContext_ComponentVersionConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_ComponentVersionConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type ComponentVersionConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Issue_componentVersions_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Issue_metadata(ctx context.Context, field graphql.CollectedField, obj *model.Issue) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Issue_metadata(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Metadata, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.IssueMetadata) - fc.Result = res - return ec.marshalOIssueMetadata2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMetadata(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Issue_metadata(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Issue", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "serviceCount": - return ec.fieldContext_IssueMetadata_serviceCount(ctx, field) - case "activityCount": - return ec.fieldContext_IssueMetadata_activityCount(ctx, field) - case "issueMatchCount": - return ec.fieldContext_IssueMetadata_issueMatchCount(ctx, field) - case "componentInstanceCount": - return ec.fieldContext_IssueMetadata_componentInstanceCount(ctx, field) - case "componentVersionCount": - return ec.fieldContext_IssueMetadata_componentVersionCount(ctx, field) - case "earliestDiscoveryDate": - return ec.fieldContext_IssueMetadata_earliestDiscoveryDate(ctx, field) - case "earliestTargetRemediationDate": - return ec.fieldContext_IssueMetadata_earliestTargetRemediationDate(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueMetadata", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *model.IssueConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueConnection_totalCount(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.TotalCount, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(int) - fc.Result = res - return ec.marshalNInt2int(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Int does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueConnection_vulnerabilityCount(ctx context.Context, field graphql.CollectedField, obj *model.IssueConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueConnection_vulnerabilityCount(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.VulnerabilityCount, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(int) - fc.Result = res - return ec.marshalNInt2int(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueConnection_vulnerabilityCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Int does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueConnection_policyViolationCount(ctx context.Context, field graphql.CollectedField, obj *model.IssueConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueConnection_policyViolationCount(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.PolicyViolationCount, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(int) - fc.Result = res - return ec.marshalNInt2int(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueConnection_policyViolationCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Int does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueConnection_securityEventCount(ctx context.Context, field graphql.CollectedField, obj *model.IssueConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueConnection_securityEventCount(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.SecurityEventCount, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(int) - fc.Result = res - return ec.marshalNInt2int(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueConnection_securityEventCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Int does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueConnection_edges(ctx context.Context, field graphql.CollectedField, obj *model.IssueConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueConnection_edges(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Edges, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.([]*model.IssueEdge) - fc.Result = res - return ec.marshalNIssueEdge2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueEdge(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "node": - return ec.fieldContext_IssueEdge_node(ctx, field) - case "cursor": - return ec.fieldContext_IssueEdge_cursor(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueEdge", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *model.IssueConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueConnection_pageInfo(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.PageInfo, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.PageInfo) - fc.Result = res - return ec.marshalOPageInfo2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐPageInfo(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "hasNextPage": - return ec.fieldContext_PageInfo_hasNextPage(ctx, field) - case "hasPreviousPage": - return ec.fieldContext_PageInfo_hasPreviousPage(ctx, field) - case "isValidPage": - return ec.fieldContext_PageInfo_isValidPage(ctx, field) - case "pageNumber": - return ec.fieldContext_PageInfo_pageNumber(ctx, field) - case "nextPageAfter": - return ec.fieldContext_PageInfo_nextPageAfter(ctx, field) - case "pages": - return ec.fieldContext_PageInfo_pages(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type PageInfo", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueEdge_node(ctx context.Context, field graphql.CollectedField, obj *model.IssueEdge) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueEdge_node(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Node, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.Issue) - fc.Result = res - return ec.marshalNIssue2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssue(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueEdge", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_Issue_id(ctx, field) - case "type": - return ec.fieldContext_Issue_type(ctx, field) - case "primaryName": - return ec.fieldContext_Issue_primaryName(ctx, field) - case "description": - return ec.fieldContext_Issue_description(ctx, field) - case "lastModified": - return ec.fieldContext_Issue_lastModified(ctx, field) - case "issueVariants": - return ec.fieldContext_Issue_issueVariants(ctx, field) - case "activities": - return ec.fieldContext_Issue_activities(ctx, field) - case "issueMatches": - return ec.fieldContext_Issue_issueMatches(ctx, field) - case "componentVersions": - return ec.fieldContext_Issue_componentVersions(ctx, field) - case "metadata": - return ec.fieldContext_Issue_metadata(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type Issue", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *model.IssueEdge) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueEdge_cursor(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Cursor, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueEdge", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueMatch_id(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatch) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatch_id(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.ID, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(string) - fc.Result = res - return ec.marshalNID2string(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMatch_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMatch", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type ID does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueMatch_status(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatch) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatch_status(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Status, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.IssueMatchStatusValues) - fc.Result = res - return ec.marshalOIssueMatchStatusValues2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchStatusValues(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMatch_status(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMatch", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type IssueMatchStatusValues does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueMatch_remediationDate(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatch) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatch_remediationDate(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.RemediationDate, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalODateTime2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMatch_remediationDate(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMatch", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type DateTime does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueMatch_discoveryDate(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatch) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatch_discoveryDate(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.DiscoveryDate, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalODateTime2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMatch_discoveryDate(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMatch", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type DateTime does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueMatch_targetRemediationDate(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatch) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatch_targetRemediationDate(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.TargetRemediationDate, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalODateTime2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMatch_targetRemediationDate(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMatch", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type DateTime does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueMatch_severity(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatch) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatch_severity(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.IssueMatch().Severity(rctx, obj) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.Severity) - fc.Result = res - return ec.marshalOSeverity2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSeverity(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMatch_severity(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMatch", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "value": - return ec.fieldContext_Severity_value(ctx, field) - case "score": - return ec.fieldContext_Severity_score(ctx, field) - case "cvss": - return ec.fieldContext_Severity_cvss(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type Severity", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueMatch_effectiveIssueVariants(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatch) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatch_effectiveIssueVariants(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.IssueMatch().EffectiveIssueVariants(rctx, obj, fc.Args["filter"].(*model.IssueVariantFilter), fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.IssueVariantConnection) - fc.Result = res - return ec.marshalOIssueVariantConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueVariantConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMatch_effectiveIssueVariants(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMatch", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_IssueVariantConnection_totalCount(ctx, field) - case "edges": - return ec.fieldContext_IssueVariantConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_IssueVariantConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueVariantConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_IssueMatch_effectiveIssueVariants_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _IssueMatch_evidences(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatch) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatch_evidences(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.IssueMatch().Evidences(rctx, obj, fc.Args["filter"].(*model.EvidenceFilter), fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.EvidenceConnection) - fc.Result = res - return ec.marshalOEvidenceConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐEvidenceConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMatch_evidences(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMatch", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_EvidenceConnection_totalCount(ctx, field) - case "edges": - return ec.fieldContext_EvidenceConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_EvidenceConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type EvidenceConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_IssueMatch_evidences_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _IssueMatch_issueId(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatch) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatch_issueId(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.IssueID, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMatch_issueId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMatch", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueMatch_issue(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatch) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatch_issue(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.IssueMatch().Issue(rctx, obj) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.Issue) - fc.Result = res - return ec.marshalNIssue2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssue(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMatch_issue(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMatch", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_Issue_id(ctx, field) - case "type": - return ec.fieldContext_Issue_type(ctx, field) - case "primaryName": - return ec.fieldContext_Issue_primaryName(ctx, field) - case "description": - return ec.fieldContext_Issue_description(ctx, field) - case "lastModified": - return ec.fieldContext_Issue_lastModified(ctx, field) - case "issueVariants": - return ec.fieldContext_Issue_issueVariants(ctx, field) - case "activities": - return ec.fieldContext_Issue_activities(ctx, field) - case "issueMatches": - return ec.fieldContext_Issue_issueMatches(ctx, field) - case "componentVersions": - return ec.fieldContext_Issue_componentVersions(ctx, field) - case "metadata": - return ec.fieldContext_Issue_metadata(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type Issue", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueMatch_userId(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatch) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatch_userId(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.UserID, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMatch_userId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMatch", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueMatch_user(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatch) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatch_user(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.User, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.User) - fc.Result = res - return ec.marshalOUser2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐUser(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMatch_user(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMatch", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_User_id(ctx, field) - case "uniqueUserId": - return ec.fieldContext_User_uniqueUserId(ctx, field) - case "type": - return ec.fieldContext_User_type(ctx, field) - case "name": - return ec.fieldContext_User_name(ctx, field) - case "supportGroups": - return ec.fieldContext_User_supportGroups(ctx, field) - case "services": - return ec.fieldContext_User_services(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type User", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueMatch_componentInstanceId(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatch) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatch_componentInstanceId(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.ComponentInstanceID, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMatch_componentInstanceId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMatch", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueMatch_componentInstance(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatch) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatch_componentInstance(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.IssueMatch().ComponentInstance(rctx, obj) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.ComponentInstance) - fc.Result = res - return ec.marshalNComponentInstance2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentInstance(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMatch_componentInstance(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMatch", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_ComponentInstance_id(ctx, field) - case "ccrn": - return ec.fieldContext_ComponentInstance_ccrn(ctx, field) - case "count": - return ec.fieldContext_ComponentInstance_count(ctx, field) - case "componentVersionId": - return ec.fieldContext_ComponentInstance_componentVersionId(ctx, field) - case "componentVersion": - return ec.fieldContext_ComponentInstance_componentVersion(ctx, field) - case "issueMatches": - return ec.fieldContext_ComponentInstance_issueMatches(ctx, field) - case "serviceId": - return ec.fieldContext_ComponentInstance_serviceId(ctx, field) - case "service": - return ec.fieldContext_ComponentInstance_service(ctx, field) - case "createdAt": - return ec.fieldContext_ComponentInstance_createdAt(ctx, field) - case "updatedAt": - return ec.fieldContext_ComponentInstance_updatedAt(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type ComponentInstance", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueMatch_issueMatchChanges(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatch) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatch_issueMatchChanges(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.IssueMatch().IssueMatchChanges(rctx, obj, fc.Args["filter"].(*model.IssueMatchChangeFilter), fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.IssueMatchChangeConnection) - fc.Result = res - return ec.marshalOIssueMatchChangeConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchChangeConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMatch_issueMatchChanges(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMatch", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_IssueMatchChangeConnection_totalCount(ctx, field) - case "edges": - return ec.fieldContext_IssueMatchChangeConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_IssueMatchChangeConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueMatchChangeConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_IssueMatch_issueMatchChanges_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _IssueMatchChange_id(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatchChange) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatchChange_id(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.ID, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(string) - fc.Result = res - return ec.marshalNID2string(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMatchChange_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMatchChange", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type ID does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueMatchChange_action(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatchChange) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatchChange_action(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Action, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.IssueMatchChangeActions) - fc.Result = res - return ec.marshalOIssueMatchChangeActions2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchChangeActions(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMatchChange_action(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMatchChange", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type IssueMatchChangeActions does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueMatchChange_issueMatchId(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatchChange) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatchChange_issueMatchId(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.IssueMatchID, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMatchChange_issueMatchId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMatchChange", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueMatchChange_issueMatch(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatchChange) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatchChange_issueMatch(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.IssueMatchChange().IssueMatch(rctx, obj) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.IssueMatch) - fc.Result = res - return ec.marshalNIssueMatch2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatch(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMatchChange_issueMatch(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMatchChange", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_IssueMatch_id(ctx, field) - case "status": - return ec.fieldContext_IssueMatch_status(ctx, field) - case "remediationDate": - return ec.fieldContext_IssueMatch_remediationDate(ctx, field) - case "discoveryDate": - return ec.fieldContext_IssueMatch_discoveryDate(ctx, field) - case "targetRemediationDate": - return ec.fieldContext_IssueMatch_targetRemediationDate(ctx, field) - case "severity": - return ec.fieldContext_IssueMatch_severity(ctx, field) - case "effectiveIssueVariants": - return ec.fieldContext_IssueMatch_effectiveIssueVariants(ctx, field) - case "evidences": - return ec.fieldContext_IssueMatch_evidences(ctx, field) - case "issueId": - return ec.fieldContext_IssueMatch_issueId(ctx, field) - case "issue": - return ec.fieldContext_IssueMatch_issue(ctx, field) - case "userId": - return ec.fieldContext_IssueMatch_userId(ctx, field) - case "user": - return ec.fieldContext_IssueMatch_user(ctx, field) - case "componentInstanceId": - return ec.fieldContext_IssueMatch_componentInstanceId(ctx, field) - case "componentInstance": - return ec.fieldContext_IssueMatch_componentInstance(ctx, field) - case "issueMatchChanges": - return ec.fieldContext_IssueMatch_issueMatchChanges(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueMatch", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueMatchChange_activityId(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatchChange) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatchChange_activityId(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.ActivityID, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMatchChange_activityId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMatchChange", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueMatchChange_activity(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatchChange) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatchChange_activity(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.IssueMatchChange().Activity(rctx, obj) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.Activity) - fc.Result = res - return ec.marshalNActivity2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐActivity(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMatchChange_activity(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMatchChange", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_Activity_id(ctx, field) - case "status": - return ec.fieldContext_Activity_status(ctx, field) - case "services": - return ec.fieldContext_Activity_services(ctx, field) - case "issues": - return ec.fieldContext_Activity_issues(ctx, field) - case "evidences": - return ec.fieldContext_Activity_evidences(ctx, field) - case "issueMatchChanges": - return ec.fieldContext_Activity_issueMatchChanges(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type Activity", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueMatchChangeConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatchChangeConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatchChangeConnection_totalCount(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.TotalCount, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(int) - fc.Result = res - return ec.marshalNInt2int(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMatchChangeConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMatchChangeConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Int does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueMatchChangeConnection_edges(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatchChangeConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatchChangeConnection_edges(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Edges, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.([]*model.IssueMatchChangeEdge) - fc.Result = res - return ec.marshalOIssueMatchChangeEdge2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchChangeEdge(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMatchChangeConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMatchChangeConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "node": - return ec.fieldContext_IssueMatchChangeEdge_node(ctx, field) - case "cursor": - return ec.fieldContext_IssueMatchChangeEdge_cursor(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueMatchChangeEdge", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueMatchChangeConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatchChangeConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatchChangeConnection_pageInfo(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.PageInfo, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.PageInfo) - fc.Result = res - return ec.marshalOPageInfo2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐPageInfo(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMatchChangeConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMatchChangeConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "hasNextPage": - return ec.fieldContext_PageInfo_hasNextPage(ctx, field) - case "hasPreviousPage": - return ec.fieldContext_PageInfo_hasPreviousPage(ctx, field) - case "isValidPage": - return ec.fieldContext_PageInfo_isValidPage(ctx, field) - case "pageNumber": - return ec.fieldContext_PageInfo_pageNumber(ctx, field) - case "nextPageAfter": - return ec.fieldContext_PageInfo_nextPageAfter(ctx, field) - case "pages": - return ec.fieldContext_PageInfo_pages(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type PageInfo", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueMatchChangeEdge_node(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatchChangeEdge) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatchChangeEdge_node(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Node, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.IssueMatchChange) - fc.Result = res - return ec.marshalNIssueMatchChange2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchChange(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMatchChangeEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMatchChangeEdge", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_IssueMatchChange_id(ctx, field) - case "action": - return ec.fieldContext_IssueMatchChange_action(ctx, field) - case "issueMatchId": - return ec.fieldContext_IssueMatchChange_issueMatchId(ctx, field) - case "issueMatch": - return ec.fieldContext_IssueMatchChange_issueMatch(ctx, field) - case "activityId": - return ec.fieldContext_IssueMatchChange_activityId(ctx, field) - case "activity": - return ec.fieldContext_IssueMatchChange_activity(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueMatchChange", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueMatchChangeEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatchChangeEdge) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatchChangeEdge_cursor(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Cursor, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMatchChangeEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMatchChangeEdge", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueMatchConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatchConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatchConnection_totalCount(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.TotalCount, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(int) - fc.Result = res - return ec.marshalNInt2int(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMatchConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMatchConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Int does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueMatchConnection_edges(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatchConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatchConnection_edges(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Edges, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.([]*model.IssueMatchEdge) - fc.Result = res - return ec.marshalOIssueMatchEdge2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchEdge(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMatchConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMatchConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "node": - return ec.fieldContext_IssueMatchEdge_node(ctx, field) - case "cursor": - return ec.fieldContext_IssueMatchEdge_cursor(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueMatchEdge", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueMatchConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatchConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatchConnection_pageInfo(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.PageInfo, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.PageInfo) - fc.Result = res - return ec.marshalOPageInfo2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐPageInfo(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMatchConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMatchConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "hasNextPage": - return ec.fieldContext_PageInfo_hasNextPage(ctx, field) - case "hasPreviousPage": - return ec.fieldContext_PageInfo_hasPreviousPage(ctx, field) - case "isValidPage": - return ec.fieldContext_PageInfo_isValidPage(ctx, field) - case "pageNumber": - return ec.fieldContext_PageInfo_pageNumber(ctx, field) - case "nextPageAfter": - return ec.fieldContext_PageInfo_nextPageAfter(ctx, field) - case "pages": - return ec.fieldContext_PageInfo_pages(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type PageInfo", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueMatchEdge_node(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatchEdge) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatchEdge_node(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Node, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.IssueMatch) - fc.Result = res - return ec.marshalNIssueMatch2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatch(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMatchEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMatchEdge", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_IssueMatch_id(ctx, field) - case "status": - return ec.fieldContext_IssueMatch_status(ctx, field) - case "remediationDate": - return ec.fieldContext_IssueMatch_remediationDate(ctx, field) - case "discoveryDate": - return ec.fieldContext_IssueMatch_discoveryDate(ctx, field) - case "targetRemediationDate": - return ec.fieldContext_IssueMatch_targetRemediationDate(ctx, field) - case "severity": - return ec.fieldContext_IssueMatch_severity(ctx, field) - case "effectiveIssueVariants": - return ec.fieldContext_IssueMatch_effectiveIssueVariants(ctx, field) - case "evidences": - return ec.fieldContext_IssueMatch_evidences(ctx, field) - case "issueId": - return ec.fieldContext_IssueMatch_issueId(ctx, field) - case "issue": - return ec.fieldContext_IssueMatch_issue(ctx, field) - case "userId": - return ec.fieldContext_IssueMatch_userId(ctx, field) - case "user": - return ec.fieldContext_IssueMatch_user(ctx, field) - case "componentInstanceId": - return ec.fieldContext_IssueMatch_componentInstanceId(ctx, field) - case "componentInstance": - return ec.fieldContext_IssueMatch_componentInstance(ctx, field) - case "issueMatchChanges": - return ec.fieldContext_IssueMatch_issueMatchChanges(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueMatch", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueMatchEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatchEdge) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatchEdge_cursor(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Cursor, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMatchEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMatchEdge", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueMatchFilterValue_status(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatchFilterValue) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatchFilterValue_status(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Status, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.FilterItem) - fc.Result = res - return ec.marshalOFilterItem2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐFilterItem(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMatchFilterValue_status(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMatchFilterValue", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "displayName": - return ec.fieldContext_FilterItem_displayName(ctx, field) - case "filterName": - return ec.fieldContext_FilterItem_filterName(ctx, field) - case "values": - return ec.fieldContext_FilterItem_values(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type FilterItem", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueMatchFilterValue_severity(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatchFilterValue) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatchFilterValue_severity(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Severity, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.FilterItem) - fc.Result = res - return ec.marshalOFilterItem2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐFilterItem(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMatchFilterValue_severity(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMatchFilterValue", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "displayName": - return ec.fieldContext_FilterItem_displayName(ctx, field) - case "filterName": - return ec.fieldContext_FilterItem_filterName(ctx, field) - case "values": - return ec.fieldContext_FilterItem_values(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type FilterItem", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueMatchFilterValue_issueType(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatchFilterValue) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatchFilterValue_issueType(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.IssueType, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.FilterItem) - fc.Result = res - return ec.marshalOFilterItem2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐFilterItem(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMatchFilterValue_issueType(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMatchFilterValue", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "displayName": - return ec.fieldContext_FilterItem_displayName(ctx, field) - case "filterName": - return ec.fieldContext_FilterItem_filterName(ctx, field) - case "values": - return ec.fieldContext_FilterItem_values(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type FilterItem", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueMatchFilterValue_primaryName(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatchFilterValue) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatchFilterValue_primaryName(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.IssueMatchFilterValue().PrimaryName(rctx, obj, fc.Args["filter"].(*model.IssueFilter)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.FilterItem) - fc.Result = res - return ec.marshalOFilterItem2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐFilterItem(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMatchFilterValue_primaryName(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMatchFilterValue", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "displayName": - return ec.fieldContext_FilterItem_displayName(ctx, field) - case "filterName": - return ec.fieldContext_FilterItem_filterName(ctx, field) - case "values": - return ec.fieldContext_FilterItem_values(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type FilterItem", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_IssueMatchFilterValue_primaryName_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _IssueMatchFilterValue_affectedService(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatchFilterValue) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatchFilterValue_affectedService(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.IssueMatchFilterValue().AffectedService(rctx, obj, fc.Args["filter"].(*model.ServiceFilter)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.FilterItem) - fc.Result = res - return ec.marshalOFilterItem2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐFilterItem(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMatchFilterValue_affectedService(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMatchFilterValue", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "displayName": - return ec.fieldContext_FilterItem_displayName(ctx, field) - case "filterName": - return ec.fieldContext_FilterItem_filterName(ctx, field) - case "values": - return ec.fieldContext_FilterItem_values(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type FilterItem", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_IssueMatchFilterValue_affectedService_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _IssueMatchFilterValue_componentCcrn(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatchFilterValue) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatchFilterValue_componentCcrn(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.IssueMatchFilterValue().ComponentCcrn(rctx, obj, fc.Args["filter"].(*model.ComponentFilter)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.FilterItem) - fc.Result = res - return ec.marshalOFilterItem2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐFilterItem(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMatchFilterValue_componentCcrn(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMatchFilterValue", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "displayName": - return ec.fieldContext_FilterItem_displayName(ctx, field) - case "filterName": - return ec.fieldContext_FilterItem_filterName(ctx, field) - case "values": - return ec.fieldContext_FilterItem_values(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type FilterItem", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_IssueMatchFilterValue_componentCcrn_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _IssueMatchFilterValue_supportGroupCcrn(ctx context.Context, field graphql.CollectedField, obj *model.IssueMatchFilterValue) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMatchFilterValue_supportGroupCcrn(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.IssueMatchFilterValue().SupportGroupCcrn(rctx, obj, fc.Args["filter"].(*model.SupportGroupFilter)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.FilterItem) - fc.Result = res - return ec.marshalOFilterItem2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐFilterItem(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMatchFilterValue_supportGroupCcrn(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMatchFilterValue", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "displayName": - return ec.fieldContext_FilterItem_displayName(ctx, field) - case "filterName": - return ec.fieldContext_FilterItem_filterName(ctx, field) - case "values": - return ec.fieldContext_FilterItem_values(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type FilterItem", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_IssueMatchFilterValue_supportGroupCcrn_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _IssueMetadata_serviceCount(ctx context.Context, field graphql.CollectedField, obj *model.IssueMetadata) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMetadata_serviceCount(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.ServiceCount, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(int) - fc.Result = res - return ec.marshalNInt2int(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMetadata_serviceCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMetadata", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Int does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueMetadata_activityCount(ctx context.Context, field graphql.CollectedField, obj *model.IssueMetadata) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMetadata_activityCount(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.ActivityCount, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(int) - fc.Result = res - return ec.marshalNInt2int(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMetadata_activityCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMetadata", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Int does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueMetadata_issueMatchCount(ctx context.Context, field graphql.CollectedField, obj *model.IssueMetadata) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMetadata_issueMatchCount(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.IssueMatchCount, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(int) - fc.Result = res - return ec.marshalNInt2int(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMetadata_issueMatchCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMetadata", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Int does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueMetadata_componentInstanceCount(ctx context.Context, field graphql.CollectedField, obj *model.IssueMetadata) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMetadata_componentInstanceCount(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.ComponentInstanceCount, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(int) - fc.Result = res - return ec.marshalNInt2int(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMetadata_componentInstanceCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMetadata", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Int does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueMetadata_componentVersionCount(ctx context.Context, field graphql.CollectedField, obj *model.IssueMetadata) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMetadata_componentVersionCount(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.ComponentVersionCount, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(int) - fc.Result = res - return ec.marshalNInt2int(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMetadata_componentVersionCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMetadata", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Int does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueMetadata_earliestDiscoveryDate(ctx context.Context, field graphql.CollectedField, obj *model.IssueMetadata) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMetadata_earliestDiscoveryDate(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.EarliestDiscoveryDate, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(string) - fc.Result = res - return ec.marshalNDateTime2string(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMetadata_earliestDiscoveryDate(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMetadata", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type DateTime does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueMetadata_earliestTargetRemediationDate(ctx context.Context, field graphql.CollectedField, obj *model.IssueMetadata) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueMetadata_earliestTargetRemediationDate(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.EarliestTargetRemediationDate, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(string) - fc.Result = res - return ec.marshalNDateTime2string(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueMetadata_earliestTargetRemediationDate(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueMetadata", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type DateTime does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueRepository_id(ctx context.Context, field graphql.CollectedField, obj *model.IssueRepository) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueRepository_id(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.ID, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(string) - fc.Result = res - return ec.marshalNID2string(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueRepository_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueRepository", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type ID does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueRepository_name(ctx context.Context, field graphql.CollectedField, obj *model.IssueRepository) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueRepository_name(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Name, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueRepository_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueRepository", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueRepository_url(ctx context.Context, field graphql.CollectedField, obj *model.IssueRepository) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueRepository_url(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.URL, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueRepository_url(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueRepository", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueRepository_issueVariants(ctx context.Context, field graphql.CollectedField, obj *model.IssueRepository) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueRepository_issueVariants(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.IssueRepository().IssueVariants(rctx, obj, fc.Args["filter"].(*model.IssueVariantFilter), fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.IssueVariantConnection) - fc.Result = res - return ec.marshalOIssueVariantConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueVariantConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueRepository_issueVariants(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueRepository", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_IssueVariantConnection_totalCount(ctx, field) - case "edges": - return ec.fieldContext_IssueVariantConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_IssueVariantConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueVariantConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_IssueRepository_issueVariants_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _IssueRepository_services(ctx context.Context, field graphql.CollectedField, obj *model.IssueRepository) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueRepository_services(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.IssueRepository().Services(rctx, obj, fc.Args["filter"].(*model.ServiceFilter), fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.ServiceConnection) - fc.Result = res - return ec.marshalOServiceConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐServiceConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueRepository_services(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueRepository", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_ServiceConnection_totalCount(ctx, field) - case "edges": - return ec.fieldContext_ServiceConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_ServiceConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type ServiceConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_IssueRepository_services_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _IssueRepository_created_at(ctx context.Context, field graphql.CollectedField, obj *model.IssueRepository) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueRepository_created_at(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.CreatedAt, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalODateTime2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueRepository_created_at(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueRepository", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type DateTime does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueRepository_updated_at(ctx context.Context, field graphql.CollectedField, obj *model.IssueRepository) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueRepository_updated_at(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.UpdatedAt, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalODateTime2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueRepository_updated_at(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueRepository", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type DateTime does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueRepositoryConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *model.IssueRepositoryConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueRepositoryConnection_totalCount(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.TotalCount, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(int) - fc.Result = res - return ec.marshalNInt2int(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueRepositoryConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueRepositoryConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Int does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueRepositoryConnection_edges(ctx context.Context, field graphql.CollectedField, obj *model.IssueRepositoryConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueRepositoryConnection_edges(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Edges, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.([]*model.IssueRepositoryEdge) - fc.Result = res - return ec.marshalOIssueRepositoryEdge2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueRepositoryEdge(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueRepositoryConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueRepositoryConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "node": - return ec.fieldContext_IssueRepositoryEdge_node(ctx, field) - case "cursor": - return ec.fieldContext_IssueRepositoryEdge_cursor(ctx, field) - case "priority": - return ec.fieldContext_IssueRepositoryEdge_priority(ctx, field) - case "created_at": - return ec.fieldContext_IssueRepositoryEdge_created_at(ctx, field) - case "updated_at": - return ec.fieldContext_IssueRepositoryEdge_updated_at(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueRepositoryEdge", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueRepositoryConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *model.IssueRepositoryConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueRepositoryConnection_pageInfo(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.PageInfo, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.PageInfo) - fc.Result = res - return ec.marshalOPageInfo2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐPageInfo(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueRepositoryConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueRepositoryConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "hasNextPage": - return ec.fieldContext_PageInfo_hasNextPage(ctx, field) - case "hasPreviousPage": - return ec.fieldContext_PageInfo_hasPreviousPage(ctx, field) - case "isValidPage": - return ec.fieldContext_PageInfo_isValidPage(ctx, field) - case "pageNumber": - return ec.fieldContext_PageInfo_pageNumber(ctx, field) - case "nextPageAfter": - return ec.fieldContext_PageInfo_nextPageAfter(ctx, field) - case "pages": - return ec.fieldContext_PageInfo_pages(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type PageInfo", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueRepositoryEdge_node(ctx context.Context, field graphql.CollectedField, obj *model.IssueRepositoryEdge) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueRepositoryEdge_node(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Node, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.IssueRepository) - fc.Result = res - return ec.marshalNIssueRepository2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueRepository(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueRepositoryEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueRepositoryEdge", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_IssueRepository_id(ctx, field) - case "name": - return ec.fieldContext_IssueRepository_name(ctx, field) - case "url": - return ec.fieldContext_IssueRepository_url(ctx, field) - case "issueVariants": - return ec.fieldContext_IssueRepository_issueVariants(ctx, field) - case "services": - return ec.fieldContext_IssueRepository_services(ctx, field) - case "created_at": - return ec.fieldContext_IssueRepository_created_at(ctx, field) - case "updated_at": - return ec.fieldContext_IssueRepository_updated_at(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueRepository", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueRepositoryEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *model.IssueRepositoryEdge) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueRepositoryEdge_cursor(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Cursor, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueRepositoryEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueRepositoryEdge", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueRepositoryEdge_priority(ctx context.Context, field graphql.CollectedField, obj *model.IssueRepositoryEdge) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueRepositoryEdge_priority(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Priority, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*int) - fc.Result = res - return ec.marshalOInt2ᚖint(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueRepositoryEdge_priority(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueRepositoryEdge", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Int does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueRepositoryEdge_created_at(ctx context.Context, field graphql.CollectedField, obj *model.IssueRepositoryEdge) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueRepositoryEdge_created_at(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.CreatedAt, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalODateTime2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueRepositoryEdge_created_at(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueRepositoryEdge", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type DateTime does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueRepositoryEdge_updated_at(ctx context.Context, field graphql.CollectedField, obj *model.IssueRepositoryEdge) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueRepositoryEdge_updated_at(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.UpdatedAt, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalODateTime2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueRepositoryEdge_updated_at(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueRepositoryEdge", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type DateTime does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueVariant_id(ctx context.Context, field graphql.CollectedField, obj *model.IssueVariant) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueVariant_id(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.ID, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(string) - fc.Result = res - return ec.marshalNID2string(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueVariant_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueVariant", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type ID does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueVariant_secondaryName(ctx context.Context, field graphql.CollectedField, obj *model.IssueVariant) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueVariant_secondaryName(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.SecondaryName, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueVariant_secondaryName(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueVariant", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueVariant_description(ctx context.Context, field graphql.CollectedField, obj *model.IssueVariant) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueVariant_description(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Description, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueVariant_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueVariant", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueVariant_severity(ctx context.Context, field graphql.CollectedField, obj *model.IssueVariant) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueVariant_severity(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Severity, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.Severity) - fc.Result = res - return ec.marshalOSeverity2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSeverity(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueVariant_severity(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueVariant", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "value": - return ec.fieldContext_Severity_value(ctx, field) - case "score": - return ec.fieldContext_Severity_score(ctx, field) - case "cvss": - return ec.fieldContext_Severity_cvss(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type Severity", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueVariant_issueRepositoryId(ctx context.Context, field graphql.CollectedField, obj *model.IssueVariant) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueVariant_issueRepositoryId(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.IssueRepositoryID, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueVariant_issueRepositoryId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueVariant", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueVariant_issueRepository(ctx context.Context, field graphql.CollectedField, obj *model.IssueVariant) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueVariant_issueRepository(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.IssueVariant().IssueRepository(rctx, obj) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.IssueRepository) - fc.Result = res - return ec.marshalOIssueRepository2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueRepository(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueVariant_issueRepository(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueVariant", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_IssueRepository_id(ctx, field) - case "name": - return ec.fieldContext_IssueRepository_name(ctx, field) - case "url": - return ec.fieldContext_IssueRepository_url(ctx, field) - case "issueVariants": - return ec.fieldContext_IssueRepository_issueVariants(ctx, field) - case "services": - return ec.fieldContext_IssueRepository_services(ctx, field) - case "created_at": - return ec.fieldContext_IssueRepository_created_at(ctx, field) - case "updated_at": - return ec.fieldContext_IssueRepository_updated_at(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueRepository", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueVariant_issueId(ctx context.Context, field graphql.CollectedField, obj *model.IssueVariant) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueVariant_issueId(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.IssueID, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueVariant_issueId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueVariant", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueVariant_issue(ctx context.Context, field graphql.CollectedField, obj *model.IssueVariant) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueVariant_issue(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.IssueVariant().Issue(rctx, obj) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.Issue) - fc.Result = res - return ec.marshalOIssue2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssue(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueVariant_issue(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueVariant", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_Issue_id(ctx, field) - case "type": - return ec.fieldContext_Issue_type(ctx, field) - case "primaryName": - return ec.fieldContext_Issue_primaryName(ctx, field) - case "description": - return ec.fieldContext_Issue_description(ctx, field) - case "lastModified": - return ec.fieldContext_Issue_lastModified(ctx, field) - case "issueVariants": - return ec.fieldContext_Issue_issueVariants(ctx, field) - case "activities": - return ec.fieldContext_Issue_activities(ctx, field) - case "issueMatches": - return ec.fieldContext_Issue_issueMatches(ctx, field) - case "componentVersions": - return ec.fieldContext_Issue_componentVersions(ctx, field) - case "metadata": - return ec.fieldContext_Issue_metadata(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type Issue", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueVariant_created_at(ctx context.Context, field graphql.CollectedField, obj *model.IssueVariant) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueVariant_created_at(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.CreatedAt, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalODateTime2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueVariant_created_at(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueVariant", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type DateTime does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueVariant_updated_at(ctx context.Context, field graphql.CollectedField, obj *model.IssueVariant) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueVariant_updated_at(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.UpdatedAt, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalODateTime2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueVariant_updated_at(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueVariant", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type DateTime does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueVariantConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *model.IssueVariantConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueVariantConnection_totalCount(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.TotalCount, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(int) - fc.Result = res - return ec.marshalNInt2int(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueVariantConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueVariantConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Int does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueVariantConnection_edges(ctx context.Context, field graphql.CollectedField, obj *model.IssueVariantConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueVariantConnection_edges(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Edges, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.([]*model.IssueVariantEdge) - fc.Result = res - return ec.marshalOIssueVariantEdge2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueVariantEdge(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueVariantConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueVariantConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "node": - return ec.fieldContext_IssueVariantEdge_node(ctx, field) - case "cursor": - return ec.fieldContext_IssueVariantEdge_cursor(ctx, field) - case "created_at": - return ec.fieldContext_IssueVariantEdge_created_at(ctx, field) - case "updated_at": - return ec.fieldContext_IssueVariantEdge_updated_at(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueVariantEdge", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueVariantConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *model.IssueVariantConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueVariantConnection_pageInfo(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.PageInfo, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.PageInfo) - fc.Result = res - return ec.marshalOPageInfo2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐPageInfo(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueVariantConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueVariantConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "hasNextPage": - return ec.fieldContext_PageInfo_hasNextPage(ctx, field) - case "hasPreviousPage": - return ec.fieldContext_PageInfo_hasPreviousPage(ctx, field) - case "isValidPage": - return ec.fieldContext_PageInfo_isValidPage(ctx, field) - case "pageNumber": - return ec.fieldContext_PageInfo_pageNumber(ctx, field) - case "nextPageAfter": - return ec.fieldContext_PageInfo_nextPageAfter(ctx, field) - case "pages": - return ec.fieldContext_PageInfo_pages(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type PageInfo", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueVariantEdge_node(ctx context.Context, field graphql.CollectedField, obj *model.IssueVariantEdge) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueVariantEdge_node(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Node, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.IssueVariant) - fc.Result = res - return ec.marshalNIssueVariant2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueVariant(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueVariantEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueVariantEdge", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_IssueVariant_id(ctx, field) - case "secondaryName": - return ec.fieldContext_IssueVariant_secondaryName(ctx, field) - case "description": - return ec.fieldContext_IssueVariant_description(ctx, field) - case "severity": - return ec.fieldContext_IssueVariant_severity(ctx, field) - case "issueRepositoryId": - return ec.fieldContext_IssueVariant_issueRepositoryId(ctx, field) - case "issueRepository": - return ec.fieldContext_IssueVariant_issueRepository(ctx, field) - case "issueId": - return ec.fieldContext_IssueVariant_issueId(ctx, field) - case "issue": - return ec.fieldContext_IssueVariant_issue(ctx, field) - case "created_at": - return ec.fieldContext_IssueVariant_created_at(ctx, field) - case "updated_at": - return ec.fieldContext_IssueVariant_updated_at(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueVariant", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueVariantEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *model.IssueVariantEdge) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueVariantEdge_cursor(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Cursor, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueVariantEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueVariantEdge", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueVariantEdge_created_at(ctx context.Context, field graphql.CollectedField, obj *model.IssueVariantEdge) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueVariantEdge_created_at(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.CreatedAt, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalODateTime2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueVariantEdge_created_at(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueVariantEdge", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type DateTime does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _IssueVariantEdge_updated_at(ctx context.Context, field graphql.CollectedField, obj *model.IssueVariantEdge) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_IssueVariantEdge_updated_at(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.UpdatedAt, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalODateTime2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_IssueVariantEdge_updated_at(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "IssueVariantEdge", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type DateTime does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _Mutation_createUser(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_createUser(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().CreateUser(rctx, fc.Args["input"].(model.UserInput)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.User) - fc.Result = res - return ec.marshalNUser2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐUser(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_createUser(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_User_id(ctx, field) - case "uniqueUserId": - return ec.fieldContext_User_uniqueUserId(ctx, field) - case "type": - return ec.fieldContext_User_type(ctx, field) - case "name": - return ec.fieldContext_User_name(ctx, field) - case "supportGroups": - return ec.fieldContext_User_supportGroups(ctx, field) - case "services": - return ec.fieldContext_User_services(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type User", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_createUser_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_updateUser(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_updateUser(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().UpdateUser(rctx, fc.Args["id"].(string), fc.Args["input"].(model.UserInput)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.User) - fc.Result = res - return ec.marshalNUser2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐUser(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_updateUser(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_User_id(ctx, field) - case "uniqueUserId": - return ec.fieldContext_User_uniqueUserId(ctx, field) - case "type": - return ec.fieldContext_User_type(ctx, field) - case "name": - return ec.fieldContext_User_name(ctx, field) - case "supportGroups": - return ec.fieldContext_User_supportGroups(ctx, field) - case "services": - return ec.fieldContext_User_services(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type User", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_updateUser_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_deleteUser(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_deleteUser(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().DeleteUser(rctx, fc.Args["id"].(string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(string) - fc.Result = res - return ec.marshalNString2string(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_deleteUser(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_deleteUser_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_createSupportGroup(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_createSupportGroup(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().CreateSupportGroup(rctx, fc.Args["input"].(model.SupportGroupInput)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.SupportGroup) - fc.Result = res - return ec.marshalNSupportGroup2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSupportGroup(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_createSupportGroup(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_SupportGroup_id(ctx, field) - case "ccrn": - return ec.fieldContext_SupportGroup_ccrn(ctx, field) - case "users": - return ec.fieldContext_SupportGroup_users(ctx, field) - case "services": - return ec.fieldContext_SupportGroup_services(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type SupportGroup", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_createSupportGroup_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_updateSupportGroup(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_updateSupportGroup(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().UpdateSupportGroup(rctx, fc.Args["id"].(string), fc.Args["input"].(model.SupportGroupInput)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.SupportGroup) - fc.Result = res - return ec.marshalNSupportGroup2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSupportGroup(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_updateSupportGroup(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_SupportGroup_id(ctx, field) - case "ccrn": - return ec.fieldContext_SupportGroup_ccrn(ctx, field) - case "users": - return ec.fieldContext_SupportGroup_users(ctx, field) - case "services": - return ec.fieldContext_SupportGroup_services(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type SupportGroup", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_updateSupportGroup_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_deleteSupportGroup(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_deleteSupportGroup(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().DeleteSupportGroup(rctx, fc.Args["id"].(string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(string) - fc.Result = res - return ec.marshalNString2string(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_deleteSupportGroup(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_deleteSupportGroup_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_addServiceToSupportGroup(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_addServiceToSupportGroup(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().AddServiceToSupportGroup(rctx, fc.Args["supportGroupId"].(string), fc.Args["serviceId"].(string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.SupportGroup) - fc.Result = res - return ec.marshalNSupportGroup2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSupportGroup(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_addServiceToSupportGroup(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_SupportGroup_id(ctx, field) - case "ccrn": - return ec.fieldContext_SupportGroup_ccrn(ctx, field) - case "users": - return ec.fieldContext_SupportGroup_users(ctx, field) - case "services": - return ec.fieldContext_SupportGroup_services(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type SupportGroup", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_addServiceToSupportGroup_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_removeServiceFromSupportGroup(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_removeServiceFromSupportGroup(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().RemoveServiceFromSupportGroup(rctx, fc.Args["supportGroupId"].(string), fc.Args["serviceId"].(string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.SupportGroup) - fc.Result = res - return ec.marshalNSupportGroup2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSupportGroup(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_removeServiceFromSupportGroup(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_SupportGroup_id(ctx, field) - case "ccrn": - return ec.fieldContext_SupportGroup_ccrn(ctx, field) - case "users": - return ec.fieldContext_SupportGroup_users(ctx, field) - case "services": - return ec.fieldContext_SupportGroup_services(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type SupportGroup", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_removeServiceFromSupportGroup_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_addUserToSupportGroup(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_addUserToSupportGroup(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().AddUserToSupportGroup(rctx, fc.Args["supportGroupId"].(string), fc.Args["userId"].(string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.SupportGroup) - fc.Result = res - return ec.marshalNSupportGroup2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSupportGroup(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_addUserToSupportGroup(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_SupportGroup_id(ctx, field) - case "ccrn": - return ec.fieldContext_SupportGroup_ccrn(ctx, field) - case "users": - return ec.fieldContext_SupportGroup_users(ctx, field) - case "services": - return ec.fieldContext_SupportGroup_services(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type SupportGroup", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_addUserToSupportGroup_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_removeUserFromSupportGroup(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_removeUserFromSupportGroup(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().RemoveUserFromSupportGroup(rctx, fc.Args["supportGroupId"].(string), fc.Args["userId"].(string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.SupportGroup) - fc.Result = res - return ec.marshalNSupportGroup2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSupportGroup(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_removeUserFromSupportGroup(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_SupportGroup_id(ctx, field) - case "ccrn": - return ec.fieldContext_SupportGroup_ccrn(ctx, field) - case "users": - return ec.fieldContext_SupportGroup_users(ctx, field) - case "services": - return ec.fieldContext_SupportGroup_services(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type SupportGroup", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_removeUserFromSupportGroup_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_createComponent(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_createComponent(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().CreateComponent(rctx, fc.Args["input"].(model.ComponentInput)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.Component) - fc.Result = res - return ec.marshalNComponent2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponent(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_createComponent(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_Component_id(ctx, field) - case "ccrn": - return ec.fieldContext_Component_ccrn(ctx, field) - case "type": - return ec.fieldContext_Component_type(ctx, field) - case "componentVersions": - return ec.fieldContext_Component_componentVersions(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type Component", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_createComponent_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_updateComponent(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_updateComponent(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().UpdateComponent(rctx, fc.Args["id"].(string), fc.Args["input"].(model.ComponentInput)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.Component) - fc.Result = res - return ec.marshalNComponent2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponent(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_updateComponent(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_Component_id(ctx, field) - case "ccrn": - return ec.fieldContext_Component_ccrn(ctx, field) - case "type": - return ec.fieldContext_Component_type(ctx, field) - case "componentVersions": - return ec.fieldContext_Component_componentVersions(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type Component", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_updateComponent_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_deleteComponent(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_deleteComponent(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().DeleteComponent(rctx, fc.Args["id"].(string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(string) - fc.Result = res - return ec.marshalNString2string(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_deleteComponent(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_deleteComponent_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_createComponentInstance(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_createComponentInstance(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().CreateComponentInstance(rctx, fc.Args["input"].(model.ComponentInstanceInput)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.ComponentInstance) - fc.Result = res - return ec.marshalNComponentInstance2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentInstance(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_createComponentInstance(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_ComponentInstance_id(ctx, field) - case "ccrn": - return ec.fieldContext_ComponentInstance_ccrn(ctx, field) - case "count": - return ec.fieldContext_ComponentInstance_count(ctx, field) - case "componentVersionId": - return ec.fieldContext_ComponentInstance_componentVersionId(ctx, field) - case "componentVersion": - return ec.fieldContext_ComponentInstance_componentVersion(ctx, field) - case "issueMatches": - return ec.fieldContext_ComponentInstance_issueMatches(ctx, field) - case "serviceId": - return ec.fieldContext_ComponentInstance_serviceId(ctx, field) - case "service": - return ec.fieldContext_ComponentInstance_service(ctx, field) - case "createdAt": - return ec.fieldContext_ComponentInstance_createdAt(ctx, field) - case "updatedAt": - return ec.fieldContext_ComponentInstance_updatedAt(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type ComponentInstance", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_createComponentInstance_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_updateComponentInstance(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_updateComponentInstance(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().UpdateComponentInstance(rctx, fc.Args["id"].(string), fc.Args["input"].(model.ComponentInstanceInput)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.ComponentInstance) - fc.Result = res - return ec.marshalNComponentInstance2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentInstance(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_updateComponentInstance(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_ComponentInstance_id(ctx, field) - case "ccrn": - return ec.fieldContext_ComponentInstance_ccrn(ctx, field) - case "count": - return ec.fieldContext_ComponentInstance_count(ctx, field) - case "componentVersionId": - return ec.fieldContext_ComponentInstance_componentVersionId(ctx, field) - case "componentVersion": - return ec.fieldContext_ComponentInstance_componentVersion(ctx, field) - case "issueMatches": - return ec.fieldContext_ComponentInstance_issueMatches(ctx, field) - case "serviceId": - return ec.fieldContext_ComponentInstance_serviceId(ctx, field) - case "service": - return ec.fieldContext_ComponentInstance_service(ctx, field) - case "createdAt": - return ec.fieldContext_ComponentInstance_createdAt(ctx, field) - case "updatedAt": - return ec.fieldContext_ComponentInstance_updatedAt(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type ComponentInstance", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_updateComponentInstance_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_deleteComponentInstance(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_deleteComponentInstance(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().DeleteComponentInstance(rctx, fc.Args["id"].(string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(string) - fc.Result = res - return ec.marshalNString2string(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_deleteComponentInstance(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_deleteComponentInstance_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_createComponentVersion(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_createComponentVersion(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().CreateComponentVersion(rctx, fc.Args["input"].(model.ComponentVersionInput)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.ComponentVersion) - fc.Result = res - return ec.marshalNComponentVersion2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentVersion(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_createComponentVersion(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_ComponentVersion_id(ctx, field) - case "version": - return ec.fieldContext_ComponentVersion_version(ctx, field) - case "componentId": - return ec.fieldContext_ComponentVersion_componentId(ctx, field) - case "component": - return ec.fieldContext_ComponentVersion_component(ctx, field) - case "issues": - return ec.fieldContext_ComponentVersion_issues(ctx, field) - case "componentInstances": - return ec.fieldContext_ComponentVersion_componentInstances(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type ComponentVersion", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_createComponentVersion_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_updateComponentVersion(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_updateComponentVersion(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().UpdateComponentVersion(rctx, fc.Args["id"].(string), fc.Args["input"].(model.ComponentVersionInput)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.ComponentVersion) - fc.Result = res - return ec.marshalNComponentVersion2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentVersion(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_updateComponentVersion(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_ComponentVersion_id(ctx, field) - case "version": - return ec.fieldContext_ComponentVersion_version(ctx, field) - case "componentId": - return ec.fieldContext_ComponentVersion_componentId(ctx, field) - case "component": - return ec.fieldContext_ComponentVersion_component(ctx, field) - case "issues": - return ec.fieldContext_ComponentVersion_issues(ctx, field) - case "componentInstances": - return ec.fieldContext_ComponentVersion_componentInstances(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type ComponentVersion", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_updateComponentVersion_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_deleteComponentVersion(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_deleteComponentVersion(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().DeleteComponentVersion(rctx, fc.Args["id"].(string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(string) - fc.Result = res - return ec.marshalNString2string(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_deleteComponentVersion(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_deleteComponentVersion_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_createService(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_createService(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().CreateService(rctx, fc.Args["input"].(model.ServiceInput)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.Service) - fc.Result = res - return ec.marshalNService2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐService(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_createService(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_Service_id(ctx, field) - case "ccrn": - return ec.fieldContext_Service_ccrn(ctx, field) - case "owners": - return ec.fieldContext_Service_owners(ctx, field) - case "supportGroups": - return ec.fieldContext_Service_supportGroups(ctx, field) - case "activities": - return ec.fieldContext_Service_activities(ctx, field) - case "issueRepositories": - return ec.fieldContext_Service_issueRepositories(ctx, field) - case "componentInstances": - return ec.fieldContext_Service_componentInstances(ctx, field) - case "metadata": - return ec.fieldContext_Service_metadata(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type Service", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_createService_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_updateService(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_updateService(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().UpdateService(rctx, fc.Args["id"].(string), fc.Args["input"].(model.ServiceInput)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.Service) - fc.Result = res - return ec.marshalNService2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐService(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_updateService(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_Service_id(ctx, field) - case "ccrn": - return ec.fieldContext_Service_ccrn(ctx, field) - case "owners": - return ec.fieldContext_Service_owners(ctx, field) - case "supportGroups": - return ec.fieldContext_Service_supportGroups(ctx, field) - case "activities": - return ec.fieldContext_Service_activities(ctx, field) - case "issueRepositories": - return ec.fieldContext_Service_issueRepositories(ctx, field) - case "componentInstances": - return ec.fieldContext_Service_componentInstances(ctx, field) - case "metadata": - return ec.fieldContext_Service_metadata(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type Service", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_updateService_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_deleteService(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_deleteService(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().DeleteService(rctx, fc.Args["id"].(string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(string) - fc.Result = res - return ec.marshalNString2string(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_deleteService(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_deleteService_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_addOwnerToService(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_addOwnerToService(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().AddOwnerToService(rctx, fc.Args["serviceId"].(string), fc.Args["userId"].(string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.Service) - fc.Result = res - return ec.marshalNService2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐService(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_addOwnerToService(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_Service_id(ctx, field) - case "ccrn": - return ec.fieldContext_Service_ccrn(ctx, field) - case "owners": - return ec.fieldContext_Service_owners(ctx, field) - case "supportGroups": - return ec.fieldContext_Service_supportGroups(ctx, field) - case "activities": - return ec.fieldContext_Service_activities(ctx, field) - case "issueRepositories": - return ec.fieldContext_Service_issueRepositories(ctx, field) - case "componentInstances": - return ec.fieldContext_Service_componentInstances(ctx, field) - case "metadata": - return ec.fieldContext_Service_metadata(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type Service", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_addOwnerToService_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_removeOwnerFromService(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_removeOwnerFromService(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().RemoveOwnerFromService(rctx, fc.Args["serviceId"].(string), fc.Args["userId"].(string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.Service) - fc.Result = res - return ec.marshalNService2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐService(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_removeOwnerFromService(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_Service_id(ctx, field) - case "ccrn": - return ec.fieldContext_Service_ccrn(ctx, field) - case "owners": - return ec.fieldContext_Service_owners(ctx, field) - case "supportGroups": - return ec.fieldContext_Service_supportGroups(ctx, field) - case "activities": - return ec.fieldContext_Service_activities(ctx, field) - case "issueRepositories": - return ec.fieldContext_Service_issueRepositories(ctx, field) - case "componentInstances": - return ec.fieldContext_Service_componentInstances(ctx, field) - case "metadata": - return ec.fieldContext_Service_metadata(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type Service", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_removeOwnerFromService_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_addIssueRepositoryToService(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_addIssueRepositoryToService(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().AddIssueRepositoryToService(rctx, fc.Args["serviceId"].(string), fc.Args["issueRepositoryId"].(string), fc.Args["priority"].(int)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.Service) - fc.Result = res - return ec.marshalNService2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐService(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_addIssueRepositoryToService(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_Service_id(ctx, field) - case "ccrn": - return ec.fieldContext_Service_ccrn(ctx, field) - case "owners": - return ec.fieldContext_Service_owners(ctx, field) - case "supportGroups": - return ec.fieldContext_Service_supportGroups(ctx, field) - case "activities": - return ec.fieldContext_Service_activities(ctx, field) - case "issueRepositories": - return ec.fieldContext_Service_issueRepositories(ctx, field) - case "componentInstances": - return ec.fieldContext_Service_componentInstances(ctx, field) - case "metadata": - return ec.fieldContext_Service_metadata(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type Service", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_addIssueRepositoryToService_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_removeIssueRepositoryFromService(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_removeIssueRepositoryFromService(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().RemoveIssueRepositoryFromService(rctx, fc.Args["serviceId"].(string), fc.Args["issueRepositoryId"].(string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.Service) - fc.Result = res - return ec.marshalNService2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐService(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_removeIssueRepositoryFromService(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_Service_id(ctx, field) - case "ccrn": - return ec.fieldContext_Service_ccrn(ctx, field) - case "owners": - return ec.fieldContext_Service_owners(ctx, field) - case "supportGroups": - return ec.fieldContext_Service_supportGroups(ctx, field) - case "activities": - return ec.fieldContext_Service_activities(ctx, field) - case "issueRepositories": - return ec.fieldContext_Service_issueRepositories(ctx, field) - case "componentInstances": - return ec.fieldContext_Service_componentInstances(ctx, field) - case "metadata": - return ec.fieldContext_Service_metadata(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type Service", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_removeIssueRepositoryFromService_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_createIssueRepository(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_createIssueRepository(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().CreateIssueRepository(rctx, fc.Args["input"].(model.IssueRepositoryInput)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.IssueRepository) - fc.Result = res - return ec.marshalNIssueRepository2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueRepository(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_createIssueRepository(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_IssueRepository_id(ctx, field) - case "name": - return ec.fieldContext_IssueRepository_name(ctx, field) - case "url": - return ec.fieldContext_IssueRepository_url(ctx, field) - case "issueVariants": - return ec.fieldContext_IssueRepository_issueVariants(ctx, field) - case "services": - return ec.fieldContext_IssueRepository_services(ctx, field) - case "created_at": - return ec.fieldContext_IssueRepository_created_at(ctx, field) - case "updated_at": - return ec.fieldContext_IssueRepository_updated_at(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueRepository", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_createIssueRepository_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_updateIssueRepository(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_updateIssueRepository(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().UpdateIssueRepository(rctx, fc.Args["id"].(string), fc.Args["input"].(model.IssueRepositoryInput)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.IssueRepository) - fc.Result = res - return ec.marshalNIssueRepository2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueRepository(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_updateIssueRepository(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_IssueRepository_id(ctx, field) - case "name": - return ec.fieldContext_IssueRepository_name(ctx, field) - case "url": - return ec.fieldContext_IssueRepository_url(ctx, field) - case "issueVariants": - return ec.fieldContext_IssueRepository_issueVariants(ctx, field) - case "services": - return ec.fieldContext_IssueRepository_services(ctx, field) - case "created_at": - return ec.fieldContext_IssueRepository_created_at(ctx, field) - case "updated_at": - return ec.fieldContext_IssueRepository_updated_at(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueRepository", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_updateIssueRepository_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_deleteIssueRepository(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_deleteIssueRepository(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().DeleteIssueRepository(rctx, fc.Args["id"].(string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(string) - fc.Result = res - return ec.marshalNString2string(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_deleteIssueRepository(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_deleteIssueRepository_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_createIssue(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_createIssue(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().CreateIssue(rctx, fc.Args["input"].(model.IssueInput)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.Issue) - fc.Result = res - return ec.marshalNIssue2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssue(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_createIssue(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_Issue_id(ctx, field) - case "type": - return ec.fieldContext_Issue_type(ctx, field) - case "primaryName": - return ec.fieldContext_Issue_primaryName(ctx, field) - case "description": - return ec.fieldContext_Issue_description(ctx, field) - case "lastModified": - return ec.fieldContext_Issue_lastModified(ctx, field) - case "issueVariants": - return ec.fieldContext_Issue_issueVariants(ctx, field) - case "activities": - return ec.fieldContext_Issue_activities(ctx, field) - case "issueMatches": - return ec.fieldContext_Issue_issueMatches(ctx, field) - case "componentVersions": - return ec.fieldContext_Issue_componentVersions(ctx, field) - case "metadata": - return ec.fieldContext_Issue_metadata(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type Issue", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_createIssue_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_updateIssue(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_updateIssue(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().UpdateIssue(rctx, fc.Args["id"].(string), fc.Args["input"].(model.IssueInput)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.Issue) - fc.Result = res - return ec.marshalNIssue2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssue(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_updateIssue(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_Issue_id(ctx, field) - case "type": - return ec.fieldContext_Issue_type(ctx, field) - case "primaryName": - return ec.fieldContext_Issue_primaryName(ctx, field) - case "description": - return ec.fieldContext_Issue_description(ctx, field) - case "lastModified": - return ec.fieldContext_Issue_lastModified(ctx, field) - case "issueVariants": - return ec.fieldContext_Issue_issueVariants(ctx, field) - case "activities": - return ec.fieldContext_Issue_activities(ctx, field) - case "issueMatches": - return ec.fieldContext_Issue_issueMatches(ctx, field) - case "componentVersions": - return ec.fieldContext_Issue_componentVersions(ctx, field) - case "metadata": - return ec.fieldContext_Issue_metadata(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type Issue", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_updateIssue_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_deleteIssue(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_deleteIssue(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().DeleteIssue(rctx, fc.Args["id"].(string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(string) - fc.Result = res - return ec.marshalNString2string(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_deleteIssue(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_deleteIssue_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_addComponentVersionToIssue(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_addComponentVersionToIssue(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().AddComponentVersionToIssue(rctx, fc.Args["issueId"].(string), fc.Args["componentVersionId"].(string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.Issue) - fc.Result = res - return ec.marshalNIssue2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssue(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_addComponentVersionToIssue(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_Issue_id(ctx, field) - case "type": - return ec.fieldContext_Issue_type(ctx, field) - case "primaryName": - return ec.fieldContext_Issue_primaryName(ctx, field) - case "description": - return ec.fieldContext_Issue_description(ctx, field) - case "lastModified": - return ec.fieldContext_Issue_lastModified(ctx, field) - case "issueVariants": - return ec.fieldContext_Issue_issueVariants(ctx, field) - case "activities": - return ec.fieldContext_Issue_activities(ctx, field) - case "issueMatches": - return ec.fieldContext_Issue_issueMatches(ctx, field) - case "componentVersions": - return ec.fieldContext_Issue_componentVersions(ctx, field) - case "metadata": - return ec.fieldContext_Issue_metadata(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type Issue", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_addComponentVersionToIssue_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_removeComponentVersionFromIssue(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_removeComponentVersionFromIssue(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().RemoveComponentVersionFromIssue(rctx, fc.Args["issueId"].(string), fc.Args["componentVersionId"].(string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.Issue) - fc.Result = res - return ec.marshalNIssue2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssue(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_removeComponentVersionFromIssue(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_Issue_id(ctx, field) - case "type": - return ec.fieldContext_Issue_type(ctx, field) - case "primaryName": - return ec.fieldContext_Issue_primaryName(ctx, field) - case "description": - return ec.fieldContext_Issue_description(ctx, field) - case "lastModified": - return ec.fieldContext_Issue_lastModified(ctx, field) - case "issueVariants": - return ec.fieldContext_Issue_issueVariants(ctx, field) - case "activities": - return ec.fieldContext_Issue_activities(ctx, field) - case "issueMatches": - return ec.fieldContext_Issue_issueMatches(ctx, field) - case "componentVersions": - return ec.fieldContext_Issue_componentVersions(ctx, field) - case "metadata": - return ec.fieldContext_Issue_metadata(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type Issue", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_removeComponentVersionFromIssue_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_createIssueVariant(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_createIssueVariant(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().CreateIssueVariant(rctx, fc.Args["input"].(model.IssueVariantInput)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.IssueVariant) - fc.Result = res - return ec.marshalNIssueVariant2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueVariant(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_createIssueVariant(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_IssueVariant_id(ctx, field) - case "secondaryName": - return ec.fieldContext_IssueVariant_secondaryName(ctx, field) - case "description": - return ec.fieldContext_IssueVariant_description(ctx, field) - case "severity": - return ec.fieldContext_IssueVariant_severity(ctx, field) - case "issueRepositoryId": - return ec.fieldContext_IssueVariant_issueRepositoryId(ctx, field) - case "issueRepository": - return ec.fieldContext_IssueVariant_issueRepository(ctx, field) - case "issueId": - return ec.fieldContext_IssueVariant_issueId(ctx, field) - case "issue": - return ec.fieldContext_IssueVariant_issue(ctx, field) - case "created_at": - return ec.fieldContext_IssueVariant_created_at(ctx, field) - case "updated_at": - return ec.fieldContext_IssueVariant_updated_at(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueVariant", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_createIssueVariant_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_updateIssueVariant(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_updateIssueVariant(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().UpdateIssueVariant(rctx, fc.Args["id"].(string), fc.Args["input"].(model.IssueVariantInput)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.IssueVariant) - fc.Result = res - return ec.marshalNIssueVariant2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueVariant(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_updateIssueVariant(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_IssueVariant_id(ctx, field) - case "secondaryName": - return ec.fieldContext_IssueVariant_secondaryName(ctx, field) - case "description": - return ec.fieldContext_IssueVariant_description(ctx, field) - case "severity": - return ec.fieldContext_IssueVariant_severity(ctx, field) - case "issueRepositoryId": - return ec.fieldContext_IssueVariant_issueRepositoryId(ctx, field) - case "issueRepository": - return ec.fieldContext_IssueVariant_issueRepository(ctx, field) - case "issueId": - return ec.fieldContext_IssueVariant_issueId(ctx, field) - case "issue": - return ec.fieldContext_IssueVariant_issue(ctx, field) - case "created_at": - return ec.fieldContext_IssueVariant_created_at(ctx, field) - case "updated_at": - return ec.fieldContext_IssueVariant_updated_at(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueVariant", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_updateIssueVariant_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_deleteIssueVariant(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_deleteIssueVariant(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().DeleteIssueVariant(rctx, fc.Args["id"].(string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(string) - fc.Result = res - return ec.marshalNString2string(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_deleteIssueVariant(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_deleteIssueVariant_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_createEvidence(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_createEvidence(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().CreateEvidence(rctx, fc.Args["input"].(model.EvidenceInput)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.Evidence) - fc.Result = res - return ec.marshalNEvidence2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐEvidence(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_createEvidence(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_Evidence_id(ctx, field) - case "description": - return ec.fieldContext_Evidence_description(ctx, field) - case "type": - return ec.fieldContext_Evidence_type(ctx, field) - case "vector": - return ec.fieldContext_Evidence_vector(ctx, field) - case "raaEnd": - return ec.fieldContext_Evidence_raaEnd(ctx, field) - case "authorId": - return ec.fieldContext_Evidence_authorId(ctx, field) - case "author": - return ec.fieldContext_Evidence_author(ctx, field) - case "activityId": - return ec.fieldContext_Evidence_activityId(ctx, field) - case "activity": - return ec.fieldContext_Evidence_activity(ctx, field) - case "issueMatches": - return ec.fieldContext_Evidence_issueMatches(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type Evidence", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_createEvidence_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_updateEvidence(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_updateEvidence(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().UpdateEvidence(rctx, fc.Args["id"].(string), fc.Args["input"].(model.EvidenceInput)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.Evidence) - fc.Result = res - return ec.marshalNEvidence2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐEvidence(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_updateEvidence(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_Evidence_id(ctx, field) - case "description": - return ec.fieldContext_Evidence_description(ctx, field) - case "type": - return ec.fieldContext_Evidence_type(ctx, field) - case "vector": - return ec.fieldContext_Evidence_vector(ctx, field) - case "raaEnd": - return ec.fieldContext_Evidence_raaEnd(ctx, field) - case "authorId": - return ec.fieldContext_Evidence_authorId(ctx, field) - case "author": - return ec.fieldContext_Evidence_author(ctx, field) - case "activityId": - return ec.fieldContext_Evidence_activityId(ctx, field) - case "activity": - return ec.fieldContext_Evidence_activity(ctx, field) - case "issueMatches": - return ec.fieldContext_Evidence_issueMatches(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type Evidence", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_updateEvidence_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_deleteEvidence(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_deleteEvidence(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().DeleteEvidence(rctx, fc.Args["id"].(string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(string) - fc.Result = res - return ec.marshalNString2string(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_deleteEvidence(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_deleteEvidence_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_createIssueMatch(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_createIssueMatch(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().CreateIssueMatch(rctx, fc.Args["input"].(model.IssueMatchInput)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.IssueMatch) - fc.Result = res - return ec.marshalNIssueMatch2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatch(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_createIssueMatch(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_IssueMatch_id(ctx, field) - case "status": - return ec.fieldContext_IssueMatch_status(ctx, field) - case "remediationDate": - return ec.fieldContext_IssueMatch_remediationDate(ctx, field) - case "discoveryDate": - return ec.fieldContext_IssueMatch_discoveryDate(ctx, field) - case "targetRemediationDate": - return ec.fieldContext_IssueMatch_targetRemediationDate(ctx, field) - case "severity": - return ec.fieldContext_IssueMatch_severity(ctx, field) - case "effectiveIssueVariants": - return ec.fieldContext_IssueMatch_effectiveIssueVariants(ctx, field) - case "evidences": - return ec.fieldContext_IssueMatch_evidences(ctx, field) - case "issueId": - return ec.fieldContext_IssueMatch_issueId(ctx, field) - case "issue": - return ec.fieldContext_IssueMatch_issue(ctx, field) - case "userId": - return ec.fieldContext_IssueMatch_userId(ctx, field) - case "user": - return ec.fieldContext_IssueMatch_user(ctx, field) - case "componentInstanceId": - return ec.fieldContext_IssueMatch_componentInstanceId(ctx, field) - case "componentInstance": - return ec.fieldContext_IssueMatch_componentInstance(ctx, field) - case "issueMatchChanges": - return ec.fieldContext_IssueMatch_issueMatchChanges(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueMatch", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_createIssueMatch_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_updateIssueMatch(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_updateIssueMatch(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().UpdateIssueMatch(rctx, fc.Args["id"].(string), fc.Args["input"].(model.IssueMatchInput)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.IssueMatch) - fc.Result = res - return ec.marshalNIssueMatch2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatch(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_updateIssueMatch(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_IssueMatch_id(ctx, field) - case "status": - return ec.fieldContext_IssueMatch_status(ctx, field) - case "remediationDate": - return ec.fieldContext_IssueMatch_remediationDate(ctx, field) - case "discoveryDate": - return ec.fieldContext_IssueMatch_discoveryDate(ctx, field) - case "targetRemediationDate": - return ec.fieldContext_IssueMatch_targetRemediationDate(ctx, field) - case "severity": - return ec.fieldContext_IssueMatch_severity(ctx, field) - case "effectiveIssueVariants": - return ec.fieldContext_IssueMatch_effectiveIssueVariants(ctx, field) - case "evidences": - return ec.fieldContext_IssueMatch_evidences(ctx, field) - case "issueId": - return ec.fieldContext_IssueMatch_issueId(ctx, field) - case "issue": - return ec.fieldContext_IssueMatch_issue(ctx, field) - case "userId": - return ec.fieldContext_IssueMatch_userId(ctx, field) - case "user": - return ec.fieldContext_IssueMatch_user(ctx, field) - case "componentInstanceId": - return ec.fieldContext_IssueMatch_componentInstanceId(ctx, field) - case "componentInstance": - return ec.fieldContext_IssueMatch_componentInstance(ctx, field) - case "issueMatchChanges": - return ec.fieldContext_IssueMatch_issueMatchChanges(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueMatch", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_updateIssueMatch_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_deleteIssueMatch(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_deleteIssueMatch(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().DeleteIssueMatch(rctx, fc.Args["id"].(string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(string) - fc.Result = res - return ec.marshalNString2string(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_deleteIssueMatch(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_deleteIssueMatch_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_addEvidenceToIssueMatch(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_addEvidenceToIssueMatch(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().AddEvidenceToIssueMatch(rctx, fc.Args["issueMatchId"].(string), fc.Args["evidenceId"].(string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.IssueMatch) - fc.Result = res - return ec.marshalNIssueMatch2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatch(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_addEvidenceToIssueMatch(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_IssueMatch_id(ctx, field) - case "status": - return ec.fieldContext_IssueMatch_status(ctx, field) - case "remediationDate": - return ec.fieldContext_IssueMatch_remediationDate(ctx, field) - case "discoveryDate": - return ec.fieldContext_IssueMatch_discoveryDate(ctx, field) - case "targetRemediationDate": - return ec.fieldContext_IssueMatch_targetRemediationDate(ctx, field) - case "severity": - return ec.fieldContext_IssueMatch_severity(ctx, field) - case "effectiveIssueVariants": - return ec.fieldContext_IssueMatch_effectiveIssueVariants(ctx, field) - case "evidences": - return ec.fieldContext_IssueMatch_evidences(ctx, field) - case "issueId": - return ec.fieldContext_IssueMatch_issueId(ctx, field) - case "issue": - return ec.fieldContext_IssueMatch_issue(ctx, field) - case "userId": - return ec.fieldContext_IssueMatch_userId(ctx, field) - case "user": - return ec.fieldContext_IssueMatch_user(ctx, field) - case "componentInstanceId": - return ec.fieldContext_IssueMatch_componentInstanceId(ctx, field) - case "componentInstance": - return ec.fieldContext_IssueMatch_componentInstance(ctx, field) - case "issueMatchChanges": - return ec.fieldContext_IssueMatch_issueMatchChanges(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueMatch", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_addEvidenceToIssueMatch_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_removeEvidenceFromIssueMatch(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_removeEvidenceFromIssueMatch(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().RemoveEvidenceFromIssueMatch(rctx, fc.Args["issueMatchId"].(string), fc.Args["evidenceId"].(string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.IssueMatch) - fc.Result = res - return ec.marshalNIssueMatch2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatch(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_removeEvidenceFromIssueMatch(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_IssueMatch_id(ctx, field) - case "status": - return ec.fieldContext_IssueMatch_status(ctx, field) - case "remediationDate": - return ec.fieldContext_IssueMatch_remediationDate(ctx, field) - case "discoveryDate": - return ec.fieldContext_IssueMatch_discoveryDate(ctx, field) - case "targetRemediationDate": - return ec.fieldContext_IssueMatch_targetRemediationDate(ctx, field) - case "severity": - return ec.fieldContext_IssueMatch_severity(ctx, field) - case "effectiveIssueVariants": - return ec.fieldContext_IssueMatch_effectiveIssueVariants(ctx, field) - case "evidences": - return ec.fieldContext_IssueMatch_evidences(ctx, field) - case "issueId": - return ec.fieldContext_IssueMatch_issueId(ctx, field) - case "issue": - return ec.fieldContext_IssueMatch_issue(ctx, field) - case "userId": - return ec.fieldContext_IssueMatch_userId(ctx, field) - case "user": - return ec.fieldContext_IssueMatch_user(ctx, field) - case "componentInstanceId": - return ec.fieldContext_IssueMatch_componentInstanceId(ctx, field) - case "componentInstance": - return ec.fieldContext_IssueMatch_componentInstance(ctx, field) - case "issueMatchChanges": - return ec.fieldContext_IssueMatch_issueMatchChanges(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueMatch", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_removeEvidenceFromIssueMatch_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_createIssueMatchChange(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_createIssueMatchChange(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().CreateIssueMatchChange(rctx, fc.Args["input"].(model.IssueMatchChangeInput)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.IssueMatchChange) - fc.Result = res - return ec.marshalNIssueMatchChange2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchChange(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_createIssueMatchChange(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_IssueMatchChange_id(ctx, field) - case "action": - return ec.fieldContext_IssueMatchChange_action(ctx, field) - case "issueMatchId": - return ec.fieldContext_IssueMatchChange_issueMatchId(ctx, field) - case "issueMatch": - return ec.fieldContext_IssueMatchChange_issueMatch(ctx, field) - case "activityId": - return ec.fieldContext_IssueMatchChange_activityId(ctx, field) - case "activity": - return ec.fieldContext_IssueMatchChange_activity(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueMatchChange", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_createIssueMatchChange_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_updateIssueMatchChange(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_updateIssueMatchChange(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().UpdateIssueMatchChange(rctx, fc.Args["id"].(string), fc.Args["input"].(model.IssueMatchChangeInput)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.IssueMatchChange) - fc.Result = res - return ec.marshalNIssueMatchChange2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchChange(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_updateIssueMatchChange(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_IssueMatchChange_id(ctx, field) - case "action": - return ec.fieldContext_IssueMatchChange_action(ctx, field) - case "issueMatchId": - return ec.fieldContext_IssueMatchChange_issueMatchId(ctx, field) - case "issueMatch": - return ec.fieldContext_IssueMatchChange_issueMatch(ctx, field) - case "activityId": - return ec.fieldContext_IssueMatchChange_activityId(ctx, field) - case "activity": - return ec.fieldContext_IssueMatchChange_activity(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueMatchChange", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_updateIssueMatchChange_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_deleteIssueMatchChange(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_deleteIssueMatchChange(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().DeleteIssueMatchChange(rctx, fc.Args["id"].(string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(string) - fc.Result = res - return ec.marshalNString2string(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_deleteIssueMatchChange(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_deleteIssueMatchChange_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_createActivity(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_createActivity(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().CreateActivity(rctx, fc.Args["input"].(model.ActivityInput)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.Activity) - fc.Result = res - return ec.marshalNActivity2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐActivity(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_createActivity(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_Activity_id(ctx, field) - case "status": - return ec.fieldContext_Activity_status(ctx, field) - case "services": - return ec.fieldContext_Activity_services(ctx, field) - case "issues": - return ec.fieldContext_Activity_issues(ctx, field) - case "evidences": - return ec.fieldContext_Activity_evidences(ctx, field) - case "issueMatchChanges": - return ec.fieldContext_Activity_issueMatchChanges(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type Activity", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_createActivity_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_updateActivity(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_updateActivity(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().UpdateActivity(rctx, fc.Args["id"].(string), fc.Args["input"].(model.ActivityInput)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.Activity) - fc.Result = res - return ec.marshalNActivity2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐActivity(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_updateActivity(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_Activity_id(ctx, field) - case "status": - return ec.fieldContext_Activity_status(ctx, field) - case "services": - return ec.fieldContext_Activity_services(ctx, field) - case "issues": - return ec.fieldContext_Activity_issues(ctx, field) - case "evidences": - return ec.fieldContext_Activity_evidences(ctx, field) - case "issueMatchChanges": - return ec.fieldContext_Activity_issueMatchChanges(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type Activity", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_updateActivity_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_deleteActivity(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_deleteActivity(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().DeleteActivity(rctx, fc.Args["id"].(string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(string) - fc.Result = res - return ec.marshalNString2string(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_deleteActivity(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_deleteActivity_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_addServiceToActivity(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_addServiceToActivity(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().AddServiceToActivity(rctx, fc.Args["activityId"].(string), fc.Args["serviceId"].(string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.Activity) - fc.Result = res - return ec.marshalNActivity2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐActivity(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_addServiceToActivity(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_Activity_id(ctx, field) - case "status": - return ec.fieldContext_Activity_status(ctx, field) - case "services": - return ec.fieldContext_Activity_services(ctx, field) - case "issues": - return ec.fieldContext_Activity_issues(ctx, field) - case "evidences": - return ec.fieldContext_Activity_evidences(ctx, field) - case "issueMatchChanges": - return ec.fieldContext_Activity_issueMatchChanges(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type Activity", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_addServiceToActivity_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_removeServiceFromActivity(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_removeServiceFromActivity(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().RemoveServiceFromActivity(rctx, fc.Args["activityId"].(string), fc.Args["serviceId"].(string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.Activity) - fc.Result = res - return ec.marshalNActivity2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐActivity(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_removeServiceFromActivity(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_Activity_id(ctx, field) - case "status": - return ec.fieldContext_Activity_status(ctx, field) - case "services": - return ec.fieldContext_Activity_services(ctx, field) - case "issues": - return ec.fieldContext_Activity_issues(ctx, field) - case "evidences": - return ec.fieldContext_Activity_evidences(ctx, field) - case "issueMatchChanges": - return ec.fieldContext_Activity_issueMatchChanges(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type Activity", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_removeServiceFromActivity_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_addIssueToActivity(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_addIssueToActivity(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().AddIssueToActivity(rctx, fc.Args["activityId"].(string), fc.Args["issueId"].(string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.Activity) - fc.Result = res - return ec.marshalNActivity2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐActivity(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_addIssueToActivity(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_Activity_id(ctx, field) - case "status": - return ec.fieldContext_Activity_status(ctx, field) - case "services": - return ec.fieldContext_Activity_services(ctx, field) - case "issues": - return ec.fieldContext_Activity_issues(ctx, field) - case "evidences": - return ec.fieldContext_Activity_evidences(ctx, field) - case "issueMatchChanges": - return ec.fieldContext_Activity_issueMatchChanges(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type Activity", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_addIssueToActivity_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Mutation_removeIssueFromActivity(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_removeIssueFromActivity(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().RemoveIssueFromActivity(rctx, fc.Args["activityId"].(string), fc.Args["issueId"].(string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.Activity) - fc.Result = res - return ec.marshalNActivity2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐActivity(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_removeIssueFromActivity(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_Activity_id(ctx, field) - case "status": - return ec.fieldContext_Activity_status(ctx, field) - case "services": - return ec.fieldContext_Activity_services(ctx, field) - case "issues": - return ec.fieldContext_Activity_issues(ctx, field) - case "evidences": - return ec.fieldContext_Activity_evidences(ctx, field) - case "issueMatchChanges": - return ec.fieldContext_Activity_issueMatchChanges(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type Activity", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_removeIssueFromActivity_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Page_after(ctx context.Context, field graphql.CollectedField, obj *model.Page) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Page_after(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.After, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Page_after(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Page", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _Page_isCurrent(ctx context.Context, field graphql.CollectedField, obj *model.Page) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Page_isCurrent(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.IsCurrent, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*bool) - fc.Result = res - return ec.marshalOBoolean2ᚖbool(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Page_isCurrent(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Page", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Boolean does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _Page_pageNumber(ctx context.Context, field graphql.CollectedField, obj *model.Page) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Page_pageNumber(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.PageNumber, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*int) - fc.Result = res - return ec.marshalOInt2ᚖint(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Page_pageNumber(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Page", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Int does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _Page_pageCount(ctx context.Context, field graphql.CollectedField, obj *model.Page) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Page_pageCount(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.PageCount, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*int) - fc.Result = res - return ec.marshalOInt2ᚖint(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Page_pageCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Page", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Int does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _PageInfo_hasNextPage(ctx context.Context, field graphql.CollectedField, obj *model.PageInfo) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_PageInfo_hasNextPage(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.HasNextPage, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*bool) - fc.Result = res - return ec.marshalOBoolean2ᚖbool(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_PageInfo_hasNextPage(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "PageInfo", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Boolean does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _PageInfo_hasPreviousPage(ctx context.Context, field graphql.CollectedField, obj *model.PageInfo) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_PageInfo_hasPreviousPage(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.HasPreviousPage, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*bool) - fc.Result = res - return ec.marshalOBoolean2ᚖbool(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_PageInfo_hasPreviousPage(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "PageInfo", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Boolean does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _PageInfo_isValidPage(ctx context.Context, field graphql.CollectedField, obj *model.PageInfo) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_PageInfo_isValidPage(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.IsValidPage, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*bool) - fc.Result = res - return ec.marshalOBoolean2ᚖbool(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_PageInfo_isValidPage(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "PageInfo", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Boolean does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _PageInfo_pageNumber(ctx context.Context, field graphql.CollectedField, obj *model.PageInfo) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_PageInfo_pageNumber(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.PageNumber, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*int) - fc.Result = res - return ec.marshalOInt2ᚖint(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_PageInfo_pageNumber(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "PageInfo", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Int does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _PageInfo_nextPageAfter(ctx context.Context, field graphql.CollectedField, obj *model.PageInfo) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_PageInfo_nextPageAfter(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.NextPageAfter, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_PageInfo_nextPageAfter(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "PageInfo", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _PageInfo_pages(ctx context.Context, field graphql.CollectedField, obj *model.PageInfo) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_PageInfo_pages(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Pages, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.([]*model.Page) - fc.Result = res - return ec.marshalOPage2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐPage(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_PageInfo_pages(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "PageInfo", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "after": - return ec.fieldContext_Page_after(ctx, field) - case "isCurrent": - return ec.fieldContext_Page_isCurrent(ctx, field) - case "pageNumber": - return ec.fieldContext_Page_pageNumber(ctx, field) - case "pageCount": - return ec.fieldContext_Page_pageCount(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type Page", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _Query_Issues(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Query_Issues(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Query().Issues(rctx, fc.Args["filter"].(*model.IssueFilter), fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.IssueConnection) - fc.Result = res - return ec.marshalOIssueConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Query_Issues(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Query", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_IssueConnection_totalCount(ctx, field) - case "vulnerabilityCount": - return ec.fieldContext_IssueConnection_vulnerabilityCount(ctx, field) - case "policyViolationCount": - return ec.fieldContext_IssueConnection_policyViolationCount(ctx, field) - case "securityEventCount": - return ec.fieldContext_IssueConnection_securityEventCount(ctx, field) - case "edges": - return ec.fieldContext_IssueConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_IssueConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Query_Issues_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Query_IssueMatches(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Query_IssueMatches(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Query().IssueMatches(rctx, fc.Args["filter"].(*model.IssueMatchFilter), fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.IssueMatchConnection) - fc.Result = res - return ec.marshalOIssueMatchConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Query_IssueMatches(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Query", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_IssueMatchConnection_totalCount(ctx, field) - case "edges": - return ec.fieldContext_IssueMatchConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_IssueMatchConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueMatchConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Query_IssueMatches_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Query_IssueMatchChanges(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Query_IssueMatchChanges(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Query().IssueMatchChanges(rctx, fc.Args["filter"].(*model.IssueMatchChangeFilter), fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.IssueMatchChangeConnection) - fc.Result = res - return ec.marshalOIssueMatchChangeConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchChangeConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Query_IssueMatchChanges(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Query", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_IssueMatchChangeConnection_totalCount(ctx, field) - case "edges": - return ec.fieldContext_IssueMatchChangeConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_IssueMatchChangeConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueMatchChangeConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Query_IssueMatchChanges_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Query_Services(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Query_Services(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Query().Services(rctx, fc.Args["filter"].(*model.ServiceFilter), fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.ServiceConnection) - fc.Result = res - return ec.marshalOServiceConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐServiceConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Query_Services(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Query", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_ServiceConnection_totalCount(ctx, field) - case "edges": - return ec.fieldContext_ServiceConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_ServiceConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type ServiceConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Query_Services_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Query_Components(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Query_Components(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Query().Components(rctx, fc.Args["filter"].(*model.ComponentFilter), fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.ComponentConnection) - fc.Result = res - return ec.marshalOComponentConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Query_Components(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Query", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_ComponentConnection_totalCount(ctx, field) - case "edges": - return ec.fieldContext_ComponentConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_ComponentConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type ComponentConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Query_Components_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Query_ComponentVersions(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Query_ComponentVersions(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Query().ComponentVersions(rctx, fc.Args["filter"].(*model.ComponentVersionFilter), fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.ComponentVersionConnection) - fc.Result = res - return ec.marshalOComponentVersionConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentVersionConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Query_ComponentVersions(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Query", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_ComponentVersionConnection_totalCount(ctx, field) - case "edges": - return ec.fieldContext_ComponentVersionConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_ComponentVersionConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type ComponentVersionConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Query_ComponentVersions_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Query_ComponentInstances(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Query_ComponentInstances(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Query().ComponentInstances(rctx, fc.Args["filter"].(*model.ComponentInstanceFilter), fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.ComponentInstanceConnection) - fc.Result = res - return ec.marshalOComponentInstanceConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentInstanceConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Query_ComponentInstances(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Query", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_ComponentInstanceConnection_totalCount(ctx, field) - case "edges": - return ec.fieldContext_ComponentInstanceConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_ComponentInstanceConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type ComponentInstanceConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Query_ComponentInstances_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Query_Activities(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Query_Activities(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Query().Activities(rctx, fc.Args["filter"].(*model.ActivityFilter), fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.ActivityConnection) - fc.Result = res - return ec.marshalOActivityConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐActivityConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Query_Activities(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Query", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_ActivityConnection_totalCount(ctx, field) - case "edges": - return ec.fieldContext_ActivityConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_ActivityConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type ActivityConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Query_Activities_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Query_IssueVariants(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Query_IssueVariants(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Query().IssueVariants(rctx, fc.Args["filter"].(*model.IssueVariantFilter), fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.IssueVariantConnection) - fc.Result = res - return ec.marshalOIssueVariantConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueVariantConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Query_IssueVariants(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Query", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_IssueVariantConnection_totalCount(ctx, field) - case "edges": - return ec.fieldContext_IssueVariantConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_IssueVariantConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueVariantConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Query_IssueVariants_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Query_IssueRepositories(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Query_IssueRepositories(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Query().IssueRepositories(rctx, fc.Args["filter"].(*model.IssueRepositoryFilter), fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.IssueRepositoryConnection) - fc.Result = res - return ec.marshalOIssueRepositoryConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueRepositoryConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Query_IssueRepositories(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Query", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_IssueRepositoryConnection_totalCount(ctx, field) - case "edges": - return ec.fieldContext_IssueRepositoryConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_IssueRepositoryConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueRepositoryConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Query_IssueRepositories_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Query_Evidences(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Query_Evidences(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Query().Evidences(rctx, fc.Args["filter"].(*model.EvidenceFilter), fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.EvidenceConnection) - fc.Result = res - return ec.marshalOEvidenceConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐEvidenceConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Query_Evidences(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Query", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_EvidenceConnection_totalCount(ctx, field) - case "edges": - return ec.fieldContext_EvidenceConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_EvidenceConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type EvidenceConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Query_Evidences_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Query_SupportGroups(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Query_SupportGroups(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Query().SupportGroups(rctx, fc.Args["filter"].(*model.SupportGroupFilter), fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.SupportGroupConnection) - fc.Result = res - return ec.marshalOSupportGroupConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSupportGroupConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Query_SupportGroups(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Query", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_SupportGroupConnection_totalCount(ctx, field) - case "edges": - return ec.fieldContext_SupportGroupConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_SupportGroupConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type SupportGroupConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Query_SupportGroups_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Query_Users(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Query_Users(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Query().Users(rctx, fc.Args["filter"].(*model.UserFilter), fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.UserConnection) - fc.Result = res - return ec.marshalOUserConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐUserConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Query_Users(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Query", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_UserConnection_totalCount(ctx, field) - case "edges": - return ec.fieldContext_UserConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_UserConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type UserConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Query_Users_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Query_ServiceFilterValues(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Query_ServiceFilterValues(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Query().ServiceFilterValues(rctx) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.ServiceFilterValue) - fc.Result = res - return ec.marshalOServiceFilterValue2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐServiceFilterValue(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Query_ServiceFilterValues(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Query", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "serviceCcrn": - return ec.fieldContext_ServiceFilterValue_serviceCcrn(ctx, field) - case "uniqueUserId": - return ec.fieldContext_ServiceFilterValue_uniqueUserId(ctx, field) - case "userName": - return ec.fieldContext_ServiceFilterValue_userName(ctx, field) - case "supportGroupCcrn": - return ec.fieldContext_ServiceFilterValue_supportGroupCcrn(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type ServiceFilterValue", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _Query_IssueMatchFilterValues(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Query_IssueMatchFilterValues(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Query().IssueMatchFilterValues(rctx) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.IssueMatchFilterValue) - fc.Result = res - return ec.marshalOIssueMatchFilterValue2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchFilterValue(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Query_IssueMatchFilterValues(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Query", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "status": - return ec.fieldContext_IssueMatchFilterValue_status(ctx, field) - case "severity": - return ec.fieldContext_IssueMatchFilterValue_severity(ctx, field) - case "issueType": - return ec.fieldContext_IssueMatchFilterValue_issueType(ctx, field) - case "primaryName": - return ec.fieldContext_IssueMatchFilterValue_primaryName(ctx, field) - case "affectedService": - return ec.fieldContext_IssueMatchFilterValue_affectedService(ctx, field) - case "componentCcrn": - return ec.fieldContext_IssueMatchFilterValue_componentCcrn(ctx, field) - case "supportGroupCcrn": - return ec.fieldContext_IssueMatchFilterValue_supportGroupCcrn(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueMatchFilterValue", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _Query_ComponentInstanceFilterValues(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Query_ComponentInstanceFilterValues(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Query().ComponentInstanceFilterValues(rctx) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.ComponentInstanceFilterValue) - fc.Result = res - return ec.marshalOComponentInstanceFilterValue2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentInstanceFilterValue(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Query_ComponentInstanceFilterValues(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Query", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "serviceCcrn": - return ec.fieldContext_ComponentInstanceFilterValue_serviceCcrn(ctx, field) - case "supportGroupCcrn": - return ec.fieldContext_ComponentInstanceFilterValue_supportGroupCcrn(ctx, field) - case "ccrn": - return ec.fieldContext_ComponentInstanceFilterValue_ccrn(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type ComponentInstanceFilterValue", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _Query_ComponentFilterValues(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Query_ComponentFilterValues(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Query().ComponentFilterValues(rctx) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.ComponentFilterValue) - fc.Result = res - return ec.marshalOComponentFilterValue2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentFilterValue(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Query_ComponentFilterValues(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Query", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "componentCcrn": - return ec.fieldContext_ComponentFilterValue_componentCcrn(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type ComponentFilterValue", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _Query___type(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Query___type(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.introspectType(fc.Args["name"].(string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*introspection.Type) - fc.Result = res - return ec.marshalO__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Query___type(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Query", - Field: field, - IsMethod: true, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "kind": - return ec.fieldContext___Type_kind(ctx, field) - case "name": - return ec.fieldContext___Type_name(ctx, field) - case "description": - return ec.fieldContext___Type_description(ctx, field) - case "fields": - return ec.fieldContext___Type_fields(ctx, field) - case "interfaces": - return ec.fieldContext___Type_interfaces(ctx, field) - case "possibleTypes": - return ec.fieldContext___Type_possibleTypes(ctx, field) - case "enumValues": - return ec.fieldContext___Type_enumValues(ctx, field) - case "inputFields": - return ec.fieldContext___Type_inputFields(ctx, field) - case "ofType": - return ec.fieldContext___Type_ofType(ctx, field) - case "specifiedByURL": - return ec.fieldContext___Type_specifiedByURL(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Query___type_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Query___schema(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Query___schema(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.introspectSchema() - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*introspection.Schema) - fc.Result = res - return ec.marshalO__Schema2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐSchema(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Query___schema(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Query", - Field: field, - IsMethod: true, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "description": - return ec.fieldContext___Schema_description(ctx, field) - case "types": - return ec.fieldContext___Schema_types(ctx, field) - case "queryType": - return ec.fieldContext___Schema_queryType(ctx, field) - case "mutationType": - return ec.fieldContext___Schema_mutationType(ctx, field) - case "subscriptionType": - return ec.fieldContext___Schema_subscriptionType(ctx, field) - case "directives": - return ec.fieldContext___Schema_directives(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type __Schema", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _Service_id(ctx context.Context, field graphql.CollectedField, obj *model.Service) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Service_id(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.ID, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(string) - fc.Result = res - return ec.marshalNID2string(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Service_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Service", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type ID does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _Service_ccrn(ctx context.Context, field graphql.CollectedField, obj *model.Service) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Service_ccrn(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Ccrn, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Service_ccrn(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Service", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _Service_owners(ctx context.Context, field graphql.CollectedField, obj *model.Service) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Service_owners(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Service().Owners(rctx, obj, fc.Args["filter"].(*model.UserFilter), fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.UserConnection) - fc.Result = res - return ec.marshalOUserConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐUserConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Service_owners(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Service", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_UserConnection_totalCount(ctx, field) - case "edges": - return ec.fieldContext_UserConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_UserConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type UserConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Service_owners_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Service_supportGroups(ctx context.Context, field graphql.CollectedField, obj *model.Service) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Service_supportGroups(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Service().SupportGroups(rctx, obj, fc.Args["filter"].(*model.SupportGroupFilter), fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.SupportGroupConnection) - fc.Result = res - return ec.marshalOSupportGroupConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSupportGroupConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Service_supportGroups(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Service", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_SupportGroupConnection_totalCount(ctx, field) - case "edges": - return ec.fieldContext_SupportGroupConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_SupportGroupConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type SupportGroupConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Service_supportGroups_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Service_activities(ctx context.Context, field graphql.CollectedField, obj *model.Service) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Service_activities(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Service().Activities(rctx, obj, fc.Args["filter"].(*model.ActivityFilter), fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.ActivityConnection) - fc.Result = res - return ec.marshalOActivityConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐActivityConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Service_activities(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Service", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_ActivityConnection_totalCount(ctx, field) - case "edges": - return ec.fieldContext_ActivityConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_ActivityConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type ActivityConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Service_activities_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Service_issueRepositories(ctx context.Context, field graphql.CollectedField, obj *model.Service) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Service_issueRepositories(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Service().IssueRepositories(rctx, obj, fc.Args["filter"].(*model.IssueRepositoryFilter), fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.IssueRepositoryConnection) - fc.Result = res - return ec.marshalOIssueRepositoryConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueRepositoryConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Service_issueRepositories(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Service", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_IssueRepositoryConnection_totalCount(ctx, field) - case "edges": - return ec.fieldContext_IssueRepositoryConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_IssueRepositoryConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type IssueRepositoryConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Service_issueRepositories_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Service_componentInstances(ctx context.Context, field graphql.CollectedField, obj *model.Service) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Service_componentInstances(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Service().ComponentInstances(rctx, obj, fc.Args["filter"].(*model.ComponentInstanceFilter), fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.ComponentInstanceConnection) - fc.Result = res - return ec.marshalOComponentInstanceConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentInstanceConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Service_componentInstances(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Service", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_ComponentInstanceConnection_totalCount(ctx, field) - case "edges": - return ec.fieldContext_ComponentInstanceConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_ComponentInstanceConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type ComponentInstanceConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Service_componentInstances_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _Service_metadata(ctx context.Context, field graphql.CollectedField, obj *model.Service) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Service_metadata(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Metadata, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.ServiceMetadata) - fc.Result = res - return ec.marshalOServiceMetadata2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐServiceMetadata(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Service_metadata(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Service", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "issueMatchCount": - return ec.fieldContext_ServiceMetadata_issueMatchCount(ctx, field) - case "componentInstanceCount": - return ec.fieldContext_ServiceMetadata_componentInstanceCount(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type ServiceMetadata", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _ServiceConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *model.ServiceConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ServiceConnection_totalCount(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.TotalCount, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(int) - fc.Result = res - return ec.marshalNInt2int(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ServiceConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ServiceConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Int does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _ServiceConnection_edges(ctx context.Context, field graphql.CollectedField, obj *model.ServiceConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ServiceConnection_edges(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Edges, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.([]*model.ServiceEdge) - fc.Result = res - return ec.marshalOServiceEdge2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐServiceEdge(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ServiceConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ServiceConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "node": - return ec.fieldContext_ServiceEdge_node(ctx, field) - case "cursor": - return ec.fieldContext_ServiceEdge_cursor(ctx, field) - case "priority": - return ec.fieldContext_ServiceEdge_priority(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type ServiceEdge", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _ServiceConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *model.ServiceConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ServiceConnection_pageInfo(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.PageInfo, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.PageInfo) - fc.Result = res - return ec.marshalOPageInfo2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐPageInfo(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ServiceConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ServiceConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "hasNextPage": - return ec.fieldContext_PageInfo_hasNextPage(ctx, field) - case "hasPreviousPage": - return ec.fieldContext_PageInfo_hasPreviousPage(ctx, field) - case "isValidPage": - return ec.fieldContext_PageInfo_isValidPage(ctx, field) - case "pageNumber": - return ec.fieldContext_PageInfo_pageNumber(ctx, field) - case "nextPageAfter": - return ec.fieldContext_PageInfo_nextPageAfter(ctx, field) - case "pages": - return ec.fieldContext_PageInfo_pages(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type PageInfo", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _ServiceEdge_node(ctx context.Context, field graphql.CollectedField, obj *model.ServiceEdge) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ServiceEdge_node(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Node, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.Service) - fc.Result = res - return ec.marshalNService2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐService(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ServiceEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ServiceEdge", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_Service_id(ctx, field) - case "ccrn": - return ec.fieldContext_Service_ccrn(ctx, field) - case "owners": - return ec.fieldContext_Service_owners(ctx, field) - case "supportGroups": - return ec.fieldContext_Service_supportGroups(ctx, field) - case "activities": - return ec.fieldContext_Service_activities(ctx, field) - case "issueRepositories": - return ec.fieldContext_Service_issueRepositories(ctx, field) - case "componentInstances": - return ec.fieldContext_Service_componentInstances(ctx, field) - case "metadata": - return ec.fieldContext_Service_metadata(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type Service", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _ServiceEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *model.ServiceEdge) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ServiceEdge_cursor(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Cursor, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ServiceEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ServiceEdge", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _ServiceEdge_priority(ctx context.Context, field graphql.CollectedField, obj *model.ServiceEdge) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ServiceEdge_priority(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Priority, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*int) - fc.Result = res - return ec.marshalOInt2ᚖint(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ServiceEdge_priority(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ServiceEdge", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Int does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _ServiceFilterValue_serviceCcrn(ctx context.Context, field graphql.CollectedField, obj *model.ServiceFilterValue) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ServiceFilterValue_serviceCcrn(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.ServiceFilterValue().ServiceCcrn(rctx, obj, fc.Args["filter"].(*model.ServiceFilter)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.FilterItem) - fc.Result = res - return ec.marshalOFilterItem2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐFilterItem(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ServiceFilterValue_serviceCcrn(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ServiceFilterValue", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "displayName": - return ec.fieldContext_FilterItem_displayName(ctx, field) - case "filterName": - return ec.fieldContext_FilterItem_filterName(ctx, field) - case "values": - return ec.fieldContext_FilterItem_values(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type FilterItem", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_ServiceFilterValue_serviceCcrn_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _ServiceFilterValue_uniqueUserId(ctx context.Context, field graphql.CollectedField, obj *model.ServiceFilterValue) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ServiceFilterValue_uniqueUserId(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.ServiceFilterValue().UniqueUserID(rctx, obj, fc.Args["filter"].(*model.UserFilter)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.FilterItem) - fc.Result = res - return ec.marshalOFilterItem2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐFilterItem(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ServiceFilterValue_uniqueUserId(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ServiceFilterValue", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "displayName": - return ec.fieldContext_FilterItem_displayName(ctx, field) - case "filterName": - return ec.fieldContext_FilterItem_filterName(ctx, field) - case "values": - return ec.fieldContext_FilterItem_values(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type FilterItem", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_ServiceFilterValue_uniqueUserId_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _ServiceFilterValue_userName(ctx context.Context, field graphql.CollectedField, obj *model.ServiceFilterValue) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ServiceFilterValue_userName(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.ServiceFilterValue().UserName(rctx, obj, fc.Args["filter"].(*model.UserFilter)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.FilterItem) - fc.Result = res - return ec.marshalOFilterItem2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐFilterItem(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ServiceFilterValue_userName(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ServiceFilterValue", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "displayName": - return ec.fieldContext_FilterItem_displayName(ctx, field) - case "filterName": - return ec.fieldContext_FilterItem_filterName(ctx, field) - case "values": - return ec.fieldContext_FilterItem_values(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type FilterItem", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_ServiceFilterValue_userName_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _ServiceFilterValue_supportGroupCcrn(ctx context.Context, field graphql.CollectedField, obj *model.ServiceFilterValue) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ServiceFilterValue_supportGroupCcrn(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.ServiceFilterValue().SupportGroupCcrn(rctx, obj, fc.Args["filter"].(*model.SupportGroupFilter)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.FilterItem) - fc.Result = res - return ec.marshalOFilterItem2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐFilterItem(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ServiceFilterValue_supportGroupCcrn(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ServiceFilterValue", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "displayName": - return ec.fieldContext_FilterItem_displayName(ctx, field) - case "filterName": - return ec.fieldContext_FilterItem_filterName(ctx, field) - case "values": - return ec.fieldContext_FilterItem_values(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type FilterItem", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_ServiceFilterValue_supportGroupCcrn_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _ServiceMetadata_issueMatchCount(ctx context.Context, field graphql.CollectedField, obj *model.ServiceMetadata) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ServiceMetadata_issueMatchCount(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.IssueMatchCount, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(int) - fc.Result = res - return ec.marshalNInt2int(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ServiceMetadata_issueMatchCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ServiceMetadata", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Int does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _ServiceMetadata_componentInstanceCount(ctx context.Context, field graphql.CollectedField, obj *model.ServiceMetadata) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ServiceMetadata_componentInstanceCount(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.ComponentInstanceCount, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(int) - fc.Result = res - return ec.marshalNInt2int(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ServiceMetadata_componentInstanceCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ServiceMetadata", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Int does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _Severity_value(ctx context.Context, field graphql.CollectedField, obj *model.Severity) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Severity_value(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Value, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.SeverityValues) - fc.Result = res - return ec.marshalOSeverityValues2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSeverityValues(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Severity_value(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Severity", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type SeverityValues does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _Severity_score(ctx context.Context, field graphql.CollectedField, obj *model.Severity) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Severity_score(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Score, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*float64) - fc.Result = res - return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Severity_score(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Severity", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Float does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _Severity_cvss(ctx context.Context, field graphql.CollectedField, obj *model.Severity) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Severity_cvss(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Cvss, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.Cvss) - fc.Result = res - return ec.marshalOCVSS2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐCvss(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Severity_cvss(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Severity", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "vector": - return ec.fieldContext_CVSS_vector(ctx, field) - case "base": - return ec.fieldContext_CVSS_base(ctx, field) - case "temporal": - return ec.fieldContext_CVSS_temporal(ctx, field) - case "environmental": - return ec.fieldContext_CVSS_environmental(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type CVSS", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _SupportGroup_id(ctx context.Context, field graphql.CollectedField, obj *model.SupportGroup) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_SupportGroup_id(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.ID, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(string) - fc.Result = res - return ec.marshalNID2string(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_SupportGroup_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "SupportGroup", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type ID does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _SupportGroup_ccrn(ctx context.Context, field graphql.CollectedField, obj *model.SupportGroup) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_SupportGroup_ccrn(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Ccrn, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_SupportGroup_ccrn(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "SupportGroup", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _SupportGroup_users(ctx context.Context, field graphql.CollectedField, obj *model.SupportGroup) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_SupportGroup_users(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.SupportGroup().Users(rctx, obj, fc.Args["filter"].(*model.UserFilter), fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.UserConnection) - fc.Result = res - return ec.marshalOUserConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐUserConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_SupportGroup_users(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "SupportGroup", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_UserConnection_totalCount(ctx, field) - case "edges": - return ec.fieldContext_UserConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_UserConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type UserConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_SupportGroup_users_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _SupportGroup_services(ctx context.Context, field graphql.CollectedField, obj *model.SupportGroup) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_SupportGroup_services(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.SupportGroup().Services(rctx, obj, fc.Args["filter"].(*model.ServiceFilter), fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.ServiceConnection) - fc.Result = res - return ec.marshalOServiceConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐServiceConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_SupportGroup_services(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "SupportGroup", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_ServiceConnection_totalCount(ctx, field) - case "edges": - return ec.fieldContext_ServiceConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_ServiceConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type ServiceConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_SupportGroup_services_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _SupportGroupConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *model.SupportGroupConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_SupportGroupConnection_totalCount(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.TotalCount, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(int) - fc.Result = res - return ec.marshalNInt2int(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_SupportGroupConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "SupportGroupConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Int does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _SupportGroupConnection_edges(ctx context.Context, field graphql.CollectedField, obj *model.SupportGroupConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_SupportGroupConnection_edges(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Edges, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.([]*model.SupportGroupEdge) - fc.Result = res - return ec.marshalOSupportGroupEdge2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSupportGroupEdge(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_SupportGroupConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "SupportGroupConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "node": - return ec.fieldContext_SupportGroupEdge_node(ctx, field) - case "cursor": - return ec.fieldContext_SupportGroupEdge_cursor(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type SupportGroupEdge", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _SupportGroupConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *model.SupportGroupConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_SupportGroupConnection_pageInfo(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.PageInfo, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.PageInfo) - fc.Result = res - return ec.marshalOPageInfo2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐPageInfo(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_SupportGroupConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "SupportGroupConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "hasNextPage": - return ec.fieldContext_PageInfo_hasNextPage(ctx, field) - case "hasPreviousPage": - return ec.fieldContext_PageInfo_hasPreviousPage(ctx, field) - case "isValidPage": - return ec.fieldContext_PageInfo_isValidPage(ctx, field) - case "pageNumber": - return ec.fieldContext_PageInfo_pageNumber(ctx, field) - case "nextPageAfter": - return ec.fieldContext_PageInfo_nextPageAfter(ctx, field) - case "pages": - return ec.fieldContext_PageInfo_pages(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type PageInfo", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _SupportGroupEdge_node(ctx context.Context, field graphql.CollectedField, obj *model.SupportGroupEdge) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_SupportGroupEdge_node(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Node, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.SupportGroup) - fc.Result = res - return ec.marshalNSupportGroup2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSupportGroup(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_SupportGroupEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "SupportGroupEdge", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_SupportGroup_id(ctx, field) - case "ccrn": - return ec.fieldContext_SupportGroup_ccrn(ctx, field) - case "users": - return ec.fieldContext_SupportGroup_users(ctx, field) - case "services": - return ec.fieldContext_SupportGroup_services(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type SupportGroup", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _SupportGroupEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *model.SupportGroupEdge) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_SupportGroupEdge_cursor(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Cursor, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_SupportGroupEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "SupportGroupEdge", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _User_id(ctx context.Context, field graphql.CollectedField, obj *model.User) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_User_id(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.ID, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(string) - fc.Result = res - return ec.marshalNID2string(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_User_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "User", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type ID does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _User_uniqueUserId(ctx context.Context, field graphql.CollectedField, obj *model.User) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_User_uniqueUserId(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.UniqueUserID, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_User_uniqueUserId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "User", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _User_type(ctx context.Context, field graphql.CollectedField, obj *model.User) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_User_type(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Type, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(int) - fc.Result = res - return ec.marshalNInt2int(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_User_type(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "User", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Int does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _User_name(ctx context.Context, field graphql.CollectedField, obj *model.User) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_User_name(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Name, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_User_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "User", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _User_supportGroups(ctx context.Context, field graphql.CollectedField, obj *model.User) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_User_supportGroups(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.User().SupportGroups(rctx, obj, fc.Args["filter"].(*model.SupportGroupFilter), fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.SupportGroupConnection) - fc.Result = res - return ec.marshalOSupportGroupConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSupportGroupConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_User_supportGroups(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "User", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_SupportGroupConnection_totalCount(ctx, field) - case "edges": - return ec.fieldContext_SupportGroupConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_SupportGroupConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type SupportGroupConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_User_supportGroups_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _User_services(ctx context.Context, field graphql.CollectedField, obj *model.User) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_User_services(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.User().Services(rctx, obj, fc.Args["filter"].(*model.ServiceFilter), fc.Args["first"].(*int), fc.Args["after"].(*string)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.ServiceConnection) - fc.Result = res - return ec.marshalOServiceConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐServiceConnection(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_User_services(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "User", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "totalCount": - return ec.fieldContext_ServiceConnection_totalCount(ctx, field) - case "edges": - return ec.fieldContext_ServiceConnection_edges(ctx, field) - case "pageInfo": - return ec.fieldContext_ServiceConnection_pageInfo(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type ServiceConnection", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_User_services_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) _UserConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *model.UserConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_UserConnection_totalCount(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.TotalCount, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(int) - fc.Result = res - return ec.marshalNInt2int(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_UserConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "UserConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Int does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _UserConnection_edges(ctx context.Context, field graphql.CollectedField, obj *model.UserConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_UserConnection_edges(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Edges, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.([]*model.UserEdge) - fc.Result = res - return ec.marshalOUserEdge2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐUserEdge(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_UserConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "UserConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "node": - return ec.fieldContext_UserEdge_node(ctx, field) - case "cursor": - return ec.fieldContext_UserEdge_cursor(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type UserEdge", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _UserConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *model.UserConnection) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_UserConnection_pageInfo(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.PageInfo, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*model.PageInfo) - fc.Result = res - return ec.marshalOPageInfo2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐPageInfo(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_UserConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "UserConnection", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "hasNextPage": - return ec.fieldContext_PageInfo_hasNextPage(ctx, field) - case "hasPreviousPage": - return ec.fieldContext_PageInfo_hasPreviousPage(ctx, field) - case "isValidPage": - return ec.fieldContext_PageInfo_isValidPage(ctx, field) - case "pageNumber": - return ec.fieldContext_PageInfo_pageNumber(ctx, field) - case "nextPageAfter": - return ec.fieldContext_PageInfo_nextPageAfter(ctx, field) - case "pages": - return ec.fieldContext_PageInfo_pages(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type PageInfo", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _UserEdge_node(ctx context.Context, field graphql.CollectedField, obj *model.UserEdge) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_UserEdge_node(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Node, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*model.User) - fc.Result = res - return ec.marshalNUser2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐUser(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_UserEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "UserEdge", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_User_id(ctx, field) - case "uniqueUserId": - return ec.fieldContext_User_uniqueUserId(ctx, field) - case "type": - return ec.fieldContext_User_type(ctx, field) - case "name": - return ec.fieldContext_User_name(ctx, field) - case "supportGroups": - return ec.fieldContext_User_supportGroups(ctx, field) - case "services": - return ec.fieldContext_User_services(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type User", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _UserEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *model.UserEdge) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_UserEdge_cursor(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Cursor, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_UserEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "UserEdge", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) ___Directive_name(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) { - fc, err := ec.fieldContext___Directive_name(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Name, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(string) - fc.Result = res - return ec.marshalNString2string(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext___Directive_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "__Directive", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) ___Directive_description(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) { - fc, err := ec.fieldContext___Directive_description(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Description(), nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext___Directive_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "__Directive", - Field: field, - IsMethod: true, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) ___Directive_locations(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) { - fc, err := ec.fieldContext___Directive_locations(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Locations, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.([]string) - fc.Result = res - return ec.marshalN__DirectiveLocation2ᚕstringᚄ(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext___Directive_locations(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "__Directive", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type __DirectiveLocation does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) ___Directive_args(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) { - fc, err := ec.fieldContext___Directive_args(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Args, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.([]introspection.InputValue) - fc.Result = res - return ec.marshalN__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext___Directive_args(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "__Directive", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "name": - return ec.fieldContext___InputValue_name(ctx, field) - case "description": - return ec.fieldContext___InputValue_description(ctx, field) - case "type": - return ec.fieldContext___InputValue_type(ctx, field) - case "defaultValue": - return ec.fieldContext___InputValue_defaultValue(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type __InputValue", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) ___Directive_isRepeatable(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) { - fc, err := ec.fieldContext___Directive_isRepeatable(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.IsRepeatable, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(bool) - fc.Result = res - return ec.marshalNBoolean2bool(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext___Directive_isRepeatable(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "__Directive", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Boolean does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) ___EnumValue_name(ctx context.Context, field graphql.CollectedField, obj *introspection.EnumValue) (ret graphql.Marshaler) { - fc, err := ec.fieldContext___EnumValue_name(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Name, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(string) - fc.Result = res - return ec.marshalNString2string(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext___EnumValue_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "__EnumValue", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) ___EnumValue_description(ctx context.Context, field graphql.CollectedField, obj *introspection.EnumValue) (ret graphql.Marshaler) { - fc, err := ec.fieldContext___EnumValue_description(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Description(), nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext___EnumValue_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "__EnumValue", - Field: field, - IsMethod: true, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) ___EnumValue_isDeprecated(ctx context.Context, field graphql.CollectedField, obj *introspection.EnumValue) (ret graphql.Marshaler) { - fc, err := ec.fieldContext___EnumValue_isDeprecated(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.IsDeprecated(), nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(bool) - fc.Result = res - return ec.marshalNBoolean2bool(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext___EnumValue_isDeprecated(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "__EnumValue", - Field: field, - IsMethod: true, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Boolean does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) ___EnumValue_deprecationReason(ctx context.Context, field graphql.CollectedField, obj *introspection.EnumValue) (ret graphql.Marshaler) { - fc, err := ec.fieldContext___EnumValue_deprecationReason(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.DeprecationReason(), nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext___EnumValue_deprecationReason(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "__EnumValue", - Field: field, - IsMethod: true, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) ___Field_name(ctx context.Context, field graphql.CollectedField, obj *introspection.Field) (ret graphql.Marshaler) { - fc, err := ec.fieldContext___Field_name(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Name, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(string) - fc.Result = res - return ec.marshalNString2string(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext___Field_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "__Field", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) ___Field_description(ctx context.Context, field graphql.CollectedField, obj *introspection.Field) (ret graphql.Marshaler) { - fc, err := ec.fieldContext___Field_description(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Description(), nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext___Field_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "__Field", - Field: field, - IsMethod: true, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) ___Field_args(ctx context.Context, field graphql.CollectedField, obj *introspection.Field) (ret graphql.Marshaler) { - fc, err := ec.fieldContext___Field_args(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Args, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.([]introspection.InputValue) - fc.Result = res - return ec.marshalN__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext___Field_args(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "__Field", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "name": - return ec.fieldContext___InputValue_name(ctx, field) - case "description": - return ec.fieldContext___InputValue_description(ctx, field) - case "type": - return ec.fieldContext___InputValue_type(ctx, field) - case "defaultValue": - return ec.fieldContext___InputValue_defaultValue(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type __InputValue", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) ___Field_type(ctx context.Context, field graphql.CollectedField, obj *introspection.Field) (ret graphql.Marshaler) { - fc, err := ec.fieldContext___Field_type(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Type, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*introspection.Type) - fc.Result = res - return ec.marshalN__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext___Field_type(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "__Field", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "kind": - return ec.fieldContext___Type_kind(ctx, field) - case "name": - return ec.fieldContext___Type_name(ctx, field) - case "description": - return ec.fieldContext___Type_description(ctx, field) - case "fields": - return ec.fieldContext___Type_fields(ctx, field) - case "interfaces": - return ec.fieldContext___Type_interfaces(ctx, field) - case "possibleTypes": - return ec.fieldContext___Type_possibleTypes(ctx, field) - case "enumValues": - return ec.fieldContext___Type_enumValues(ctx, field) - case "inputFields": - return ec.fieldContext___Type_inputFields(ctx, field) - case "ofType": - return ec.fieldContext___Type_ofType(ctx, field) - case "specifiedByURL": - return ec.fieldContext___Type_specifiedByURL(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) ___Field_isDeprecated(ctx context.Context, field graphql.CollectedField, obj *introspection.Field) (ret graphql.Marshaler) { - fc, err := ec.fieldContext___Field_isDeprecated(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.IsDeprecated(), nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(bool) - fc.Result = res - return ec.marshalNBoolean2bool(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext___Field_isDeprecated(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "__Field", - Field: field, - IsMethod: true, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Boolean does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) ___Field_deprecationReason(ctx context.Context, field graphql.CollectedField, obj *introspection.Field) (ret graphql.Marshaler) { - fc, err := ec.fieldContext___Field_deprecationReason(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.DeprecationReason(), nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext___Field_deprecationReason(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "__Field", - Field: field, - IsMethod: true, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) ___InputValue_name(ctx context.Context, field graphql.CollectedField, obj *introspection.InputValue) (ret graphql.Marshaler) { - fc, err := ec.fieldContext___InputValue_name(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Name, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(string) - fc.Result = res - return ec.marshalNString2string(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext___InputValue_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "__InputValue", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) ___InputValue_description(ctx context.Context, field graphql.CollectedField, obj *introspection.InputValue) (ret graphql.Marshaler) { - fc, err := ec.fieldContext___InputValue_description(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Description(), nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext___InputValue_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "__InputValue", - Field: field, - IsMethod: true, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) ___InputValue_type(ctx context.Context, field graphql.CollectedField, obj *introspection.InputValue) (ret graphql.Marshaler) { - fc, err := ec.fieldContext___InputValue_type(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Type, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*introspection.Type) - fc.Result = res - return ec.marshalN__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext___InputValue_type(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "__InputValue", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "kind": - return ec.fieldContext___Type_kind(ctx, field) - case "name": - return ec.fieldContext___Type_name(ctx, field) - case "description": - return ec.fieldContext___Type_description(ctx, field) - case "fields": - return ec.fieldContext___Type_fields(ctx, field) - case "interfaces": - return ec.fieldContext___Type_interfaces(ctx, field) - case "possibleTypes": - return ec.fieldContext___Type_possibleTypes(ctx, field) - case "enumValues": - return ec.fieldContext___Type_enumValues(ctx, field) - case "inputFields": - return ec.fieldContext___Type_inputFields(ctx, field) - case "ofType": - return ec.fieldContext___Type_ofType(ctx, field) - case "specifiedByURL": - return ec.fieldContext___Type_specifiedByURL(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) ___InputValue_defaultValue(ctx context.Context, field graphql.CollectedField, obj *introspection.InputValue) (ret graphql.Marshaler) { - fc, err := ec.fieldContext___InputValue_defaultValue(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.DefaultValue, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext___InputValue_defaultValue(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "__InputValue", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) ___Schema_description(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) { - fc, err := ec.fieldContext___Schema_description(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Description(), nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext___Schema_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "__Schema", - Field: field, - IsMethod: true, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) ___Schema_types(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) { - fc, err := ec.fieldContext___Schema_types(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Types(), nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.([]introspection.Type) - fc.Result = res - return ec.marshalN__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐTypeᚄ(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext___Schema_types(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "__Schema", - Field: field, - IsMethod: true, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "kind": - return ec.fieldContext___Type_kind(ctx, field) - case "name": - return ec.fieldContext___Type_name(ctx, field) - case "description": - return ec.fieldContext___Type_description(ctx, field) - case "fields": - return ec.fieldContext___Type_fields(ctx, field) - case "interfaces": - return ec.fieldContext___Type_interfaces(ctx, field) - case "possibleTypes": - return ec.fieldContext___Type_possibleTypes(ctx, field) - case "enumValues": - return ec.fieldContext___Type_enumValues(ctx, field) - case "inputFields": - return ec.fieldContext___Type_inputFields(ctx, field) - case "ofType": - return ec.fieldContext___Type_ofType(ctx, field) - case "specifiedByURL": - return ec.fieldContext___Type_specifiedByURL(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) ___Schema_queryType(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) { - fc, err := ec.fieldContext___Schema_queryType(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.QueryType(), nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*introspection.Type) - fc.Result = res - return ec.marshalN__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext___Schema_queryType(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "__Schema", - Field: field, - IsMethod: true, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "kind": - return ec.fieldContext___Type_kind(ctx, field) - case "name": - return ec.fieldContext___Type_name(ctx, field) - case "description": - return ec.fieldContext___Type_description(ctx, field) - case "fields": - return ec.fieldContext___Type_fields(ctx, field) - case "interfaces": - return ec.fieldContext___Type_interfaces(ctx, field) - case "possibleTypes": - return ec.fieldContext___Type_possibleTypes(ctx, field) - case "enumValues": - return ec.fieldContext___Type_enumValues(ctx, field) - case "inputFields": - return ec.fieldContext___Type_inputFields(ctx, field) - case "ofType": - return ec.fieldContext___Type_ofType(ctx, field) - case "specifiedByURL": - return ec.fieldContext___Type_specifiedByURL(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) ___Schema_mutationType(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) { - fc, err := ec.fieldContext___Schema_mutationType(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.MutationType(), nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*introspection.Type) - fc.Result = res - return ec.marshalO__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext___Schema_mutationType(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "__Schema", - Field: field, - IsMethod: true, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "kind": - return ec.fieldContext___Type_kind(ctx, field) - case "name": - return ec.fieldContext___Type_name(ctx, field) - case "description": - return ec.fieldContext___Type_description(ctx, field) - case "fields": - return ec.fieldContext___Type_fields(ctx, field) - case "interfaces": - return ec.fieldContext___Type_interfaces(ctx, field) - case "possibleTypes": - return ec.fieldContext___Type_possibleTypes(ctx, field) - case "enumValues": - return ec.fieldContext___Type_enumValues(ctx, field) - case "inputFields": - return ec.fieldContext___Type_inputFields(ctx, field) - case "ofType": - return ec.fieldContext___Type_ofType(ctx, field) - case "specifiedByURL": - return ec.fieldContext___Type_specifiedByURL(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) ___Schema_subscriptionType(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) { - fc, err := ec.fieldContext___Schema_subscriptionType(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.SubscriptionType(), nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*introspection.Type) - fc.Result = res - return ec.marshalO__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext___Schema_subscriptionType(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "__Schema", - Field: field, - IsMethod: true, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "kind": - return ec.fieldContext___Type_kind(ctx, field) - case "name": - return ec.fieldContext___Type_name(ctx, field) - case "description": - return ec.fieldContext___Type_description(ctx, field) - case "fields": - return ec.fieldContext___Type_fields(ctx, field) - case "interfaces": - return ec.fieldContext___Type_interfaces(ctx, field) - case "possibleTypes": - return ec.fieldContext___Type_possibleTypes(ctx, field) - case "enumValues": - return ec.fieldContext___Type_enumValues(ctx, field) - case "inputFields": - return ec.fieldContext___Type_inputFields(ctx, field) - case "ofType": - return ec.fieldContext___Type_ofType(ctx, field) - case "specifiedByURL": - return ec.fieldContext___Type_specifiedByURL(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) ___Schema_directives(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) { - fc, err := ec.fieldContext___Schema_directives(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Directives(), nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.([]introspection.Directive) - fc.Result = res - return ec.marshalN__Directive2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐDirectiveᚄ(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext___Schema_directives(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "__Schema", - Field: field, - IsMethod: true, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "name": - return ec.fieldContext___Directive_name(ctx, field) - case "description": - return ec.fieldContext___Directive_description(ctx, field) - case "locations": - return ec.fieldContext___Directive_locations(ctx, field) - case "args": - return ec.fieldContext___Directive_args(ctx, field) - case "isRepeatable": - return ec.fieldContext___Directive_isRepeatable(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type __Directive", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) ___Type_kind(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) { - fc, err := ec.fieldContext___Type_kind(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Kind(), nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(string) - fc.Result = res - return ec.marshalN__TypeKind2string(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext___Type_kind(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "__Type", - Field: field, - IsMethod: true, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type __TypeKind does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) ___Type_name(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) { - fc, err := ec.fieldContext___Type_name(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Name(), nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext___Type_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "__Type", - Field: field, - IsMethod: true, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) ___Type_description(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) { - fc, err := ec.fieldContext___Type_description(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Description(), nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext___Type_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "__Type", - Field: field, - IsMethod: true, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) ___Type_fields(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) { - fc, err := ec.fieldContext___Type_fields(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Fields(fc.Args["includeDeprecated"].(bool)), nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.([]introspection.Field) - fc.Result = res - return ec.marshalO__Field2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐFieldᚄ(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext___Type_fields(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "__Type", - Field: field, - IsMethod: true, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "name": - return ec.fieldContext___Field_name(ctx, field) - case "description": - return ec.fieldContext___Field_description(ctx, field) - case "args": - return ec.fieldContext___Field_args(ctx, field) - case "type": - return ec.fieldContext___Field_type(ctx, field) - case "isDeprecated": - return ec.fieldContext___Field_isDeprecated(ctx, field) - case "deprecationReason": - return ec.fieldContext___Field_deprecationReason(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type __Field", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field___Type_fields_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) ___Type_interfaces(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) { - fc, err := ec.fieldContext___Type_interfaces(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.Interfaces(), nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.([]introspection.Type) - fc.Result = res - return ec.marshalO__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐTypeᚄ(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext___Type_interfaces(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "__Type", - Field: field, - IsMethod: true, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "kind": - return ec.fieldContext___Type_kind(ctx, field) - case "name": - return ec.fieldContext___Type_name(ctx, field) - case "description": - return ec.fieldContext___Type_description(ctx, field) - case "fields": - return ec.fieldContext___Type_fields(ctx, field) - case "interfaces": - return ec.fieldContext___Type_interfaces(ctx, field) - case "possibleTypes": - return ec.fieldContext___Type_possibleTypes(ctx, field) - case "enumValues": - return ec.fieldContext___Type_enumValues(ctx, field) - case "inputFields": - return ec.fieldContext___Type_inputFields(ctx, field) - case "ofType": - return ec.fieldContext___Type_ofType(ctx, field) - case "specifiedByURL": - return ec.fieldContext___Type_specifiedByURL(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) ___Type_possibleTypes(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) { - fc, err := ec.fieldContext___Type_possibleTypes(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.PossibleTypes(), nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.([]introspection.Type) - fc.Result = res - return ec.marshalO__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐTypeᚄ(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext___Type_possibleTypes(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "__Type", - Field: field, - IsMethod: true, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "kind": - return ec.fieldContext___Type_kind(ctx, field) - case "name": - return ec.fieldContext___Type_name(ctx, field) - case "description": - return ec.fieldContext___Type_description(ctx, field) - case "fields": - return ec.fieldContext___Type_fields(ctx, field) - case "interfaces": - return ec.fieldContext___Type_interfaces(ctx, field) - case "possibleTypes": - return ec.fieldContext___Type_possibleTypes(ctx, field) - case "enumValues": - return ec.fieldContext___Type_enumValues(ctx, field) - case "inputFields": - return ec.fieldContext___Type_inputFields(ctx, field) - case "ofType": - return ec.fieldContext___Type_ofType(ctx, field) - case "specifiedByURL": - return ec.fieldContext___Type_specifiedByURL(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) ___Type_enumValues(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) { - fc, err := ec.fieldContext___Type_enumValues(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.EnumValues(fc.Args["includeDeprecated"].(bool)), nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.([]introspection.EnumValue) - fc.Result = res - return ec.marshalO__EnumValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐEnumValueᚄ(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext___Type_enumValues(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "__Type", - Field: field, - IsMethod: true, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "name": - return ec.fieldContext___EnumValue_name(ctx, field) - case "description": - return ec.fieldContext___EnumValue_description(ctx, field) - case "isDeprecated": - return ec.fieldContext___EnumValue_isDeprecated(ctx, field) - case "deprecationReason": - return ec.fieldContext___EnumValue_deprecationReason(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type __EnumValue", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field___Type_enumValues_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - -func (ec *executionContext) ___Type_inputFields(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) { - fc, err := ec.fieldContext___Type_inputFields(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.InputFields(), nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.([]introspection.InputValue) - fc.Result = res - return ec.marshalO__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext___Type_inputFields(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "__Type", - Field: field, - IsMethod: true, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "name": - return ec.fieldContext___InputValue_name(ctx, field) - case "description": - return ec.fieldContext___InputValue_description(ctx, field) - case "type": - return ec.fieldContext___InputValue_type(ctx, field) - case "defaultValue": - return ec.fieldContext___InputValue_defaultValue(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type __InputValue", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) ___Type_ofType(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) { - fc, err := ec.fieldContext___Type_ofType(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.OfType(), nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*introspection.Type) - fc.Result = res - return ec.marshalO__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext___Type_ofType(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "__Type", - Field: field, - IsMethod: true, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "kind": - return ec.fieldContext___Type_kind(ctx, field) - case "name": - return ec.fieldContext___Type_name(ctx, field) - case "description": - return ec.fieldContext___Type_description(ctx, field) - case "fields": - return ec.fieldContext___Type_fields(ctx, field) - case "interfaces": - return ec.fieldContext___Type_interfaces(ctx, field) - case "possibleTypes": - return ec.fieldContext___Type_possibleTypes(ctx, field) - case "enumValues": - return ec.fieldContext___Type_enumValues(ctx, field) - case "inputFields": - return ec.fieldContext___Type_inputFields(ctx, field) - case "ofType": - return ec.fieldContext___Type_ofType(ctx, field) - case "specifiedByURL": - return ec.fieldContext___Type_specifiedByURL(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) ___Type_specifiedByURL(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) { - fc, err := ec.fieldContext___Type_specifiedByURL(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return obj.SpecifiedByURL(), nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOString2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext___Type_specifiedByURL(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "__Type", - Field: field, - IsMethod: true, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -// endregion **************************** field.gotpl ***************************** - -// region **************************** input.gotpl ***************************** - -func (ec *executionContext) unmarshalInputActivityFilter(ctx context.Context, obj interface{}) (model.ActivityFilter, error) { - var it model.ActivityFilter - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { - asMap[k] = v - } - - fieldsInOrder := [...]string{"serviceCcrn", "status"} - for _, k := range fieldsInOrder { - v, ok := asMap[k] - if !ok { - continue - } - switch k { - case "serviceCcrn": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("serviceCcrn")) - data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) - if err != nil { - return it, err - } - it.ServiceCcrn = data - case "status": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("status")) - data, err := ec.unmarshalOActivityStatusValues2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐActivityStatusValues(ctx, v) - if err != nil { - return it, err - } - it.Status = data - } - } - - return it, nil -} - -func (ec *executionContext) unmarshalInputActivityInput(ctx context.Context, obj interface{}) (model.ActivityInput, error) { - var it model.ActivityInput - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { - asMap[k] = v - } - - fieldsInOrder := [...]string{"status"} - for _, k := range fieldsInOrder { - v, ok := asMap[k] - if !ok { - continue - } - switch k { - case "status": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("status")) - data, err := ec.unmarshalOActivityStatusValues2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐActivityStatusValues(ctx, v) - if err != nil { - return it, err - } - it.Status = data - } - } - - return it, nil -} - -func (ec *executionContext) unmarshalInputComponentFilter(ctx context.Context, obj interface{}) (model.ComponentFilter, error) { - var it model.ComponentFilter - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { - asMap[k] = v - } - - fieldsInOrder := [...]string{"componentCcrn"} - for _, k := range fieldsInOrder { - v, ok := asMap[k] - if !ok { - continue - } - switch k { - case "componentCcrn": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("componentCcrn")) - data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) - if err != nil { - return it, err - } - it.ComponentCcrn = data - } - } - - return it, nil -} - -func (ec *executionContext) unmarshalInputComponentInput(ctx context.Context, obj interface{}) (model.ComponentInput, error) { - var it model.ComponentInput - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { - asMap[k] = v - } - - fieldsInOrder := [...]string{"ccrn", "type"} - for _, k := range fieldsInOrder { - v, ok := asMap[k] - if !ok { - continue - } - switch k { - case "ccrn": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("ccrn")) - data, err := ec.unmarshalOString2ᚖstring(ctx, v) - if err != nil { - return it, err - } - it.Ccrn = data - case "type": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("type")) - data, err := ec.unmarshalOComponentTypeValues2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentTypeValues(ctx, v) - if err != nil { - return it, err - } - it.Type = data - } - } - - return it, nil -} - -func (ec *executionContext) unmarshalInputComponentInstanceFilter(ctx context.Context, obj interface{}) (model.ComponentInstanceFilter, error) { - var it model.ComponentInstanceFilter - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { - asMap[k] = v - } - - fieldsInOrder := [...]string{"serviceCcrn", "ccrn", "supportGroup", "search"} - for _, k := range fieldsInOrder { - v, ok := asMap[k] - if !ok { - continue - } - switch k { - case "serviceCcrn": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("serviceCcrn")) - data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) - if err != nil { - return it, err - } - it.ServiceCcrn = data - case "ccrn": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("ccrn")) - data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) - if err != nil { - return it, err - } - it.Ccrn = data - case "supportGroup": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("supportGroup")) - data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) - if err != nil { - return it, err - } - it.SupportGroup = data - case "search": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("search")) - data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) - if err != nil { - return it, err - } - it.Search = data - } - } - - return it, nil -} - -func (ec *executionContext) unmarshalInputComponentInstanceInput(ctx context.Context, obj interface{}) (model.ComponentInstanceInput, error) { - var it model.ComponentInstanceInput - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { - asMap[k] = v - } - - fieldsInOrder := [...]string{"ccrn", "count", "componentVersionId", "serviceId"} - for _, k := range fieldsInOrder { - v, ok := asMap[k] - if !ok { - continue - } - switch k { - case "ccrn": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("ccrn")) - data, err := ec.unmarshalOString2ᚖstring(ctx, v) - if err != nil { - return it, err - } - it.Ccrn = data - case "count": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("count")) - data, err := ec.unmarshalOInt2ᚖint(ctx, v) - if err != nil { - return it, err - } - it.Count = data - case "componentVersionId": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("componentVersionId")) - data, err := ec.unmarshalOString2ᚖstring(ctx, v) - if err != nil { - return it, err - } - it.ComponentVersionID = data - case "serviceId": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("serviceId")) - data, err := ec.unmarshalOString2ᚖstring(ctx, v) - if err != nil { - return it, err - } - it.ServiceID = data - } - } - - return it, nil -} - -func (ec *executionContext) unmarshalInputComponentVersionFilter(ctx context.Context, obj interface{}) (model.ComponentVersionFilter, error) { - var it model.ComponentVersionFilter - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { - asMap[k] = v - } - - fieldsInOrder := [...]string{"componentId", "componentCcrn", "issueId", "version"} - for _, k := range fieldsInOrder { - v, ok := asMap[k] - if !ok { - continue - } - switch k { - case "componentId": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("componentId")) - data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) - if err != nil { - return it, err - } - it.ComponentID = data - case "componentCcrn": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("componentCcrn")) - data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) - if err != nil { - return it, err - } - it.ComponentCcrn = data - case "issueId": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("issueId")) - data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) - if err != nil { - return it, err - } - it.IssueID = data - case "version": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("version")) - data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) - if err != nil { - return it, err - } - it.Version = data - } - } - - return it, nil -} - -func (ec *executionContext) unmarshalInputComponentVersionInput(ctx context.Context, obj interface{}) (model.ComponentVersionInput, error) { - var it model.ComponentVersionInput - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { - asMap[k] = v - } - - fieldsInOrder := [...]string{"version", "componentId"} - for _, k := range fieldsInOrder { - v, ok := asMap[k] - if !ok { - continue - } - switch k { - case "version": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("version")) - data, err := ec.unmarshalOString2ᚖstring(ctx, v) - if err != nil { - return it, err - } - it.Version = data - case "componentId": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("componentId")) - data, err := ec.unmarshalOString2ᚖstring(ctx, v) - if err != nil { - return it, err - } - it.ComponentID = data - } - } - - return it, nil -} - -func (ec *executionContext) unmarshalInputDateTimeFilter(ctx context.Context, obj interface{}) (model.DateTimeFilter, error) { - var it model.DateTimeFilter - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { - asMap[k] = v - } - - fieldsInOrder := [...]string{"after", "before"} - for _, k := range fieldsInOrder { - v, ok := asMap[k] - if !ok { - continue - } - switch k { - case "after": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("after")) - data, err := ec.unmarshalODateTime2ᚖstring(ctx, v) - if err != nil { - return it, err - } - it.After = data - case "before": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("before")) - data, err := ec.unmarshalODateTime2ᚖstring(ctx, v) - if err != nil { - return it, err - } - it.Before = data - } - } - - return it, nil -} - -func (ec *executionContext) unmarshalInputEvidenceFilter(ctx context.Context, obj interface{}) (model.EvidenceFilter, error) { - var it model.EvidenceFilter - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { - asMap[k] = v - } - - fieldsInOrder := [...]string{"placeholder"} - for _, k := range fieldsInOrder { - v, ok := asMap[k] - if !ok { - continue - } - switch k { - case "placeholder": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("placeholder")) - data, err := ec.unmarshalOBoolean2ᚕᚖbool(ctx, v) - if err != nil { - return it, err - } - it.Placeholder = data - } - } - - return it, nil -} - -func (ec *executionContext) unmarshalInputEvidenceInput(ctx context.Context, obj interface{}) (model.EvidenceInput, error) { - var it model.EvidenceInput - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { - asMap[k] = v - } - - fieldsInOrder := [...]string{"description", "type", "raaEnd", "authorId", "activityId", "severity"} - for _, k := range fieldsInOrder { - v, ok := asMap[k] - if !ok { - continue - } - switch k { - case "description": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("description")) - data, err := ec.unmarshalOString2ᚖstring(ctx, v) - if err != nil { - return it, err - } - it.Description = data - case "type": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("type")) - data, err := ec.unmarshalOString2ᚖstring(ctx, v) - if err != nil { - return it, err - } - it.Type = data - case "raaEnd": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("raaEnd")) - data, err := ec.unmarshalODateTime2ᚖstring(ctx, v) - if err != nil { - return it, err - } - it.RaaEnd = data - case "authorId": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("authorId")) - data, err := ec.unmarshalOString2ᚖstring(ctx, v) - if err != nil { - return it, err - } - it.AuthorID = data - case "activityId": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("activityId")) - data, err := ec.unmarshalOString2ᚖstring(ctx, v) - if err != nil { - return it, err - } - it.ActivityID = data - case "severity": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("severity")) - data, err := ec.unmarshalOSeverityInput2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSeverityInput(ctx, v) - if err != nil { - return it, err - } - it.Severity = data - } - } - - return it, nil -} - -func (ec *executionContext) unmarshalInputIssueFilter(ctx context.Context, obj interface{}) (model.IssueFilter, error) { - var it model.IssueFilter - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { - asMap[k] = v - } - - fieldsInOrder := [...]string{"affectedService", "primaryName", "issueMatchStatus", "issueType", "componentVersionId", "search"} - for _, k := range fieldsInOrder { - v, ok := asMap[k] - if !ok { - continue - } - switch k { - case "affectedService": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("affectedService")) - data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) - if err != nil { - return it, err - } - it.AffectedService = data - case "primaryName": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("primaryName")) - data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) - if err != nil { - return it, err - } - it.PrimaryName = data - case "issueMatchStatus": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("issueMatchStatus")) - data, err := ec.unmarshalOIssueMatchStatusValues2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchStatusValues(ctx, v) - if err != nil { - return it, err - } - it.IssueMatchStatus = data - case "issueType": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("issueType")) - data, err := ec.unmarshalOIssueTypes2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueTypes(ctx, v) - if err != nil { - return it, err - } - it.IssueType = data - case "componentVersionId": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("componentVersionId")) - data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) - if err != nil { - return it, err - } - it.ComponentVersionID = data - case "search": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("search")) - data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) - if err != nil { - return it, err - } - it.Search = data - } - } - - return it, nil -} - -func (ec *executionContext) unmarshalInputIssueInput(ctx context.Context, obj interface{}) (model.IssueInput, error) { - var it model.IssueInput - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { - asMap[k] = v - } - - fieldsInOrder := [...]string{"primaryName", "description", "type"} - for _, k := range fieldsInOrder { - v, ok := asMap[k] - if !ok { - continue - } - switch k { - case "primaryName": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("primaryName")) - data, err := ec.unmarshalOString2ᚖstring(ctx, v) - if err != nil { - return it, err - } - it.PrimaryName = data - case "description": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("description")) - data, err := ec.unmarshalOString2ᚖstring(ctx, v) - if err != nil { - return it, err - } - it.Description = data - case "type": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("type")) - data, err := ec.unmarshalOIssueTypes2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueTypes(ctx, v) - if err != nil { - return it, err - } - it.Type = data - } - } - - return it, nil -} - -func (ec *executionContext) unmarshalInputIssueMatchChangeFilter(ctx context.Context, obj interface{}) (model.IssueMatchChangeFilter, error) { - var it model.IssueMatchChangeFilter - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { - asMap[k] = v - } - - fieldsInOrder := [...]string{"action"} - for _, k := range fieldsInOrder { - v, ok := asMap[k] - if !ok { - continue - } - switch k { - case "action": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("action")) - data, err := ec.unmarshalOIssueMatchChangeActions2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchChangeActions(ctx, v) - if err != nil { - return it, err - } - it.Action = data - } - } - - return it, nil -} - -func (ec *executionContext) unmarshalInputIssueMatchChangeInput(ctx context.Context, obj interface{}) (model.IssueMatchChangeInput, error) { - var it model.IssueMatchChangeInput - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { - asMap[k] = v - } - - fieldsInOrder := [...]string{"action", "issueMatchId", "activityId"} - for _, k := range fieldsInOrder { - v, ok := asMap[k] - if !ok { - continue - } - switch k { - case "action": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("action")) - data, err := ec.unmarshalOIssueMatchChangeActions2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchChangeActions(ctx, v) - if err != nil { - return it, err - } - it.Action = data - case "issueMatchId": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("issueMatchId")) - data, err := ec.unmarshalOString2ᚖstring(ctx, v) - if err != nil { - return it, err - } - it.IssueMatchID = data - case "activityId": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("activityId")) - data, err := ec.unmarshalOString2ᚖstring(ctx, v) - if err != nil { - return it, err - } - it.ActivityID = data - } - } - - return it, nil -} - -func (ec *executionContext) unmarshalInputIssueMatchFilter(ctx context.Context, obj interface{}) (model.IssueMatchFilter, error) { - var it model.IssueMatchFilter - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { - asMap[k] = v - } - - fieldsInOrder := [...]string{"id", "search", "primaryName", "componentCcrn", "issueType", "status", "severity", "affectedService", "supportGroupCcrn"} - for _, k := range fieldsInOrder { - v, ok := asMap[k] - if !ok { - continue - } - switch k { - case "id": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) - data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) - if err != nil { - return it, err - } - it.ID = data - case "search": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("search")) - data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) - if err != nil { - return it, err - } - it.Search = data - case "primaryName": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("primaryName")) - data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) - if err != nil { - return it, err - } - it.PrimaryName = data - case "componentCcrn": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("componentCcrn")) - data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) - if err != nil { - return it, err - } - it.ComponentCcrn = data - case "issueType": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("issueType")) - data, err := ec.unmarshalOIssueTypes2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueTypes(ctx, v) - if err != nil { - return it, err - } - it.IssueType = data - case "status": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("status")) - data, err := ec.unmarshalOIssueMatchStatusValues2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchStatusValues(ctx, v) - if err != nil { - return it, err - } - it.Status = data - case "severity": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("severity")) - data, err := ec.unmarshalOSeverityValues2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSeverityValues(ctx, v) - if err != nil { - return it, err - } - it.Severity = data - case "affectedService": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("affectedService")) - data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) - if err != nil { - return it, err - } - it.AffectedService = data - case "supportGroupCcrn": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("supportGroupCcrn")) - data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) - if err != nil { - return it, err - } - it.SupportGroupCcrn = data - } - } - - return it, nil -} - -func (ec *executionContext) unmarshalInputIssueMatchInput(ctx context.Context, obj interface{}) (model.IssueMatchInput, error) { - var it model.IssueMatchInput - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { - asMap[k] = v - } - - fieldsInOrder := [...]string{"status", "remediationDate", "discoveryDate", "targetRemediationDate", "issueId", "componentInstanceId", "userId"} - for _, k := range fieldsInOrder { - v, ok := asMap[k] - if !ok { - continue - } - switch k { - case "status": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("status")) - data, err := ec.unmarshalOIssueMatchStatusValues2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchStatusValues(ctx, v) - if err != nil { - return it, err - } - it.Status = data - case "remediationDate": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("remediationDate")) - data, err := ec.unmarshalODateTime2ᚖstring(ctx, v) - if err != nil { - return it, err - } - it.RemediationDate = data - case "discoveryDate": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("discoveryDate")) - data, err := ec.unmarshalODateTime2ᚖstring(ctx, v) - if err != nil { - return it, err - } - it.DiscoveryDate = data - case "targetRemediationDate": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("targetRemediationDate")) - data, err := ec.unmarshalODateTime2ᚖstring(ctx, v) - if err != nil { - return it, err - } - it.TargetRemediationDate = data - case "issueId": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("issueId")) - data, err := ec.unmarshalOString2ᚖstring(ctx, v) - if err != nil { - return it, err - } - it.IssueID = data - case "componentInstanceId": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("componentInstanceId")) - data, err := ec.unmarshalOString2ᚖstring(ctx, v) - if err != nil { - return it, err - } - it.ComponentInstanceID = data - case "userId": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("userId")) - data, err := ec.unmarshalOString2ᚖstring(ctx, v) - if err != nil { - return it, err - } - it.UserID = data - } - } - - return it, nil -} - -func (ec *executionContext) unmarshalInputIssueRepositoryFilter(ctx context.Context, obj interface{}) (model.IssueRepositoryFilter, error) { - var it model.IssueRepositoryFilter - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { - asMap[k] = v - } - - fieldsInOrder := [...]string{"serviceCcrn", "serviceId", "name"} - for _, k := range fieldsInOrder { - v, ok := asMap[k] - if !ok { - continue - } - switch k { - case "serviceCcrn": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("serviceCcrn")) - data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) - if err != nil { - return it, err - } - it.ServiceCcrn = data - case "serviceId": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("serviceId")) - data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) - if err != nil { - return it, err - } - it.ServiceID = data - case "name": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) - data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) - if err != nil { - return it, err - } - it.Name = data - } - } - - return it, nil -} - -func (ec *executionContext) unmarshalInputIssueRepositoryInput(ctx context.Context, obj interface{}) (model.IssueRepositoryInput, error) { - var it model.IssueRepositoryInput - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { - asMap[k] = v - } - - fieldsInOrder := [...]string{"name", "url"} - for _, k := range fieldsInOrder { - v, ok := asMap[k] - if !ok { - continue - } - switch k { - case "name": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) - data, err := ec.unmarshalOString2ᚖstring(ctx, v) - if err != nil { - return it, err - } - it.Name = data - case "url": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("url")) - data, err := ec.unmarshalOString2ᚖstring(ctx, v) - if err != nil { - return it, err - } - it.URL = data - } - } - - return it, nil -} - -func (ec *executionContext) unmarshalInputIssueVariantFilter(ctx context.Context, obj interface{}) (model.IssueVariantFilter, error) { - var it model.IssueVariantFilter - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { - asMap[k] = v - } - - fieldsInOrder := [...]string{"secondaryName"} - for _, k := range fieldsInOrder { - v, ok := asMap[k] - if !ok { - continue - } - switch k { - case "secondaryName": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("secondaryName")) - data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) - if err != nil { - return it, err - } - it.SecondaryName = data - } - } - - return it, nil -} - -func (ec *executionContext) unmarshalInputIssueVariantInput(ctx context.Context, obj interface{}) (model.IssueVariantInput, error) { - var it model.IssueVariantInput - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { - asMap[k] = v - } - - fieldsInOrder := [...]string{"secondaryName", "description", "issueRepositoryId", "issueId", "severity"} - for _, k := range fieldsInOrder { - v, ok := asMap[k] - if !ok { - continue - } - switch k { - case "secondaryName": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("secondaryName")) - data, err := ec.unmarshalOString2ᚖstring(ctx, v) - if err != nil { - return it, err - } - it.SecondaryName = data - case "description": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("description")) - data, err := ec.unmarshalOString2ᚖstring(ctx, v) - if err != nil { - return it, err - } - it.Description = data - case "issueRepositoryId": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("issueRepositoryId")) - data, err := ec.unmarshalOString2ᚖstring(ctx, v) - if err != nil { - return it, err - } - it.IssueRepositoryID = data - case "issueId": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("issueId")) - data, err := ec.unmarshalOString2ᚖstring(ctx, v) - if err != nil { - return it, err - } - it.IssueID = data - case "severity": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("severity")) - data, err := ec.unmarshalOSeverityInput2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSeverityInput(ctx, v) - if err != nil { - return it, err - } - it.Severity = data - } - } - - return it, nil -} - -func (ec *executionContext) unmarshalInputServiceFilter(ctx context.Context, obj interface{}) (model.ServiceFilter, error) { - var it model.ServiceFilter - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { - asMap[k] = v - } - - fieldsInOrder := [...]string{"serviceCcrn", "uniqueUserId", "type", "userName", "supportGroupCcrn", "search"} - for _, k := range fieldsInOrder { - v, ok := asMap[k] - if !ok { - continue - } - switch k { - case "serviceCcrn": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("serviceCcrn")) - data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) - if err != nil { - return it, err - } - it.ServiceCcrn = data - case "uniqueUserId": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("uniqueUserId")) - data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) - if err != nil { - return it, err - } - it.UniqueUserID = data - case "type": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("type")) - data, err := ec.unmarshalOInt2ᚕᚖint(ctx, v) - if err != nil { - return it, err - } - it.Type = data - case "userName": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("userName")) - data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) - if err != nil { - return it, err - } - it.UserName = data - case "supportGroupCcrn": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("supportGroupCcrn")) - data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) - if err != nil { - return it, err - } - it.SupportGroupCcrn = data - case "search": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("search")) - data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) - if err != nil { - return it, err - } - it.Search = data - } - } - - return it, nil -} - -func (ec *executionContext) unmarshalInputServiceInput(ctx context.Context, obj interface{}) (model.ServiceInput, error) { - var it model.ServiceInput - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { - asMap[k] = v - } - - fieldsInOrder := [...]string{"ccrn"} - for _, k := range fieldsInOrder { - v, ok := asMap[k] - if !ok { - continue - } - switch k { - case "ccrn": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("ccrn")) - data, err := ec.unmarshalOString2ᚖstring(ctx, v) - if err != nil { - return it, err - } - it.Ccrn = data - } - } - - return it, nil -} - -func (ec *executionContext) unmarshalInputSeverityInput(ctx context.Context, obj interface{}) (model.SeverityInput, error) { - var it model.SeverityInput - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { - asMap[k] = v - } - - fieldsInOrder := [...]string{"vector"} - for _, k := range fieldsInOrder { - v, ok := asMap[k] - if !ok { - continue - } - switch k { - case "vector": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("vector")) - data, err := ec.unmarshalOString2ᚖstring(ctx, v) - if err != nil { - return it, err - } - it.Vector = data - } - } - - return it, nil -} - -func (ec *executionContext) unmarshalInputSupportGroupFilter(ctx context.Context, obj interface{}) (model.SupportGroupFilter, error) { - var it model.SupportGroupFilter - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { - asMap[k] = v - } - - fieldsInOrder := [...]string{"supportGroupCcrn", "userIds"} - for _, k := range fieldsInOrder { - v, ok := asMap[k] - if !ok { - continue - } - switch k { - case "supportGroupCcrn": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("supportGroupCcrn")) - data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) - if err != nil { - return it, err - } - it.SupportGroupCcrn = data - case "userIds": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("userIds")) - data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) - if err != nil { - return it, err - } - it.UserIds = data - } - } - - return it, nil -} - -func (ec *executionContext) unmarshalInputSupportGroupInput(ctx context.Context, obj interface{}) (model.SupportGroupInput, error) { - var it model.SupportGroupInput - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { - asMap[k] = v - } - - fieldsInOrder := [...]string{"ccrn"} - for _, k := range fieldsInOrder { - v, ok := asMap[k] - if !ok { - continue - } - switch k { - case "ccrn": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("ccrn")) - data, err := ec.unmarshalOString2ᚖstring(ctx, v) - if err != nil { - return it, err - } - it.Ccrn = data - } - } - - return it, nil -} - -func (ec *executionContext) unmarshalInputUserFilter(ctx context.Context, obj interface{}) (model.UserFilter, error) { - var it model.UserFilter - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { - asMap[k] = v - } - - fieldsInOrder := [...]string{"userName", "supportGroupIds", "uniqueUserId"} - for _, k := range fieldsInOrder { - v, ok := asMap[k] - if !ok { - continue - } - switch k { - case "userName": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("userName")) - data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) - if err != nil { - return it, err - } - it.UserName = data - case "supportGroupIds": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("supportGroupIds")) - data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) - if err != nil { - return it, err - } - it.SupportGroupIds = data - case "uniqueUserId": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("uniqueUserId")) - data, err := ec.unmarshalOString2ᚕᚖstring(ctx, v) - if err != nil { - return it, err - } - it.UniqueUserID = data - } - } - - return it, nil -} - -func (ec *executionContext) unmarshalInputUserInput(ctx context.Context, obj interface{}) (model.UserInput, error) { - var it model.UserInput - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { - asMap[k] = v - } - - fieldsInOrder := [...]string{"uniqueUserId", "type", "name"} - for _, k := range fieldsInOrder { - v, ok := asMap[k] - if !ok { - continue - } - switch k { - case "uniqueUserId": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("uniqueUserId")) - data, err := ec.unmarshalOString2ᚖstring(ctx, v) - if err != nil { - return it, err - } - it.UniqueUserID = data - case "type": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("type")) - data, err := ec.unmarshalOString2ᚖstring(ctx, v) - if err != nil { - return it, err - } - it.Type = data - case "name": - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) - data, err := ec.unmarshalOString2ᚖstring(ctx, v) - if err != nil { - return it, err - } - it.Name = data - } - } - - return it, nil -} - -// endregion **************************** input.gotpl ***************************** - -// region ************************** interface.gotpl *************************** - -func (ec *executionContext) _Connection(ctx context.Context, sel ast.SelectionSet, obj model.Connection) graphql.Marshaler { - switch obj := (obj).(type) { - case nil: - return graphql.Null - case model.ActivityConnection: - return ec._ActivityConnection(ctx, sel, &obj) - case *model.ActivityConnection: - if obj == nil { - return graphql.Null - } - return ec._ActivityConnection(ctx, sel, obj) - case model.ComponentConnection: - return ec._ComponentConnection(ctx, sel, &obj) - case *model.ComponentConnection: - if obj == nil { - return graphql.Null - } - return ec._ComponentConnection(ctx, sel, obj) - case model.ComponentInstanceConnection: - return ec._ComponentInstanceConnection(ctx, sel, &obj) - case *model.ComponentInstanceConnection: - if obj == nil { - return graphql.Null - } - return ec._ComponentInstanceConnection(ctx, sel, obj) - case model.ComponentVersionConnection: - return ec._ComponentVersionConnection(ctx, sel, &obj) - case *model.ComponentVersionConnection: - if obj == nil { - return graphql.Null - } - return ec._ComponentVersionConnection(ctx, sel, obj) - case model.EvidenceConnection: - return ec._EvidenceConnection(ctx, sel, &obj) - case *model.EvidenceConnection: - if obj == nil { - return graphql.Null - } - return ec._EvidenceConnection(ctx, sel, obj) - case model.IssueConnection: - return ec._IssueConnection(ctx, sel, &obj) - case *model.IssueConnection: - if obj == nil { - return graphql.Null - } - return ec._IssueConnection(ctx, sel, obj) - case model.IssueMatchConnection: - return ec._IssueMatchConnection(ctx, sel, &obj) - case *model.IssueMatchConnection: - if obj == nil { - return graphql.Null - } - return ec._IssueMatchConnection(ctx, sel, obj) - case model.IssueMatchChangeConnection: - return ec._IssueMatchChangeConnection(ctx, sel, &obj) - case *model.IssueMatchChangeConnection: - if obj == nil { - return graphql.Null - } - return ec._IssueMatchChangeConnection(ctx, sel, obj) - case model.IssueRepositoryConnection: - return ec._IssueRepositoryConnection(ctx, sel, &obj) - case *model.IssueRepositoryConnection: - if obj == nil { - return graphql.Null - } - return ec._IssueRepositoryConnection(ctx, sel, obj) - case model.IssueVariantConnection: - return ec._IssueVariantConnection(ctx, sel, &obj) - case *model.IssueVariantConnection: - if obj == nil { - return graphql.Null - } - return ec._IssueVariantConnection(ctx, sel, obj) - case model.ServiceConnection: - return ec._ServiceConnection(ctx, sel, &obj) - case *model.ServiceConnection: - if obj == nil { - return graphql.Null - } - return ec._ServiceConnection(ctx, sel, obj) - case model.SupportGroupConnection: - return ec._SupportGroupConnection(ctx, sel, &obj) - case *model.SupportGroupConnection: - if obj == nil { - return graphql.Null - } - return ec._SupportGroupConnection(ctx, sel, obj) - case model.UserConnection: - return ec._UserConnection(ctx, sel, &obj) - case *model.UserConnection: - if obj == nil { - return graphql.Null - } - return ec._UserConnection(ctx, sel, obj) - default: - panic(fmt.Errorf("unexpected type %T", obj)) - } -} - -func (ec *executionContext) _Edge(ctx context.Context, sel ast.SelectionSet, obj model.Edge) graphql.Marshaler { - switch obj := (obj).(type) { - case nil: - return graphql.Null - case model.ActivityEdge: - return ec._ActivityEdge(ctx, sel, &obj) - case *model.ActivityEdge: - if obj == nil { - return graphql.Null - } - return ec._ActivityEdge(ctx, sel, obj) - case model.ComponentEdge: - return ec._ComponentEdge(ctx, sel, &obj) - case *model.ComponentEdge: - if obj == nil { - return graphql.Null - } - return ec._ComponentEdge(ctx, sel, obj) - case model.ComponentInstanceEdge: - return ec._ComponentInstanceEdge(ctx, sel, &obj) - case *model.ComponentInstanceEdge: - if obj == nil { - return graphql.Null - } - return ec._ComponentInstanceEdge(ctx, sel, obj) - case model.ComponentVersionEdge: - return ec._ComponentVersionEdge(ctx, sel, &obj) - case *model.ComponentVersionEdge: - if obj == nil { - return graphql.Null - } - return ec._ComponentVersionEdge(ctx, sel, obj) - case model.EvidenceEdge: - return ec._EvidenceEdge(ctx, sel, &obj) - case *model.EvidenceEdge: - if obj == nil { - return graphql.Null - } - return ec._EvidenceEdge(ctx, sel, obj) - case model.IssueEdge: - return ec._IssueEdge(ctx, sel, &obj) - case *model.IssueEdge: - if obj == nil { - return graphql.Null - } - return ec._IssueEdge(ctx, sel, obj) - case model.IssueMatchEdge: - return ec._IssueMatchEdge(ctx, sel, &obj) - case *model.IssueMatchEdge: - if obj == nil { - return graphql.Null - } - return ec._IssueMatchEdge(ctx, sel, obj) - case model.IssueMatchChangeEdge: - return ec._IssueMatchChangeEdge(ctx, sel, &obj) - case *model.IssueMatchChangeEdge: - if obj == nil { - return graphql.Null - } - return ec._IssueMatchChangeEdge(ctx, sel, obj) - case model.IssueRepositoryEdge: - return ec._IssueRepositoryEdge(ctx, sel, &obj) - case *model.IssueRepositoryEdge: - if obj == nil { - return graphql.Null - } - return ec._IssueRepositoryEdge(ctx, sel, obj) - case model.IssueVariantEdge: - return ec._IssueVariantEdge(ctx, sel, &obj) - case *model.IssueVariantEdge: - if obj == nil { - return graphql.Null - } - return ec._IssueVariantEdge(ctx, sel, obj) - case model.ServiceEdge: - return ec._ServiceEdge(ctx, sel, &obj) - case *model.ServiceEdge: - if obj == nil { - return graphql.Null - } - return ec._ServiceEdge(ctx, sel, obj) - case model.SupportGroupEdge: - return ec._SupportGroupEdge(ctx, sel, &obj) - case *model.SupportGroupEdge: - if obj == nil { - return graphql.Null - } - return ec._SupportGroupEdge(ctx, sel, obj) - case model.UserEdge: - return ec._UserEdge(ctx, sel, &obj) - case *model.UserEdge: - if obj == nil { - return graphql.Null - } - return ec._UserEdge(ctx, sel, obj) - default: - panic(fmt.Errorf("unexpected type %T", obj)) - } -} - -func (ec *executionContext) _Node(ctx context.Context, sel ast.SelectionSet, obj model.Node) graphql.Marshaler { - switch obj := (obj).(type) { - case nil: - return graphql.Null - case model.Activity: - return ec._Activity(ctx, sel, &obj) - case *model.Activity: - if obj == nil { - return graphql.Null - } - return ec._Activity(ctx, sel, obj) - case model.Component: - return ec._Component(ctx, sel, &obj) - case *model.Component: - if obj == nil { - return graphql.Null - } - return ec._Component(ctx, sel, obj) - case model.ComponentInstance: - return ec._ComponentInstance(ctx, sel, &obj) - case *model.ComponentInstance: - if obj == nil { - return graphql.Null - } - return ec._ComponentInstance(ctx, sel, obj) - case model.ComponentVersion: - return ec._ComponentVersion(ctx, sel, &obj) - case *model.ComponentVersion: - if obj == nil { - return graphql.Null - } - return ec._ComponentVersion(ctx, sel, obj) - case model.Evidence: - return ec._Evidence(ctx, sel, &obj) - case *model.Evidence: - if obj == nil { - return graphql.Null - } - return ec._Evidence(ctx, sel, obj) - case model.Issue: - return ec._Issue(ctx, sel, &obj) - case *model.Issue: - if obj == nil { - return graphql.Null - } - return ec._Issue(ctx, sel, obj) - case model.IssueMatch: - return ec._IssueMatch(ctx, sel, &obj) - case *model.IssueMatch: - if obj == nil { - return graphql.Null - } - return ec._IssueMatch(ctx, sel, obj) - case model.IssueMatchChange: - return ec._IssueMatchChange(ctx, sel, &obj) - case *model.IssueMatchChange: - if obj == nil { - return graphql.Null - } - return ec._IssueMatchChange(ctx, sel, obj) - case model.IssueRepository: - return ec._IssueRepository(ctx, sel, &obj) - case *model.IssueRepository: - if obj == nil { - return graphql.Null - } - return ec._IssueRepository(ctx, sel, obj) - case model.IssueVariant: - return ec._IssueVariant(ctx, sel, &obj) - case *model.IssueVariant: - if obj == nil { - return graphql.Null - } - return ec._IssueVariant(ctx, sel, obj) - case model.Service: - return ec._Service(ctx, sel, &obj) - case *model.Service: - if obj == nil { - return graphql.Null - } - return ec._Service(ctx, sel, obj) - case model.SupportGroup: - return ec._SupportGroup(ctx, sel, &obj) - case *model.SupportGroup: - if obj == nil { - return graphql.Null - } - return ec._SupportGroup(ctx, sel, obj) - case model.User: - return ec._User(ctx, sel, &obj) - case *model.User: - if obj == nil { - return graphql.Null - } - return ec._User(ctx, sel, obj) - default: - panic(fmt.Errorf("unexpected type %T", obj)) - } -} - -// endregion ************************** interface.gotpl *************************** - -// region **************************** object.gotpl **************************** - -var activityImplementors = []string{"Activity", "Node"} - -func (ec *executionContext) _Activity(ctx context.Context, sel ast.SelectionSet, obj *model.Activity) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, activityImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("Activity") - case "id": - out.Values[i] = ec._Activity_id(ctx, field, obj) - if out.Values[i] == graphql.Null { - atomic.AddUint32(&out.Invalids, 1) - } - case "status": - out.Values[i] = ec._Activity_status(ctx, field, obj) - case "services": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._Activity_services(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "issues": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._Activity_issues(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "evidences": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._Activity_evidences(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "issueMatchChanges": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._Activity_issueMatchChanges(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var activityConnectionImplementors = []string{"ActivityConnection", "Connection"} - -func (ec *executionContext) _ActivityConnection(ctx context.Context, sel ast.SelectionSet, obj *model.ActivityConnection) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, activityConnectionImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("ActivityConnection") - case "totalCount": - out.Values[i] = ec._ActivityConnection_totalCount(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "edges": - out.Values[i] = ec._ActivityConnection_edges(ctx, field, obj) - case "pageInfo": - out.Values[i] = ec._ActivityConnection_pageInfo(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var activityEdgeImplementors = []string{"ActivityEdge", "Edge"} - -func (ec *executionContext) _ActivityEdge(ctx context.Context, sel ast.SelectionSet, obj *model.ActivityEdge) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, activityEdgeImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("ActivityEdge") - case "node": - out.Values[i] = ec._ActivityEdge_node(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "cursor": - out.Values[i] = ec._ActivityEdge_cursor(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var cVSSImplementors = []string{"CVSS"} - -func (ec *executionContext) _CVSS(ctx context.Context, sel ast.SelectionSet, obj *model.Cvss) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, cVSSImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("CVSS") - case "vector": - out.Values[i] = ec._CVSS_vector(ctx, field, obj) - case "base": - out.Values[i] = ec._CVSS_base(ctx, field, obj) - case "temporal": - out.Values[i] = ec._CVSS_temporal(ctx, field, obj) - case "environmental": - out.Values[i] = ec._CVSS_environmental(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var cVSSBaseImplementors = []string{"CVSSBase"} - -func (ec *executionContext) _CVSSBase(ctx context.Context, sel ast.SelectionSet, obj *model.CVSSBase) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, cVSSBaseImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("CVSSBase") - case "score": - out.Values[i] = ec._CVSSBase_score(ctx, field, obj) - case "attackVector": - out.Values[i] = ec._CVSSBase_attackVector(ctx, field, obj) - case "attackComplexity": - out.Values[i] = ec._CVSSBase_attackComplexity(ctx, field, obj) - case "privilegesRequired": - out.Values[i] = ec._CVSSBase_privilegesRequired(ctx, field, obj) - case "userInteraction": - out.Values[i] = ec._CVSSBase_userInteraction(ctx, field, obj) - case "scope": - out.Values[i] = ec._CVSSBase_scope(ctx, field, obj) - case "confidentialityImpact": - out.Values[i] = ec._CVSSBase_confidentialityImpact(ctx, field, obj) - case "integrityImpact": - out.Values[i] = ec._CVSSBase_integrityImpact(ctx, field, obj) - case "availabilityImpact": - out.Values[i] = ec._CVSSBase_availabilityImpact(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var cVSSEnvironmentalImplementors = []string{"CVSSEnvironmental"} - -func (ec *executionContext) _CVSSEnvironmental(ctx context.Context, sel ast.SelectionSet, obj *model.CVSSEnvironmental) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, cVSSEnvironmentalImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("CVSSEnvironmental") - case "score": - out.Values[i] = ec._CVSSEnvironmental_score(ctx, field, obj) - case "modifiedAttackVector": - out.Values[i] = ec._CVSSEnvironmental_modifiedAttackVector(ctx, field, obj) - case "modifiedAttackComplexity": - out.Values[i] = ec._CVSSEnvironmental_modifiedAttackComplexity(ctx, field, obj) - case "modifiedPrivilegesRequired": - out.Values[i] = ec._CVSSEnvironmental_modifiedPrivilegesRequired(ctx, field, obj) - case "modifiedUserInteraction": - out.Values[i] = ec._CVSSEnvironmental_modifiedUserInteraction(ctx, field, obj) - case "modifiedScope": - out.Values[i] = ec._CVSSEnvironmental_modifiedScope(ctx, field, obj) - case "modifiedConfidentialityImpact": - out.Values[i] = ec._CVSSEnvironmental_modifiedConfidentialityImpact(ctx, field, obj) - case "modifiedIntegrityImpact": - out.Values[i] = ec._CVSSEnvironmental_modifiedIntegrityImpact(ctx, field, obj) - case "modifiedAvailabilityImpact": - out.Values[i] = ec._CVSSEnvironmental_modifiedAvailabilityImpact(ctx, field, obj) - case "confidentialityRequirement": - out.Values[i] = ec._CVSSEnvironmental_confidentialityRequirement(ctx, field, obj) - case "availabilityRequirement": - out.Values[i] = ec._CVSSEnvironmental_availabilityRequirement(ctx, field, obj) - case "integrityRequirement": - out.Values[i] = ec._CVSSEnvironmental_integrityRequirement(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var cVSSParameterImplementors = []string{"CVSSParameter"} - -func (ec *executionContext) _CVSSParameter(ctx context.Context, sel ast.SelectionSet, obj *model.CVSSParameter) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, cVSSParameterImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("CVSSParameter") - case "name": - out.Values[i] = ec._CVSSParameter_name(ctx, field, obj) - case "value": - out.Values[i] = ec._CVSSParameter_value(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var cVSSTemporalImplementors = []string{"CVSSTemporal"} - -func (ec *executionContext) _CVSSTemporal(ctx context.Context, sel ast.SelectionSet, obj *model.CVSSTemporal) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, cVSSTemporalImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("CVSSTemporal") - case "score": - out.Values[i] = ec._CVSSTemporal_score(ctx, field, obj) - case "exploitCodeMaturity": - out.Values[i] = ec._CVSSTemporal_exploitCodeMaturity(ctx, field, obj) - case "remediationLevel": - out.Values[i] = ec._CVSSTemporal_remediationLevel(ctx, field, obj) - case "reportConfidence": - out.Values[i] = ec._CVSSTemporal_reportConfidence(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var componentImplementors = []string{"Component", "Node"} - -func (ec *executionContext) _Component(ctx context.Context, sel ast.SelectionSet, obj *model.Component) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, componentImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("Component") - case "id": - out.Values[i] = ec._Component_id(ctx, field, obj) - if out.Values[i] == graphql.Null { - atomic.AddUint32(&out.Invalids, 1) - } - case "ccrn": - out.Values[i] = ec._Component_ccrn(ctx, field, obj) - case "type": - out.Values[i] = ec._Component_type(ctx, field, obj) - case "componentVersions": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._Component_componentVersions(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var componentConnectionImplementors = []string{"ComponentConnection", "Connection"} - -func (ec *executionContext) _ComponentConnection(ctx context.Context, sel ast.SelectionSet, obj *model.ComponentConnection) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, componentConnectionImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("ComponentConnection") - case "totalCount": - out.Values[i] = ec._ComponentConnection_totalCount(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "edges": - out.Values[i] = ec._ComponentConnection_edges(ctx, field, obj) - case "pageInfo": - out.Values[i] = ec._ComponentConnection_pageInfo(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var componentEdgeImplementors = []string{"ComponentEdge", "Edge"} - -func (ec *executionContext) _ComponentEdge(ctx context.Context, sel ast.SelectionSet, obj *model.ComponentEdge) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, componentEdgeImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("ComponentEdge") - case "node": - out.Values[i] = ec._ComponentEdge_node(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "cursor": - out.Values[i] = ec._ComponentEdge_cursor(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var componentFilterValueImplementors = []string{"ComponentFilterValue"} - -func (ec *executionContext) _ComponentFilterValue(ctx context.Context, sel ast.SelectionSet, obj *model.ComponentFilterValue) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, componentFilterValueImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("ComponentFilterValue") - case "componentCcrn": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._ComponentFilterValue_componentCcrn(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var componentInstanceImplementors = []string{"ComponentInstance", "Node"} - -func (ec *executionContext) _ComponentInstance(ctx context.Context, sel ast.SelectionSet, obj *model.ComponentInstance) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, componentInstanceImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("ComponentInstance") - case "id": - out.Values[i] = ec._ComponentInstance_id(ctx, field, obj) - if out.Values[i] == graphql.Null { - atomic.AddUint32(&out.Invalids, 1) - } - case "ccrn": - out.Values[i] = ec._ComponentInstance_ccrn(ctx, field, obj) - case "count": - out.Values[i] = ec._ComponentInstance_count(ctx, field, obj) - case "componentVersionId": - out.Values[i] = ec._ComponentInstance_componentVersionId(ctx, field, obj) - case "componentVersion": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._ComponentInstance_componentVersion(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "issueMatches": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._ComponentInstance_issueMatches(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "serviceId": - out.Values[i] = ec._ComponentInstance_serviceId(ctx, field, obj) - case "service": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._ComponentInstance_service(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "createdAt": - out.Values[i] = ec._ComponentInstance_createdAt(ctx, field, obj) - case "updatedAt": - out.Values[i] = ec._ComponentInstance_updatedAt(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var componentInstanceConnectionImplementors = []string{"ComponentInstanceConnection", "Connection"} - -func (ec *executionContext) _ComponentInstanceConnection(ctx context.Context, sel ast.SelectionSet, obj *model.ComponentInstanceConnection) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, componentInstanceConnectionImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("ComponentInstanceConnection") - case "totalCount": - out.Values[i] = ec._ComponentInstanceConnection_totalCount(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "edges": - out.Values[i] = ec._ComponentInstanceConnection_edges(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "pageInfo": - out.Values[i] = ec._ComponentInstanceConnection_pageInfo(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var componentInstanceEdgeImplementors = []string{"ComponentInstanceEdge", "Edge"} - -func (ec *executionContext) _ComponentInstanceEdge(ctx context.Context, sel ast.SelectionSet, obj *model.ComponentInstanceEdge) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, componentInstanceEdgeImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("ComponentInstanceEdge") - case "node": - out.Values[i] = ec._ComponentInstanceEdge_node(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "cursor": - out.Values[i] = ec._ComponentInstanceEdge_cursor(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var componentInstanceFilterValueImplementors = []string{"ComponentInstanceFilterValue"} - -func (ec *executionContext) _ComponentInstanceFilterValue(ctx context.Context, sel ast.SelectionSet, obj *model.ComponentInstanceFilterValue) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, componentInstanceFilterValueImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("ComponentInstanceFilterValue") - case "serviceCcrn": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._ComponentInstanceFilterValue_serviceCcrn(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "supportGroupCcrn": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._ComponentInstanceFilterValue_supportGroupCcrn(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "ccrn": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._ComponentInstanceFilterValue_ccrn(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var componentVersionImplementors = []string{"ComponentVersion", "Node"} - -func (ec *executionContext) _ComponentVersion(ctx context.Context, sel ast.SelectionSet, obj *model.ComponentVersion) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, componentVersionImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("ComponentVersion") - case "id": - out.Values[i] = ec._ComponentVersion_id(ctx, field, obj) - if out.Values[i] == graphql.Null { - atomic.AddUint32(&out.Invalids, 1) - } - case "version": - out.Values[i] = ec._ComponentVersion_version(ctx, field, obj) - case "componentId": - out.Values[i] = ec._ComponentVersion_componentId(ctx, field, obj) - case "component": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._ComponentVersion_component(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "issues": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._ComponentVersion_issues(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "componentInstances": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._ComponentVersion_componentInstances(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var componentVersionConnectionImplementors = []string{"ComponentVersionConnection", "Connection"} - -func (ec *executionContext) _ComponentVersionConnection(ctx context.Context, sel ast.SelectionSet, obj *model.ComponentVersionConnection) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, componentVersionConnectionImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("ComponentVersionConnection") - case "totalCount": - out.Values[i] = ec._ComponentVersionConnection_totalCount(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "edges": - out.Values[i] = ec._ComponentVersionConnection_edges(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "pageInfo": - out.Values[i] = ec._ComponentVersionConnection_pageInfo(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var componentVersionEdgeImplementors = []string{"ComponentVersionEdge", "Edge"} - -func (ec *executionContext) _ComponentVersionEdge(ctx context.Context, sel ast.SelectionSet, obj *model.ComponentVersionEdge) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, componentVersionEdgeImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("ComponentVersionEdge") - case "node": - out.Values[i] = ec._ComponentVersionEdge_node(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "cursor": - out.Values[i] = ec._ComponentVersionEdge_cursor(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var evidenceImplementors = []string{"Evidence", "Node"} - -func (ec *executionContext) _Evidence(ctx context.Context, sel ast.SelectionSet, obj *model.Evidence) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, evidenceImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("Evidence") - case "id": - out.Values[i] = ec._Evidence_id(ctx, field, obj) - if out.Values[i] == graphql.Null { - atomic.AddUint32(&out.Invalids, 1) - } - case "description": - out.Values[i] = ec._Evidence_description(ctx, field, obj) - case "type": - out.Values[i] = ec._Evidence_type(ctx, field, obj) - case "vector": - out.Values[i] = ec._Evidence_vector(ctx, field, obj) - case "raaEnd": - out.Values[i] = ec._Evidence_raaEnd(ctx, field, obj) - case "authorId": - out.Values[i] = ec._Evidence_authorId(ctx, field, obj) - case "author": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._Evidence_author(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "activityId": - out.Values[i] = ec._Evidence_activityId(ctx, field, obj) - case "activity": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._Evidence_activity(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "issueMatches": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._Evidence_issueMatches(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var evidenceConnectionImplementors = []string{"EvidenceConnection", "Connection"} - -func (ec *executionContext) _EvidenceConnection(ctx context.Context, sel ast.SelectionSet, obj *model.EvidenceConnection) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, evidenceConnectionImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("EvidenceConnection") - case "totalCount": - out.Values[i] = ec._EvidenceConnection_totalCount(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "edges": - out.Values[i] = ec._EvidenceConnection_edges(ctx, field, obj) - case "pageInfo": - out.Values[i] = ec._EvidenceConnection_pageInfo(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var evidenceEdgeImplementors = []string{"EvidenceEdge", "Edge"} - -func (ec *executionContext) _EvidenceEdge(ctx context.Context, sel ast.SelectionSet, obj *model.EvidenceEdge) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, evidenceEdgeImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("EvidenceEdge") - case "node": - out.Values[i] = ec._EvidenceEdge_node(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "cursor": - out.Values[i] = ec._EvidenceEdge_cursor(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var filterItemImplementors = []string{"FilterItem"} - -func (ec *executionContext) _FilterItem(ctx context.Context, sel ast.SelectionSet, obj *model.FilterItem) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, filterItemImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("FilterItem") - case "displayName": - out.Values[i] = ec._FilterItem_displayName(ctx, field, obj) - case "filterName": - out.Values[i] = ec._FilterItem_filterName(ctx, field, obj) - case "values": - out.Values[i] = ec._FilterItem_values(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var issueImplementors = []string{"Issue", "Node"} - -func (ec *executionContext) _Issue(ctx context.Context, sel ast.SelectionSet, obj *model.Issue) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, issueImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("Issue") - case "id": - out.Values[i] = ec._Issue_id(ctx, field, obj) - if out.Values[i] == graphql.Null { - atomic.AddUint32(&out.Invalids, 1) - } - case "type": - out.Values[i] = ec._Issue_type(ctx, field, obj) - case "primaryName": - out.Values[i] = ec._Issue_primaryName(ctx, field, obj) - case "description": - out.Values[i] = ec._Issue_description(ctx, field, obj) - case "lastModified": - out.Values[i] = ec._Issue_lastModified(ctx, field, obj) - case "issueVariants": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._Issue_issueVariants(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "activities": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._Issue_activities(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "issueMatches": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._Issue_issueMatches(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "componentVersions": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._Issue_componentVersions(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "metadata": - out.Values[i] = ec._Issue_metadata(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var issueConnectionImplementors = []string{"IssueConnection", "Connection"} - -func (ec *executionContext) _IssueConnection(ctx context.Context, sel ast.SelectionSet, obj *model.IssueConnection) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, issueConnectionImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("IssueConnection") - case "totalCount": - out.Values[i] = ec._IssueConnection_totalCount(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "vulnerabilityCount": - out.Values[i] = ec._IssueConnection_vulnerabilityCount(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "policyViolationCount": - out.Values[i] = ec._IssueConnection_policyViolationCount(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "securityEventCount": - out.Values[i] = ec._IssueConnection_securityEventCount(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "edges": - out.Values[i] = ec._IssueConnection_edges(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "pageInfo": - out.Values[i] = ec._IssueConnection_pageInfo(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var issueEdgeImplementors = []string{"IssueEdge", "Edge"} - -func (ec *executionContext) _IssueEdge(ctx context.Context, sel ast.SelectionSet, obj *model.IssueEdge) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, issueEdgeImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("IssueEdge") - case "node": - out.Values[i] = ec._IssueEdge_node(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "cursor": - out.Values[i] = ec._IssueEdge_cursor(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var issueMatchImplementors = []string{"IssueMatch", "Node"} - -func (ec *executionContext) _IssueMatch(ctx context.Context, sel ast.SelectionSet, obj *model.IssueMatch) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, issueMatchImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("IssueMatch") - case "id": - out.Values[i] = ec._IssueMatch_id(ctx, field, obj) - if out.Values[i] == graphql.Null { - atomic.AddUint32(&out.Invalids, 1) - } - case "status": - out.Values[i] = ec._IssueMatch_status(ctx, field, obj) - case "remediationDate": - out.Values[i] = ec._IssueMatch_remediationDate(ctx, field, obj) - case "discoveryDate": - out.Values[i] = ec._IssueMatch_discoveryDate(ctx, field, obj) - case "targetRemediationDate": - out.Values[i] = ec._IssueMatch_targetRemediationDate(ctx, field, obj) - case "severity": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._IssueMatch_severity(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "effectiveIssueVariants": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._IssueMatch_effectiveIssueVariants(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "evidences": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._IssueMatch_evidences(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "issueId": - out.Values[i] = ec._IssueMatch_issueId(ctx, field, obj) - case "issue": - field := field - - innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._IssueMatch_issue(ctx, field, obj) - if res == graphql.Null { - atomic.AddUint32(&fs.Invalids, 1) - } - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "userId": - out.Values[i] = ec._IssueMatch_userId(ctx, field, obj) - case "user": - out.Values[i] = ec._IssueMatch_user(ctx, field, obj) - case "componentInstanceId": - out.Values[i] = ec._IssueMatch_componentInstanceId(ctx, field, obj) - case "componentInstance": - field := field - - innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._IssueMatch_componentInstance(ctx, field, obj) - if res == graphql.Null { - atomic.AddUint32(&fs.Invalids, 1) - } - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "issueMatchChanges": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._IssueMatch_issueMatchChanges(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var issueMatchChangeImplementors = []string{"IssueMatchChange", "Node"} - -func (ec *executionContext) _IssueMatchChange(ctx context.Context, sel ast.SelectionSet, obj *model.IssueMatchChange) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, issueMatchChangeImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("IssueMatchChange") - case "id": - out.Values[i] = ec._IssueMatchChange_id(ctx, field, obj) - if out.Values[i] == graphql.Null { - atomic.AddUint32(&out.Invalids, 1) - } - case "action": - out.Values[i] = ec._IssueMatchChange_action(ctx, field, obj) - case "issueMatchId": - out.Values[i] = ec._IssueMatchChange_issueMatchId(ctx, field, obj) - case "issueMatch": - field := field - - innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._IssueMatchChange_issueMatch(ctx, field, obj) - if res == graphql.Null { - atomic.AddUint32(&fs.Invalids, 1) - } - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "activityId": - out.Values[i] = ec._IssueMatchChange_activityId(ctx, field, obj) - case "activity": - field := field - - innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._IssueMatchChange_activity(ctx, field, obj) - if res == graphql.Null { - atomic.AddUint32(&fs.Invalids, 1) - } - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var issueMatchChangeConnectionImplementors = []string{"IssueMatchChangeConnection", "Connection"} - -func (ec *executionContext) _IssueMatchChangeConnection(ctx context.Context, sel ast.SelectionSet, obj *model.IssueMatchChangeConnection) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, issueMatchChangeConnectionImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("IssueMatchChangeConnection") - case "totalCount": - out.Values[i] = ec._IssueMatchChangeConnection_totalCount(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "edges": - out.Values[i] = ec._IssueMatchChangeConnection_edges(ctx, field, obj) - case "pageInfo": - out.Values[i] = ec._IssueMatchChangeConnection_pageInfo(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var issueMatchChangeEdgeImplementors = []string{"IssueMatchChangeEdge", "Edge"} - -func (ec *executionContext) _IssueMatchChangeEdge(ctx context.Context, sel ast.SelectionSet, obj *model.IssueMatchChangeEdge) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, issueMatchChangeEdgeImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("IssueMatchChangeEdge") - case "node": - out.Values[i] = ec._IssueMatchChangeEdge_node(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "cursor": - out.Values[i] = ec._IssueMatchChangeEdge_cursor(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var issueMatchConnectionImplementors = []string{"IssueMatchConnection", "Connection"} - -func (ec *executionContext) _IssueMatchConnection(ctx context.Context, sel ast.SelectionSet, obj *model.IssueMatchConnection) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, issueMatchConnectionImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("IssueMatchConnection") - case "totalCount": - out.Values[i] = ec._IssueMatchConnection_totalCount(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "edges": - out.Values[i] = ec._IssueMatchConnection_edges(ctx, field, obj) - case "pageInfo": - out.Values[i] = ec._IssueMatchConnection_pageInfo(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var issueMatchEdgeImplementors = []string{"IssueMatchEdge", "Edge"} - -func (ec *executionContext) _IssueMatchEdge(ctx context.Context, sel ast.SelectionSet, obj *model.IssueMatchEdge) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, issueMatchEdgeImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("IssueMatchEdge") - case "node": - out.Values[i] = ec._IssueMatchEdge_node(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "cursor": - out.Values[i] = ec._IssueMatchEdge_cursor(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var issueMatchFilterValueImplementors = []string{"IssueMatchFilterValue"} - -func (ec *executionContext) _IssueMatchFilterValue(ctx context.Context, sel ast.SelectionSet, obj *model.IssueMatchFilterValue) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, issueMatchFilterValueImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("IssueMatchFilterValue") - case "status": - out.Values[i] = ec._IssueMatchFilterValue_status(ctx, field, obj) - case "severity": - out.Values[i] = ec._IssueMatchFilterValue_severity(ctx, field, obj) - case "issueType": - out.Values[i] = ec._IssueMatchFilterValue_issueType(ctx, field, obj) - case "primaryName": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._IssueMatchFilterValue_primaryName(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "affectedService": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._IssueMatchFilterValue_affectedService(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "componentCcrn": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._IssueMatchFilterValue_componentCcrn(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "supportGroupCcrn": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._IssueMatchFilterValue_supportGroupCcrn(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var issueMetadataImplementors = []string{"IssueMetadata"} - -func (ec *executionContext) _IssueMetadata(ctx context.Context, sel ast.SelectionSet, obj *model.IssueMetadata) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, issueMetadataImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("IssueMetadata") - case "serviceCount": - out.Values[i] = ec._IssueMetadata_serviceCount(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "activityCount": - out.Values[i] = ec._IssueMetadata_activityCount(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "issueMatchCount": - out.Values[i] = ec._IssueMetadata_issueMatchCount(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "componentInstanceCount": - out.Values[i] = ec._IssueMetadata_componentInstanceCount(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "componentVersionCount": - out.Values[i] = ec._IssueMetadata_componentVersionCount(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "earliestDiscoveryDate": - out.Values[i] = ec._IssueMetadata_earliestDiscoveryDate(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "earliestTargetRemediationDate": - out.Values[i] = ec._IssueMetadata_earliestTargetRemediationDate(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var issueRepositoryImplementors = []string{"IssueRepository", "Node"} - -func (ec *executionContext) _IssueRepository(ctx context.Context, sel ast.SelectionSet, obj *model.IssueRepository) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, issueRepositoryImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("IssueRepository") - case "id": - out.Values[i] = ec._IssueRepository_id(ctx, field, obj) - if out.Values[i] == graphql.Null { - atomic.AddUint32(&out.Invalids, 1) - } - case "name": - out.Values[i] = ec._IssueRepository_name(ctx, field, obj) - case "url": - out.Values[i] = ec._IssueRepository_url(ctx, field, obj) - case "issueVariants": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._IssueRepository_issueVariants(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "services": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._IssueRepository_services(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "created_at": - out.Values[i] = ec._IssueRepository_created_at(ctx, field, obj) - case "updated_at": - out.Values[i] = ec._IssueRepository_updated_at(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var issueRepositoryConnectionImplementors = []string{"IssueRepositoryConnection", "Connection"} - -func (ec *executionContext) _IssueRepositoryConnection(ctx context.Context, sel ast.SelectionSet, obj *model.IssueRepositoryConnection) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, issueRepositoryConnectionImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("IssueRepositoryConnection") - case "totalCount": - out.Values[i] = ec._IssueRepositoryConnection_totalCount(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "edges": - out.Values[i] = ec._IssueRepositoryConnection_edges(ctx, field, obj) - case "pageInfo": - out.Values[i] = ec._IssueRepositoryConnection_pageInfo(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var issueRepositoryEdgeImplementors = []string{"IssueRepositoryEdge", "Edge"} - -func (ec *executionContext) _IssueRepositoryEdge(ctx context.Context, sel ast.SelectionSet, obj *model.IssueRepositoryEdge) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, issueRepositoryEdgeImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("IssueRepositoryEdge") - case "node": - out.Values[i] = ec._IssueRepositoryEdge_node(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "cursor": - out.Values[i] = ec._IssueRepositoryEdge_cursor(ctx, field, obj) - case "priority": - out.Values[i] = ec._IssueRepositoryEdge_priority(ctx, field, obj) - case "created_at": - out.Values[i] = ec._IssueRepositoryEdge_created_at(ctx, field, obj) - case "updated_at": - out.Values[i] = ec._IssueRepositoryEdge_updated_at(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var issueVariantImplementors = []string{"IssueVariant", "Node"} - -func (ec *executionContext) _IssueVariant(ctx context.Context, sel ast.SelectionSet, obj *model.IssueVariant) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, issueVariantImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("IssueVariant") - case "id": - out.Values[i] = ec._IssueVariant_id(ctx, field, obj) - if out.Values[i] == graphql.Null { - atomic.AddUint32(&out.Invalids, 1) - } - case "secondaryName": - out.Values[i] = ec._IssueVariant_secondaryName(ctx, field, obj) - case "description": - out.Values[i] = ec._IssueVariant_description(ctx, field, obj) - case "severity": - out.Values[i] = ec._IssueVariant_severity(ctx, field, obj) - case "issueRepositoryId": - out.Values[i] = ec._IssueVariant_issueRepositoryId(ctx, field, obj) - case "issueRepository": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._IssueVariant_issueRepository(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "issueId": - out.Values[i] = ec._IssueVariant_issueId(ctx, field, obj) - case "issue": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._IssueVariant_issue(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "created_at": - out.Values[i] = ec._IssueVariant_created_at(ctx, field, obj) - case "updated_at": - out.Values[i] = ec._IssueVariant_updated_at(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var issueVariantConnectionImplementors = []string{"IssueVariantConnection", "Connection"} - -func (ec *executionContext) _IssueVariantConnection(ctx context.Context, sel ast.SelectionSet, obj *model.IssueVariantConnection) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, issueVariantConnectionImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("IssueVariantConnection") - case "totalCount": - out.Values[i] = ec._IssueVariantConnection_totalCount(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "edges": - out.Values[i] = ec._IssueVariantConnection_edges(ctx, field, obj) - case "pageInfo": - out.Values[i] = ec._IssueVariantConnection_pageInfo(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var issueVariantEdgeImplementors = []string{"IssueVariantEdge", "Edge"} - -func (ec *executionContext) _IssueVariantEdge(ctx context.Context, sel ast.SelectionSet, obj *model.IssueVariantEdge) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, issueVariantEdgeImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("IssueVariantEdge") - case "node": - out.Values[i] = ec._IssueVariantEdge_node(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "cursor": - out.Values[i] = ec._IssueVariantEdge_cursor(ctx, field, obj) - case "created_at": - out.Values[i] = ec._IssueVariantEdge_created_at(ctx, field, obj) - case "updated_at": - out.Values[i] = ec._IssueVariantEdge_updated_at(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var mutationImplementors = []string{"Mutation"} - -func (ec *executionContext) _Mutation(ctx context.Context, sel ast.SelectionSet) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, mutationImplementors) - ctx = graphql.WithFieldContext(ctx, &graphql.FieldContext{ - Object: "Mutation", - }) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - innerCtx := graphql.WithRootFieldContext(ctx, &graphql.RootFieldContext{ - Object: field.Name, - Field: field, - }) - - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("Mutation") - case "createUser": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_createUser(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "updateUser": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_updateUser(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "deleteUser": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_deleteUser(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "createSupportGroup": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_createSupportGroup(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "updateSupportGroup": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_updateSupportGroup(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "deleteSupportGroup": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_deleteSupportGroup(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "addServiceToSupportGroup": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_addServiceToSupportGroup(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "removeServiceFromSupportGroup": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_removeServiceFromSupportGroup(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "addUserToSupportGroup": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_addUserToSupportGroup(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "removeUserFromSupportGroup": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_removeUserFromSupportGroup(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "createComponent": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_createComponent(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "updateComponent": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_updateComponent(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "deleteComponent": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_deleteComponent(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "createComponentInstance": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_createComponentInstance(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "updateComponentInstance": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_updateComponentInstance(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "deleteComponentInstance": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_deleteComponentInstance(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "createComponentVersion": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_createComponentVersion(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "updateComponentVersion": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_updateComponentVersion(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "deleteComponentVersion": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_deleteComponentVersion(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "createService": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_createService(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "updateService": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_updateService(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "deleteService": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_deleteService(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "addOwnerToService": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_addOwnerToService(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "removeOwnerFromService": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_removeOwnerFromService(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "addIssueRepositoryToService": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_addIssueRepositoryToService(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "removeIssueRepositoryFromService": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_removeIssueRepositoryFromService(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "createIssueRepository": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_createIssueRepository(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "updateIssueRepository": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_updateIssueRepository(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "deleteIssueRepository": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_deleteIssueRepository(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "createIssue": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_createIssue(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "updateIssue": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_updateIssue(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "deleteIssue": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_deleteIssue(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "addComponentVersionToIssue": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_addComponentVersionToIssue(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "removeComponentVersionFromIssue": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_removeComponentVersionFromIssue(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "createIssueVariant": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_createIssueVariant(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "updateIssueVariant": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_updateIssueVariant(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "deleteIssueVariant": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_deleteIssueVariant(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "createEvidence": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_createEvidence(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "updateEvidence": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_updateEvidence(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "deleteEvidence": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_deleteEvidence(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "createIssueMatch": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_createIssueMatch(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "updateIssueMatch": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_updateIssueMatch(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "deleteIssueMatch": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_deleteIssueMatch(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "addEvidenceToIssueMatch": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_addEvidenceToIssueMatch(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "removeEvidenceFromIssueMatch": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_removeEvidenceFromIssueMatch(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "createIssueMatchChange": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_createIssueMatchChange(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "updateIssueMatchChange": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_updateIssueMatchChange(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "deleteIssueMatchChange": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_deleteIssueMatchChange(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "createActivity": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_createActivity(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "updateActivity": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_updateActivity(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "deleteActivity": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_deleteActivity(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "addServiceToActivity": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_addServiceToActivity(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "removeServiceFromActivity": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_removeServiceFromActivity(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "addIssueToActivity": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_addIssueToActivity(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "removeIssueFromActivity": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_removeIssueFromActivity(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var pageImplementors = []string{"Page"} - -func (ec *executionContext) _Page(ctx context.Context, sel ast.SelectionSet, obj *model.Page) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, pageImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("Page") - case "after": - out.Values[i] = ec._Page_after(ctx, field, obj) - case "isCurrent": - out.Values[i] = ec._Page_isCurrent(ctx, field, obj) - case "pageNumber": - out.Values[i] = ec._Page_pageNumber(ctx, field, obj) - case "pageCount": - out.Values[i] = ec._Page_pageCount(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var pageInfoImplementors = []string{"PageInfo"} - -func (ec *executionContext) _PageInfo(ctx context.Context, sel ast.SelectionSet, obj *model.PageInfo) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, pageInfoImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("PageInfo") - case "hasNextPage": - out.Values[i] = ec._PageInfo_hasNextPage(ctx, field, obj) - case "hasPreviousPage": - out.Values[i] = ec._PageInfo_hasPreviousPage(ctx, field, obj) - case "isValidPage": - out.Values[i] = ec._PageInfo_isValidPage(ctx, field, obj) - case "pageNumber": - out.Values[i] = ec._PageInfo_pageNumber(ctx, field, obj) - case "nextPageAfter": - out.Values[i] = ec._PageInfo_nextPageAfter(ctx, field, obj) - case "pages": - out.Values[i] = ec._PageInfo_pages(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var queryImplementors = []string{"Query"} - -func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, queryImplementors) - ctx = graphql.WithFieldContext(ctx, &graphql.FieldContext{ - Object: "Query", - }) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - innerCtx := graphql.WithRootFieldContext(ctx, &graphql.RootFieldContext{ - Object: field.Name, - Field: field, - }) - - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("Query") - case "Issues": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._Query_Issues(ctx, field) - return res - } - - rrm := func(ctx context.Context) graphql.Marshaler { - return ec.OperationContext.RootResolverMiddleware(ctx, - func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) }) - case "IssueMatches": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._Query_IssueMatches(ctx, field) - return res - } - - rrm := func(ctx context.Context) graphql.Marshaler { - return ec.OperationContext.RootResolverMiddleware(ctx, - func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) }) - case "IssueMatchChanges": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._Query_IssueMatchChanges(ctx, field) - return res - } - - rrm := func(ctx context.Context) graphql.Marshaler { - return ec.OperationContext.RootResolverMiddleware(ctx, - func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) }) - case "Services": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._Query_Services(ctx, field) - return res - } - - rrm := func(ctx context.Context) graphql.Marshaler { - return ec.OperationContext.RootResolverMiddleware(ctx, - func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) }) - case "Components": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._Query_Components(ctx, field) - return res - } - - rrm := func(ctx context.Context) graphql.Marshaler { - return ec.OperationContext.RootResolverMiddleware(ctx, - func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) }) - case "ComponentVersions": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._Query_ComponentVersions(ctx, field) - return res - } - - rrm := func(ctx context.Context) graphql.Marshaler { - return ec.OperationContext.RootResolverMiddleware(ctx, - func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) }) - case "ComponentInstances": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._Query_ComponentInstances(ctx, field) - return res - } - - rrm := func(ctx context.Context) graphql.Marshaler { - return ec.OperationContext.RootResolverMiddleware(ctx, - func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) }) - case "Activities": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._Query_Activities(ctx, field) - return res - } - - rrm := func(ctx context.Context) graphql.Marshaler { - return ec.OperationContext.RootResolverMiddleware(ctx, - func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) }) - case "IssueVariants": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._Query_IssueVariants(ctx, field) - return res - } - - rrm := func(ctx context.Context) graphql.Marshaler { - return ec.OperationContext.RootResolverMiddleware(ctx, - func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) }) - case "IssueRepositories": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._Query_IssueRepositories(ctx, field) - return res - } - - rrm := func(ctx context.Context) graphql.Marshaler { - return ec.OperationContext.RootResolverMiddleware(ctx, - func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) }) - case "Evidences": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._Query_Evidences(ctx, field) - return res - } - - rrm := func(ctx context.Context) graphql.Marshaler { - return ec.OperationContext.RootResolverMiddleware(ctx, - func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) }) - case "SupportGroups": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._Query_SupportGroups(ctx, field) - return res - } - - rrm := func(ctx context.Context) graphql.Marshaler { - return ec.OperationContext.RootResolverMiddleware(ctx, - func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) }) - case "Users": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._Query_Users(ctx, field) - return res - } - - rrm := func(ctx context.Context) graphql.Marshaler { - return ec.OperationContext.RootResolverMiddleware(ctx, - func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) }) - case "ServiceFilterValues": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._Query_ServiceFilterValues(ctx, field) - return res - } - - rrm := func(ctx context.Context) graphql.Marshaler { - return ec.OperationContext.RootResolverMiddleware(ctx, - func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) }) - case "IssueMatchFilterValues": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._Query_IssueMatchFilterValues(ctx, field) - return res - } - - rrm := func(ctx context.Context) graphql.Marshaler { - return ec.OperationContext.RootResolverMiddleware(ctx, - func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) }) - case "ComponentInstanceFilterValues": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._Query_ComponentInstanceFilterValues(ctx, field) - return res - } - - rrm := func(ctx context.Context) graphql.Marshaler { - return ec.OperationContext.RootResolverMiddleware(ctx, - func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) }) - case "ComponentFilterValues": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._Query_ComponentFilterValues(ctx, field) - return res - } - - rrm := func(ctx context.Context) graphql.Marshaler { - return ec.OperationContext.RootResolverMiddleware(ctx, - func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) }) - case "__type": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Query___type(ctx, field) - }) - case "__schema": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Query___schema(ctx, field) - }) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var serviceImplementors = []string{"Service", "Node"} - -func (ec *executionContext) _Service(ctx context.Context, sel ast.SelectionSet, obj *model.Service) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, serviceImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("Service") - case "id": - out.Values[i] = ec._Service_id(ctx, field, obj) - if out.Values[i] == graphql.Null { - atomic.AddUint32(&out.Invalids, 1) - } - case "ccrn": - out.Values[i] = ec._Service_ccrn(ctx, field, obj) - case "owners": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._Service_owners(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "supportGroups": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._Service_supportGroups(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "activities": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._Service_activities(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "issueRepositories": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._Service_issueRepositories(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "componentInstances": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._Service_componentInstances(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "metadata": - out.Values[i] = ec._Service_metadata(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var serviceConnectionImplementors = []string{"ServiceConnection", "Connection"} - -func (ec *executionContext) _ServiceConnection(ctx context.Context, sel ast.SelectionSet, obj *model.ServiceConnection) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, serviceConnectionImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("ServiceConnection") - case "totalCount": - out.Values[i] = ec._ServiceConnection_totalCount(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "edges": - out.Values[i] = ec._ServiceConnection_edges(ctx, field, obj) - case "pageInfo": - out.Values[i] = ec._ServiceConnection_pageInfo(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var serviceEdgeImplementors = []string{"ServiceEdge", "Edge"} - -func (ec *executionContext) _ServiceEdge(ctx context.Context, sel ast.SelectionSet, obj *model.ServiceEdge) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, serviceEdgeImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("ServiceEdge") - case "node": - out.Values[i] = ec._ServiceEdge_node(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "cursor": - out.Values[i] = ec._ServiceEdge_cursor(ctx, field, obj) - case "priority": - out.Values[i] = ec._ServiceEdge_priority(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var serviceFilterValueImplementors = []string{"ServiceFilterValue"} - -func (ec *executionContext) _ServiceFilterValue(ctx context.Context, sel ast.SelectionSet, obj *model.ServiceFilterValue) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, serviceFilterValueImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("ServiceFilterValue") - case "serviceCcrn": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._ServiceFilterValue_serviceCcrn(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "uniqueUserId": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._ServiceFilterValue_uniqueUserId(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "userName": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._ServiceFilterValue_userName(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "supportGroupCcrn": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._ServiceFilterValue_supportGroupCcrn(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var serviceMetadataImplementors = []string{"ServiceMetadata"} - -func (ec *executionContext) _ServiceMetadata(ctx context.Context, sel ast.SelectionSet, obj *model.ServiceMetadata) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, serviceMetadataImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("ServiceMetadata") - case "issueMatchCount": - out.Values[i] = ec._ServiceMetadata_issueMatchCount(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "componentInstanceCount": - out.Values[i] = ec._ServiceMetadata_componentInstanceCount(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var severityImplementors = []string{"Severity"} - -func (ec *executionContext) _Severity(ctx context.Context, sel ast.SelectionSet, obj *model.Severity) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, severityImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("Severity") - case "value": - out.Values[i] = ec._Severity_value(ctx, field, obj) - case "score": - out.Values[i] = ec._Severity_score(ctx, field, obj) - case "cvss": - out.Values[i] = ec._Severity_cvss(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var supportGroupImplementors = []string{"SupportGroup", "Node"} - -func (ec *executionContext) _SupportGroup(ctx context.Context, sel ast.SelectionSet, obj *model.SupportGroup) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, supportGroupImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("SupportGroup") - case "id": - out.Values[i] = ec._SupportGroup_id(ctx, field, obj) - if out.Values[i] == graphql.Null { - atomic.AddUint32(&out.Invalids, 1) - } - case "ccrn": - out.Values[i] = ec._SupportGroup_ccrn(ctx, field, obj) - case "users": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._SupportGroup_users(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "services": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._SupportGroup_services(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var supportGroupConnectionImplementors = []string{"SupportGroupConnection", "Connection"} - -func (ec *executionContext) _SupportGroupConnection(ctx context.Context, sel ast.SelectionSet, obj *model.SupportGroupConnection) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, supportGroupConnectionImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("SupportGroupConnection") - case "totalCount": - out.Values[i] = ec._SupportGroupConnection_totalCount(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "edges": - out.Values[i] = ec._SupportGroupConnection_edges(ctx, field, obj) - case "pageInfo": - out.Values[i] = ec._SupportGroupConnection_pageInfo(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var supportGroupEdgeImplementors = []string{"SupportGroupEdge", "Edge"} - -func (ec *executionContext) _SupportGroupEdge(ctx context.Context, sel ast.SelectionSet, obj *model.SupportGroupEdge) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, supportGroupEdgeImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("SupportGroupEdge") - case "node": - out.Values[i] = ec._SupportGroupEdge_node(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "cursor": - out.Values[i] = ec._SupportGroupEdge_cursor(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var userImplementors = []string{"User", "Node"} - -func (ec *executionContext) _User(ctx context.Context, sel ast.SelectionSet, obj *model.User) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, userImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("User") - case "id": - out.Values[i] = ec._User_id(ctx, field, obj) - if out.Values[i] == graphql.Null { - atomic.AddUint32(&out.Invalids, 1) - } - case "uniqueUserId": - out.Values[i] = ec._User_uniqueUserId(ctx, field, obj) - case "type": - out.Values[i] = ec._User_type(ctx, field, obj) - if out.Values[i] == graphql.Null { - atomic.AddUint32(&out.Invalids, 1) - } - case "name": - out.Values[i] = ec._User_name(ctx, field, obj) - case "supportGroups": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._User_supportGroups(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - case "services": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._User_services(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var userConnectionImplementors = []string{"UserConnection", "Connection"} - -func (ec *executionContext) _UserConnection(ctx context.Context, sel ast.SelectionSet, obj *model.UserConnection) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, userConnectionImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("UserConnection") - case "totalCount": - out.Values[i] = ec._UserConnection_totalCount(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "edges": - out.Values[i] = ec._UserConnection_edges(ctx, field, obj) - case "pageInfo": - out.Values[i] = ec._UserConnection_pageInfo(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var userEdgeImplementors = []string{"UserEdge", "Edge"} - -func (ec *executionContext) _UserEdge(ctx context.Context, sel ast.SelectionSet, obj *model.UserEdge) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, userEdgeImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("UserEdge") - case "node": - out.Values[i] = ec._UserEdge_node(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "cursor": - out.Values[i] = ec._UserEdge_cursor(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var __DirectiveImplementors = []string{"__Directive"} - -func (ec *executionContext) ___Directive(ctx context.Context, sel ast.SelectionSet, obj *introspection.Directive) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, __DirectiveImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("__Directive") - case "name": - out.Values[i] = ec.___Directive_name(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "description": - out.Values[i] = ec.___Directive_description(ctx, field, obj) - case "locations": - out.Values[i] = ec.___Directive_locations(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "args": - out.Values[i] = ec.___Directive_args(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "isRepeatable": - out.Values[i] = ec.___Directive_isRepeatable(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var __EnumValueImplementors = []string{"__EnumValue"} - -func (ec *executionContext) ___EnumValue(ctx context.Context, sel ast.SelectionSet, obj *introspection.EnumValue) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, __EnumValueImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("__EnumValue") - case "name": - out.Values[i] = ec.___EnumValue_name(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "description": - out.Values[i] = ec.___EnumValue_description(ctx, field, obj) - case "isDeprecated": - out.Values[i] = ec.___EnumValue_isDeprecated(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "deprecationReason": - out.Values[i] = ec.___EnumValue_deprecationReason(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var __FieldImplementors = []string{"__Field"} - -func (ec *executionContext) ___Field(ctx context.Context, sel ast.SelectionSet, obj *introspection.Field) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, __FieldImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("__Field") - case "name": - out.Values[i] = ec.___Field_name(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "description": - out.Values[i] = ec.___Field_description(ctx, field, obj) - case "args": - out.Values[i] = ec.___Field_args(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "type": - out.Values[i] = ec.___Field_type(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "isDeprecated": - out.Values[i] = ec.___Field_isDeprecated(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "deprecationReason": - out.Values[i] = ec.___Field_deprecationReason(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var __InputValueImplementors = []string{"__InputValue"} - -func (ec *executionContext) ___InputValue(ctx context.Context, sel ast.SelectionSet, obj *introspection.InputValue) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, __InputValueImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("__InputValue") - case "name": - out.Values[i] = ec.___InputValue_name(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "description": - out.Values[i] = ec.___InputValue_description(ctx, field, obj) - case "type": - out.Values[i] = ec.___InputValue_type(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "defaultValue": - out.Values[i] = ec.___InputValue_defaultValue(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var __SchemaImplementors = []string{"__Schema"} - -func (ec *executionContext) ___Schema(ctx context.Context, sel ast.SelectionSet, obj *introspection.Schema) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, __SchemaImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("__Schema") - case "description": - out.Values[i] = ec.___Schema_description(ctx, field, obj) - case "types": - out.Values[i] = ec.___Schema_types(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "queryType": - out.Values[i] = ec.___Schema_queryType(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "mutationType": - out.Values[i] = ec.___Schema_mutationType(ctx, field, obj) - case "subscriptionType": - out.Values[i] = ec.___Schema_subscriptionType(ctx, field, obj) - case "directives": - out.Values[i] = ec.___Schema_directives(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var __TypeImplementors = []string{"__Type"} - -func (ec *executionContext) ___Type(ctx context.Context, sel ast.SelectionSet, obj *introspection.Type) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, __TypeImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("__Type") - case "kind": - out.Values[i] = ec.___Type_kind(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - case "name": - out.Values[i] = ec.___Type_name(ctx, field, obj) - case "description": - out.Values[i] = ec.___Type_description(ctx, field, obj) - case "fields": - out.Values[i] = ec.___Type_fields(ctx, field, obj) - case "interfaces": - out.Values[i] = ec.___Type_interfaces(ctx, field, obj) - case "possibleTypes": - out.Values[i] = ec.___Type_possibleTypes(ctx, field, obj) - case "enumValues": - out.Values[i] = ec.___Type_enumValues(ctx, field, obj) - case "inputFields": - out.Values[i] = ec.___Type_inputFields(ctx, field, obj) - case "ofType": - out.Values[i] = ec.___Type_ofType(ctx, field, obj) - case "specifiedByURL": - out.Values[i] = ec.___Type_specifiedByURL(ctx, field, obj) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -// endregion **************************** object.gotpl **************************** - -// region ***************************** type.gotpl ***************************** - -func (ec *executionContext) marshalNActivity2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐActivity(ctx context.Context, sel ast.SelectionSet, v model.Activity) graphql.Marshaler { - return ec._Activity(ctx, sel, &v) -} - -func (ec *executionContext) marshalNActivity2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐActivity(ctx context.Context, sel ast.SelectionSet, v *model.Activity) graphql.Marshaler { - if v == nil { - if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { - ec.Errorf(ctx, "the requested element is null which the schema does not allow") - } - return graphql.Null - } - return ec._Activity(ctx, sel, v) -} - -func (ec *executionContext) unmarshalNActivityInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐActivityInput(ctx context.Context, v interface{}) (model.ActivityInput, error) { - res, err := ec.unmarshalInputActivityInput(ctx, v) - return res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) unmarshalNBoolean2bool(ctx context.Context, v interface{}) (bool, error) { - res, err := graphql.UnmarshalBoolean(v) - return res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) marshalNBoolean2bool(ctx context.Context, sel ast.SelectionSet, v bool) graphql.Marshaler { - res := graphql.MarshalBoolean(v) - if res == graphql.Null { - if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { - ec.Errorf(ctx, "the requested element is null which the schema does not allow") - } - } - return res -} - -func (ec *executionContext) marshalNComponent2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponent(ctx context.Context, sel ast.SelectionSet, v model.Component) graphql.Marshaler { - return ec._Component(ctx, sel, &v) -} - -func (ec *executionContext) marshalNComponent2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponent(ctx context.Context, sel ast.SelectionSet, v *model.Component) graphql.Marshaler { - if v == nil { - if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { - ec.Errorf(ctx, "the requested element is null which the schema does not allow") - } - return graphql.Null - } - return ec._Component(ctx, sel, v) -} - -func (ec *executionContext) unmarshalNComponentInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentInput(ctx context.Context, v interface{}) (model.ComponentInput, error) { - res, err := ec.unmarshalInputComponentInput(ctx, v) - return res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) marshalNComponentInstance2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentInstance(ctx context.Context, sel ast.SelectionSet, v model.ComponentInstance) graphql.Marshaler { - return ec._ComponentInstance(ctx, sel, &v) -} - -func (ec *executionContext) marshalNComponentInstance2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentInstance(ctx context.Context, sel ast.SelectionSet, v *model.ComponentInstance) graphql.Marshaler { - if v == nil { - if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { - ec.Errorf(ctx, "the requested element is null which the schema does not allow") - } - return graphql.Null - } - return ec._ComponentInstance(ctx, sel, v) -} - -func (ec *executionContext) marshalNComponentInstanceEdge2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentInstanceEdge(ctx context.Context, sel ast.SelectionSet, v []*model.ComponentInstanceEdge) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalOComponentInstanceEdge2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentInstanceEdge(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() - - return ret -} - -func (ec *executionContext) unmarshalNComponentInstanceInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentInstanceInput(ctx context.Context, v interface{}) (model.ComponentInstanceInput, error) { - res, err := ec.unmarshalInputComponentInstanceInput(ctx, v) - return res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) marshalNComponentVersion2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentVersion(ctx context.Context, sel ast.SelectionSet, v model.ComponentVersion) graphql.Marshaler { - return ec._ComponentVersion(ctx, sel, &v) -} - -func (ec *executionContext) marshalNComponentVersion2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentVersion(ctx context.Context, sel ast.SelectionSet, v *model.ComponentVersion) graphql.Marshaler { - if v == nil { - if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { - ec.Errorf(ctx, "the requested element is null which the schema does not allow") - } - return graphql.Null - } - return ec._ComponentVersion(ctx, sel, v) -} - -func (ec *executionContext) marshalNComponentVersionEdge2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentVersionEdge(ctx context.Context, sel ast.SelectionSet, v []*model.ComponentVersionEdge) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalOComponentVersionEdge2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentVersionEdge(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() - - return ret -} - -func (ec *executionContext) unmarshalNComponentVersionInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentVersionInput(ctx context.Context, v interface{}) (model.ComponentVersionInput, error) { - res, err := ec.unmarshalInputComponentVersionInput(ctx, v) - return res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) unmarshalNDateTime2string(ctx context.Context, v interface{}) (string, error) { - res, err := graphql.UnmarshalString(v) - return res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) marshalNDateTime2string(ctx context.Context, sel ast.SelectionSet, v string) graphql.Marshaler { - res := graphql.MarshalString(v) - if res == graphql.Null { - if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { - ec.Errorf(ctx, "the requested element is null which the schema does not allow") - } - } - return res -} - -func (ec *executionContext) marshalNEvidence2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐEvidence(ctx context.Context, sel ast.SelectionSet, v model.Evidence) graphql.Marshaler { - return ec._Evidence(ctx, sel, &v) -} - -func (ec *executionContext) marshalNEvidence2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐEvidence(ctx context.Context, sel ast.SelectionSet, v *model.Evidence) graphql.Marshaler { - if v == nil { - if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { - ec.Errorf(ctx, "the requested element is null which the schema does not allow") - } - return graphql.Null - } - return ec._Evidence(ctx, sel, v) -} - -func (ec *executionContext) unmarshalNEvidenceInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐEvidenceInput(ctx context.Context, v interface{}) (model.EvidenceInput, error) { - res, err := ec.unmarshalInputEvidenceInput(ctx, v) - return res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) unmarshalNID2string(ctx context.Context, v interface{}) (string, error) { - res, err := graphql.UnmarshalID(v) - return res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) marshalNID2string(ctx context.Context, sel ast.SelectionSet, v string) graphql.Marshaler { - res := graphql.MarshalID(v) - if res == graphql.Null { - if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { - ec.Errorf(ctx, "the requested element is null which the schema does not allow") - } - } - return res -} - -func (ec *executionContext) unmarshalNInt2int(ctx context.Context, v interface{}) (int, error) { - res, err := graphql.UnmarshalInt(v) - return res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) marshalNInt2int(ctx context.Context, sel ast.SelectionSet, v int) graphql.Marshaler { - res := graphql.MarshalInt(v) - if res == graphql.Null { - if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { - ec.Errorf(ctx, "the requested element is null which the schema does not allow") - } - } - return res -} - -func (ec *executionContext) marshalNIssue2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssue(ctx context.Context, sel ast.SelectionSet, v model.Issue) graphql.Marshaler { - return ec._Issue(ctx, sel, &v) -} - -func (ec *executionContext) marshalNIssue2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssue(ctx context.Context, sel ast.SelectionSet, v *model.Issue) graphql.Marshaler { - if v == nil { - if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { - ec.Errorf(ctx, "the requested element is null which the schema does not allow") - } - return graphql.Null - } - return ec._Issue(ctx, sel, v) -} - -func (ec *executionContext) marshalNIssueEdge2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueEdge(ctx context.Context, sel ast.SelectionSet, v []*model.IssueEdge) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalOIssueEdge2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueEdge(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() - - return ret -} - -func (ec *executionContext) unmarshalNIssueInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueInput(ctx context.Context, v interface{}) (model.IssueInput, error) { - res, err := ec.unmarshalInputIssueInput(ctx, v) - return res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) marshalNIssueMatch2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatch(ctx context.Context, sel ast.SelectionSet, v model.IssueMatch) graphql.Marshaler { - return ec._IssueMatch(ctx, sel, &v) -} - -func (ec *executionContext) marshalNIssueMatch2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatch(ctx context.Context, sel ast.SelectionSet, v *model.IssueMatch) graphql.Marshaler { - if v == nil { - if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { - ec.Errorf(ctx, "the requested element is null which the schema does not allow") - } - return graphql.Null - } - return ec._IssueMatch(ctx, sel, v) -} - -func (ec *executionContext) marshalNIssueMatchChange2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchChange(ctx context.Context, sel ast.SelectionSet, v model.IssueMatchChange) graphql.Marshaler { - return ec._IssueMatchChange(ctx, sel, &v) -} - -func (ec *executionContext) marshalNIssueMatchChange2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchChange(ctx context.Context, sel ast.SelectionSet, v *model.IssueMatchChange) graphql.Marshaler { - if v == nil { - if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { - ec.Errorf(ctx, "the requested element is null which the schema does not allow") - } - return graphql.Null - } - return ec._IssueMatchChange(ctx, sel, v) -} - -func (ec *executionContext) unmarshalNIssueMatchChangeInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchChangeInput(ctx context.Context, v interface{}) (model.IssueMatchChangeInput, error) { - res, err := ec.unmarshalInputIssueMatchChangeInput(ctx, v) - return res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) unmarshalNIssueMatchInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchInput(ctx context.Context, v interface{}) (model.IssueMatchInput, error) { - res, err := ec.unmarshalInputIssueMatchInput(ctx, v) - return res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) marshalNIssueRepository2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueRepository(ctx context.Context, sel ast.SelectionSet, v model.IssueRepository) graphql.Marshaler { - return ec._IssueRepository(ctx, sel, &v) -} - -func (ec *executionContext) marshalNIssueRepository2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueRepository(ctx context.Context, sel ast.SelectionSet, v *model.IssueRepository) graphql.Marshaler { - if v == nil { - if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { - ec.Errorf(ctx, "the requested element is null which the schema does not allow") - } - return graphql.Null - } - return ec._IssueRepository(ctx, sel, v) -} - -func (ec *executionContext) unmarshalNIssueRepositoryInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueRepositoryInput(ctx context.Context, v interface{}) (model.IssueRepositoryInput, error) { - res, err := ec.unmarshalInputIssueRepositoryInput(ctx, v) - return res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) marshalNIssueVariant2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueVariant(ctx context.Context, sel ast.SelectionSet, v model.IssueVariant) graphql.Marshaler { - return ec._IssueVariant(ctx, sel, &v) -} - -func (ec *executionContext) marshalNIssueVariant2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueVariant(ctx context.Context, sel ast.SelectionSet, v *model.IssueVariant) graphql.Marshaler { - if v == nil { - if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { - ec.Errorf(ctx, "the requested element is null which the schema does not allow") - } - return graphql.Null - } - return ec._IssueVariant(ctx, sel, v) -} - -func (ec *executionContext) unmarshalNIssueVariantInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueVariantInput(ctx context.Context, v interface{}) (model.IssueVariantInput, error) { - res, err := ec.unmarshalInputIssueVariantInput(ctx, v) - return res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) marshalNService2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐService(ctx context.Context, sel ast.SelectionSet, v model.Service) graphql.Marshaler { - return ec._Service(ctx, sel, &v) -} - -func (ec *executionContext) marshalNService2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐService(ctx context.Context, sel ast.SelectionSet, v *model.Service) graphql.Marshaler { - if v == nil { - if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { - ec.Errorf(ctx, "the requested element is null which the schema does not allow") - } - return graphql.Null - } - return ec._Service(ctx, sel, v) -} - -func (ec *executionContext) unmarshalNServiceInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐServiceInput(ctx context.Context, v interface{}) (model.ServiceInput, error) { - res, err := ec.unmarshalInputServiceInput(ctx, v) - return res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) unmarshalNString2string(ctx context.Context, v interface{}) (string, error) { - res, err := graphql.UnmarshalString(v) - return res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) marshalNString2string(ctx context.Context, sel ast.SelectionSet, v string) graphql.Marshaler { - res := graphql.MarshalString(v) - if res == graphql.Null { - if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { - ec.Errorf(ctx, "the requested element is null which the schema does not allow") - } - } - return res -} - -func (ec *executionContext) marshalNSupportGroup2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSupportGroup(ctx context.Context, sel ast.SelectionSet, v model.SupportGroup) graphql.Marshaler { - return ec._SupportGroup(ctx, sel, &v) -} - -func (ec *executionContext) marshalNSupportGroup2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSupportGroup(ctx context.Context, sel ast.SelectionSet, v *model.SupportGroup) graphql.Marshaler { - if v == nil { - if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { - ec.Errorf(ctx, "the requested element is null which the schema does not allow") - } - return graphql.Null - } - return ec._SupportGroup(ctx, sel, v) -} - -func (ec *executionContext) unmarshalNSupportGroupInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSupportGroupInput(ctx context.Context, v interface{}) (model.SupportGroupInput, error) { - res, err := ec.unmarshalInputSupportGroupInput(ctx, v) - return res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) marshalNUser2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐUser(ctx context.Context, sel ast.SelectionSet, v model.User) graphql.Marshaler { - return ec._User(ctx, sel, &v) -} - -func (ec *executionContext) marshalNUser2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐUser(ctx context.Context, sel ast.SelectionSet, v *model.User) graphql.Marshaler { - if v == nil { - if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { - ec.Errorf(ctx, "the requested element is null which the schema does not allow") - } - return graphql.Null - } - return ec._User(ctx, sel, v) -} - -func (ec *executionContext) unmarshalNUserInput2githubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐUserInput(ctx context.Context, v interface{}) (model.UserInput, error) { - res, err := ec.unmarshalInputUserInput(ctx, v) - return res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) marshalN__Directive2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐDirective(ctx context.Context, sel ast.SelectionSet, v introspection.Directive) graphql.Marshaler { - return ec.___Directive(ctx, sel, &v) -} - -func (ec *executionContext) marshalN__Directive2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐDirectiveᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.Directive) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalN__Directive2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐDirective(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() - - for _, e := range ret { - if e == graphql.Null { - return graphql.Null - } - } - - return ret -} - -func (ec *executionContext) unmarshalN__DirectiveLocation2string(ctx context.Context, v interface{}) (string, error) { - res, err := graphql.UnmarshalString(v) - return res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) marshalN__DirectiveLocation2string(ctx context.Context, sel ast.SelectionSet, v string) graphql.Marshaler { - res := graphql.MarshalString(v) - if res == graphql.Null { - if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { - ec.Errorf(ctx, "the requested element is null which the schema does not allow") - } - } - return res -} - -func (ec *executionContext) unmarshalN__DirectiveLocation2ᚕstringᚄ(ctx context.Context, v interface{}) ([]string, error) { - var vSlice []interface{} - if v != nil { - vSlice = graphql.CoerceList(v) - } - var err error - res := make([]string, len(vSlice)) - for i := range vSlice { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i)) - res[i], err = ec.unmarshalN__DirectiveLocation2string(ctx, vSlice[i]) - if err != nil { - return nil, err - } - } - return res, nil -} - -func (ec *executionContext) marshalN__DirectiveLocation2ᚕstringᚄ(ctx context.Context, sel ast.SelectionSet, v []string) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalN__DirectiveLocation2string(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() - - for _, e := range ret { - if e == graphql.Null { - return graphql.Null - } - } - - return ret -} - -func (ec *executionContext) marshalN__EnumValue2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐEnumValue(ctx context.Context, sel ast.SelectionSet, v introspection.EnumValue) graphql.Marshaler { - return ec.___EnumValue(ctx, sel, &v) -} - -func (ec *executionContext) marshalN__Field2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐField(ctx context.Context, sel ast.SelectionSet, v introspection.Field) graphql.Marshaler { - return ec.___Field(ctx, sel, &v) -} - -func (ec *executionContext) marshalN__InputValue2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValue(ctx context.Context, sel ast.SelectionSet, v introspection.InputValue) graphql.Marshaler { - return ec.___InputValue(ctx, sel, &v) -} - -func (ec *executionContext) marshalN__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.InputValue) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalN__InputValue2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValue(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() - - for _, e := range ret { - if e == graphql.Null { - return graphql.Null - } - } - - return ret -} - -func (ec *executionContext) marshalN__Type2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx context.Context, sel ast.SelectionSet, v introspection.Type) graphql.Marshaler { - return ec.___Type(ctx, sel, &v) -} - -func (ec *executionContext) marshalN__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐTypeᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.Type) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalN__Type2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() - - for _, e := range ret { - if e == graphql.Null { - return graphql.Null - } - } - - return ret -} - -func (ec *executionContext) marshalN__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx context.Context, sel ast.SelectionSet, v *introspection.Type) graphql.Marshaler { - if v == nil { - if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { - ec.Errorf(ctx, "the requested element is null which the schema does not allow") - } - return graphql.Null - } - return ec.___Type(ctx, sel, v) -} - -func (ec *executionContext) unmarshalN__TypeKind2string(ctx context.Context, v interface{}) (string, error) { - res, err := graphql.UnmarshalString(v) - return res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) marshalN__TypeKind2string(ctx context.Context, sel ast.SelectionSet, v string) graphql.Marshaler { - res := graphql.MarshalString(v) - if res == graphql.Null { - if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { - ec.Errorf(ctx, "the requested element is null which the schema does not allow") - } - } - return res -} - -func (ec *executionContext) marshalOActivity2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐActivity(ctx context.Context, sel ast.SelectionSet, v *model.Activity) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._Activity(ctx, sel, v) -} - -func (ec *executionContext) marshalOActivityConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐActivityConnection(ctx context.Context, sel ast.SelectionSet, v *model.ActivityConnection) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._ActivityConnection(ctx, sel, v) -} - -func (ec *executionContext) marshalOActivityEdge2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐActivityEdge(ctx context.Context, sel ast.SelectionSet, v []*model.ActivityEdge) graphql.Marshaler { - if v == nil { - return graphql.Null - } - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalOActivityEdge2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐActivityEdge(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() - - return ret -} - -func (ec *executionContext) marshalOActivityEdge2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐActivityEdge(ctx context.Context, sel ast.SelectionSet, v *model.ActivityEdge) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._ActivityEdge(ctx, sel, v) -} - -func (ec *executionContext) unmarshalOActivityFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐActivityFilter(ctx context.Context, v interface{}) (*model.ActivityFilter, error) { - if v == nil { - return nil, nil - } - res, err := ec.unmarshalInputActivityFilter(ctx, v) - return &res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) unmarshalOActivityStatusValues2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐActivityStatusValues(ctx context.Context, v interface{}) ([]*model.ActivityStatusValues, error) { - if v == nil { - return nil, nil - } - var vSlice []interface{} - if v != nil { - vSlice = graphql.CoerceList(v) - } - var err error - res := make([]*model.ActivityStatusValues, len(vSlice)) - for i := range vSlice { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i)) - res[i], err = ec.unmarshalOActivityStatusValues2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐActivityStatusValues(ctx, vSlice[i]) - if err != nil { - return nil, err - } - } - return res, nil -} - -func (ec *executionContext) marshalOActivityStatusValues2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐActivityStatusValues(ctx context.Context, sel ast.SelectionSet, v []*model.ActivityStatusValues) graphql.Marshaler { - if v == nil { - return graphql.Null - } - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalOActivityStatusValues2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐActivityStatusValues(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() - - return ret -} - -func (ec *executionContext) unmarshalOActivityStatusValues2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐActivityStatusValues(ctx context.Context, v interface{}) (*model.ActivityStatusValues, error) { - if v == nil { - return nil, nil - } - var res = new(model.ActivityStatusValues) - err := res.UnmarshalGQL(v) - return res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) marshalOActivityStatusValues2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐActivityStatusValues(ctx context.Context, sel ast.SelectionSet, v *model.ActivityStatusValues) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return v -} - -func (ec *executionContext) unmarshalOBoolean2bool(ctx context.Context, v interface{}) (bool, error) { - res, err := graphql.UnmarshalBoolean(v) - return res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) marshalOBoolean2bool(ctx context.Context, sel ast.SelectionSet, v bool) graphql.Marshaler { - res := graphql.MarshalBoolean(v) - return res -} - -func (ec *executionContext) unmarshalOBoolean2ᚕᚖbool(ctx context.Context, v interface{}) ([]*bool, error) { - if v == nil { - return nil, nil - } - var vSlice []interface{} - if v != nil { - vSlice = graphql.CoerceList(v) - } - var err error - res := make([]*bool, len(vSlice)) - for i := range vSlice { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i)) - res[i], err = ec.unmarshalOBoolean2ᚖbool(ctx, vSlice[i]) - if err != nil { - return nil, err - } - } - return res, nil -} - -func (ec *executionContext) marshalOBoolean2ᚕᚖbool(ctx context.Context, sel ast.SelectionSet, v []*bool) graphql.Marshaler { - if v == nil { - return graphql.Null - } - ret := make(graphql.Array, len(v)) - for i := range v { - ret[i] = ec.marshalOBoolean2ᚖbool(ctx, sel, v[i]) - } - - return ret -} - -func (ec *executionContext) unmarshalOBoolean2ᚖbool(ctx context.Context, v interface{}) (*bool, error) { - if v == nil { - return nil, nil - } - res, err := graphql.UnmarshalBoolean(v) - return &res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) marshalOBoolean2ᚖbool(ctx context.Context, sel ast.SelectionSet, v *bool) graphql.Marshaler { - if v == nil { - return graphql.Null - } - res := graphql.MarshalBoolean(*v) - return res -} - -func (ec *executionContext) marshalOCVSS2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐCvss(ctx context.Context, sel ast.SelectionSet, v *model.Cvss) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._CVSS(ctx, sel, v) -} - -func (ec *executionContext) marshalOCVSSBase2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐCVSSBase(ctx context.Context, sel ast.SelectionSet, v *model.CVSSBase) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._CVSSBase(ctx, sel, v) -} - -func (ec *executionContext) marshalOCVSSEnvironmental2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐCVSSEnvironmental(ctx context.Context, sel ast.SelectionSet, v *model.CVSSEnvironmental) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._CVSSEnvironmental(ctx, sel, v) -} - -func (ec *executionContext) marshalOCVSSTemporal2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐCVSSTemporal(ctx context.Context, sel ast.SelectionSet, v *model.CVSSTemporal) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._CVSSTemporal(ctx, sel, v) -} - -func (ec *executionContext) marshalOComponent2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponent(ctx context.Context, sel ast.SelectionSet, v *model.Component) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._Component(ctx, sel, v) -} - -func (ec *executionContext) marshalOComponentConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentConnection(ctx context.Context, sel ast.SelectionSet, v *model.ComponentConnection) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._ComponentConnection(ctx, sel, v) -} - -func (ec *executionContext) marshalOComponentEdge2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentEdge(ctx context.Context, sel ast.SelectionSet, v []*model.ComponentEdge) graphql.Marshaler { - if v == nil { - return graphql.Null - } - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalOComponentEdge2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentEdge(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() - - return ret -} - -func (ec *executionContext) marshalOComponentEdge2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentEdge(ctx context.Context, sel ast.SelectionSet, v *model.ComponentEdge) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._ComponentEdge(ctx, sel, v) -} - -func (ec *executionContext) unmarshalOComponentFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentFilter(ctx context.Context, v interface{}) (*model.ComponentFilter, error) { - if v == nil { - return nil, nil - } - res, err := ec.unmarshalInputComponentFilter(ctx, v) - return &res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) marshalOComponentFilterValue2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentFilterValue(ctx context.Context, sel ast.SelectionSet, v *model.ComponentFilterValue) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._ComponentFilterValue(ctx, sel, v) -} - -func (ec *executionContext) marshalOComponentInstanceConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentInstanceConnection(ctx context.Context, sel ast.SelectionSet, v *model.ComponentInstanceConnection) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._ComponentInstanceConnection(ctx, sel, v) -} - -func (ec *executionContext) marshalOComponentInstanceEdge2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentInstanceEdge(ctx context.Context, sel ast.SelectionSet, v *model.ComponentInstanceEdge) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._ComponentInstanceEdge(ctx, sel, v) -} - -func (ec *executionContext) unmarshalOComponentInstanceFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentInstanceFilter(ctx context.Context, v interface{}) (*model.ComponentInstanceFilter, error) { - if v == nil { - return nil, nil - } - res, err := ec.unmarshalInputComponentInstanceFilter(ctx, v) - return &res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) marshalOComponentInstanceFilterValue2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentInstanceFilterValue(ctx context.Context, sel ast.SelectionSet, v *model.ComponentInstanceFilterValue) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._ComponentInstanceFilterValue(ctx, sel, v) -} - -func (ec *executionContext) unmarshalOComponentTypeValues2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentTypeValues(ctx context.Context, v interface{}) (*model.ComponentTypeValues, error) { - if v == nil { - return nil, nil - } - var res = new(model.ComponentTypeValues) - err := res.UnmarshalGQL(v) - return res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) marshalOComponentTypeValues2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentTypeValues(ctx context.Context, sel ast.SelectionSet, v *model.ComponentTypeValues) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return v -} - -func (ec *executionContext) marshalOComponentVersion2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentVersion(ctx context.Context, sel ast.SelectionSet, v *model.ComponentVersion) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._ComponentVersion(ctx, sel, v) -} - -func (ec *executionContext) marshalOComponentVersionConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentVersionConnection(ctx context.Context, sel ast.SelectionSet, v *model.ComponentVersionConnection) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._ComponentVersionConnection(ctx, sel, v) -} - -func (ec *executionContext) marshalOComponentVersionEdge2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentVersionEdge(ctx context.Context, sel ast.SelectionSet, v *model.ComponentVersionEdge) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._ComponentVersionEdge(ctx, sel, v) -} - -func (ec *executionContext) unmarshalOComponentVersionFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐComponentVersionFilter(ctx context.Context, v interface{}) (*model.ComponentVersionFilter, error) { - if v == nil { - return nil, nil - } - res, err := ec.unmarshalInputComponentVersionFilter(ctx, v) - return &res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) unmarshalODateTime2ᚖstring(ctx context.Context, v interface{}) (*string, error) { - if v == nil { - return nil, nil - } - res, err := graphql.UnmarshalString(v) - return &res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) marshalODateTime2ᚖstring(ctx context.Context, sel ast.SelectionSet, v *string) graphql.Marshaler { - if v == nil { - return graphql.Null - } - res := graphql.MarshalString(*v) - return res -} - -func (ec *executionContext) marshalOEvidenceConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐEvidenceConnection(ctx context.Context, sel ast.SelectionSet, v *model.EvidenceConnection) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._EvidenceConnection(ctx, sel, v) -} - -func (ec *executionContext) marshalOEvidenceEdge2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐEvidenceEdge(ctx context.Context, sel ast.SelectionSet, v []*model.EvidenceEdge) graphql.Marshaler { - if v == nil { - return graphql.Null - } - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalOEvidenceEdge2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐEvidenceEdge(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() - - return ret -} - -func (ec *executionContext) marshalOEvidenceEdge2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐEvidenceEdge(ctx context.Context, sel ast.SelectionSet, v *model.EvidenceEdge) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._EvidenceEdge(ctx, sel, v) -} - -func (ec *executionContext) unmarshalOEvidenceFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐEvidenceFilter(ctx context.Context, v interface{}) (*model.EvidenceFilter, error) { - if v == nil { - return nil, nil - } - res, err := ec.unmarshalInputEvidenceFilter(ctx, v) - return &res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) marshalOFilterItem2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐFilterItem(ctx context.Context, sel ast.SelectionSet, v *model.FilterItem) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._FilterItem(ctx, sel, v) -} - -func (ec *executionContext) unmarshalOFloat2ᚖfloat64(ctx context.Context, v interface{}) (*float64, error) { - if v == nil { - return nil, nil - } - res, err := graphql.UnmarshalFloatContext(ctx, v) - return &res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) marshalOFloat2ᚖfloat64(ctx context.Context, sel ast.SelectionSet, v *float64) graphql.Marshaler { - if v == nil { - return graphql.Null - } - res := graphql.MarshalFloatContext(*v) - return graphql.WrapContextMarshaler(ctx, res) -} - -func (ec *executionContext) unmarshalOInt2ᚕᚖint(ctx context.Context, v interface{}) ([]*int, error) { - if v == nil { - return nil, nil - } - var vSlice []interface{} - if v != nil { - vSlice = graphql.CoerceList(v) - } - var err error - res := make([]*int, len(vSlice)) - for i := range vSlice { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i)) - res[i], err = ec.unmarshalOInt2ᚖint(ctx, vSlice[i]) - if err != nil { - return nil, err - } - } - return res, nil -} - -func (ec *executionContext) marshalOInt2ᚕᚖint(ctx context.Context, sel ast.SelectionSet, v []*int) graphql.Marshaler { - if v == nil { - return graphql.Null - } - ret := make(graphql.Array, len(v)) - for i := range v { - ret[i] = ec.marshalOInt2ᚖint(ctx, sel, v[i]) - } - - return ret -} - -func (ec *executionContext) unmarshalOInt2ᚖint(ctx context.Context, v interface{}) (*int, error) { - if v == nil { - return nil, nil - } - res, err := graphql.UnmarshalInt(v) - return &res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) marshalOInt2ᚖint(ctx context.Context, sel ast.SelectionSet, v *int) graphql.Marshaler { - if v == nil { - return graphql.Null - } - res := graphql.MarshalInt(*v) - return res -} - -func (ec *executionContext) marshalOIssue2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssue(ctx context.Context, sel ast.SelectionSet, v *model.Issue) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._Issue(ctx, sel, v) -} - -func (ec *executionContext) marshalOIssueConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueConnection(ctx context.Context, sel ast.SelectionSet, v *model.IssueConnection) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._IssueConnection(ctx, sel, v) -} - -func (ec *executionContext) marshalOIssueEdge2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueEdge(ctx context.Context, sel ast.SelectionSet, v *model.IssueEdge) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._IssueEdge(ctx, sel, v) -} - -func (ec *executionContext) unmarshalOIssueFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueFilter(ctx context.Context, v interface{}) (*model.IssueFilter, error) { - if v == nil { - return nil, nil - } - res, err := ec.unmarshalInputIssueFilter(ctx, v) - return &res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) unmarshalOIssueMatchChangeActions2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchChangeActions(ctx context.Context, v interface{}) ([]*model.IssueMatchChangeActions, error) { - if v == nil { - return nil, nil - } - var vSlice []interface{} - if v != nil { - vSlice = graphql.CoerceList(v) - } - var err error - res := make([]*model.IssueMatchChangeActions, len(vSlice)) - for i := range vSlice { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i)) - res[i], err = ec.unmarshalOIssueMatchChangeActions2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchChangeActions(ctx, vSlice[i]) - if err != nil { - return nil, err - } - } - return res, nil -} - -func (ec *executionContext) marshalOIssueMatchChangeActions2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchChangeActions(ctx context.Context, sel ast.SelectionSet, v []*model.IssueMatchChangeActions) graphql.Marshaler { - if v == nil { - return graphql.Null - } - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalOIssueMatchChangeActions2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchChangeActions(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() - - return ret -} - -func (ec *executionContext) unmarshalOIssueMatchChangeActions2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchChangeActions(ctx context.Context, v interface{}) (*model.IssueMatchChangeActions, error) { - if v == nil { - return nil, nil - } - var res = new(model.IssueMatchChangeActions) - err := res.UnmarshalGQL(v) - return res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) marshalOIssueMatchChangeActions2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchChangeActions(ctx context.Context, sel ast.SelectionSet, v *model.IssueMatchChangeActions) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return v -} - -func (ec *executionContext) marshalOIssueMatchChangeConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchChangeConnection(ctx context.Context, sel ast.SelectionSet, v *model.IssueMatchChangeConnection) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._IssueMatchChangeConnection(ctx, sel, v) -} - -func (ec *executionContext) marshalOIssueMatchChangeEdge2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchChangeEdge(ctx context.Context, sel ast.SelectionSet, v []*model.IssueMatchChangeEdge) graphql.Marshaler { - if v == nil { - return graphql.Null - } - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalOIssueMatchChangeEdge2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchChangeEdge(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() - - return ret -} - -func (ec *executionContext) marshalOIssueMatchChangeEdge2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchChangeEdge(ctx context.Context, sel ast.SelectionSet, v *model.IssueMatchChangeEdge) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._IssueMatchChangeEdge(ctx, sel, v) -} - -func (ec *executionContext) unmarshalOIssueMatchChangeFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchChangeFilter(ctx context.Context, v interface{}) (*model.IssueMatchChangeFilter, error) { - if v == nil { - return nil, nil - } - res, err := ec.unmarshalInputIssueMatchChangeFilter(ctx, v) - return &res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) marshalOIssueMatchConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchConnection(ctx context.Context, sel ast.SelectionSet, v *model.IssueMatchConnection) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._IssueMatchConnection(ctx, sel, v) -} - -func (ec *executionContext) marshalOIssueMatchEdge2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchEdge(ctx context.Context, sel ast.SelectionSet, v []*model.IssueMatchEdge) graphql.Marshaler { - if v == nil { - return graphql.Null - } - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalOIssueMatchEdge2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchEdge(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() - - return ret -} - -func (ec *executionContext) marshalOIssueMatchEdge2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchEdge(ctx context.Context, sel ast.SelectionSet, v *model.IssueMatchEdge) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._IssueMatchEdge(ctx, sel, v) -} - -func (ec *executionContext) unmarshalOIssueMatchFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchFilter(ctx context.Context, v interface{}) (*model.IssueMatchFilter, error) { - if v == nil { - return nil, nil - } - res, err := ec.unmarshalInputIssueMatchFilter(ctx, v) - return &res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) marshalOIssueMatchFilterValue2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchFilterValue(ctx context.Context, sel ast.SelectionSet, v *model.IssueMatchFilterValue) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._IssueMatchFilterValue(ctx, sel, v) -} - -func (ec *executionContext) unmarshalOIssueMatchStatusValues2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchStatusValues(ctx context.Context, v interface{}) ([]*model.IssueMatchStatusValues, error) { - if v == nil { - return nil, nil - } - var vSlice []interface{} - if v != nil { - vSlice = graphql.CoerceList(v) - } - var err error - res := make([]*model.IssueMatchStatusValues, len(vSlice)) - for i := range vSlice { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i)) - res[i], err = ec.unmarshalOIssueMatchStatusValues2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchStatusValues(ctx, vSlice[i]) - if err != nil { - return nil, err - } - } - return res, nil -} - -func (ec *executionContext) marshalOIssueMatchStatusValues2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchStatusValues(ctx context.Context, sel ast.SelectionSet, v []*model.IssueMatchStatusValues) graphql.Marshaler { - if v == nil { - return graphql.Null - } - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalOIssueMatchStatusValues2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchStatusValues(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() - - return ret -} - -func (ec *executionContext) unmarshalOIssueMatchStatusValues2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchStatusValues(ctx context.Context, v interface{}) (*model.IssueMatchStatusValues, error) { - if v == nil { - return nil, nil - } - var res = new(model.IssueMatchStatusValues) - err := res.UnmarshalGQL(v) - return res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) marshalOIssueMatchStatusValues2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMatchStatusValues(ctx context.Context, sel ast.SelectionSet, v *model.IssueMatchStatusValues) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return v -} - -func (ec *executionContext) marshalOIssueMetadata2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueMetadata(ctx context.Context, sel ast.SelectionSet, v *model.IssueMetadata) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._IssueMetadata(ctx, sel, v) -} - -func (ec *executionContext) marshalOIssueRepository2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueRepository(ctx context.Context, sel ast.SelectionSet, v *model.IssueRepository) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._IssueRepository(ctx, sel, v) -} - -func (ec *executionContext) marshalOIssueRepositoryConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueRepositoryConnection(ctx context.Context, sel ast.SelectionSet, v *model.IssueRepositoryConnection) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._IssueRepositoryConnection(ctx, sel, v) -} - -func (ec *executionContext) marshalOIssueRepositoryEdge2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueRepositoryEdge(ctx context.Context, sel ast.SelectionSet, v []*model.IssueRepositoryEdge) graphql.Marshaler { - if v == nil { - return graphql.Null - } - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalOIssueRepositoryEdge2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueRepositoryEdge(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() - - return ret -} - -func (ec *executionContext) marshalOIssueRepositoryEdge2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueRepositoryEdge(ctx context.Context, sel ast.SelectionSet, v *model.IssueRepositoryEdge) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._IssueRepositoryEdge(ctx, sel, v) -} - -func (ec *executionContext) unmarshalOIssueRepositoryFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueRepositoryFilter(ctx context.Context, v interface{}) (*model.IssueRepositoryFilter, error) { - if v == nil { - return nil, nil - } - res, err := ec.unmarshalInputIssueRepositoryFilter(ctx, v) - return &res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) unmarshalOIssueTypes2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueTypes(ctx context.Context, v interface{}) ([]*model.IssueTypes, error) { - if v == nil { - return nil, nil - } - var vSlice []interface{} - if v != nil { - vSlice = graphql.CoerceList(v) - } - var err error - res := make([]*model.IssueTypes, len(vSlice)) - for i := range vSlice { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i)) - res[i], err = ec.unmarshalOIssueTypes2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueTypes(ctx, vSlice[i]) - if err != nil { - return nil, err - } - } - return res, nil -} - -func (ec *executionContext) marshalOIssueTypes2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueTypes(ctx context.Context, sel ast.SelectionSet, v []*model.IssueTypes) graphql.Marshaler { - if v == nil { - return graphql.Null - } - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalOIssueTypes2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueTypes(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() - - return ret -} - -func (ec *executionContext) unmarshalOIssueTypes2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueTypes(ctx context.Context, v interface{}) (*model.IssueTypes, error) { - if v == nil { - return nil, nil - } - var res = new(model.IssueTypes) - err := res.UnmarshalGQL(v) - return res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) marshalOIssueTypes2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueTypes(ctx context.Context, sel ast.SelectionSet, v *model.IssueTypes) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return v -} - -func (ec *executionContext) marshalOIssueVariantConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueVariantConnection(ctx context.Context, sel ast.SelectionSet, v *model.IssueVariantConnection) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._IssueVariantConnection(ctx, sel, v) -} - -func (ec *executionContext) marshalOIssueVariantEdge2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueVariantEdge(ctx context.Context, sel ast.SelectionSet, v []*model.IssueVariantEdge) graphql.Marshaler { - if v == nil { - return graphql.Null - } - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalOIssueVariantEdge2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueVariantEdge(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() - - return ret -} - -func (ec *executionContext) marshalOIssueVariantEdge2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueVariantEdge(ctx context.Context, sel ast.SelectionSet, v *model.IssueVariantEdge) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._IssueVariantEdge(ctx, sel, v) -} - -func (ec *executionContext) unmarshalOIssueVariantFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐIssueVariantFilter(ctx context.Context, v interface{}) (*model.IssueVariantFilter, error) { - if v == nil { - return nil, nil - } - res, err := ec.unmarshalInputIssueVariantFilter(ctx, v) - return &res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) marshalOPage2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐPage(ctx context.Context, sel ast.SelectionSet, v []*model.Page) graphql.Marshaler { - if v == nil { - return graphql.Null - } - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalOPage2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐPage(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() - - return ret -} - -func (ec *executionContext) marshalOPage2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐPage(ctx context.Context, sel ast.SelectionSet, v *model.Page) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._Page(ctx, sel, v) -} - -func (ec *executionContext) marshalOPageInfo2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐPageInfo(ctx context.Context, sel ast.SelectionSet, v *model.PageInfo) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._PageInfo(ctx, sel, v) -} - -func (ec *executionContext) marshalOService2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐService(ctx context.Context, sel ast.SelectionSet, v *model.Service) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._Service(ctx, sel, v) -} - -func (ec *executionContext) marshalOServiceConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐServiceConnection(ctx context.Context, sel ast.SelectionSet, v *model.ServiceConnection) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._ServiceConnection(ctx, sel, v) -} - -func (ec *executionContext) marshalOServiceEdge2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐServiceEdge(ctx context.Context, sel ast.SelectionSet, v []*model.ServiceEdge) graphql.Marshaler { - if v == nil { - return graphql.Null - } - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalOServiceEdge2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐServiceEdge(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() - - return ret -} - -func (ec *executionContext) marshalOServiceEdge2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐServiceEdge(ctx context.Context, sel ast.SelectionSet, v *model.ServiceEdge) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._ServiceEdge(ctx, sel, v) -} - -func (ec *executionContext) unmarshalOServiceFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐServiceFilter(ctx context.Context, v interface{}) (*model.ServiceFilter, error) { - if v == nil { - return nil, nil - } - res, err := ec.unmarshalInputServiceFilter(ctx, v) - return &res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) marshalOServiceFilterValue2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐServiceFilterValue(ctx context.Context, sel ast.SelectionSet, v *model.ServiceFilterValue) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._ServiceFilterValue(ctx, sel, v) -} - -func (ec *executionContext) marshalOServiceMetadata2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐServiceMetadata(ctx context.Context, sel ast.SelectionSet, v *model.ServiceMetadata) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._ServiceMetadata(ctx, sel, v) -} - -func (ec *executionContext) marshalOSeverity2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSeverity(ctx context.Context, sel ast.SelectionSet, v *model.Severity) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._Severity(ctx, sel, v) -} - -func (ec *executionContext) unmarshalOSeverityInput2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSeverityInput(ctx context.Context, v interface{}) (*model.SeverityInput, error) { - if v == nil { - return nil, nil - } - res, err := ec.unmarshalInputSeverityInput(ctx, v) - return &res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) unmarshalOSeverityValues2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSeverityValues(ctx context.Context, v interface{}) ([]*model.SeverityValues, error) { - if v == nil { - return nil, nil - } - var vSlice []interface{} - if v != nil { - vSlice = graphql.CoerceList(v) - } - var err error - res := make([]*model.SeverityValues, len(vSlice)) - for i := range vSlice { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i)) - res[i], err = ec.unmarshalOSeverityValues2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSeverityValues(ctx, vSlice[i]) - if err != nil { - return nil, err - } - } - return res, nil -} - -func (ec *executionContext) marshalOSeverityValues2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSeverityValues(ctx context.Context, sel ast.SelectionSet, v []*model.SeverityValues) graphql.Marshaler { - if v == nil { - return graphql.Null - } - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalOSeverityValues2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSeverityValues(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() - - return ret -} - -func (ec *executionContext) unmarshalOSeverityValues2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSeverityValues(ctx context.Context, v interface{}) (*model.SeverityValues, error) { - if v == nil { - return nil, nil - } - var res = new(model.SeverityValues) - err := res.UnmarshalGQL(v) - return res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) marshalOSeverityValues2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSeverityValues(ctx context.Context, sel ast.SelectionSet, v *model.SeverityValues) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return v -} - -func (ec *executionContext) unmarshalOString2ᚕᚖstring(ctx context.Context, v interface{}) ([]*string, error) { - if v == nil { - return nil, nil - } - var vSlice []interface{} - if v != nil { - vSlice = graphql.CoerceList(v) - } - var err error - res := make([]*string, len(vSlice)) - for i := range vSlice { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i)) - res[i], err = ec.unmarshalOString2ᚖstring(ctx, vSlice[i]) - if err != nil { - return nil, err - } - } - return res, nil -} - -func (ec *executionContext) marshalOString2ᚕᚖstring(ctx context.Context, sel ast.SelectionSet, v []*string) graphql.Marshaler { - if v == nil { - return graphql.Null - } - ret := make(graphql.Array, len(v)) - for i := range v { - ret[i] = ec.marshalOString2ᚖstring(ctx, sel, v[i]) - } - - return ret -} - -func (ec *executionContext) unmarshalOString2ᚖstring(ctx context.Context, v interface{}) (*string, error) { - if v == nil { - return nil, nil - } - res, err := graphql.UnmarshalString(v) - return &res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) marshalOString2ᚖstring(ctx context.Context, sel ast.SelectionSet, v *string) graphql.Marshaler { - if v == nil { - return graphql.Null - } - res := graphql.MarshalString(*v) - return res -} - -func (ec *executionContext) marshalOSupportGroupConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSupportGroupConnection(ctx context.Context, sel ast.SelectionSet, v *model.SupportGroupConnection) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._SupportGroupConnection(ctx, sel, v) -} - -func (ec *executionContext) marshalOSupportGroupEdge2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSupportGroupEdge(ctx context.Context, sel ast.SelectionSet, v []*model.SupportGroupEdge) graphql.Marshaler { - if v == nil { - return graphql.Null - } - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalOSupportGroupEdge2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSupportGroupEdge(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() - - return ret -} - -func (ec *executionContext) marshalOSupportGroupEdge2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSupportGroupEdge(ctx context.Context, sel ast.SelectionSet, v *model.SupportGroupEdge) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._SupportGroupEdge(ctx, sel, v) -} - -func (ec *executionContext) unmarshalOSupportGroupFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐSupportGroupFilter(ctx context.Context, v interface{}) (*model.SupportGroupFilter, error) { - if v == nil { - return nil, nil - } - res, err := ec.unmarshalInputSupportGroupFilter(ctx, v) - return &res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) marshalOUser2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐUser(ctx context.Context, sel ast.SelectionSet, v *model.User) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._User(ctx, sel, v) -} - -func (ec *executionContext) marshalOUserConnection2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐUserConnection(ctx context.Context, sel ast.SelectionSet, v *model.UserConnection) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._UserConnection(ctx, sel, v) -} - -func (ec *executionContext) marshalOUserEdge2ᚕᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐUserEdge(ctx context.Context, sel ast.SelectionSet, v []*model.UserEdge) graphql.Marshaler { - if v == nil { - return graphql.Null - } - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalOUserEdge2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐUserEdge(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() - - return ret -} - -func (ec *executionContext) marshalOUserEdge2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐUserEdge(ctx context.Context, sel ast.SelectionSet, v *model.UserEdge) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec._UserEdge(ctx, sel, v) -} - -func (ec *executionContext) unmarshalOUserFilter2ᚖgithubᚗcomᚋcloudoperatorsᚋheurekaᚋinternalᚋapiᚋgraphqlᚋgraphᚋmodelᚐUserFilter(ctx context.Context, v interface{}) (*model.UserFilter, error) { - if v == nil { - return nil, nil - } - res, err := ec.unmarshalInputUserFilter(ctx, v) - return &res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) marshalO__EnumValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐEnumValueᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.EnumValue) graphql.Marshaler { - if v == nil { - return graphql.Null - } - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalN__EnumValue2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐEnumValue(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() - - for _, e := range ret { - if e == graphql.Null { - return graphql.Null - } - } - - return ret -} - -func (ec *executionContext) marshalO__Field2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐFieldᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.Field) graphql.Marshaler { - if v == nil { - return graphql.Null - } - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalN__Field2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐField(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() - - for _, e := range ret { - if e == graphql.Null { - return graphql.Null - } - } - - return ret -} - -func (ec *executionContext) marshalO__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.InputValue) graphql.Marshaler { - if v == nil { - return graphql.Null - } - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalN__InputValue2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValue(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() - - for _, e := range ret { - if e == graphql.Null { - return graphql.Null - } - } - - return ret -} - -func (ec *executionContext) marshalO__Schema2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐSchema(ctx context.Context, sel ast.SelectionSet, v *introspection.Schema) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec.___Schema(ctx, sel, v) -} - -func (ec *executionContext) marshalO__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐTypeᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.Type) graphql.Marshaler { - if v == nil { - return graphql.Null - } - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalN__Type2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() - - for _, e := range ret { - if e == graphql.Null { - return graphql.Null - } - } - - return ret -} - -func (ec *executionContext) marshalO__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx context.Context, sel ast.SelectionSet, v *introspection.Type) graphql.Marshaler { - if v == nil { - return graphql.Null - } - return ec.___Type(ctx, sel, v) -} - -// endregion ***************************** type.gotpl ***************************** diff --git a/internal/api/graphql/graph/model/models_gen.go b/internal/api/graphql/graph/model/models_gen.go deleted file mode 100644 index 4e5cfaf0..00000000 --- a/internal/api/graphql/graph/model/models_gen.go +++ /dev/null @@ -1,1064 +0,0 @@ -// SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Greenhouse contributors -// SPDX-License-Identifier: Apache-2.0 - -// Code generated by github.com/99designs/gqlgen, DO NOT EDIT. - -package model - -import ( - "fmt" - "io" - "strconv" -) - -type Connection interface { - IsConnection() - GetTotalCount() int - GetPageInfo() *PageInfo -} - -type Edge interface { - IsEdge() - GetNode() Node - GetCursor() *string -} - -type Node interface { - IsNode() - GetID() string -} - -type Activity struct { - ID string `json:"id"` - Status *ActivityStatusValues `json:"status,omitempty"` - Services *ServiceConnection `json:"services,omitempty"` - Issues *IssueConnection `json:"issues,omitempty"` - Evidences *EvidenceConnection `json:"evidences,omitempty"` - IssueMatchChanges *IssueMatchChangeConnection `json:"issueMatchChanges,omitempty"` -} - -func (Activity) IsNode() {} -func (this Activity) GetID() string { return this.ID } - -type ActivityConnection struct { - TotalCount int `json:"totalCount"` - Edges []*ActivityEdge `json:"edges,omitempty"` - PageInfo *PageInfo `json:"pageInfo,omitempty"` -} - -func (ActivityConnection) IsConnection() {} -func (this ActivityConnection) GetTotalCount() int { return this.TotalCount } -func (this ActivityConnection) GetPageInfo() *PageInfo { return this.PageInfo } - -type ActivityEdge struct { - Node *Activity `json:"node"` - Cursor *string `json:"cursor,omitempty"` -} - -func (ActivityEdge) IsEdge() {} -func (this ActivityEdge) GetNode() Node { return *this.Node } -func (this ActivityEdge) GetCursor() *string { return this.Cursor } - -type ActivityFilter struct { - ServiceCcrn []*string `json:"serviceCcrn,omitempty"` - Status []*ActivityStatusValues `json:"status,omitempty"` -} - -type ActivityInput struct { - Status *ActivityStatusValues `json:"status,omitempty"` -} - -type Cvss struct { - Vector *string `json:"vector,omitempty"` - Base *CVSSBase `json:"base,omitempty"` - Temporal *CVSSTemporal `json:"temporal,omitempty"` - Environmental *CVSSEnvironmental `json:"environmental,omitempty"` -} - -type CVSSBase struct { - Score *float64 `json:"score,omitempty"` - AttackVector *string `json:"attackVector,omitempty"` - AttackComplexity *string `json:"attackComplexity,omitempty"` - PrivilegesRequired *string `json:"privilegesRequired,omitempty"` - UserInteraction *string `json:"userInteraction,omitempty"` - Scope *string `json:"scope,omitempty"` - ConfidentialityImpact *string `json:"confidentialityImpact,omitempty"` - IntegrityImpact *string `json:"integrityImpact,omitempty"` - AvailabilityImpact *string `json:"availabilityImpact,omitempty"` -} - -type CVSSEnvironmental struct { - Score *float64 `json:"score,omitempty"` - ModifiedAttackVector *string `json:"modifiedAttackVector,omitempty"` - ModifiedAttackComplexity *string `json:"modifiedAttackComplexity,omitempty"` - ModifiedPrivilegesRequired *string `json:"modifiedPrivilegesRequired,omitempty"` - ModifiedUserInteraction *string `json:"modifiedUserInteraction,omitempty"` - ModifiedScope *string `json:"modifiedScope,omitempty"` - ModifiedConfidentialityImpact *string `json:"modifiedConfidentialityImpact,omitempty"` - ModifiedIntegrityImpact *string `json:"modifiedIntegrityImpact,omitempty"` - ModifiedAvailabilityImpact *string `json:"modifiedAvailabilityImpact,omitempty"` - ConfidentialityRequirement *string `json:"confidentialityRequirement,omitempty"` - AvailabilityRequirement *string `json:"availabilityRequirement,omitempty"` - IntegrityRequirement *string `json:"integrityRequirement,omitempty"` -} - -type CVSSParameter struct { - Name *string `json:"name,omitempty"` - Value *string `json:"value,omitempty"` -} - -type CVSSTemporal struct { - Score *float64 `json:"score,omitempty"` - ExploitCodeMaturity *string `json:"exploitCodeMaturity,omitempty"` - RemediationLevel *string `json:"remediationLevel,omitempty"` - ReportConfidence *string `json:"reportConfidence,omitempty"` -} - -type Component struct { - ID string `json:"id"` - Ccrn *string `json:"ccrn,omitempty"` - Type *ComponentTypeValues `json:"type,omitempty"` - ComponentVersions *ComponentVersionConnection `json:"componentVersions,omitempty"` -} - -func (Component) IsNode() {} -func (this Component) GetID() string { return this.ID } - -type ComponentConnection struct { - TotalCount int `json:"totalCount"` - Edges []*ComponentEdge `json:"edges,omitempty"` - PageInfo *PageInfo `json:"pageInfo,omitempty"` -} - -func (ComponentConnection) IsConnection() {} -func (this ComponentConnection) GetTotalCount() int { return this.TotalCount } -func (this ComponentConnection) GetPageInfo() *PageInfo { return this.PageInfo } - -type ComponentEdge struct { - Node *Component `json:"node"` - Cursor *string `json:"cursor,omitempty"` -} - -func (ComponentEdge) IsEdge() {} -func (this ComponentEdge) GetNode() Node { return *this.Node } -func (this ComponentEdge) GetCursor() *string { return this.Cursor } - -type ComponentFilter struct { - ComponentCcrn []*string `json:"componentCcrn,omitempty"` -} - -type ComponentFilterValue struct { - ComponentCcrn *FilterItem `json:"componentCcrn,omitempty"` -} - -type ComponentInput struct { - Ccrn *string `json:"ccrn,omitempty"` - Type *ComponentTypeValues `json:"type,omitempty"` -} - -type ComponentInstance struct { - ID string `json:"id"` - Ccrn *string `json:"ccrn,omitempty"` - Count *int `json:"count,omitempty"` - ComponentVersionID *string `json:"componentVersionId,omitempty"` - ComponentVersion *ComponentVersion `json:"componentVersion,omitempty"` - IssueMatches *IssueMatchConnection `json:"issueMatches,omitempty"` - ServiceID *string `json:"serviceId,omitempty"` - Service *Service `json:"service,omitempty"` - CreatedAt *string `json:"createdAt,omitempty"` - UpdatedAt *string `json:"updatedAt,omitempty"` -} - -func (ComponentInstance) IsNode() {} -func (this ComponentInstance) GetID() string { return this.ID } - -type ComponentInstanceConnection struct { - TotalCount int `json:"totalCount"` - Edges []*ComponentInstanceEdge `json:"edges"` - PageInfo *PageInfo `json:"pageInfo,omitempty"` -} - -func (ComponentInstanceConnection) IsConnection() {} -func (this ComponentInstanceConnection) GetTotalCount() int { return this.TotalCount } -func (this ComponentInstanceConnection) GetPageInfo() *PageInfo { return this.PageInfo } - -type ComponentInstanceEdge struct { - Node *ComponentInstance `json:"node"` - Cursor *string `json:"cursor,omitempty"` -} - -func (ComponentInstanceEdge) IsEdge() {} -func (this ComponentInstanceEdge) GetNode() Node { return *this.Node } -func (this ComponentInstanceEdge) GetCursor() *string { return this.Cursor } - -type ComponentInstanceFilter struct { - ServiceCcrn []*string `json:"serviceCcrn,omitempty"` - Ccrn []*string `json:"ccrn,omitempty"` - SupportGroup []*string `json:"supportGroup,omitempty"` - Search []*string `json:"search,omitempty"` -} - -type ComponentInstanceFilterValue struct { - ServiceCcrn *FilterItem `json:"serviceCcrn,omitempty"` - SupportGroupCcrn *FilterItem `json:"supportGroupCcrn,omitempty"` - Ccrn *FilterItem `json:"ccrn,omitempty"` -} - -type ComponentInstanceInput struct { - Ccrn *string `json:"ccrn,omitempty"` - Count *int `json:"count,omitempty"` - ComponentVersionID *string `json:"componentVersionId,omitempty"` - ServiceID *string `json:"serviceId,omitempty"` -} - -type ComponentVersion struct { - ID string `json:"id"` - Version *string `json:"version,omitempty"` - ComponentID *string `json:"componentId,omitempty"` - Component *Component `json:"component,omitempty"` - Issues *IssueConnection `json:"issues,omitempty"` - ComponentInstances *ComponentInstanceConnection `json:"componentInstances,omitempty"` -} - -func (ComponentVersion) IsNode() {} -func (this ComponentVersion) GetID() string { return this.ID } - -type ComponentVersionConnection struct { - TotalCount int `json:"totalCount"` - Edges []*ComponentVersionEdge `json:"edges"` - PageInfo *PageInfo `json:"pageInfo,omitempty"` -} - -func (ComponentVersionConnection) IsConnection() {} -func (this ComponentVersionConnection) GetTotalCount() int { return this.TotalCount } -func (this ComponentVersionConnection) GetPageInfo() *PageInfo { return this.PageInfo } - -type ComponentVersionEdge struct { - Node *ComponentVersion `json:"node"` - Cursor *string `json:"cursor,omitempty"` -} - -func (ComponentVersionEdge) IsEdge() {} -func (this ComponentVersionEdge) GetNode() Node { return *this.Node } -func (this ComponentVersionEdge) GetCursor() *string { return this.Cursor } - -type ComponentVersionFilter struct { - ComponentID []*string `json:"componentId,omitempty"` - ComponentCcrn []*string `json:"componentCcrn,omitempty"` - IssueID []*string `json:"issueId,omitempty"` - Version []*string `json:"version,omitempty"` -} - -type ComponentVersionInput struct { - Version *string `json:"version,omitempty"` - ComponentID *string `json:"componentId,omitempty"` -} - -type DateTimeFilter struct { - After *string `json:"after,omitempty"` - Before *string `json:"before,omitempty"` -} - -type Evidence struct { - ID string `json:"id"` - Description *string `json:"description,omitempty"` - Type *string `json:"type,omitempty"` - Vector *string `json:"vector,omitempty"` - RaaEnd *string `json:"raaEnd,omitempty"` - AuthorID *string `json:"authorId,omitempty"` - Author *User `json:"author,omitempty"` - ActivityID *string `json:"activityId,omitempty"` - Activity *Activity `json:"activity,omitempty"` - IssueMatches *IssueMatchConnection `json:"issueMatches,omitempty"` -} - -func (Evidence) IsNode() {} -func (this Evidence) GetID() string { return this.ID } - -type EvidenceConnection struct { - TotalCount int `json:"totalCount"` - Edges []*EvidenceEdge `json:"edges,omitempty"` - PageInfo *PageInfo `json:"pageInfo,omitempty"` -} - -func (EvidenceConnection) IsConnection() {} -func (this EvidenceConnection) GetTotalCount() int { return this.TotalCount } -func (this EvidenceConnection) GetPageInfo() *PageInfo { return this.PageInfo } - -type EvidenceEdge struct { - Node *Evidence `json:"node"` - Cursor *string `json:"cursor,omitempty"` -} - -func (EvidenceEdge) IsEdge() {} -func (this EvidenceEdge) GetNode() Node { return *this.Node } -func (this EvidenceEdge) GetCursor() *string { return this.Cursor } - -type EvidenceFilter struct { - Placeholder []*bool `json:"placeholder,omitempty"` -} - -type EvidenceInput struct { - Description *string `json:"description,omitempty"` - Type *string `json:"type,omitempty"` - RaaEnd *string `json:"raaEnd,omitempty"` - AuthorID *string `json:"authorId,omitempty"` - ActivityID *string `json:"activityId,omitempty"` - Severity *SeverityInput `json:"severity,omitempty"` -} - -type FilterItem struct { - DisplayName *string `json:"displayName,omitempty"` - FilterName *string `json:"filterName,omitempty"` - Values []*string `json:"values,omitempty"` -} - -type Issue struct { - ID string `json:"id"` - Type *IssueTypes `json:"type,omitempty"` - PrimaryName *string `json:"primaryName,omitempty"` - Description *string `json:"description,omitempty"` - LastModified *string `json:"lastModified,omitempty"` - IssueVariants *IssueVariantConnection `json:"issueVariants,omitempty"` - Activities *ActivityConnection `json:"activities,omitempty"` - IssueMatches *IssueMatchConnection `json:"issueMatches,omitempty"` - ComponentVersions *ComponentVersionConnection `json:"componentVersions,omitempty"` - Metadata *IssueMetadata `json:"metadata,omitempty"` -} - -func (Issue) IsNode() {} -func (this Issue) GetID() string { return this.ID } - -type IssueConnection struct { - TotalCount int `json:"totalCount"` - VulnerabilityCount int `json:"vulnerabilityCount"` - PolicyViolationCount int `json:"policyViolationCount"` - SecurityEventCount int `json:"securityEventCount"` - Edges []*IssueEdge `json:"edges"` - PageInfo *PageInfo `json:"pageInfo,omitempty"` -} - -func (IssueConnection) IsConnection() {} -func (this IssueConnection) GetTotalCount() int { return this.TotalCount } -func (this IssueConnection) GetPageInfo() *PageInfo { return this.PageInfo } - -type IssueEdge struct { - Node *Issue `json:"node"` - Cursor *string `json:"cursor,omitempty"` -} - -func (IssueEdge) IsEdge() {} -func (this IssueEdge) GetNode() Node { return *this.Node } -func (this IssueEdge) GetCursor() *string { return this.Cursor } - -type IssueFilter struct { - AffectedService []*string `json:"affectedService,omitempty"` - PrimaryName []*string `json:"primaryName,omitempty"` - IssueMatchStatus []*IssueMatchStatusValues `json:"issueMatchStatus,omitempty"` - IssueType []*IssueTypes `json:"issueType,omitempty"` - ComponentVersionID []*string `json:"componentVersionId,omitempty"` - Search []*string `json:"search,omitempty"` -} - -type IssueInput struct { - PrimaryName *string `json:"primaryName,omitempty"` - Description *string `json:"description,omitempty"` - Type *IssueTypes `json:"type,omitempty"` -} - -type IssueMatch struct { - ID string `json:"id"` - Status *IssueMatchStatusValues `json:"status,omitempty"` - RemediationDate *string `json:"remediationDate,omitempty"` - DiscoveryDate *string `json:"discoveryDate,omitempty"` - TargetRemediationDate *string `json:"targetRemediationDate,omitempty"` - Severity *Severity `json:"severity,omitempty"` - EffectiveIssueVariants *IssueVariantConnection `json:"effectiveIssueVariants,omitempty"` - Evidences *EvidenceConnection `json:"evidences,omitempty"` - IssueID *string `json:"issueId,omitempty"` - Issue *Issue `json:"issue"` - UserID *string `json:"userId,omitempty"` - User *User `json:"user,omitempty"` - ComponentInstanceID *string `json:"componentInstanceId,omitempty"` - ComponentInstance *ComponentInstance `json:"componentInstance"` - IssueMatchChanges *IssueMatchChangeConnection `json:"issueMatchChanges,omitempty"` -} - -func (IssueMatch) IsNode() {} -func (this IssueMatch) GetID() string { return this.ID } - -type IssueMatchChange struct { - ID string `json:"id"` - Action *IssueMatchChangeActions `json:"action,omitempty"` - IssueMatchID *string `json:"issueMatchId,omitempty"` - IssueMatch *IssueMatch `json:"issueMatch"` - ActivityID *string `json:"activityId,omitempty"` - Activity *Activity `json:"activity"` -} - -func (IssueMatchChange) IsNode() {} -func (this IssueMatchChange) GetID() string { return this.ID } - -type IssueMatchChangeConnection struct { - TotalCount int `json:"totalCount"` - Edges []*IssueMatchChangeEdge `json:"edges,omitempty"` - PageInfo *PageInfo `json:"pageInfo,omitempty"` -} - -func (IssueMatchChangeConnection) IsConnection() {} -func (this IssueMatchChangeConnection) GetTotalCount() int { return this.TotalCount } -func (this IssueMatchChangeConnection) GetPageInfo() *PageInfo { return this.PageInfo } - -type IssueMatchChangeEdge struct { - Node *IssueMatchChange `json:"node"` - Cursor *string `json:"cursor,omitempty"` -} - -func (IssueMatchChangeEdge) IsEdge() {} -func (this IssueMatchChangeEdge) GetNode() Node { return *this.Node } -func (this IssueMatchChangeEdge) GetCursor() *string { return this.Cursor } - -type IssueMatchChangeFilter struct { - Action []*IssueMatchChangeActions `json:"action,omitempty"` -} - -type IssueMatchChangeInput struct { - Action *IssueMatchChangeActions `json:"action,omitempty"` - IssueMatchID *string `json:"issueMatchId,omitempty"` - ActivityID *string `json:"activityId,omitempty"` -} - -type IssueMatchConnection struct { - TotalCount int `json:"totalCount"` - Edges []*IssueMatchEdge `json:"edges,omitempty"` - PageInfo *PageInfo `json:"pageInfo,omitempty"` -} - -func (IssueMatchConnection) IsConnection() {} -func (this IssueMatchConnection) GetTotalCount() int { return this.TotalCount } -func (this IssueMatchConnection) GetPageInfo() *PageInfo { return this.PageInfo } - -type IssueMatchEdge struct { - Node *IssueMatch `json:"node"` - Cursor *string `json:"cursor,omitempty"` -} - -func (IssueMatchEdge) IsEdge() {} -func (this IssueMatchEdge) GetNode() Node { return *this.Node } -func (this IssueMatchEdge) GetCursor() *string { return this.Cursor } - -type IssueMatchFilter struct { - ID []*string `json:"id,omitempty"` - Search []*string `json:"search,omitempty"` - PrimaryName []*string `json:"primaryName,omitempty"` - ComponentCcrn []*string `json:"componentCcrn,omitempty"` - IssueType []*IssueTypes `json:"issueType,omitempty"` - Status []*IssueMatchStatusValues `json:"status,omitempty"` - Severity []*SeverityValues `json:"severity,omitempty"` - AffectedService []*string `json:"affectedService,omitempty"` - SupportGroupCcrn []*string `json:"supportGroupCcrn,omitempty"` -} - -type IssueMatchFilterValue struct { - Status *FilterItem `json:"status,omitempty"` - Severity *FilterItem `json:"severity,omitempty"` - IssueType *FilterItem `json:"issueType,omitempty"` - PrimaryName *FilterItem `json:"primaryName,omitempty"` - AffectedService *FilterItem `json:"affectedService,omitempty"` - ComponentCcrn *FilterItem `json:"componentCcrn,omitempty"` - SupportGroupCcrn *FilterItem `json:"supportGroupCcrn,omitempty"` -} - -type IssueMatchInput struct { - Status *IssueMatchStatusValues `json:"status,omitempty"` - RemediationDate *string `json:"remediationDate,omitempty"` - DiscoveryDate *string `json:"discoveryDate,omitempty"` - TargetRemediationDate *string `json:"targetRemediationDate,omitempty"` - IssueID *string `json:"issueId,omitempty"` - ComponentInstanceID *string `json:"componentInstanceId,omitempty"` - UserID *string `json:"userId,omitempty"` -} - -type IssueMetadata struct { - ServiceCount int `json:"serviceCount"` - ActivityCount int `json:"activityCount"` - IssueMatchCount int `json:"issueMatchCount"` - ComponentInstanceCount int `json:"componentInstanceCount"` - ComponentVersionCount int `json:"componentVersionCount"` - EarliestDiscoveryDate string `json:"earliestDiscoveryDate"` - EarliestTargetRemediationDate string `json:"earliestTargetRemediationDate"` -} - -type IssueRepository struct { - ID string `json:"id"` - Name *string `json:"name,omitempty"` - URL *string `json:"url,omitempty"` - IssueVariants *IssueVariantConnection `json:"issueVariants,omitempty"` - Services *ServiceConnection `json:"services,omitempty"` - CreatedAt *string `json:"created_at,omitempty"` - UpdatedAt *string `json:"updated_at,omitempty"` -} - -func (IssueRepository) IsNode() {} -func (this IssueRepository) GetID() string { return this.ID } - -type IssueRepositoryConnection struct { - TotalCount int `json:"totalCount"` - Edges []*IssueRepositoryEdge `json:"edges,omitempty"` - PageInfo *PageInfo `json:"pageInfo,omitempty"` -} - -func (IssueRepositoryConnection) IsConnection() {} -func (this IssueRepositoryConnection) GetTotalCount() int { return this.TotalCount } -func (this IssueRepositoryConnection) GetPageInfo() *PageInfo { return this.PageInfo } - -type IssueRepositoryEdge struct { - Node *IssueRepository `json:"node"` - Cursor *string `json:"cursor,omitempty"` - Priority *int `json:"priority,omitempty"` - CreatedAt *string `json:"created_at,omitempty"` - UpdatedAt *string `json:"updated_at,omitempty"` -} - -func (IssueRepositoryEdge) IsEdge() {} -func (this IssueRepositoryEdge) GetNode() Node { return *this.Node } -func (this IssueRepositoryEdge) GetCursor() *string { return this.Cursor } - -type IssueRepositoryFilter struct { - ServiceCcrn []*string `json:"serviceCcrn,omitempty"` - ServiceID []*string `json:"serviceId,omitempty"` - Name []*string `json:"name,omitempty"` -} - -type IssueRepositoryInput struct { - Name *string `json:"name,omitempty"` - URL *string `json:"url,omitempty"` -} - -type IssueVariant struct { - ID string `json:"id"` - SecondaryName *string `json:"secondaryName,omitempty"` - Description *string `json:"description,omitempty"` - Severity *Severity `json:"severity,omitempty"` - IssueRepositoryID *string `json:"issueRepositoryId,omitempty"` - IssueRepository *IssueRepository `json:"issueRepository,omitempty"` - IssueID *string `json:"issueId,omitempty"` - Issue *Issue `json:"issue,omitempty"` - CreatedAt *string `json:"created_at,omitempty"` - UpdatedAt *string `json:"updated_at,omitempty"` -} - -func (IssueVariant) IsNode() {} -func (this IssueVariant) GetID() string { return this.ID } - -type IssueVariantConnection struct { - TotalCount int `json:"totalCount"` - Edges []*IssueVariantEdge `json:"edges,omitempty"` - PageInfo *PageInfo `json:"pageInfo,omitempty"` -} - -func (IssueVariantConnection) IsConnection() {} -func (this IssueVariantConnection) GetTotalCount() int { return this.TotalCount } -func (this IssueVariantConnection) GetPageInfo() *PageInfo { return this.PageInfo } - -type IssueVariantEdge struct { - Node *IssueVariant `json:"node"` - Cursor *string `json:"cursor,omitempty"` - CreatedAt *string `json:"created_at,omitempty"` - UpdatedAt *string `json:"updated_at,omitempty"` -} - -func (IssueVariantEdge) IsEdge() {} -func (this IssueVariantEdge) GetNode() Node { return *this.Node } -func (this IssueVariantEdge) GetCursor() *string { return this.Cursor } - -type IssueVariantFilter struct { - SecondaryName []*string `json:"secondaryName,omitempty"` -} - -type IssueVariantInput struct { - SecondaryName *string `json:"secondaryName,omitempty"` - Description *string `json:"description,omitempty"` - IssueRepositoryID *string `json:"issueRepositoryId,omitempty"` - IssueID *string `json:"issueId,omitempty"` - Severity *SeverityInput `json:"severity,omitempty"` -} - -type Mutation struct { -} - -type Page struct { - After *string `json:"after,omitempty"` - IsCurrent *bool `json:"isCurrent,omitempty"` - PageNumber *int `json:"pageNumber,omitempty"` - PageCount *int `json:"pageCount,omitempty"` -} - -type PageInfo struct { - HasNextPage *bool `json:"hasNextPage,omitempty"` - HasPreviousPage *bool `json:"hasPreviousPage,omitempty"` - IsValidPage *bool `json:"isValidPage,omitempty"` - PageNumber *int `json:"pageNumber,omitempty"` - NextPageAfter *string `json:"nextPageAfter,omitempty"` - Pages []*Page `json:"pages,omitempty"` -} - -type Query struct { -} - -type Service struct { - ID string `json:"id"` - Ccrn *string `json:"ccrn,omitempty"` - Owners *UserConnection `json:"owners,omitempty"` - SupportGroups *SupportGroupConnection `json:"supportGroups,omitempty"` - Activities *ActivityConnection `json:"activities,omitempty"` - IssueRepositories *IssueRepositoryConnection `json:"issueRepositories,omitempty"` - ComponentInstances *ComponentInstanceConnection `json:"componentInstances,omitempty"` - Metadata *ServiceMetadata `json:"metadata,omitempty"` -} - -func (Service) IsNode() {} -func (this Service) GetID() string { return this.ID } - -type ServiceConnection struct { - TotalCount int `json:"totalCount"` - Edges []*ServiceEdge `json:"edges,omitempty"` - PageInfo *PageInfo `json:"pageInfo,omitempty"` -} - -func (ServiceConnection) IsConnection() {} -func (this ServiceConnection) GetTotalCount() int { return this.TotalCount } -func (this ServiceConnection) GetPageInfo() *PageInfo { return this.PageInfo } - -type ServiceEdge struct { - Node *Service `json:"node"` - Cursor *string `json:"cursor,omitempty"` - Priority *int `json:"priority,omitempty"` -} - -func (ServiceEdge) IsEdge() {} -func (this ServiceEdge) GetNode() Node { return *this.Node } -func (this ServiceEdge) GetCursor() *string { return this.Cursor } - -type ServiceFilter struct { - ServiceCcrn []*string `json:"serviceCcrn,omitempty"` - UniqueUserID []*string `json:"uniqueUserId,omitempty"` - Type []*int `json:"type,omitempty"` - UserName []*string `json:"userName,omitempty"` - SupportGroupCcrn []*string `json:"supportGroupCcrn,omitempty"` - Search []*string `json:"search,omitempty"` -} - -type ServiceFilterValue struct { - ServiceCcrn *FilterItem `json:"serviceCcrn,omitempty"` - UniqueUserID *FilterItem `json:"uniqueUserId,omitempty"` - UserName *FilterItem `json:"userName,omitempty"` - SupportGroupCcrn *FilterItem `json:"supportGroupCcrn,omitempty"` -} - -type ServiceInput struct { - Ccrn *string `json:"ccrn,omitempty"` -} - -type ServiceMetadata struct { - IssueMatchCount int `json:"issueMatchCount"` - ComponentInstanceCount int `json:"componentInstanceCount"` -} - -type Severity struct { - Value *SeverityValues `json:"value,omitempty"` - Score *float64 `json:"score,omitempty"` - Cvss *Cvss `json:"cvss,omitempty"` -} - -type SeverityInput struct { - Vector *string `json:"vector,omitempty"` -} - -type SupportGroup struct { - ID string `json:"id"` - Ccrn *string `json:"ccrn,omitempty"` - Users *UserConnection `json:"users,omitempty"` - Services *ServiceConnection `json:"services,omitempty"` -} - -func (SupportGroup) IsNode() {} -func (this SupportGroup) GetID() string { return this.ID } - -type SupportGroupConnection struct { - TotalCount int `json:"totalCount"` - Edges []*SupportGroupEdge `json:"edges,omitempty"` - PageInfo *PageInfo `json:"pageInfo,omitempty"` -} - -func (SupportGroupConnection) IsConnection() {} -func (this SupportGroupConnection) GetTotalCount() int { return this.TotalCount } -func (this SupportGroupConnection) GetPageInfo() *PageInfo { return this.PageInfo } - -type SupportGroupEdge struct { - Node *SupportGroup `json:"node"` - Cursor *string `json:"cursor,omitempty"` -} - -func (SupportGroupEdge) IsEdge() {} -func (this SupportGroupEdge) GetNode() Node { return *this.Node } -func (this SupportGroupEdge) GetCursor() *string { return this.Cursor } - -type SupportGroupFilter struct { - SupportGroupCcrn []*string `json:"supportGroupCcrn,omitempty"` - UserIds []*string `json:"userIds,omitempty"` -} - -type SupportGroupInput struct { - Ccrn *string `json:"ccrn,omitempty"` -} - -type User struct { - ID string `json:"id"` - UniqueUserID *string `json:"uniqueUserId,omitempty"` - Type int `json:"type"` - Name *string `json:"name,omitempty"` - SupportGroups *SupportGroupConnection `json:"supportGroups,omitempty"` - Services *ServiceConnection `json:"services,omitempty"` -} - -func (User) IsNode() {} -func (this User) GetID() string { return this.ID } - -type UserConnection struct { - TotalCount int `json:"totalCount"` - Edges []*UserEdge `json:"edges,omitempty"` - PageInfo *PageInfo `json:"pageInfo,omitempty"` -} - -func (UserConnection) IsConnection() {} -func (this UserConnection) GetTotalCount() int { return this.TotalCount } -func (this UserConnection) GetPageInfo() *PageInfo { return this.PageInfo } - -type UserEdge struct { - Node *User `json:"node"` - Cursor *string `json:"cursor,omitempty"` -} - -func (UserEdge) IsEdge() {} -func (this UserEdge) GetNode() Node { return *this.Node } -func (this UserEdge) GetCursor() *string { return this.Cursor } - -type UserFilter struct { - UserName []*string `json:"userName,omitempty"` - SupportGroupIds []*string `json:"supportGroupIds,omitempty"` - UniqueUserID []*string `json:"uniqueUserId,omitempty"` -} - -type UserInput struct { - UniqueUserID *string `json:"uniqueUserId,omitempty"` - Type *string `json:"type,omitempty"` - Name *string `json:"name,omitempty"` -} - -type ActivityStatusValues string - -const ( - ActivityStatusValuesOpen ActivityStatusValues = "open" - ActivityStatusValuesClosed ActivityStatusValues = "closed" - ActivityStatusValuesInProgress ActivityStatusValues = "in_progress" -) - -var AllActivityStatusValues = []ActivityStatusValues{ - ActivityStatusValuesOpen, - ActivityStatusValuesClosed, - ActivityStatusValuesInProgress, -} - -func (e ActivityStatusValues) IsValid() bool { - switch e { - case ActivityStatusValuesOpen, ActivityStatusValuesClosed, ActivityStatusValuesInProgress: - return true - } - return false -} - -func (e ActivityStatusValues) String() string { - return string(e) -} - -func (e *ActivityStatusValues) UnmarshalGQL(v interface{}) error { - str, ok := v.(string) - if !ok { - return fmt.Errorf("enums must be strings") - } - - *e = ActivityStatusValues(str) - if !e.IsValid() { - return fmt.Errorf("%s is not a valid ActivityStatusValues", str) - } - return nil -} - -func (e ActivityStatusValues) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) -} - -type ComponentTypeValues string - -const ( - ComponentTypeValuesContainerImage ComponentTypeValues = "containerImage" - ComponentTypeValuesVirtualMachineImage ComponentTypeValues = "virtualMachineImage" - ComponentTypeValuesRepository ComponentTypeValues = "repository" -) - -var AllComponentTypeValues = []ComponentTypeValues{ - ComponentTypeValuesContainerImage, - ComponentTypeValuesVirtualMachineImage, - ComponentTypeValuesRepository, -} - -func (e ComponentTypeValues) IsValid() bool { - switch e { - case ComponentTypeValuesContainerImage, ComponentTypeValuesVirtualMachineImage, ComponentTypeValuesRepository: - return true - } - return false -} - -func (e ComponentTypeValues) String() string { - return string(e) -} - -func (e *ComponentTypeValues) UnmarshalGQL(v interface{}) error { - str, ok := v.(string) - if !ok { - return fmt.Errorf("enums must be strings") - } - - *e = ComponentTypeValues(str) - if !e.IsValid() { - return fmt.Errorf("%s is not a valid ComponentTypeValues", str) - } - return nil -} - -func (e ComponentTypeValues) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) -} - -type IssueMatchChangeActions string - -const ( - IssueMatchChangeActionsAdd IssueMatchChangeActions = "add" - IssueMatchChangeActionsRemove IssueMatchChangeActions = "remove" -) - -var AllIssueMatchChangeActions = []IssueMatchChangeActions{ - IssueMatchChangeActionsAdd, - IssueMatchChangeActionsRemove, -} - -func (e IssueMatchChangeActions) IsValid() bool { - switch e { - case IssueMatchChangeActionsAdd, IssueMatchChangeActionsRemove: - return true - } - return false -} - -func (e IssueMatchChangeActions) String() string { - return string(e) -} - -func (e *IssueMatchChangeActions) UnmarshalGQL(v interface{}) error { - str, ok := v.(string) - if !ok { - return fmt.Errorf("enums must be strings") - } - - *e = IssueMatchChangeActions(str) - if !e.IsValid() { - return fmt.Errorf("%s is not a valid IssueMatchChangeActions", str) - } - return nil -} - -func (e IssueMatchChangeActions) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) -} - -type IssueMatchStatusValues string - -const ( - IssueMatchStatusValuesNew IssueMatchStatusValues = "new" - IssueMatchStatusValuesRiskAccepted IssueMatchStatusValues = "risk_accepted" - IssueMatchStatusValuesFalsePositive IssueMatchStatusValues = "false_positive" - IssueMatchStatusValuesMitigated IssueMatchStatusValues = "mitigated" -) - -var AllIssueMatchStatusValues = []IssueMatchStatusValues{ - IssueMatchStatusValuesNew, - IssueMatchStatusValuesRiskAccepted, - IssueMatchStatusValuesFalsePositive, - IssueMatchStatusValuesMitigated, -} - -func (e IssueMatchStatusValues) IsValid() bool { - switch e { - case IssueMatchStatusValuesNew, IssueMatchStatusValuesRiskAccepted, IssueMatchStatusValuesFalsePositive, IssueMatchStatusValuesMitigated: - return true - } - return false -} - -func (e IssueMatchStatusValues) String() string { - return string(e) -} - -func (e *IssueMatchStatusValues) UnmarshalGQL(v interface{}) error { - str, ok := v.(string) - if !ok { - return fmt.Errorf("enums must be strings") - } - - *e = IssueMatchStatusValues(str) - if !e.IsValid() { - return fmt.Errorf("%s is not a valid IssueMatchStatusValues", str) - } - return nil -} - -func (e IssueMatchStatusValues) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) -} - -type IssueStatusValues string - -const ( - IssueStatusValuesUnaffected IssueStatusValues = "unaffected" - IssueStatusValuesOpen IssueStatusValues = "open" - IssueStatusValuesRemediated IssueStatusValues = "remediated" - IssueStatusValuesOverdue IssueStatusValues = "overdue" -) - -var AllIssueStatusValues = []IssueStatusValues{ - IssueStatusValuesUnaffected, - IssueStatusValuesOpen, - IssueStatusValuesRemediated, - IssueStatusValuesOverdue, -} - -func (e IssueStatusValues) IsValid() bool { - switch e { - case IssueStatusValuesUnaffected, IssueStatusValuesOpen, IssueStatusValuesRemediated, IssueStatusValuesOverdue: - return true - } - return false -} - -func (e IssueStatusValues) String() string { - return string(e) -} - -func (e *IssueStatusValues) UnmarshalGQL(v interface{}) error { - str, ok := v.(string) - if !ok { - return fmt.Errorf("enums must be strings") - } - - *e = IssueStatusValues(str) - if !e.IsValid() { - return fmt.Errorf("%s is not a valid IssueStatusValues", str) - } - return nil -} - -func (e IssueStatusValues) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) -} - -type IssueTypes string - -const ( - IssueTypesVulnerability IssueTypes = "Vulnerability" - IssueTypesPolicyViolation IssueTypes = "PolicyViolation" - IssueTypesSecurityEvent IssueTypes = "SecurityEvent" -) - -var AllIssueTypes = []IssueTypes{ - IssueTypesVulnerability, - IssueTypesPolicyViolation, - IssueTypesSecurityEvent, -} - -func (e IssueTypes) IsValid() bool { - switch e { - case IssueTypesVulnerability, IssueTypesPolicyViolation, IssueTypesSecurityEvent: - return true - } - return false -} - -func (e IssueTypes) String() string { - return string(e) -} - -func (e *IssueTypes) UnmarshalGQL(v interface{}) error { - str, ok := v.(string) - if !ok { - return fmt.Errorf("enums must be strings") - } - - *e = IssueTypes(str) - if !e.IsValid() { - return fmt.Errorf("%s is not a valid IssueTypes", str) - } - return nil -} - -func (e IssueTypes) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) -} - -type SeverityValues string - -const ( - SeverityValuesNone SeverityValues = "None" - SeverityValuesLow SeverityValues = "Low" - SeverityValuesMedium SeverityValues = "Medium" - SeverityValuesHigh SeverityValues = "High" - SeverityValuesCritical SeverityValues = "Critical" -) - -var AllSeverityValues = []SeverityValues{ - SeverityValuesNone, - SeverityValuesLow, - SeverityValuesMedium, - SeverityValuesHigh, - SeverityValuesCritical, -} - -func (e SeverityValues) IsValid() bool { - switch e { - case SeverityValuesNone, SeverityValuesLow, SeverityValuesMedium, SeverityValuesHigh, SeverityValuesCritical: - return true - } - return false -} - -func (e SeverityValues) String() string { - return string(e) -} - -func (e *SeverityValues) UnmarshalGQL(v interface{}) error { - str, ok := v.(string) - if !ok { - return fmt.Errorf("enums must be strings") - } - - *e = SeverityValues(str) - if !e.IsValid() { - return fmt.Errorf("%s is not a valid SeverityValues", str) - } - return nil -} - -func (e SeverityValues) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) -} diff --git a/internal/api/graphql/graph/resolver/activity.go b/internal/api/graphql/graph/resolver/activity.go index a850d8f4..cbe01d32 100644 --- a/internal/api/graphql/graph/resolver/activity.go +++ b/internal/api/graphql/graph/resolver/activity.go @@ -5,7 +5,7 @@ package resolver // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.55 +// Code generated by github.com/99designs/gqlgen import ( "context" @@ -15,7 +15,9 @@ import ( "github.com/cloudoperators/heureka/internal/api/graphql/graph/model" ) -// Services is the resolver for the services field. +// SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Greenhouse contributors +// SPDX-License-Identifier: Apache-2.0 + func (r *activityResolver) Services(ctx context.Context, obj *model.Activity, filter *model.ServiceFilter, first *int, after *string) (*model.ServiceConnection, error) { return baseResolver.ServiceBaseResolver(r.App, ctx, filter, first, after, &model.NodeParent{ Parent: obj, @@ -23,7 +25,6 @@ func (r *activityResolver) Services(ctx context.Context, obj *model.Activity, fi }) } -// Issues is the resolver for the issues field. func (r *activityResolver) Issues(ctx context.Context, obj *model.Activity, filter *model.IssueFilter, first *int, after *string) (*model.IssueConnection, error) { return baseResolver.IssueBaseResolver( r.App, @@ -37,7 +38,6 @@ func (r *activityResolver) Issues(ctx context.Context, obj *model.Activity, filt }) } -// Evidences is the resolver for the evidences field. func (r *activityResolver) Evidences(ctx context.Context, obj *model.Activity, filter *model.EvidenceFilter, first *int, after *string) (*model.EvidenceConnection, error) { return baseResolver.EvidenceBaseResolver( r.App, @@ -51,7 +51,6 @@ func (r *activityResolver) Evidences(ctx context.Context, obj *model.Activity, f }) } -// IssueMatchChanges is the resolver for the issueMatchChanges field. func (r *activityResolver) IssueMatchChanges(ctx context.Context, obj *model.Activity, filter *model.IssueMatchChangeFilter, first *int, after *string) (*model.IssueMatchChangeConnection, error) { return baseResolver.IssueMatchChangeBaseResolver( r.App, @@ -65,7 +64,6 @@ func (r *activityResolver) IssueMatchChanges(ctx context.Context, obj *model.Act }) } -// Activity returns graph.ActivityResolver implementation. func (r *Resolver) Activity() graph.ActivityResolver { return &activityResolver{r} } type activityResolver struct{ *Resolver } diff --git a/internal/api/graphql/graph/resolver/component.go b/internal/api/graphql/graph/resolver/component.go index 34a970f3..802cd771 100644 --- a/internal/api/graphql/graph/resolver/component.go +++ b/internal/api/graphql/graph/resolver/component.go @@ -5,7 +5,7 @@ package resolver // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.55 +// Code generated by github.com/99designs/gqlgen import ( "context" @@ -15,7 +15,9 @@ import ( "github.com/cloudoperators/heureka/internal/api/graphql/graph/model" ) -// ComponentVersions is the resolver for the componentVersions field. +// SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Greenhouse contributors +// SPDX-License-Identifier: Apache-2.0 + func (r *componentResolver) ComponentVersions(ctx context.Context, obj *model.Component, filter *model.ComponentVersionFilter, first *int, after *string) (*model.ComponentVersionConnection, error) { return baseResolver.ComponentVersionBaseResolver(r.App, ctx, filter, first, after, &model.NodeParent{ @@ -24,7 +26,6 @@ func (r *componentResolver) ComponentVersions(ctx context.Context, obj *model.Co }) } -// Component returns graph.ComponentResolver implementation. func (r *Resolver) Component() graph.ComponentResolver { return &componentResolver{r} } type componentResolver struct{ *Resolver } diff --git a/internal/api/graphql/graph/resolver/component_filter.go b/internal/api/graphql/graph/resolver/component_filter.go index 028a665b..a71cd25f 100644 --- a/internal/api/graphql/graph/resolver/component_filter.go +++ b/internal/api/graphql/graph/resolver/component_filter.go @@ -5,7 +5,7 @@ package resolver // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.55 +// Code generated by github.com/99designs/gqlgen import ( "context" @@ -15,7 +15,9 @@ import ( "github.com/cloudoperators/heureka/internal/api/graphql/graph/model" ) -// ComponentCcrn is the resolver for the componentCcrn field. +// SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Greenhouse contributors +// SPDX-License-Identifier: Apache-2.0 + func (r *componentFilterValueResolver) ComponentCcrn(ctx context.Context, obj *model.ComponentFilterValue, filter *model.ComponentFilter) (*model.FilterItem, error) { item, err := baseResolver.ComponentCcrnBaseResolver(r.App, ctx, filter) if err != nil { @@ -25,7 +27,6 @@ func (r *componentFilterValueResolver) ComponentCcrn(ctx context.Context, obj *m return item, err } -// ComponentFilterValue returns graph.ComponentFilterValueResolver implementation. func (r *Resolver) ComponentFilterValue() graph.ComponentFilterValueResolver { return &componentFilterValueResolver{r} } diff --git a/internal/api/graphql/graph/resolver/component_instance.go b/internal/api/graphql/graph/resolver/component_instance.go index e597ebb6..1ec66e48 100644 --- a/internal/api/graphql/graph/resolver/component_instance.go +++ b/internal/api/graphql/graph/resolver/component_instance.go @@ -5,7 +5,7 @@ package resolver // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.55 +// Code generated by github.com/99designs/gqlgen import ( "context" @@ -17,7 +17,9 @@ import ( "github.com/sirupsen/logrus" ) -// ComponentVersion is the resolver for the componentVersion field. +// SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Greenhouse contributors +// SPDX-License-Identifier: Apache-2.0 + func (r *componentInstanceResolver) ComponentVersion(ctx context.Context, obj *model.ComponentInstance) (*model.ComponentVersion, error) { childIds, err := util.ConvertStrToIntSlice([]*string{obj.ComponentVersionID}) @@ -33,7 +35,6 @@ func (r *componentInstanceResolver) ComponentVersion(ctx context.Context, obj *m }) } -// IssueMatches is the resolver for the issueMatches field. func (r *componentInstanceResolver) IssueMatches(ctx context.Context, obj *model.ComponentInstance, filter *model.IssueMatchFilter, first *int, after *string) (*model.IssueMatchConnection, error) { return baseResolver.IssueMatchBaseResolver(r.App, ctx, filter, first, after, &model.NodeParent{ Parent: obj, @@ -41,7 +42,6 @@ func (r *componentInstanceResolver) IssueMatches(ctx context.Context, obj *model }) } -// Service is the resolver for the service field. func (r *componentInstanceResolver) Service(ctx context.Context, obj *model.ComponentInstance) (*model.Service, error) { childIds, err := util.ConvertStrToIntSlice([]*string{obj.ServiceID}) @@ -57,7 +57,6 @@ func (r *componentInstanceResolver) Service(ctx context.Context, obj *model.Comp }) } -// ComponentInstance returns graph.ComponentInstanceResolver implementation. func (r *Resolver) ComponentInstance() graph.ComponentInstanceResolver { return &componentInstanceResolver{r} } diff --git a/internal/api/graphql/graph/resolver/component_instance_filter.go b/internal/api/graphql/graph/resolver/component_instance_filter.go index 8b606fa0..121928e3 100644 --- a/internal/api/graphql/graph/resolver/component_instance_filter.go +++ b/internal/api/graphql/graph/resolver/component_instance_filter.go @@ -5,7 +5,7 @@ package resolver // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.55 +// Code generated by github.com/99designs/gqlgen import ( "context" @@ -15,7 +15,9 @@ import ( "github.com/cloudoperators/heureka/internal/api/graphql/graph/model" ) -// ServiceCcrn is the resolver for the serviceCcrn field. +// SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Greenhouse contributors +// SPDX-License-Identifier: Apache-2.0 + func (r *componentInstanceFilterValueResolver) ServiceCcrn(ctx context.Context, obj *model.ComponentInstanceFilterValue, filter *model.ServiceFilter) (*model.FilterItem, error) { item, err := baseResolver.ServiceCcrnBaseResolver(r.App, ctx, filter) if err != nil { @@ -25,9 +27,8 @@ func (r *componentInstanceFilterValueResolver) ServiceCcrn(ctx context.Context, return item, err } -// SupportGroupCcrn is the resolver for the supportGroupCcrn field. func (r *componentInstanceFilterValueResolver) SupportGroupCcrn(ctx context.Context, obj *model.ComponentInstanceFilterValue, filter *model.SupportGroupFilter) (*model.FilterItem, error) { - item, err := baseResolver.SupportGroupCcrnBaseResolver(r.App, ctx, filter) + item, err := baseResolver.SupportGroupCcrn(r.App, ctx, filter) if err != nil { return nil, err } @@ -35,7 +36,6 @@ func (r *componentInstanceFilterValueResolver) SupportGroupCcrn(ctx context.Cont return item, err } -// Ccrn is the resolver for the ccrn field. func (r *componentInstanceFilterValueResolver) Ccrn(ctx context.Context, obj *model.ComponentInstanceFilterValue, filter *model.ComponentInstanceFilter) (*model.FilterItem, error) { item, err := baseResolver.CcrnBaseResolver(r.App, ctx, filter) if err != nil { @@ -45,7 +45,6 @@ func (r *componentInstanceFilterValueResolver) Ccrn(ctx context.Context, obj *mo return item, err } -// ComponentInstanceFilterValue returns graph.ComponentInstanceFilterValueResolver implementation. func (r *Resolver) ComponentInstanceFilterValue() graph.ComponentInstanceFilterValueResolver { return &componentInstanceFilterValueResolver{r} } diff --git a/internal/api/graphql/graph/resolver/component_version.go b/internal/api/graphql/graph/resolver/component_version.go index 75f65b62..99e79a0e 100644 --- a/internal/api/graphql/graph/resolver/component_version.go +++ b/internal/api/graphql/graph/resolver/component_version.go @@ -5,7 +5,7 @@ package resolver // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.55 +// Code generated by github.com/99designs/gqlgen import ( "context" @@ -17,7 +17,9 @@ import ( "github.com/sirupsen/logrus" ) -// Component is the resolver for the component field. +// SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Greenhouse contributors +// SPDX-License-Identifier: Apache-2.0 + func (r *componentVersionResolver) Component(ctx context.Context, obj *model.ComponentVersion) (*model.Component, error) { childIds, err := util.ConvertStrToIntSlice([]*string{obj.ComponentID}) @@ -36,7 +38,6 @@ func (r *componentVersionResolver) Component(ctx context.Context, obj *model.Com }) } -// Issues is the resolver for the issues field. func (r *componentVersionResolver) Issues(ctx context.Context, obj *model.ComponentVersion, first *int, after *string) (*model.IssueConnection, error) { return baseResolver.IssueBaseResolver(r.App, ctx, nil, first, after, &model.NodeParent{ Parent: obj, @@ -44,7 +45,6 @@ func (r *componentVersionResolver) Issues(ctx context.Context, obj *model.Compon }) } -// ComponentInstances is the resolver for the componentInstances field. func (r *componentVersionResolver) ComponentInstances(ctx context.Context, obj *model.ComponentVersion, first *int, after *string) (*model.ComponentInstanceConnection, error) { return baseResolver.ComponentInstanceBaseResolver(r.App, ctx, nil, first, after, &model.NodeParent{ Parent: obj, @@ -52,7 +52,6 @@ func (r *componentVersionResolver) ComponentInstances(ctx context.Context, obj * }) } -// ComponentVersion returns graph.ComponentVersionResolver implementation. func (r *Resolver) ComponentVersion() graph.ComponentVersionResolver { return &componentVersionResolver{r} } diff --git a/internal/api/graphql/graph/resolver/evidence.go b/internal/api/graphql/graph/resolver/evidence.go index 134acfaa..60fac7ba 100644 --- a/internal/api/graphql/graph/resolver/evidence.go +++ b/internal/api/graphql/graph/resolver/evidence.go @@ -5,7 +5,7 @@ package resolver // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.55 +// Code generated by github.com/99designs/gqlgen import ( "context" @@ -17,7 +17,9 @@ import ( "github.com/sirupsen/logrus" ) -// Author is the resolver for the author field. +// SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Greenhouse contributors +// SPDX-License-Identifier: Apache-2.0 + func (r *evidenceResolver) Author(ctx context.Context, obj *model.Evidence) (*model.User, error) { childIds, err := util.ConvertStrToIntSlice([]*string{obj.AuthorID}) @@ -33,7 +35,6 @@ func (r *evidenceResolver) Author(ctx context.Context, obj *model.Evidence) (*mo }) } -// Activity is the resolver for the activity field. func (r *evidenceResolver) Activity(ctx context.Context, obj *model.Evidence) (*model.Activity, error) { childIds, err := util.ConvertStrToIntSlice([]*string{obj.ActivityID}) @@ -49,7 +50,6 @@ func (r *evidenceResolver) Activity(ctx context.Context, obj *model.Evidence) (* }) } -// IssueMatches is the resolver for the issueMatches field. func (r *evidenceResolver) IssueMatches(ctx context.Context, obj *model.Evidence, filter *model.IssueMatchFilter, first *int, after *string) (*model.IssueMatchConnection, error) { return baseResolver.IssueMatchBaseResolver(r.App, ctx, filter, first, after, &model.NodeParent{ Parent: obj, @@ -57,7 +57,6 @@ func (r *evidenceResolver) IssueMatches(ctx context.Context, obj *model.Evidence }) } -// Evidence returns graph.EvidenceResolver implementation. func (r *Resolver) Evidence() graph.EvidenceResolver { return &evidenceResolver{r} } type evidenceResolver struct{ *Resolver } diff --git a/internal/api/graphql/graph/resolver/issue.go b/internal/api/graphql/graph/resolver/issue.go index 806e95d2..94e0ad3a 100644 --- a/internal/api/graphql/graph/resolver/issue.go +++ b/internal/api/graphql/graph/resolver/issue.go @@ -5,7 +5,7 @@ package resolver // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.55 +// Code generated by github.com/99designs/gqlgen import ( "context" @@ -15,7 +15,9 @@ import ( "github.com/cloudoperators/heureka/internal/api/graphql/graph/model" ) -// IssueVariants is the resolver for the issueVariants field. +// SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Greenhouse contributors +// SPDX-License-Identifier: Apache-2.0 + func (r *issueResolver) IssueVariants(ctx context.Context, obj *model.Issue, filter *model.IssueVariantFilter, first *int, after *string) (*model.IssueVariantConnection, error) { return baseResolver.IssueVariantBaseResolver(r.App, ctx, filter, first, after, &model.NodeParent{ Parent: obj, @@ -23,7 +25,6 @@ func (r *issueResolver) IssueVariants(ctx context.Context, obj *model.Issue, fil }) } -// Activities is the resolver for the activities field. func (r *issueResolver) Activities(ctx context.Context, obj *model.Issue, filter *model.ActivityFilter, first *int, after *string) (*model.ActivityConnection, error) { return baseResolver.ActivityBaseResolver(r.App, ctx, filter, first, after, &model.NodeParent{ Parent: obj, @@ -31,7 +32,6 @@ func (r *issueResolver) Activities(ctx context.Context, obj *model.Issue, filter }) } -// IssueMatches is the resolver for the issueMatches field. func (r *issueResolver) IssueMatches(ctx context.Context, obj *model.Issue, filter *model.IssueMatchFilter, first *int, after *string) (*model.IssueMatchConnection, error) { return baseResolver.IssueMatchBaseResolver(r.App, ctx, filter, first, after, &model.NodeParent{ Parent: obj, @@ -39,7 +39,6 @@ func (r *issueResolver) IssueMatches(ctx context.Context, obj *model.Issue, filt }) } -// ComponentVersions is the resolver for the componentVersions field. func (r *issueResolver) ComponentVersions(ctx context.Context, obj *model.Issue, filter *model.ComponentVersionFilter, first *int, after *string) (*model.ComponentVersionConnection, error) { return baseResolver.ComponentVersionBaseResolver(r.App, ctx, filter, first, after, &model.NodeParent{ Parent: obj, @@ -47,7 +46,6 @@ func (r *issueResolver) ComponentVersions(ctx context.Context, obj *model.Issue, }) } -// Issue returns graph.IssueResolver implementation. func (r *Resolver) Issue() graph.IssueResolver { return &issueResolver{r} } type issueResolver struct{ *Resolver } diff --git a/internal/api/graphql/graph/resolver/issue_match.go b/internal/api/graphql/graph/resolver/issue_match.go index 5886b133..ec98fa16 100644 --- a/internal/api/graphql/graph/resolver/issue_match.go +++ b/internal/api/graphql/graph/resolver/issue_match.go @@ -5,7 +5,7 @@ package resolver // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.55 +// Code generated by github.com/99designs/gqlgen import ( "context" @@ -18,7 +18,9 @@ import ( "github.com/sirupsen/logrus" ) -// Severity is the resolver for the severity field. +// SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Greenhouse contributors +// SPDX-License-Identifier: Apache-2.0 + func (r *issueMatchResolver) Severity(ctx context.Context, obj *model.IssueMatch) (*model.Severity, error) { imIds, err := util.ConvertStrToIntSlice([]*string{&obj.ID}) if err != nil { @@ -46,7 +48,6 @@ func (r *issueMatchResolver) Severity(ctx context.Context, obj *model.IssueMatch return s, nil } -// EffectiveIssueVariants is the resolver for the effectiveIssueVariants field. func (r *issueMatchResolver) EffectiveIssueVariants(ctx context.Context, obj *model.IssueMatch, filter *model.IssueVariantFilter, first *int, after *string) (*model.IssueVariantConnection, error) { return baseResolver.EffectiveIssueVariantBaseResolver( r.App, @@ -60,7 +61,6 @@ func (r *issueMatchResolver) EffectiveIssueVariants(ctx context.Context, obj *mo }) } -// Evidences is the resolver for the evidences field. func (r *issueMatchResolver) Evidences(ctx context.Context, obj *model.IssueMatch, filter *model.EvidenceFilter, first *int, after *string) (*model.EvidenceConnection, error) { return baseResolver.EvidenceBaseResolver( r.App, @@ -74,7 +74,6 @@ func (r *issueMatchResolver) Evidences(ctx context.Context, obj *model.IssueMatc }) } -// Issue is the resolver for the issue field. func (r *issueMatchResolver) Issue(ctx context.Context, obj *model.IssueMatch) (*model.Issue, error) { childIds, err := util.ConvertStrToIntSlice([]*string{obj.IssueID}) @@ -93,7 +92,6 @@ func (r *issueMatchResolver) Issue(ctx context.Context, obj *model.IssueMatch) ( }) } -// ComponentInstance is the resolver for the componentInstance field. func (r *issueMatchResolver) ComponentInstance(ctx context.Context, obj *model.IssueMatch) (*model.ComponentInstance, error) { childIds, err := util.ConvertStrToIntSlice([]*string{obj.ComponentInstanceID}) @@ -112,7 +110,6 @@ func (r *issueMatchResolver) ComponentInstance(ctx context.Context, obj *model.I }) } -// IssueMatchChanges is the resolver for the issueMatchChanges field. func (r *issueMatchResolver) IssueMatchChanges(ctx context.Context, obj *model.IssueMatch, filter *model.IssueMatchChangeFilter, first *int, after *string) (*model.IssueMatchChangeConnection, error) { return baseResolver.IssueMatchChangeBaseResolver( r.App, @@ -126,7 +123,6 @@ func (r *issueMatchResolver) IssueMatchChanges(ctx context.Context, obj *model.I }) } -// IssueMatch returns graph.IssueMatchResolver implementation. func (r *Resolver) IssueMatch() graph.IssueMatchResolver { return &issueMatchResolver{r} } type issueMatchResolver struct{ *Resolver } diff --git a/internal/api/graphql/graph/resolver/issue_match_change.go b/internal/api/graphql/graph/resolver/issue_match_change.go index ebea9a1b..8bb5dfba 100644 --- a/internal/api/graphql/graph/resolver/issue_match_change.go +++ b/internal/api/graphql/graph/resolver/issue_match_change.go @@ -5,7 +5,7 @@ package resolver // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.55 +// Code generated by github.com/99designs/gqlgen import ( "context" @@ -17,7 +17,9 @@ import ( "github.com/sirupsen/logrus" ) -// IssueMatch is the resolver for the issueMatch field. +// SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Greenhouse contributors +// SPDX-License-Identifier: Apache-2.0 + func (r *issueMatchChangeResolver) IssueMatch(ctx context.Context, obj *model.IssueMatchChange) (*model.IssueMatch, error) { childIds, err := util.ConvertStrToIntSlice([]*string{obj.IssueMatchID}) @@ -36,7 +38,6 @@ func (r *issueMatchChangeResolver) IssueMatch(ctx context.Context, obj *model.Is }) } -// Activity is the resolver for the activity field. func (r *issueMatchChangeResolver) Activity(ctx context.Context, obj *model.IssueMatchChange) (*model.Activity, error) { childIds, err := util.ConvertStrToIntSlice([]*string{obj.ActivityID}) @@ -55,7 +56,6 @@ func (r *issueMatchChangeResolver) Activity(ctx context.Context, obj *model.Issu }) } -// IssueMatchChange returns graph.IssueMatchChangeResolver implementation. func (r *Resolver) IssueMatchChange() graph.IssueMatchChangeResolver { return &issueMatchChangeResolver{r} } diff --git a/internal/api/graphql/graph/resolver/issue_match_filter_value.go b/internal/api/graphql/graph/resolver/issue_match_filter_value.go index 2b6ad02a..2b19fccd 100644 --- a/internal/api/graphql/graph/resolver/issue_match_filter_value.go +++ b/internal/api/graphql/graph/resolver/issue_match_filter_value.go @@ -5,7 +5,7 @@ package resolver // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.55 +// Code generated by github.com/99designs/gqlgen import ( "context" @@ -15,7 +15,9 @@ import ( "github.com/cloudoperators/heureka/internal/api/graphql/graph/model" ) -// PrimaryName is the resolver for the primaryName field. +// SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Greenhouse contributors +// SPDX-License-Identifier: Apache-2.0 + func (r *issueMatchFilterValueResolver) PrimaryName(ctx context.Context, obj *model.IssueMatchFilterValue, filter *model.IssueFilter) (*model.FilterItem, error) { item, err := baseResolver.IssueNameBaseResolver(r.App, ctx, filter) if err != nil { @@ -25,7 +27,6 @@ func (r *issueMatchFilterValueResolver) PrimaryName(ctx context.Context, obj *mo return item, nil } -// AffectedService is the resolver for the affectedService field. func (r *issueMatchFilterValueResolver) AffectedService(ctx context.Context, obj *model.IssueMatchFilterValue, filter *model.ServiceFilter) (*model.FilterItem, error) { item, err := baseResolver.ServiceCcrnBaseResolver(r.App, ctx, filter) if err != nil { @@ -35,7 +36,6 @@ func (r *issueMatchFilterValueResolver) AffectedService(ctx context.Context, obj return item, nil } -// ComponentCcrn is the resolver for the componentCcrn field. func (r *issueMatchFilterValueResolver) ComponentCcrn(ctx context.Context, obj *model.IssueMatchFilterValue, filter *model.ComponentFilter) (*model.FilterItem, error) { item, err := baseResolver.ComponentCcrnBaseResolver(r.App, ctx, filter) if err != nil { @@ -45,7 +45,6 @@ func (r *issueMatchFilterValueResolver) ComponentCcrn(ctx context.Context, obj * return item, nil } -// SupportGroupCcrn is the resolver for the supportGroupCcrn field. func (r *issueMatchFilterValueResolver) SupportGroupCcrn(ctx context.Context, obj *model.IssueMatchFilterValue, filter *model.SupportGroupFilter) (*model.FilterItem, error) { item, err := baseResolver.SupportGroupCcrnBaseResolver(r.App, ctx, filter) if err != nil { @@ -55,7 +54,6 @@ func (r *issueMatchFilterValueResolver) SupportGroupCcrn(ctx context.Context, ob return item, nil } -// IssueMatchFilterValue returns graph.IssueMatchFilterValueResolver implementation. func (r *Resolver) IssueMatchFilterValue() graph.IssueMatchFilterValueResolver { return &issueMatchFilterValueResolver{r} } diff --git a/internal/api/graphql/graph/resolver/issue_repository.go b/internal/api/graphql/graph/resolver/issue_repository.go index d7c5f3b7..f4d8a6b2 100644 --- a/internal/api/graphql/graph/resolver/issue_repository.go +++ b/internal/api/graphql/graph/resolver/issue_repository.go @@ -5,7 +5,7 @@ package resolver // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.55 +// Code generated by github.com/99designs/gqlgen import ( "context" @@ -15,7 +15,9 @@ import ( "github.com/cloudoperators/heureka/internal/api/graphql/graph/model" ) -// IssueVariants is the resolver for the issueVariants field. +// SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Greenhouse contributors +// SPDX-License-Identifier: Apache-2.0 + func (r *issueRepositoryResolver) IssueVariants(ctx context.Context, obj *model.IssueRepository, filter *model.IssueVariantFilter, first *int, after *string) (*model.IssueVariantConnection, error) { return baseResolver.IssueVariantBaseResolver(r.App, ctx, filter, first, after, &model.NodeParent{ Parent: obj, @@ -23,7 +25,6 @@ func (r *issueRepositoryResolver) IssueVariants(ctx context.Context, obj *model. }) } -// Services is the resolver for the services field. func (r *issueRepositoryResolver) Services(ctx context.Context, obj *model.IssueRepository, filter *model.ServiceFilter, first *int, after *string) (*model.ServiceConnection, error) { return baseResolver.ServiceBaseResolver(r.App, ctx, filter, first, after, &model.NodeParent{ @@ -32,7 +33,6 @@ func (r *issueRepositoryResolver) Services(ctx context.Context, obj *model.Issue }) } -// IssueRepository returns graph.IssueRepositoryResolver implementation. func (r *Resolver) IssueRepository() graph.IssueRepositoryResolver { return &issueRepositoryResolver{r} } diff --git a/internal/api/graphql/graph/resolver/issue_variant.go b/internal/api/graphql/graph/resolver/issue_variant.go index 932652ae..ff67777f 100644 --- a/internal/api/graphql/graph/resolver/issue_variant.go +++ b/internal/api/graphql/graph/resolver/issue_variant.go @@ -5,7 +5,7 @@ package resolver // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.55 +// Code generated by github.com/99designs/gqlgen import ( "context" @@ -17,7 +17,9 @@ import ( "github.com/sirupsen/logrus" ) -// IssueRepository is the resolver for the issueRepository field. +// SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Greenhouse contributors +// SPDX-License-Identifier: Apache-2.0 + func (r *issueVariantResolver) IssueRepository(ctx context.Context, obj *model.IssueVariant) (*model.IssueRepository, error) { childIds, err := util.ConvertStrToIntSlice([]*string{obj.IssueRepositoryID}) @@ -33,7 +35,6 @@ func (r *issueVariantResolver) IssueRepository(ctx context.Context, obj *model.I }) } -// Issue is the resolver for the issue field. func (r *issueVariantResolver) Issue(ctx context.Context, obj *model.IssueVariant) (*model.Issue, error) { childIds, err := util.ConvertStrToIntSlice([]*string{obj.IssueID}) @@ -49,7 +50,6 @@ func (r *issueVariantResolver) Issue(ctx context.Context, obj *model.IssueVarian }) } -// IssueVariant returns graph.IssueVariantResolver implementation. func (r *Resolver) IssueVariant() graph.IssueVariantResolver { return &issueVariantResolver{r} } type issueVariantResolver struct{ *Resolver } diff --git a/internal/api/graphql/graph/resolver/mutation.go b/internal/api/graphql/graph/resolver/mutation.go index e49916dc..d357b763 100644 --- a/internal/api/graphql/graph/resolver/mutation.go +++ b/internal/api/graphql/graph/resolver/mutation.go @@ -5,7 +5,7 @@ package resolver // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.55 +// Code generated by github.com/99designs/gqlgen import ( "context" @@ -15,6 +15,9 @@ import ( "github.com/cloudoperators/heureka/internal/api/graphql/graph/model" ) +// SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Greenhouse contributors +// SPDX-License-Identifier: Apache-2.0 + // CreateUser is the resolver for the createUser field. func (r *mutationResolver) CreateUser(ctx context.Context, input model.UserInput) (*model.User, error) { user := model.NewUserEntity(&input) @@ -887,7 +890,6 @@ func (r *mutationResolver) RemoveIssueFromActivity(ctx context.Context, activity return &a, nil } -// Mutation returns graph.MutationResolver implementation. func (r *Resolver) Mutation() graph.MutationResolver { return &mutationResolver{r} } type mutationResolver struct{ *Resolver } diff --git a/internal/api/graphql/graph/resolver/query.go b/internal/api/graphql/graph/resolver/query.go index a6629ebb..a7926865 100644 --- a/internal/api/graphql/graph/resolver/query.go +++ b/internal/api/graphql/graph/resolver/query.go @@ -5,7 +5,7 @@ package resolver // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.55 +// Code generated by github.com/99designs/gqlgen import ( "context" @@ -17,77 +17,65 @@ import ( "k8s.io/utils/pointer" ) -// Issues is the resolver for the Issues field. +// SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Greenhouse contributors +// SPDX-License-Identifier: Apache-2.0 + func (r *queryResolver) Issues(ctx context.Context, filter *model.IssueFilter, first *int, after *string) (*model.IssueConnection, error) { return baseResolver.IssueBaseResolver(r.App, ctx, filter, first, after, nil) } -// IssueMatches is the resolver for the IssueMatches field. func (r *queryResolver) IssueMatches(ctx context.Context, filter *model.IssueMatchFilter, first *int, after *string) (*model.IssueMatchConnection, error) { return baseResolver.IssueMatchBaseResolver(r.App, ctx, filter, first, after, nil) } -// IssueMatchChanges is the resolver for the IssueMatchChanges field. func (r *queryResolver) IssueMatchChanges(ctx context.Context, filter *model.IssueMatchChangeFilter, first *int, after *string) (*model.IssueMatchChangeConnection, error) { return baseResolver.IssueMatchChangeBaseResolver(r.App, ctx, filter, first, after, nil) } -// Services is the resolver for the Services field. func (r *queryResolver) Services(ctx context.Context, filter *model.ServiceFilter, first *int, after *string) (*model.ServiceConnection, error) { return baseResolver.ServiceBaseResolver(r.App, ctx, filter, first, after, nil) } -// Components is the resolver for the Components field. func (r *queryResolver) Components(ctx context.Context, filter *model.ComponentFilter, first *int, after *string) (*model.ComponentConnection, error) { return baseResolver.ComponentBaseResolver(r.App, ctx, filter, first, after, nil) } -// ComponentVersions is the resolver for the ComponentVersions field. func (r *queryResolver) ComponentVersions(ctx context.Context, filter *model.ComponentVersionFilter, first *int, after *string) (*model.ComponentVersionConnection, error) { return baseResolver.ComponentVersionBaseResolver(r.App, ctx, filter, first, after, nil) } -// ComponentInstances is the resolver for the ComponentInstances field. func (r *queryResolver) ComponentInstances(ctx context.Context, filter *model.ComponentInstanceFilter, first *int, after *string) (*model.ComponentInstanceConnection, error) { return baseResolver.ComponentInstanceBaseResolver(r.App, ctx, filter, first, after, nil) } -// Activities is the resolver for the Activities field. func (r *queryResolver) Activities(ctx context.Context, filter *model.ActivityFilter, first *int, after *string) (*model.ActivityConnection, error) { return baseResolver.ActivityBaseResolver(r.App, ctx, filter, first, after, nil) } -// IssueVariants is the resolver for the IssueVariants field. func (r *queryResolver) IssueVariants(ctx context.Context, filter *model.IssueVariantFilter, first *int, after *string) (*model.IssueVariantConnection, error) { return baseResolver.IssueVariantBaseResolver(r.App, ctx, filter, first, after, nil) } -// IssueRepositories is the resolver for the IssueRepositories field. func (r *queryResolver) IssueRepositories(ctx context.Context, filter *model.IssueRepositoryFilter, first *int, after *string) (*model.IssueRepositoryConnection, error) { return baseResolver.IssueRepositoryBaseResolver(r.App, ctx, filter, first, after, nil) } -// Evidences is the resolver for the Evidences field. func (r *queryResolver) Evidences(ctx context.Context, filter *model.EvidenceFilter, first *int, after *string) (*model.EvidenceConnection, error) { return baseResolver.EvidenceBaseResolver(r.App, ctx, filter, first, after, nil) } -// SupportGroups is the resolver for the SupportGroups field. func (r *queryResolver) SupportGroups(ctx context.Context, filter *model.SupportGroupFilter, first *int, after *string) (*model.SupportGroupConnection, error) { return baseResolver.SupportGroupBaseResolver(r.App, ctx, filter, first, after, nil) } -// Users is the resolver for the Users field. func (r *queryResolver) Users(ctx context.Context, filter *model.UserFilter, first *int, after *string) (*model.UserConnection, error) { return baseResolver.UserBaseResolver(r.App, ctx, filter, first, after, nil) } -// ServiceFilterValues is the resolver for the ServiceFilterValues field. func (r *queryResolver) ServiceFilterValues(ctx context.Context) (*model.ServiceFilterValue, error) { return &model.ServiceFilterValue{}, nil } -// IssueMatchFilterValues is the resolver for the IssueMatchFilterValues field. func (r *queryResolver) IssueMatchFilterValues(ctx context.Context) (*model.IssueMatchFilterValue, error) { return &model.IssueMatchFilterValue{ Status: &model.FilterItem{ @@ -108,17 +96,14 @@ func (r *queryResolver) IssueMatchFilterValues(ctx context.Context) (*model.Issu }, nil } -// ComponentInstanceFilterValues is the resolver for the ComponentInstanceFilterValues field. func (r *queryResolver) ComponentInstanceFilterValues(ctx context.Context) (*model.ComponentInstanceFilterValue, error) { return &model.ComponentInstanceFilterValue{}, nil } -// ComponentFilterValues is the resolver for the ComponentFilterValues field. func (r *queryResolver) ComponentFilterValues(ctx context.Context) (*model.ComponentFilterValue, error) { return &model.ComponentFilterValue{}, nil } -// Query returns graph.QueryResolver implementation. func (r *Resolver) Query() graph.QueryResolver { return &queryResolver{r} } type queryResolver struct{ *Resolver } diff --git a/internal/api/graphql/graph/resolver/resolver.gotpl b/internal/api/graphql/graph/resolver/resolver.gotpl new file mode 100644 index 00000000..d6d4d956 --- /dev/null +++ b/internal/api/graphql/graph/resolver/resolver.gotpl @@ -0,0 +1,58 @@ +// SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Greenhouse contributors +// SPDX-License-Identifier: Apache-2.0 + +{{ reserveImport "context" }} +{{ reserveImport "fmt" }} +{{ reserveImport "io" }} +{{ reserveImport "strconv" }} +{{ reserveImport "time" }} +{{ reserveImport "sync" }} +{{ reserveImport "errors" }} +{{ reserveImport "bytes" }} + +{{ reserveImport "github.com/vektah/gqlparser/v2" }} +{{ reserveImport "github.com/vektah/gqlparser/v2/ast" }} +{{ reserveImport "github.com/99designs/gqlgen/graphql" }} +{{ reserveImport "github.com/99designs/gqlgen/graphql/introspection" }} + +{{ .Imports }} + +{{ if .HasRoot }} + type {{.ResolverType}} struct {} +{{ end }} + +{{ range $resolver := .Resolvers -}} + {{ if $resolver.Comment -}} + // {{ $resolver.Comment }} + {{- else if not $.OmitTemplateComment -}} + // {{ $resolver.Field.GoFieldName }} is the resolver for the {{ $resolver.Field.Name }} field. + {{- end }} + func (r *{{lcFirst $resolver.Object.Name}}{{ucFirst $.ResolverType}}) {{$resolver.Field.GoFieldName}}{{ with $resolver.PrevDecl }}{{ $resolver.Field.ShortResolverSignature .Type }}{{ else }}{{ $resolver.Field.ShortResolverDeclaration }}{{ end }}{ + {{ $resolver.Implementation }} + } + +{{ end }} + +{{ range $object := .Objects -}} + {{ if not $.OmitTemplateComment -}} + // {{ucFirst $object.Name}} returns {{ $object.ResolverInterface | ref }} implementation. + {{- end }} + func (r *{{$.ResolverType}}) {{ucFirst $object.Name}}() {{ $object.ResolverInterface | ref }} { return &{{lcFirst $object.Name}}{{ucFirst $.ResolverType}}{r} } +{{ end }} + +{{ range $object := .Objects -}} + type {{lcFirst $object.Name}}{{ucFirst $.ResolverType}} struct { *{{$.ResolverType}} } +{{ end }} + +{{ if (ne .RemainingSource "") }} + // !!! WARNING !!! + // The code below was going to be deleted when updating resolvers. It has been copied here so you have + // one last chance to move it out of harms way if you want. There are two reasons this happens: + // - When renaming or deleting a resolver the old code will be put in here. You can safely delete + // it when you're done. + // - You have helper methods in this file. Move them out to keep these resolver files clean. + /* + {{ .RemainingSource }} + */ +{{ end }} + diff --git a/internal/api/graphql/graph/resolver/service.go b/internal/api/graphql/graph/resolver/service.go index 527f53cc..a82a668a 100644 --- a/internal/api/graphql/graph/resolver/service.go +++ b/internal/api/graphql/graph/resolver/service.go @@ -5,7 +5,7 @@ package resolver // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.55 +// Code generated by github.com/99designs/gqlgen import ( "context" @@ -15,7 +15,9 @@ import ( "github.com/cloudoperators/heureka/internal/api/graphql/graph/model" ) -// Owners is the resolver for the owners field. +// SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Greenhouse contributors +// SPDX-License-Identifier: Apache-2.0 + func (r *serviceResolver) Owners(ctx context.Context, obj *model.Service, filter *model.UserFilter, first *int, after *string) (*model.UserConnection, error) { return baseResolver.UserBaseResolver(r.App, ctx, filter, first, after, &model.NodeParent{ @@ -24,7 +26,6 @@ func (r *serviceResolver) Owners(ctx context.Context, obj *model.Service, filter }) } -// SupportGroups is the resolver for the supportGroups field. func (r *serviceResolver) SupportGroups(ctx context.Context, obj *model.Service, filter *model.SupportGroupFilter, first *int, after *string) (*model.SupportGroupConnection, error) { return baseResolver.SupportGroupBaseResolver(r.App, ctx, filter, first, after, &model.NodeParent{ @@ -33,7 +34,6 @@ func (r *serviceResolver) SupportGroups(ctx context.Context, obj *model.Service, }) } -// Activities is the resolver for the activities field. func (r *serviceResolver) Activities(ctx context.Context, obj *model.Service, filter *model.ActivityFilter, first *int, after *string) (*model.ActivityConnection, error) { return baseResolver.ActivityBaseResolver(r.App, ctx, filter, first, after, &model.NodeParent{ @@ -42,7 +42,6 @@ func (r *serviceResolver) Activities(ctx context.Context, obj *model.Service, fi }) } -// IssueRepositories is the resolver for the issueRepositories field. func (r *serviceResolver) IssueRepositories(ctx context.Context, obj *model.Service, filter *model.IssueRepositoryFilter, first *int, after *string) (*model.IssueRepositoryConnection, error) { return baseResolver.IssueRepositoryBaseResolver(r.App, ctx, filter, first, after, &model.NodeParent{ @@ -51,7 +50,6 @@ func (r *serviceResolver) IssueRepositories(ctx context.Context, obj *model.Serv }) } -// ComponentInstances is the resolver for the componentInstances field. func (r *serviceResolver) ComponentInstances(ctx context.Context, obj *model.Service, filter *model.ComponentInstanceFilter, first *int, after *string) (*model.ComponentInstanceConnection, error) { return baseResolver.ComponentInstanceBaseResolver(r.App, ctx, filter, first, after, &model.NodeParent{ @@ -60,7 +58,6 @@ func (r *serviceResolver) ComponentInstances(ctx context.Context, obj *model.Ser }) } -// Service returns graph.ServiceResolver implementation. func (r *Resolver) Service() graph.ServiceResolver { return &serviceResolver{r} } type serviceResolver struct{ *Resolver } diff --git a/internal/api/graphql/graph/resolver/service_filter.go b/internal/api/graphql/graph/resolver/service_filter.go index f30d7cb5..29f798ca 100644 --- a/internal/api/graphql/graph/resolver/service_filter.go +++ b/internal/api/graphql/graph/resolver/service_filter.go @@ -5,7 +5,7 @@ package resolver // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.55 +// Code generated by github.com/99designs/gqlgen import ( "context" @@ -15,7 +15,9 @@ import ( "github.com/cloudoperators/heureka/internal/api/graphql/graph/model" ) -// ServiceCcrn is the resolver for the serviceCcrn field. +// SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Greenhouse contributors +// SPDX-License-Identifier: Apache-2.0 + func (r *serviceFilterValueResolver) ServiceCcrn(ctx context.Context, obj *model.ServiceFilterValue, filter *model.ServiceFilter) (*model.FilterItem, error) { item, err := baseResolver.ServiceCcrnBaseResolver(r.App, ctx, filter) if err != nil { @@ -25,7 +27,6 @@ func (r *serviceFilterValueResolver) ServiceCcrn(ctx context.Context, obj *model return item, err } -// UniqueUserID is the resolver for the uniqueUserId field. func (r *serviceFilterValueResolver) UniqueUserID(ctx context.Context, obj *model.ServiceFilterValue, filter *model.UserFilter) (*model.FilterItem, error) { item, err := baseResolver.UniqueUserIDBaseResolver(r.App, ctx, filter) if err != nil { @@ -35,7 +36,6 @@ func (r *serviceFilterValueResolver) UniqueUserID(ctx context.Context, obj *mode return item, err } -// UserName is the resolver for the userName field. func (r *serviceFilterValueResolver) UserName(ctx context.Context, obj *model.ServiceFilterValue, filter *model.UserFilter) (*model.FilterItem, error) { item, err := baseResolver.UserNameBaseResolver(r.App, ctx, filter) if err != nil { @@ -45,7 +45,6 @@ func (r *serviceFilterValueResolver) UserName(ctx context.Context, obj *model.Se return item, err } -// SupportGroupCcrn is the resolver for the supportGroupCcrn field. func (r *serviceFilterValueResolver) SupportGroupCcrn(ctx context.Context, obj *model.ServiceFilterValue, filter *model.SupportGroupFilter) (*model.FilterItem, error) { item, err := baseResolver.SupportGroupCcrnBaseResolver(r.App, ctx, filter) if err != nil { @@ -55,7 +54,6 @@ func (r *serviceFilterValueResolver) SupportGroupCcrn(ctx context.Context, obj * return item, err } -// ServiceFilterValue returns graph.ServiceFilterValueResolver implementation. func (r *Resolver) ServiceFilterValue() graph.ServiceFilterValueResolver { return &serviceFilterValueResolver{r} } diff --git a/internal/api/graphql/graph/resolver/support_group.go b/internal/api/graphql/graph/resolver/support_group.go index f498c357..8d91614a 100644 --- a/internal/api/graphql/graph/resolver/support_group.go +++ b/internal/api/graphql/graph/resolver/support_group.go @@ -5,7 +5,7 @@ package resolver // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.55 +// Code generated by github.com/99designs/gqlgen import ( "context" @@ -15,7 +15,9 @@ import ( "github.com/cloudoperators/heureka/internal/api/graphql/graph/model" ) -// Users is the resolver for the users field. +// SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Greenhouse contributors +// SPDX-License-Identifier: Apache-2.0 + func (r *supportGroupResolver) Users(ctx context.Context, obj *model.SupportGroup, filter *model.UserFilter, first *int, after *string) (*model.UserConnection, error) { return baseResolver.UserBaseResolver(r.App, ctx, filter, first, after, &model.NodeParent{ Parent: obj, @@ -23,7 +25,6 @@ func (r *supportGroupResolver) Users(ctx context.Context, obj *model.SupportGrou }) } -// Services is the resolver for the services field. func (r *supportGroupResolver) Services(ctx context.Context, obj *model.SupportGroup, filter *model.ServiceFilter, first *int, after *string) (*model.ServiceConnection, error) { return baseResolver.ServiceBaseResolver(r.App, ctx, filter, first, after, &model.NodeParent{ Parent: obj, @@ -31,7 +32,6 @@ func (r *supportGroupResolver) Services(ctx context.Context, obj *model.SupportG }) } -// SupportGroup returns graph.SupportGroupResolver implementation. func (r *Resolver) SupportGroup() graph.SupportGroupResolver { return &supportGroupResolver{r} } type supportGroupResolver struct{ *Resolver } diff --git a/internal/api/graphql/graph/resolver/user.go b/internal/api/graphql/graph/resolver/user.go index 548d005b..642ada92 100644 --- a/internal/api/graphql/graph/resolver/user.go +++ b/internal/api/graphql/graph/resolver/user.go @@ -5,7 +5,7 @@ package resolver // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.55 +// Code generated by github.com/99designs/gqlgen import ( "context" @@ -15,7 +15,9 @@ import ( "github.com/cloudoperators/heureka/internal/api/graphql/graph/model" ) -// SupportGroups is the resolver for the supportGroups field. +// SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Greenhouse contributors +// SPDX-License-Identifier: Apache-2.0 + func (r *userResolver) SupportGroups(ctx context.Context, obj *model.User, filter *model.SupportGroupFilter, first *int, after *string) (*model.SupportGroupConnection, error) { return baseResolver.SupportGroupBaseResolver(r.App, ctx, filter, first, after, &model.NodeParent{ Parent: obj, @@ -23,7 +25,6 @@ func (r *userResolver) SupportGroups(ctx context.Context, obj *model.User, filte }) } -// Services is the resolver for the services field. func (r *userResolver) Services(ctx context.Context, obj *model.User, filter *model.ServiceFilter, first *int, after *string) (*model.ServiceConnection, error) { return baseResolver.ServiceBaseResolver(r.App, ctx, filter, first, after, &model.NodeParent{ Parent: obj, @@ -31,7 +32,6 @@ func (r *userResolver) Services(ctx context.Context, obj *model.User, filter *mo }) } -// User returns graph.UserResolver implementation. func (r *Resolver) User() graph.UserResolver { return &userResolver{r} } type userResolver struct{ *Resolver } diff --git a/internal/database/mariadb/internal/mocks/mock_Database.go b/internal/database/mariadb/internal/mocks/mock_Database.go deleted file mode 100644 index 94837644..00000000 --- a/internal/database/mariadb/internal/mocks/mock_Database.go +++ /dev/null @@ -1,3877 +0,0 @@ -// SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Greenhouse contributors -// SPDX-License-Identifier: Apache-2.0 - -// Code generated by mockery v2.42.1. DO NOT EDIT. - -package mocks - -import ( - mock "github.com/stretchr/testify/mock" - entity "github.com/cloudoperators/heureka/internal/entity" -) - -// MockDatabase is an autogenerated mock type for the Database type -type MockDatabase struct { - mock.Mock -} - -type MockDatabase_Expecter struct { - mock *mock.Mock -} - -func (_m *MockDatabase) EXPECT() *MockDatabase_Expecter { - return &MockDatabase_Expecter{mock: &_m.Mock} -} - -// CloseConnection provides a mock function with given fields: -func (_m *MockDatabase) CloseConnection() error { - ret := _m.Called() - - if len(ret) == 0 { - panic("no return value specified for CloseConnection") - } - - var r0 error - if rf, ok := ret.Get(0).(func() error); ok { - r0 = rf() - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// MockDatabase_CloseConnection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CloseConnection' -type MockDatabase_CloseConnection_Call struct { - *mock.Call -} - -// CloseConnection is a helper method to define mock.On call -func (_e *MockDatabase_Expecter) CloseConnection() *MockDatabase_CloseConnection_Call { - return &MockDatabase_CloseConnection_Call{Call: _e.mock.On("CloseConnection")} -} - -func (_c *MockDatabase_CloseConnection_Call) Run(run func()) *MockDatabase_CloseConnection_Call { - _c.Call.Run(func(args mock.Arguments) { - run() - }) - return _c -} - -func (_c *MockDatabase_CloseConnection_Call) Return(_a0 error) *MockDatabase_CloseConnection_Call { - _c.Call.Return(_a0) - return _c -} - -func (_c *MockDatabase_CloseConnection_Call) RunAndReturn(run func() error) *MockDatabase_CloseConnection_Call { - _c.Call.Return(run) - return _c -} - -// CountActivities provides a mock function with given fields: _a0 -func (_m *MockDatabase) CountActivities(_a0 *entity.ActivityFilter) (int64, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for CountActivities") - } - - var r0 int64 - var r1 error - if rf, ok := ret.Get(0).(func(*entity.ActivityFilter) (int64, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.ActivityFilter) int64); ok { - r0 = rf(_a0) - } else { - r0 = ret.Get(0).(int64) - } - - if rf, ok := ret.Get(1).(func(*entity.ActivityFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_CountActivities_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountActivities' -type MockDatabase_CountActivities_Call struct { - *mock.Call -} - -// CountActivities is a helper method to define mock.On call -// - _a0 *entity.ActivityFilter -func (_e *MockDatabase_Expecter) CountActivities(_a0 interface{}) *MockDatabase_CountActivities_Call { - return &MockDatabase_CountActivities_Call{Call: _e.mock.On("CountActivities", _a0)} -} - -func (_c *MockDatabase_CountActivities_Call) Run(run func(_a0 *entity.ActivityFilter)) *MockDatabase_CountActivities_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.ActivityFilter)) - }) - return _c -} - -func (_c *MockDatabase_CountActivities_Call) Return(_a0 int64, _a1 error) *MockDatabase_CountActivities_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_CountActivities_Call) RunAndReturn(run func(*entity.ActivityFilter) (int64, error)) *MockDatabase_CountActivities_Call { - _c.Call.Return(run) - return _c -} - -// CountComponentInstances provides a mock function with given fields: _a0 -func (_m *MockDatabase) CountComponentInstances(_a0 *entity.ComponentInstanceFilter) (int64, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for CountComponentInstances") - } - - var r0 int64 - var r1 error - if rf, ok := ret.Get(0).(func(*entity.ComponentInstanceFilter) (int64, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.ComponentInstanceFilter) int64); ok { - r0 = rf(_a0) - } else { - r0 = ret.Get(0).(int64) - } - - if rf, ok := ret.Get(1).(func(*entity.ComponentInstanceFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_CountComponentInstances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountComponentInstances' -type MockDatabase_CountComponentInstances_Call struct { - *mock.Call -} - -// CountComponentInstances is a helper method to define mock.On call -// - _a0 *entity.ComponentInstanceFilter -func (_e *MockDatabase_Expecter) CountComponentInstances(_a0 interface{}) *MockDatabase_CountComponentInstances_Call { - return &MockDatabase_CountComponentInstances_Call{Call: _e.mock.On("CountComponentInstances", _a0)} -} - -func (_c *MockDatabase_CountComponentInstances_Call) Run(run func(_a0 *entity.ComponentInstanceFilter)) *MockDatabase_CountComponentInstances_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.ComponentInstanceFilter)) - }) - return _c -} - -func (_c *MockDatabase_CountComponentInstances_Call) Return(_a0 int64, _a1 error) *MockDatabase_CountComponentInstances_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_CountComponentInstances_Call) RunAndReturn(run func(*entity.ComponentInstanceFilter) (int64, error)) *MockDatabase_CountComponentInstances_Call { - _c.Call.Return(run) - return _c -} - -// CountComponentVersions provides a mock function with given fields: _a0 -func (_m *MockDatabase) CountComponentVersions(_a0 *entity.ComponentVersionFilter) (int64, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for CountComponentVersions") - } - - var r0 int64 - var r1 error - if rf, ok := ret.Get(0).(func(*entity.ComponentVersionFilter) (int64, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.ComponentVersionFilter) int64); ok { - r0 = rf(_a0) - } else { - r0 = ret.Get(0).(int64) - } - - if rf, ok := ret.Get(1).(func(*entity.ComponentVersionFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_CountComponentVersions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountComponentVersions' -type MockDatabase_CountComponentVersions_Call struct { - *mock.Call -} - -// CountComponentVersions is a helper method to define mock.On call -// - _a0 *entity.ComponentVersionFilter -func (_e *MockDatabase_Expecter) CountComponentVersions(_a0 interface{}) *MockDatabase_CountComponentVersions_Call { - return &MockDatabase_CountComponentVersions_Call{Call: _e.mock.On("CountComponentVersions", _a0)} -} - -func (_c *MockDatabase_CountComponentVersions_Call) Run(run func(_a0 *entity.ComponentVersionFilter)) *MockDatabase_CountComponentVersions_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.ComponentVersionFilter)) - }) - return _c -} - -func (_c *MockDatabase_CountComponentVersions_Call) Return(_a0 int64, _a1 error) *MockDatabase_CountComponentVersions_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_CountComponentVersions_Call) RunAndReturn(run func(*entity.ComponentVersionFilter) (int64, error)) *MockDatabase_CountComponentVersions_Call { - _c.Call.Return(run) - return _c -} - -// CountComponents provides a mock function with given fields: _a0 -func (_m *MockDatabase) CountComponents(_a0 *entity.ComponentFilter) (int64, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for CountComponents") - } - - var r0 int64 - var r1 error - if rf, ok := ret.Get(0).(func(*entity.ComponentFilter) (int64, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.ComponentFilter) int64); ok { - r0 = rf(_a0) - } else { - r0 = ret.Get(0).(int64) - } - - if rf, ok := ret.Get(1).(func(*entity.ComponentFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_CountComponents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountComponents' -type MockDatabase_CountComponents_Call struct { - *mock.Call -} - -// CountComponents is a helper method to define mock.On call -// - _a0 *entity.ComponentFilter -func (_e *MockDatabase_Expecter) CountComponents(_a0 interface{}) *MockDatabase_CountComponents_Call { - return &MockDatabase_CountComponents_Call{Call: _e.mock.On("CountComponents", _a0)} -} - -func (_c *MockDatabase_CountComponents_Call) Run(run func(_a0 *entity.ComponentFilter)) *MockDatabase_CountComponents_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.ComponentFilter)) - }) - return _c -} - -func (_c *MockDatabase_CountComponents_Call) Return(_a0 int64, _a1 error) *MockDatabase_CountComponents_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_CountComponents_Call) RunAndReturn(run func(*entity.ComponentFilter) (int64, error)) *MockDatabase_CountComponents_Call { - _c.Call.Return(run) - return _c -} - -// CountEvidences provides a mock function with given fields: _a0 -func (_m *MockDatabase) CountEvidences(_a0 *entity.EvidenceFilter) (int64, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for CountEvidences") - } - - var r0 int64 - var r1 error - if rf, ok := ret.Get(0).(func(*entity.EvidenceFilter) (int64, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.EvidenceFilter) int64); ok { - r0 = rf(_a0) - } else { - r0 = ret.Get(0).(int64) - } - - if rf, ok := ret.Get(1).(func(*entity.EvidenceFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_CountEvidences_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountEvidences' -type MockDatabase_CountEvidences_Call struct { - *mock.Call -} - -// CountEvidences is a helper method to define mock.On call -// - _a0 *entity.EvidenceFilter -func (_e *MockDatabase_Expecter) CountEvidences(_a0 interface{}) *MockDatabase_CountEvidences_Call { - return &MockDatabase_CountEvidences_Call{Call: _e.mock.On("CountEvidences", _a0)} -} - -func (_c *MockDatabase_CountEvidences_Call) Run(run func(_a0 *entity.EvidenceFilter)) *MockDatabase_CountEvidences_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.EvidenceFilter)) - }) - return _c -} - -func (_c *MockDatabase_CountEvidences_Call) Return(_a0 int64, _a1 error) *MockDatabase_CountEvidences_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_CountEvidences_Call) RunAndReturn(run func(*entity.EvidenceFilter) (int64, error)) *MockDatabase_CountEvidences_Call { - _c.Call.Return(run) - return _c -} - -// CountIssueMatchChanges provides a mock function with given fields: filter -func (_m *MockDatabase) CountIssueMatchChanges(filter *entity.IssueMatchChangeFilter) (int64, error) { - ret := _m.Called(filter) - - if len(ret) == 0 { - panic("no return value specified for CountIssueMatchChanges") - } - - var r0 int64 - var r1 error - if rf, ok := ret.Get(0).(func(*entity.IssueMatchChangeFilter) (int64, error)); ok { - return rf(filter) - } - if rf, ok := ret.Get(0).(func(*entity.IssueMatchChangeFilter) int64); ok { - r0 = rf(filter) - } else { - r0 = ret.Get(0).(int64) - } - - if rf, ok := ret.Get(1).(func(*entity.IssueMatchChangeFilter) error); ok { - r1 = rf(filter) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_CountIssueMatchChanges_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountIssueMatchChanges' -type MockDatabase_CountIssueMatchChanges_Call struct { - *mock.Call -} - -// CountIssueMatchChanges is a helper method to define mock.On call -// - filter *entity.IssueMatchChangeFilter -func (_e *MockDatabase_Expecter) CountIssueMatchChanges(filter interface{}) *MockDatabase_CountIssueMatchChanges_Call { - return &MockDatabase_CountIssueMatchChanges_Call{Call: _e.mock.On("CountIssueMatchChanges", filter)} -} - -func (_c *MockDatabase_CountIssueMatchChanges_Call) Run(run func(filter *entity.IssueMatchChangeFilter)) *MockDatabase_CountIssueMatchChanges_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.IssueMatchChangeFilter)) - }) - return _c -} - -func (_c *MockDatabase_CountIssueMatchChanges_Call) Return(_a0 int64, _a1 error) *MockDatabase_CountIssueMatchChanges_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_CountIssueMatchChanges_Call) RunAndReturn(run func(*entity.IssueMatchChangeFilter) (int64, error)) *MockDatabase_CountIssueMatchChanges_Call { - _c.Call.Return(run) - return _c -} - -// CountIssueMatches provides a mock function with given fields: filter -func (_m *MockDatabase) CountIssueMatches(filter *entity.IssueMatchFilter) (int64, error) { - ret := _m.Called(filter) - - if len(ret) == 0 { - panic("no return value specified for CountIssueMatches") - } - - var r0 int64 - var r1 error - if rf, ok := ret.Get(0).(func(*entity.IssueMatchFilter) (int64, error)); ok { - return rf(filter) - } - if rf, ok := ret.Get(0).(func(*entity.IssueMatchFilter) int64); ok { - r0 = rf(filter) - } else { - r0 = ret.Get(0).(int64) - } - - if rf, ok := ret.Get(1).(func(*entity.IssueMatchFilter) error); ok { - r1 = rf(filter) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_CountIssueMatches_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountIssueMatches' -type MockDatabase_CountIssueMatches_Call struct { - *mock.Call -} - -// CountIssueMatches is a helper method to define mock.On call -// - filter *entity.IssueMatchFilter -func (_e *MockDatabase_Expecter) CountIssueMatches(filter interface{}) *MockDatabase_CountIssueMatches_Call { - return &MockDatabase_CountIssueMatches_Call{Call: _e.mock.On("CountIssueMatches", filter)} -} - -func (_c *MockDatabase_CountIssueMatches_Call) Run(run func(filter *entity.IssueMatchFilter)) *MockDatabase_CountIssueMatches_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.IssueMatchFilter)) - }) - return _c -} - -func (_c *MockDatabase_CountIssueMatches_Call) Return(_a0 int64, _a1 error) *MockDatabase_CountIssueMatches_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_CountIssueMatches_Call) RunAndReturn(run func(*entity.IssueMatchFilter) (int64, error)) *MockDatabase_CountIssueMatches_Call { - _c.Call.Return(run) - return _c -} - -// CountIssueRepositories provides a mock function with given fields: _a0 -func (_m *MockDatabase) CountIssueRepositories(_a0 *entity.IssueRepositoryFilter) (int64, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for CountIssueRepositories") - } - - var r0 int64 - var r1 error - if rf, ok := ret.Get(0).(func(*entity.IssueRepositoryFilter) (int64, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.IssueRepositoryFilter) int64); ok { - r0 = rf(_a0) - } else { - r0 = ret.Get(0).(int64) - } - - if rf, ok := ret.Get(1).(func(*entity.IssueRepositoryFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_CountIssueRepositories_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountIssueRepositories' -type MockDatabase_CountIssueRepositories_Call struct { - *mock.Call -} - -// CountIssueRepositories is a helper method to define mock.On call -// - _a0 *entity.IssueRepositoryFilter -func (_e *MockDatabase_Expecter) CountIssueRepositories(_a0 interface{}) *MockDatabase_CountIssueRepositories_Call { - return &MockDatabase_CountIssueRepositories_Call{Call: _e.mock.On("CountIssueRepositories", _a0)} -} - -func (_c *MockDatabase_CountIssueRepositories_Call) Run(run func(_a0 *entity.IssueRepositoryFilter)) *MockDatabase_CountIssueRepositories_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.IssueRepositoryFilter)) - }) - return _c -} - -func (_c *MockDatabase_CountIssueRepositories_Call) Return(_a0 int64, _a1 error) *MockDatabase_CountIssueRepositories_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_CountIssueRepositories_Call) RunAndReturn(run func(*entity.IssueRepositoryFilter) (int64, error)) *MockDatabase_CountIssueRepositories_Call { - _c.Call.Return(run) - return _c -} - -// CountIssueVariants provides a mock function with given fields: _a0 -func (_m *MockDatabase) CountIssueVariants(_a0 *entity.IssueVariantFilter) (int64, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for CountIssueVariants") - } - - var r0 int64 - var r1 error - if rf, ok := ret.Get(0).(func(*entity.IssueVariantFilter) (int64, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.IssueVariantFilter) int64); ok { - r0 = rf(_a0) - } else { - r0 = ret.Get(0).(int64) - } - - if rf, ok := ret.Get(1).(func(*entity.IssueVariantFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_CountIssueVariants_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountIssueVariants' -type MockDatabase_CountIssueVariants_Call struct { - *mock.Call -} - -// CountIssueVariants is a helper method to define mock.On call -// - _a0 *entity.IssueVariantFilter -func (_e *MockDatabase_Expecter) CountIssueVariants(_a0 interface{}) *MockDatabase_CountIssueVariants_Call { - return &MockDatabase_CountIssueVariants_Call{Call: _e.mock.On("CountIssueVariants", _a0)} -} - -func (_c *MockDatabase_CountIssueVariants_Call) Run(run func(_a0 *entity.IssueVariantFilter)) *MockDatabase_CountIssueVariants_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.IssueVariantFilter)) - }) - return _c -} - -func (_c *MockDatabase_CountIssueVariants_Call) Return(_a0 int64, _a1 error) *MockDatabase_CountIssueVariants_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_CountIssueVariants_Call) RunAndReturn(run func(*entity.IssueVariantFilter) (int64, error)) *MockDatabase_CountIssueVariants_Call { - _c.Call.Return(run) - return _c -} - -// CountIssues provides a mock function with given fields: _a0 -func (_m *MockDatabase) CountIssues(_a0 *entity.IssueFilter) (int64, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for CountIssues") - } - - var r0 int64 - var r1 error - if rf, ok := ret.Get(0).(func(*entity.IssueFilter) (int64, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.IssueFilter) int64); ok { - r0 = rf(_a0) - } else { - r0 = ret.Get(0).(int64) - } - - if rf, ok := ret.Get(1).(func(*entity.IssueFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_CountIssues_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountIssues' -type MockDatabase_CountIssues_Call struct { - *mock.Call -} - -// CountIssues is a helper method to define mock.On call -// - _a0 *entity.IssueFilter -func (_e *MockDatabase_Expecter) CountIssues(_a0 interface{}) *MockDatabase_CountIssues_Call { - return &MockDatabase_CountIssues_Call{Call: _e.mock.On("CountIssues", _a0)} -} - -func (_c *MockDatabase_CountIssues_Call) Run(run func(_a0 *entity.IssueFilter)) *MockDatabase_CountIssues_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.IssueFilter)) - }) - return _c -} - -func (_c *MockDatabase_CountIssues_Call) Return(_a0 int64, _a1 error) *MockDatabase_CountIssues_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_CountIssues_Call) RunAndReturn(run func(*entity.IssueFilter) (int64, error)) *MockDatabase_CountIssues_Call { - _c.Call.Return(run) - return _c -} - -// CountServices provides a mock function with given fields: _a0 -func (_m *MockDatabase) CountServices(_a0 *entity.ServiceFilter) (int64, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for CountServices") - } - - var r0 int64 - var r1 error - if rf, ok := ret.Get(0).(func(*entity.ServiceFilter) (int64, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.ServiceFilter) int64); ok { - r0 = rf(_a0) - } else { - r0 = ret.Get(0).(int64) - } - - if rf, ok := ret.Get(1).(func(*entity.ServiceFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_CountServices_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountServices' -type MockDatabase_CountServices_Call struct { - *mock.Call -} - -// CountServices is a helper method to define mock.On call -// - _a0 *entity.ServiceFilter -func (_e *MockDatabase_Expecter) CountServices(_a0 interface{}) *MockDatabase_CountServices_Call { - return &MockDatabase_CountServices_Call{Call: _e.mock.On("CountServices", _a0)} -} - -func (_c *MockDatabase_CountServices_Call) Run(run func(_a0 *entity.ServiceFilter)) *MockDatabase_CountServices_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.ServiceFilter)) - }) - return _c -} - -func (_c *MockDatabase_CountServices_Call) Return(_a0 int64, _a1 error) *MockDatabase_CountServices_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_CountServices_Call) RunAndReturn(run func(*entity.ServiceFilter) (int64, error)) *MockDatabase_CountServices_Call { - _c.Call.Return(run) - return _c -} - -// CountSupportGroups provides a mock function with given fields: _a0 -func (_m *MockDatabase) CountSupportGroups(_a0 *entity.SupportGroupFilter) (int64, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for CountSupportGroups") - } - - var r0 int64 - var r1 error - if rf, ok := ret.Get(0).(func(*entity.SupportGroupFilter) (int64, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.SupportGroupFilter) int64); ok { - r0 = rf(_a0) - } else { - r0 = ret.Get(0).(int64) - } - - if rf, ok := ret.Get(1).(func(*entity.SupportGroupFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_CountSupportGroups_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountSupportGroups' -type MockDatabase_CountSupportGroups_Call struct { - *mock.Call -} - -// CountSupportGroups is a helper method to define mock.On call -// - _a0 *entity.SupportGroupFilter -func (_e *MockDatabase_Expecter) CountSupportGroups(_a0 interface{}) *MockDatabase_CountSupportGroups_Call { - return &MockDatabase_CountSupportGroups_Call{Call: _e.mock.On("CountSupportGroups", _a0)} -} - -func (_c *MockDatabase_CountSupportGroups_Call) Run(run func(_a0 *entity.SupportGroupFilter)) *MockDatabase_CountSupportGroups_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.SupportGroupFilter)) - }) - return _c -} - -func (_c *MockDatabase_CountSupportGroups_Call) Return(_a0 int64, _a1 error) *MockDatabase_CountSupportGroups_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_CountSupportGroups_Call) RunAndReturn(run func(*entity.SupportGroupFilter) (int64, error)) *MockDatabase_CountSupportGroups_Call { - _c.Call.Return(run) - return _c -} - -// CountUsers provides a mock function with given fields: _a0 -func (_m *MockDatabase) CountUsers(_a0 *entity.UserFilter) (int64, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for CountUsers") - } - - var r0 int64 - var r1 error - if rf, ok := ret.Get(0).(func(*entity.UserFilter) (int64, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.UserFilter) int64); ok { - r0 = rf(_a0) - } else { - r0 = ret.Get(0).(int64) - } - - if rf, ok := ret.Get(1).(func(*entity.UserFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_CountUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountUsers' -type MockDatabase_CountUsers_Call struct { - *mock.Call -} - -// CountUsers is a helper method to define mock.On call -// - _a0 *entity.UserFilter -func (_e *MockDatabase_Expecter) CountUsers(_a0 interface{}) *MockDatabase_CountUsers_Call { - return &MockDatabase_CountUsers_Call{Call: _e.mock.On("CountUsers", _a0)} -} - -func (_c *MockDatabase_CountUsers_Call) Run(run func(_a0 *entity.UserFilter)) *MockDatabase_CountUsers_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.UserFilter)) - }) - return _c -} - -func (_c *MockDatabase_CountUsers_Call) Return(_a0 int64, _a1 error) *MockDatabase_CountUsers_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_CountUsers_Call) RunAndReturn(run func(*entity.UserFilter) (int64, error)) *MockDatabase_CountUsers_Call { - _c.Call.Return(run) - return _c -} - -// CreateComponent provides a mock function with given fields: _a0 -func (_m *MockDatabase) CreateComponent(_a0 *entity.Component) (*entity.Component, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for CreateComponent") - } - - var r0 *entity.Component - var r1 error - if rf, ok := ret.Get(0).(func(*entity.Component) (*entity.Component, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.Component) *entity.Component); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.Component) - } - } - - if rf, ok := ret.Get(1).(func(*entity.Component) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_CreateComponent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateComponent' -type MockDatabase_CreateComponent_Call struct { - *mock.Call -} - -// CreateComponent is a helper method to define mock.On call -// - _a0 *entity.Component -func (_e *MockDatabase_Expecter) CreateComponent(_a0 interface{}) *MockDatabase_CreateComponent_Call { - return &MockDatabase_CreateComponent_Call{Call: _e.mock.On("CreateComponent", _a0)} -} - -func (_c *MockDatabase_CreateComponent_Call) Run(run func(_a0 *entity.Component)) *MockDatabase_CreateComponent_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.Component)) - }) - return _c -} - -func (_c *MockDatabase_CreateComponent_Call) Return(_a0 *entity.Component, _a1 error) *MockDatabase_CreateComponent_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_CreateComponent_Call) RunAndReturn(run func(*entity.Component) (*entity.Component, error)) *MockDatabase_CreateComponent_Call { - _c.Call.Return(run) - return _c -} - -// CreateComponentInstance provides a mock function with given fields: _a0 -func (_m *MockDatabase) CreateComponentInstance(_a0 *entity.ComponentInstance) (*entity.ComponentInstance, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for CreateComponentInstance") - } - - var r0 *entity.ComponentInstance - var r1 error - if rf, ok := ret.Get(0).(func(*entity.ComponentInstance) (*entity.ComponentInstance, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.ComponentInstance) *entity.ComponentInstance); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.ComponentInstance) - } - } - - if rf, ok := ret.Get(1).(func(*entity.ComponentInstance) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_CreateComponentInstance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateComponentInstance' -type MockDatabase_CreateComponentInstance_Call struct { - *mock.Call -} - -// CreateComponentInstance is a helper method to define mock.On call -// - _a0 *entity.ComponentInstance -func (_e *MockDatabase_Expecter) CreateComponentInstance(_a0 interface{}) *MockDatabase_CreateComponentInstance_Call { - return &MockDatabase_CreateComponentInstance_Call{Call: _e.mock.On("CreateComponentInstance", _a0)} -} - -func (_c *MockDatabase_CreateComponentInstance_Call) Run(run func(_a0 *entity.ComponentInstance)) *MockDatabase_CreateComponentInstance_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.ComponentInstance)) - }) - return _c -} - -func (_c *MockDatabase_CreateComponentInstance_Call) Return(_a0 *entity.ComponentInstance, _a1 error) *MockDatabase_CreateComponentInstance_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_CreateComponentInstance_Call) RunAndReturn(run func(*entity.ComponentInstance) (*entity.ComponentInstance, error)) *MockDatabase_CreateComponentInstance_Call { - _c.Call.Return(run) - return _c -} - -// CreateComponentVersion provides a mock function with given fields: _a0 -func (_m *MockDatabase) CreateComponentVersion(_a0 *entity.ComponentVersion) (*entity.ComponentVersion, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for CreateComponentVersion") - } - - var r0 *entity.ComponentVersion - var r1 error - if rf, ok := ret.Get(0).(func(*entity.ComponentVersion) (*entity.ComponentVersion, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.ComponentVersion) *entity.ComponentVersion); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.ComponentVersion) - } - } - - if rf, ok := ret.Get(1).(func(*entity.ComponentVersion) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_CreateComponentVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateComponentVersion' -type MockDatabase_CreateComponentVersion_Call struct { - *mock.Call -} - -// CreateComponentVersion is a helper method to define mock.On call -// - _a0 *entity.ComponentVersion -func (_e *MockDatabase_Expecter) CreateComponentVersion(_a0 interface{}) *MockDatabase_CreateComponentVersion_Call { - return &MockDatabase_CreateComponentVersion_Call{Call: _e.mock.On("CreateComponentVersion", _a0)} -} - -func (_c *MockDatabase_CreateComponentVersion_Call) Run(run func(_a0 *entity.ComponentVersion)) *MockDatabase_CreateComponentVersion_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.ComponentVersion)) - }) - return _c -} - -func (_c *MockDatabase_CreateComponentVersion_Call) Return(_a0 *entity.ComponentVersion, _a1 error) *MockDatabase_CreateComponentVersion_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_CreateComponentVersion_Call) RunAndReturn(run func(*entity.ComponentVersion) (*entity.ComponentVersion, error)) *MockDatabase_CreateComponentVersion_Call { - _c.Call.Return(run) - return _c -} - -// CreateEvidence provides a mock function with given fields: _a0 -func (_m *MockDatabase) CreateEvidence(_a0 *entity.Evidence) (*entity.Evidence, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for CreateEvidence") - } - - var r0 *entity.Evidence - var r1 error - if rf, ok := ret.Get(0).(func(*entity.Evidence) (*entity.Evidence, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.Evidence) *entity.Evidence); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.Evidence) - } - } - - if rf, ok := ret.Get(1).(func(*entity.Evidence) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_CreateEvidence_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateEvidence' -type MockDatabase_CreateEvidence_Call struct { - *mock.Call -} - -// CreateEvidence is a helper method to define mock.On call -// - _a0 *entity.Evidence -func (_e *MockDatabase_Expecter) CreateEvidence(_a0 interface{}) *MockDatabase_CreateEvidence_Call { - return &MockDatabase_CreateEvidence_Call{Call: _e.mock.On("CreateEvidence", _a0)} -} - -func (_c *MockDatabase_CreateEvidence_Call) Run(run func(_a0 *entity.Evidence)) *MockDatabase_CreateEvidence_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.Evidence)) - }) - return _c -} - -func (_c *MockDatabase_CreateEvidence_Call) Return(_a0 *entity.Evidence, _a1 error) *MockDatabase_CreateEvidence_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_CreateEvidence_Call) RunAndReturn(run func(*entity.Evidence) (*entity.Evidence, error)) *MockDatabase_CreateEvidence_Call { - _c.Call.Return(run) - return _c -} - -// CreateIssueMatch provides a mock function with given fields: _a0 -func (_m *MockDatabase) CreateIssueMatch(_a0 *entity.IssueMatch) (*entity.IssueMatch, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for CreateIssueMatch") - } - - var r0 *entity.IssueMatch - var r1 error - if rf, ok := ret.Get(0).(func(*entity.IssueMatch) (*entity.IssueMatch, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.IssueMatch) *entity.IssueMatch); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.IssueMatch) - } - } - - if rf, ok := ret.Get(1).(func(*entity.IssueMatch) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_CreateIssueMatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateIssueMatch' -type MockDatabase_CreateIssueMatch_Call struct { - *mock.Call -} - -// CreateIssueMatch is a helper method to define mock.On call -// - _a0 *entity.IssueMatch -func (_e *MockDatabase_Expecter) CreateIssueMatch(_a0 interface{}) *MockDatabase_CreateIssueMatch_Call { - return &MockDatabase_CreateIssueMatch_Call{Call: _e.mock.On("CreateIssueMatch", _a0)} -} - -func (_c *MockDatabase_CreateIssueMatch_Call) Run(run func(_a0 *entity.IssueMatch)) *MockDatabase_CreateIssueMatch_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.IssueMatch)) - }) - return _c -} - -func (_c *MockDatabase_CreateIssueMatch_Call) Return(_a0 *entity.IssueMatch, _a1 error) *MockDatabase_CreateIssueMatch_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_CreateIssueMatch_Call) RunAndReturn(run func(*entity.IssueMatch) (*entity.IssueMatch, error)) *MockDatabase_CreateIssueMatch_Call { - _c.Call.Return(run) - return _c -} - -// CreateIssueRepository provides a mock function with given fields: _a0 -func (_m *MockDatabase) CreateIssueRepository(_a0 *entity.IssueRepository) (*entity.IssueRepository, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for CreateIssueRepository") - } - - var r0 *entity.IssueRepository - var r1 error - if rf, ok := ret.Get(0).(func(*entity.IssueRepository) (*entity.IssueRepository, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.IssueRepository) *entity.IssueRepository); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.IssueRepository) - } - } - - if rf, ok := ret.Get(1).(func(*entity.IssueRepository) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_CreateIssueRepository_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateIssueRepository' -type MockDatabase_CreateIssueRepository_Call struct { - *mock.Call -} - -// CreateIssueRepository is a helper method to define mock.On call -// - _a0 *entity.IssueRepository -func (_e *MockDatabase_Expecter) CreateIssueRepository(_a0 interface{}) *MockDatabase_CreateIssueRepository_Call { - return &MockDatabase_CreateIssueRepository_Call{Call: _e.mock.On("CreateIssueRepository", _a0)} -} - -func (_c *MockDatabase_CreateIssueRepository_Call) Run(run func(_a0 *entity.IssueRepository)) *MockDatabase_CreateIssueRepository_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.IssueRepository)) - }) - return _c -} - -func (_c *MockDatabase_CreateIssueRepository_Call) Return(_a0 *entity.IssueRepository, _a1 error) *MockDatabase_CreateIssueRepository_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_CreateIssueRepository_Call) RunAndReturn(run func(*entity.IssueRepository) (*entity.IssueRepository, error)) *MockDatabase_CreateIssueRepository_Call { - _c.Call.Return(run) - return _c -} - -// CreateIssueVariant provides a mock function with given fields: _a0 -func (_m *MockDatabase) CreateIssueVariant(_a0 *entity.IssueVariant) (*entity.IssueVariant, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for CreateIssueVariant") - } - - var r0 *entity.IssueVariant - var r1 error - if rf, ok := ret.Get(0).(func(*entity.IssueVariant) (*entity.IssueVariant, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.IssueVariant) *entity.IssueVariant); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.IssueVariant) - } - } - - if rf, ok := ret.Get(1).(func(*entity.IssueVariant) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_CreateIssueVariant_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateIssueVariant' -type MockDatabase_CreateIssueVariant_Call struct { - *mock.Call -} - -// CreateIssueVariant is a helper method to define mock.On call -// - _a0 *entity.IssueVariant -func (_e *MockDatabase_Expecter) CreateIssueVariant(_a0 interface{}) *MockDatabase_CreateIssueVariant_Call { - return &MockDatabase_CreateIssueVariant_Call{Call: _e.mock.On("CreateIssueVariant", _a0)} -} - -func (_c *MockDatabase_CreateIssueVariant_Call) Run(run func(_a0 *entity.IssueVariant)) *MockDatabase_CreateIssueVariant_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.IssueVariant)) - }) - return _c -} - -func (_c *MockDatabase_CreateIssueVariant_Call) Return(_a0 *entity.IssueVariant, _a1 error) *MockDatabase_CreateIssueVariant_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_CreateIssueVariant_Call) RunAndReturn(run func(*entity.IssueVariant) (*entity.IssueVariant, error)) *MockDatabase_CreateIssueVariant_Call { - _c.Call.Return(run) - return _c -} - -// CreateService provides a mock function with given fields: _a0 -func (_m *MockDatabase) CreateService(_a0 *entity.Service) (*entity.Service, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for CreateService") - } - - var r0 *entity.Service - var r1 error - if rf, ok := ret.Get(0).(func(*entity.Service) (*entity.Service, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.Service) *entity.Service); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.Service) - } - } - - if rf, ok := ret.Get(1).(func(*entity.Service) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_CreateService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateService' -type MockDatabase_CreateService_Call struct { - *mock.Call -} - -// CreateService is a helper method to define mock.On call -// - _a0 *entity.Service -func (_e *MockDatabase_Expecter) CreateService(_a0 interface{}) *MockDatabase_CreateService_Call { - return &MockDatabase_CreateService_Call{Call: _e.mock.On("CreateService", _a0)} -} - -func (_c *MockDatabase_CreateService_Call) Run(run func(_a0 *entity.Service)) *MockDatabase_CreateService_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.Service)) - }) - return _c -} - -func (_c *MockDatabase_CreateService_Call) Return(_a0 *entity.Service, _a1 error) *MockDatabase_CreateService_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_CreateService_Call) RunAndReturn(run func(*entity.Service) (*entity.Service, error)) *MockDatabase_CreateService_Call { - _c.Call.Return(run) - return _c -} - -// CreateSupportGroup provides a mock function with given fields: _a0 -func (_m *MockDatabase) CreateSupportGroup(_a0 *entity.SupportGroup) (*entity.SupportGroup, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for CreateSupportGroup") - } - - var r0 *entity.SupportGroup - var r1 error - if rf, ok := ret.Get(0).(func(*entity.SupportGroup) (*entity.SupportGroup, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.SupportGroup) *entity.SupportGroup); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.SupportGroup) - } - } - - if rf, ok := ret.Get(1).(func(*entity.SupportGroup) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_CreateSupportGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateSupportGroup' -type MockDatabase_CreateSupportGroup_Call struct { - *mock.Call -} - -// CreateSupportGroup is a helper method to define mock.On call -// - _a0 *entity.SupportGroup -func (_e *MockDatabase_Expecter) CreateSupportGroup(_a0 interface{}) *MockDatabase_CreateSupportGroup_Call { - return &MockDatabase_CreateSupportGroup_Call{Call: _e.mock.On("CreateSupportGroup", _a0)} -} - -func (_c *MockDatabase_CreateSupportGroup_Call) Run(run func(_a0 *entity.SupportGroup)) *MockDatabase_CreateSupportGroup_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.SupportGroup)) - }) - return _c -} - -func (_c *MockDatabase_CreateSupportGroup_Call) Return(_a0 *entity.SupportGroup, _a1 error) *MockDatabase_CreateSupportGroup_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_CreateSupportGroup_Call) RunAndReturn(run func(*entity.SupportGroup) (*entity.SupportGroup, error)) *MockDatabase_CreateSupportGroup_Call { - _c.Call.Return(run) - return _c -} - -// CreateUser provides a mock function with given fields: _a0 -func (_m *MockDatabase) CreateUser(_a0 *entity.User) (*entity.User, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for CreateUser") - } - - var r0 *entity.User - var r1 error - if rf, ok := ret.Get(0).(func(*entity.User) (*entity.User, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.User) *entity.User); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.User) - } - } - - if rf, ok := ret.Get(1).(func(*entity.User) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_CreateUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateUser' -type MockDatabase_CreateUser_Call struct { - *mock.Call -} - -// CreateUser is a helper method to define mock.On call -// - _a0 *entity.User -func (_e *MockDatabase_Expecter) CreateUser(_a0 interface{}) *MockDatabase_CreateUser_Call { - return &MockDatabase_CreateUser_Call{Call: _e.mock.On("CreateUser", _a0)} -} - -func (_c *MockDatabase_CreateUser_Call) Run(run func(_a0 *entity.User)) *MockDatabase_CreateUser_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.User)) - }) - return _c -} - -func (_c *MockDatabase_CreateUser_Call) Return(_a0 *entity.User, _a1 error) *MockDatabase_CreateUser_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_CreateUser_Call) RunAndReturn(run func(*entity.User) (*entity.User, error)) *MockDatabase_CreateUser_Call { - _c.Call.Return(run) - return _c -} - -// DeleteComponent provides a mock function with given fields: _a0 -func (_m *MockDatabase) DeleteComponent(_a0 int64) error { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for DeleteComponent") - } - - var r0 error - if rf, ok := ret.Get(0).(func(int64) error); ok { - r0 = rf(_a0) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// MockDatabase_DeleteComponent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteComponent' -type MockDatabase_DeleteComponent_Call struct { - *mock.Call -} - -// DeleteComponent is a helper method to define mock.On call -// - _a0 int64 -func (_e *MockDatabase_Expecter) DeleteComponent(_a0 interface{}) *MockDatabase_DeleteComponent_Call { - return &MockDatabase_DeleteComponent_Call{Call: _e.mock.On("DeleteComponent", _a0)} -} - -func (_c *MockDatabase_DeleteComponent_Call) Run(run func(_a0 int64)) *MockDatabase_DeleteComponent_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(int64)) - }) - return _c -} - -func (_c *MockDatabase_DeleteComponent_Call) Return(_a0 error) *MockDatabase_DeleteComponent_Call { - _c.Call.Return(_a0) - return _c -} - -func (_c *MockDatabase_DeleteComponent_Call) RunAndReturn(run func(int64) error) *MockDatabase_DeleteComponent_Call { - _c.Call.Return(run) - return _c -} - -// DeleteComponentInstance provides a mock function with given fields: _a0 -func (_m *MockDatabase) DeleteComponentInstance(_a0 int64) error { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for DeleteComponentInstance") - } - - var r0 error - if rf, ok := ret.Get(0).(func(int64) error); ok { - r0 = rf(_a0) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// MockDatabase_DeleteComponentInstance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteComponentInstance' -type MockDatabase_DeleteComponentInstance_Call struct { - *mock.Call -} - -// DeleteComponentInstance is a helper method to define mock.On call -// - _a0 int64 -func (_e *MockDatabase_Expecter) DeleteComponentInstance(_a0 interface{}) *MockDatabase_DeleteComponentInstance_Call { - return &MockDatabase_DeleteComponentInstance_Call{Call: _e.mock.On("DeleteComponentInstance", _a0)} -} - -func (_c *MockDatabase_DeleteComponentInstance_Call) Run(run func(_a0 int64)) *MockDatabase_DeleteComponentInstance_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(int64)) - }) - return _c -} - -func (_c *MockDatabase_DeleteComponentInstance_Call) Return(_a0 error) *MockDatabase_DeleteComponentInstance_Call { - _c.Call.Return(_a0) - return _c -} - -func (_c *MockDatabase_DeleteComponentInstance_Call) RunAndReturn(run func(int64) error) *MockDatabase_DeleteComponentInstance_Call { - _c.Call.Return(run) - return _c -} - -// DeleteComponentVersion provides a mock function with given fields: _a0 -func (_m *MockDatabase) DeleteComponentVersion(_a0 int64) error { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for DeleteComponentVersion") - } - - var r0 error - if rf, ok := ret.Get(0).(func(int64) error); ok { - r0 = rf(_a0) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// MockDatabase_DeleteComponentVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteComponentVersion' -type MockDatabase_DeleteComponentVersion_Call struct { - *mock.Call -} - -// DeleteComponentVersion is a helper method to define mock.On call -// - _a0 int64 -func (_e *MockDatabase_Expecter) DeleteComponentVersion(_a0 interface{}) *MockDatabase_DeleteComponentVersion_Call { - return &MockDatabase_DeleteComponentVersion_Call{Call: _e.mock.On("DeleteComponentVersion", _a0)} -} - -func (_c *MockDatabase_DeleteComponentVersion_Call) Run(run func(_a0 int64)) *MockDatabase_DeleteComponentVersion_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(int64)) - }) - return _c -} - -func (_c *MockDatabase_DeleteComponentVersion_Call) Return(_a0 error) *MockDatabase_DeleteComponentVersion_Call { - _c.Call.Return(_a0) - return _c -} - -func (_c *MockDatabase_DeleteComponentVersion_Call) RunAndReturn(run func(int64) error) *MockDatabase_DeleteComponentVersion_Call { - _c.Call.Return(run) - return _c -} - -// DeleteEvidence provides a mock function with given fields: _a0 -func (_m *MockDatabase) DeleteEvidence(_a0 int64) error { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for DeleteEvidence") - } - - var r0 error - if rf, ok := ret.Get(0).(func(int64) error); ok { - r0 = rf(_a0) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// MockDatabase_DeleteEvidence_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteEvidence' -type MockDatabase_DeleteEvidence_Call struct { - *mock.Call -} - -// DeleteEvidence is a helper method to define mock.On call -// - _a0 int64 -func (_e *MockDatabase_Expecter) DeleteEvidence(_a0 interface{}) *MockDatabase_DeleteEvidence_Call { - return &MockDatabase_DeleteEvidence_Call{Call: _e.mock.On("DeleteEvidence", _a0)} -} - -func (_c *MockDatabase_DeleteEvidence_Call) Run(run func(_a0 int64)) *MockDatabase_DeleteEvidence_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(int64)) - }) - return _c -} - -func (_c *MockDatabase_DeleteEvidence_Call) Return(_a0 error) *MockDatabase_DeleteEvidence_Call { - _c.Call.Return(_a0) - return _c -} - -func (_c *MockDatabase_DeleteEvidence_Call) RunAndReturn(run func(int64) error) *MockDatabase_DeleteEvidence_Call { - _c.Call.Return(run) - return _c -} - -// DeleteIssueMatch provides a mock function with given fields: _a0 -func (_m *MockDatabase) DeleteIssueMatch(_a0 int64) error { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for DeleteIssueMatch") - } - - var r0 error - if rf, ok := ret.Get(0).(func(int64) error); ok { - r0 = rf(_a0) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// MockDatabase_DeleteIssueMatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteIssueMatch' -type MockDatabase_DeleteIssueMatch_Call struct { - *mock.Call -} - -// DeleteIssueMatch is a helper method to define mock.On call -// - _a0 int64 -func (_e *MockDatabase_Expecter) DeleteIssueMatch(_a0 interface{}) *MockDatabase_DeleteIssueMatch_Call { - return &MockDatabase_DeleteIssueMatch_Call{Call: _e.mock.On("DeleteIssueMatch", _a0)} -} - -func (_c *MockDatabase_DeleteIssueMatch_Call) Run(run func(_a0 int64)) *MockDatabase_DeleteIssueMatch_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(int64)) - }) - return _c -} - -func (_c *MockDatabase_DeleteIssueMatch_Call) Return(_a0 error) *MockDatabase_DeleteIssueMatch_Call { - _c.Call.Return(_a0) - return _c -} - -func (_c *MockDatabase_DeleteIssueMatch_Call) RunAndReturn(run func(int64) error) *MockDatabase_DeleteIssueMatch_Call { - _c.Call.Return(run) - return _c -} - -// DeleteIssueRepository provides a mock function with given fields: _a0 -func (_m *MockDatabase) DeleteIssueRepository(_a0 int64) error { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for DeleteIssueRepository") - } - - var r0 error - if rf, ok := ret.Get(0).(func(int64) error); ok { - r0 = rf(_a0) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// MockDatabase_DeleteIssueRepository_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteIssueRepository' -type MockDatabase_DeleteIssueRepository_Call struct { - *mock.Call -} - -// DeleteIssueRepository is a helper method to define mock.On call -// - _a0 int64 -func (_e *MockDatabase_Expecter) DeleteIssueRepository(_a0 interface{}) *MockDatabase_DeleteIssueRepository_Call { - return &MockDatabase_DeleteIssueRepository_Call{Call: _e.mock.On("DeleteIssueRepository", _a0)} -} - -func (_c *MockDatabase_DeleteIssueRepository_Call) Run(run func(_a0 int64)) *MockDatabase_DeleteIssueRepository_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(int64)) - }) - return _c -} - -func (_c *MockDatabase_DeleteIssueRepository_Call) Return(_a0 error) *MockDatabase_DeleteIssueRepository_Call { - _c.Call.Return(_a0) - return _c -} - -func (_c *MockDatabase_DeleteIssueRepository_Call) RunAndReturn(run func(int64) error) *MockDatabase_DeleteIssueRepository_Call { - _c.Call.Return(run) - return _c -} - -// DeleteIssueVariant provides a mock function with given fields: _a0 -func (_m *MockDatabase) DeleteIssueVariant(_a0 int64) error { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for DeleteIssueVariant") - } - - var r0 error - if rf, ok := ret.Get(0).(func(int64) error); ok { - r0 = rf(_a0) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// MockDatabase_DeleteIssueVariant_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteIssueVariant' -type MockDatabase_DeleteIssueVariant_Call struct { - *mock.Call -} - -// DeleteIssueVariant is a helper method to define mock.On call -// - _a0 int64 -func (_e *MockDatabase_Expecter) DeleteIssueVariant(_a0 interface{}) *MockDatabase_DeleteIssueVariant_Call { - return &MockDatabase_DeleteIssueVariant_Call{Call: _e.mock.On("DeleteIssueVariant", _a0)} -} - -func (_c *MockDatabase_DeleteIssueVariant_Call) Run(run func(_a0 int64)) *MockDatabase_DeleteIssueVariant_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(int64)) - }) - return _c -} - -func (_c *MockDatabase_DeleteIssueVariant_Call) Return(_a0 error) *MockDatabase_DeleteIssueVariant_Call { - _c.Call.Return(_a0) - return _c -} - -func (_c *MockDatabase_DeleteIssueVariant_Call) RunAndReturn(run func(int64) error) *MockDatabase_DeleteIssueVariant_Call { - _c.Call.Return(run) - return _c -} - -// DeleteService provides a mock function with given fields: _a0 -func (_m *MockDatabase) DeleteService(_a0 int64) error { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for DeleteService") - } - - var r0 error - if rf, ok := ret.Get(0).(func(int64) error); ok { - r0 = rf(_a0) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// MockDatabase_DeleteService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteService' -type MockDatabase_DeleteService_Call struct { - *mock.Call -} - -// DeleteService is a helper method to define mock.On call -// - _a0 int64 -func (_e *MockDatabase_Expecter) DeleteService(_a0 interface{}) *MockDatabase_DeleteService_Call { - return &MockDatabase_DeleteService_Call{Call: _e.mock.On("DeleteService", _a0)} -} - -func (_c *MockDatabase_DeleteService_Call) Run(run func(_a0 int64)) *MockDatabase_DeleteService_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(int64)) - }) - return _c -} - -func (_c *MockDatabase_DeleteService_Call) Return(_a0 error) *MockDatabase_DeleteService_Call { - _c.Call.Return(_a0) - return _c -} - -func (_c *MockDatabase_DeleteService_Call) RunAndReturn(run func(int64) error) *MockDatabase_DeleteService_Call { - _c.Call.Return(run) - return _c -} - -// DeleteSupportGroup provides a mock function with given fields: _a0 -func (_m *MockDatabase) DeleteSupportGroup(_a0 int64) error { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for DeleteSupportGroup") - } - - var r0 error - if rf, ok := ret.Get(0).(func(int64) error); ok { - r0 = rf(_a0) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// MockDatabase_DeleteSupportGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteSupportGroup' -type MockDatabase_DeleteSupportGroup_Call struct { - *mock.Call -} - -// DeleteSupportGroup is a helper method to define mock.On call -// - _a0 int64 -func (_e *MockDatabase_Expecter) DeleteSupportGroup(_a0 interface{}) *MockDatabase_DeleteSupportGroup_Call { - return &MockDatabase_DeleteSupportGroup_Call{Call: _e.mock.On("DeleteSupportGroup", _a0)} -} - -func (_c *MockDatabase_DeleteSupportGroup_Call) Run(run func(_a0 int64)) *MockDatabase_DeleteSupportGroup_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(int64)) - }) - return _c -} - -func (_c *MockDatabase_DeleteSupportGroup_Call) Return(_a0 error) *MockDatabase_DeleteSupportGroup_Call { - _c.Call.Return(_a0) - return _c -} - -func (_c *MockDatabase_DeleteSupportGroup_Call) RunAndReturn(run func(int64) error) *MockDatabase_DeleteSupportGroup_Call { - _c.Call.Return(run) - return _c -} - -// DeleteUser provides a mock function with given fields: _a0 -func (_m *MockDatabase) DeleteUser(_a0 int64) error { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for DeleteUser") - } - - var r0 error - if rf, ok := ret.Get(0).(func(int64) error); ok { - r0 = rf(_a0) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// MockDatabase_DeleteUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteUser' -type MockDatabase_DeleteUser_Call struct { - *mock.Call -} - -// DeleteUser is a helper method to define mock.On call -// - _a0 int64 -func (_e *MockDatabase_Expecter) DeleteUser(_a0 interface{}) *MockDatabase_DeleteUser_Call { - return &MockDatabase_DeleteUser_Call{Call: _e.mock.On("DeleteUser", _a0)} -} - -func (_c *MockDatabase_DeleteUser_Call) Run(run func(_a0 int64)) *MockDatabase_DeleteUser_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(int64)) - }) - return _c -} - -func (_c *MockDatabase_DeleteUser_Call) Return(_a0 error) *MockDatabase_DeleteUser_Call { - _c.Call.Return(_a0) - return _c -} - -func (_c *MockDatabase_DeleteUser_Call) RunAndReturn(run func(int64) error) *MockDatabase_DeleteUser_Call { - _c.Call.Return(run) - return _c -} - -// GetActivities provides a mock function with given fields: _a0 -func (_m *MockDatabase) GetActivities(_a0 *entity.ActivityFilter) ([]entity.Activity, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for GetActivities") - } - - var r0 []entity.Activity - var r1 error - if rf, ok := ret.Get(0).(func(*entity.ActivityFilter) ([]entity.Activity, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.ActivityFilter) []entity.Activity); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).([]entity.Activity) - } - } - - if rf, ok := ret.Get(1).(func(*entity.ActivityFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_GetActivities_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetActivities' -type MockDatabase_GetActivities_Call struct { - *mock.Call -} - -// GetActivities is a helper method to define mock.On call -// - _a0 *entity.ActivityFilter -func (_e *MockDatabase_Expecter) GetActivities(_a0 interface{}) *MockDatabase_GetActivities_Call { - return &MockDatabase_GetActivities_Call{Call: _e.mock.On("GetActivities", _a0)} -} - -func (_c *MockDatabase_GetActivities_Call) Run(run func(_a0 *entity.ActivityFilter)) *MockDatabase_GetActivities_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.ActivityFilter)) - }) - return _c -} - -func (_c *MockDatabase_GetActivities_Call) Return(_a0 []entity.Activity, _a1 error) *MockDatabase_GetActivities_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_GetActivities_Call) RunAndReturn(run func(*entity.ActivityFilter) ([]entity.Activity, error)) *MockDatabase_GetActivities_Call { - _c.Call.Return(run) - return _c -} - -// GetAllActivityIds provides a mock function with given fields: _a0 -func (_m *MockDatabase) GetAllActivityIds(_a0 *entity.ActivityFilter) ([]int64, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for GetAllActivityIds") - } - - var r0 []int64 - var r1 error - if rf, ok := ret.Get(0).(func(*entity.ActivityFilter) ([]int64, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.ActivityFilter) []int64); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).([]int64) - } - } - - if rf, ok := ret.Get(1).(func(*entity.ActivityFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_GetAllActivityIds_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllActivityIds' -type MockDatabase_GetAllActivityIds_Call struct { - *mock.Call -} - -// GetAllActivityIds is a helper method to define mock.On call -// - _a0 *entity.ActivityFilter -func (_e *MockDatabase_Expecter) GetAllActivityIds(_a0 interface{}) *MockDatabase_GetAllActivityIds_Call { - return &MockDatabase_GetAllActivityIds_Call{Call: _e.mock.On("GetAllActivityIds", _a0)} -} - -func (_c *MockDatabase_GetAllActivityIds_Call) Run(run func(_a0 *entity.ActivityFilter)) *MockDatabase_GetAllActivityIds_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.ActivityFilter)) - }) - return _c -} - -func (_c *MockDatabase_GetAllActivityIds_Call) Return(_a0 []int64, _a1 error) *MockDatabase_GetAllActivityIds_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_GetAllActivityIds_Call) RunAndReturn(run func(*entity.ActivityFilter) ([]int64, error)) *MockDatabase_GetAllActivityIds_Call { - _c.Call.Return(run) - return _c -} - -// GetAllComponentIds provides a mock function with given fields: _a0 -func (_m *MockDatabase) GetAllComponentIds(_a0 *entity.ComponentFilter) ([]int64, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for GetAllComponentIds") - } - - var r0 []int64 - var r1 error - if rf, ok := ret.Get(0).(func(*entity.ComponentFilter) ([]int64, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.ComponentFilter) []int64); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).([]int64) - } - } - - if rf, ok := ret.Get(1).(func(*entity.ComponentFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_GetAllComponentIds_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllComponentIds' -type MockDatabase_GetAllComponentIds_Call struct { - *mock.Call -} - -// GetAllComponentIds is a helper method to define mock.On call -// - _a0 *entity.ComponentFilter -func (_e *MockDatabase_Expecter) GetAllComponentIds(_a0 interface{}) *MockDatabase_GetAllComponentIds_Call { - return &MockDatabase_GetAllComponentIds_Call{Call: _e.mock.On("GetAllComponentIds", _a0)} -} - -func (_c *MockDatabase_GetAllComponentIds_Call) Run(run func(_a0 *entity.ComponentFilter)) *MockDatabase_GetAllComponentIds_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.ComponentFilter)) - }) - return _c -} - -func (_c *MockDatabase_GetAllComponentIds_Call) Return(_a0 []int64, _a1 error) *MockDatabase_GetAllComponentIds_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_GetAllComponentIds_Call) RunAndReturn(run func(*entity.ComponentFilter) ([]int64, error)) *MockDatabase_GetAllComponentIds_Call { - _c.Call.Return(run) - return _c -} - -// GetAllComponentInstanceIds provides a mock function with given fields: _a0 -func (_m *MockDatabase) GetAllComponentInstanceIds(_a0 *entity.ComponentInstanceFilter) ([]int64, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for GetAllComponentInstanceIds") - } - - var r0 []int64 - var r1 error - if rf, ok := ret.Get(0).(func(*entity.ComponentInstanceFilter) ([]int64, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.ComponentInstanceFilter) []int64); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).([]int64) - } - } - - if rf, ok := ret.Get(1).(func(*entity.ComponentInstanceFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_GetAllComponentInstanceIds_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllComponentInstanceIds' -type MockDatabase_GetAllComponentInstanceIds_Call struct { - *mock.Call -} - -// GetAllComponentInstanceIds is a helper method to define mock.On call -// - _a0 *entity.ComponentInstanceFilter -func (_e *MockDatabase_Expecter) GetAllComponentInstanceIds(_a0 interface{}) *MockDatabase_GetAllComponentInstanceIds_Call { - return &MockDatabase_GetAllComponentInstanceIds_Call{Call: _e.mock.On("GetAllComponentInstanceIds", _a0)} -} - -func (_c *MockDatabase_GetAllComponentInstanceIds_Call) Run(run func(_a0 *entity.ComponentInstanceFilter)) *MockDatabase_GetAllComponentInstanceIds_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.ComponentInstanceFilter)) - }) - return _c -} - -func (_c *MockDatabase_GetAllComponentInstanceIds_Call) Return(_a0 []int64, _a1 error) *MockDatabase_GetAllComponentInstanceIds_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_GetAllComponentInstanceIds_Call) RunAndReturn(run func(*entity.ComponentInstanceFilter) ([]int64, error)) *MockDatabase_GetAllComponentInstanceIds_Call { - _c.Call.Return(run) - return _c -} - -// GetAllComponentVersionIds provides a mock function with given fields: _a0 -func (_m *MockDatabase) GetAllComponentVersionIds(_a0 *entity.ComponentVersionFilter) ([]int64, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for GetAllComponentVersionIds") - } - - var r0 []int64 - var r1 error - if rf, ok := ret.Get(0).(func(*entity.ComponentVersionFilter) ([]int64, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.ComponentVersionFilter) []int64); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).([]int64) - } - } - - if rf, ok := ret.Get(1).(func(*entity.ComponentVersionFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_GetAllComponentVersionIds_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllComponentVersionIds' -type MockDatabase_GetAllComponentVersionIds_Call struct { - *mock.Call -} - -// GetAllComponentVersionIds is a helper method to define mock.On call -// - _a0 *entity.ComponentVersionFilter -func (_e *MockDatabase_Expecter) GetAllComponentVersionIds(_a0 interface{}) *MockDatabase_GetAllComponentVersionIds_Call { - return &MockDatabase_GetAllComponentVersionIds_Call{Call: _e.mock.On("GetAllComponentVersionIds", _a0)} -} - -func (_c *MockDatabase_GetAllComponentVersionIds_Call) Run(run func(_a0 *entity.ComponentVersionFilter)) *MockDatabase_GetAllComponentVersionIds_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.ComponentVersionFilter)) - }) - return _c -} - -func (_c *MockDatabase_GetAllComponentVersionIds_Call) Return(_a0 []int64, _a1 error) *MockDatabase_GetAllComponentVersionIds_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_GetAllComponentVersionIds_Call) RunAndReturn(run func(*entity.ComponentVersionFilter) ([]int64, error)) *MockDatabase_GetAllComponentVersionIds_Call { - _c.Call.Return(run) - return _c -} - -// GetAllEvidenceIds provides a mock function with given fields: _a0 -func (_m *MockDatabase) GetAllEvidenceIds(_a0 *entity.EvidenceFilter) ([]int64, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for GetAllEvidenceIds") - } - - var r0 []int64 - var r1 error - if rf, ok := ret.Get(0).(func(*entity.EvidenceFilter) ([]int64, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.EvidenceFilter) []int64); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).([]int64) - } - } - - if rf, ok := ret.Get(1).(func(*entity.EvidenceFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_GetAllEvidenceIds_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllEvidenceIds' -type MockDatabase_GetAllEvidenceIds_Call struct { - *mock.Call -} - -// GetAllEvidenceIds is a helper method to define mock.On call -// - _a0 *entity.EvidenceFilter -func (_e *MockDatabase_Expecter) GetAllEvidenceIds(_a0 interface{}) *MockDatabase_GetAllEvidenceIds_Call { - return &MockDatabase_GetAllEvidenceIds_Call{Call: _e.mock.On("GetAllEvidenceIds", _a0)} -} - -func (_c *MockDatabase_GetAllEvidenceIds_Call) Run(run func(_a0 *entity.EvidenceFilter)) *MockDatabase_GetAllEvidenceIds_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.EvidenceFilter)) - }) - return _c -} - -func (_c *MockDatabase_GetAllEvidenceIds_Call) Return(_a0 []int64, _a1 error) *MockDatabase_GetAllEvidenceIds_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_GetAllEvidenceIds_Call) RunAndReturn(run func(*entity.EvidenceFilter) ([]int64, error)) *MockDatabase_GetAllEvidenceIds_Call { - _c.Call.Return(run) - return _c -} - -// GetAllIssueIds provides a mock function with given fields: _a0 -func (_m *MockDatabase) GetAllIssueIds(_a0 *entity.IssueFilter) ([]int64, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for GetAllIssueIds") - } - - var r0 []int64 - var r1 error - if rf, ok := ret.Get(0).(func(*entity.IssueFilter) ([]int64, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.IssueFilter) []int64); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).([]int64) - } - } - - if rf, ok := ret.Get(1).(func(*entity.IssueFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_GetAllIssueIds_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllIssueIds' -type MockDatabase_GetAllIssueIds_Call struct { - *mock.Call -} - -// GetAllIssueIds is a helper method to define mock.On call -// - _a0 *entity.IssueFilter -func (_e *MockDatabase_Expecter) GetAllIssueIds(_a0 interface{}) *MockDatabase_GetAllIssueIds_Call { - return &MockDatabase_GetAllIssueIds_Call{Call: _e.mock.On("GetAllIssueIds", _a0)} -} - -func (_c *MockDatabase_GetAllIssueIds_Call) Run(run func(_a0 *entity.IssueFilter)) *MockDatabase_GetAllIssueIds_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.IssueFilter)) - }) - return _c -} - -func (_c *MockDatabase_GetAllIssueIds_Call) Return(_a0 []int64, _a1 error) *MockDatabase_GetAllIssueIds_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_GetAllIssueIds_Call) RunAndReturn(run func(*entity.IssueFilter) ([]int64, error)) *MockDatabase_GetAllIssueIds_Call { - _c.Call.Return(run) - return _c -} - -// GetAllIssueMatchChangeIds provides a mock function with given fields: _a0 -func (_m *MockDatabase) GetAllIssueMatchChangeIds(_a0 *entity.IssueMatchChangeFilter) ([]int64, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for GetAllIssueMatchChangeIds") - } - - var r0 []int64 - var r1 error - if rf, ok := ret.Get(0).(func(*entity.IssueMatchChangeFilter) ([]int64, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.IssueMatchChangeFilter) []int64); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).([]int64) - } - } - - if rf, ok := ret.Get(1).(func(*entity.IssueMatchChangeFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_GetAllIssueMatchChangeIds_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllIssueMatchChangeIds' -type MockDatabase_GetAllIssueMatchChangeIds_Call struct { - *mock.Call -} - -// GetAllIssueMatchChangeIds is a helper method to define mock.On call -// - _a0 *entity.IssueMatchChangeFilter -func (_e *MockDatabase_Expecter) GetAllIssueMatchChangeIds(_a0 interface{}) *MockDatabase_GetAllIssueMatchChangeIds_Call { - return &MockDatabase_GetAllIssueMatchChangeIds_Call{Call: _e.mock.On("GetAllIssueMatchChangeIds", _a0)} -} - -func (_c *MockDatabase_GetAllIssueMatchChangeIds_Call) Run(run func(_a0 *entity.IssueMatchChangeFilter)) *MockDatabase_GetAllIssueMatchChangeIds_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.IssueMatchChangeFilter)) - }) - return _c -} - -func (_c *MockDatabase_GetAllIssueMatchChangeIds_Call) Return(_a0 []int64, _a1 error) *MockDatabase_GetAllIssueMatchChangeIds_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_GetAllIssueMatchChangeIds_Call) RunAndReturn(run func(*entity.IssueMatchChangeFilter) ([]int64, error)) *MockDatabase_GetAllIssueMatchChangeIds_Call { - _c.Call.Return(run) - return _c -} - -// GetAllIssueMatchIds provides a mock function with given fields: _a0 -func (_m *MockDatabase) GetAllIssueMatchIds(_a0 *entity.IssueMatchFilter) ([]int64, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for GetAllIssueMatchIds") - } - - var r0 []int64 - var r1 error - if rf, ok := ret.Get(0).(func(*entity.IssueMatchFilter) ([]int64, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.IssueMatchFilter) []int64); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).([]int64) - } - } - - if rf, ok := ret.Get(1).(func(*entity.IssueMatchFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_GetAllIssueMatchIds_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllIssueMatchIds' -type MockDatabase_GetAllIssueMatchIds_Call struct { - *mock.Call -} - -// GetAllIssueMatchIds is a helper method to define mock.On call -// - _a0 *entity.IssueMatchFilter -func (_e *MockDatabase_Expecter) GetAllIssueMatchIds(_a0 interface{}) *MockDatabase_GetAllIssueMatchIds_Call { - return &MockDatabase_GetAllIssueMatchIds_Call{Call: _e.mock.On("GetAllIssueMatchIds", _a0)} -} - -func (_c *MockDatabase_GetAllIssueMatchIds_Call) Run(run func(_a0 *entity.IssueMatchFilter)) *MockDatabase_GetAllIssueMatchIds_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.IssueMatchFilter)) - }) - return _c -} - -func (_c *MockDatabase_GetAllIssueMatchIds_Call) Return(_a0 []int64, _a1 error) *MockDatabase_GetAllIssueMatchIds_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_GetAllIssueMatchIds_Call) RunAndReturn(run func(*entity.IssueMatchFilter) ([]int64, error)) *MockDatabase_GetAllIssueMatchIds_Call { - _c.Call.Return(run) - return _c -} - -// GetAllIssueRepositoryIds provides a mock function with given fields: _a0 -func (_m *MockDatabase) GetAllIssueRepositoryIds(_a0 *entity.IssueRepositoryFilter) ([]int64, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for GetAllIssueRepositoryIds") - } - - var r0 []int64 - var r1 error - if rf, ok := ret.Get(0).(func(*entity.IssueRepositoryFilter) ([]int64, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.IssueRepositoryFilter) []int64); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).([]int64) - } - } - - if rf, ok := ret.Get(1).(func(*entity.IssueRepositoryFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_GetAllIssueRepositoryIds_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllIssueRepositoryIds' -type MockDatabase_GetAllIssueRepositoryIds_Call struct { - *mock.Call -} - -// GetAllIssueRepositoryIds is a helper method to define mock.On call -// - _a0 *entity.IssueRepositoryFilter -func (_e *MockDatabase_Expecter) GetAllIssueRepositoryIds(_a0 interface{}) *MockDatabase_GetAllIssueRepositoryIds_Call { - return &MockDatabase_GetAllIssueRepositoryIds_Call{Call: _e.mock.On("GetAllIssueRepositoryIds", _a0)} -} - -func (_c *MockDatabase_GetAllIssueRepositoryIds_Call) Run(run func(_a0 *entity.IssueRepositoryFilter)) *MockDatabase_GetAllIssueRepositoryIds_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.IssueRepositoryFilter)) - }) - return _c -} - -func (_c *MockDatabase_GetAllIssueRepositoryIds_Call) Return(_a0 []int64, _a1 error) *MockDatabase_GetAllIssueRepositoryIds_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_GetAllIssueRepositoryIds_Call) RunAndReturn(run func(*entity.IssueRepositoryFilter) ([]int64, error)) *MockDatabase_GetAllIssueRepositoryIds_Call { - _c.Call.Return(run) - return _c -} - -// GetAllIssueVariantIds provides a mock function with given fields: _a0 -func (_m *MockDatabase) GetAllIssueVariantIds(_a0 *entity.IssueVariantFilter) ([]int64, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for GetAllIssueVariantIds") - } - - var r0 []int64 - var r1 error - if rf, ok := ret.Get(0).(func(*entity.IssueVariantFilter) ([]int64, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.IssueVariantFilter) []int64); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).([]int64) - } - } - - if rf, ok := ret.Get(1).(func(*entity.IssueVariantFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_GetAllIssueVariantIds_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllIssueVariantIds' -type MockDatabase_GetAllIssueVariantIds_Call struct { - *mock.Call -} - -// GetAllIssueVariantIds is a helper method to define mock.On call -// - _a0 *entity.IssueVariantFilter -func (_e *MockDatabase_Expecter) GetAllIssueVariantIds(_a0 interface{}) *MockDatabase_GetAllIssueVariantIds_Call { - return &MockDatabase_GetAllIssueVariantIds_Call{Call: _e.mock.On("GetAllIssueVariantIds", _a0)} -} - -func (_c *MockDatabase_GetAllIssueVariantIds_Call) Run(run func(_a0 *entity.IssueVariantFilter)) *MockDatabase_GetAllIssueVariantIds_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.IssueVariantFilter)) - }) - return _c -} - -func (_c *MockDatabase_GetAllIssueVariantIds_Call) Return(_a0 []int64, _a1 error) *MockDatabase_GetAllIssueVariantIds_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_GetAllIssueVariantIds_Call) RunAndReturn(run func(*entity.IssueVariantFilter) ([]int64, error)) *MockDatabase_GetAllIssueVariantIds_Call { - _c.Call.Return(run) - return _c -} - -// GetAllServiceIds provides a mock function with given fields: _a0 -func (_m *MockDatabase) GetAllServiceIds(_a0 *entity.ServiceFilter) ([]int64, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for GetAllServiceIds") - } - - var r0 []int64 - var r1 error - if rf, ok := ret.Get(0).(func(*entity.ServiceFilter) ([]int64, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.ServiceFilter) []int64); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).([]int64) - } - } - - if rf, ok := ret.Get(1).(func(*entity.ServiceFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_GetAllServiceIds_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllServiceIds' -type MockDatabase_GetAllServiceIds_Call struct { - *mock.Call -} - -// GetAllServiceIds is a helper method to define mock.On call -// - _a0 *entity.ServiceFilter -func (_e *MockDatabase_Expecter) GetAllServiceIds(_a0 interface{}) *MockDatabase_GetAllServiceIds_Call { - return &MockDatabase_GetAllServiceIds_Call{Call: _e.mock.On("GetAllServiceIds", _a0)} -} - -func (_c *MockDatabase_GetAllServiceIds_Call) Run(run func(_a0 *entity.ServiceFilter)) *MockDatabase_GetAllServiceIds_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.ServiceFilter)) - }) - return _c -} - -func (_c *MockDatabase_GetAllServiceIds_Call) Return(_a0 []int64, _a1 error) *MockDatabase_GetAllServiceIds_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_GetAllServiceIds_Call) RunAndReturn(run func(*entity.ServiceFilter) ([]int64, error)) *MockDatabase_GetAllServiceIds_Call { - _c.Call.Return(run) - return _c -} - -// GetAllSupportGroupIds provides a mock function with given fields: _a0 -func (_m *MockDatabase) GetAllSupportGroupIds(_a0 *entity.SupportGroupFilter) ([]int64, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for GetAllSupportGroupIds") - } - - var r0 []int64 - var r1 error - if rf, ok := ret.Get(0).(func(*entity.SupportGroupFilter) ([]int64, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.SupportGroupFilter) []int64); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).([]int64) - } - } - - if rf, ok := ret.Get(1).(func(*entity.SupportGroupFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_GetAllSupportGroupIds_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllSupportGroupIds' -type MockDatabase_GetAllSupportGroupIds_Call struct { - *mock.Call -} - -// GetAllSupportGroupIds is a helper method to define mock.On call -// - _a0 *entity.SupportGroupFilter -func (_e *MockDatabase_Expecter) GetAllSupportGroupIds(_a0 interface{}) *MockDatabase_GetAllSupportGroupIds_Call { - return &MockDatabase_GetAllSupportGroupIds_Call{Call: _e.mock.On("GetAllSupportGroupIds", _a0)} -} - -func (_c *MockDatabase_GetAllSupportGroupIds_Call) Run(run func(_a0 *entity.SupportGroupFilter)) *MockDatabase_GetAllSupportGroupIds_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.SupportGroupFilter)) - }) - return _c -} - -func (_c *MockDatabase_GetAllSupportGroupIds_Call) Return(_a0 []int64, _a1 error) *MockDatabase_GetAllSupportGroupIds_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_GetAllSupportGroupIds_Call) RunAndReturn(run func(*entity.SupportGroupFilter) ([]int64, error)) *MockDatabase_GetAllSupportGroupIds_Call { - _c.Call.Return(run) - return _c -} - -// GetAllUserIds provides a mock function with given fields: _a0 -func (_m *MockDatabase) GetAllUserIds(_a0 *entity.UserFilter) ([]int64, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for GetAllUserIds") - } - - var r0 []int64 - var r1 error - if rf, ok := ret.Get(0).(func(*entity.UserFilter) ([]int64, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.UserFilter) []int64); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).([]int64) - } - } - - if rf, ok := ret.Get(1).(func(*entity.UserFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_GetAllUserIds_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllUserIds' -type MockDatabase_GetAllUserIds_Call struct { - *mock.Call -} - -// GetAllUserIds is a helper method to define mock.On call -// - _a0 *entity.UserFilter -func (_e *MockDatabase_Expecter) GetAllUserIds(_a0 interface{}) *MockDatabase_GetAllUserIds_Call { - return &MockDatabase_GetAllUserIds_Call{Call: _e.mock.On("GetAllUserIds", _a0)} -} - -func (_c *MockDatabase_GetAllUserIds_Call) Run(run func(_a0 *entity.UserFilter)) *MockDatabase_GetAllUserIds_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.UserFilter)) - }) - return _c -} - -func (_c *MockDatabase_GetAllUserIds_Call) Return(_a0 []int64, _a1 error) *MockDatabase_GetAllUserIds_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_GetAllUserIds_Call) RunAndReturn(run func(*entity.UserFilter) ([]int64, error)) *MockDatabase_GetAllUserIds_Call { - _c.Call.Return(run) - return _c -} - -// GetComponentInstances provides a mock function with given fields: _a0 -func (_m *MockDatabase) GetComponentInstances(_a0 *entity.ComponentInstanceFilter) ([]entity.ComponentInstance, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for GetComponentInstances") - } - - var r0 []entity.ComponentInstance - var r1 error - if rf, ok := ret.Get(0).(func(*entity.ComponentInstanceFilter) ([]entity.ComponentInstance, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.ComponentInstanceFilter) []entity.ComponentInstance); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).([]entity.ComponentInstance) - } - } - - if rf, ok := ret.Get(1).(func(*entity.ComponentInstanceFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_GetComponentInstances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetComponentInstances' -type MockDatabase_GetComponentInstances_Call struct { - *mock.Call -} - -// GetComponentInstances is a helper method to define mock.On call -// - _a0 *entity.ComponentInstanceFilter -func (_e *MockDatabase_Expecter) GetComponentInstances(_a0 interface{}) *MockDatabase_GetComponentInstances_Call { - return &MockDatabase_GetComponentInstances_Call{Call: _e.mock.On("GetComponentInstances", _a0)} -} - -func (_c *MockDatabase_GetComponentInstances_Call) Run(run func(_a0 *entity.ComponentInstanceFilter)) *MockDatabase_GetComponentInstances_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.ComponentInstanceFilter)) - }) - return _c -} - -func (_c *MockDatabase_GetComponentInstances_Call) Return(_a0 []entity.ComponentInstance, _a1 error) *MockDatabase_GetComponentInstances_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_GetComponentInstances_Call) RunAndReturn(run func(*entity.ComponentInstanceFilter) ([]entity.ComponentInstance, error)) *MockDatabase_GetComponentInstances_Call { - _c.Call.Return(run) - return _c -} - -// GetComponentVersions provides a mock function with given fields: _a0 -func (_m *MockDatabase) GetComponentVersions(_a0 *entity.ComponentVersionFilter) ([]entity.ComponentVersion, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for GetComponentVersions") - } - - var r0 []entity.ComponentVersion - var r1 error - if rf, ok := ret.Get(0).(func(*entity.ComponentVersionFilter) ([]entity.ComponentVersion, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.ComponentVersionFilter) []entity.ComponentVersion); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).([]entity.ComponentVersion) - } - } - - if rf, ok := ret.Get(1).(func(*entity.ComponentVersionFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_GetComponentVersions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetComponentVersions' -type MockDatabase_GetComponentVersions_Call struct { - *mock.Call -} - -// GetComponentVersions is a helper method to define mock.On call -// - _a0 *entity.ComponentVersionFilter -func (_e *MockDatabase_Expecter) GetComponentVersions(_a0 interface{}) *MockDatabase_GetComponentVersions_Call { - return &MockDatabase_GetComponentVersions_Call{Call: _e.mock.On("GetComponentVersions", _a0)} -} - -func (_c *MockDatabase_GetComponentVersions_Call) Run(run func(_a0 *entity.ComponentVersionFilter)) *MockDatabase_GetComponentVersions_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.ComponentVersionFilter)) - }) - return _c -} - -func (_c *MockDatabase_GetComponentVersions_Call) Return(_a0 []entity.ComponentVersion, _a1 error) *MockDatabase_GetComponentVersions_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_GetComponentVersions_Call) RunAndReturn(run func(*entity.ComponentVersionFilter) ([]entity.ComponentVersion, error)) *MockDatabase_GetComponentVersions_Call { - _c.Call.Return(run) - return _c -} - -// GetComponents provides a mock function with given fields: _a0 -func (_m *MockDatabase) GetComponents(_a0 *entity.ComponentFilter) ([]entity.Component, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for GetComponents") - } - - var r0 []entity.Component - var r1 error - if rf, ok := ret.Get(0).(func(*entity.ComponentFilter) ([]entity.Component, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.ComponentFilter) []entity.Component); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).([]entity.Component) - } - } - - if rf, ok := ret.Get(1).(func(*entity.ComponentFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_GetComponents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetComponents' -type MockDatabase_GetComponents_Call struct { - *mock.Call -} - -// GetComponents is a helper method to define mock.On call -// - _a0 *entity.ComponentFilter -func (_e *MockDatabase_Expecter) GetComponents(_a0 interface{}) *MockDatabase_GetComponents_Call { - return &MockDatabase_GetComponents_Call{Call: _e.mock.On("GetComponents", _a0)} -} - -func (_c *MockDatabase_GetComponents_Call) Run(run func(_a0 *entity.ComponentFilter)) *MockDatabase_GetComponents_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.ComponentFilter)) - }) - return _c -} - -func (_c *MockDatabase_GetComponents_Call) Return(_a0 []entity.Component, _a1 error) *MockDatabase_GetComponents_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_GetComponents_Call) RunAndReturn(run func(*entity.ComponentFilter) ([]entity.Component, error)) *MockDatabase_GetComponents_Call { - _c.Call.Return(run) - return _c -} - -// GetEvidences provides a mock function with given fields: _a0 -func (_m *MockDatabase) GetEvidences(_a0 *entity.EvidenceFilter) ([]entity.Evidence, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for GetEvidences") - } - - var r0 []entity.Evidence - var r1 error - if rf, ok := ret.Get(0).(func(*entity.EvidenceFilter) ([]entity.Evidence, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.EvidenceFilter) []entity.Evidence); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).([]entity.Evidence) - } - } - - if rf, ok := ret.Get(1).(func(*entity.EvidenceFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_GetEvidences_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEvidences' -type MockDatabase_GetEvidences_Call struct { - *mock.Call -} - -// GetEvidences is a helper method to define mock.On call -// - _a0 *entity.EvidenceFilter -func (_e *MockDatabase_Expecter) GetEvidences(_a0 interface{}) *MockDatabase_GetEvidences_Call { - return &MockDatabase_GetEvidences_Call{Call: _e.mock.On("GetEvidences", _a0)} -} - -func (_c *MockDatabase_GetEvidences_Call) Run(run func(_a0 *entity.EvidenceFilter)) *MockDatabase_GetEvidences_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.EvidenceFilter)) - }) - return _c -} - -func (_c *MockDatabase_GetEvidences_Call) Return(_a0 []entity.Evidence, _a1 error) *MockDatabase_GetEvidences_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_GetEvidences_Call) RunAndReturn(run func(*entity.EvidenceFilter) ([]entity.Evidence, error)) *MockDatabase_GetEvidences_Call { - _c.Call.Return(run) - return _c -} - -// GetIssueMatchChanges provides a mock function with given fields: _a0 -func (_m *MockDatabase) GetIssueMatchChanges(_a0 *entity.IssueMatchChangeFilter) ([]entity.IssueMatchChange, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for GetIssueMatchChanges") - } - - var r0 []entity.IssueMatchChange - var r1 error - if rf, ok := ret.Get(0).(func(*entity.IssueMatchChangeFilter) ([]entity.IssueMatchChange, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.IssueMatchChangeFilter) []entity.IssueMatchChange); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).([]entity.IssueMatchChange) - } - } - - if rf, ok := ret.Get(1).(func(*entity.IssueMatchChangeFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_GetIssueMatchChanges_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetIssueMatchChanges' -type MockDatabase_GetIssueMatchChanges_Call struct { - *mock.Call -} - -// GetIssueMatchChanges is a helper method to define mock.On call -// - _a0 *entity.IssueMatchChangeFilter -func (_e *MockDatabase_Expecter) GetIssueMatchChanges(_a0 interface{}) *MockDatabase_GetIssueMatchChanges_Call { - return &MockDatabase_GetIssueMatchChanges_Call{Call: _e.mock.On("GetIssueMatchChanges", _a0)} -} - -func (_c *MockDatabase_GetIssueMatchChanges_Call) Run(run func(_a0 *entity.IssueMatchChangeFilter)) *MockDatabase_GetIssueMatchChanges_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.IssueMatchChangeFilter)) - }) - return _c -} - -func (_c *MockDatabase_GetIssueMatchChanges_Call) Return(_a0 []entity.IssueMatchChange, _a1 error) *MockDatabase_GetIssueMatchChanges_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_GetIssueMatchChanges_Call) RunAndReturn(run func(*entity.IssueMatchChangeFilter) ([]entity.IssueMatchChange, error)) *MockDatabase_GetIssueMatchChanges_Call { - _c.Call.Return(run) - return _c -} - -// GetIssueMatches provides a mock function with given fields: _a0 -func (_m *MockDatabase) GetIssueMatches(_a0 *entity.IssueMatchFilter) ([]entity.IssueMatch, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for GetIssueMatches") - } - - var r0 []entity.IssueMatch - var r1 error - if rf, ok := ret.Get(0).(func(*entity.IssueMatchFilter) ([]entity.IssueMatch, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.IssueMatchFilter) []entity.IssueMatch); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).([]entity.IssueMatch) - } - } - - if rf, ok := ret.Get(1).(func(*entity.IssueMatchFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_GetIssueMatches_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetIssueMatches' -type MockDatabase_GetIssueMatches_Call struct { - *mock.Call -} - -// GetIssueMatches is a helper method to define mock.On call -// - _a0 *entity.IssueMatchFilter -func (_e *MockDatabase_Expecter) GetIssueMatches(_a0 interface{}) *MockDatabase_GetIssueMatches_Call { - return &MockDatabase_GetIssueMatches_Call{Call: _e.mock.On("GetIssueMatches", _a0)} -} - -func (_c *MockDatabase_GetIssueMatches_Call) Run(run func(_a0 *entity.IssueMatchFilter)) *MockDatabase_GetIssueMatches_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.IssueMatchFilter)) - }) - return _c -} - -func (_c *MockDatabase_GetIssueMatches_Call) Return(_a0 []entity.IssueMatch, _a1 error) *MockDatabase_GetIssueMatches_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_GetIssueMatches_Call) RunAndReturn(run func(*entity.IssueMatchFilter) ([]entity.IssueMatch, error)) *MockDatabase_GetIssueMatches_Call { - _c.Call.Return(run) - return _c -} - -// GetIssueRepositories provides a mock function with given fields: _a0 -func (_m *MockDatabase) GetIssueRepositories(_a0 *entity.IssueRepositoryFilter) ([]entity.IssueRepository, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for GetIssueRepositories") - } - - var r0 []entity.IssueRepository - var r1 error - if rf, ok := ret.Get(0).(func(*entity.IssueRepositoryFilter) ([]entity.IssueRepository, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.IssueRepositoryFilter) []entity.IssueRepository); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).([]entity.IssueRepository) - } - } - - if rf, ok := ret.Get(1).(func(*entity.IssueRepositoryFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_GetIssueRepositories_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetIssueRepositories' -type MockDatabase_GetIssueRepositories_Call struct { - *mock.Call -} - -// GetIssueRepositories is a helper method to define mock.On call -// - _a0 *entity.IssueRepositoryFilter -func (_e *MockDatabase_Expecter) GetIssueRepositories(_a0 interface{}) *MockDatabase_GetIssueRepositories_Call { - return &MockDatabase_GetIssueRepositories_Call{Call: _e.mock.On("GetIssueRepositories", _a0)} -} - -func (_c *MockDatabase_GetIssueRepositories_Call) Run(run func(_a0 *entity.IssueRepositoryFilter)) *MockDatabase_GetIssueRepositories_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.IssueRepositoryFilter)) - }) - return _c -} - -func (_c *MockDatabase_GetIssueRepositories_Call) Return(_a0 []entity.IssueRepository, _a1 error) *MockDatabase_GetIssueRepositories_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_GetIssueRepositories_Call) RunAndReturn(run func(*entity.IssueRepositoryFilter) ([]entity.IssueRepository, error)) *MockDatabase_GetIssueRepositories_Call { - _c.Call.Return(run) - return _c -} - -// GetIssueVariants provides a mock function with given fields: _a0 -func (_m *MockDatabase) GetIssueVariants(_a0 *entity.IssueVariantFilter) ([]entity.IssueVariant, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for GetIssueVariants") - } - - var r0 []entity.IssueVariant - var r1 error - if rf, ok := ret.Get(0).(func(*entity.IssueVariantFilter) ([]entity.IssueVariant, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.IssueVariantFilter) []entity.IssueVariant); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).([]entity.IssueVariant) - } - } - - if rf, ok := ret.Get(1).(func(*entity.IssueVariantFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_GetIssueVariants_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetIssueVariants' -type MockDatabase_GetIssueVariants_Call struct { - *mock.Call -} - -// GetIssueVariants is a helper method to define mock.On call -// - _a0 *entity.IssueVariantFilter -func (_e *MockDatabase_Expecter) GetIssueVariants(_a0 interface{}) *MockDatabase_GetIssueVariants_Call { - return &MockDatabase_GetIssueVariants_Call{Call: _e.mock.On("GetIssueVariants", _a0)} -} - -func (_c *MockDatabase_GetIssueVariants_Call) Run(run func(_a0 *entity.IssueVariantFilter)) *MockDatabase_GetIssueVariants_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.IssueVariantFilter)) - }) - return _c -} - -func (_c *MockDatabase_GetIssueVariants_Call) Return(_a0 []entity.IssueVariant, _a1 error) *MockDatabase_GetIssueVariants_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_GetIssueVariants_Call) RunAndReturn(run func(*entity.IssueVariantFilter) ([]entity.IssueVariant, error)) *MockDatabase_GetIssueVariants_Call { - _c.Call.Return(run) - return _c -} - -// GetIssues provides a mock function with given fields: _a0 -func (_m *MockDatabase) GetIssues(_a0 *entity.IssueFilter) ([]entity.Issue, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for GetIssues") - } - - var r0 []entity.Issue - var r1 error - if rf, ok := ret.Get(0).(func(*entity.IssueFilter) ([]entity.Issue, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.IssueFilter) []entity.Issue); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).([]entity.Issue) - } - } - - if rf, ok := ret.Get(1).(func(*entity.IssueFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_GetIssues_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetIssues' -type MockDatabase_GetIssues_Call struct { - *mock.Call -} - -// GetIssues is a helper method to define mock.On call -// - _a0 *entity.IssueFilter -func (_e *MockDatabase_Expecter) GetIssues(_a0 interface{}) *MockDatabase_GetIssues_Call { - return &MockDatabase_GetIssues_Call{Call: _e.mock.On("GetIssues", _a0)} -} - -func (_c *MockDatabase_GetIssues_Call) Run(run func(_a0 *entity.IssueFilter)) *MockDatabase_GetIssues_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.IssueFilter)) - }) - return _c -} - -func (_c *MockDatabase_GetIssues_Call) Return(_a0 []entity.Issue, _a1 error) *MockDatabase_GetIssues_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_GetIssues_Call) RunAndReturn(run func(*entity.IssueFilter) ([]entity.Issue, error)) *MockDatabase_GetIssues_Call { - _c.Call.Return(run) - return _c -} - -// GetIssuesWithAggregations provides a mock function with given fields: _a0 -func (_m *MockDatabase) GetIssuesWithAggregations(_a0 *entity.IssueFilter) ([]entity.IssueWithAggregations, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for GetIssuesWithAggregations") - } - - var r0 []entity.IssueWithAggregations - var r1 error - if rf, ok := ret.Get(0).(func(*entity.IssueFilter) ([]entity.IssueWithAggregations, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.IssueFilter) []entity.IssueWithAggregations); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).([]entity.IssueWithAggregations) - } - } - - if rf, ok := ret.Get(1).(func(*entity.IssueFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_GetIssuesWithAggregations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetIssuesWithAggregations' -type MockDatabase_GetIssuesWithAggregations_Call struct { - *mock.Call -} - -// GetIssuesWithAggregations is a helper method to define mock.On call -// - _a0 *entity.IssueFilter -func (_e *MockDatabase_Expecter) GetIssuesWithAggregations(_a0 interface{}) *MockDatabase_GetIssuesWithAggregations_Call { - return &MockDatabase_GetIssuesWithAggregations_Call{Call: _e.mock.On("GetIssuesWithAggregations", _a0)} -} - -func (_c *MockDatabase_GetIssuesWithAggregations_Call) Run(run func(_a0 *entity.IssueFilter)) *MockDatabase_GetIssuesWithAggregations_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.IssueFilter)) - }) - return _c -} - -func (_c *MockDatabase_GetIssuesWithAggregations_Call) Return(_a0 []entity.IssueWithAggregations, _a1 error) *MockDatabase_GetIssuesWithAggregations_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_GetIssuesWithAggregations_Call) RunAndReturn(run func(*entity.IssueFilter) ([]entity.IssueWithAggregations, error)) *MockDatabase_GetIssuesWithAggregations_Call { - _c.Call.Return(run) - return _c -} - -// GetServices provides a mock function with given fields: _a0 -func (_m *MockDatabase) GetServices(_a0 *entity.ServiceFilter) ([]entity.Service, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for GetServices") - } - - var r0 []entity.Service - var r1 error - if rf, ok := ret.Get(0).(func(*entity.ServiceFilter) ([]entity.Service, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.ServiceFilter) []entity.Service); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).([]entity.Service) - } - } - - if rf, ok := ret.Get(1).(func(*entity.ServiceFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_GetServices_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetServices' -type MockDatabase_GetServices_Call struct { - *mock.Call -} - -// GetServices is a helper method to define mock.On call -// - _a0 *entity.ServiceFilter -func (_e *MockDatabase_Expecter) GetServices(_a0 interface{}) *MockDatabase_GetServices_Call { - return &MockDatabase_GetServices_Call{Call: _e.mock.On("GetServices", _a0)} -} - -func (_c *MockDatabase_GetServices_Call) Run(run func(_a0 *entity.ServiceFilter)) *MockDatabase_GetServices_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.ServiceFilter)) - }) - return _c -} - -func (_c *MockDatabase_GetServices_Call) Return(_a0 []entity.Service, _a1 error) *MockDatabase_GetServices_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_GetServices_Call) RunAndReturn(run func(*entity.ServiceFilter) ([]entity.Service, error)) *MockDatabase_GetServices_Call { - _c.Call.Return(run) - return _c -} - -// GetSupportGroups provides a mock function with given fields: _a0 -func (_m *MockDatabase) GetSupportGroups(_a0 *entity.SupportGroupFilter) ([]entity.SupportGroup, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for GetSupportGroups") - } - - var r0 []entity.SupportGroup - var r1 error - if rf, ok := ret.Get(0).(func(*entity.SupportGroupFilter) ([]entity.SupportGroup, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.SupportGroupFilter) []entity.SupportGroup); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).([]entity.SupportGroup) - } - } - - if rf, ok := ret.Get(1).(func(*entity.SupportGroupFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_GetSupportGroups_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSupportGroups' -type MockDatabase_GetSupportGroups_Call struct { - *mock.Call -} - -// GetSupportGroups is a helper method to define mock.On call -// - _a0 *entity.SupportGroupFilter -func (_e *MockDatabase_Expecter) GetSupportGroups(_a0 interface{}) *MockDatabase_GetSupportGroups_Call { - return &MockDatabase_GetSupportGroups_Call{Call: _e.mock.On("GetSupportGroups", _a0)} -} - -func (_c *MockDatabase_GetSupportGroups_Call) Run(run func(_a0 *entity.SupportGroupFilter)) *MockDatabase_GetSupportGroups_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.SupportGroupFilter)) - }) - return _c -} - -func (_c *MockDatabase_GetSupportGroups_Call) Return(_a0 []entity.SupportGroup, _a1 error) *MockDatabase_GetSupportGroups_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_GetSupportGroups_Call) RunAndReturn(run func(*entity.SupportGroupFilter) ([]entity.SupportGroup, error)) *MockDatabase_GetSupportGroups_Call { - _c.Call.Return(run) - return _c -} - -// GetUsers provides a mock function with given fields: _a0 -func (_m *MockDatabase) GetUsers(_a0 *entity.UserFilter) ([]entity.User, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for GetUsers") - } - - var r0 []entity.User - var r1 error - if rf, ok := ret.Get(0).(func(*entity.UserFilter) ([]entity.User, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.UserFilter) []entity.User); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).([]entity.User) - } - } - - if rf, ok := ret.Get(1).(func(*entity.UserFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockDatabase_GetUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUsers' -type MockDatabase_GetUsers_Call struct { - *mock.Call -} - -// GetUsers is a helper method to define mock.On call -// - _a0 *entity.UserFilter -func (_e *MockDatabase_Expecter) GetUsers(_a0 interface{}) *MockDatabase_GetUsers_Call { - return &MockDatabase_GetUsers_Call{Call: _e.mock.On("GetUsers", _a0)} -} - -func (_c *MockDatabase_GetUsers_Call) Run(run func(_a0 *entity.UserFilter)) *MockDatabase_GetUsers_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.UserFilter)) - }) - return _c -} - -func (_c *MockDatabase_GetUsers_Call) Return(_a0 []entity.User, _a1 error) *MockDatabase_GetUsers_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockDatabase_GetUsers_Call) RunAndReturn(run func(*entity.UserFilter) ([]entity.User, error)) *MockDatabase_GetUsers_Call { - _c.Call.Return(run) - return _c -} - -// UpdateComponent provides a mock function with given fields: _a0 -func (_m *MockDatabase) UpdateComponent(_a0 *entity.Component) error { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for UpdateComponent") - } - - var r0 error - if rf, ok := ret.Get(0).(func(*entity.Component) error); ok { - r0 = rf(_a0) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// MockDatabase_UpdateComponent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateComponent' -type MockDatabase_UpdateComponent_Call struct { - *mock.Call -} - -// UpdateComponent is a helper method to define mock.On call -// - _a0 *entity.Component -func (_e *MockDatabase_Expecter) UpdateComponent(_a0 interface{}) *MockDatabase_UpdateComponent_Call { - return &MockDatabase_UpdateComponent_Call{Call: _e.mock.On("UpdateComponent", _a0)} -} - -func (_c *MockDatabase_UpdateComponent_Call) Run(run func(_a0 *entity.Component)) *MockDatabase_UpdateComponent_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.Component)) - }) - return _c -} - -func (_c *MockDatabase_UpdateComponent_Call) Return(_a0 error) *MockDatabase_UpdateComponent_Call { - _c.Call.Return(_a0) - return _c -} - -func (_c *MockDatabase_UpdateComponent_Call) RunAndReturn(run func(*entity.Component) error) *MockDatabase_UpdateComponent_Call { - _c.Call.Return(run) - return _c -} - -// UpdateComponentInstance provides a mock function with given fields: _a0 -func (_m *MockDatabase) UpdateComponentInstance(_a0 *entity.ComponentInstance) error { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for UpdateComponentInstance") - } - - var r0 error - if rf, ok := ret.Get(0).(func(*entity.ComponentInstance) error); ok { - r0 = rf(_a0) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// MockDatabase_UpdateComponentInstance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateComponentInstance' -type MockDatabase_UpdateComponentInstance_Call struct { - *mock.Call -} - -// UpdateComponentInstance is a helper method to define mock.On call -// - _a0 *entity.ComponentInstance -func (_e *MockDatabase_Expecter) UpdateComponentInstance(_a0 interface{}) *MockDatabase_UpdateComponentInstance_Call { - return &MockDatabase_UpdateComponentInstance_Call{Call: _e.mock.On("UpdateComponentInstance", _a0)} -} - -func (_c *MockDatabase_UpdateComponentInstance_Call) Run(run func(_a0 *entity.ComponentInstance)) *MockDatabase_UpdateComponentInstance_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.ComponentInstance)) - }) - return _c -} - -func (_c *MockDatabase_UpdateComponentInstance_Call) Return(_a0 error) *MockDatabase_UpdateComponentInstance_Call { - _c.Call.Return(_a0) - return _c -} - -func (_c *MockDatabase_UpdateComponentInstance_Call) RunAndReturn(run func(*entity.ComponentInstance) error) *MockDatabase_UpdateComponentInstance_Call { - _c.Call.Return(run) - return _c -} - -// UpdateComponentVersion provides a mock function with given fields: _a0 -func (_m *MockDatabase) UpdateComponentVersion(_a0 *entity.ComponentVersion) error { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for UpdateComponentVersion") - } - - var r0 error - if rf, ok := ret.Get(0).(func(*entity.ComponentVersion) error); ok { - r0 = rf(_a0) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// MockDatabase_UpdateComponentVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateComponentVersion' -type MockDatabase_UpdateComponentVersion_Call struct { - *mock.Call -} - -// UpdateComponentVersion is a helper method to define mock.On call -// - _a0 *entity.ComponentVersion -func (_e *MockDatabase_Expecter) UpdateComponentVersion(_a0 interface{}) *MockDatabase_UpdateComponentVersion_Call { - return &MockDatabase_UpdateComponentVersion_Call{Call: _e.mock.On("UpdateComponentVersion", _a0)} -} - -func (_c *MockDatabase_UpdateComponentVersion_Call) Run(run func(_a0 *entity.ComponentVersion)) *MockDatabase_UpdateComponentVersion_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.ComponentVersion)) - }) - return _c -} - -func (_c *MockDatabase_UpdateComponentVersion_Call) Return(_a0 error) *MockDatabase_UpdateComponentVersion_Call { - _c.Call.Return(_a0) - return _c -} - -func (_c *MockDatabase_UpdateComponentVersion_Call) RunAndReturn(run func(*entity.ComponentVersion) error) *MockDatabase_UpdateComponentVersion_Call { - _c.Call.Return(run) - return _c -} - -// UpdateEvidence provides a mock function with given fields: _a0 -func (_m *MockDatabase) UpdateEvidence(_a0 *entity.Evidence) error { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for UpdateEvidence") - } - - var r0 error - if rf, ok := ret.Get(0).(func(*entity.Evidence) error); ok { - r0 = rf(_a0) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// MockDatabase_UpdateEvidence_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateEvidence' -type MockDatabase_UpdateEvidence_Call struct { - *mock.Call -} - -// UpdateEvidence is a helper method to define mock.On call -// - _a0 *entity.Evidence -func (_e *MockDatabase_Expecter) UpdateEvidence(_a0 interface{}) *MockDatabase_UpdateEvidence_Call { - return &MockDatabase_UpdateEvidence_Call{Call: _e.mock.On("UpdateEvidence", _a0)} -} - -func (_c *MockDatabase_UpdateEvidence_Call) Run(run func(_a0 *entity.Evidence)) *MockDatabase_UpdateEvidence_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.Evidence)) - }) - return _c -} - -func (_c *MockDatabase_UpdateEvidence_Call) Return(_a0 error) *MockDatabase_UpdateEvidence_Call { - _c.Call.Return(_a0) - return _c -} - -func (_c *MockDatabase_UpdateEvidence_Call) RunAndReturn(run func(*entity.Evidence) error) *MockDatabase_UpdateEvidence_Call { - _c.Call.Return(run) - return _c -} - -// UpdateIssueMatch provides a mock function with given fields: _a0 -func (_m *MockDatabase) UpdateIssueMatch(_a0 *entity.IssueMatch) error { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for UpdateIssueMatch") - } - - var r0 error - if rf, ok := ret.Get(0).(func(*entity.IssueMatch) error); ok { - r0 = rf(_a0) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// MockDatabase_UpdateIssueMatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateIssueMatch' -type MockDatabase_UpdateIssueMatch_Call struct { - *mock.Call -} - -// UpdateIssueMatch is a helper method to define mock.On call -// - _a0 *entity.IssueMatch -func (_e *MockDatabase_Expecter) UpdateIssueMatch(_a0 interface{}) *MockDatabase_UpdateIssueMatch_Call { - return &MockDatabase_UpdateIssueMatch_Call{Call: _e.mock.On("UpdateIssueMatch", _a0)} -} - -func (_c *MockDatabase_UpdateIssueMatch_Call) Run(run func(_a0 *entity.IssueMatch)) *MockDatabase_UpdateIssueMatch_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.IssueMatch)) - }) - return _c -} - -func (_c *MockDatabase_UpdateIssueMatch_Call) Return(_a0 error) *MockDatabase_UpdateIssueMatch_Call { - _c.Call.Return(_a0) - return _c -} - -func (_c *MockDatabase_UpdateIssueMatch_Call) RunAndReturn(run func(*entity.IssueMatch) error) *MockDatabase_UpdateIssueMatch_Call { - _c.Call.Return(run) - return _c -} - -// UpdateIssueRepository provides a mock function with given fields: _a0 -func (_m *MockDatabase) UpdateIssueRepository(_a0 *entity.IssueRepository) error { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for UpdateIssueRepository") - } - - var r0 error - if rf, ok := ret.Get(0).(func(*entity.IssueRepository) error); ok { - r0 = rf(_a0) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// MockDatabase_UpdateIssueRepository_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateIssueRepository' -type MockDatabase_UpdateIssueRepository_Call struct { - *mock.Call -} - -// UpdateIssueRepository is a helper method to define mock.On call -// - _a0 *entity.IssueRepository -func (_e *MockDatabase_Expecter) UpdateIssueRepository(_a0 interface{}) *MockDatabase_UpdateIssueRepository_Call { - return &MockDatabase_UpdateIssueRepository_Call{Call: _e.mock.On("UpdateIssueRepository", _a0)} -} - -func (_c *MockDatabase_UpdateIssueRepository_Call) Run(run func(_a0 *entity.IssueRepository)) *MockDatabase_UpdateIssueRepository_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.IssueRepository)) - }) - return _c -} - -func (_c *MockDatabase_UpdateIssueRepository_Call) Return(_a0 error) *MockDatabase_UpdateIssueRepository_Call { - _c.Call.Return(_a0) - return _c -} - -func (_c *MockDatabase_UpdateIssueRepository_Call) RunAndReturn(run func(*entity.IssueRepository) error) *MockDatabase_UpdateIssueRepository_Call { - _c.Call.Return(run) - return _c -} - -// UpdateIssueVariant provides a mock function with given fields: _a0 -func (_m *MockDatabase) UpdateIssueVariant(_a0 *entity.IssueVariant) error { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for UpdateIssueVariant") - } - - var r0 error - if rf, ok := ret.Get(0).(func(*entity.IssueVariant) error); ok { - r0 = rf(_a0) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// MockDatabase_UpdateIssueVariant_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateIssueVariant' -type MockDatabase_UpdateIssueVariant_Call struct { - *mock.Call -} - -// UpdateIssueVariant is a helper method to define mock.On call -// - _a0 *entity.IssueVariant -func (_e *MockDatabase_Expecter) UpdateIssueVariant(_a0 interface{}) *MockDatabase_UpdateIssueVariant_Call { - return &MockDatabase_UpdateIssueVariant_Call{Call: _e.mock.On("UpdateIssueVariant", _a0)} -} - -func (_c *MockDatabase_UpdateIssueVariant_Call) Run(run func(_a0 *entity.IssueVariant)) *MockDatabase_UpdateIssueVariant_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.IssueVariant)) - }) - return _c -} - -func (_c *MockDatabase_UpdateIssueVariant_Call) Return(_a0 error) *MockDatabase_UpdateIssueVariant_Call { - _c.Call.Return(_a0) - return _c -} - -func (_c *MockDatabase_UpdateIssueVariant_Call) RunAndReturn(run func(*entity.IssueVariant) error) *MockDatabase_UpdateIssueVariant_Call { - _c.Call.Return(run) - return _c -} - -// UpdateService provides a mock function with given fields: _a0 -func (_m *MockDatabase) UpdateService(_a0 *entity.Service) error { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for UpdateService") - } - - var r0 error - if rf, ok := ret.Get(0).(func(*entity.Service) error); ok { - r0 = rf(_a0) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// MockDatabase_UpdateService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateService' -type MockDatabase_UpdateService_Call struct { - *mock.Call -} - -// UpdateService is a helper method to define mock.On call -// - _a0 *entity.Service -func (_e *MockDatabase_Expecter) UpdateService(_a0 interface{}) *MockDatabase_UpdateService_Call { - return &MockDatabase_UpdateService_Call{Call: _e.mock.On("UpdateService", _a0)} -} - -func (_c *MockDatabase_UpdateService_Call) Run(run func(_a0 *entity.Service)) *MockDatabase_UpdateService_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.Service)) - }) - return _c -} - -func (_c *MockDatabase_UpdateService_Call) Return(_a0 error) *MockDatabase_UpdateService_Call { - _c.Call.Return(_a0) - return _c -} - -func (_c *MockDatabase_UpdateService_Call) RunAndReturn(run func(*entity.Service) error) *MockDatabase_UpdateService_Call { - _c.Call.Return(run) - return _c -} - -// UpdateSupportGroup provides a mock function with given fields: _a0 -func (_m *MockDatabase) UpdateSupportGroup(_a0 *entity.SupportGroup) error { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for UpdateSupportGroup") - } - - var r0 error - if rf, ok := ret.Get(0).(func(*entity.SupportGroup) error); ok { - r0 = rf(_a0) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// MockDatabase_UpdateSupportGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateSupportGroup' -type MockDatabase_UpdateSupportGroup_Call struct { - *mock.Call -} - -// UpdateSupportGroup is a helper method to define mock.On call -// - _a0 *entity.SupportGroup -func (_e *MockDatabase_Expecter) UpdateSupportGroup(_a0 interface{}) *MockDatabase_UpdateSupportGroup_Call { - return &MockDatabase_UpdateSupportGroup_Call{Call: _e.mock.On("UpdateSupportGroup", _a0)} -} - -func (_c *MockDatabase_UpdateSupportGroup_Call) Run(run func(_a0 *entity.SupportGroup)) *MockDatabase_UpdateSupportGroup_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.SupportGroup)) - }) - return _c -} - -func (_c *MockDatabase_UpdateSupportGroup_Call) Return(_a0 error) *MockDatabase_UpdateSupportGroup_Call { - _c.Call.Return(_a0) - return _c -} - -func (_c *MockDatabase_UpdateSupportGroup_Call) RunAndReturn(run func(*entity.SupportGroup) error) *MockDatabase_UpdateSupportGroup_Call { - _c.Call.Return(run) - return _c -} - -// UpdateUser provides a mock function with given fields: _a0 -func (_m *MockDatabase) UpdateUser(_a0 *entity.User) error { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for UpdateUser") - } - - var r0 error - if rf, ok := ret.Get(0).(func(*entity.User) error); ok { - r0 = rf(_a0) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// MockDatabase_UpdateUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUser' -type MockDatabase_UpdateUser_Call struct { - *mock.Call -} - -// UpdateUser is a helper method to define mock.On call -// - _a0 *entity.User -func (_e *MockDatabase_Expecter) UpdateUser(_a0 interface{}) *MockDatabase_UpdateUser_Call { - return &MockDatabase_UpdateUser_Call{Call: _e.mock.On("UpdateUser", _a0)} -} - -func (_c *MockDatabase_UpdateUser_Call) Run(run func(_a0 *entity.User)) *MockDatabase_UpdateUser_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.User)) - }) - return _c -} - -func (_c *MockDatabase_UpdateUser_Call) Return(_a0 error) *MockDatabase_UpdateUser_Call { - _c.Call.Return(_a0) - return _c -} - -func (_c *MockDatabase_UpdateUser_Call) RunAndReturn(run func(*entity.User) error) *MockDatabase_UpdateUser_Call { - _c.Call.Return(run) - return _c -} - -// NewMockDatabase creates a new instance of MockDatabase. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. -// The first argument is typically a *testing.T value. -func NewMockDatabase(t interface { - mock.TestingT - Cleanup(func()) -}) *MockDatabase { - mock := &MockDatabase{} - mock.Mock.Test(t) - - t.Cleanup(func() { mock.AssertExpectations(t) }) - - return mock -} diff --git a/internal/database/mariadb/internal/mocks/mock_Heureka.go b/internal/database/mariadb/internal/mocks/mock_Heureka.go deleted file mode 100644 index 89974edc..00000000 --- a/internal/database/mariadb/internal/mocks/mock_Heureka.go +++ /dev/null @@ -1,2587 +0,0 @@ -// SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Greenhouse contributors -// SPDX-License-Identifier: Apache-2.0 - -// Code generated by mockery v2.42.1. DO NOT EDIT. - -package mocks - -import ( - mock "github.com/stretchr/testify/mock" - entity "github.com/cloudoperators/heureka/internal/entity" -) - -// MockHeureka is an autogenerated mock type for the Heureka type -type MockHeureka struct { - mock.Mock -} - -type MockHeureka_Expecter struct { - mock *mock.Mock -} - -func (_m *MockHeureka) EXPECT() *MockHeureka_Expecter { - return &MockHeureka_Expecter{mock: &_m.Mock} -} - -// CreateComponent provides a mock function with given fields: _a0 -func (_m *MockHeureka) CreateComponent(_a0 *entity.Component) (*entity.Component, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for CreateComponent") - } - - var r0 *entity.Component - var r1 error - if rf, ok := ret.Get(0).(func(*entity.Component) (*entity.Component, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.Component) *entity.Component); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.Component) - } - } - - if rf, ok := ret.Get(1).(func(*entity.Component) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockHeureka_CreateComponent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateComponent' -type MockHeureka_CreateComponent_Call struct { - *mock.Call -} - -// CreateComponent is a helper method to define mock.On call -// - _a0 *entity.Component -func (_e *MockHeureka_Expecter) CreateComponent(_a0 interface{}) *MockHeureka_CreateComponent_Call { - return &MockHeureka_CreateComponent_Call{Call: _e.mock.On("CreateComponent", _a0)} -} - -func (_c *MockHeureka_CreateComponent_Call) Run(run func(_a0 *entity.Component)) *MockHeureka_CreateComponent_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.Component)) - }) - return _c -} - -func (_c *MockHeureka_CreateComponent_Call) Return(_a0 *entity.Component, _a1 error) *MockHeureka_CreateComponent_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockHeureka_CreateComponent_Call) RunAndReturn(run func(*entity.Component) (*entity.Component, error)) *MockHeureka_CreateComponent_Call { - _c.Call.Return(run) - return _c -} - -// CreateComponentInstance provides a mock function with given fields: _a0 -func (_m *MockHeureka) CreateComponentInstance(_a0 *entity.ComponentInstance) (*entity.ComponentInstance, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for CreateComponentInstance") - } - - var r0 *entity.ComponentInstance - var r1 error - if rf, ok := ret.Get(0).(func(*entity.ComponentInstance) (*entity.ComponentInstance, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.ComponentInstance) *entity.ComponentInstance); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.ComponentInstance) - } - } - - if rf, ok := ret.Get(1).(func(*entity.ComponentInstance) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockHeureka_CreateComponentInstance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateComponentInstance' -type MockHeureka_CreateComponentInstance_Call struct { - *mock.Call -} - -// CreateComponentInstance is a helper method to define mock.On call -// - _a0 *entity.ComponentInstance -func (_e *MockHeureka_Expecter) CreateComponentInstance(_a0 interface{}) *MockHeureka_CreateComponentInstance_Call { - return &MockHeureka_CreateComponentInstance_Call{Call: _e.mock.On("CreateComponentInstance", _a0)} -} - -func (_c *MockHeureka_CreateComponentInstance_Call) Run(run func(_a0 *entity.ComponentInstance)) *MockHeureka_CreateComponentInstance_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.ComponentInstance)) - }) - return _c -} - -func (_c *MockHeureka_CreateComponentInstance_Call) Return(_a0 *entity.ComponentInstance, _a1 error) *MockHeureka_CreateComponentInstance_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockHeureka_CreateComponentInstance_Call) RunAndReturn(run func(*entity.ComponentInstance) (*entity.ComponentInstance, error)) *MockHeureka_CreateComponentInstance_Call { - _c.Call.Return(run) - return _c -} - -// CreateComponentVersion provides a mock function with given fields: _a0 -func (_m *MockHeureka) CreateComponentVersion(_a0 *entity.ComponentVersion) (*entity.ComponentVersion, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for CreateComponentVersion") - } - - var r0 *entity.ComponentVersion - var r1 error - if rf, ok := ret.Get(0).(func(*entity.ComponentVersion) (*entity.ComponentVersion, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.ComponentVersion) *entity.ComponentVersion); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.ComponentVersion) - } - } - - if rf, ok := ret.Get(1).(func(*entity.ComponentVersion) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockHeureka_CreateComponentVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateComponentVersion' -type MockHeureka_CreateComponentVersion_Call struct { - *mock.Call -} - -// CreateComponentVersion is a helper method to define mock.On call -// - _a0 *entity.ComponentVersion -func (_e *MockHeureka_Expecter) CreateComponentVersion(_a0 interface{}) *MockHeureka_CreateComponentVersion_Call { - return &MockHeureka_CreateComponentVersion_Call{Call: _e.mock.On("CreateComponentVersion", _a0)} -} - -func (_c *MockHeureka_CreateComponentVersion_Call) Run(run func(_a0 *entity.ComponentVersion)) *MockHeureka_CreateComponentVersion_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.ComponentVersion)) - }) - return _c -} - -func (_c *MockHeureka_CreateComponentVersion_Call) Return(_a0 *entity.ComponentVersion, _a1 error) *MockHeureka_CreateComponentVersion_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockHeureka_CreateComponentVersion_Call) RunAndReturn(run func(*entity.ComponentVersion) (*entity.ComponentVersion, error)) *MockHeureka_CreateComponentVersion_Call { - _c.Call.Return(run) - return _c -} - -// CreateEvidence provides a mock function with given fields: _a0 -func (_m *MockHeureka) CreateEvidence(_a0 *entity.Evidence) (*entity.Evidence, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for CreateEvidence") - } - - var r0 *entity.Evidence - var r1 error - if rf, ok := ret.Get(0).(func(*entity.Evidence) (*entity.Evidence, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.Evidence) *entity.Evidence); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.Evidence) - } - } - - if rf, ok := ret.Get(1).(func(*entity.Evidence) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockHeureka_CreateEvidence_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateEvidence' -type MockHeureka_CreateEvidence_Call struct { - *mock.Call -} - -// CreateEvidence is a helper method to define mock.On call -// - _a0 *entity.Evidence -func (_e *MockHeureka_Expecter) CreateEvidence(_a0 interface{}) *MockHeureka_CreateEvidence_Call { - return &MockHeureka_CreateEvidence_Call{Call: _e.mock.On("CreateEvidence", _a0)} -} - -func (_c *MockHeureka_CreateEvidence_Call) Run(run func(_a0 *entity.Evidence)) *MockHeureka_CreateEvidence_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.Evidence)) - }) - return _c -} - -func (_c *MockHeureka_CreateEvidence_Call) Return(_a0 *entity.Evidence, _a1 error) *MockHeureka_CreateEvidence_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockHeureka_CreateEvidence_Call) RunAndReturn(run func(*entity.Evidence) (*entity.Evidence, error)) *MockHeureka_CreateEvidence_Call { - _c.Call.Return(run) - return _c -} - -// CreateIssueMatch provides a mock function with given fields: _a0 -func (_m *MockHeureka) CreateIssueMatch(_a0 *entity.IssueMatch) (*entity.IssueMatch, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for CreateIssueMatch") - } - - var r0 *entity.IssueMatch - var r1 error - if rf, ok := ret.Get(0).(func(*entity.IssueMatch) (*entity.IssueMatch, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.IssueMatch) *entity.IssueMatch); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.IssueMatch) - } - } - - if rf, ok := ret.Get(1).(func(*entity.IssueMatch) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockHeureka_CreateIssueMatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateIssueMatch' -type MockHeureka_CreateIssueMatch_Call struct { - *mock.Call -} - -// CreateIssueMatch is a helper method to define mock.On call -// - _a0 *entity.IssueMatch -func (_e *MockHeureka_Expecter) CreateIssueMatch(_a0 interface{}) *MockHeureka_CreateIssueMatch_Call { - return &MockHeureka_CreateIssueMatch_Call{Call: _e.mock.On("CreateIssueMatch", _a0)} -} - -func (_c *MockHeureka_CreateIssueMatch_Call) Run(run func(_a0 *entity.IssueMatch)) *MockHeureka_CreateIssueMatch_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.IssueMatch)) - }) - return _c -} - -func (_c *MockHeureka_CreateIssueMatch_Call) Return(_a0 *entity.IssueMatch, _a1 error) *MockHeureka_CreateIssueMatch_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockHeureka_CreateIssueMatch_Call) RunAndReturn(run func(*entity.IssueMatch) (*entity.IssueMatch, error)) *MockHeureka_CreateIssueMatch_Call { - _c.Call.Return(run) - return _c -} - -// CreateIssueRepository provides a mock function with given fields: _a0 -func (_m *MockHeureka) CreateIssueRepository(_a0 *entity.IssueRepository) (*entity.IssueRepository, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for CreateIssueRepository") - } - - var r0 *entity.IssueRepository - var r1 error - if rf, ok := ret.Get(0).(func(*entity.IssueRepository) (*entity.IssueRepository, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.IssueRepository) *entity.IssueRepository); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.IssueRepository) - } - } - - if rf, ok := ret.Get(1).(func(*entity.IssueRepository) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockHeureka_CreateIssueRepository_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateIssueRepository' -type MockHeureka_CreateIssueRepository_Call struct { - *mock.Call -} - -// CreateIssueRepository is a helper method to define mock.On call -// - _a0 *entity.IssueRepository -func (_e *MockHeureka_Expecter) CreateIssueRepository(_a0 interface{}) *MockHeureka_CreateIssueRepository_Call { - return &MockHeureka_CreateIssueRepository_Call{Call: _e.mock.On("CreateIssueRepository", _a0)} -} - -func (_c *MockHeureka_CreateIssueRepository_Call) Run(run func(_a0 *entity.IssueRepository)) *MockHeureka_CreateIssueRepository_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.IssueRepository)) - }) - return _c -} - -func (_c *MockHeureka_CreateIssueRepository_Call) Return(_a0 *entity.IssueRepository, _a1 error) *MockHeureka_CreateIssueRepository_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockHeureka_CreateIssueRepository_Call) RunAndReturn(run func(*entity.IssueRepository) (*entity.IssueRepository, error)) *MockHeureka_CreateIssueRepository_Call { - _c.Call.Return(run) - return _c -} - -// CreateIssueVariant provides a mock function with given fields: _a0 -func (_m *MockHeureka) CreateIssueVariant(_a0 *entity.IssueVariant) (*entity.IssueVariant, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for CreateIssueVariant") - } - - var r0 *entity.IssueVariant - var r1 error - if rf, ok := ret.Get(0).(func(*entity.IssueVariant) (*entity.IssueVariant, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.IssueVariant) *entity.IssueVariant); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.IssueVariant) - } - } - - if rf, ok := ret.Get(1).(func(*entity.IssueVariant) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockHeureka_CreateIssueVariant_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateIssueVariant' -type MockHeureka_CreateIssueVariant_Call struct { - *mock.Call -} - -// CreateIssueVariant is a helper method to define mock.On call -// - _a0 *entity.IssueVariant -func (_e *MockHeureka_Expecter) CreateIssueVariant(_a0 interface{}) *MockHeureka_CreateIssueVariant_Call { - return &MockHeureka_CreateIssueVariant_Call{Call: _e.mock.On("CreateIssueVariant", _a0)} -} - -func (_c *MockHeureka_CreateIssueVariant_Call) Run(run func(_a0 *entity.IssueVariant)) *MockHeureka_CreateIssueVariant_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.IssueVariant)) - }) - return _c -} - -func (_c *MockHeureka_CreateIssueVariant_Call) Return(_a0 *entity.IssueVariant, _a1 error) *MockHeureka_CreateIssueVariant_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockHeureka_CreateIssueVariant_Call) RunAndReturn(run func(*entity.IssueVariant) (*entity.IssueVariant, error)) *MockHeureka_CreateIssueVariant_Call { - _c.Call.Return(run) - return _c -} - -// CreateService provides a mock function with given fields: _a0 -func (_m *MockHeureka) CreateService(_a0 *entity.Service) (*entity.Service, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for CreateService") - } - - var r0 *entity.Service - var r1 error - if rf, ok := ret.Get(0).(func(*entity.Service) (*entity.Service, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.Service) *entity.Service); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.Service) - } - } - - if rf, ok := ret.Get(1).(func(*entity.Service) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockHeureka_CreateService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateService' -type MockHeureka_CreateService_Call struct { - *mock.Call -} - -// CreateService is a helper method to define mock.On call -// - _a0 *entity.Service -func (_e *MockHeureka_Expecter) CreateService(_a0 interface{}) *MockHeureka_CreateService_Call { - return &MockHeureka_CreateService_Call{Call: _e.mock.On("CreateService", _a0)} -} - -func (_c *MockHeureka_CreateService_Call) Run(run func(_a0 *entity.Service)) *MockHeureka_CreateService_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.Service)) - }) - return _c -} - -func (_c *MockHeureka_CreateService_Call) Return(_a0 *entity.Service, _a1 error) *MockHeureka_CreateService_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockHeureka_CreateService_Call) RunAndReturn(run func(*entity.Service) (*entity.Service, error)) *MockHeureka_CreateService_Call { - _c.Call.Return(run) - return _c -} - -// CreateSupportGroup provides a mock function with given fields: _a0 -func (_m *MockHeureka) CreateSupportGroup(_a0 *entity.SupportGroup) (*entity.SupportGroup, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for CreateSupportGroup") - } - - var r0 *entity.SupportGroup - var r1 error - if rf, ok := ret.Get(0).(func(*entity.SupportGroup) (*entity.SupportGroup, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.SupportGroup) *entity.SupportGroup); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.SupportGroup) - } - } - - if rf, ok := ret.Get(1).(func(*entity.SupportGroup) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockHeureka_CreateSupportGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateSupportGroup' -type MockHeureka_CreateSupportGroup_Call struct { - *mock.Call -} - -// CreateSupportGroup is a helper method to define mock.On call -// - _a0 *entity.SupportGroup -func (_e *MockHeureka_Expecter) CreateSupportGroup(_a0 interface{}) *MockHeureka_CreateSupportGroup_Call { - return &MockHeureka_CreateSupportGroup_Call{Call: _e.mock.On("CreateSupportGroup", _a0)} -} - -func (_c *MockHeureka_CreateSupportGroup_Call) Run(run func(_a0 *entity.SupportGroup)) *MockHeureka_CreateSupportGroup_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.SupportGroup)) - }) - return _c -} - -func (_c *MockHeureka_CreateSupportGroup_Call) Return(_a0 *entity.SupportGroup, _a1 error) *MockHeureka_CreateSupportGroup_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockHeureka_CreateSupportGroup_Call) RunAndReturn(run func(*entity.SupportGroup) (*entity.SupportGroup, error)) *MockHeureka_CreateSupportGroup_Call { - _c.Call.Return(run) - return _c -} - -// CreateUser provides a mock function with given fields: _a0 -func (_m *MockHeureka) CreateUser(_a0 *entity.User) (*entity.User, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for CreateUser") - } - - var r0 *entity.User - var r1 error - if rf, ok := ret.Get(0).(func(*entity.User) (*entity.User, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.User) *entity.User); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.User) - } - } - - if rf, ok := ret.Get(1).(func(*entity.User) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockHeureka_CreateUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateUser' -type MockHeureka_CreateUser_Call struct { - *mock.Call -} - -// CreateUser is a helper method to define mock.On call -// - _a0 *entity.User -func (_e *MockHeureka_Expecter) CreateUser(_a0 interface{}) *MockHeureka_CreateUser_Call { - return &MockHeureka_CreateUser_Call{Call: _e.mock.On("CreateUser", _a0)} -} - -func (_c *MockHeureka_CreateUser_Call) Run(run func(_a0 *entity.User)) *MockHeureka_CreateUser_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.User)) - }) - return _c -} - -func (_c *MockHeureka_CreateUser_Call) Return(_a0 *entity.User, _a1 error) *MockHeureka_CreateUser_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockHeureka_CreateUser_Call) RunAndReturn(run func(*entity.User) (*entity.User, error)) *MockHeureka_CreateUser_Call { - _c.Call.Return(run) - return _c -} - -// DeleteComponent provides a mock function with given fields: _a0 -func (_m *MockHeureka) DeleteComponent(_a0 int64) error { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for DeleteComponent") - } - - var r0 error - if rf, ok := ret.Get(0).(func(int64) error); ok { - r0 = rf(_a0) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// MockHeureka_DeleteComponent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteComponent' -type MockHeureka_DeleteComponent_Call struct { - *mock.Call -} - -// DeleteComponent is a helper method to define mock.On call -// - _a0 int64 -func (_e *MockHeureka_Expecter) DeleteComponent(_a0 interface{}) *MockHeureka_DeleteComponent_Call { - return &MockHeureka_DeleteComponent_Call{Call: _e.mock.On("DeleteComponent", _a0)} -} - -func (_c *MockHeureka_DeleteComponent_Call) Run(run func(_a0 int64)) *MockHeureka_DeleteComponent_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(int64)) - }) - return _c -} - -func (_c *MockHeureka_DeleteComponent_Call) Return(_a0 error) *MockHeureka_DeleteComponent_Call { - _c.Call.Return(_a0) - return _c -} - -func (_c *MockHeureka_DeleteComponent_Call) RunAndReturn(run func(int64) error) *MockHeureka_DeleteComponent_Call { - _c.Call.Return(run) - return _c -} - -// DeleteComponentInstance provides a mock function with given fields: _a0 -func (_m *MockHeureka) DeleteComponentInstance(_a0 int64) error { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for DeleteComponentInstance") - } - - var r0 error - if rf, ok := ret.Get(0).(func(int64) error); ok { - r0 = rf(_a0) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// MockHeureka_DeleteComponentInstance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteComponentInstance' -type MockHeureka_DeleteComponentInstance_Call struct { - *mock.Call -} - -// DeleteComponentInstance is a helper method to define mock.On call -// - _a0 int64 -func (_e *MockHeureka_Expecter) DeleteComponentInstance(_a0 interface{}) *MockHeureka_DeleteComponentInstance_Call { - return &MockHeureka_DeleteComponentInstance_Call{Call: _e.mock.On("DeleteComponentInstance", _a0)} -} - -func (_c *MockHeureka_DeleteComponentInstance_Call) Run(run func(_a0 int64)) *MockHeureka_DeleteComponentInstance_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(int64)) - }) - return _c -} - -func (_c *MockHeureka_DeleteComponentInstance_Call) Return(_a0 error) *MockHeureka_DeleteComponentInstance_Call { - _c.Call.Return(_a0) - return _c -} - -func (_c *MockHeureka_DeleteComponentInstance_Call) RunAndReturn(run func(int64) error) *MockHeureka_DeleteComponentInstance_Call { - _c.Call.Return(run) - return _c -} - -// DeleteComponentVersion provides a mock function with given fields: _a0 -func (_m *MockHeureka) DeleteComponentVersion(_a0 int64) error { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for DeleteComponentVersion") - } - - var r0 error - if rf, ok := ret.Get(0).(func(int64) error); ok { - r0 = rf(_a0) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// MockHeureka_DeleteComponentVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteComponentVersion' -type MockHeureka_DeleteComponentVersion_Call struct { - *mock.Call -} - -// DeleteComponentVersion is a helper method to define mock.On call -// - _a0 int64 -func (_e *MockHeureka_Expecter) DeleteComponentVersion(_a0 interface{}) *MockHeureka_DeleteComponentVersion_Call { - return &MockHeureka_DeleteComponentVersion_Call{Call: _e.mock.On("DeleteComponentVersion", _a0)} -} - -func (_c *MockHeureka_DeleteComponentVersion_Call) Run(run func(_a0 int64)) *MockHeureka_DeleteComponentVersion_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(int64)) - }) - return _c -} - -func (_c *MockHeureka_DeleteComponentVersion_Call) Return(_a0 error) *MockHeureka_DeleteComponentVersion_Call { - _c.Call.Return(_a0) - return _c -} - -func (_c *MockHeureka_DeleteComponentVersion_Call) RunAndReturn(run func(int64) error) *MockHeureka_DeleteComponentVersion_Call { - _c.Call.Return(run) - return _c -} - -// DeleteEvidence provides a mock function with given fields: _a0 -func (_m *MockHeureka) DeleteEvidence(_a0 int64) error { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for DeleteEvidence") - } - - var r0 error - if rf, ok := ret.Get(0).(func(int64) error); ok { - r0 = rf(_a0) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// MockHeureka_DeleteEvidence_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteEvidence' -type MockHeureka_DeleteEvidence_Call struct { - *mock.Call -} - -// DeleteEvidence is a helper method to define mock.On call -// - _a0 int64 -func (_e *MockHeureka_Expecter) DeleteEvidence(_a0 interface{}) *MockHeureka_DeleteEvidence_Call { - return &MockHeureka_DeleteEvidence_Call{Call: _e.mock.On("DeleteEvidence", _a0)} -} - -func (_c *MockHeureka_DeleteEvidence_Call) Run(run func(_a0 int64)) *MockHeureka_DeleteEvidence_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(int64)) - }) - return _c -} - -func (_c *MockHeureka_DeleteEvidence_Call) Return(_a0 error) *MockHeureka_DeleteEvidence_Call { - _c.Call.Return(_a0) - return _c -} - -func (_c *MockHeureka_DeleteEvidence_Call) RunAndReturn(run func(int64) error) *MockHeureka_DeleteEvidence_Call { - _c.Call.Return(run) - return _c -} - -// DeleteIssueMatch provides a mock function with given fields: _a0 -func (_m *MockHeureka) DeleteIssueMatch(_a0 int64) error { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for DeleteIssueMatch") - } - - var r0 error - if rf, ok := ret.Get(0).(func(int64) error); ok { - r0 = rf(_a0) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// MockHeureka_DeleteIssueMatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteIssueMatch' -type MockHeureka_DeleteIssueMatch_Call struct { - *mock.Call -} - -// DeleteIssueMatch is a helper method to define mock.On call -// - _a0 int64 -func (_e *MockHeureka_Expecter) DeleteIssueMatch(_a0 interface{}) *MockHeureka_DeleteIssueMatch_Call { - return &MockHeureka_DeleteIssueMatch_Call{Call: _e.mock.On("DeleteIssueMatch", _a0)} -} - -func (_c *MockHeureka_DeleteIssueMatch_Call) Run(run func(_a0 int64)) *MockHeureka_DeleteIssueMatch_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(int64)) - }) - return _c -} - -func (_c *MockHeureka_DeleteIssueMatch_Call) Return(_a0 error) *MockHeureka_DeleteIssueMatch_Call { - _c.Call.Return(_a0) - return _c -} - -func (_c *MockHeureka_DeleteIssueMatch_Call) RunAndReturn(run func(int64) error) *MockHeureka_DeleteIssueMatch_Call { - _c.Call.Return(run) - return _c -} - -// DeleteIssueRepository provides a mock function with given fields: _a0 -func (_m *MockHeureka) DeleteIssueRepository(_a0 int64) error { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for DeleteIssueRepository") - } - - var r0 error - if rf, ok := ret.Get(0).(func(int64) error); ok { - r0 = rf(_a0) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// MockHeureka_DeleteIssueRepository_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteIssueRepository' -type MockHeureka_DeleteIssueRepository_Call struct { - *mock.Call -} - -// DeleteIssueRepository is a helper method to define mock.On call -// - _a0 int64 -func (_e *MockHeureka_Expecter) DeleteIssueRepository(_a0 interface{}) *MockHeureka_DeleteIssueRepository_Call { - return &MockHeureka_DeleteIssueRepository_Call{Call: _e.mock.On("DeleteIssueRepository", _a0)} -} - -func (_c *MockHeureka_DeleteIssueRepository_Call) Run(run func(_a0 int64)) *MockHeureka_DeleteIssueRepository_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(int64)) - }) - return _c -} - -func (_c *MockHeureka_DeleteIssueRepository_Call) Return(_a0 error) *MockHeureka_DeleteIssueRepository_Call { - _c.Call.Return(_a0) - return _c -} - -func (_c *MockHeureka_DeleteIssueRepository_Call) RunAndReturn(run func(int64) error) *MockHeureka_DeleteIssueRepository_Call { - _c.Call.Return(run) - return _c -} - -// DeleteIssueVariant provides a mock function with given fields: _a0 -func (_m *MockHeureka) DeleteIssueVariant(_a0 int64) error { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for DeleteIssueVariant") - } - - var r0 error - if rf, ok := ret.Get(0).(func(int64) error); ok { - r0 = rf(_a0) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// MockHeureka_DeleteIssueVariant_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteIssueVariant' -type MockHeureka_DeleteIssueVariant_Call struct { - *mock.Call -} - -// DeleteIssueVariant is a helper method to define mock.On call -// - _a0 int64 -func (_e *MockHeureka_Expecter) DeleteIssueVariant(_a0 interface{}) *MockHeureka_DeleteIssueVariant_Call { - return &MockHeureka_DeleteIssueVariant_Call{Call: _e.mock.On("DeleteIssueVariant", _a0)} -} - -func (_c *MockHeureka_DeleteIssueVariant_Call) Run(run func(_a0 int64)) *MockHeureka_DeleteIssueVariant_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(int64)) - }) - return _c -} - -func (_c *MockHeureka_DeleteIssueVariant_Call) Return(_a0 error) *MockHeureka_DeleteIssueVariant_Call { - _c.Call.Return(_a0) - return _c -} - -func (_c *MockHeureka_DeleteIssueVariant_Call) RunAndReturn(run func(int64) error) *MockHeureka_DeleteIssueVariant_Call { - _c.Call.Return(run) - return _c -} - -// DeleteService provides a mock function with given fields: _a0 -func (_m *MockHeureka) DeleteService(_a0 int64) error { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for DeleteService") - } - - var r0 error - if rf, ok := ret.Get(0).(func(int64) error); ok { - r0 = rf(_a0) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// MockHeureka_DeleteService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteService' -type MockHeureka_DeleteService_Call struct { - *mock.Call -} - -// DeleteService is a helper method to define mock.On call -// - _a0 int64 -func (_e *MockHeureka_Expecter) DeleteService(_a0 interface{}) *MockHeureka_DeleteService_Call { - return &MockHeureka_DeleteService_Call{Call: _e.mock.On("DeleteService", _a0)} -} - -func (_c *MockHeureka_DeleteService_Call) Run(run func(_a0 int64)) *MockHeureka_DeleteService_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(int64)) - }) - return _c -} - -func (_c *MockHeureka_DeleteService_Call) Return(_a0 error) *MockHeureka_DeleteService_Call { - _c.Call.Return(_a0) - return _c -} - -func (_c *MockHeureka_DeleteService_Call) RunAndReturn(run func(int64) error) *MockHeureka_DeleteService_Call { - _c.Call.Return(run) - return _c -} - -// DeleteSupportGroup provides a mock function with given fields: _a0 -func (_m *MockHeureka) DeleteSupportGroup(_a0 int64) error { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for DeleteSupportGroup") - } - - var r0 error - if rf, ok := ret.Get(0).(func(int64) error); ok { - r0 = rf(_a0) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// MockHeureka_DeleteSupportGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteSupportGroup' -type MockHeureka_DeleteSupportGroup_Call struct { - *mock.Call -} - -// DeleteSupportGroup is a helper method to define mock.On call -// - _a0 int64 -func (_e *MockHeureka_Expecter) DeleteSupportGroup(_a0 interface{}) *MockHeureka_DeleteSupportGroup_Call { - return &MockHeureka_DeleteSupportGroup_Call{Call: _e.mock.On("DeleteSupportGroup", _a0)} -} - -func (_c *MockHeureka_DeleteSupportGroup_Call) Run(run func(_a0 int64)) *MockHeureka_DeleteSupportGroup_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(int64)) - }) - return _c -} - -func (_c *MockHeureka_DeleteSupportGroup_Call) Return(_a0 error) *MockHeureka_DeleteSupportGroup_Call { - _c.Call.Return(_a0) - return _c -} - -func (_c *MockHeureka_DeleteSupportGroup_Call) RunAndReturn(run func(int64) error) *MockHeureka_DeleteSupportGroup_Call { - _c.Call.Return(run) - return _c -} - -// DeleteUser provides a mock function with given fields: _a0 -func (_m *MockHeureka) DeleteUser(_a0 int64) error { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for DeleteUser") - } - - var r0 error - if rf, ok := ret.Get(0).(func(int64) error); ok { - r0 = rf(_a0) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// MockHeureka_DeleteUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteUser' -type MockHeureka_DeleteUser_Call struct { - *mock.Call -} - -// DeleteUser is a helper method to define mock.On call -// - _a0 int64 -func (_e *MockHeureka_Expecter) DeleteUser(_a0 interface{}) *MockHeureka_DeleteUser_Call { - return &MockHeureka_DeleteUser_Call{Call: _e.mock.On("DeleteUser", _a0)} -} - -func (_c *MockHeureka_DeleteUser_Call) Run(run func(_a0 int64)) *MockHeureka_DeleteUser_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(int64)) - }) - return _c -} - -func (_c *MockHeureka_DeleteUser_Call) Return(_a0 error) *MockHeureka_DeleteUser_Call { - _c.Call.Return(_a0) - return _c -} - -func (_c *MockHeureka_DeleteUser_Call) RunAndReturn(run func(int64) error) *MockHeureka_DeleteUser_Call { - _c.Call.Return(run) - return _c -} - -// GetSeverity provides a mock function with given fields: _a0 -func (_m *MockHeureka) GetSeverity(_a0 *entity.SeverityFilter) (*entity.Severity, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for GetSeverity") - } - - var r0 *entity.Severity - var r1 error - if rf, ok := ret.Get(0).(func(*entity.SeverityFilter) (*entity.Severity, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.SeverityFilter) *entity.Severity); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.Severity) - } - } - - if rf, ok := ret.Get(1).(func(*entity.SeverityFilter) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockHeureka_GetSeverity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSeverity' -type MockHeureka_GetSeverity_Call struct { - *mock.Call -} - -// GetSeverity is a helper method to define mock.On call -// - _a0 *entity.SeverityFilter -func (_e *MockHeureka_Expecter) GetSeverity(_a0 interface{}) *MockHeureka_GetSeverity_Call { - return &MockHeureka_GetSeverity_Call{Call: _e.mock.On("GetSeverity", _a0)} -} - -func (_c *MockHeureka_GetSeverity_Call) Run(run func(_a0 *entity.SeverityFilter)) *MockHeureka_GetSeverity_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.SeverityFilter)) - }) - return _c -} - -func (_c *MockHeureka_GetSeverity_Call) Return(_a0 *entity.Severity, _a1 error) *MockHeureka_GetSeverity_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockHeureka_GetSeverity_Call) RunAndReturn(run func(*entity.SeverityFilter) (*entity.Severity, error)) *MockHeureka_GetSeverity_Call { - _c.Call.Return(run) - return _c -} - -// ListActivities provides a mock function with given fields: _a0, _a1 -func (_m *MockHeureka) ListActivities(_a0 *entity.ActivityFilter, _a1 *entity.ListOptions) (*entity.List[entity.ActivityResult], error) { - ret := _m.Called(_a0, _a1) - - if len(ret) == 0 { - panic("no return value specified for ListActivities") - } - - var r0 *entity.List[entity.ActivityResult] - var r1 error - if rf, ok := ret.Get(0).(func(*entity.ActivityFilter, *entity.ListOptions) (*entity.List[entity.ActivityResult], error)); ok { - return rf(_a0, _a1) - } - if rf, ok := ret.Get(0).(func(*entity.ActivityFilter, *entity.ListOptions) *entity.List[entity.ActivityResult]); ok { - r0 = rf(_a0, _a1) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.List[entity.ActivityResult]) - } - } - - if rf, ok := ret.Get(1).(func(*entity.ActivityFilter, *entity.ListOptions) error); ok { - r1 = rf(_a0, _a1) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockHeureka_ListActivities_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListActivities' -type MockHeureka_ListActivities_Call struct { - *mock.Call -} - -// ListActivities is a helper method to define mock.On call -// - _a0 *entity.ActivityFilter -// - _a1 *entity.ListOptions -func (_e *MockHeureka_Expecter) ListActivities(_a0 interface{}, _a1 interface{}) *MockHeureka_ListActivities_Call { - return &MockHeureka_ListActivities_Call{Call: _e.mock.On("ListActivities", _a0, _a1)} -} - -func (_c *MockHeureka_ListActivities_Call) Run(run func(_a0 *entity.ActivityFilter, _a1 *entity.ListOptions)) *MockHeureka_ListActivities_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.ActivityFilter), args[1].(*entity.ListOptions)) - }) - return _c -} - -func (_c *MockHeureka_ListActivities_Call) Return(_a0 *entity.List[entity.ActivityResult], _a1 error) *MockHeureka_ListActivities_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockHeureka_ListActivities_Call) RunAndReturn(run func(*entity.ActivityFilter, *entity.ListOptions) (*entity.List[entity.ActivityResult], error)) *MockHeureka_ListActivities_Call { - _c.Call.Return(run) - return _c -} - -// ListComponentInstances provides a mock function with given fields: _a0, _a1 -func (_m *MockHeureka) ListComponentInstances(_a0 *entity.ComponentInstanceFilter, _a1 *entity.ListOptions) (*entity.List[entity.ComponentInstanceResult], error) { - ret := _m.Called(_a0, _a1) - - if len(ret) == 0 { - panic("no return value specified for ListComponentInstances") - } - - var r0 *entity.List[entity.ComponentInstanceResult] - var r1 error - if rf, ok := ret.Get(0).(func(*entity.ComponentInstanceFilter, *entity.ListOptions) (*entity.List[entity.ComponentInstanceResult], error)); ok { - return rf(_a0, _a1) - } - if rf, ok := ret.Get(0).(func(*entity.ComponentInstanceFilter, *entity.ListOptions) *entity.List[entity.ComponentInstanceResult]); ok { - r0 = rf(_a0, _a1) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.List[entity.ComponentInstanceResult]) - } - } - - if rf, ok := ret.Get(1).(func(*entity.ComponentInstanceFilter, *entity.ListOptions) error); ok { - r1 = rf(_a0, _a1) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockHeureka_ListComponentInstances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListComponentInstances' -type MockHeureka_ListComponentInstances_Call struct { - *mock.Call -} - -// ListComponentInstances is a helper method to define mock.On call -// - _a0 *entity.ComponentInstanceFilter -// - _a1 *entity.ListOptions -func (_e *MockHeureka_Expecter) ListComponentInstances(_a0 interface{}, _a1 interface{}) *MockHeureka_ListComponentInstances_Call { - return &MockHeureka_ListComponentInstances_Call{Call: _e.mock.On("ListComponentInstances", _a0, _a1)} -} - -func (_c *MockHeureka_ListComponentInstances_Call) Run(run func(_a0 *entity.ComponentInstanceFilter, _a1 *entity.ListOptions)) *MockHeureka_ListComponentInstances_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.ComponentInstanceFilter), args[1].(*entity.ListOptions)) - }) - return _c -} - -func (_c *MockHeureka_ListComponentInstances_Call) Return(_a0 *entity.List[entity.ComponentInstanceResult], _a1 error) *MockHeureka_ListComponentInstances_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockHeureka_ListComponentInstances_Call) RunAndReturn(run func(*entity.ComponentInstanceFilter, *entity.ListOptions) (*entity.List[entity.ComponentInstanceResult], error)) *MockHeureka_ListComponentInstances_Call { - _c.Call.Return(run) - return _c -} - -// ListComponentVersions provides a mock function with given fields: _a0, _a1 -func (_m *MockHeureka) ListComponentVersions(_a0 *entity.ComponentVersionFilter, _a1 *entity.ListOptions) (*entity.List[entity.ComponentVersionResult], error) { - ret := _m.Called(_a0, _a1) - - if len(ret) == 0 { - panic("no return value specified for ListComponentVersions") - } - - var r0 *entity.List[entity.ComponentVersionResult] - var r1 error - if rf, ok := ret.Get(0).(func(*entity.ComponentVersionFilter, *entity.ListOptions) (*entity.List[entity.ComponentVersionResult], error)); ok { - return rf(_a0, _a1) - } - if rf, ok := ret.Get(0).(func(*entity.ComponentVersionFilter, *entity.ListOptions) *entity.List[entity.ComponentVersionResult]); ok { - r0 = rf(_a0, _a1) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.List[entity.ComponentVersionResult]) - } - } - - if rf, ok := ret.Get(1).(func(*entity.ComponentVersionFilter, *entity.ListOptions) error); ok { - r1 = rf(_a0, _a1) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockHeureka_ListComponentVersions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListComponentVersions' -type MockHeureka_ListComponentVersions_Call struct { - *mock.Call -} - -// ListComponentVersions is a helper method to define mock.On call -// - _a0 *entity.ComponentVersionFilter -// - _a1 *entity.ListOptions -func (_e *MockHeureka_Expecter) ListComponentVersions(_a0 interface{}, _a1 interface{}) *MockHeureka_ListComponentVersions_Call { - return &MockHeureka_ListComponentVersions_Call{Call: _e.mock.On("ListComponentVersions", _a0, _a1)} -} - -func (_c *MockHeureka_ListComponentVersions_Call) Run(run func(_a0 *entity.ComponentVersionFilter, _a1 *entity.ListOptions)) *MockHeureka_ListComponentVersions_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.ComponentVersionFilter), args[1].(*entity.ListOptions)) - }) - return _c -} - -func (_c *MockHeureka_ListComponentVersions_Call) Return(_a0 *entity.List[entity.ComponentVersionResult], _a1 error) *MockHeureka_ListComponentVersions_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockHeureka_ListComponentVersions_Call) RunAndReturn(run func(*entity.ComponentVersionFilter, *entity.ListOptions) (*entity.List[entity.ComponentVersionResult], error)) *MockHeureka_ListComponentVersions_Call { - _c.Call.Return(run) - return _c -} - -// ListComponents provides a mock function with given fields: _a0, _a1 -func (_m *MockHeureka) ListComponents(_a0 *entity.ComponentFilter, _a1 *entity.ListOptions) (*entity.List[entity.ComponentResult], error) { - ret := _m.Called(_a0, _a1) - - if len(ret) == 0 { - panic("no return value specified for ListComponents") - } - - var r0 *entity.List[entity.ComponentResult] - var r1 error - if rf, ok := ret.Get(0).(func(*entity.ComponentFilter, *entity.ListOptions) (*entity.List[entity.ComponentResult], error)); ok { - return rf(_a0, _a1) - } - if rf, ok := ret.Get(0).(func(*entity.ComponentFilter, *entity.ListOptions) *entity.List[entity.ComponentResult]); ok { - r0 = rf(_a0, _a1) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.List[entity.ComponentResult]) - } - } - - if rf, ok := ret.Get(1).(func(*entity.ComponentFilter, *entity.ListOptions) error); ok { - r1 = rf(_a0, _a1) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockHeureka_ListComponents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListComponents' -type MockHeureka_ListComponents_Call struct { - *mock.Call -} - -// ListComponents is a helper method to define mock.On call -// - _a0 *entity.ComponentFilter -// - _a1 *entity.ListOptions -func (_e *MockHeureka_Expecter) ListComponents(_a0 interface{}, _a1 interface{}) *MockHeureka_ListComponents_Call { - return &MockHeureka_ListComponents_Call{Call: _e.mock.On("ListComponents", _a0, _a1)} -} - -func (_c *MockHeureka_ListComponents_Call) Run(run func(_a0 *entity.ComponentFilter, _a1 *entity.ListOptions)) *MockHeureka_ListComponents_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.ComponentFilter), args[1].(*entity.ListOptions)) - }) - return _c -} - -func (_c *MockHeureka_ListComponents_Call) Return(_a0 *entity.List[entity.ComponentResult], _a1 error) *MockHeureka_ListComponents_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockHeureka_ListComponents_Call) RunAndReturn(run func(*entity.ComponentFilter, *entity.ListOptions) (*entity.List[entity.ComponentResult], error)) *MockHeureka_ListComponents_Call { - _c.Call.Return(run) - return _c -} - -// ListEffectiveIssueVariants provides a mock function with given fields: _a0, _a1 -func (_m *MockHeureka) ListEffectiveIssueVariants(_a0 *entity.IssueVariantFilter, _a1 *entity.ListOptions) (*entity.List[entity.IssueVariantResult], error) { - ret := _m.Called(_a0, _a1) - - if len(ret) == 0 { - panic("no return value specified for ListEffectiveIssueVariants") - } - - var r0 *entity.List[entity.IssueVariantResult] - var r1 error - if rf, ok := ret.Get(0).(func(*entity.IssueVariantFilter, *entity.ListOptions) (*entity.List[entity.IssueVariantResult], error)); ok { - return rf(_a0, _a1) - } - if rf, ok := ret.Get(0).(func(*entity.IssueVariantFilter, *entity.ListOptions) *entity.List[entity.IssueVariantResult]); ok { - r0 = rf(_a0, _a1) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.List[entity.IssueVariantResult]) - } - } - - if rf, ok := ret.Get(1).(func(*entity.IssueVariantFilter, *entity.ListOptions) error); ok { - r1 = rf(_a0, _a1) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockHeureka_ListEffectiveIssueVariants_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListEffectiveIssueVariants' -type MockHeureka_ListEffectiveIssueVariants_Call struct { - *mock.Call -} - -// ListEffectiveIssueVariants is a helper method to define mock.On call -// - _a0 *entity.IssueVariantFilter -// - _a1 *entity.ListOptions -func (_e *MockHeureka_Expecter) ListEffectiveIssueVariants(_a0 interface{}, _a1 interface{}) *MockHeureka_ListEffectiveIssueVariants_Call { - return &MockHeureka_ListEffectiveIssueVariants_Call{Call: _e.mock.On("ListEffectiveIssueVariants", _a0, _a1)} -} - -func (_c *MockHeureka_ListEffectiveIssueVariants_Call) Run(run func(_a0 *entity.IssueVariantFilter, _a1 *entity.ListOptions)) *MockHeureka_ListEffectiveIssueVariants_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.IssueVariantFilter), args[1].(*entity.ListOptions)) - }) - return _c -} - -func (_c *MockHeureka_ListEffectiveIssueVariants_Call) Return(_a0 *entity.List[entity.IssueVariantResult], _a1 error) *MockHeureka_ListEffectiveIssueVariants_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockHeureka_ListEffectiveIssueVariants_Call) RunAndReturn(run func(*entity.IssueVariantFilter, *entity.ListOptions) (*entity.List[entity.IssueVariantResult], error)) *MockHeureka_ListEffectiveIssueVariants_Call { - _c.Call.Return(run) - return _c -} - -// ListEvidences provides a mock function with given fields: _a0, _a1 -func (_m *MockHeureka) ListEvidences(_a0 *entity.EvidenceFilter, _a1 *entity.ListOptions) (*entity.List[entity.EvidenceResult], error) { - ret := _m.Called(_a0, _a1) - - if len(ret) == 0 { - panic("no return value specified for ListEvidences") - } - - var r0 *entity.List[entity.EvidenceResult] - var r1 error - if rf, ok := ret.Get(0).(func(*entity.EvidenceFilter, *entity.ListOptions) (*entity.List[entity.EvidenceResult], error)); ok { - return rf(_a0, _a1) - } - if rf, ok := ret.Get(0).(func(*entity.EvidenceFilter, *entity.ListOptions) *entity.List[entity.EvidenceResult]); ok { - r0 = rf(_a0, _a1) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.List[entity.EvidenceResult]) - } - } - - if rf, ok := ret.Get(1).(func(*entity.EvidenceFilter, *entity.ListOptions) error); ok { - r1 = rf(_a0, _a1) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockHeureka_ListEvidences_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListEvidences' -type MockHeureka_ListEvidences_Call struct { - *mock.Call -} - -// ListEvidences is a helper method to define mock.On call -// - _a0 *entity.EvidenceFilter -// - _a1 *entity.ListOptions -func (_e *MockHeureka_Expecter) ListEvidences(_a0 interface{}, _a1 interface{}) *MockHeureka_ListEvidences_Call { - return &MockHeureka_ListEvidences_Call{Call: _e.mock.On("ListEvidences", _a0, _a1)} -} - -func (_c *MockHeureka_ListEvidences_Call) Run(run func(_a0 *entity.EvidenceFilter, _a1 *entity.ListOptions)) *MockHeureka_ListEvidences_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.EvidenceFilter), args[1].(*entity.ListOptions)) - }) - return _c -} - -func (_c *MockHeureka_ListEvidences_Call) Return(_a0 *entity.List[entity.EvidenceResult], _a1 error) *MockHeureka_ListEvidences_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockHeureka_ListEvidences_Call) RunAndReturn(run func(*entity.EvidenceFilter, *entity.ListOptions) (*entity.List[entity.EvidenceResult], error)) *MockHeureka_ListEvidences_Call { - _c.Call.Return(run) - return _c -} - -// ListIssueMatchChanges provides a mock function with given fields: filter, options -func (_m *MockHeureka) ListIssueMatchChanges(filter *entity.IssueMatchChangeFilter, options *entity.ListOptions) (*entity.List[entity.IssueMatchChangeResult], error) { - ret := _m.Called(filter, options) - - if len(ret) == 0 { - panic("no return value specified for ListIssueMatchChanges") - } - - var r0 *entity.List[entity.IssueMatchChangeResult] - var r1 error - if rf, ok := ret.Get(0).(func(*entity.IssueMatchChangeFilter, *entity.ListOptions) (*entity.List[entity.IssueMatchChangeResult], error)); ok { - return rf(filter, options) - } - if rf, ok := ret.Get(0).(func(*entity.IssueMatchChangeFilter, *entity.ListOptions) *entity.List[entity.IssueMatchChangeResult]); ok { - r0 = rf(filter, options) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.List[entity.IssueMatchChangeResult]) - } - } - - if rf, ok := ret.Get(1).(func(*entity.IssueMatchChangeFilter, *entity.ListOptions) error); ok { - r1 = rf(filter, options) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockHeureka_ListIssueMatchChanges_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListIssueMatchChanges' -type MockHeureka_ListIssueMatchChanges_Call struct { - *mock.Call -} - -// ListIssueMatchChanges is a helper method to define mock.On call -// - filter *entity.IssueMatchChangeFilter -// - options *entity.ListOptions -func (_e *MockHeureka_Expecter) ListIssueMatchChanges(filter interface{}, options interface{}) *MockHeureka_ListIssueMatchChanges_Call { - return &MockHeureka_ListIssueMatchChanges_Call{Call: _e.mock.On("ListIssueMatchChanges", filter, options)} -} - -func (_c *MockHeureka_ListIssueMatchChanges_Call) Run(run func(filter *entity.IssueMatchChangeFilter, options *entity.ListOptions)) *MockHeureka_ListIssueMatchChanges_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.IssueMatchChangeFilter), args[1].(*entity.ListOptions)) - }) - return _c -} - -func (_c *MockHeureka_ListIssueMatchChanges_Call) Return(_a0 *entity.List[entity.IssueMatchChangeResult], _a1 error) *MockHeureka_ListIssueMatchChanges_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockHeureka_ListIssueMatchChanges_Call) RunAndReturn(run func(*entity.IssueMatchChangeFilter, *entity.ListOptions) (*entity.List[entity.IssueMatchChangeResult], error)) *MockHeureka_ListIssueMatchChanges_Call { - _c.Call.Return(run) - return _c -} - -// ListIssueMatches provides a mock function with given fields: filter, options -func (_m *MockHeureka) ListIssueMatches(filter *entity.IssueMatchFilter, options *entity.ListOptions) (*entity.List[entity.IssueMatchResult], error) { - ret := _m.Called(filter, options) - - if len(ret) == 0 { - panic("no return value specified for ListIssueMatches") - } - - var r0 *entity.List[entity.IssueMatchResult] - var r1 error - if rf, ok := ret.Get(0).(func(*entity.IssueMatchFilter, *entity.ListOptions) (*entity.List[entity.IssueMatchResult], error)); ok { - return rf(filter, options) - } - if rf, ok := ret.Get(0).(func(*entity.IssueMatchFilter, *entity.ListOptions) *entity.List[entity.IssueMatchResult]); ok { - r0 = rf(filter, options) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.List[entity.IssueMatchResult]) - } - } - - if rf, ok := ret.Get(1).(func(*entity.IssueMatchFilter, *entity.ListOptions) error); ok { - r1 = rf(filter, options) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockHeureka_ListIssueMatches_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListIssueMatches' -type MockHeureka_ListIssueMatches_Call struct { - *mock.Call -} - -// ListIssueMatches is a helper method to define mock.On call -// - filter *entity.IssueMatchFilter -// - options *entity.ListOptions -func (_e *MockHeureka_Expecter) ListIssueMatches(filter interface{}, options interface{}) *MockHeureka_ListIssueMatches_Call { - return &MockHeureka_ListIssueMatches_Call{Call: _e.mock.On("ListIssueMatches", filter, options)} -} - -func (_c *MockHeureka_ListIssueMatches_Call) Run(run func(filter *entity.IssueMatchFilter, options *entity.ListOptions)) *MockHeureka_ListIssueMatches_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.IssueMatchFilter), args[1].(*entity.ListOptions)) - }) - return _c -} - -func (_c *MockHeureka_ListIssueMatches_Call) Return(_a0 *entity.List[entity.IssueMatchResult], _a1 error) *MockHeureka_ListIssueMatches_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockHeureka_ListIssueMatches_Call) RunAndReturn(run func(*entity.IssueMatchFilter, *entity.ListOptions) (*entity.List[entity.IssueMatchResult], error)) *MockHeureka_ListIssueMatches_Call { - _c.Call.Return(run) - return _c -} - -// ListIssueRepositories provides a mock function with given fields: _a0, _a1 -func (_m *MockHeureka) ListIssueRepositories(_a0 *entity.IssueRepositoryFilter, _a1 *entity.ListOptions) (*entity.List[entity.IssueRepositoryResult], error) { - ret := _m.Called(_a0, _a1) - - if len(ret) == 0 { - panic("no return value specified for ListIssueRepositories") - } - - var r0 *entity.List[entity.IssueRepositoryResult] - var r1 error - if rf, ok := ret.Get(0).(func(*entity.IssueRepositoryFilter, *entity.ListOptions) (*entity.List[entity.IssueRepositoryResult], error)); ok { - return rf(_a0, _a1) - } - if rf, ok := ret.Get(0).(func(*entity.IssueRepositoryFilter, *entity.ListOptions) *entity.List[entity.IssueRepositoryResult]); ok { - r0 = rf(_a0, _a1) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.List[entity.IssueRepositoryResult]) - } - } - - if rf, ok := ret.Get(1).(func(*entity.IssueRepositoryFilter, *entity.ListOptions) error); ok { - r1 = rf(_a0, _a1) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockHeureka_ListIssueRepositories_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListIssueRepositories' -type MockHeureka_ListIssueRepositories_Call struct { - *mock.Call -} - -// ListIssueRepositories is a helper method to define mock.On call -// - _a0 *entity.IssueRepositoryFilter -// - _a1 *entity.ListOptions -func (_e *MockHeureka_Expecter) ListIssueRepositories(_a0 interface{}, _a1 interface{}) *MockHeureka_ListIssueRepositories_Call { - return &MockHeureka_ListIssueRepositories_Call{Call: _e.mock.On("ListIssueRepositories", _a0, _a1)} -} - -func (_c *MockHeureka_ListIssueRepositories_Call) Run(run func(_a0 *entity.IssueRepositoryFilter, _a1 *entity.ListOptions)) *MockHeureka_ListIssueRepositories_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.IssueRepositoryFilter), args[1].(*entity.ListOptions)) - }) - return _c -} - -func (_c *MockHeureka_ListIssueRepositories_Call) Return(_a0 *entity.List[entity.IssueRepositoryResult], _a1 error) *MockHeureka_ListIssueRepositories_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockHeureka_ListIssueRepositories_Call) RunAndReturn(run func(*entity.IssueRepositoryFilter, *entity.ListOptions) (*entity.List[entity.IssueRepositoryResult], error)) *MockHeureka_ListIssueRepositories_Call { - _c.Call.Return(run) - return _c -} - -// ListIssueVariants provides a mock function with given fields: _a0, _a1 -func (_m *MockHeureka) ListIssueVariants(_a0 *entity.IssueVariantFilter, _a1 *entity.ListOptions) (*entity.List[entity.IssueVariantResult], error) { - ret := _m.Called(_a0, _a1) - - if len(ret) == 0 { - panic("no return value specified for ListIssueVariants") - } - - var r0 *entity.List[entity.IssueVariantResult] - var r1 error - if rf, ok := ret.Get(0).(func(*entity.IssueVariantFilter, *entity.ListOptions) (*entity.List[entity.IssueVariantResult], error)); ok { - return rf(_a0, _a1) - } - if rf, ok := ret.Get(0).(func(*entity.IssueVariantFilter, *entity.ListOptions) *entity.List[entity.IssueVariantResult]); ok { - r0 = rf(_a0, _a1) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.List[entity.IssueVariantResult]) - } - } - - if rf, ok := ret.Get(1).(func(*entity.IssueVariantFilter, *entity.ListOptions) error); ok { - r1 = rf(_a0, _a1) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockHeureka_ListIssueVariants_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListIssueVariants' -type MockHeureka_ListIssueVariants_Call struct { - *mock.Call -} - -// ListIssueVariants is a helper method to define mock.On call -// - _a0 *entity.IssueVariantFilter -// - _a1 *entity.ListOptions -func (_e *MockHeureka_Expecter) ListIssueVariants(_a0 interface{}, _a1 interface{}) *MockHeureka_ListIssueVariants_Call { - return &MockHeureka_ListIssueVariants_Call{Call: _e.mock.On("ListIssueVariants", _a0, _a1)} -} - -func (_c *MockHeureka_ListIssueVariants_Call) Run(run func(_a0 *entity.IssueVariantFilter, _a1 *entity.ListOptions)) *MockHeureka_ListIssueVariants_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.IssueVariantFilter), args[1].(*entity.ListOptions)) - }) - return _c -} - -func (_c *MockHeureka_ListIssueVariants_Call) Return(_a0 *entity.List[entity.IssueVariantResult], _a1 error) *MockHeureka_ListIssueVariants_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockHeureka_ListIssueVariants_Call) RunAndReturn(run func(*entity.IssueVariantFilter, *entity.ListOptions) (*entity.List[entity.IssueVariantResult], error)) *MockHeureka_ListIssueVariants_Call { - _c.Call.Return(run) - return _c -} - -// ListIssues provides a mock function with given fields: _a0, _a1 -func (_m *MockHeureka) ListIssues(_a0 *entity.IssueFilter, _a1 *entity.ListOptions) (*entity.List[entity.IssueResult], error) { - ret := _m.Called(_a0, _a1) - - if len(ret) == 0 { - panic("no return value specified for ListIssues") - } - - var r0 *entity.List[entity.IssueResult] - var r1 error - if rf, ok := ret.Get(0).(func(*entity.IssueFilter, *entity.ListOptions) (*entity.List[entity.IssueResult], error)); ok { - return rf(_a0, _a1) - } - if rf, ok := ret.Get(0).(func(*entity.IssueFilter, *entity.ListOptions) *entity.List[entity.IssueResult]); ok { - r0 = rf(_a0, _a1) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.List[entity.IssueResult]) - } - } - - if rf, ok := ret.Get(1).(func(*entity.IssueFilter, *entity.ListOptions) error); ok { - r1 = rf(_a0, _a1) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockHeureka_ListIssues_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListIssues' -type MockHeureka_ListIssues_Call struct { - *mock.Call -} - -// ListIssues is a helper method to define mock.On call -// - _a0 *entity.IssueFilter -// - _a1 *entity.ListOptions -func (_e *MockHeureka_Expecter) ListIssues(_a0 interface{}, _a1 interface{}) *MockHeureka_ListIssues_Call { - return &MockHeureka_ListIssues_Call{Call: _e.mock.On("ListIssues", _a0, _a1)} -} - -func (_c *MockHeureka_ListIssues_Call) Run(run func(_a0 *entity.IssueFilter, _a1 *entity.ListOptions)) *MockHeureka_ListIssues_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.IssueFilter), args[1].(*entity.ListOptions)) - }) - return _c -} - -func (_c *MockHeureka_ListIssues_Call) Return(_a0 *entity.List[entity.IssueResult], _a1 error) *MockHeureka_ListIssues_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockHeureka_ListIssues_Call) RunAndReturn(run func(*entity.IssueFilter, *entity.ListOptions) (*entity.List[entity.IssueResult], error)) *MockHeureka_ListIssues_Call { - _c.Call.Return(run) - return _c -} - -// ListServices provides a mock function with given fields: _a0, _a1 -func (_m *MockHeureka) ListServices(_a0 *entity.ServiceFilter, _a1 *entity.ListOptions) (*entity.List[entity.ServiceResult], error) { - ret := _m.Called(_a0, _a1) - - if len(ret) == 0 { - panic("no return value specified for ListServices") - } - - var r0 *entity.List[entity.ServiceResult] - var r1 error - if rf, ok := ret.Get(0).(func(*entity.ServiceFilter, *entity.ListOptions) (*entity.List[entity.ServiceResult], error)); ok { - return rf(_a0, _a1) - } - if rf, ok := ret.Get(0).(func(*entity.ServiceFilter, *entity.ListOptions) *entity.List[entity.ServiceResult]); ok { - r0 = rf(_a0, _a1) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.List[entity.ServiceResult]) - } - } - - if rf, ok := ret.Get(1).(func(*entity.ServiceFilter, *entity.ListOptions) error); ok { - r1 = rf(_a0, _a1) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockHeureka_ListServices_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListServices' -type MockHeureka_ListServices_Call struct { - *mock.Call -} - -// ListServices is a helper method to define mock.On call -// - _a0 *entity.ServiceFilter -// - _a1 *entity.ListOptions -func (_e *MockHeureka_Expecter) ListServices(_a0 interface{}, _a1 interface{}) *MockHeureka_ListServices_Call { - return &MockHeureka_ListServices_Call{Call: _e.mock.On("ListServices", _a0, _a1)} -} - -func (_c *MockHeureka_ListServices_Call) Run(run func(_a0 *entity.ServiceFilter, _a1 *entity.ListOptions)) *MockHeureka_ListServices_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.ServiceFilter), args[1].(*entity.ListOptions)) - }) - return _c -} - -func (_c *MockHeureka_ListServices_Call) Return(_a0 *entity.List[entity.ServiceResult], _a1 error) *MockHeureka_ListServices_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockHeureka_ListServices_Call) RunAndReturn(run func(*entity.ServiceFilter, *entity.ListOptions) (*entity.List[entity.ServiceResult], error)) *MockHeureka_ListServices_Call { - _c.Call.Return(run) - return _c -} - -// ListSupportGroups provides a mock function with given fields: _a0, _a1 -func (_m *MockHeureka) ListSupportGroups(_a0 *entity.SupportGroupFilter, _a1 *entity.ListOptions) (*entity.List[entity.SupportGroupResult], error) { - ret := _m.Called(_a0, _a1) - - if len(ret) == 0 { - panic("no return value specified for ListSupportGroups") - } - - var r0 *entity.List[entity.SupportGroupResult] - var r1 error - if rf, ok := ret.Get(0).(func(*entity.SupportGroupFilter, *entity.ListOptions) (*entity.List[entity.SupportGroupResult], error)); ok { - return rf(_a0, _a1) - } - if rf, ok := ret.Get(0).(func(*entity.SupportGroupFilter, *entity.ListOptions) *entity.List[entity.SupportGroupResult]); ok { - r0 = rf(_a0, _a1) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.List[entity.SupportGroupResult]) - } - } - - if rf, ok := ret.Get(1).(func(*entity.SupportGroupFilter, *entity.ListOptions) error); ok { - r1 = rf(_a0, _a1) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockHeureka_ListSupportGroups_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSupportGroups' -type MockHeureka_ListSupportGroups_Call struct { - *mock.Call -} - -// ListSupportGroups is a helper method to define mock.On call -// - _a0 *entity.SupportGroupFilter -// - _a1 *entity.ListOptions -func (_e *MockHeureka_Expecter) ListSupportGroups(_a0 interface{}, _a1 interface{}) *MockHeureka_ListSupportGroups_Call { - return &MockHeureka_ListSupportGroups_Call{Call: _e.mock.On("ListSupportGroups", _a0, _a1)} -} - -func (_c *MockHeureka_ListSupportGroups_Call) Run(run func(_a0 *entity.SupportGroupFilter, _a1 *entity.ListOptions)) *MockHeureka_ListSupportGroups_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.SupportGroupFilter), args[1].(*entity.ListOptions)) - }) - return _c -} - -func (_c *MockHeureka_ListSupportGroups_Call) Return(_a0 *entity.List[entity.SupportGroupResult], _a1 error) *MockHeureka_ListSupportGroups_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockHeureka_ListSupportGroups_Call) RunAndReturn(run func(*entity.SupportGroupFilter, *entity.ListOptions) (*entity.List[entity.SupportGroupResult], error)) *MockHeureka_ListSupportGroups_Call { - _c.Call.Return(run) - return _c -} - -// ListUsers provides a mock function with given fields: _a0, _a1 -func (_m *MockHeureka) ListUsers(_a0 *entity.UserFilter, _a1 *entity.ListOptions) (*entity.List[entity.UserResult], error) { - ret := _m.Called(_a0, _a1) - - if len(ret) == 0 { - panic("no return value specified for ListUsers") - } - - var r0 *entity.List[entity.UserResult] - var r1 error - if rf, ok := ret.Get(0).(func(*entity.UserFilter, *entity.ListOptions) (*entity.List[entity.UserResult], error)); ok { - return rf(_a0, _a1) - } - if rf, ok := ret.Get(0).(func(*entity.UserFilter, *entity.ListOptions) *entity.List[entity.UserResult]); ok { - r0 = rf(_a0, _a1) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.List[entity.UserResult]) - } - } - - if rf, ok := ret.Get(1).(func(*entity.UserFilter, *entity.ListOptions) error); ok { - r1 = rf(_a0, _a1) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockHeureka_ListUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListUsers' -type MockHeureka_ListUsers_Call struct { - *mock.Call -} - -// ListUsers is a helper method to define mock.On call -// - _a0 *entity.UserFilter -// - _a1 *entity.ListOptions -func (_e *MockHeureka_Expecter) ListUsers(_a0 interface{}, _a1 interface{}) *MockHeureka_ListUsers_Call { - return &MockHeureka_ListUsers_Call{Call: _e.mock.On("ListUsers", _a0, _a1)} -} - -func (_c *MockHeureka_ListUsers_Call) Run(run func(_a0 *entity.UserFilter, _a1 *entity.ListOptions)) *MockHeureka_ListUsers_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.UserFilter), args[1].(*entity.ListOptions)) - }) - return _c -} - -func (_c *MockHeureka_ListUsers_Call) Return(_a0 *entity.List[entity.UserResult], _a1 error) *MockHeureka_ListUsers_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockHeureka_ListUsers_Call) RunAndReturn(run func(*entity.UserFilter, *entity.ListOptions) (*entity.List[entity.UserResult], error)) *MockHeureka_ListUsers_Call { - _c.Call.Return(run) - return _c -} - -// Shutdown provides a mock function with given fields: -func (_m *MockHeureka) Shutdown() error { - ret := _m.Called() - - if len(ret) == 0 { - panic("no return value specified for Shutdown") - } - - var r0 error - if rf, ok := ret.Get(0).(func() error); ok { - r0 = rf() - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// MockHeureka_Shutdown_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Shutdown' -type MockHeureka_Shutdown_Call struct { - *mock.Call -} - -// Shutdown is a helper method to define mock.On call -func (_e *MockHeureka_Expecter) Shutdown() *MockHeureka_Shutdown_Call { - return &MockHeureka_Shutdown_Call{Call: _e.mock.On("Shutdown")} -} - -func (_c *MockHeureka_Shutdown_Call) Run(run func()) *MockHeureka_Shutdown_Call { - _c.Call.Run(func(args mock.Arguments) { - run() - }) - return _c -} - -func (_c *MockHeureka_Shutdown_Call) Return(_a0 error) *MockHeureka_Shutdown_Call { - _c.Call.Return(_a0) - return _c -} - -func (_c *MockHeureka_Shutdown_Call) RunAndReturn(run func() error) *MockHeureka_Shutdown_Call { - _c.Call.Return(run) - return _c -} - -// UpdateComponent provides a mock function with given fields: _a0 -func (_m *MockHeureka) UpdateComponent(_a0 *entity.Component) (*entity.Component, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for UpdateComponent") - } - - var r0 *entity.Component - var r1 error - if rf, ok := ret.Get(0).(func(*entity.Component) (*entity.Component, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.Component) *entity.Component); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.Component) - } - } - - if rf, ok := ret.Get(1).(func(*entity.Component) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockHeureka_UpdateComponent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateComponent' -type MockHeureka_UpdateComponent_Call struct { - *mock.Call -} - -// UpdateComponent is a helper method to define mock.On call -// - _a0 *entity.Component -func (_e *MockHeureka_Expecter) UpdateComponent(_a0 interface{}) *MockHeureka_UpdateComponent_Call { - return &MockHeureka_UpdateComponent_Call{Call: _e.mock.On("UpdateComponent", _a0)} -} - -func (_c *MockHeureka_UpdateComponent_Call) Run(run func(_a0 *entity.Component)) *MockHeureka_UpdateComponent_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.Component)) - }) - return _c -} - -func (_c *MockHeureka_UpdateComponent_Call) Return(_a0 *entity.Component, _a1 error) *MockHeureka_UpdateComponent_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockHeureka_UpdateComponent_Call) RunAndReturn(run func(*entity.Component) (*entity.Component, error)) *MockHeureka_UpdateComponent_Call { - _c.Call.Return(run) - return _c -} - -// UpdateComponentInstance provides a mock function with given fields: _a0 -func (_m *MockHeureka) UpdateComponentInstance(_a0 *entity.ComponentInstance) (*entity.ComponentInstance, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for UpdateComponentInstance") - } - - var r0 *entity.ComponentInstance - var r1 error - if rf, ok := ret.Get(0).(func(*entity.ComponentInstance) (*entity.ComponentInstance, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.ComponentInstance) *entity.ComponentInstance); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.ComponentInstance) - } - } - - if rf, ok := ret.Get(1).(func(*entity.ComponentInstance) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockHeureka_UpdateComponentInstance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateComponentInstance' -type MockHeureka_UpdateComponentInstance_Call struct { - *mock.Call -} - -// UpdateComponentInstance is a helper method to define mock.On call -// - _a0 *entity.ComponentInstance -func (_e *MockHeureka_Expecter) UpdateComponentInstance(_a0 interface{}) *MockHeureka_UpdateComponentInstance_Call { - return &MockHeureka_UpdateComponentInstance_Call{Call: _e.mock.On("UpdateComponentInstance", _a0)} -} - -func (_c *MockHeureka_UpdateComponentInstance_Call) Run(run func(_a0 *entity.ComponentInstance)) *MockHeureka_UpdateComponentInstance_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.ComponentInstance)) - }) - return _c -} - -func (_c *MockHeureka_UpdateComponentInstance_Call) Return(_a0 *entity.ComponentInstance, _a1 error) *MockHeureka_UpdateComponentInstance_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockHeureka_UpdateComponentInstance_Call) RunAndReturn(run func(*entity.ComponentInstance) (*entity.ComponentInstance, error)) *MockHeureka_UpdateComponentInstance_Call { - _c.Call.Return(run) - return _c -} - -// UpdateComponentVersion provides a mock function with given fields: _a0 -func (_m *MockHeureka) UpdateComponentVersion(_a0 *entity.ComponentVersion) (*entity.ComponentVersion, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for UpdateComponentVersion") - } - - var r0 *entity.ComponentVersion - var r1 error - if rf, ok := ret.Get(0).(func(*entity.ComponentVersion) (*entity.ComponentVersion, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.ComponentVersion) *entity.ComponentVersion); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.ComponentVersion) - } - } - - if rf, ok := ret.Get(1).(func(*entity.ComponentVersion) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockHeureka_UpdateComponentVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateComponentVersion' -type MockHeureka_UpdateComponentVersion_Call struct { - *mock.Call -} - -// UpdateComponentVersion is a helper method to define mock.On call -// - _a0 *entity.ComponentVersion -func (_e *MockHeureka_Expecter) UpdateComponentVersion(_a0 interface{}) *MockHeureka_UpdateComponentVersion_Call { - return &MockHeureka_UpdateComponentVersion_Call{Call: _e.mock.On("UpdateComponentVersion", _a0)} -} - -func (_c *MockHeureka_UpdateComponentVersion_Call) Run(run func(_a0 *entity.ComponentVersion)) *MockHeureka_UpdateComponentVersion_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.ComponentVersion)) - }) - return _c -} - -func (_c *MockHeureka_UpdateComponentVersion_Call) Return(_a0 *entity.ComponentVersion, _a1 error) *MockHeureka_UpdateComponentVersion_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockHeureka_UpdateComponentVersion_Call) RunAndReturn(run func(*entity.ComponentVersion) (*entity.ComponentVersion, error)) *MockHeureka_UpdateComponentVersion_Call { - _c.Call.Return(run) - return _c -} - -// UpdateEvidence provides a mock function with given fields: _a0 -func (_m *MockHeureka) UpdateEvidence(_a0 *entity.Evidence) (*entity.Evidence, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for UpdateEvidence") - } - - var r0 *entity.Evidence - var r1 error - if rf, ok := ret.Get(0).(func(*entity.Evidence) (*entity.Evidence, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.Evidence) *entity.Evidence); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.Evidence) - } - } - - if rf, ok := ret.Get(1).(func(*entity.Evidence) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockHeureka_UpdateEvidence_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateEvidence' -type MockHeureka_UpdateEvidence_Call struct { - *mock.Call -} - -// UpdateEvidence is a helper method to define mock.On call -// - _a0 *entity.Evidence -func (_e *MockHeureka_Expecter) UpdateEvidence(_a0 interface{}) *MockHeureka_UpdateEvidence_Call { - return &MockHeureka_UpdateEvidence_Call{Call: _e.mock.On("UpdateEvidence", _a0)} -} - -func (_c *MockHeureka_UpdateEvidence_Call) Run(run func(_a0 *entity.Evidence)) *MockHeureka_UpdateEvidence_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.Evidence)) - }) - return _c -} - -func (_c *MockHeureka_UpdateEvidence_Call) Return(_a0 *entity.Evidence, _a1 error) *MockHeureka_UpdateEvidence_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockHeureka_UpdateEvidence_Call) RunAndReturn(run func(*entity.Evidence) (*entity.Evidence, error)) *MockHeureka_UpdateEvidence_Call { - _c.Call.Return(run) - return _c -} - -// UpdateIssueMatch provides a mock function with given fields: _a0 -func (_m *MockHeureka) UpdateIssueMatch(_a0 *entity.IssueMatch) (*entity.IssueMatch, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for UpdateIssueMatch") - } - - var r0 *entity.IssueMatch - var r1 error - if rf, ok := ret.Get(0).(func(*entity.IssueMatch) (*entity.IssueMatch, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.IssueMatch) *entity.IssueMatch); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.IssueMatch) - } - } - - if rf, ok := ret.Get(1).(func(*entity.IssueMatch) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockHeureka_UpdateIssueMatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateIssueMatch' -type MockHeureka_UpdateIssueMatch_Call struct { - *mock.Call -} - -// UpdateIssueMatch is a helper method to define mock.On call -// - _a0 *entity.IssueMatch -func (_e *MockHeureka_Expecter) UpdateIssueMatch(_a0 interface{}) *MockHeureka_UpdateIssueMatch_Call { - return &MockHeureka_UpdateIssueMatch_Call{Call: _e.mock.On("UpdateIssueMatch", _a0)} -} - -func (_c *MockHeureka_UpdateIssueMatch_Call) Run(run func(_a0 *entity.IssueMatch)) *MockHeureka_UpdateIssueMatch_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.IssueMatch)) - }) - return _c -} - -func (_c *MockHeureka_UpdateIssueMatch_Call) Return(_a0 *entity.IssueMatch, _a1 error) *MockHeureka_UpdateIssueMatch_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockHeureka_UpdateIssueMatch_Call) RunAndReturn(run func(*entity.IssueMatch) (*entity.IssueMatch, error)) *MockHeureka_UpdateIssueMatch_Call { - _c.Call.Return(run) - return _c -} - -// UpdateIssueRepository provides a mock function with given fields: _a0 -func (_m *MockHeureka) UpdateIssueRepository(_a0 *entity.IssueRepository) (*entity.IssueRepository, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for UpdateIssueRepository") - } - - var r0 *entity.IssueRepository - var r1 error - if rf, ok := ret.Get(0).(func(*entity.IssueRepository) (*entity.IssueRepository, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.IssueRepository) *entity.IssueRepository); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.IssueRepository) - } - } - - if rf, ok := ret.Get(1).(func(*entity.IssueRepository) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockHeureka_UpdateIssueRepository_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateIssueRepository' -type MockHeureka_UpdateIssueRepository_Call struct { - *mock.Call -} - -// UpdateIssueRepository is a helper method to define mock.On call -// - _a0 *entity.IssueRepository -func (_e *MockHeureka_Expecter) UpdateIssueRepository(_a0 interface{}) *MockHeureka_UpdateIssueRepository_Call { - return &MockHeureka_UpdateIssueRepository_Call{Call: _e.mock.On("UpdateIssueRepository", _a0)} -} - -func (_c *MockHeureka_UpdateIssueRepository_Call) Run(run func(_a0 *entity.IssueRepository)) *MockHeureka_UpdateIssueRepository_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.IssueRepository)) - }) - return _c -} - -func (_c *MockHeureka_UpdateIssueRepository_Call) Return(_a0 *entity.IssueRepository, _a1 error) *MockHeureka_UpdateIssueRepository_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockHeureka_UpdateIssueRepository_Call) RunAndReturn(run func(*entity.IssueRepository) (*entity.IssueRepository, error)) *MockHeureka_UpdateIssueRepository_Call { - _c.Call.Return(run) - return _c -} - -// UpdateIssueVariant provides a mock function with given fields: _a0 -func (_m *MockHeureka) UpdateIssueVariant(_a0 *entity.IssueVariant) (*entity.IssueVariant, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for UpdateIssueVariant") - } - - var r0 *entity.IssueVariant - var r1 error - if rf, ok := ret.Get(0).(func(*entity.IssueVariant) (*entity.IssueVariant, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.IssueVariant) *entity.IssueVariant); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.IssueVariant) - } - } - - if rf, ok := ret.Get(1).(func(*entity.IssueVariant) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockHeureka_UpdateIssueVariant_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateIssueVariant' -type MockHeureka_UpdateIssueVariant_Call struct { - *mock.Call -} - -// UpdateIssueVariant is a helper method to define mock.On call -// - _a0 *entity.IssueVariant -func (_e *MockHeureka_Expecter) UpdateIssueVariant(_a0 interface{}) *MockHeureka_UpdateIssueVariant_Call { - return &MockHeureka_UpdateIssueVariant_Call{Call: _e.mock.On("UpdateIssueVariant", _a0)} -} - -func (_c *MockHeureka_UpdateIssueVariant_Call) Run(run func(_a0 *entity.IssueVariant)) *MockHeureka_UpdateIssueVariant_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.IssueVariant)) - }) - return _c -} - -func (_c *MockHeureka_UpdateIssueVariant_Call) Return(_a0 *entity.IssueVariant, _a1 error) *MockHeureka_UpdateIssueVariant_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockHeureka_UpdateIssueVariant_Call) RunAndReturn(run func(*entity.IssueVariant) (*entity.IssueVariant, error)) *MockHeureka_UpdateIssueVariant_Call { - _c.Call.Return(run) - return _c -} - -// UpdateService provides a mock function with given fields: _a0 -func (_m *MockHeureka) UpdateService(_a0 *entity.Service) (*entity.Service, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for UpdateService") - } - - var r0 *entity.Service - var r1 error - if rf, ok := ret.Get(0).(func(*entity.Service) (*entity.Service, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.Service) *entity.Service); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.Service) - } - } - - if rf, ok := ret.Get(1).(func(*entity.Service) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockHeureka_UpdateService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateService' -type MockHeureka_UpdateService_Call struct { - *mock.Call -} - -// UpdateService is a helper method to define mock.On call -// - _a0 *entity.Service -func (_e *MockHeureka_Expecter) UpdateService(_a0 interface{}) *MockHeureka_UpdateService_Call { - return &MockHeureka_UpdateService_Call{Call: _e.mock.On("UpdateService", _a0)} -} - -func (_c *MockHeureka_UpdateService_Call) Run(run func(_a0 *entity.Service)) *MockHeureka_UpdateService_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.Service)) - }) - return _c -} - -func (_c *MockHeureka_UpdateService_Call) Return(_a0 *entity.Service, _a1 error) *MockHeureka_UpdateService_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockHeureka_UpdateService_Call) RunAndReturn(run func(*entity.Service) (*entity.Service, error)) *MockHeureka_UpdateService_Call { - _c.Call.Return(run) - return _c -} - -// UpdateSupportGroup provides a mock function with given fields: _a0 -func (_m *MockHeureka) UpdateSupportGroup(_a0 *entity.SupportGroup) (*entity.SupportGroup, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for UpdateSupportGroup") - } - - var r0 *entity.SupportGroup - var r1 error - if rf, ok := ret.Get(0).(func(*entity.SupportGroup) (*entity.SupportGroup, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.SupportGroup) *entity.SupportGroup); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.SupportGroup) - } - } - - if rf, ok := ret.Get(1).(func(*entity.SupportGroup) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockHeureka_UpdateSupportGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateSupportGroup' -type MockHeureka_UpdateSupportGroup_Call struct { - *mock.Call -} - -// UpdateSupportGroup is a helper method to define mock.On call -// - _a0 *entity.SupportGroup -func (_e *MockHeureka_Expecter) UpdateSupportGroup(_a0 interface{}) *MockHeureka_UpdateSupportGroup_Call { - return &MockHeureka_UpdateSupportGroup_Call{Call: _e.mock.On("UpdateSupportGroup", _a0)} -} - -func (_c *MockHeureka_UpdateSupportGroup_Call) Run(run func(_a0 *entity.SupportGroup)) *MockHeureka_UpdateSupportGroup_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.SupportGroup)) - }) - return _c -} - -func (_c *MockHeureka_UpdateSupportGroup_Call) Return(_a0 *entity.SupportGroup, _a1 error) *MockHeureka_UpdateSupportGroup_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockHeureka_UpdateSupportGroup_Call) RunAndReturn(run func(*entity.SupportGroup) (*entity.SupportGroup, error)) *MockHeureka_UpdateSupportGroup_Call { - _c.Call.Return(run) - return _c -} - -// UpdateUser provides a mock function with given fields: _a0 -func (_m *MockHeureka) UpdateUser(_a0 *entity.User) (*entity.User, error) { - ret := _m.Called(_a0) - - if len(ret) == 0 { - panic("no return value specified for UpdateUser") - } - - var r0 *entity.User - var r1 error - if rf, ok := ret.Get(0).(func(*entity.User) (*entity.User, error)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*entity.User) *entity.User); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*entity.User) - } - } - - if rf, ok := ret.Get(1).(func(*entity.User) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockHeureka_UpdateUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUser' -type MockHeureka_UpdateUser_Call struct { - *mock.Call -} - -// UpdateUser is a helper method to define mock.On call -// - _a0 *entity.User -func (_e *MockHeureka_Expecter) UpdateUser(_a0 interface{}) *MockHeureka_UpdateUser_Call { - return &MockHeureka_UpdateUser_Call{Call: _e.mock.On("UpdateUser", _a0)} -} - -func (_c *MockHeureka_UpdateUser_Call) Run(run func(_a0 *entity.User)) *MockHeureka_UpdateUser_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.User)) - }) - return _c -} - -func (_c *MockHeureka_UpdateUser_Call) Return(_a0 *entity.User, _a1 error) *MockHeureka_UpdateUser_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockHeureka_UpdateUser_Call) RunAndReturn(run func(*entity.User) (*entity.User, error)) *MockHeureka_UpdateUser_Call { - _c.Call.Return(run) - return _c -} - -// NewMockHeureka creates a new instance of MockHeureka. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. -// The first argument is typically a *testing.T value. -func NewMockHeureka(t interface { - mock.TestingT - Cleanup(func()) -}) *MockHeureka { - mock := &MockHeureka{} - mock.Mock.Test(t) - - t.Cleanup(func() { mock.AssertExpectations(t) }) - - return mock -} diff --git a/internal/mocks/.gitkeep b/internal/mocks/.gitkeep new file mode 100644 index 00000000..e69de29b From 4563af63682492c684e22d0fe9c7653d84a3cb4b Mon Sep 17 00:00:00 2001 From: Michael Reimsbach Date: Mon, 28 Oct 2024 13:44:26 +0100 Subject: [PATCH 14/21] chore: update build_query in codeql.yaml (#336) --- .github/workflows/codeql.yaml | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/.github/workflows/codeql.yaml b/.github/workflows/codeql.yaml index 31537d9c..80c426f9 100644 --- a/.github/workflows/codeql.yaml +++ b/.github/workflows/codeql.yaml @@ -9,22 +9,7 @@ on: - cron: '20 08 * * 1' jobs: - setup: - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v2 - - - name: Set up Go - uses: actions/setup-go@v2 - with: - go-version: 1.22 - - - name: Install mockery - run: go install github.com/vektra/mockery/v2@v2.46.3 - codeql: - needs: setup uses: cloudoperators/common/.github/workflows/shared-codeql.yaml@main permissions: security-events: write @@ -40,4 +25,4 @@ jobs: fail-fast: false # timeout: 30 autobuild: false - build_query: "make build-binary" + build_query: "go install github.com/vektra/mockery/v2@v2.46.3 && make build-binary" From fabbfcb45176c0a2f9fa16205c8c8165f03d0722 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 14:00:05 +0100 Subject: [PATCH 15/21] chore(deps): bump github.com/brianvoe/gofakeit/v7 from 7.0.4 to 7.1.1 (#330) Bumps [github.com/brianvoe/gofakeit/v7](https://github.com/brianvoe/gofakeit) from 7.0.4 to 7.1.1. - [Release notes](https://github.com/brianvoe/gofakeit/releases) - [Commits](https://github.com/brianvoe/gofakeit/compare/v7.0.4...v7.1.1) --- updated-dependencies: - dependency-name: github.com/brianvoe/gofakeit/v7 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Michael Reimsbach --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 03ed21db..1f1f0bfd 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/cloudoperators/heureka go 1.22.6 require ( - github.com/brianvoe/gofakeit/v7 v7.0.4 + github.com/brianvoe/gofakeit/v7 v7.1.1 github.com/docker/docker v27.3.1+incompatible github.com/docker/docker-credential-helpers v0.8.2 github.com/docker/go-connections v0.5.0 diff --git a/go.sum b/go.sum index 17519db7..fa0d3e5f 100644 --- a/go.sum +++ b/go.sum @@ -20,8 +20,8 @@ github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= github.com/blang/semver/v4 v4.0.0 h1:1PFHFE6yCCTv8C1TeyNNarDzntLi7wMI5i/pzqYIsAM= github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ= -github.com/brianvoe/gofakeit/v7 v7.0.4 h1:Mkxwz9jYg8Ad8NvT9HA27pCMZGFQo08MK6jD0QTKEww= -github.com/brianvoe/gofakeit/v7 v7.0.4/go.mod h1:QXuPeBw164PJCzCUZVmgpgHJ3Llj49jSLVkKPMtxtxA= +github.com/brianvoe/gofakeit/v7 v7.1.1 h1:/DEG+f/mFtqqNjhZ0AXA0aDzrnfE85AcAKVE+mMdxAQ= +github.com/brianvoe/gofakeit/v7 v7.1.1/go.mod h1:QXuPeBw164PJCzCUZVmgpgHJ3Llj49jSLVkKPMtxtxA= github.com/bytedance/sonic v1.11.6 h1:oUp34TzMlL+OY1OUWxHqsdkgC/Zfc85zGqw9siXjrc0= github.com/bytedance/sonic v1.11.6/go.mod h1:LysEHSvpvDySVdC2f87zGWf6CIKJcAvqab1ZaiQtds4= github.com/bytedance/sonic/loader v0.1.1 h1:c+e5Pt1k/cy5wMveRDyk2X4B9hF4g7an8N3zCYjJFNM= From 3d03932476bb83d7850ab2a36f60607b2db0519a Mon Sep 17 00:00:00 2001 From: David Rochow Date: Mon, 28 Oct 2024 17:21:51 +0100 Subject: [PATCH 16/21] fix(test): added additonal readiness checks for DB (#334) Co-authored-by: Michael Reimsbach --- internal/database/mariadb/database.go | 8 ++++++-- internal/database/mariadb/issue_test.go | 4 ---- internal/database/mariadb/test/database_manager.go | 6 ++++++ internal/e2e/activity_query_test.go | 10 ++++------ internal/e2e/component_instance_query_test.go | 6 +----- internal/e2e/component_query_test.go | 6 +----- internal/e2e/component_version_query_test.go | 6 +----- internal/e2e/evidence_query_test.go | 2 -- internal/e2e/issue_match_change_test.go | 6 +----- internal/e2e/issue_match_query_test.go | 2 -- internal/e2e/service_query_test.go | 6 +----- 11 files changed, 21 insertions(+), 41 deletions(-) diff --git a/internal/database/mariadb/database.go b/internal/database/mariadb/database.go index b5a3592b..55dd60a8 100644 --- a/internal/database/mariadb/database.go +++ b/internal/database/mariadb/database.go @@ -43,14 +43,18 @@ func TestConnection(cfg util.Config, backOff int) error { } //before each try wait 1 Second - time.Sleep(time.Millisecond * 1000) + time.Sleep(1 * time.Second) connectionString := fmt.Sprintf("%s:%s@tcp(%s:%s)/%s?multiStatements=true&parseTime=true", cfg.DBUser, cfg.DBPassword, cfg.DBAddress, cfg.DBPort, cfg.DBName) - logrus.Info("Testing Connection to Database...") db, err := sqlx.Connect("mysql", connectionString) if err != nil { return TestConnection(cfg, backOff-1) } defer db.Close() + //do an actual ping to check if not only the handshake works but the db schema is as well ready to operate on + err = db.Ping() + if err != nil { + return TestConnection(cfg, backOff-1) + } return nil } diff --git a/internal/database/mariadb/issue_test.go b/internal/database/mariadb/issue_test.go index 72ca1f20..cb2720da 100644 --- a/internal/database/mariadb/issue_test.go +++ b/internal/database/mariadb/issue_test.go @@ -4,8 +4,6 @@ package mariadb_test import ( - "time" - "github.com/cloudoperators/heureka/internal/database/mariadb" "github.com/cloudoperators/heureka/internal/database/mariadb/test" "github.com/cloudoperators/heureka/internal/entity" @@ -23,8 +21,6 @@ var _ = Describe("Issue", Label("database", "Issue"), func() { var db *mariadb.SqlDatabase var seeder *test.DatabaseSeeder BeforeEach(func() { - // This sleep suppresses a potential racing condition which triggers test failures. - time.Sleep(3 * time.Second) var err error db = dbm.NewTestSchema() diff --git a/internal/database/mariadb/test/database_manager.go b/internal/database/mariadb/test/database_manager.go index 830eab4f..d1e30765 100644 --- a/internal/database/mariadb/test/database_manager.go +++ b/internal/database/mariadb/test/database_manager.go @@ -164,6 +164,12 @@ func (dbm *LocalTestDataBaseManager) NewTestSchema() *mariadb.SqlDatabase { if err != nil { ginkgo.GinkgoLogr.WithCallDepth(5).Error(err, "Failure while loading DB Client for new Schema") } + + err = mariadb.TestConnection(dbm.Config.Config, 10) + if err != nil { + ginkgo.GinkgoLogr.WithCallDepth(5).Error(err, "Failure while testing connection for new Schema") + } + return dbClient } diff --git a/internal/e2e/activity_query_test.go b/internal/e2e/activity_query_test.go index 6a8370ff..3afd9465 100644 --- a/internal/e2e/activity_query_test.go +++ b/internal/e2e/activity_query_test.go @@ -6,13 +6,11 @@ package e2e_test import ( "context" "fmt" - "os" - "time" - "github.com/cloudoperators/heureka/internal/entity" testentity "github.com/cloudoperators/heureka/internal/entity/test" "github.com/cloudoperators/heureka/internal/util" util2 "github.com/cloudoperators/heureka/pkg/util" + "os" "github.com/cloudoperators/heureka/internal/api/graphql/graph/model" "github.com/cloudoperators/heureka/internal/database/mariadb" @@ -32,8 +30,6 @@ var _ = Describe("Getting Activities via API", Label("e2e", "Activity"), func() var cfg util.Config BeforeEach(func() { - // This sleep suppresses a potential racing condition which triggers test failures. - time.Sleep(3 * time.Second) var err error _ = dbm.NewTestSchema() @@ -141,7 +137,9 @@ var _ = Describe("Getting Activities via API", Label("e2e", "Activity"), func() ctx := context.Background() err = client.Run(ctx, req, &respData) - + if err != nil { + logrus.WithError(err).WithField("request", req).Info("Error while unmarshaling") + } Expect(err).To(BeNil(), "Error while unmarshaling") }) diff --git a/internal/e2e/component_instance_query_test.go b/internal/e2e/component_instance_query_test.go index abe5d2cb..848dee01 100644 --- a/internal/e2e/component_instance_query_test.go +++ b/internal/e2e/component_instance_query_test.go @@ -6,13 +6,11 @@ package e2e_test import ( "context" "fmt" - "os" - "time" - "github.com/cloudoperators/heureka/internal/entity" testentity "github.com/cloudoperators/heureka/internal/entity/test" "github.com/cloudoperators/heureka/internal/util" util2 "github.com/cloudoperators/heureka/pkg/util" + "os" "github.com/cloudoperators/heureka/internal/server" @@ -32,8 +30,6 @@ var _ = Describe("Getting ComponentInstances via API", Label("e2e", "ComponentIn var cfg util.Config BeforeEach(func() { - // This sleep suppresses a potential racing condition which triggers test failures. - time.Sleep(3 * time.Second) var err error _ = dbm.NewTestSchema() diff --git a/internal/e2e/component_query_test.go b/internal/e2e/component_query_test.go index 460a6e6b..6a1ff71f 100644 --- a/internal/e2e/component_query_test.go +++ b/internal/e2e/component_query_test.go @@ -6,11 +6,9 @@ package e2e_test import ( "context" "fmt" - "os" - "time" - "github.com/cloudoperators/heureka/internal/entity" testentity "github.com/cloudoperators/heureka/internal/entity/test" + "os" "github.com/cloudoperators/heureka/internal/util" util2 "github.com/cloudoperators/heureka/pkg/util" @@ -33,8 +31,6 @@ var _ = Describe("Getting Components via API", Label("e2e", "Components"), func( var cfg util.Config BeforeEach(func() { - // This sleep suppresses a potential racing condition which triggers test failures. - time.Sleep(3 * time.Second) var err error _ = dbm.NewTestSchema() diff --git a/internal/e2e/component_version_query_test.go b/internal/e2e/component_version_query_test.go index 3bb979ff..b59e73e0 100644 --- a/internal/e2e/component_version_query_test.go +++ b/internal/e2e/component_version_query_test.go @@ -6,13 +6,11 @@ package e2e_test import ( "context" "fmt" - "os" - "time" - "github.com/cloudoperators/heureka/internal/entity" testentity "github.com/cloudoperators/heureka/internal/entity/test" "github.com/cloudoperators/heureka/internal/util" util2 "github.com/cloudoperators/heureka/pkg/util" + "os" "github.com/cloudoperators/heureka/internal/server" @@ -32,8 +30,6 @@ var _ = Describe("Getting ComponentVersions via API", Label("e2e", "ComponentVer var cfg util.Config BeforeEach(func() { - // This sleep suppresses a potential racing condition which triggers test failures. - time.Sleep(3 * time.Second) var err error _ = dbm.NewTestSchema() diff --git a/internal/e2e/evidence_query_test.go b/internal/e2e/evidence_query_test.go index afdce61d..a2586b3e 100644 --- a/internal/e2e/evidence_query_test.go +++ b/internal/e2e/evidence_query_test.go @@ -32,8 +32,6 @@ var _ = Describe("Getting Evidences via API", Label("e2e", "Evidences"), func() var cfg util.Config BeforeEach(func() { - // This sleep suppresses a potential racing condition which triggers test failures. - time.Sleep(3 * time.Second) var err error _ = dbm.NewTestSchema() diff --git a/internal/e2e/issue_match_change_test.go b/internal/e2e/issue_match_change_test.go index eea4eaba..4a43359d 100644 --- a/internal/e2e/issue_match_change_test.go +++ b/internal/e2e/issue_match_change_test.go @@ -6,13 +6,11 @@ package e2e_test import ( "context" "fmt" - "os" - "time" - "github.com/cloudoperators/heureka/internal/entity" testentity "github.com/cloudoperators/heureka/internal/entity/test" "github.com/cloudoperators/heureka/internal/util" util2 "github.com/cloudoperators/heureka/pkg/util" + "os" "github.com/cloudoperators/heureka/internal/api/graphql/graph/model" "github.com/cloudoperators/heureka/internal/database/mariadb/test" @@ -29,8 +27,6 @@ var _ = Describe("Getting IssueMatchChanges via API", Label("e2e", "IssueMatchCh var s *server.Server var cfg util.Config BeforeEach(func() { - // This sleep suppresses a potential racing condition which triggers test failures. - time.Sleep(3 * time.Second) var err error _ = dbm.NewTestSchema() diff --git a/internal/e2e/issue_match_query_test.go b/internal/e2e/issue_match_query_test.go index 284d3801..a83c8e86 100644 --- a/internal/e2e/issue_match_query_test.go +++ b/internal/e2e/issue_match_query_test.go @@ -31,8 +31,6 @@ var _ = Describe("Getting IssueMatches via API", Label("e2e", "IssueMatches"), f var s *server.Server var cfg util.Config BeforeEach(func() { - // This sleep suppresses a potential racing condition which triggers test failures. - time.Sleep(3 * time.Second) var err error _ = dbm.NewTestSchema() diff --git a/internal/e2e/service_query_test.go b/internal/e2e/service_query_test.go index 5955365e..b7b46656 100644 --- a/internal/e2e/service_query_test.go +++ b/internal/e2e/service_query_test.go @@ -6,13 +6,11 @@ package e2e_test import ( "context" "fmt" - "os" - "time" - "github.com/cloudoperators/heureka/internal/entity" testentity "github.com/cloudoperators/heureka/internal/entity/test" "github.com/cloudoperators/heureka/internal/util" util2 "github.com/cloudoperators/heureka/pkg/util" + "os" "github.com/cloudoperators/heureka/internal/server" @@ -32,8 +30,6 @@ var _ = Describe("Getting Services via API", Label("e2e", "Services"), func() { var cfg util.Config BeforeEach(func() { - // This sleep suppresses a potential racing condition which triggers test failures. - time.Sleep(3 * time.Second) var err error _ = dbm.NewTestSchema() From a422d10c03017a6c6066ae0d84a10d0c683a6767 Mon Sep 17 00:00:00 2001 From: Michael Reimsbach Date: Tue, 29 Oct 2024 13:41:57 +0100 Subject: [PATCH 17/21] merge --- internal/mocks/mock_Database.go | 32 ++++++++++++------------- internal/mocks/mock_Heureka.go | 42 ++++++++++++++++----------------- 2 files changed, 37 insertions(+), 37 deletions(-) diff --git a/internal/mocks/mock_Database.go b/internal/mocks/mock_Database.go index 5397f37a..c8a5ddee 100644 --- a/internal/mocks/mock_Database.go +++ b/internal/mocks/mock_Database.go @@ -3395,20 +3395,20 @@ func (_c *MockDatabase_GetAllUserIds_Call) RunAndReturn(run func(*entity.UserFil return _c } -// GetCcrn provides a mock function with given fields: filter -func (_m *MockDatabase) GetCcrn(filter *entity.ComponentInstanceFilter) ([]string, error) { +// GetComponentCcrns provides a mock function with given fields: filter +func (_m *MockDatabase) GetComponentCcrns(filter *entity.ComponentFilter) ([]string, error) { ret := _m.Called(filter) if len(ret) == 0 { - panic("no return value specified for GetCcrn") + panic("no return value specified for GetComponentCcrns") } var r0 []string var r1 error - if rf, ok := ret.Get(0).(func(*entity.ComponentInstanceFilter) ([]string, error)); ok { + if rf, ok := ret.Get(0).(func(*entity.ComponentFilter) ([]string, error)); ok { return rf(filter) } - if rf, ok := ret.Get(0).(func(*entity.ComponentInstanceFilter) []string); ok { + if rf, ok := ret.Get(0).(func(*entity.ComponentFilter) []string); ok { r0 = rf(filter) } else { if ret.Get(0) != nil { @@ -3416,7 +3416,7 @@ func (_m *MockDatabase) GetCcrn(filter *entity.ComponentInstanceFilter) ([]strin } } - if rf, ok := ret.Get(1).(func(*entity.ComponentInstanceFilter) error); ok { + if rf, ok := ret.Get(1).(func(*entity.ComponentFilter) error); ok { r1 = rf(filter) } else { r1 = ret.Error(1) @@ -3425,30 +3425,30 @@ func (_m *MockDatabase) GetCcrn(filter *entity.ComponentInstanceFilter) ([]strin return r0, r1 } -// MockDatabase_GetCcrn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCcrn' -type MockDatabase_GetCcrn_Call struct { +// MockDatabase_GetComponentCcrns_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetComponentCcrns' +type MockDatabase_GetComponentCcrns_Call struct { *mock.Call } -// GetCcrn is a helper method to define mock.On call -// - filter *entity.ComponentInstanceFilter -func (_e *MockDatabase_Expecter) GetCcrn(filter interface{}) *MockDatabase_GetCcrn_Call { - return &MockDatabase_GetCcrn_Call{Call: _e.mock.On("GetCcrn", filter)} +// GetComponentCcrns is a helper method to define mock.On call +// - filter *entity.ComponentFilter +func (_e *MockDatabase_Expecter) GetComponentCcrns(filter interface{}) *MockDatabase_GetComponentCcrns_Call { + return &MockDatabase_GetComponentCcrns_Call{Call: _e.mock.On("GetComponentCcrns", filter)} } -func (_c *MockDatabase_GetCcrn_Call) Run(run func(filter *entity.ComponentInstanceFilter)) *MockDatabase_GetCcrn_Call { +func (_c *MockDatabase_GetComponentCcrns_Call) Run(run func(filter *entity.ComponentFilter)) *MockDatabase_GetComponentCcrns_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.ComponentInstanceFilter)) + run(args[0].(*entity.ComponentFilter)) }) return _c } -func (_c *MockDatabase_GetCcrn_Call) Return(_a0 []string, _a1 error) *MockDatabase_GetCcrn_Call { +func (_c *MockDatabase_GetComponentCcrns_Call) Return(_a0 []string, _a1 error) *MockDatabase_GetComponentCcrns_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockDatabase_GetCcrn_Call) RunAndReturn(run func(*entity.ComponentInstanceFilter) ([]string, error)) *MockDatabase_GetCcrn_Call { +func (_c *MockDatabase_GetComponentCcrns_Call) RunAndReturn(run func(*entity.ComponentFilter) ([]string, error)) *MockDatabase_GetComponentCcrns_Call { _c.Call.Return(run) return _c } diff --git a/internal/mocks/mock_Heureka.go b/internal/mocks/mock_Heureka.go index 79fc8df1..1ee4a87c 100644 --- a/internal/mocks/mock_Heureka.go +++ b/internal/mocks/mock_Heureka.go @@ -2197,29 +2197,29 @@ func (_c *MockHeureka_ListActivities_Call) RunAndReturn(run func(*entity.Activit return _c } -// ListCcrns provides a mock function with given fields: filter, options -func (_m *MockHeureka) ListCcrns(filter *entity.ComponentInstanceFilter, options *entity.ListOptions) ([]string, error) { - ret := _m.Called(filter, options) +// ListComponentCcrns provides a mock function with given fields: _a0, _a1 +func (_m *MockHeureka) ListComponentCcrns(_a0 *entity.ComponentFilter, _a1 *entity.ListOptions) ([]string, error) { + ret := _m.Called(_a0, _a1) if len(ret) == 0 { - panic("no return value specified for ListCcrns") + panic("no return value specified for ListComponentCcrns") } var r0 []string var r1 error - if rf, ok := ret.Get(0).(func(*entity.ComponentInstanceFilter, *entity.ListOptions) ([]string, error)); ok { - return rf(filter, options) + if rf, ok := ret.Get(0).(func(*entity.ComponentFilter, *entity.ListOptions) ([]string, error)); ok { + return rf(_a0, _a1) } - if rf, ok := ret.Get(0).(func(*entity.ComponentInstanceFilter, *entity.ListOptions) []string); ok { - r0 = rf(filter, options) + if rf, ok := ret.Get(0).(func(*entity.ComponentFilter, *entity.ListOptions) []string); ok { + r0 = rf(_a0, _a1) } else { if ret.Get(0) != nil { r0 = ret.Get(0).([]string) } } - if rf, ok := ret.Get(1).(func(*entity.ComponentInstanceFilter, *entity.ListOptions) error); ok { - r1 = rf(filter, options) + if rf, ok := ret.Get(1).(func(*entity.ComponentFilter, *entity.ListOptions) error); ok { + r1 = rf(_a0, _a1) } else { r1 = ret.Error(1) } @@ -2227,31 +2227,31 @@ func (_m *MockHeureka) ListCcrns(filter *entity.ComponentInstanceFilter, options return r0, r1 } -// MockHeureka_ListCcrns_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListCcrns' -type MockHeureka_ListCcrns_Call struct { +// MockHeureka_ListComponentCcrns_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListComponentCcrns' +type MockHeureka_ListComponentCcrns_Call struct { *mock.Call } -// ListCcrns is a helper method to define mock.On call -// - filter *entity.ComponentInstanceFilter -// - options *entity.ListOptions -func (_e *MockHeureka_Expecter) ListCcrns(filter interface{}, options interface{}) *MockHeureka_ListCcrns_Call { - return &MockHeureka_ListCcrns_Call{Call: _e.mock.On("ListCcrns", filter, options)} +// ListComponentCcrns is a helper method to define mock.On call +// - _a0 *entity.ComponentFilter +// - _a1 *entity.ListOptions +func (_e *MockHeureka_Expecter) ListComponentCcrns(_a0 interface{}, _a1 interface{}) *MockHeureka_ListComponentCcrns_Call { + return &MockHeureka_ListComponentCcrns_Call{Call: _e.mock.On("ListComponentCcrns", _a0, _a1)} } -func (_c *MockHeureka_ListCcrns_Call) Run(run func(filter *entity.ComponentInstanceFilter, options *entity.ListOptions)) *MockHeureka_ListCcrns_Call { +func (_c *MockHeureka_ListComponentCcrns_Call) Run(run func(_a0 *entity.ComponentFilter, _a1 *entity.ListOptions)) *MockHeureka_ListComponentCcrns_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*entity.ComponentInstanceFilter), args[1].(*entity.ListOptions)) + run(args[0].(*entity.ComponentFilter), args[1].(*entity.ListOptions)) }) return _c } -func (_c *MockHeureka_ListCcrns_Call) Return(_a0 []string, _a1 error) *MockHeureka_ListCcrns_Call { +func (_c *MockHeureka_ListComponentCcrns_Call) Return(_a0 []string, _a1 error) *MockHeureka_ListComponentCcrns_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockHeureka_ListCcrns_Call) RunAndReturn(run func(*entity.ComponentInstanceFilter, *entity.ListOptions) ([]string, error)) *MockHeureka_ListCcrns_Call { +func (_c *MockHeureka_ListComponentCcrns_Call) RunAndReturn(run func(*entity.ComponentFilter, *entity.ListOptions) ([]string, error)) *MockHeureka_ListComponentCcrns_Call { _c.Call.Return(run) return _c } From 4db47d0733d8fe2b9a3d22d7c7a0bf8e2381f886 Mon Sep 17 00:00:00 2001 From: BlakePatterson Date: Fri, 11 Oct 2024 17:44:48 -0400 Subject: [PATCH 18/21] chore(refactor): update supportgroup to use ccrn throughout repo --- internal/mocks/mock_Database.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/mocks/mock_Database.go b/internal/mocks/mock_Database.go index c8a5ddee..18efde38 100644 --- a/internal/mocks/mock_Database.go +++ b/internal/mocks/mock_Database.go @@ -4413,8 +4413,8 @@ func (_c *MockDatabase_GetServices_Call) RunAndReturn(run func(*entity.ServiceFi return _c } -// GetServicesWithAggregations provides a mock function with given fields: _a0 -func (_m *MockDatabase) GetServicesWithAggregations(_a0 *entity.ServiceFilter) ([]entity.ServiceWithAggregations, error) { +// GetSupportGroupCcrns provides a mock function with given fields: _a0 +func (_m *MockDatabase) GetSupportGroupCcrns(_a0 *entity.SupportGroupFilter) ([]string, error) { ret := _m.Called(_a0) if len(ret) == 0 { From 6de19f3fbe52536ef282e6bd0285c9c537c659e0 Mon Sep 17 00:00:00 2001 From: BlakePatterson Date: Tue, 15 Oct 2024 15:53:35 -0400 Subject: [PATCH 19/21] chore(refactor): added ccrn field to component version --- .../graph/baseResolver/component_version.go | 1 + internal/api/graphql/graph/model/models.go | 2 ++ .../component/directRelations.graphql | 1 + .../componentInstance/directRelations.graphql | 1 + .../componentVersion/create.graphql | 1 + .../componentVersion/directRelations.graphql | 1 + .../componentVersion/minimal.graphql | 1 + .../componentVersion/update.graphql | 1 + .../graph/queryCollection/issue/full.graphql | 1 + .../graph/schema/component_version.graphqls | 3 +++ .../component_version_handler.go | 17 ++++++++++++++ .../component_version_handler_test.go | 12 ++++++++++ .../database/mariadb/component_version.go | 8 +++++++ .../mariadb/component_version_test.go | 23 +++++++++++++++++++ internal/database/mariadb/entity.go | 3 +++ internal/database/mariadb/init/schema.sql | 1 + internal/database/mariadb/test/fixture.go | 4 ++++ internal/e2e/component_version_query_test.go | 5 ++++ internal/entity/component_version.go | 2 ++ internal/entity/test/component_version.go | 1 + scanner/k8s-assets/client/generated.go | 14 +++++++++++ .../query/componentversion_create.graphql | 1 + .../query/componentversion_query.graphql | 1 + scanner/keppel/client/generated.go | 14 +++++++++++ .../query/createComponentVersion.graphql | 1 + .../query/listComponentVersions.graphql | 1 + 26 files changed, 121 insertions(+) diff --git a/internal/api/graphql/graph/baseResolver/component_version.go b/internal/api/graphql/graph/baseResolver/component_version.go index 040ad90e..fb1ac91f 100644 --- a/internal/api/graphql/graph/baseResolver/component_version.go +++ b/internal/api/graphql/graph/baseResolver/component_version.go @@ -96,6 +96,7 @@ func ComponentVersionBaseResolver(app app.Heureka, ctx context.Context, filter * f := &entity.ComponentVersionFilter{ Paginated: entity.Paginated{First: first, After: afterId}, + CCRN: filter.Ccrn, IssueId: issueId, ComponentId: componentId, ComponentCCRN: filter.ComponentCcrn, diff --git a/internal/api/graphql/graph/model/models.go b/internal/api/graphql/graph/model/models.go index 4fe2052a..25dad7e9 100644 --- a/internal/api/graphql/graph/model/models.go +++ b/internal/api/graphql/graph/model/models.go @@ -471,6 +471,7 @@ func NewComponentEntity(component *ComponentInput) entity.Component { func NewComponentVersion(componentVersion *entity.ComponentVersion) ComponentVersion { return ComponentVersion{ ID: fmt.Sprintf("%d", componentVersion.Id), + Ccrn: &componentVersion.CCRN, Version: &componentVersion.Version, ComponentID: util.Ptr(fmt.Sprintf("%d", componentVersion.ComponentId)), } @@ -482,6 +483,7 @@ func NewComponentVersionEntity(componentVersion *ComponentVersionInput) entity.C componentId = 0 } return entity.ComponentVersion{ + CCRN: lo.FromPtr(componentVersion.Ccrn), Version: lo.FromPtr(componentVersion.Version), ComponentId: componentId, } diff --git a/internal/api/graphql/graph/queryCollection/component/directRelations.graphql b/internal/api/graphql/graph/queryCollection/component/directRelations.graphql index 8d3b77e1..4e55d3fc 100644 --- a/internal/api/graphql/graph/queryCollection/component/directRelations.graphql +++ b/internal/api/graphql/graph/queryCollection/component/directRelations.graphql @@ -19,6 +19,7 @@ query ($filter: ComponentFilter, $first: Int, $after: String) { edges { node { id + ccrn version componentId } diff --git a/internal/api/graphql/graph/queryCollection/componentInstance/directRelations.graphql b/internal/api/graphql/graph/queryCollection/componentInstance/directRelations.graphql index 1ef71306..959d14c5 100644 --- a/internal/api/graphql/graph/queryCollection/componentInstance/directRelations.graphql +++ b/internal/api/graphql/graph/queryCollection/componentInstance/directRelations.graphql @@ -17,6 +17,7 @@ query ($filter: ComponentInstanceFilter, $first: Int, $after: String) { componentVersionId componentVersion { id + ccrn version componentId } diff --git a/internal/api/graphql/graph/queryCollection/componentVersion/create.graphql b/internal/api/graphql/graph/queryCollection/componentVersion/create.graphql index 9dbb643b..251af7c8 100644 --- a/internal/api/graphql/graph/queryCollection/componentVersion/create.graphql +++ b/internal/api/graphql/graph/queryCollection/componentVersion/create.graphql @@ -6,6 +6,7 @@ mutation ($input: ComponentVersionInput!) { input: $input ) { id + ccrn version componentId } diff --git a/internal/api/graphql/graph/queryCollection/componentVersion/directRelations.graphql b/internal/api/graphql/graph/queryCollection/componentVersion/directRelations.graphql index 654cf814..e6e58ec1 100644 --- a/internal/api/graphql/graph/queryCollection/componentVersion/directRelations.graphql +++ b/internal/api/graphql/graph/queryCollection/componentVersion/directRelations.graphql @@ -12,6 +12,7 @@ query ($filter: ComponentVersionFilter, $first: Int, $after: String) { edges { node { id + ccrn version componentId component { diff --git a/internal/api/graphql/graph/queryCollection/componentVersion/minimal.graphql b/internal/api/graphql/graph/queryCollection/componentVersion/minimal.graphql index 3cd8a389..e7e25f6b 100644 --- a/internal/api/graphql/graph/queryCollection/componentVersion/minimal.graphql +++ b/internal/api/graphql/graph/queryCollection/componentVersion/minimal.graphql @@ -11,6 +11,7 @@ query ($filter: ComponentVersionFilter, $first: Int, $after: String) { edges { node { id + ccrn version } cursor diff --git a/internal/api/graphql/graph/queryCollection/componentVersion/update.graphql b/internal/api/graphql/graph/queryCollection/componentVersion/update.graphql index 00928ffe..ebffb883 100644 --- a/internal/api/graphql/graph/queryCollection/componentVersion/update.graphql +++ b/internal/api/graphql/graph/queryCollection/componentVersion/update.graphql @@ -8,6 +8,7 @@ mutation ($id: ID!, $input: ComponentVersionInput!) { ) { __typename id + ccrn version componentId } diff --git a/internal/api/graphql/graph/queryCollection/issue/full.graphql b/internal/api/graphql/graph/queryCollection/issue/full.graphql index e826a032..a3f1fae7 100644 --- a/internal/api/graphql/graph/queryCollection/issue/full.graphql +++ b/internal/api/graphql/graph/queryCollection/issue/full.graphql @@ -92,6 +92,7 @@ query ($filter: IssueFilter, $first: Int, $after: String) { id componentVersion { id + ccrn version component { id diff --git a/internal/api/graphql/graph/schema/component_version.graphqls b/internal/api/graphql/graph/schema/component_version.graphqls index 597292a5..478657be 100644 --- a/internal/api/graphql/graph/schema/component_version.graphqls +++ b/internal/api/graphql/graph/schema/component_version.graphqls @@ -3,6 +3,7 @@ type ComponentVersion implements Node { id: ID! + ccrn: String version: String componentId: String component: Component @@ -11,6 +12,7 @@ type ComponentVersion implements Node { } input ComponentVersionInput { + ccrn: String version: String componentId: String } @@ -27,6 +29,7 @@ type ComponentVersionEdge implements Edge { } input ComponentVersionFilter { + ccrn: [String] componentId: [String] componentCcrn: [String] issueId: [String] diff --git a/internal/app/component_version/component_version_handler.go b/internal/app/component_version/component_version_handler.go index 47cadc33..45823503 100644 --- a/internal/app/component_version/component_version_handler.go +++ b/internal/app/component_version/component_version_handler.go @@ -6,6 +6,7 @@ package component_version import ( "errors" "fmt" + "github.com/cloudoperators/heureka/internal/app/common" "github.com/cloudoperators/heureka/internal/app/event" "github.com/cloudoperators/heureka/internal/database" @@ -109,11 +110,27 @@ func (cv *componentVersionHandler) ListComponentVersions(filter *entity.Componen } func (cv *componentVersionHandler) CreateComponentVersion(componentVersion *entity.ComponentVersion) (*entity.ComponentVersion, error) { + f := &entity.ComponentVersionFilter{ + CCRN: []*string{&componentVersion.CCRN}, + } + l := logrus.WithFields(logrus.Fields{ "event": CreateComponentVersionEventName, "object": componentVersion, + "filter": f, }) + componentVersions, err := cv.ListComponentVersions(f, &entity.ListOptions{}) + + if err != nil { + l.Error(err) + return nil, NewComponentVersionHandlerError("Internal error while creating componentVersion.") + } + + if len(componentVersions.Elements) > 0 { + return nil, NewComponentVersionHandlerError(fmt.Sprintf("Duplicated entry %s for ccrn.", componentVersion.CCRN)) + } + newComponent, err := cv.database.CreateComponentVersion(componentVersion) if err != nil { diff --git a/internal/app/component_version/component_version_handler_test.go b/internal/app/component_version/component_version_handler_test.go index 88d31e00..7a8ef290 100644 --- a/internal/app/component_version/component_version_handler_test.go +++ b/internal/app/component_version/component_version_handler_test.go @@ -103,15 +103,27 @@ var _ = Describe("When creating ComponentVersion", Label("app", "CreateComponent db *mocks.MockDatabase componenVersionService cv.ComponentVersionHandler componentVersion entity.ComponentVersion + filter *entity.ComponentVersionFilter ) BeforeEach(func() { db = mocks.NewMockDatabase(GinkgoT()) componentVersion = test.NewFakeComponentVersionEntity() + first := 10 + var after int64 + after = 0 + filter = &entity.ComponentVersionFilter{ + Paginated: entity.Paginated{ + First: &first, + After: &after, + }, + } }) It("creates componentVersion", func() { + filter.CCRN = []*string{&componentVersion.CCRN} db.On("CreateComponentVersion", &componentVersion).Return(&componentVersion, nil) + db.On("GetComponentVersions", filter).Return([]entity.ComponentVersion{}, nil) componenVersionService = cv.NewComponentVersionHandler(db, er) newComponentVersion, err := componenVersionService.CreateComponentVersion(&componentVersion) Expect(err).To(BeNil(), "no error should be thrown") diff --git a/internal/database/mariadb/component_version.go b/internal/database/mariadb/component_version.go index 8f4ec7b5..297dd7ec 100644 --- a/internal/database/mariadb/component_version.go +++ b/internal/database/mariadb/component_version.go @@ -24,6 +24,7 @@ func (s *SqlDatabase) ensureComponentVersionFilter(f *entity.ComponentVersionFil After: &after, }, Id: nil, + CCRN: nil, IssueId: nil, ComponentCCRN: nil, ComponentId: nil, @@ -51,6 +52,9 @@ func (s *SqlDatabase) getComponentVersionJoins(filter *entity.ComponentVersionFi func (s *SqlDatabase) getComponentVersionUpdateFields(componentVersion *entity.ComponentVersion) string { fl := []string{} + if componentVersion.CCRN != "" { + fl = append(fl, "componentversion_ccrn = :componentversion_ccrn") + } if componentVersion.Version != "" { fl = append(fl, "componentversion_version = :componentversion_version") } @@ -63,6 +67,7 @@ func (s *SqlDatabase) getComponentVersionUpdateFields(componentVersion *entity.C func (s *SqlDatabase) getComponentVersionFilterString(filter *entity.ComponentVersionFilter) string { var fl []string fl = append(fl, buildFilterQuery(filter.Id, "CV.componentversion_id = ?", OP_OR)) + fl = append(fl, buildFilterQuery(filter.CCRN, "CV.componentversion_ccrn = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.IssueId, "CVI.componentversionissue_issue_id = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.ComponentId, "CV.componentversion_component_id = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.Version, "CV.componentversion_version = ?", OP_OR)) @@ -112,6 +117,7 @@ func (s *SqlDatabase) buildComponentVersionStatement(baseQuery string, filter *e //adding parameters var filterParameters []interface{} filterParameters = buildQueryParameters(filterParameters, filter.Id) + filterParameters = buildQueryParameters(filterParameters, filter.CCRN) filterParameters = buildQueryParameters(filterParameters, filter.IssueId) filterParameters = buildQueryParameters(filterParameters, filter.ComponentId) filterParameters = buildQueryParameters(filterParameters, filter.Version) @@ -209,9 +215,11 @@ func (s *SqlDatabase) CreateComponentVersion(componentVersion *entity.ComponentV query := ` INSERT INTO ComponentVersion ( componentversion_component_id, + componentversion_ccrn, componentversion_version ) VALUES ( :componentversion_component_id, + :componentversion_ccrn, :componentversion_version ) ` diff --git a/internal/database/mariadb/component_version_test.go b/internal/database/mariadb/component_version_test.go index a2237a75..ceca3782 100644 --- a/internal/database/mariadb/component_version_test.go +++ b/internal/database/mariadb/component_version_test.go @@ -144,6 +144,7 @@ var _ = Describe("ComponentVersion", Label("database", "ComponentVersion"), func for _, r := range res { for _, row := range seedCollection.ComponentVersionRows { if r.Id == row.Id.Int64 { + Expect(r.CCRN).Should(BeEquivalentTo(row.CCRN.String), "CCRN should match") Expect(r.Version).Should(BeEquivalentTo(row.Version.String), "Name should match") Expect(r.CreatedAt).ShouldNot(BeEquivalentTo(row.CreatedAt.Time), "CreatedAt matches") Expect(r.UpdatedAt).ShouldNot(BeEquivalentTo(row.UpdatedAt.Time), "UpdatedAt matches") @@ -174,6 +175,25 @@ var _ = Describe("ComponentVersion", Label("database", "ComponentVersion"), func Expect(entries[0].Id).To(BeEquivalentTo(cv.Id.Int64)) }) }) + It("can filter by a single component ccrn that does exist", func() { + row := seedCollection.ComponentVersionRows[rand.Intn(len(seedCollection.ComponentVersionRows))] + filter := &entity.ComponentVersionFilter{CCRN: []*string{&row.CCRN.String}} + + entries, err := db.GetComponentVersions(filter) + + By("throwing no error", func() { + Expect(err).To(BeNil()) + }) + + By("returning expected number of results", func() { + Expect(len(entries)).To(BeEquivalentTo(1)) + }) + + By("returning expected elements", func() { + Expect(entries[0].Id).To(BeEquivalentTo(row.Id.Int64)) + }) + + }) It("can filter by an issue id", func() { issueRow := seedCollection.IssueRows[rand.Intn(len(seedCollection.IssueRows))] @@ -384,6 +404,7 @@ var _ = Describe("ComponentVersion", Label("database", "ComponentVersion"), func }) By("setting fields", func() { Expect(cv[0].Id).To(BeEquivalentTo(componentVersion.Id)) + Expect(cv[0].CCRN).To(BeEquivalentTo(componentVersion.CCRN)) Expect(cv[0].Version).To(BeEquivalentTo(componentVersion.Version)) }) }) @@ -418,6 +439,7 @@ var _ = Describe("ComponentVersion", Label("database", "ComponentVersion"), func }) By("setting fields", func() { Expect(cv[0].Id).To(BeEquivalentTo(componentVersion.Id)) + Expect(cv[0].CCRN).To(BeEquivalentTo(componentVersion.CCRN)) Expect(cv[0].Version).To(BeEquivalentTo(componentVersion.Version)) Expect(cv[0].ComponentId).To(BeEquivalentTo(componentVersion.ComponentId)) }) @@ -445,6 +467,7 @@ var _ = Describe("ComponentVersion", Label("database", "ComponentVersion"), func }) By("setting fields", func() { Expect(cv[0].Id).To(BeEquivalentTo(componentVersion.Id)) + Expect(cv[0].CCRN).To(BeEquivalentTo(componentVersion.CCRN)) Expect(cv[0].Version).To(BeEquivalentTo(componentVersion.Version)) Expect(cv[0].ComponentId).To(BeEquivalentTo(componentVersion.ComponentId)) }) diff --git a/internal/database/mariadb/entity.go b/internal/database/mariadb/entity.go index c03c5577..9355a873 100644 --- a/internal/database/mariadb/entity.go +++ b/internal/database/mariadb/entity.go @@ -424,6 +424,7 @@ func (cr *ComponentRow) FromComponent(c *entity.Component) { type ComponentVersionRow struct { Id sql.NullInt64 `db:"componentversion_id" json:"id"` + CCRN sql.NullString `db:"componentversion_ccrn" json:"ccrn"` Version sql.NullString `db:"componentversion_version" json:"version"` ComponentId sql.NullInt64 `db:"componentversion_component_id"` CreatedAt sql.NullTime `db:"componentversion_created_at" json:"created_at"` @@ -434,6 +435,7 @@ type ComponentVersionRow struct { func (cvr *ComponentVersionRow) AsComponentVersion() entity.ComponentVersion { return entity.ComponentVersion{ Id: GetInt64Value(cvr.Id), + CCRN: GetStringValue(cvr.CCRN), Version: GetStringValue(cvr.Version), ComponentId: GetInt64Value(cvr.ComponentId), CreatedAt: GetTimeValue(cvr.CreatedAt), @@ -444,6 +446,7 @@ func (cvr *ComponentVersionRow) AsComponentVersion() entity.ComponentVersion { func (cvr *ComponentVersionRow) FromComponentVersion(cv *entity.ComponentVersion) { cvr.Id = sql.NullInt64{Int64: cv.Id, Valid: true} + cvr.CCRN = sql.NullString{String: cv.CCRN, Valid: true} cvr.Version = sql.NullString{String: cv.Version, Valid: true} cvr.ComponentId = sql.NullInt64{Int64: cv.ComponentId, Valid: true} cvr.CreatedAt = sql.NullTime{Time: cv.CreatedAt, Valid: true} diff --git a/internal/database/mariadb/init/schema.sql b/internal/database/mariadb/init/schema.sql index c8b59885..099a3aa9 100644 --- a/internal/database/mariadb/init/schema.sql +++ b/internal/database/mariadb/init/schema.sql @@ -24,6 +24,7 @@ create table if not exists ComponentVersion ( componentversion_id int unsigned auto_increment primary key, + componentversion_ccrn varchar(256) not null, componentversion_version varchar(256) not null, componentversion_component_id int unsigned not null, componentversion_created_at timestamp default current_timestamp() not null, diff --git a/internal/database/mariadb/test/fixture.go b/internal/database/mariadb/test/fixture.go index e4e36ef3..3bc412ba 100644 --- a/internal/database/mariadb/test/fixture.go +++ b/internal/database/mariadb/test/fixture.go @@ -939,9 +939,11 @@ func (s *DatabaseSeeder) InsertFakeComponent(component mariadb.ComponentRow) (in func (s *DatabaseSeeder) InsertFakeComponentVersion(cv mariadb.ComponentVersionRow) (int64, error) { query := ` INSERT INTO ComponentVersion ( + componentversion_ccrn, componentversion_version, componentversion_component_id ) VALUES ( + :componentversion_ccrn, :componentversion_version, :componentversion_component_id )` @@ -1195,7 +1197,9 @@ func NewFakeComponent() mariadb.ComponentRow { } func NewFakeComponentVersion() mariadb.ComponentVersionRow { + ccrn := fmt.Sprintf("%s-%d", gofakeit.AppName(), gofakeit.Number(0, 99999)) return mariadb.ComponentVersionRow{ + CCRN: sql.NullString{String: ccrn, Valid: true}, Version: sql.NullString{String: gofakeit.AppVersion(), Valid: true}, } } diff --git a/internal/e2e/component_version_query_test.go b/internal/e2e/component_version_query_test.go index b59e73e0..b6c4ed63 100644 --- a/internal/e2e/component_version_query_test.go +++ b/internal/e2e/component_version_query_test.go @@ -236,6 +236,7 @@ var _ = Describe("Creating ComponentVersion via API", Label("e2e", "ComponentVer req := graphql.NewRequest(str) req.Var("input", map[string]string{ + "ccrn": componentVersion.CCRN, "version": componentVersion.Version, "componentId": fmt.Sprintf("%d", componentId), }) @@ -250,6 +251,7 @@ var _ = Describe("Creating ComponentVersion via API", Label("e2e", "ComponentVer logrus.WithError(err).WithField("request", req).Fatalln("Error while unmarshaling") } + Expect(*respData.ComponentVersion.Ccrn).To(Equal(componentVersion.CCRN)) Expect(*respData.ComponentVersion.Version).To(Equal(componentVersion.Version)) Expect(*respData.ComponentVersion.ComponentID).To(Equal(fmt.Sprintf("%d", componentId))) }) @@ -300,10 +302,12 @@ var _ = Describe("Updating ComponentVersion via API", Label("e2e", "ComponentVer req := graphql.NewRequest(str) componentVersion := seedCollection.ComponentVersionRows[0].AsComponentVersion() + componentVersion.CCRN = "NewCCRN" componentVersion.Version = "4.2.0" req.Var("id", fmt.Sprintf("%d", componentVersion.Id)) req.Var("input", map[string]string{ + "ccrn": componentVersion.CCRN, "version": componentVersion.Version, }) @@ -317,6 +321,7 @@ var _ = Describe("Updating ComponentVersion via API", Label("e2e", "ComponentVer logrus.WithError(err).WithField("request", req).Fatalln("Error while unmarshaling") } + Expect(*respData.ComponentVersion.Ccrn).To(Equal(componentVersion.CCRN)) Expect(*respData.ComponentVersion.Version).To(Equal(componentVersion.Version)) }) }) diff --git a/internal/entity/component_version.go b/internal/entity/component_version.go index 6ea5d88b..54fe76ae 100644 --- a/internal/entity/component_version.go +++ b/internal/entity/component_version.go @@ -8,6 +8,7 @@ import "time" type ComponentVersionFilter struct { Paginated Id []*int64 `json:"id"` + CCRN []*string `json:"ccrn"` IssueId []*int64 `json:"issue_id"` ComponentCCRN []*string `json:"component_ccrn"` ComponentId []*int64 `json:"component_id"` @@ -24,6 +25,7 @@ type ComponentVersionResult struct { type ComponentVersion struct { Id int64 `json:"id"` + CCRN string `json:"ccrn"` Version string `json:"version"` Component *Component `json:"component,omitempty"` ComponentId int64 `db:"componentversion_component_id"` diff --git a/internal/entity/test/component_version.go b/internal/entity/test/component_version.go index a44b32a3..aca6665f 100644 --- a/internal/entity/test/component_version.go +++ b/internal/entity/test/component_version.go @@ -11,6 +11,7 @@ import ( func NewFakeComponentVersionEntity() entity.ComponentVersion { return entity.ComponentVersion{ Id: int64(gofakeit.Number(1, 10000000)), + CCRN: gofakeit.Name(), Version: gofakeit.AppVersion(), ComponentId: 0, ComponentInstances: nil, diff --git a/scanner/k8s-assets/client/generated.go b/scanner/k8s-assets/client/generated.go index 3f7c7ff4..eac4754c 100644 --- a/scanner/k8s-assets/client/generated.go +++ b/scanner/k8s-assets/client/generated.go @@ -148,6 +148,7 @@ const ( // ComponentVersion includes the requested fields of the GraphQL type ComponentVersion. type ComponentVersion struct { Id string `json:"id"` + Ccrn string `json:"ccrn"` Version string `json:"version"` ComponentId string `json:"componentId"` } @@ -155,6 +156,9 @@ type ComponentVersion struct { // GetId returns ComponentVersion.Id, and is useful for accessing the field via an interface. func (v *ComponentVersion) GetId() string { return v.Id } +// GetCcrn returns ComponentVersion.Ccrn, and is useful for accessing the field via an interface. +func (v *ComponentVersion) GetCcrn() string { return v.Ccrn } + // GetVersion returns ComponentVersion.Version, and is useful for accessing the field via an interface. func (v *ComponentVersion) GetVersion() string { return v.Version } @@ -186,12 +190,16 @@ func (v *ComponentVersionConnectionEdgesComponentVersionEdge) GetNode() *Compone } type ComponentVersionFilter struct { + Ccrn []string `json:"ccrn"` ComponentId []string `json:"componentId"` ComponentCcrn []string `json:"componentCcrn"` IssueId []string `json:"issueId"` Version []string `json:"version"` } +// GetCcrn returns ComponentVersionFilter.Ccrn, and is useful for accessing the field via an interface. +func (v *ComponentVersionFilter) GetCcrn() []string { return v.Ccrn } + // GetComponentId returns ComponentVersionFilter.ComponentId, and is useful for accessing the field via an interface. func (v *ComponentVersionFilter) GetComponentId() []string { return v.ComponentId } @@ -205,10 +213,14 @@ func (v *ComponentVersionFilter) GetIssueId() []string { return v.IssueId } func (v *ComponentVersionFilter) GetVersion() []string { return v.Version } type ComponentVersionInput struct { + Ccrn string `json:"ccrn"` Version string `json:"version"` ComponentId string `json:"componentId"` } +// GetCcrn returns ComponentVersionInput.Ccrn, and is useful for accessing the field via an interface. +func (v *ComponentVersionInput) GetCcrn() string { return v.Ccrn } + // GetVersion returns ComponentVersionInput.Version, and is useful for accessing the field via an interface. func (v *ComponentVersionInput) GetVersion() string { return v.Version } @@ -702,6 +714,7 @@ const CreateComponentVersion_Operation = ` mutation CreateComponentVersion ($input: ComponentVersionInput!) { createComponentVersion(input: $input) { id + ccrn version componentId } @@ -854,6 +867,7 @@ query ListComponentVersions ($filter: ComponentVersionFilter) { edges { node { id + ccrn version componentId } diff --git a/scanner/k8s-assets/client/query/componentversion_create.graphql b/scanner/k8s-assets/client/query/componentversion_create.graphql index 215cd0ae..8f7b7324 100644 --- a/scanner/k8s-assets/client/query/componentversion_create.graphql +++ b/scanner/k8s-assets/client/query/componentversion_create.graphql @@ -7,6 +7,7 @@ mutation CreateComponentVersion($input: ComponentVersionInput!) { input: $input ) { id + ccrn version componentId } diff --git a/scanner/k8s-assets/client/query/componentversion_query.graphql b/scanner/k8s-assets/client/query/componentversion_query.graphql index 5f9288ed..5a303dc5 100644 --- a/scanner/k8s-assets/client/query/componentversion_query.graphql +++ b/scanner/k8s-assets/client/query/componentversion_query.graphql @@ -11,6 +11,7 @@ query ListComponentVersions($filter: ComponentVersionFilter) { # @genqlient(typename: "ComponentVersion") node { id + ccrn version componentId } diff --git a/scanner/keppel/client/generated.go b/scanner/keppel/client/generated.go index b6a680fa..fd17078c 100644 --- a/scanner/keppel/client/generated.go +++ b/scanner/keppel/client/generated.go @@ -110,6 +110,7 @@ const ( // ComponentVersion includes the requested fields of the GraphQL type ComponentVersion. type ComponentVersion struct { Id string `json:"id"` + Ccrn string `json:"ccrn"` Version string `json:"version"` ComponentId string `json:"componentId"` } @@ -117,6 +118,9 @@ type ComponentVersion struct { // GetId returns ComponentVersion.Id, and is useful for accessing the field via an interface. func (v *ComponentVersion) GetId() string { return v.Id } +// GetCcrn returns ComponentVersion.Ccrn, and is useful for accessing the field via an interface. +func (v *ComponentVersion) GetCcrn() string { return v.Ccrn } + // GetVersion returns ComponentVersion.Version, and is useful for accessing the field via an interface. func (v *ComponentVersion) GetVersion() string { return v.Version } @@ -144,12 +148,16 @@ func (v *ComponentVersionConnectionEdgesComponentVersionEdge) GetNode() *Compone } type ComponentVersionFilter struct { + Ccrn []string `json:"ccrn"` ComponentId []string `json:"componentId"` ComponentCcrn []string `json:"componentCcrn"` IssueId []string `json:"issueId"` Version []string `json:"version"` } +// GetCcrn returns ComponentVersionFilter.Ccrn, and is useful for accessing the field via an interface. +func (v *ComponentVersionFilter) GetCcrn() []string { return v.Ccrn } + // GetComponentId returns ComponentVersionFilter.ComponentId, and is useful for accessing the field via an interface. func (v *ComponentVersionFilter) GetComponentId() []string { return v.ComponentId } @@ -163,10 +171,14 @@ func (v *ComponentVersionFilter) GetIssueId() []string { return v.IssueId } func (v *ComponentVersionFilter) GetVersion() []string { return v.Version } type ComponentVersionInput struct { + Ccrn string `json:"ccrn"` Version string `json:"version"` ComponentId string `json:"componentId"` } +// GetCcrn returns ComponentVersionInput.Ccrn, and is useful for accessing the field via an interface. +func (v *ComponentVersionInput) GetCcrn() string { return v.Ccrn } + // GetVersion returns ComponentVersionInput.Version, and is useful for accessing the field via an interface. func (v *ComponentVersionInput) GetVersion() string { return v.Version } @@ -492,6 +504,7 @@ const CreateComponentVersion_Operation = ` mutation CreateComponentVersion ($input: ComponentVersionInput!) { createComponentVersion(input: $input) { id + ccrn version componentId } @@ -569,6 +582,7 @@ query ListComponentVersions ($filter: ComponentVersionFilter) { edges { node { id + ccrn version componentId } diff --git a/scanner/keppel/client/query/createComponentVersion.graphql b/scanner/keppel/client/query/createComponentVersion.graphql index 215cd0ae..8f7b7324 100644 --- a/scanner/keppel/client/query/createComponentVersion.graphql +++ b/scanner/keppel/client/query/createComponentVersion.graphql @@ -7,6 +7,7 @@ mutation CreateComponentVersion($input: ComponentVersionInput!) { input: $input ) { id + ccrn version componentId } diff --git a/scanner/keppel/client/query/listComponentVersions.graphql b/scanner/keppel/client/query/listComponentVersions.graphql index 4799a750..c83051a7 100644 --- a/scanner/keppel/client/query/listComponentVersions.graphql +++ b/scanner/keppel/client/query/listComponentVersions.graphql @@ -10,6 +10,7 @@ query ListComponentVersions($filter: ComponentVersionFilter) { # @genqlient(typename: "ComponentVersion") node { id + ccrn version componentId } From d2a0bdbc09c2da97c5ef253ea66c7cf666f9644d Mon Sep 17 00:00:00 2001 From: BlakePatterson Date: Tue, 22 Oct 2024 08:15:43 -0400 Subject: [PATCH 20/21] chore(refactor): revert changes to component version with ccrn This reverts commit 0b4b38615bf0ec07255ec7e3370d0149c3ba55e1. --- .../graph/baseResolver/component_version.go | 1 - internal/api/graphql/graph/model/models.go | 2 -- .../component/directRelations.graphql | 1 - .../componentInstance/directRelations.graphql | 1 - .../componentVersion/create.graphql | 1 - .../componentVersion/directRelations.graphql | 1 - .../componentVersion/minimal.graphql | 1 - .../componentVersion/update.graphql | 1 - .../graph/queryCollection/issue/full.graphql | 1 - .../graph/schema/component_version.graphqls | 3 --- .../component_version_handler.go | 17 -------------- .../component_version_handler_test.go | 12 ---------- .../database/mariadb/component_version.go | 8 ------- .../mariadb/component_version_test.go | 23 ------------------- internal/database/mariadb/entity.go | 3 --- internal/database/mariadb/init/schema.sql | 1 - internal/database/mariadb/test/fixture.go | 4 ---- internal/e2e/component_version_query_test.go | 5 ---- internal/entity/component_version.go | 2 -- internal/entity/test/component_version.go | 1 - scanner/k8s-assets/client/generated.go | 14 ----------- .../query/componentversion_create.graphql | 1 - .../query/componentversion_query.graphql | 1 - scanner/keppel/client/generated.go | 14 ----------- .../query/createComponentVersion.graphql | 1 - .../query/listComponentVersions.graphql | 1 - 26 files changed, 121 deletions(-) diff --git a/internal/api/graphql/graph/baseResolver/component_version.go b/internal/api/graphql/graph/baseResolver/component_version.go index fb1ac91f..040ad90e 100644 --- a/internal/api/graphql/graph/baseResolver/component_version.go +++ b/internal/api/graphql/graph/baseResolver/component_version.go @@ -96,7 +96,6 @@ func ComponentVersionBaseResolver(app app.Heureka, ctx context.Context, filter * f := &entity.ComponentVersionFilter{ Paginated: entity.Paginated{First: first, After: afterId}, - CCRN: filter.Ccrn, IssueId: issueId, ComponentId: componentId, ComponentCCRN: filter.ComponentCcrn, diff --git a/internal/api/graphql/graph/model/models.go b/internal/api/graphql/graph/model/models.go index 25dad7e9..4fe2052a 100644 --- a/internal/api/graphql/graph/model/models.go +++ b/internal/api/graphql/graph/model/models.go @@ -471,7 +471,6 @@ func NewComponentEntity(component *ComponentInput) entity.Component { func NewComponentVersion(componentVersion *entity.ComponentVersion) ComponentVersion { return ComponentVersion{ ID: fmt.Sprintf("%d", componentVersion.Id), - Ccrn: &componentVersion.CCRN, Version: &componentVersion.Version, ComponentID: util.Ptr(fmt.Sprintf("%d", componentVersion.ComponentId)), } @@ -483,7 +482,6 @@ func NewComponentVersionEntity(componentVersion *ComponentVersionInput) entity.C componentId = 0 } return entity.ComponentVersion{ - CCRN: lo.FromPtr(componentVersion.Ccrn), Version: lo.FromPtr(componentVersion.Version), ComponentId: componentId, } diff --git a/internal/api/graphql/graph/queryCollection/component/directRelations.graphql b/internal/api/graphql/graph/queryCollection/component/directRelations.graphql index 4e55d3fc..8d3b77e1 100644 --- a/internal/api/graphql/graph/queryCollection/component/directRelations.graphql +++ b/internal/api/graphql/graph/queryCollection/component/directRelations.graphql @@ -19,7 +19,6 @@ query ($filter: ComponentFilter, $first: Int, $after: String) { edges { node { id - ccrn version componentId } diff --git a/internal/api/graphql/graph/queryCollection/componentInstance/directRelations.graphql b/internal/api/graphql/graph/queryCollection/componentInstance/directRelations.graphql index 959d14c5..1ef71306 100644 --- a/internal/api/graphql/graph/queryCollection/componentInstance/directRelations.graphql +++ b/internal/api/graphql/graph/queryCollection/componentInstance/directRelations.graphql @@ -17,7 +17,6 @@ query ($filter: ComponentInstanceFilter, $first: Int, $after: String) { componentVersionId componentVersion { id - ccrn version componentId } diff --git a/internal/api/graphql/graph/queryCollection/componentVersion/create.graphql b/internal/api/graphql/graph/queryCollection/componentVersion/create.graphql index 251af7c8..9dbb643b 100644 --- a/internal/api/graphql/graph/queryCollection/componentVersion/create.graphql +++ b/internal/api/graphql/graph/queryCollection/componentVersion/create.graphql @@ -6,7 +6,6 @@ mutation ($input: ComponentVersionInput!) { input: $input ) { id - ccrn version componentId } diff --git a/internal/api/graphql/graph/queryCollection/componentVersion/directRelations.graphql b/internal/api/graphql/graph/queryCollection/componentVersion/directRelations.graphql index e6e58ec1..654cf814 100644 --- a/internal/api/graphql/graph/queryCollection/componentVersion/directRelations.graphql +++ b/internal/api/graphql/graph/queryCollection/componentVersion/directRelations.graphql @@ -12,7 +12,6 @@ query ($filter: ComponentVersionFilter, $first: Int, $after: String) { edges { node { id - ccrn version componentId component { diff --git a/internal/api/graphql/graph/queryCollection/componentVersion/minimal.graphql b/internal/api/graphql/graph/queryCollection/componentVersion/minimal.graphql index e7e25f6b..3cd8a389 100644 --- a/internal/api/graphql/graph/queryCollection/componentVersion/minimal.graphql +++ b/internal/api/graphql/graph/queryCollection/componentVersion/minimal.graphql @@ -11,7 +11,6 @@ query ($filter: ComponentVersionFilter, $first: Int, $after: String) { edges { node { id - ccrn version } cursor diff --git a/internal/api/graphql/graph/queryCollection/componentVersion/update.graphql b/internal/api/graphql/graph/queryCollection/componentVersion/update.graphql index ebffb883..00928ffe 100644 --- a/internal/api/graphql/graph/queryCollection/componentVersion/update.graphql +++ b/internal/api/graphql/graph/queryCollection/componentVersion/update.graphql @@ -8,7 +8,6 @@ mutation ($id: ID!, $input: ComponentVersionInput!) { ) { __typename id - ccrn version componentId } diff --git a/internal/api/graphql/graph/queryCollection/issue/full.graphql b/internal/api/graphql/graph/queryCollection/issue/full.graphql index a3f1fae7..e826a032 100644 --- a/internal/api/graphql/graph/queryCollection/issue/full.graphql +++ b/internal/api/graphql/graph/queryCollection/issue/full.graphql @@ -92,7 +92,6 @@ query ($filter: IssueFilter, $first: Int, $after: String) { id componentVersion { id - ccrn version component { id diff --git a/internal/api/graphql/graph/schema/component_version.graphqls b/internal/api/graphql/graph/schema/component_version.graphqls index 478657be..597292a5 100644 --- a/internal/api/graphql/graph/schema/component_version.graphqls +++ b/internal/api/graphql/graph/schema/component_version.graphqls @@ -3,7 +3,6 @@ type ComponentVersion implements Node { id: ID! - ccrn: String version: String componentId: String component: Component @@ -12,7 +11,6 @@ type ComponentVersion implements Node { } input ComponentVersionInput { - ccrn: String version: String componentId: String } @@ -29,7 +27,6 @@ type ComponentVersionEdge implements Edge { } input ComponentVersionFilter { - ccrn: [String] componentId: [String] componentCcrn: [String] issueId: [String] diff --git a/internal/app/component_version/component_version_handler.go b/internal/app/component_version/component_version_handler.go index 45823503..47cadc33 100644 --- a/internal/app/component_version/component_version_handler.go +++ b/internal/app/component_version/component_version_handler.go @@ -6,7 +6,6 @@ package component_version import ( "errors" "fmt" - "github.com/cloudoperators/heureka/internal/app/common" "github.com/cloudoperators/heureka/internal/app/event" "github.com/cloudoperators/heureka/internal/database" @@ -110,27 +109,11 @@ func (cv *componentVersionHandler) ListComponentVersions(filter *entity.Componen } func (cv *componentVersionHandler) CreateComponentVersion(componentVersion *entity.ComponentVersion) (*entity.ComponentVersion, error) { - f := &entity.ComponentVersionFilter{ - CCRN: []*string{&componentVersion.CCRN}, - } - l := logrus.WithFields(logrus.Fields{ "event": CreateComponentVersionEventName, "object": componentVersion, - "filter": f, }) - componentVersions, err := cv.ListComponentVersions(f, &entity.ListOptions{}) - - if err != nil { - l.Error(err) - return nil, NewComponentVersionHandlerError("Internal error while creating componentVersion.") - } - - if len(componentVersions.Elements) > 0 { - return nil, NewComponentVersionHandlerError(fmt.Sprintf("Duplicated entry %s for ccrn.", componentVersion.CCRN)) - } - newComponent, err := cv.database.CreateComponentVersion(componentVersion) if err != nil { diff --git a/internal/app/component_version/component_version_handler_test.go b/internal/app/component_version/component_version_handler_test.go index 7a8ef290..88d31e00 100644 --- a/internal/app/component_version/component_version_handler_test.go +++ b/internal/app/component_version/component_version_handler_test.go @@ -103,27 +103,15 @@ var _ = Describe("When creating ComponentVersion", Label("app", "CreateComponent db *mocks.MockDatabase componenVersionService cv.ComponentVersionHandler componentVersion entity.ComponentVersion - filter *entity.ComponentVersionFilter ) BeforeEach(func() { db = mocks.NewMockDatabase(GinkgoT()) componentVersion = test.NewFakeComponentVersionEntity() - first := 10 - var after int64 - after = 0 - filter = &entity.ComponentVersionFilter{ - Paginated: entity.Paginated{ - First: &first, - After: &after, - }, - } }) It("creates componentVersion", func() { - filter.CCRN = []*string{&componentVersion.CCRN} db.On("CreateComponentVersion", &componentVersion).Return(&componentVersion, nil) - db.On("GetComponentVersions", filter).Return([]entity.ComponentVersion{}, nil) componenVersionService = cv.NewComponentVersionHandler(db, er) newComponentVersion, err := componenVersionService.CreateComponentVersion(&componentVersion) Expect(err).To(BeNil(), "no error should be thrown") diff --git a/internal/database/mariadb/component_version.go b/internal/database/mariadb/component_version.go index 297dd7ec..8f4ec7b5 100644 --- a/internal/database/mariadb/component_version.go +++ b/internal/database/mariadb/component_version.go @@ -24,7 +24,6 @@ func (s *SqlDatabase) ensureComponentVersionFilter(f *entity.ComponentVersionFil After: &after, }, Id: nil, - CCRN: nil, IssueId: nil, ComponentCCRN: nil, ComponentId: nil, @@ -52,9 +51,6 @@ func (s *SqlDatabase) getComponentVersionJoins(filter *entity.ComponentVersionFi func (s *SqlDatabase) getComponentVersionUpdateFields(componentVersion *entity.ComponentVersion) string { fl := []string{} - if componentVersion.CCRN != "" { - fl = append(fl, "componentversion_ccrn = :componentversion_ccrn") - } if componentVersion.Version != "" { fl = append(fl, "componentversion_version = :componentversion_version") } @@ -67,7 +63,6 @@ func (s *SqlDatabase) getComponentVersionUpdateFields(componentVersion *entity.C func (s *SqlDatabase) getComponentVersionFilterString(filter *entity.ComponentVersionFilter) string { var fl []string fl = append(fl, buildFilterQuery(filter.Id, "CV.componentversion_id = ?", OP_OR)) - fl = append(fl, buildFilterQuery(filter.CCRN, "CV.componentversion_ccrn = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.IssueId, "CVI.componentversionissue_issue_id = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.ComponentId, "CV.componentversion_component_id = ?", OP_OR)) fl = append(fl, buildFilterQuery(filter.Version, "CV.componentversion_version = ?", OP_OR)) @@ -117,7 +112,6 @@ func (s *SqlDatabase) buildComponentVersionStatement(baseQuery string, filter *e //adding parameters var filterParameters []interface{} filterParameters = buildQueryParameters(filterParameters, filter.Id) - filterParameters = buildQueryParameters(filterParameters, filter.CCRN) filterParameters = buildQueryParameters(filterParameters, filter.IssueId) filterParameters = buildQueryParameters(filterParameters, filter.ComponentId) filterParameters = buildQueryParameters(filterParameters, filter.Version) @@ -215,11 +209,9 @@ func (s *SqlDatabase) CreateComponentVersion(componentVersion *entity.ComponentV query := ` INSERT INTO ComponentVersion ( componentversion_component_id, - componentversion_ccrn, componentversion_version ) VALUES ( :componentversion_component_id, - :componentversion_ccrn, :componentversion_version ) ` diff --git a/internal/database/mariadb/component_version_test.go b/internal/database/mariadb/component_version_test.go index ceca3782..a2237a75 100644 --- a/internal/database/mariadb/component_version_test.go +++ b/internal/database/mariadb/component_version_test.go @@ -144,7 +144,6 @@ var _ = Describe("ComponentVersion", Label("database", "ComponentVersion"), func for _, r := range res { for _, row := range seedCollection.ComponentVersionRows { if r.Id == row.Id.Int64 { - Expect(r.CCRN).Should(BeEquivalentTo(row.CCRN.String), "CCRN should match") Expect(r.Version).Should(BeEquivalentTo(row.Version.String), "Name should match") Expect(r.CreatedAt).ShouldNot(BeEquivalentTo(row.CreatedAt.Time), "CreatedAt matches") Expect(r.UpdatedAt).ShouldNot(BeEquivalentTo(row.UpdatedAt.Time), "UpdatedAt matches") @@ -175,25 +174,6 @@ var _ = Describe("ComponentVersion", Label("database", "ComponentVersion"), func Expect(entries[0].Id).To(BeEquivalentTo(cv.Id.Int64)) }) }) - It("can filter by a single component ccrn that does exist", func() { - row := seedCollection.ComponentVersionRows[rand.Intn(len(seedCollection.ComponentVersionRows))] - filter := &entity.ComponentVersionFilter{CCRN: []*string{&row.CCRN.String}} - - entries, err := db.GetComponentVersions(filter) - - By("throwing no error", func() { - Expect(err).To(BeNil()) - }) - - By("returning expected number of results", func() { - Expect(len(entries)).To(BeEquivalentTo(1)) - }) - - By("returning expected elements", func() { - Expect(entries[0].Id).To(BeEquivalentTo(row.Id.Int64)) - }) - - }) It("can filter by an issue id", func() { issueRow := seedCollection.IssueRows[rand.Intn(len(seedCollection.IssueRows))] @@ -404,7 +384,6 @@ var _ = Describe("ComponentVersion", Label("database", "ComponentVersion"), func }) By("setting fields", func() { Expect(cv[0].Id).To(BeEquivalentTo(componentVersion.Id)) - Expect(cv[0].CCRN).To(BeEquivalentTo(componentVersion.CCRN)) Expect(cv[0].Version).To(BeEquivalentTo(componentVersion.Version)) }) }) @@ -439,7 +418,6 @@ var _ = Describe("ComponentVersion", Label("database", "ComponentVersion"), func }) By("setting fields", func() { Expect(cv[0].Id).To(BeEquivalentTo(componentVersion.Id)) - Expect(cv[0].CCRN).To(BeEquivalentTo(componentVersion.CCRN)) Expect(cv[0].Version).To(BeEquivalentTo(componentVersion.Version)) Expect(cv[0].ComponentId).To(BeEquivalentTo(componentVersion.ComponentId)) }) @@ -467,7 +445,6 @@ var _ = Describe("ComponentVersion", Label("database", "ComponentVersion"), func }) By("setting fields", func() { Expect(cv[0].Id).To(BeEquivalentTo(componentVersion.Id)) - Expect(cv[0].CCRN).To(BeEquivalentTo(componentVersion.CCRN)) Expect(cv[0].Version).To(BeEquivalentTo(componentVersion.Version)) Expect(cv[0].ComponentId).To(BeEquivalentTo(componentVersion.ComponentId)) }) diff --git a/internal/database/mariadb/entity.go b/internal/database/mariadb/entity.go index 9355a873..c03c5577 100644 --- a/internal/database/mariadb/entity.go +++ b/internal/database/mariadb/entity.go @@ -424,7 +424,6 @@ func (cr *ComponentRow) FromComponent(c *entity.Component) { type ComponentVersionRow struct { Id sql.NullInt64 `db:"componentversion_id" json:"id"` - CCRN sql.NullString `db:"componentversion_ccrn" json:"ccrn"` Version sql.NullString `db:"componentversion_version" json:"version"` ComponentId sql.NullInt64 `db:"componentversion_component_id"` CreatedAt sql.NullTime `db:"componentversion_created_at" json:"created_at"` @@ -435,7 +434,6 @@ type ComponentVersionRow struct { func (cvr *ComponentVersionRow) AsComponentVersion() entity.ComponentVersion { return entity.ComponentVersion{ Id: GetInt64Value(cvr.Id), - CCRN: GetStringValue(cvr.CCRN), Version: GetStringValue(cvr.Version), ComponentId: GetInt64Value(cvr.ComponentId), CreatedAt: GetTimeValue(cvr.CreatedAt), @@ -446,7 +444,6 @@ func (cvr *ComponentVersionRow) AsComponentVersion() entity.ComponentVersion { func (cvr *ComponentVersionRow) FromComponentVersion(cv *entity.ComponentVersion) { cvr.Id = sql.NullInt64{Int64: cv.Id, Valid: true} - cvr.CCRN = sql.NullString{String: cv.CCRN, Valid: true} cvr.Version = sql.NullString{String: cv.Version, Valid: true} cvr.ComponentId = sql.NullInt64{Int64: cv.ComponentId, Valid: true} cvr.CreatedAt = sql.NullTime{Time: cv.CreatedAt, Valid: true} diff --git a/internal/database/mariadb/init/schema.sql b/internal/database/mariadb/init/schema.sql index 099a3aa9..c8b59885 100644 --- a/internal/database/mariadb/init/schema.sql +++ b/internal/database/mariadb/init/schema.sql @@ -24,7 +24,6 @@ create table if not exists ComponentVersion ( componentversion_id int unsigned auto_increment primary key, - componentversion_ccrn varchar(256) not null, componentversion_version varchar(256) not null, componentversion_component_id int unsigned not null, componentversion_created_at timestamp default current_timestamp() not null, diff --git a/internal/database/mariadb/test/fixture.go b/internal/database/mariadb/test/fixture.go index 3bc412ba..e4e36ef3 100644 --- a/internal/database/mariadb/test/fixture.go +++ b/internal/database/mariadb/test/fixture.go @@ -939,11 +939,9 @@ func (s *DatabaseSeeder) InsertFakeComponent(component mariadb.ComponentRow) (in func (s *DatabaseSeeder) InsertFakeComponentVersion(cv mariadb.ComponentVersionRow) (int64, error) { query := ` INSERT INTO ComponentVersion ( - componentversion_ccrn, componentversion_version, componentversion_component_id ) VALUES ( - :componentversion_ccrn, :componentversion_version, :componentversion_component_id )` @@ -1197,9 +1195,7 @@ func NewFakeComponent() mariadb.ComponentRow { } func NewFakeComponentVersion() mariadb.ComponentVersionRow { - ccrn := fmt.Sprintf("%s-%d", gofakeit.AppName(), gofakeit.Number(0, 99999)) return mariadb.ComponentVersionRow{ - CCRN: sql.NullString{String: ccrn, Valid: true}, Version: sql.NullString{String: gofakeit.AppVersion(), Valid: true}, } } diff --git a/internal/e2e/component_version_query_test.go b/internal/e2e/component_version_query_test.go index b6c4ed63..b59e73e0 100644 --- a/internal/e2e/component_version_query_test.go +++ b/internal/e2e/component_version_query_test.go @@ -236,7 +236,6 @@ var _ = Describe("Creating ComponentVersion via API", Label("e2e", "ComponentVer req := graphql.NewRequest(str) req.Var("input", map[string]string{ - "ccrn": componentVersion.CCRN, "version": componentVersion.Version, "componentId": fmt.Sprintf("%d", componentId), }) @@ -251,7 +250,6 @@ var _ = Describe("Creating ComponentVersion via API", Label("e2e", "ComponentVer logrus.WithError(err).WithField("request", req).Fatalln("Error while unmarshaling") } - Expect(*respData.ComponentVersion.Ccrn).To(Equal(componentVersion.CCRN)) Expect(*respData.ComponentVersion.Version).To(Equal(componentVersion.Version)) Expect(*respData.ComponentVersion.ComponentID).To(Equal(fmt.Sprintf("%d", componentId))) }) @@ -302,12 +300,10 @@ var _ = Describe("Updating ComponentVersion via API", Label("e2e", "ComponentVer req := graphql.NewRequest(str) componentVersion := seedCollection.ComponentVersionRows[0].AsComponentVersion() - componentVersion.CCRN = "NewCCRN" componentVersion.Version = "4.2.0" req.Var("id", fmt.Sprintf("%d", componentVersion.Id)) req.Var("input", map[string]string{ - "ccrn": componentVersion.CCRN, "version": componentVersion.Version, }) @@ -321,7 +317,6 @@ var _ = Describe("Updating ComponentVersion via API", Label("e2e", "ComponentVer logrus.WithError(err).WithField("request", req).Fatalln("Error while unmarshaling") } - Expect(*respData.ComponentVersion.Ccrn).To(Equal(componentVersion.CCRN)) Expect(*respData.ComponentVersion.Version).To(Equal(componentVersion.Version)) }) }) diff --git a/internal/entity/component_version.go b/internal/entity/component_version.go index 54fe76ae..6ea5d88b 100644 --- a/internal/entity/component_version.go +++ b/internal/entity/component_version.go @@ -8,7 +8,6 @@ import "time" type ComponentVersionFilter struct { Paginated Id []*int64 `json:"id"` - CCRN []*string `json:"ccrn"` IssueId []*int64 `json:"issue_id"` ComponentCCRN []*string `json:"component_ccrn"` ComponentId []*int64 `json:"component_id"` @@ -25,7 +24,6 @@ type ComponentVersionResult struct { type ComponentVersion struct { Id int64 `json:"id"` - CCRN string `json:"ccrn"` Version string `json:"version"` Component *Component `json:"component,omitempty"` ComponentId int64 `db:"componentversion_component_id"` diff --git a/internal/entity/test/component_version.go b/internal/entity/test/component_version.go index aca6665f..a44b32a3 100644 --- a/internal/entity/test/component_version.go +++ b/internal/entity/test/component_version.go @@ -11,7 +11,6 @@ import ( func NewFakeComponentVersionEntity() entity.ComponentVersion { return entity.ComponentVersion{ Id: int64(gofakeit.Number(1, 10000000)), - CCRN: gofakeit.Name(), Version: gofakeit.AppVersion(), ComponentId: 0, ComponentInstances: nil, diff --git a/scanner/k8s-assets/client/generated.go b/scanner/k8s-assets/client/generated.go index eac4754c..3f7c7ff4 100644 --- a/scanner/k8s-assets/client/generated.go +++ b/scanner/k8s-assets/client/generated.go @@ -148,7 +148,6 @@ const ( // ComponentVersion includes the requested fields of the GraphQL type ComponentVersion. type ComponentVersion struct { Id string `json:"id"` - Ccrn string `json:"ccrn"` Version string `json:"version"` ComponentId string `json:"componentId"` } @@ -156,9 +155,6 @@ type ComponentVersion struct { // GetId returns ComponentVersion.Id, and is useful for accessing the field via an interface. func (v *ComponentVersion) GetId() string { return v.Id } -// GetCcrn returns ComponentVersion.Ccrn, and is useful for accessing the field via an interface. -func (v *ComponentVersion) GetCcrn() string { return v.Ccrn } - // GetVersion returns ComponentVersion.Version, and is useful for accessing the field via an interface. func (v *ComponentVersion) GetVersion() string { return v.Version } @@ -190,16 +186,12 @@ func (v *ComponentVersionConnectionEdgesComponentVersionEdge) GetNode() *Compone } type ComponentVersionFilter struct { - Ccrn []string `json:"ccrn"` ComponentId []string `json:"componentId"` ComponentCcrn []string `json:"componentCcrn"` IssueId []string `json:"issueId"` Version []string `json:"version"` } -// GetCcrn returns ComponentVersionFilter.Ccrn, and is useful for accessing the field via an interface. -func (v *ComponentVersionFilter) GetCcrn() []string { return v.Ccrn } - // GetComponentId returns ComponentVersionFilter.ComponentId, and is useful for accessing the field via an interface. func (v *ComponentVersionFilter) GetComponentId() []string { return v.ComponentId } @@ -213,14 +205,10 @@ func (v *ComponentVersionFilter) GetIssueId() []string { return v.IssueId } func (v *ComponentVersionFilter) GetVersion() []string { return v.Version } type ComponentVersionInput struct { - Ccrn string `json:"ccrn"` Version string `json:"version"` ComponentId string `json:"componentId"` } -// GetCcrn returns ComponentVersionInput.Ccrn, and is useful for accessing the field via an interface. -func (v *ComponentVersionInput) GetCcrn() string { return v.Ccrn } - // GetVersion returns ComponentVersionInput.Version, and is useful for accessing the field via an interface. func (v *ComponentVersionInput) GetVersion() string { return v.Version } @@ -714,7 +702,6 @@ const CreateComponentVersion_Operation = ` mutation CreateComponentVersion ($input: ComponentVersionInput!) { createComponentVersion(input: $input) { id - ccrn version componentId } @@ -867,7 +854,6 @@ query ListComponentVersions ($filter: ComponentVersionFilter) { edges { node { id - ccrn version componentId } diff --git a/scanner/k8s-assets/client/query/componentversion_create.graphql b/scanner/k8s-assets/client/query/componentversion_create.graphql index 8f7b7324..215cd0ae 100644 --- a/scanner/k8s-assets/client/query/componentversion_create.graphql +++ b/scanner/k8s-assets/client/query/componentversion_create.graphql @@ -7,7 +7,6 @@ mutation CreateComponentVersion($input: ComponentVersionInput!) { input: $input ) { id - ccrn version componentId } diff --git a/scanner/k8s-assets/client/query/componentversion_query.graphql b/scanner/k8s-assets/client/query/componentversion_query.graphql index 5a303dc5..5f9288ed 100644 --- a/scanner/k8s-assets/client/query/componentversion_query.graphql +++ b/scanner/k8s-assets/client/query/componentversion_query.graphql @@ -11,7 +11,6 @@ query ListComponentVersions($filter: ComponentVersionFilter) { # @genqlient(typename: "ComponentVersion") node { id - ccrn version componentId } diff --git a/scanner/keppel/client/generated.go b/scanner/keppel/client/generated.go index fd17078c..b6a680fa 100644 --- a/scanner/keppel/client/generated.go +++ b/scanner/keppel/client/generated.go @@ -110,7 +110,6 @@ const ( // ComponentVersion includes the requested fields of the GraphQL type ComponentVersion. type ComponentVersion struct { Id string `json:"id"` - Ccrn string `json:"ccrn"` Version string `json:"version"` ComponentId string `json:"componentId"` } @@ -118,9 +117,6 @@ type ComponentVersion struct { // GetId returns ComponentVersion.Id, and is useful for accessing the field via an interface. func (v *ComponentVersion) GetId() string { return v.Id } -// GetCcrn returns ComponentVersion.Ccrn, and is useful for accessing the field via an interface. -func (v *ComponentVersion) GetCcrn() string { return v.Ccrn } - // GetVersion returns ComponentVersion.Version, and is useful for accessing the field via an interface. func (v *ComponentVersion) GetVersion() string { return v.Version } @@ -148,16 +144,12 @@ func (v *ComponentVersionConnectionEdgesComponentVersionEdge) GetNode() *Compone } type ComponentVersionFilter struct { - Ccrn []string `json:"ccrn"` ComponentId []string `json:"componentId"` ComponentCcrn []string `json:"componentCcrn"` IssueId []string `json:"issueId"` Version []string `json:"version"` } -// GetCcrn returns ComponentVersionFilter.Ccrn, and is useful for accessing the field via an interface. -func (v *ComponentVersionFilter) GetCcrn() []string { return v.Ccrn } - // GetComponentId returns ComponentVersionFilter.ComponentId, and is useful for accessing the field via an interface. func (v *ComponentVersionFilter) GetComponentId() []string { return v.ComponentId } @@ -171,14 +163,10 @@ func (v *ComponentVersionFilter) GetIssueId() []string { return v.IssueId } func (v *ComponentVersionFilter) GetVersion() []string { return v.Version } type ComponentVersionInput struct { - Ccrn string `json:"ccrn"` Version string `json:"version"` ComponentId string `json:"componentId"` } -// GetCcrn returns ComponentVersionInput.Ccrn, and is useful for accessing the field via an interface. -func (v *ComponentVersionInput) GetCcrn() string { return v.Ccrn } - // GetVersion returns ComponentVersionInput.Version, and is useful for accessing the field via an interface. func (v *ComponentVersionInput) GetVersion() string { return v.Version } @@ -504,7 +492,6 @@ const CreateComponentVersion_Operation = ` mutation CreateComponentVersion ($input: ComponentVersionInput!) { createComponentVersion(input: $input) { id - ccrn version componentId } @@ -582,7 +569,6 @@ query ListComponentVersions ($filter: ComponentVersionFilter) { edges { node { id - ccrn version componentId } diff --git a/scanner/keppel/client/query/createComponentVersion.graphql b/scanner/keppel/client/query/createComponentVersion.graphql index 8f7b7324..215cd0ae 100644 --- a/scanner/keppel/client/query/createComponentVersion.graphql +++ b/scanner/keppel/client/query/createComponentVersion.graphql @@ -7,7 +7,6 @@ mutation CreateComponentVersion($input: ComponentVersionInput!) { input: $input ) { id - ccrn version componentId } diff --git a/scanner/keppel/client/query/listComponentVersions.graphql b/scanner/keppel/client/query/listComponentVersions.graphql index c83051a7..4799a750 100644 --- a/scanner/keppel/client/query/listComponentVersions.graphql +++ b/scanner/keppel/client/query/listComponentVersions.graphql @@ -10,7 +10,6 @@ query ListComponentVersions($filter: ComponentVersionFilter) { # @genqlient(typename: "ComponentVersion") node { id - ccrn version componentId } From bfd433b49e2cc9ea5534a859a96447ce2a5cac64 Mon Sep 17 00:00:00 2001 From: Michael Reimsbach Date: Tue, 29 Oct 2024 14:14:57 +0100 Subject: [PATCH 21/21] fix wrong function name --- .../api/graphql/graph/resolver/component_instance_filter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/api/graphql/graph/resolver/component_instance_filter.go b/internal/api/graphql/graph/resolver/component_instance_filter.go index 39e6050b..f22894f6 100644 --- a/internal/api/graphql/graph/resolver/component_instance_filter.go +++ b/internal/api/graphql/graph/resolver/component_instance_filter.go @@ -29,7 +29,7 @@ func (r *componentInstanceFilterValueResolver) ServiceCcrn(ctx context.Context, } func (r *componentInstanceFilterValueResolver) SupportGroupCcrn(ctx context.Context, obj *model.ComponentInstanceFilterValue, filter *model.SupportGroupFilter) (*model.FilterItem, error) { - item, err := baseResolver.SupportGroupCcrn(r.App, ctx, filter) + item, err := baseResolver.SupportGroupCcrnBaseResolver(r.App, ctx, filter) if err != nil { return nil, err