cloudstack/plugins
David Jumani 85c59979f7
Multiple SSH Keys support (#5965)
* keypairs added in api-constants

* names parameter added

* findbynames method added in dao

* change in impl to find and reset multiple keys

* findbynames method implemented

* log the publickeys, check the ssh keys given exists or not

* new ArrayList<>

* SQL IN toArray

* keypair

* null pointer exception solved with + concatanation

* null pointer exception solved with + concatanation

* error resolved

* keypair name to names in uservmresponse

* keypair name is set in the uservmresponse, from the details

* null checks are removed, keypairnames are stored in a string, sent to the resetvmsshinternal, and added in details

* commit first eval

* deploy vm takes multiple ssh-keys

* Deploy VM UI changed to accept multiple ssh keys

* Reset SSH UI API changed

* ResetSSH.vue

* ssh keys joined, ssh added in infocard

* changes made

* schema error resolved

* potential null pointer exception removed

* Update UserVmManagerImpl.java

unnecessary check removed.

* Update DeployVMCmd.java

* Update DeployVMCmd.java

* Update ResetVMSSHKeyCmd.java

* Update UserVmJoinDaoImpl.java

* .

* arraylist

* Update DeployVMCmd.java

* Update UserVmManagerImpl.java

* Update ResetVMSSHKeyCmd.java

* Update db

* Fix list vm by keypair

* ui fixes

* Fix typos

* ui fixes

* Cleanup

* Adding deprecated and since in api params

* Adding upgrade for existing vms with ssh keys

* Handle no key for cks

* Show existing keyparis in reset ssh key form

* get keys from the right account

Co-authored-by: bicrxm <bickrombishsass@gmail.com>
2022-03-01 21:30:55 -03:00
..
acl Merge branch '4.16' 2022-02-10 09:48:49 -03:00
affinity-group-processors server: fix host anti-affinity when start batch vms (#6002) 2022-02-21 09:54:03 +01:00
alert-handlers Merge branch '4.16' into main 2022-02-08 19:01:34 +05:30
api Merge branch '4.16' 2022-02-10 09:48:49 -03:00
backup [Veeam] Force ACS to use the template repository to clone job (#5774) 2022-01-07 11:12:57 +05:30
ca/root-ca Replace string libraries with org.apache.commons.lang3.StringUtils (#5386) 2021-11-18 13:41:48 +05:30
database Updating pom.xml version numbers for release 4.17.0.0-SNAPSHOT 2021-11-09 22:55:52 -03:00
dedicated-resources Updating pom.xml version numbers for release 4.17.0.0-SNAPSHOT 2021-11-09 22:55:52 -03:00
deployment-planners Merge branch '4.16' into main 2022-02-08 19:01:34 +05:30
event-bus Updating pom.xml version numbers for release 4.17.0.0-SNAPSHOT 2021-11-09 22:55:52 -03:00
ha-planners/skip-heurestics Updating pom.xml version numbers for release 4.17.0.0-SNAPSHOT 2021-11-09 22:55:52 -03:00
host-allocators/random Updating pom.xml version numbers for release 4.17.0.0-SNAPSHOT 2021-11-09 22:55:52 -03:00
hypervisors Merge branch '4.16' into main 2022-02-23 22:42:10 +05:30
integrations Multiple SSH Keys support (#5965) 2022-03-01 21:30:55 -03:00
metrics Fix HostMetricsResponse unit test (#5713) 2021-11-25 10:42:31 -03:00
network-elements Merge branch '4.16' 2022-02-10 09:48:49 -03:00
outofbandmanagement-drivers Replace string libraries with org.apache.commons.lang3.StringUtils (#5386) 2021-11-18 13:41:48 +05:30
storage [Simulator] Fix NPE in SolidFireHostListener (#5955) 2022-02-12 08:32:19 -03:00
storage-allocators/random Updating pom.xml version numbers for release 4.17.0.0-SNAPSHOT 2021-11-09 22:55:52 -03:00
user-authenticators Merge branch '4.16' into main 2022-02-08 19:01:34 +05:30
pom.xml Updating pom.xml version numbers for release 4.17.0.0-SNAPSHOT 2021-11-09 22:55:52 -03:00