- 17 Dec, 2024 3 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
This way, running `slapos request n https://software.url` does not emit logs when fetching the software schema, but it does when using the `--verbose` flag.
-
- 16 Dec, 2024 1 commit
-
-
Jérome Perrin authored
Tests were using mywebsite.me, which is an existing domain for which HTTP requests timeout, this make the test slow and it is generally not OK that the test use a real web site. Using .example, as recommended by rfc2606 prevent these problems.
-
- 11 Dec, 2024 6 commits
-
-
Rafael Monnerat authored
Move shared code into InstanceTree_getNodeAndAllocationSupplyCellList and reuse into CRM and PDM for get the related Allocation Supply. This preserve the logic into a single location. Include more tests and extend implementation to now support Instance Node too.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Add a daily alarm to verify if all instance allocated have proper Allocation Supply configured and if they still respect the SLA. Extend SoftwareInstance_getReportedErrorDict to verify SLA, since, in general the context of the report should be the instance tree. The calculation is cheap to assert the SLA, and this script already has specific checks to inform the user about bad approaches.
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
Do not check deleted root instances
-
- 06 Dec, 2024 1 commit
-
-
Rafael Monnerat authored
-
- 05 Dec, 2024 11 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Now we rely on implementer decorator
-
- 03 Dec, 2024 4 commits
-
-
Rafael Monnerat authored
Base_addSlapOSSupportRequest always created a ticket so no reason to invoke Project_createTicketWithCausality anyway.
-
Titouan Soulard authored
Floating point arithmetics often lead to unsignificant differences between expected and computed values (this is the typical example of `0.1 + 0.2 != 0.3`). Because of this, some tests using `assertEqual` to compare two floats were failing. The Python method [`assertAlmostEqual`](https://docs.python.org/2.7/library/unittest.html#unittest .TestCase.assertAlmostEqual) can prevent these issues by comparing values up to the seventh decimal place. To find all occurences, two RegExp were ran on all files of the `tests/` folder: `assertEquals?(\\(.+, [0-9]+\\.[0-9]+\\))` and `assertEquals?(\\([0-9]+\\.[0-9]+)`. /cc @xavier_thompson @tomo /reviewed-by @jerome /reviewed-on !719
-
Thomas Gambier authored
-
Titouan Soulard authored
The old `SafeConfigParser` class has been deprecated since Python 3.2, and was fully dropped in Python 3.11. See issue [#45173](https://bugs.python.org/issue45173) on Python's bugtracker. /cc @xavier_thompson who may ping anyone else if needed
-
- 28 Nov, 2024 2 commits
-
-
Romain Courteaud authored
slapos_accounting: calculating the outstanding deposit amount need to also check the balance which include the VAT Test: ensure a second service can be ordered
-
Romain Courteaud authored
-
- 27 Nov, 2024 2 commits
-
-
Thomas Gambier authored
-
Jérome Perrin authored
so that we can click on the link
-
- 22 Nov, 2024 1 commit
-
-
Rafael Monnerat authored
If a software instance with 1 or more slave instances allocated on it is destroyed the instances aren't reallocated, so let's create a ticket to high light the problem.
-
- 21 Nov, 2024 2 commits
-
-
Rafael Monnerat authored
Probably a copy and paster or typo.
-
Rafael Monnerat authored
Destination is never set... Destination Section is a proper value for the condition.
-
- 18 Nov, 2024 7 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Whenever the Upgrade Decision arrives at final state (Close, Reject, Cancel) all stopped events are delivered.
-
Rafael Monnerat authored
The upgrade decision portal type should be return whenever getPortalTicketTypeList() is called. This aims to fix Worklists for Events when they follow up to an Upgrade Decision.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
On final state, we just deliver all stopped events related to Subscription Requests. While the Subscription is submitted, the events will be kept stopped, so the manager (accountant/sale) can have it on their worklists. Add tests for new alarm Invoke alarm to deliver related events, whenever the Susbscription Request is invalidated (end of life).
-
Rafael Monnerat authored
Rename *[sS]toppedEventToDeliver to *[sS]toppedEventFromSupportRequestToDeliver to reflect proper usage Add *[sS]toppedFromEventRegularisationRequestToDeliver to handle delivering of Events from Regularisation Request via new alarm Update and add tests accordingly. Narrow the slapos_crm_interaction_workflow to only trigger alarm if the follow up portal type is relevant, to not over trigger the alarm on excessive amount of occasions.
-
Rafael Monnerat authored
On final state, there is nothing that could be done, and send a message won't be seen on worklists anyway.
-