Commit Graph

5187 Commits

Author SHA1 Message Date
Manoj Kumar 6466362552
unit tests 2026-04-14 12:12:01 +05:30
Manoj Kumar 3ae9834325
fix normalizing dns record values for mx, srv and other type 2026-04-11 17:36:07 +05:30
Manoj Kumar 8d10ae1094
Following changes are done:
1. new messageSubscriber to handle dns record create/delete event
2. instance dns record registration uses hostname, prepend random 3 char if conflict
2026-04-06 17:59:58 +05:30
Manoj Kumar f524bbe0e2
resolve conflict with main 2026-04-01 09:59:16 +05:30
Manoj Kumar f1dcd00a9d
add unit tests 2026-04-01 09:44:36 +05:30
julien-vaz 4f93ba888c
Refactor Quota Summary API (#10505)
* Refactor Quota Summary API

* Fixes imports

* Fix QuotaServiceImplTest

* Update plugins/database/quota/src/main/java/org/apache/cloudstack/api/command/QuotaSummaryCmd.java

Co-authored-by: Fabricio Duarte <fabricio.duarte.jr@gmail.com>

* Fix QuotaSummaryCmd

* Remove unnecessary imports

* Remove unused createQuotaSummaryResponse declarations

* Remove unnecessary imports

* Update plugins/database/quota/src/main/java/org/apache/cloudstack/api/command/QuotaSummaryCmd.java

Co-authored-by: dahn <daan.hoogland@gmail.com>

* Fix QuotaSummaryCmd

* Fix QuotaResponseBuilderImplTest

* Refactor test

* Fix QuotaSummaryCmd

* Fix projectid behavior

* Simplify QuotaSummary and deprecate listall

* Fix createQuotaSummaryResponse

* Remove unused import

* Apply suggestions + some adjustments

* Remove duplicated check

* Fix checkstyle

* Adjust entity owner

* Remove unused method + fix tests

* Add missing @ACL to some parameters

* Adjust how the parameters behave

* Allow domain admins and users to use keyword

* Address reviews

---------

Co-authored-by: Julien Hervot de Mattos Vaz <julien.vaz@scclouds.com.br>
Co-authored-by: Fabricio Duarte <fabricio.duarte.jr@gmail.com>
Co-authored-by: dahn <daan.hoogland@gmail.com>
2026-03-31 20:29:30 -03:00
John Bampton 5d95bdd0eb
pre-commit trailing whitespace auto clean up (#12841) 2026-03-31 15:02:39 +02:00
Henrique Sato 7eea9ed448
Add API to enable/disable NICs for KVM (#12819) 2026-03-31 10:14:20 +02:00
Pearl Dsilva 18075ae4a9
Add support for Headlamp dashboard for kubernetes; deprecate legacy kubernetes dashboard (#12776) 2026-03-30 16:04:45 +02:00
Suresh Kumar Anaparti 1bff543e58
Merge branch '4.22' 2026-03-27 01:25:42 +05:30
Suresh Kumar Anaparti d6c39772b2
Set management server id from cookies after saml login (#12858) 2026-03-25 20:52:44 +05:30
Manoj Kumar c6abed1702
Following changes are part of this commit:
1. Remove usage of in-memory eventBus for VM lifecycle events
2. Publish event for VM, NIC and DNS record delete events into  messageBus
3. Introducer subscribers for above topics
2026-03-25 17:38:13 +05:30
Nicolas Vazquez 7107d28db8
[VMware to KVM] Add guest OS for importing VM based on the source VM OS (#12802) 2026-03-24 15:06:38 +05:30
Manoj Kumar 981bb64b86
add associate and disassociate dns zone to network ui screens, network response changes 2026-03-19 16:42:17 +05:30
Manoj Kumar d8cca73780
resolve conflict with main 2026-03-17 19:35:19 +05:30
Manoj Kumar 7f5e2a7d30
continue UI component work, fix minor issue with apis 2026-03-17 19:33:30 +05:30
Nicolas Vazquez 93239e09f1
Add conserve mode for VPC offerings (#12487) 2026-03-16 09:39:42 +01:00
Manoj Kumar c74a579b86
resolve build and licensefailure issue 2026-03-14 08:37:56 +05:30
Manoj Kumar 6bcfbc6dfc
resolve conflict with main 2026-03-13 22:34:46 +05:30
Daman Arora 8c579538f9
CKS: Allow affinity group selection during cluster creation (#12386)
Co-authored-by: Daman Arora <daman.arora@shapeblue.com>
2026-03-13 10:58:55 +01:00
Abhishek Kumar 7f7d0b02e1
Remove unnecessary stubbings in ManagementServerMaintenanceManagerImplTest (#11914) (#12623) 2026-03-12 12:29:31 +05:30
Klaus de Freitas Dornsbach 74af9b9875
API key pair restructure (#9504)
Co-authored-by: Bernardo De Marco Gonçalves <bernardomg2004@gmail.com>
2026-03-09 14:20:17 +01:00
Suresh Kumar Anaparti 75620309c2
Merge branch '4.22' 2026-03-04 21:13:01 +05:30
Suresh Kumar Anaparti 65e54091ff
Merge branch '4.20' into 4.22 2026-03-04 21:12:15 +05:30
Manoj Kumar 369bb16d0d
fix lint issue 2026-03-03 17:44:24 +05:30
Manoj Kumar 928db650e3
resolve merge conflict with main 2026-03-03 17:11:54 +05:30
Manoj Kumar caf85330bb
1. implement event processing for vm start/stop/destroy, nic create/delete events
2. add dnsrecordurl in nic_details table
3. add dnsrecordurl in vm response
2026-03-03 14:08:50 +05:30
Manoj Kumar 1c1eef3cc7
Add Listener for VM lifecycle to add dnsrecords for associated dns zone 2026-03-02 17:17:13 +05:30
Suresh Kumar Anaparti 56dc11980f
test_accounts.py failure fix - keep the camelCase parameter "domainId" (#12689) 2026-02-27 11:36:18 +01:00
Suresh Kumar Anaparti 9e386a3128
PowerFlex/ScaleIO client initialization, authentication and command execution improvements (#12391)
* PowerFlex/ScaleIO client initialization, authentication and command execution improvements

* Migrate VM with volume not supported yet for PowerFlex/ScaleIO

* review changes
2026-02-26 09:23:41 -03:00
Nicolas Vazquez 6419e1c825
[VMware to KVM Migration] Fix unused convert env vars (#11947)
* Fix unused convert env vars

* Address review comments

* Small fix to invoke internal method
2026-02-26 06:21:43 -03:00
Suresh Kumar Anaparti a8bd02f8ba
Merge branch '4.22' 2026-02-26 11:12:20 +05:30
Suresh Kumar Anaparti b74f21b967
Merge branch '4.20' into 4.22 2026-02-26 11:11:41 +05:30
Abhisar Sinha 744c8afcf1
fix primary storage maintenance on xcpng (#12694) 2026-02-25 11:38:45 +01:00
Manoj Kumar add77636d9
acl related changes, fixes, mistakes 2026-02-25 11:38:38 +05:30
Manoj Kumar 4df11a4198
normalize dns zone and record in svc layer, always use dotless data in svc and handle dot version in client 2026-02-21 09:25:28 +05:30
Manoj Kumar c64cf81db3
include:
1. port for dns_server
2. remove hard coded localhost for server_id
3. resolve and store server id if not passed in the api request
4. restrict public dns_server for domain admins and admins
2026-02-20 12:45:21 +05:30
Manoj Kumar 4a9f66d532
following changes are done:
1. refactored client
2. added exceptions
3. enhanced updateZone
4. ownership check for deleteDnsServer
2026-02-19 23:48:57 +05:30
Suresh Kumar Anaparti 30e6c224bd
Merge branch '4.22' 2026-02-19 13:20:04 +05:30
Suresh Kumar Anaparti 5caf6cd043
Merge branch '4.20' into 4.22 2026-02-19 13:19:14 +05:30
Suresh Kumar Anaparti 8b38cea33c
Fix NPE while stopping the RabbitMQEventBus bean when there is no connection established with RabbitMQ Event Bus (#12635) 2026-02-18 20:06:46 +01:00
Suresh Kumar Anaparti 9dd93cef76
Support for custom SSH port for KVM hosts from the host url on add host and the configuration (#12571) 2026-02-18 20:05:51 +01:00
Suresh Kumar Anaparti 8c12a13216
Fix NPE during reset password (#12585) 2026-02-18 20:03:36 +01:00
Manoj Kumar e011ce1186
add missing license, cleanup, log std 2026-02-18 11:20:22 +05:30
dahn 22cda0c77b
constructing the expiry Prometheus Item according to new format (#12653) 2026-02-17 14:41:58 +01:00
Daan Hoogland a7dc5efad5 Merge release branch 4.22 to main
* 4.22:
  Fix issue when restoring backup after migration of volume (#12549)
  Usage: Heartbeat should not schedule usage job when a job is already running (#12616)
  Allow limit queries without random ordering (#12598)
  engine/schema: fix cluster/zone settings with encrypted values (#12626)
  Fix injection of preset variables into the JS interpreter (#12515)
  Fix issue with multiple KVM Host entries in host table (#12589)
  Add a Prometheus metric to track host certificate expiry (#12613)
  ssvm: delete temp directory while deleting entity download url (#12562)
2026-02-17 11:55:04 +01:00
Daan Hoogland 11df71e55c Merge branch '4.20' into '4.22' 2026-02-17 11:53:08 +01:00
Manoj Kumar 9b77c3708e
Tested following flow:
1. Add dns server
2. create zone
3. add records
4. verify in powerdns
5. verify using dig
2026-02-16 16:40:19 +05:30
Manoj Kumar c79b33c1fb
Allow enforcing password change for a user after reset by admin (root/domain) (#12294)
* API modifications for passwordchangerequired

* ui login flow for passwordchangerequired

* add passwordchangerequired in listUsers API response, it will be used in UI to render reset password form

* cleanup redundant LOGIN_SOURCE and limiting apis for first time login

* address copilot comments

* allow enforcing password change for all role types and update reset pwd flow for passwordchangerequired

* address review comments

* add unit tests

* cleanup ispasswordchangerequired from user_view

* address review comments

* 1. Allow enforcing password change while creating user
2. Admin can enforce password change on next login with out resetting password

* address review comment, add unit test

* improve code coverage

* fix pre-commit license issue

* 1. allow enter key to submit change password form
2. hide force password reset for disabled/locked user in ui

* 1. throw exception when force reset password is done for locked/disabled user/account
2. ui validation on current and new password being same
3. allow enforce change password for add user until saml is not enabled

* allow oauth login to skip force password change
2026-02-16 16:01:42 +05:30
Manoj Kumar f29b8be24d
following dns zone apis are integrated:
1. creatednszone
2. listdnszone
3. updatednszone
4. deletednszone
2026-02-15 15:17:54 +05:30