Skip to content

Commit

Permalink
fix(graphql): remove non-null constraints for active recs action
Browse files Browse the repository at this point in the history
Signed-off-by: Thuan Vo <thvo@redhat.com>
  • Loading branch information
Thuan Vo committed Mar 16, 2023
1 parent 5ff5c33 commit 61451ee
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/main/resources/types.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,16 @@ type Annotations {

type TargetNode implements Node {
target: ServiceRef!
recordings: Recordings!
mbeanMetrics: MBeanMetrics!
recordings: Recordings
mbeanMetrics: MBeanMetrics

id: Int!
name: String!
nodeType: NodeType!
labels: Object!

doStartRecording(recording: RecordingSettings!): ActiveRecording!
doSnapshot: ActiveRecording!
doStartRecording(recording: RecordingSettings!): ActiveRecording
doSnapshot: ActiveRecording
}

type EnvironmentNode implements Node {
Expand Down Expand Up @@ -119,9 +119,9 @@ type ActiveRecording implements Recording {
metadata: RecordingMetadata!

doArchive: ArchivedRecording!
doStop: ActiveRecording!
doDelete: ActiveRecording!
doPutMetadata(metadata: Object): ActiveRecording!
doStop: ActiveRecording
doDelete: ActiveRecording
doPutMetadata(metadata: Object): ActiveRecording
}

type ArchivedRecording implements Recording {
Expand Down

0 comments on commit 61451ee

Please sign in to comment.