Skip to content

Commit

Permalink
add @description to subqueries
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Feb 27, 2024
1 parent 58e14b6 commit 190dc62
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/io/cryostat/graphql/TargetNodes.java
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ public ActiveRecordings active(@Source Recordings recordings, ActiveRecordingsFi

@Blocking
@Transactional
@Description("Start a new Flight Recording on the specified Target")
public Uni<ActiveRecording> doStartRecording(
@Source Target target, @NonNull RecordingSettings settings) {
var fTarget = Target.<Target>findById(target.id);
Expand Down Expand Up @@ -218,6 +219,7 @@ public Uni<ActiveRecording> doStartRecording(

@Blocking
@Transactional
@Description("Create a new Flight Recorder Snapshot on the specified Target")
public Uni<ActiveRecording> doSnapshot(@Source Target target) {
var fTarget = Target.<Target>findById(target.id);
return connectionManager.executeConnectedTaskUni(
Expand Down

0 comments on commit 190dc62

Please sign in to comment.