Skip to content

Commit 3c62f66

Browse files
add listConsoleSessions API to list of MS APIs
1 parent 71f7c8a commit 3c62f66

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;
@@ -4188,8 +4189,12 @@ public List<Class<?>> getCommands() {
41884189
cmdList.add(ConfigureOutOfBandManagementCmd.class);
41894190
cmdList.add(IssueOutOfBandManagementPowerActionCmd.class);
41904191
cmdList.add(ChangeOutOfBandManagementPasswordCmd.class);
4192+
41914193
cmdList.add(GetUserKeysCmd.class);
4194+
4195+
// Console Session APIs
41924196
cmdList.add(CreateConsoleEndpointCmd.class);
4197+
cmdList.add(ListConsoleSessionsCmd.class);
41934198

41944199
//user data APIs
41954200
cmdList.add(RegisterUserDataCmd.class);

0 commit comments

Comments
 (0)