started implementing support for tags

This commit is contained in:
Lou Knauer
2021-04-14 18:53:18 +02:00
parent bbb3281b6a
commit 499d2cdc22
5 changed files with 499 additions and 0 deletions

View File

@@ -42,11 +42,23 @@ type JobMetricStatistics {
max: Float!
}
type JobTag {
id: ID!
tagType: String!
tagName: String!
}
type Query {
jobById(jobId: String!): Job
jobs(filter: JobFilterList, page: PageRequest, order: OrderByInput): JobResultList!
jobsStatistics(filter: JobFilterList): JobsStatistics!
jobMetrics(jobId: String!, metrics: [String]): [JobMetricWithName]!
# Return all known tags or, if jobId is specified, only tags from this job
jobTags(jobId: String): [JobTag!]!
# For a tag ID, return the ID's of all jobs with that tag
jobsByTag(tag: ID!): [ID!]!
}
input StartJobInput {