1
0
mirror of https://github.com/dkmstr/openuds.git synced 2024-12-22 13:34:04 +03:00
Commit Graph

183 Commits

Author SHA1 Message Date
Adolfo Gómez García
354ff27e2a
Refactor cache.set to cache.put for improved code readibility 2024-10-25 20:40:04 +02:00
Adolfo Gómez García
e1ac39e67f
Refactor storage to use dictionary views for improved performance and convenience 2024-10-19 22:35:20 +02:00
Adolfo Gómez García
f7d10a4f4b
Refactorized and moved some "forgotten" services to it place under "core.exceptions" 2024-10-18 17:39:44 +02:00
Adolfo Gómez García
83521cfd7a
Refactor get_services_info_dict function to use valid_trans instead of validTrans 2024-10-15 20:22:53 +02:00
Adolfo Gómez García
9357d61e02
Refactor code to fix CryptoManager method call and improve code readability ad added optional transport instance to userservice creations fixtures 2024-10-15 20:22:38 +02:00
Adolfo Gómez García
ac450880c9
snake_case fixin before stabilizing... :) 2024-10-12 19:21:01 +02:00
Adolfo Gómez García
5edc920e01
added comments for cached endpoints on openstack 2024-10-10 00:14:12 +02:00
Adolfo Gómez García
64d91a7d70
Moved outside src tests (Again... :) ) 2024-10-09 17:06:13 +02:00
Adolfo Gómez García
6d4d79f0b7
Moved tests inside src 2024-05-13 18:28:38 +02:00
Adolfo Gómez García
77e45099d1
Minor fixes and added a "vars.py" utility for specific servers (with auth info) tests 2024-05-08 22:02:13 +02:00
Adolfo Gómez García
56cdee2b0d
Small test fix 2024-05-06 02:22:40 +02:00
Adolfo Gómez García
6de7c65a0f
fixed test_fixed_service.py to use types.services.Operation instead of userservice.Operation 2024-05-05 19:42:57 +02:00
Adolfo Gómez García
7737bbf758
REfactorign "remove" in favor of "delete" 2024-05-05 18:49:44 +02:00
Adolfo Gómez García
029224c749
Small utility method fix to allow None Search 2024-05-05 00:23:12 +02:00
Adolfo Gómez García
7b5e87dd15
Removed not needed "new format" flag 2024-05-04 22:08:33 +02:00
Adolfo Gómez García
0570a1ae27
Fixed autoserializable default assign error and related test 2024-05-04 21:57:32 +02:00
Adolfo Gómez García
04f144cd2d
chore: Update UDS admin runtime, polyfills, and main scripts. Updated minor cache definitions 2024-05-03 03:34:56 +02:00
Adolfo Gómez García
7316953e75
Doney Physical Machines 2024-04-29 00:24:04 +02:00
Adolfo Gómez García
628f43a2e7
Removed unused (since years ago) "must_assign_manually" 2024-04-28 16:33:24 +02:00
Adolfo Gómez García
53e0cefc21
Refactorized log types and fixes 2024-04-28 02:21:47 +02:00
Adolfo Gómez García
6694b9d5bc
Renamed some fields of servers to better understand what they are
Adding physical machines fixtures, tests, ,,,
2024-04-27 22:31:39 +02:00
Adolfo Gómez García
30bbf1ef0f
Fixed config
Done migration tests for PhysicalMachines
2024-04-26 00:58:48 +02:00
Adolfo Gómez García
c39c8c9583
* Some minor fixes to fields
* Adding test for ensuring migration from physical machines is correct
2024-04-25 04:35:39 +02:00
Adolfo Gómez García
3f70576002
IP multi-machines services serialized data is upgraded on migration, so test are not possible 2024-04-21 23:52:52 +02:00
Adolfo Gómez García
156608b6ae
Updating deployment multi migration. Needed to keep locked values correctly. 2024-04-21 23:50:45 +02:00
Adolfo Gómez García
d93ed52884
Fixed Serialization ui.
From old serialization, data fields where not correctly translated.
Also the test was bad designed, as the data of original was not randomized to ensure data loaded was right.
2024-04-18 18:42:02 +02:00
Adolfo Gómez García
229962cbd2
Some more func documentation and small fixes 2024-04-15 21:21:36 +02:00
Adolfo Gómez García
a5bfec3aa9
Some refactoring and minor fixes 2024-04-15 15:49:04 +02:00
Adolfo Gómez García
c02c9f45a4
Improvements to generics, and fixes related to macs.
* Now correctly notes that if get_mac is with an empty vmid, should process acordly to the specific service.
* Now, before starting or stopping and vms, the state is checked by the userservice (using is_running)
2024-04-12 04:47:15 +02:00
Adolfo Gómez García
e5e72de4b4
Fixed test for openstack 2024-04-09 23:49:55 +02:00
Adolfo Gómez García
fca36ead57
Adding resilence to generics 2024-04-09 02:22:31 +02:00
Adolfo Gómez García
4b5913183c
Fixed "fixed" service generic test 2024-04-08 00:47:02 +02:00
Adolfo Gómez García
5718c0d8c0
decoupled snapshot process into two different methods, much clearer 2024-04-08 00:36:23 +02:00
Adolfo Gómez García
fb3945975c
Fixed proxmox tests 2024-04-02 23:39:51 +02:00
Adolfo Gómez García
1df9ab40a6
Fixing up generics, adding support for random & keep on error to fixed, some minor fixes 2024-04-02 23:21:32 +02:00
Adolfo Gómez García
02fb954e29
Removed FixedOperation in favor of Operation 2024-04-02 21:59:41 +02:00
Adolfo Gómez García
d264cffca2
Refectorinf fixed service so it looks more like an dynamic service (methods names, etc...) 2024-04-02 20:19:26 +02:00
Adolfo Gómez García
750715f8a2
Added support for randomizing machines assignation on service_fixed generics 2024-04-02 02:16:38 +02:00
Adolfo Gómez García
e0acbabcd2
Some minor fixes ond debug info provided 2024-04-01 04:16:51 +02:00
Adolfo Gómez García
a13b4431d0
Refactors and improvements to fixed_service generic 2024-04-01 03:54:12 +02:00
Adolfo Gómez García
2290b4f235
Some renames 2024-03-31 20:23:19 +02:00
Adolfo Gómez García
fc230d7205
Refactorized name and get_type from module to mod_name and mod_type, much more convenient and may avoid future name clashs 2024-03-31 15:21:40 +02:00
Adolfo Gómez García
d598dd5d0d
Set default max number of checks to a big number on publications, because they can take a long time. 2024-03-30 17:49:39 +01:00
Adolfo Gómez García
79ddb6016f
Some notes on Proxmox test 2024-03-28 19:20:39 +01:00
Adolfo Gómez García
1780e6c2d9
Fixing fixtures to improve tests compat 2024-03-26 04:08:43 +01:00
Adolfo Gómez García
83fc9f2e7f
Improved openstack tests to avoid problems 2024-03-26 03:36:48 +01:00
Adolfo Gómez García
93ebf82c79
Normalizing all machine ids names to "vmid" 2024-03-26 02:34:05 +01:00
Adolfo Gómez García
fedd6507ae
Fixed openstack tests (due to incorrect initial states of some tests) 2024-03-25 05:01:09 +01:00
Adolfo Gómez García
4a05ebe074
Fixind dynamic service generics and done tests for them 2024-03-25 04:39:33 +01:00
Adolfo Gómez García
8ec010a9bb
Some minor fixes of fixed service of generics 2024-03-24 01:42:08 +01:00