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
Copy file name to clipboardExpand all lines: rest-mvc/src/main/java/com/intuit/tank/rest/mvc/rest/controllers/AgentController.java
+13-12Lines changed: 13 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -84,7 +84,7 @@ public ResponseEntity<org.springframework.core.io.Resource> getSupportFiles() th
84
84
@Operation(description = "Registers an agent instance to a job and sets it's status to ready to start", summary = "Set an agent instance status to ready to start", hidden = true)
85
85
@ApiResponses(value = {
86
86
@ApiResponse(responseCode = "200", description = "Successfully set agent to ready"),
@Operation(description = "Sets the agent instance status via instanceID and CloudVMStatus payload", summary = "Set the agent instance status", hidden = true)
142
143
@ApiResponses(value = {
143
144
@ApiResponse(responseCode = "200", description = "Successfully set agent instance status"),
@ApiResponse(responseCode = "400", description = "Could not update agent instance status due to bad request", content = @Content)
145
146
})
146
147
publicResponseEntity<Void> setInstanceStatus(@PathVariable@Parameter(description = "The instance ID associated with the instance", required = true) StringinstanceId,
@ApiResponse(responseCode = "400", description = "Could not update agent instance status due to invalid instanceId", content = @Content)
157
158
})
158
159
publicResponseEntity<String> stopInstance(@PathVariable@Parameter(description = "The instance ID associated with the instance", required = true) StringinstanceId) {
@ApiResponse(responseCode = "400", description = "Could not update agent instance status due to invalid instanceId", content = @Content)
168
169
})
169
170
publicResponseEntity<String> pauseInstance(@PathVariable@Parameter(description = "The instance ID associated with the instance", required = true) StringinstanceId) {
@ApiResponse(responseCode = "400", description = "Could not update agent instance status due to invalid instanceId", content = @Content)
179
180
})
180
181
publicResponseEntity<String> resumeInstance(@PathVariable@Parameter(description = "The instance ID associated with the instance", required = true) StringinstanceId) {
@ApiResponse(responseCode = "400", description = "Could not update agent instance status due to invalid instanceId", content = @Content)
190
191
})
191
192
publicResponseEntity<String> killInstance(@PathVariable@Parameter(description = "The instance ID associated with the instance", required = true) StringinstanceId) {
@Operation(description = "Given a job request payload, creates a new job under an existing project and returns new jobId and created status in response \n\n" +
83
-
"Note: Make sure projectId matches an existing project to successfully add job to project's job queue" +
83
+
"Note: Make sure projectId matches an existing project to successfully create the job for that project\n\n" +
84
84
"Parameters: \n\n" +
85
-
" - jobInstanceName is accepted as a string \n\n" +
85
+
" - jobInstanceName and projectName are accepted as strings (both optional) \n\n" +
86
+
" - jobInstanceName overrides projectName for naming jobs \n\n" +
87
+
" - passing only projectName creates jobs named: '{projectName}_{total_users}\\_users\\_{timestamp}' \n\n" +
86
88
" - rampTime and simulationTime are accepted as time strings i.e 60s, 12m, 24h \n\n" +
87
89
" - stopBehavior is matched against accepted values ( END_OF_STEP, END_OF_SCRIPT, END_OF_SCRIPT_GROUP, END_OF_TEST ) \n\n" +
0 commit comments