Skip to content

Commit d7e0add

Browse files
add listConsoleSessions API to list of MS APIs
1 parent d8c2d89 commit d7e0add

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

server/src/main/java/com/cloud/server/ManagementServerImpl.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,7 @@
382382
import org.apache.cloudstack.api.command.user.bucket.UpdateBucketCmd;
383383
import org.apache.cloudstack.api.command.user.config.ListCapabilitiesCmd;
384384
import org.apache.cloudstack.api.command.user.consoleproxy.CreateConsoleEndpointCmd;
385+
import org.apache.cloudstack.api.command.user.consoleproxy.ListConsoleSessionsCmd;
385386
import org.apache.cloudstack.api.command.user.event.ArchiveEventsCmd;
386387
import org.apache.cloudstack.api.command.user.event.DeleteEventsCmd;
387388
import org.apache.cloudstack.api.command.user.event.ListEventTypesCmd;
@@ -4184,8 +4185,12 @@ public List<Class<?>> getCommands() {
41844185
cmdList.add(ConfigureOutOfBandManagementCmd.class);
41854186
cmdList.add(IssueOutOfBandManagementPowerActionCmd.class);
41864187
cmdList.add(ChangeOutOfBandManagementPasswordCmd.class);
4188+
41874189
cmdList.add(GetUserKeysCmd.class);
4190+
4191+
// Console Session APIs
41884192
cmdList.add(CreateConsoleEndpointCmd.class);
4193+
cmdList.add(ListConsoleSessionsCmd.class);
41894194

41904195
//user data APIs
41914196
cmdList.add(RegisterUserDataCmd.class);

0 commit comments

Comments
 (0)