Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
a779eea
Refactoring Allocator classes
BryanMLima May 10, 2024
1153811
Break into smaller methods random and firfit allocators.
BryanMLima Jun 24, 2024
04b709d
Added unit tests for random and firstfit allocators
BryanMLima Jun 24, 2024
be8bab6
Move random allocator from cloud-plugins to cloud-server
BryanMLima Jun 24, 2024
8058919
Add BaseAllocator abstract class for duplicate code
BryanMLima Jul 11, 2024
05c5662
Add missing license
BryanMLima Jul 11, 2024
7b125d7
Add missing license to unit test file
BryanMLima Jul 11, 2024
1c2d504
Remove host allocator random dependency
BryanMLima Aug 23, 2024
6a4569d
Change exception message on smoke tests
BryanMLima Sep 16, 2024
7520bed
Remove conditional as it was never actually reached in the original flow
BryanMLima Nov 28, 2024
d0e5efd
Fix tests
BryanMLima Jan 27, 2025
84bd297
Fix flipped parameters
Jun 6, 2025
d95c238
Fix NPE while listing hosts for migration when suitableHosts is null
Jun 6, 2025
1eea281
Merge remote-tracking branch 'community/main' into refactor-allocate-…
Jun 6, 2025
94ee342
Remove unnecessary stubbings
Jun 6, 2025
a98abd2
Fix checkstyle
Jun 6, 2025
7496ae4
Remove unnecessary file
BryanMLima Jul 9, 2025
e9ea442
Rename exception error messages
BryanMLima Jul 9, 2025
6a72d99
Merge remote-tracking branch 'origin/main' into refactor-allocate-to-…
BryanMLima Jul 16, 2025
821992e
Apply suggestions from code review
BryanMLima Jul 17, 2025
2b4ce57
Merge remote-tracking branch 'origin/main' into refactor-allocate-to-…
BryanMLima Jul 24, 2025
6b24b2e
Rename UserVmDetailVO references to VMInstanceDetailVO
BryanMLima Jul 24, 2025
6c65b5c
Merge remote-tracking branch 'origin/main' into refactor-allocate-to-…
BryanMLima Aug 1, 2025
85c694f
Remove unused imports
BryanMLima Aug 1, 2025
e153515
Add new line at EOF
BryanMLima Aug 1, 2025
1d8e0e6
Merge remote-tracking branch 'origin/main' into refactor-allocate-to-…
BryanMLima Sep 25, 2025
39a6031
Remove unnecessary random allocator pom
BryanMLima Sep 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Move random allocator from cloud-plugins to cloud-server
  • Loading branch information
BryanMLima committed Jan 27, 2025
commit be8bab68f2dd12f42316e7113adef53d74fa2015
30 changes: 0 additions & 30 deletions plugins/host-allocators/random/pom.xml

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions plugins/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@

<module>ha-planners/skip-heurestics</module>

<module>host-allocators/random</module>

<module>hypervisors/baremetal</module>
<module>hypervisors/hyperv</module>
<module>hypervisors/kvm</module>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
<bean id="firstFitAllocator"
class="com.cloud.agent.manager.allocator.impl.FirstFitAllocator" />

<bean id="randomAllocator"
class="com.cloud.agent.manager.allocator.impl.RandomAllocator" />

<bean id="FirstFitRouting"
class="com.cloud.agent.manager.allocator.impl.FirstFitRoutingAllocator">
<property name="name" value="FirstFitRouting" />
Expand Down