Abhishek Kumar
be552fdce9
feature: webhooks ( #8674 )
...
* api,server,ui: weebhoks feature
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* changes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* registry of message busses
* test bus
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* refactor
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* test
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix and refactor
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* changes for webhook dispatch history
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* changes, initial ui
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* improvements
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* changes for account webhook cleanup
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix remaining event bus usage
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* changes for testing webhook dispatch
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* wip
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix test
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* make element
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* missing
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* buid fix
* fix lint
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* changes for project delete check
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* add collapse in create
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* ui fix and refactor for eventditributor publish
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* update org.json and add json validation
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* schema fixes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* wordings
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* ui: improve progress button
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* ui improvements
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* remove unrelated change
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* search and count
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* add payloadurl in info
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* positive progress
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix hmac key
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* create webhook form fixes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* refactor, address feedback
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* indentation
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix filters
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* remove test eventbus
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* default scope be Local
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* add lifecycle smoke test
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* add test for webhook deliveries
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* refactor
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix lint
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* refactor - losgs and others
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* unit tests
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix lint
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* build fix
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* smoke test fix, log refactor
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* get bean from all components
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* ui: missing label
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* address review comments
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* add some more tests
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* lint
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* rename setting
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* upgrade: move 4.19.0->4.20.0 to 4.19.1->4.20.0
* fix test delivery layout
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix webhook secret display
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* add http to payloadurl when no scheme
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* allow removing secretkey for webhook
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix update sslverification
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* disallow same payload url for same account
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix delivery with url w/o scheme
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* api: listApis should return params based on caller
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* wip changes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* Update engine/schema/src/main/resources/META-INF/db/schema-41900to42000.sql
* remove unique constraint for now
Constraint is present in Java code validations
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fixes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* ui: add option to delete multiple deliveries
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* add filter for deliveries, delete api start/endtime support
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* do not throw error when no deliveries removed
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* ui: fix deliveries table column sorting, time filter cancel
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* remove isDebugEnabled wrapping
* merge fix
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
---------
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Co-authored-by: Daan Hoogland <daan@onecht.net>
Co-authored-by: Wei Zhou <weizhou@apache.org>
2024-06-10 10:40:12 +05:30
Daan Hoogland
b29391c329
Merge LTS branch '4.19' into main
2024-06-07 09:53:57 +02:00
Abhishek Kumar
91c7bc722f
server,cks: check if vm is cks node during vm destroy ( #9057 )
...
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2024-06-06 10:54:02 +02:00
João Jandre
631d6ad09b
Do not retrieve VM's stats on normal VM listing ( #8782 )
...
* Do not retrieve VM's stats on normal VM listing
* Add config to control the behavior
* address reviews
2024-06-05 17:45:28 +05:30
Wei Zhou
875cd14919
server: fix fail to list public ips of shared networks sometimes ( #8624 )
2024-06-04 09:28:39 +02:00
Wei Zhou
5433e775e5
New feature: Implicit host tags ( #8929 )
...
* Merge two HostTagVO and HostTagDaoImpl
* Implicit host tags
* PR8929: add since
* Update variable names
* Update 8929: add unit test in LibvirtComputingResourceTest
* Update 8929: add explicithosttags in response
* Update 8929 UI: Update explicit host tags
* Update 8929: remove host tags and change labels on UI
* Update 8929: update host_view to use explicit_host_tags.is_tag_a_rule
* Update: ui polish for host tags
* Update 8929: fix UI error if no host tags
2024-05-30 17:21:13 +05:30
Vishesh
87b55af197
Fixup response code on incorrect credentials ( #8671 )
2024-05-30 08:48:53 +02:00
Daan Hoogland
f1c3d2c4be
Merge release branch 4.19 to main
...
* 4.19:
engine-schema: add removed columne for cloud.user_data, fix delete op (#9120 )
ui: fix create menu item access (#9104 )
server: honor listall param for listiso api (#9064 )
ui: add move to top/bottom for acl rules list (#9119 )
ui: fix columns for exportacls csv (#9118 )
ui: fix create network access in deploy vm wizard (#9117 )
UI: Add search filters (#9068 )
2024-05-28 09:44:05 +02:00
Abhishek Kumar
261530c92a
server: honor listall param for listiso api ( #9064 )
...
Fixes #8315
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2024-05-28 12:43:43 +05:30
John Bampton
40c5d35377
Fix spelling in docs, logs, exception messages etc ( #9076 )
2024-05-28 07:41:20 +02:00
Fabricio Duarte
371ce12abe
Normalize dates in Usage and Quota APIs ( #8243 )
...
* Normalize dates in Usage and Quota APIs
* Apply Daan's sugestions
Co-authored-by: dahn <daan.hoogland@gmail.com>
* Restore removed sinces
* Add missing space
* Change param descriptions for quotaBalance and quotaStatement
* Apply Daniel's suggestions
Co-authored-by: Daniel Augusto Veronezi Salvador <38945620+GutoVeronezi@users.noreply.github.com>
---------
Co-authored-by: dahn <daan.hoogland@gmail.com>
Co-authored-by: Daniel Augusto Veronezi Salvador <38945620+GutoVeronezi@users.noreply.github.com>
2024-05-27 12:06:52 -03:00
Abhishek Kumar
acce88ff39
Merge remote-tracking branch 'apache/4.19'
2024-05-27 15:14:29 +05:30
Abhishek Kumar
57e67afdf0
api,server: list autoscalevmgroups with keyword ( #9046 )
...
Fixes #9042
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2024-05-27 13:47:44 +05:30
Hans Rakers
e817e04343
Fix typo keyparis -> keypairs in InvalidParameterValueException ( #9100 )
2024-05-24 17:41:02 +02:00
Abhishek Kumar
daf6b9d103
api,ui: vm template format, fix vm info link ( #9094 )
2024-05-24 17:39:52 +02:00
Daan Hoogland
b38f1364e6
Merge branch '4.19'
2024-05-23 12:34:04 +02:00
Abhishek Kumar
33659fdf06
server,test: fix resourceid for VOLUME.DETROY in restore VM ( #9032 )
...
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2024-05-22 11:02:14 +02:00
Vishesh
21af134087
Fix exceeding of resource limits with powerflex ( #9008 )
...
* Fix exceeding of resource limits with powerflex
* Add e2e tests
* Update server/src/main/java/com/cloud/vm/UserVmManagerImpl.java
Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com>
* fixup
---------
Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com>
2024-05-08 20:55:19 +05:30
Vishesh
6b4955affe
Fix message publish in transaction ( #8980 )
...
* Fix message publish in transaction
* Resolve comments
2024-05-07 13:27:31 +05:30
Henrique Sato
0d1bc7dfd0
Limit listRoles API visibility ( #8639 )
...
Co-authored-by: Henrique Sato <henrique.sato@scclouds.com.br>
2024-05-07 09:12:49 +02:00
Daan Hoogland
d5241d319c
Merge release branch 4.19 to main
...
* 4.19:
Fix: Update rootdisksize detail on restore VM (#8981 )
UI: hide Cleanup/Expunge when delete a CloudManaged CKS cluster (#8593 )
2024-04-30 11:35:29 +02:00
Vishesh
027149487b
Fix: Update rootdisksize detail on restore VM ( #8981 )
...
* Fix: Update rootdisksize detail on restore VM
* minor fixup
2024-04-29 22:15:06 +05:30
Daan Hoogland
e61f3bae4d
Merge branch '4.19'
2024-04-29 11:37:40 +02:00
Rohit Yadav
3de1f8b4ba
Merge remote-tracking branch 'origin/4.18' into 4.19
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2024-04-29 13:44:34 +05:30
dahn
54926c324f
sanatise log in case multiple passwordsa have been passed ( #8891 )
2024-04-29 09:37:36 +02:00
Vishesh
08132acaa2
Fix restore VM with allocated root disk ( #8977 )
...
* Fix restore VM with allocated root disk
* Add e2e test for restore vm
* Add more checks for e2e test
2024-04-29 12:19:05 +05:30
Vishesh
80a8b80a9d
Update volume's passphrase to null if diskOffering doesn't support encryption ( #8904 )
2024-04-29 12:18:09 +05:30
dahn
eead2710f8
explanatory error message on delete attempt of default system offering ( #8883 )
...
Co-authored-by: Gabriel Pordeus Santos <gabrielpordeus@gmail.com>
2024-04-25 16:45:42 +02:00
Vishesh
cfdb33a052
Fixup resource limit checks ( #8935 )
2024-04-25 12:59:35 +02:00
Vishesh
e409c6d870
Fixup listing of serivce offering & storagepools with tags ( #8937 )
2024-04-25 12:58:52 +02:00
Marcus Sorensen
27124c1031
Add ability to set cpu.threadspercore similar to existing cpu.corespersocket ( #8850 )
...
* Add ability to set cpu.threadspercore similar to existing cpu.corespersocket
* add cpu.threadspercore to VM and template detail options
* Update plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com>
* add vm detail for KVM
---------
Co-authored-by: Marcus Sorensen <mls@apple.com>
Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com>
2024-04-24 18:01:21 +05:30
Daan Hoogland
0af923e618
Merge branch '4.19'
2024-04-24 14:01:02 +02:00
dahn
a6f3560152
fix log4j to log4j2 issue ( #8966 )
2024-04-24 10:08:15 +02:00
Wei Zhou
4ffeec6ba4
vpc: create vpc tiers with dns server of vpc instead of zone ( #8621 )
...
* vpc: create vpc tiers with dns server of vpc instead of zone
with this change
```
root@r-575-VM:~# cat /etc/dnsmasq.d/cloud.conf
dhcp-hostsfile=/etc/dhcphosts.txt
listen-address=127.0.0.1,172.17.1.1,172.17.2.1,172.17.3.1
dhcp-range=set:interface-eth2-0,172.17.1.1,static
dhcp-option=tag:interface-eth2-0,15,cs2cloud.internal
dhcp-option=tag:interface-eth2-0,6,172.17.1.1,10.0.32.1,8.8.8.8
dhcp-option=tag:interface-eth2-0,3,172.17.1.1
dhcp-option=eth2,26,1500
dhcp-option=tag:interface-eth2-0,1,255.255.255.0
dhcp-range=set:interface-eth3-1,172.17.2.1,static
dhcp-option=tag:interface-eth3-1,15,cs2cloud.internal
dhcp-option=tag:interface-eth3-1,6,172.17.2.1,8.8.8.8,1.1.1.1
dhcp-option=tag:interface-eth3-1,3,172.17.2.1
dhcp-option=eth3,26,1500
dhcp-option=tag:interface-eth3-1,1,255.255.255.0
dhcp-range=set:interface-eth4-2,172.17.3.1,static
dhcp-option=tag:interface-eth4-2,15,cs2cloud.internal
dhcp-option=tag:interface-eth4-2,6,172.17.3.1,8.8.8.8,1.1.1.1
dhcp-option=tag:interface-eth4-2,3,172.17.3.1
dhcp-option=eth4,26,1500
dhcp-option=tag:interface-eth4-2,1,255.255.255.0
root@r-575-VM:~#
```
* Update PR8621 test:ArgumentMatchers instead of Matchers in test
2024-04-24 09:10:52 +02:00
SadiJr
96ae479000
[Usage] Create network billing ( #7236 )
...
Co-authored-by: Bryan Lima <bryan.lima@hotmail.com>
Co-authored-by: SadiJr <sadi@scclouds.com.br>
Co-authored-by: Bryan Lima <42067040+BryanMLima@users.noreply.github.com>
Co-authored-by: Henrique Sato <henriquesato2003@gmail.com>
2024-04-24 08:52:49 +02:00
Daan Hoogland
a358c9a410
Merge release branch 4.19 to main
...
* 4.19:
New feature: Import/Unamange DATA volume from storage pool (#8808 )
2024-04-23 16:13:16 +02:00
Wei Zhou
0b857def68
New feature: Import/Unamange DATA volume from storage pool ( #8808 )
2024-04-23 16:05:59 +02:00
Daan Hoogland
66c10bf42f
logger issues
2024-04-23 12:55:17 +02:00
Daan Hoogland
c31aebc188
Merge release branch 4.19 to main
...
* 4.19:
server: fix duplicated records for templates if there are multiple zones (#8933 )
2024-04-23 12:22:53 +02:00
Wei Zhou
f6802e9198
server: fix duplicated records for templates if there are multiple zones ( #8933 )
2024-04-23 12:06:45 +02:00
Rohit Yadav
93d4816ee8
Merge remote-tracking branch 'origin/4.19'
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Conflicts:
plugins/storage/volume/linstor/src/main/java/com/cloud/hypervisor/kvm/storage/LinstorStorageAdaptor.java
2024-04-23 15:24:19 +05:30
Rohit Yadav
0fa71f5696
Merge remote-tracking branch 'origin/4.18' into 4.19
2024-04-23 15:21:44 +05:30
Wei Zhou
7b57480d60
Merge remote-tracking branch 'apache/4.19' into main
2024-04-23 10:06:16 +02:00
Vishesh
c081f60427
server: Fix null pointer exception in restore VM ( #8930 )
2024-04-22 19:21:16 +02:00
dahn
0577b0ac8e
server: add logs to public ip allocation attempt ( #8239 )
2024-04-22 10:31:48 +02:00
SadiJr
49d244f251
[Usage] Create VPC billing ( #7235 )
...
Co-authored-by: SadiJr <sadi@scclouds.com.br>
Co-authored-by: Bryan Lima <bryan.lima@hotmail.com>
2024-04-22 09:42:24 +02:00
Wei Zhou
8ff2c018cc
test: fix test failures in ActionEventInterceptorTest ( #8938 )
...
* test: fix test failures in ActionEventInterceptorTest
```
Error: Failures:
Error: ActionEventInterceptorTest.testInterceptComplete:247
Error: ActionEventInterceptorTest.testInterceptException:261
Error: ActionEventInterceptorTest.testInterceptStartAsync:234 expected:<Starting VM[. Id: 0 Name: null]> but was:<Starting VM[]>
```
* Update 8938: move CallContext.unregister as well
2024-04-19 15:10:38 +02:00
Daan Hoogland
7de8a6d082
Merge LTS branch '4.19' into main
2024-04-18 08:54:58 +02:00
João Jandre
8a101fbbc1
Updating pom.xml version numbers for release 4.18.3.0-SNAPSHOT
...
Signed-off-by: João Jandre <48719461+JoaoJandre@users.noreply.github.com>
2024-04-17 11:11:57 -03:00
Vishesh
8511014707
Fix error message for checkVolume command ( #8842 )
2024-04-17 17:27:27 +05:30