- 29 Sep, 2022 1 commit
-
-
Rafael Monnerat authored
It is used to get the events that follow up to a ticket that aggregates (or sub object aggregates) to an document (usually Compute Node or Instance Tree).
-
- 27 Sep, 2022 4 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Reuse Base_getOpenRelatedTicketList to query tickets consistently and extends original goal to also show Upgrade Decisions. This tab shows all Tickets related to the computer and to all instance trees that has one instance allocated on it (even if isn't the one that is failing).
-
Rafael Monnerat authored
Use default_or_child_aggregate_uid is enough (and simpler). Use specific states to be consistent with RSS queries.
-
Rafael Monnerat authored
Reduce the number of scripts and refactor the query script to rely on getMovementHistory. Before only the latest event was notified, to reduce the list and only to ping the user to access the site. Now all events are considered on the list (not the latest ones) and include some general clean up on base RSS feeds.
-
- 23 Sep, 2022 2 commits
-
-
Xavier Thompson authored
See merge request nexedi/slapos.core!423
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!429
-
- 22 Sep, 2022 5 commits
-
-
Rafael Monnerat authored
Events are creates via script (and API) now, instead jio_post.
-
Xavier Thompson authored
Add `README.md` instructions explaining how to adapt the migration tests after upgrading the proxy database version.
-
Xavier Thompson authored
When migrating entries, use `INSERT OR REPLACE` to get rid of duplicate rows that cause constraint violations, instead of raising an exception. Note that this only affects the `forwarded_partition_request` table: for other tables it changes nothing in terms of behavior because the intial tables already cannot contain conflicting rows.
-
Xavier Thompson authored
Insert duplicate entries in `forwarded_partition_request` table of each database dump of previous versions, and assert that only a single entry remains after the migration.
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!427
-
- 21 Sep, 2022 4 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!426
-
Jérome Perrin authored
These scripts were re-implementing the download logic of download_playbook with the difference being using a different name for the temporary file, but we don't care about the temporary file name Another difference was to edit slapcache.cfg once it is downloaded, this part, we need to keep it.
-
- 20 Sep, 2022 4 commits
-
-
Xavier Thompson authored
-
Xavier Thompson authored
-
Xavier Thompson authored
Avoid bloating the proxy database due to each instance processing adding the same entries for forwarded requests as duplicate rows again and again, leading to unbounded growth.
-
Rafael Monnerat authored
See merge request !425
-
- 19 Sep, 2022 6 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
This code is old and unused, so we move into slapos_ecoallocation and drop the installation of the business template.
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!424
-
Rafael Monnerat authored
Use lxml on tests since pyxml was removed (from our build). A side effect is the usage of double quote rather them single quote when parse the response, but it is quite minimal change (no impact in production or API, only for this particular test)
-
Rafael Monnerat authored
The welcome message can be customizes across projects so we assert the least as possible in relation to the message body.
-
- 16 Sep, 2022 7 commits
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!420
-
Rafael Monnerat authored
Unify constraints to check if reference is Unique under SlapOSReferenceConstraint Before the introduction of ERP5 Login, it would require to check if reference was unique, by checking also Person documents. This isnt required anymore, since ERP5 Login/Certificate Login and user_id has its own code to check if user is Unique.
-
Rafael Monnerat authored
It is essential that reference is Unique, since it is widely used for security and SLA. This replaces one alarm present on slapos_administration to detect it, now we may rely on checkConsistency checks.
-
Rafael Monnerat authored
This replaces one alarm on slapos_administration for the same purpose
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!422
-
Rafael Monnerat authored
For now keep a BIG list, so we can track better later (once we drop unused code).
-
Rafael Monnerat authored
Check if all python scripts and ZSQL Method is present on at least a Test Component. This is far from perfect, but at least it gives an overview on what is untested. This tests replaces the python script for the same purpose ERP5Site_testPythonScriptTestCoverage
-
- 15 Sep, 2022 1 commit
-
-
Rafael Monnerat authored
See merge request !421
-
- 14 Sep, 2022 2 commits
-
-
Rafael Monnerat authored
Due slow indexation (on concurrent requests) the values on catalog can be outdated whenever getSucessorRelatedList is called
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!419
-
- 13 Sep, 2022 4 commits
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!418
-
Rafael Monnerat authored
The website value is set on the tests (but not present on live tests) so make the tests complay with both.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
It is not meaningful anymore, since the payments are mostly related to Subscription Requests
-