You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add both filters to the ServiceFilter in internal/entity/service.go
Update database layer (internal/database/mariadb/service.go)
2.1 update ensureServiceFilter()
2.2 update getServiceFilterString()
2.3 update buildServiceFilterParameters()
2.4 add tests for GetServices() with the new filter options
Update api layer:
3.1 Update ServiceFilterInput in api/graphql/graph/schema/service.graphqls
3.2 Generate new implementation with gqlgen
3.3 Set filter in ServiceBaseResolver in internal/api/graphql/graph/baseResolver/service.go
Entities to consider:
Activity
Component
ComponentVersion
ComponentInstance
Evidence
Issue
IssueMatch
IssueVariant
IssueRepository
Service
SupportGroup
User
The text was updated successfully, but these errors were encountered:
Each entity has the two timestamps:
Allow filtering by these timestamps via API. The filtering should allow to filter for a range by using a start and end date.
Example Steps for Service:
ServiceFilter
ininternal/entity/service.go
internal/database/mariadb/service.go
)2.1 update
ensureServiceFilter()
2.2 update
getServiceFilterString()
2.3 update
buildServiceFilterParameters()
2.4 add tests for
GetServices()
with the new filter options3.1 Update
ServiceFilterInput
inapi/graphql/graph/schema/service.graphqls
3.2 Generate new implementation with
gqlgen
3.3 Set filter in
ServiceBaseResolver
ininternal/api/graphql/graph/baseResolver/service.go
Entities to consider:
The text was updated successfully, but these errors were encountered: