- 29 Jun, 2022 3 commits
-
-
Rafael Monnerat authored
Re-serialise the object from the dict after hit cache is slow enough to cause problems ounder high load. This change preserve the previous behaviour reaching the final XML from cache keeping performace on SlapTool and allowing new implementation benefit from cache at same time. Fixup test to match xml with xml.
-
Rafael Monnerat authored
This API extends catalog tool to search node and partitions using unrestricted search and accertACI. The mains goal here are: - raise Unauthorized (instead NotFound) when the object exists but you cannot have access - Globaly cache when you find a computer since this is quite intense operation - Be able to search regardless security (which is required for some usecases).
-
Rafael Monnerat authored
The internal API only store dict, rather them store xml. slapos.slap.slap is only used on SlapTool context, releasing the internal API on having it. The approach is deprecate the usage of it as soon clients relies on a different API.
-
- 28 Jun, 2022 1 commit
-
-
Thomas Gambier authored
-
- 27 Jun, 2022 2 commits
-
-
Rafael Monnerat authored
-
Thomas Gambier authored
-
- 24 Jun, 2022 1 commit
-
-
Thomas Gambier authored
$ slapos --version slapos 1.7.7 (Python 3.9.2)
-
- 22 Jun, 2022 1 commit
-
-
Thomas Gambier authored
-
- 10 Jun, 2022 1 commit
-
-
Jérome Perrin authored
-
- 06 Jun, 2022 2 commits
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!389
-
Rafael Monnerat authored
-
- 31 May, 2022 1 commit
-
-
Rafael Monnerat authored
-
- 27 May, 2022 2 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Those files tend to be modified quite often, including on the sub projects.
-
- 26 May, 2022 7 commits
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!387
-
Rafael Monnerat authored
The site and translation data is updated after the installation, causing the delta. For now we ignore it and we update translation later.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
- 18 May, 2022 3 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
The purpose of the restricted parameters were to keep hidden values which weren't part of the schema on the parameter form, for a simplified version of the form. Since the user can always edit the raw values (over XML) this feature is undesirable, since if produce inconsistent outcome. It is the duty of software release to produce a simplified version, with a restricted list of acceptable parameters.
-
Rafael Monnerat authored
Drop non required new line (it will be added anyway).
-
- 16 May, 2022 3 commits
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!385
-
Rafael Monnerat authored
The "bad" sample are examples that are miss used, but it should still works (as expected by the format). The first example are from the implementation of boolean using enum + strings.
-
Rafael Monnerat authored
Boolean should be handled as boolean not as strings. Selection should include default value even if they are outside the enum list.
-
- 13 May, 2022 4 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Keep the xml_output as it is even if the form is Invalid, this allow the user force post (since it is the user decision). If the textarea is blank/empty, add the default xml (empty values) in place, otherwise the user cannot re-render the parameter form back.
-
Rafael Monnerat authored
-
Thomas Gambier authored
See nexedi/slapos.libnetworkcache@0fe8148a slapos.libnetworkcache now needs the signature key to have a corresponding certificate in signature-certificate-list so we need to give signature_certificate_list to NetworkCacheClient constructor.
-
- 12 May, 2022 6 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Include more sample data.
-
Rafael Monnerat authored
This makes eventual reuses for testing and demostration easy.
-
Rafael Monnerat authored
-
Alain Takoudjou authored
-
- 10 May, 2022 3 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
See merge request !384
-
Rafael Monnerat authored
The kvm json schema is wrong, and it was fixed on a certain context, so I'm just dropping the assertion here until the software instance is refactored to use JSON in XML by default.
-