- 29 Jan, 2024 40 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
* reduce some alarms frequency Interaction workflow are needed to speed up everything * add Base_reindexAndSenseAlarm * add interactions to speed up allocation Use Base_reindexAndSenseAlarm, to ensure object is reindexed, in order to be handled by the alarm * test: no need to manually call alarms Interaction workflow will trigger them * and fix wrong usage of Base_reindexAndSenseAlarm
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
slapos_accounting: * stop using fixConsistency to set hosting subscription periodicity Set it directly from the script which create it slapos_subscription_request: * do not set the stop_date on the open order * generate a discount on the first invoice If the open order does not start the same day, do not ask user to pay for those missing days * no need to call OpenSaleOrder_updatePeriod when creating the open order
-
Romain Courteaud authored
* test: create deposit payment to validate the subscription * test: update related document count
-
Romain Courteaud authored
* test: define currency on the organisation * test: scenario for money deposit * test: typo * test: apply tax amount only if the resource is taxable * allow shadow user to view Organisation * test: reduce number of alarm calls
-
Romain Courteaud authored
* cleanup request when instance is not subscribed yet * stop instance tree propagation on instance_slap_interface_workflow Some alarm call request directly on the Instance Tree (this is expected) * rename Service_getSubscriptionStatus to Item_getSubscriptionStatus
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
* test that Subscription Request is created from Compute Node * drop SubscriptionRequest_processStopped * drop SubscriptionRequest_processStarted * drop SubscriptionRequest_processOrdered * drop SubscriptionRequest_processConfirmed * drop SubscriptionRequest_processRequest * drop SubscriptionCondition_renderKVMClusterParameter * drop Base_instanceXmlToDict * drop SubscriptionCondition_renderParameter * drop testSlapOSERP5VirtualMasterSubscriptionRequestScenario * ensure Subscription Request is consistent * allow to choose the currency when creating a Subscription Request * try to close the Subscription Request as soon as user paid an invoice * block subscription process if there is no deposit * do not accept new services if the virtual master subscription state is not expected * use Base_reindexAndSenseAlarm
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
* update one more test * test_virtual_master_slave_on_same_tree_without_accounting_scenario * test_virtual_master_on_remote_tree_without_accounting_scenario * test_virtual_master_slave_instance_on_remote_tree_without_accounting_scenario * test: really disable accounting
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
* test: use Person_addVirtualMaster to create project * test: login as user to request the instance
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
* init preferences in test * test: wip accounting scenario * test: slapos_subscription_request is installed again
-
Romain Courteaud authored
* test: new parameter * test: keep compatibility with previous addProject
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
* test Compute Node subscription creation * logout test
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
* Subscription Request are invalidated after Open Order is created * test: create project by doing a subscription request
-
Romain Courteaud authored
* create trade condition which could be applied to subscribe to a virtual master * local roles of Subscription Request * subscription request interaction workflow * do not allow Sale function to modify Subscription Request Let's automate everything for now
-
Romain Courteaud authored
* ensure that alarm propagate parameters of orphaned Instance Tree * drop usage of Subscription Request * check the Subscription Request instead of the Cloud Contract * drop checkCloudContract method
-
Romain Courteaud authored
slapos_cloud: only propagate Instance Tree parameters to the Software/Slave Instance only if an Open Sale Order exists
-
Romain Courteaud authored
* add Open Sale Order local roles interaction workflow * update Sale Trade Condition local roles * allow user to see his Open Sale Order * only sale people can create Sale Supply
-
Romain Courteaud authored
allow users to create Compute Node / Instance Tree
-
Romain Courteaud authored
* update Sale Trade Condition local roles with interaction * show Sale Trade Condition to its destination
-
Romain Courteaud authored
* add slapos_virtual_master_subscription local roles * only sort some properties * Sale agent can access currencies * restore Subscription Request local roles * Sale agent can create Subscription Request
-
Romain Courteaud authored
-