- 27 Mar, 2024 10 commits
-
-
Romain Courteaud authored
Drop the allocation scope open/subscription/public logic. Instead, use Project as Virtual Master, and force all slapos_cloud object to be linked to one Project: * every Compute Node is linked to a Project * any Project's Instance can be allocated on a Project's Compute Node Allocation is managed by configuring an Allocation Supply document, which defined on which Compute Node a Software Product can be allocated. User are not allowed anymore to change the release/type/shared state of their Instance Tree. Managing Compute Node is done on the virtual master level, and so, there is no need to define any Compute Node administrator. A Software Product is a variated resource with 2 axes: software release url and softare type. Slave Instance are now allocated on Instance Node, which is created from the Software Instance which will control the configuration. Slave Instance allocation is also controlled by an Allocation Supply, which allow separating the Software Instance and Slave Instances versions. There could be any number of virtual master in the system. Every virtual master defines its own Software Products. Because of this, it is not possible to change a document's virtual master after its creation. Instance request can be propagated on another virtual master, by allocating them on a Remote Node document, which will generate a new Instance Tree request on another virtual master. Also in this commit: * trigger alarms as soon as possible with interaction workflow which allows to reduce some alarms frequency * drop never used Organisation logic * drop person.requestSite * drop audit_validation_workflow * drop ComputePartition_getCustomAllocationParameterDict This is a hack incompatible with virtual master standalone logic. * drop cloud contract * do not sort security base category when generating local roles Otherwise, it is not possible to ensure source_section/function and destination/function generate the same local role * stop using hardcoded currency/organisation/trade condition/business process * drop templates usages * add One Time Virtual Master Access Token portal type Needed for compatibility with the compute node deploy script
-
Romain Courteaud authored
* automated ledger * drop allocation_scope/open/* categories All compute nodes are public now * add use/trade/deposit category * add trade condition type categories. This will be used to automatically select a Trade Condition in slapos_accounting * add invoicing taxable vat categories
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
* drop default_or_child_aggregate_reference * drop default_or_child_aggregate_uid catalog key * drop follow_up_default_or_child_aggregate_uid * drop causality_subscription_request_related_uid related key
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
This make usage of the relationfield nicer.
-
Romain Courteaud authored
-
- 26 Mar, 2024 1 commit
-
-
Romain Courteaud authored
This reverts commit d127603b.
-
- 25 Mar, 2024 1 commit
-
-
Rafael Monnerat authored
This is required due interacton workflow call on _setAlloctionScope. We could change the capacity_scope to close (so allocation worklfow order dont matter, but it would change the expected behaviour if we drop the interaction workflow, so it is more reasonable keep the existing behaviour unchanged.
-
- 23 Mar, 2024 1 commit
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!615
-
- 22 Mar, 2024 6 commits
-
-
Jérome Perrin authored
same as nexedi/erp5@2e366054
-
Jérome Perrin authored
With the previous approach, the test depend on the order of attributes, but this order is not stable when hash randomization is enabled and we don't care about order of attributes in this test.
-
Jérome Perrin authored
This is no stable with hash randomization, with PYTHONHASHSEED=593 this test failed.
-
Jérome Perrin authored
slapos_cloud:testSlapOSCloud fails with PYTHONHASHSEED=385
-
Jérome Perrin authored
this is done by upgrader in production, so it's consistent to do it before test
-
Jérome Perrin authored
sorted and with the usual workaround for trailing space bug
-
- 19 Mar, 2024 8 commits
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!613
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!614
-
Rafael Monnerat authored
This is quite specific to project based instances, so no need to add into every instance
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Test some particular cases or features that MUST not be used, to ensure nobody the editor is handling it properly.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!609
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!612
-
- 15 Mar, 2024 2 commits
-
-
Rafael Monnerat authored
Latest version had significant changes, so pin the version for now
-
Rafael Monnerat authored
-
- 14 Mar, 2024 3 commits
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!611
-
Rafael Monnerat authored
-
Jérome Perrin authored
Since ERP5 commit 6546e47f51 (erp5_software_pdm: a Software Product is a Service, 2022-09-07), the message changed
-
- 13 Mar, 2024 1 commit
-
-
Rafael Monnerat authored
This cause editor do not render the form.
-
- 08 Mar, 2024 5 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
It is better use the parameter_xml directly since, since there are no need for the editor handle hashed version of the parameters.
-
Rafael Monnerat authored
-
Julien Muchembled authored
It's been a while the server is ready. See nexedi/erp5@c45c2295
-
- 06 Mar, 2024 1 commit
-
-
Rafael Monnerat authored
-
- 01 Mar, 2024 1 commit
-
-
Rafael Monnerat authored
Replace it with an generic action directly pushed to erp5 (erp5_forge)
-