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
6adcc3e1f4
Fixed host fqdn check to "allow" non fqdn hostname... Yes, i know its a nonsense, but for now... :)
...
Upddated admin to include CVS import
2024-04-29 19:48:02 +02:00
Adolfo Gómez García
7316953e75
Doney Physical Machines
2024-04-29 00:24:04 +02:00
Adolfo Gómez García
eb86784c62
Added support for importing unmanaged servers using CSV
2024-04-28 18:58:16 +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
1dcc1f71df
Fixed pyright complains about pillow
2024-04-21 01:20:44 +02:00
Adolfo Gómez García
b2679104e2
Small debug text fix
2024-04-18 18:57:11 +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
d84e5ac38c
Heavy redone of Physical Machines using server groups as backend.
...
Simplified a lot, and added convenient migrators and data upgraders
2024-04-18 03:35:40 +02:00
Adolfo Gómez García
2822013b36
Fixed servers basic information
2024-04-17 19:56:22 +02:00
Adolfo Gómez García
60c5f37591
Update cache timeout constants in cache.py and client.py
2024-04-16 22:53:35 +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
8f17f2e545
Security fixes from git
2024-04-11 16:31:45 +02:00
Adolfo Gómez
871538f341
Merge pull request #113 from NinhDoan/fix-check-user-state
...
fix: check the user's state when handling a request
2024-04-11 16:20:24 +02:00
ninhdh3
839d798e56
fix: check the user's state when handling a request
2024-04-11 13:44:51 +07:00
Adolfo Gómez García
cf8498ad37
small improvement for loglevel handling in log.py
2024-04-10 20:57:55 +02:00
Adolfo Gómez García
e6778eda38
Fixed tree generation for logs
2024-04-10 20:56:52 +02:00
Adolfo Gómez García
7c16960d3a
Refactor OpenGnsys views and helpers to improve code readability and maintainability
2024-04-10 17:21:09 +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
c95d54eea8
created a default method for get_and_assign, most fixedservices will use this
2024-04-09 23:25:06 +02:00
Adolfo Gómez García
339eeb7967
Making more homogeneous the new window on brower-based transports
2024-04-09 16:01:26 +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
3dedd9b7e0
Fixed problems with transports
2024-04-08 17:49:08 +02:00
Adolfo Gómez García
bab8f3965a
Minor fixes ading resilence to server unreachable
2024-04-08 01:13:05 +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
0554089ecc
Improving generic services
2024-04-08 00:10:28 +02:00
Adolfo Gómez García
05c434eb8a
Some minor fixes on generics, order of fields...
2024-04-07 05:43:48 +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
37b0864c12
Fixed fixed service tab
2024-03-28 03:11:24 +01:00
Adolfo Gómez García
4457c4e84d
Minor change to test streamed data with get_items of details
2024-03-27 22:59:35 +01:00
Adolfo Gómez García
c8f402a419
Added xperimental support for streaming some kind of results.
...
Currently no one streams anything, way to go to prepare everything for this.
also, removed non-unsed non-maintained filtering
2024-03-27 22:44:11 +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
0322df85d5
Added default implementatio of remove_and_free_machine (very common...)
2024-03-26 01:46:06 +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
Adolfo Gómez García
885fe8f31f
Name fix on tests
2024-03-24 00:33:57 +01:00
Adolfo Gómez García
262f63d926
Minor fix on test
2024-03-23 23:47:47 +01:00
Adolfo Gómez García
9320eb3adf
Some renaming for better significance
2024-03-23 23:12:00 +01:00
Adolfo Gómez García
8f98314c97
Some minor case fixes on dynamic
2024-03-23 03:41:56 +01:00
Adolfo Gómez García
e70dcd4f23
Some improvements (minor) to autoserializable
2024-03-22 22:34:30 +01:00
Adolfo Gómez García
15d84816fa
Removed old proxmox implementetion in favor of the new, generic based, one
2024-03-22 02:50:55 +01:00
Adolfo Gómez García
967a6fe925
Finishing generic services implementations
2024-03-22 02:28:06 +01:00
Adolfo Gómez García
dfb15e8920
Refactorized "specializations" name to a more convenient "generics"
2024-03-22 01:17:34 +01:00
Adolfo Gómez García
ccce6650ba
Fixing dynamic service specializations and tests
2024-03-22 01:08:17 +01:00
Adolfo Gómez García
165d3bde21
Fixing dynamic service and proxmox implementation using this
2024-03-21 04:01:24 +01:00
Adolfo Gómez García
83f4359f90
Added some improvements to Nutanix Prism Central
2024-03-19 21:55:54 +01:00
Adolfo Gómez García
08618f5dbb
Fixed pools and ad test, also backup server required
2024-03-19 16:55:19 +01:00
Adolfo Gómez García
5c9bf779e3
Adding new specialization and remaking Proxmox conector based on this.
...
Also have left old proxmox while testing aroung (As ProxmoxOrig, but with typenames changed to avoid collisions). Will be removed as soon as all is working fine
2024-03-19 04:42:33 +01:00
Adolfo Gómez García
4fb1da1554
Fixed publication return types and advancing on custom dynamic services base
2024-03-18 22:34:55 +01:00
Adolfo Gómez García
42556d9e33
Restored removed methd by mistake
2024-03-18 19:52:03 +01:00
Adolfo Gómez García
4835035156
Started a generic "dynamic service" to simplify a lot all userservice implementations. Work in progress..
2024-03-18 19:33:46 +01:00
Adolfo Gómez García
70738e7801
Done oVirtTests for linked deployment, with soft shutdoen
2024-03-18 04:28:46 +01:00
Adolfo Gómez García
6e2980cffc
Added try soft shutdown to ovirt
2024-03-18 00:21:49 +01:00
Adolfo Gómez García
188b27eb90
Advancing on ovirt, some refactoring and fixes
2024-03-17 23:22:39 +01:00
Adolfo Gómez García
f497c388ba
Adding tests and fixing ovirt
2024-03-17 04:33:12 +01:00
Adolfo Gómez García
3e8405482e
Done ovirt provider tests
2024-03-17 02:04:54 +01:00
Adolfo Gómez García
a0cb8d4778
Creating provider tests for ovirt
2024-03-17 01:38:24 +01:00
Adolfo Gómez García
ce1d1eba19
Added required methods to allow fixedservice and finished client mock and data
2024-03-16 03:42:37 +01:00
Adolfo Gómez García
cbacc20909
Improving A LOT the ovirt connection
...
Adding test for ovirt
2024-03-16 02:33:46 +01:00
Adolfo Gómez García
e70f2cd07b
Reverted changes on client scripts, to keep compat with 3.6 version. On next client requirement update, will make the changes again.'
2024-03-15 17:10:08 +01:00
Adolfo Gómez García
9f4c1ea28d
Improved fixed services, and refatorized some methors name to be more consistent
2024-03-15 12:13:49 +01:00
Adolfo Gómez García
1a0b83327c
actorv3 fixes (cosmetic...)
2024-03-15 02:35:45 +01:00
Adolfo Gómez García
8512435a22
Updated gui to show custom message on pool launch if required
2024-03-15 01:50:14 +01:00
Adolfo Gómez García
4ee8697827
REST fixes.
...
Fixed several bugs arised with refactorization (Most related to type checkin on runtime), and added support for graduan moving custom methods to snake_case keeping backwards camelCase compat
2024-03-15 01:32:58 +01:00
Adolfo Gómez García
cf8660aa78
Added support to call custom methods as camelCase of snake_case (keeping backwards compat, but allowin new snake_case standard to be used)
2024-03-14 23:50:35 +01:00
Adolfo Gómez García
df5d18710a
Fix service assignments and serialization issues on tests after refactoring storage
2024-03-14 23:20:44 +01:00
Adolfo Gómez García
24c2da1b4b
General fixes and improvements.
...
Added custom messages to service pool and made miscellaneous updates.
Renamed and added new files in OVirt service, including new types.
Updated OpenStack and PhysicalMachines services.
Modified Proxmox deployment and made changes to main.js and index.html.
Fixed HTML5RDP, HTML5SSH, HTML5VNC, RDP, SPICE, X2GO transports.
Updated unit tests.
2024-03-14 22:41:27 +01:00
Adolfo Gómez García
cbd67c5c71
Fixed fixed_service and start working on ovirt
2024-03-13 23:26:15 +01:00
Adolfo Gómez García
189e530c3a
small proxmox improvement
2024-03-13 02:21:16 +01:00
Adolfo Gómez García
7ecadee56f
Fix OpenStack and Proxmox service issues. Finished tests for OpenStack.
2024-03-13 02:11:45 +01:00
Adolfo Gómez García
7be200f173
Added initial fixed service to OpenStack. Need to complete related tests
2024-03-12 18:52:09 +01:00
Adolfo Gómez García
c64a788523
Fix where data is cached on openstack, and normalized some small cache durations
2024-03-12 03:25:56 +01:00
Adolfo Gómez García
12548b44cc
Many more improvements to openstack and advanced on tests. Hope to finish them by tomorrow
2024-03-12 03:17:24 +01:00
Adolfo Gómez García
d542e65a9c
Fixes for OpenStack provider & tests for same provider
2024-03-10 23:22:51 +01:00
Adolfo Gómez García
f760b55561
Refactor decorators and remove unused import
2024-03-10 16:50:54 +01:00
Adolfo Gómez García
a3f50e739a
Improved decorators signatures & removed transaction.atomic from cached call
2024-03-10 16:22:10 +01:00
Adolfo Gómez García
6ab0307bdd
added cache to is_available
2024-03-10 04:04:55 +01:00
Adolfo Gómez García
934c43636e
Added missing cache for list_snapshots
2024-03-10 02:25:20 +01:00