- 29 Jan, 2024 37 commits
-
-
Romain Courteaud authored
* add SlapOSLedgerConstraint * add SlapOSLedgerConstraint on all * Transaction XXX FOrces tests to fail as much as possible if ledger is not configured. Add test to ensure constraint is configured * hardcode automated ledger category for the newly created sale packing list * propagate ledger in the simulation tree * build ledger category from delivery builders * aggregate ledger from order builder * ensure ledger category is allowed on the portal type when using the constraint * requires ledger on Hosting Subscription, Open Sale Order and Sale Packing List * hardcode ledger value on Open Sale Order and Hosting Subscription * open order must propagate the ledger value * automated ledger path * add ledger to the accounting template * source_administration is not used anymore on Compute Node * source_administration is not used anymore on Compute Node * add source_project constraint on all portal type requiring a ledger * set the source_project on the open sale order * propagate source_project in the simulation/builder * remove source_project constraint from the ledger property sheet * add SlapOSVirtualMasterSourceProjectConstraint on all accounting portal types * use Software Product instead of the service slapos_instance_subscription * build movement using Software Product * consider Software Product as a Service * use Software Product * search the trade condition with searchPredicateList * ensure trade condition is found * disable open order alarm * disable open order creation * add slapos_virtual_master_subscription service * allow using open order for different kind of item * add constraint to check if open order has a sale trade condition * reactivate open order alarm * check if Sale Trade Condition has a business process * ensure open order line has a resource, price, quantity * new constraints for open order / sale trade condition * only automate invoice with automated ledger * only automate packing list with automated ledger * only automate packing list with automated ledger * only automate packing list with automated ledger * add new business process to go from order to invoice This may be temporary. Name is bad on purpose for now. * not sure if it is a good idea to hardcode the business process list... * do not crash if open order line is not linked to an instance * force total_quantity to be > 0 instead of checking quantity property * XXX support Open Order Cell * XXX constraint must also support Cell * create Open Order Cell * first version to fetch trade conditions and prices * select the correct software release/type on open order * get price from sale supply * do not create the open order if the software product can not be found * set price on the open order it requires to create a temp sale order, where sale supply is automatically applied * SlapOSVirtualMasterSourceProjectConstraint on Sale Supply * InstanceTree_getSoftwareProduct also return release and type variations * wip sale supply test * configure Sale Supply predicate * test Supply Line matching and getPrice * allow Supply Line to define price even if resource has variations Force quantity unit to match (no convertion for now) * order Supply Predicate matching * Supply Cell before Line * stop hardcoding default quantity unit * add comment if price not found * quantity is defined on cell * do not create Hosting Subscript before the price is found * slapos_accounting: link Hosting Subscription to project * Cloud Contract is not global for ERP5 Site, but per Virtual MAster * project needed on assignment/compute node * export module business application * revert zero_emission_ratio service deletion I do not remember why I dropped it * set source/destination_project and ledger on created payment * drop slapos orga and accounting template
-
Romain Courteaud authored
* open personal * allocation scope is meaningless to restrict allocation permission * add follow_up category on Compute Node To attach to a project * require a project reference when requesting a compute node * requesting a compute node requires a project * increase error verbosity * stop using shadow to allocate instance Use project only * set follow up on Instance Tree and Software Instance portal type * requesting an instance tree requires a project * assert project reference is provided * propagate follow up when requesting instance * requesting an instance requires a project * add follow_up accessor on compute partition * no need for follow_up on Compute Partition * directly search follow_up value on parent Compute Node * use new related key format * drop source_administration from Compute Node * drop source_administration on Compute Node * drop source_administration from Compute Node * Software Installation drop destination_section and use follow_up * stop setting role/member on Assignment by default * requesting an instance tree need a project reference * add SlapOSVirtualMasterConstraint XXX TODO fix broken TALES expression which prevent entering invaludated/suspended * configure SlapOSVirtualMasterConstraint on most slapos cloud portal types XXX TODO check if some are missing * SlapOSVirtualMasterConstraint need f#+=!$ TALES expression * drop ComputerNetwork_getSoftwareReleaseAllocableState source_administration is not used anymore on Compute Node * source_administration is not used anymore on Compute Node * drop transfer from another Project * drop transfer from another Project * drop transfer from another Project * drop transfer from another Project * drop allocation_scope/open categories * drop allocation_scope/open categories * move test function to mixin * drop ERP5Type_getSecurityCategoryFromAssignmentDestinationClientOrganisation * add SlapOSVirtualMasterSourceProjectConstraint * force source_project accessors when using SlapOSVirtualMasterSourceProjectConstraint * use instance/computer project in the security mapping * test use production/manager to request compute node * allocation_scope/open/public and friend do not exist anymore * only allocate on allocation_scope/open * only allocate on allocation_scope/open * SlapOSVirtualMasterSourceProjectConstraint requires source_project or destination_project * really check source/destination_project... * set compute node default allocation scope to open by default * ensure created Support Request is linked to a Project * drop request_destroy action * disable action if instance tree already has the expected state * move instance action to slapos_panel * move instance tree action to slapos_panel * fix default image usage * drop person.requestOrganisation * only search validated software product/release * add InstanceTree_getSoftwareProduct * do not require open order for allocation * drp audit_validation_workflow * search for Software Product Release Variation * XXX XXX disable crm alarms * drop ComputePartition_getCustomAllocationParameterDict This is a hack incompatible with virtual master standalone logic. Better design is needed * continue to hack on cloud contract * stop catching NotImplementedError * reindex Compute Partition when changing aggregate on Software Instance * Allocation Supply Module draft * allocation supply is... a supply * draft Allocation Supply Line/Cell * Allocation Supply Line view * Allocation Supply Line * SlapOSVirtualMasterSourceProjectConstraint on Allocation Supply * show allocation supply state * InstanceTree_getSoftwareProduct also return release and type variations * check Allocation Supply to filter where allocation can be done * improve Allocation Supply form * add Instance Node portal type * use the allocation supply start date to filter not yet activated * only use Software Product on Allocation Supply Line * configure Allocation Supply Cell predicate * test Allocation Supply predicate * add Project_getSoftwareProductPredicateList * show Allocation Supply destination * Allocation Supply Line are never used as predicate * allocate slave on instance from the same instance tree * method to request and allocate slave instance from an instance tree * add Remote Node portal type It will be used to create cross master allocation * missing workflow on Remote Node * return nothing is no Software Product is found * check if remote instance is allocated * propagate Remote Node requests * define destination_project/section on Remote Node * Remote Node can also be defined on Allocation Supply * test requesting Remote Slave * allow remote allocation on an uniq hardcoded partition * add Remote Node view * do not require Software Installation for Remote Node * add SlaposRemoteNodeConstraint * add SlaposInstanceNodeConstraint * starts moving test to virtual master design * also search allocation supply by node * can not predicate test on aggregate Aggregate is not acquired from Supply to Cell * Allocation Supply need an aggregated Node * AllocationSupplyConstraint * _makeComplexComputeNode need a project * _makeSoftwareRelease url * project on compute node * only return Software Instance related Compute Partition * project needed in test * no requestTransfer anymore * project needed * no source_administration * person need right assignment * open/personal does not exist anymore * drop organisation_slap_interface_workflow Security is only based on project now. Organisation will only be used by accountants * only project admin can create Computer Network * drop the idea of project owner Project will be products sold on the store * project needed in test * assignment needed to touch compute node * project needed in compute node / instance * project needed in test Allocation Supply is now needed... * person can not request project anymore * 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 * no need for SlapOSVirtualMasterConstraint on Computer Computer are not used for now * drip upgrade_scope * no need to search a Software Product if there is no url_string * only search compute node from the same project * manually filter Allocation Supply by Compute Node * drop not needed log * commit module business_application * fix SLA tests * preallocate test data this will break many tests... * one day, I'll stop using boolean as argument... * fixup test * test compute network sla * Computer Network creation requires a project reference * use the jump to access Computer Network related Compute Nodes * drop source_administration on Computer Network Only project is used now * drop person.requestSite * fix Computer Network creation test * fix requestComputeNode tests * ensure Compute Node has no related project security group * instance has project based security group * fix user security group test * stop using _simulateScript * drop slapos organisation * test: factorise accountable project creation * bootstrap accountable instance in test * SlapOSTestCaseMixin set ledger on created Sale Invoice * SlapOSTestCaseMixin: factorize Sale Supply creation * test do not hardcode price * drop Item_getCurrentProjectValue * test: drop unused functions * test: create a bank account source payment on the trade condition * test: create a organisation linked to the person if needed * reinstall slapos_subscription_request * drop subscription_request dependency It creates unresolvable dependency * only propagate Instance Tree parameters to the Software/Slave Instance only if an Open Sale Order exists * 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 * Subscription Request are invalidated after Open Order is created * test: create project by doing a subscription request * do not allocate on a Compute Node without any Subscription * test: no need to manually trigger alarm * test: no need to manually trigger stepCallSlaposAssertInstanceTreeSuccessorAlarm * test: new parameter * test: keep compatibility with previous addProject * test: bypass Service_getSubscriptionStatus * test: use Person_addVirtualMaster to create project * test: login as user to request the instance * test: login as user before doing the request * test: currency is required to create a Virtual Master * constraint: Remote Node has busy partition without related Software Instance * 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 * drop not needed workflow interaction * 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 * propagate Slave Instance on Remote Node * update xml * fix InstanceTree_assertSuccessor tests * fixup slapos_free_compute_partition tests * more slapos_free_compute_partition tests * return todestroy status when instance tree is destroyed * fixup tests for slapos_garbage_collect_destroyed_root_tree * fixup slapos_update_compute_node_capacity_scope tests * fixup slapos_stop_collect_instance tests * fixup slapos_garbage_collect_non_allocated_root_tree tests * fixup slapos_cloud_invalidate_destroyed_instance tests * tests: prevent test to impact other tests * test: commit transaction before end of test * test: compatibility with _makeComplexComputeNode * test: fixup remote node creation * test: allow to disable alarm when validation a allocation supply * test: drop reference to an outdated alarm * test: Token creation is allowed to Production users * add One Time Virtual Master Access Token portal type Needed for compatibility with the compute node deploy script * add slaos_cloud_garbage_collect_one_time_virtual_master_access_token * trigger alarm once per day * use optional_variation to configure the Allocation Supply matrixbox * drop support request template preference * drop my_preferred_support_request_template * stop using getPreferredSupportRequestTemplate * drop Subscription Condition usage * break Base_getSupportRequestInProgress Use causality category instead of aggregate, to link the Ticket to the context document (instance, node, ...). Aggregate must be used to define the item of the movement resource. Break the parameters and use the context to define the causality value. * use causality to link the Ticket to the context document * XXX disable person.notify & person.requestSupport I don't get why there are 2 transitions for now. * drop ComputerNetwork_viewComputeNodeList * drop notify and requestSupport transitions They have been replaced by python script and alarms * test: person.notify has been dropped * drop slapos_crm_regularisation_request_template * Do not allow user to change the release/type/shared status * no need to use a tag if context is not reindexed * allow to force software change * speed up Base_reindexAndSenseAlarm execution * drop my_preferred_default_pre_payment_template * drop default_pre_payment_subscription_invoice_template * drop getPreferredAggregatedSubscriptionSaleTradeCondition * test: drop unused functions * drop preferred_aggregated_sale_trade_condition * drop preferred_aggregated_sale_trade_condition * test: drop reference to slapos_aggregated_trade_condition_v3 * test: drop test from dropped interaction * test: role is not required on a Person * test: do not invalidate instance to not unlink * test: create Trade Condition when Project is accountable * drop slapos_crm_web_message_template * drop my_preferred_web_message_template * drop template_pre_payment_subscription_sale_invoice_transaction * drop preferred_default_pre_payment_subscription_invoice_template * drop slapos_accounting_instance_delivery_line_template * drop slapos_aggregated_consumption_trade_condition * drop preferred_aggregated_consumption_sale_trade_condition * drop unused template * drop template_computer_model * drop template_hosting_subscription * drop template_software_installation * drop template_compute_node * drop template_instance_tree * drop template_software_instance * drop template_member * drop drop template_software_instance * drop template_software_instance * drop template_software_instance * add afterClone scripts * test: check remote node parameters propagation * try to create an upgrade decision for a remote instance * test: add checkRemoteInstanceUnallocation method * XXX stop invalidating Slave Instance TODO: Instance on Remote Node must propagate their destruction, before being invalidated * instance must be invalidated before unallocating it * drop not needed script * invalidate Slave Instance allocation on a Compute Node * trigger invalidation as soon as an Instance is destroyed * alarm must visit allocated Slave Instance to invalidate them * report software url of the linked instance, even if it is in destroyed_state / invalidated * test: slave are not directly invalidated as soon as it is destroyed * propagate remote node destruction * do not crash if no instance is found * ExactMatch * drop comments * keep compatibility with project_guid sla * allow to propagate a single instance * add subordination category on Remote Node * try to wait for previous alarms to finish before triggering a new one * priority 3 * do not call activeSense concurrently * prevent activeSense to be called concurrently * reduce number of activities * do not loop * drop preferred_cloud_contract_enabled * stop using hateoas web site * change the skin selection to register * test: create needed bank account
-
Romain Courteaud authored
slapos_*: drop open/personal allocation_scope
-
Romain Courteaud authored
* Revert "slapos_cloud: XXX do not approve computer by default" This reverts commit 53f61021.
-
Romain Courteaud authored
Revert "slapos_accounting: WIP create open order for compute node" This reverts commit 730b0f11.
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
slapos_accounting: * no need to create open order slowly * trade condition has more than one supply line * WIP create open order for compute node * alarm to create compute node open order * categrory * define comp node subscription price slapos_cloud: * approve computer again slapos_subscription_request: * trigger compute node open order creation
-
Romain Courteaud authored
* XXX do not approve computer by default TODO: create open order related to the computer usage * drop useless requestComputeNodeRegistration workflow transition This transition does nothing.
-
Romain Courteaud authored
* restore previous price setting * set round price * disable invoice generation for consumption to see test impacted * XXX consumption price must be set to 0 XXX migrate existing packing list
-
Romain Courteaud authored
slapos_*: change subscription price. Do not defined it as ttc Try to understand why price is not always copied slapos_accounting: restore original price
-
Romain Courteaud authored
TO SQUASH slapos_*: remove zh templates
-
Romain Courteaud authored
TO SQUASH slapos_*: rename couscous trade condition
-
Romain Courteaud authored
slapos_*: add new trade condition versions The new versions do not include any price informations. It is needed to create new Trade Condition which inherite from those versions. Update preference to use those latest trade conditions.
-
Romain Courteaud authored
slapos_accounting: * no need to rely on the catalog to validate the trade condition * factorise code slapos_erp5: * check sale trade condition reference
-
Romain Courteaud authored
sale trade condition are versionned.
-
Romain Courteaud authored
-
Romain Courteaud authored
Clarify trade condition title
-
Romain Courteaud authored
-
Romain Courteaud authored
slapos_*: define subscription prices on Sale Trade Condition Prices are defined on Supply Line inside Sale Trade Condition. Drop prices from Subscription Condition. Instead, link the Subscription Condition to a Sale Trade Condition. Apply the Sale Trade Condition on the created Open Sale Order. Stop duplicating properties from the Subscription Condition to the created Subscription Request. Payment is managed by the 'payment' category, and not the language. This allows to remove all '==zh' conditions. Instead, use custom Sale Trade Condition.
-
Romain Courteaud authored
slapos_accounting: * generate one open order per instance tree * create empty contraint property sheet for open order * only one line per open order * workaround wrong select returning a result multiple times * XXX break instance tree periodicity. Must move to hosting subscription * rename script for hosting subscription * revert failure error * force open order line to have an Instance tree and a hosting subscription * hosting subscript will host the date info * set open order periodicity on the hosting subscription * typo * hosting subscription will contain the periodicity * create hosting subscription * fixup start/stop date confusion * add hosting subscription workflow * stop using Instance Tree as Subscription Item * move periodicity view on hosting subscription * simulation is expanded from Hosting Subscription * validate hosting subscription * check all aggregate value * revert aggregate tester * simulate from hosting subscription * constraint is on hosting subscription * interaction are on hosting subscription * open order line has 2 aggregate * do not create open order if it was not allocated * script renamed slapos_erp5: * open order line have 2 items now slapos_cloud: * open order line has 2 items now * hosting subscription have a workflow again * add hosting subscription template * update HS_view slapos_subscription_request: * periodicity is on hosting subscription
-
Romain Courteaud authored
* force open order to be created to allocate * only check validated open order * check open order consistency before allocating * call script on the real web section
-
Romain Courteaud authored
-
Romain Courteaud authored
* drop not needed condition * factorize some code
-
Romain Courteaud authored
* drop template_software_installation * drop template_instance_tree * drop template_member
-
Romain Courteaud authored
* WIP migration scripts * migrate compute node * do not skip some migration * migrate more properties on compute node * migrate software installation * migrate compute already linked to a project * trigger instance tree migration * migrate more instance trees * migrate Instance Tree, Software/Slave Instance * migrate instance tree * do not create not needed activities * migrate instance tree linked to an existing project * migrate existing subscription requests/projects * allow to run the migration multiple time * move an instance to the same virtual master than his main compute node * if all instances are linked to the same project, move the computer to that project * migrate computer network * move to personal if no instance allocated * partially destroyed instanc ewill move to personal Unallocated instance will use remote note * force migration to remaining compute nodes * break network link if not consistent * create Remote Node and Remote Instances * reduce concurrency on instance tree creation * try to reduce conflict * some sla xml seems broken * instances do not always have a predecessor * it seems activity is also triggered on already migrated instance * some instances were manually invalidated... * do not go too slowly * generate a graph showing the virtual master relation * another report * prepare migrating Instance Tree to a remote node * change report output * fixup instance virtual master migration do not forget to also move the successor to the new virtual master * do not fail if already migrated * create Software Product (and its variations) * create Instance Node * create allocation supplies * control trade condition reference length * migrate existing open order * migrate assignments * slow down execution of the next steps * ensure project exists * fix getTotalPrice usage * slave instance slap_state is not indexed * run instance tree migration multiple times * report broken instances * fixup payable Subscription Request creation * migrate Support Request and Event * improve error message * keep the payable instances on the payable projects * payable instance are now kept on payable virtual master * do not crash if instance was already migrated * report missing prices * show product * create assignment only if user has validated instance tree
-
Romain Courteaud authored
-
Romain Courteaud authored
* test panel scenario * validate testFunctionalSlapOSPanelStyle * dependency * HARDCODED data/user bootstrap * passwd policy * use theia directly in the test * WIP shared instance test * shared instance test * limit Software Instance to manager only * add basic payable service test * randomize logins * check consistency at the end of the test * slapos_panel_ui_test: check all project related documents as project manager * execute all alarms at the end of the test to detect unexpected side effects * ensure we can activate slave allocation on same tree * test remote node allocation * test Slave Instance allocation on Remote Node * ensure request limit the list of release/type based on allocation supply * test Upgrade Decision actions * test Computer Network creation * use Person_addVirtualMaster * do not explicitely call alarms rely on interaction workflow instead * add Software Product to create Subscription Request * add Sale Supply for virtual master * fixup to generate subscription request and use the instance parameter editor * fixup Instance editor usage * set reference on the Trade Condition * fix consistency of other documents before running the tests * request instance action has been modified * fixup accounting scenario * text: configure trade_condition_type on the Sale Trade Condition * test: assignments are automatically created when adding a virtual master * fix Trade Condition creation * update selector used by the new jsoneditor * discussion_thread_reader gadget is now used * do not check Web Site consistency * no need to define the currency manually * search link has been removed. Access global search manually * WIP fixup after frontpage changed * WIP fixup after frontpage changed * do not check System Preference
-
Romain Courteaud authored
* add SlapOSVirtualMasterSourceProjectConstraint on Upgrade Decision * software product must be linked to a project * create Software Type portal type It is a variation of a Software Product * rename Software Type to Software Product Type Variation * add Software Product Release Variation portal type * force default use/base_contribution on Software Product Didn't find another way to do it (init script requires data migration) * require Software Product to have at least one Type and one Release * store url_string on Release Variation * use edit_workflow on Variation portal types * use the jump action to access Software Release * add dedicated form to view Release * add Software Type view * set SoftwareProduct default quantity unit * support document without categories property * add constraint to ensure quantity unit of a Software Product is defined * drop Software Release configuration. Drop hardcoded template only used in tests * fixup See 1173ea0e * drop Compute Node upgrade This is now handled manually by updating the Allocation Supply * stop allowing Upgrade Decision Line creation * Upgrade Decision is a ticket * wip upgrade decision redesign with allocation supply * not commited script * really compare url strings * update upgrade decision view * only create upgrade decision for SOftware Instance for now * set the compute node on the test allocation supply * drop not used scripts * remote tests from dropped scripts * mark test to check * test alarm_instance_tree_create_upgrade_decision * drop upgrade_scope * test upgrade decision creation for not allocated instance tree * test Upgrade for allocated Software Instance * drop deprecated tests * root shared instance can not be upgraded by Allocation Supply on the same tree * upgrade not allocated or allocated on remote slave instances * update not allocated in there is instance node supply * test upgrade Instance Node * drop unused InstanceTree_getUpgradeSubscriptionRelatedValue * drop UpgradeDecisionLine_cancel * drop Upgrade Decision Line view * drop SoftwareProduct_getSortedSoftwareReleaseList * fix upgrade decision list view * drop InstanceTree_isUpgradePossible No way to know which software release url on instance will request. * drop UpgradeDecision_processUpgrade * drop Base_acceptUpgradeDecision * drop Base_rejectUpgradeDecision * drop reviewRegistration * check created upgrade decision * do not propose again to upgrade if decision has been rejected * no need to check all rejected decisions * do not put newly create decision in started Ask review from manager * drop UpgradeDecision_notify * drop UpgradeDecision_notifyDelivered * drop reviewUpgrade * drop UpgradeDecision_getAggregateValue * drop approveRegistration * drop upgrade_slap_interface_workflow * drop UpgradeDecision_requestChangeState * drop slapos_pdm_auto_cancel_upgrade_decision * use UpgradeDecision_processUpgrade * alarm to destroy software installation * drop unused template * configure Upgrade Decision worklist * drop not needed script arguments * add Upgrade Decision constraints * method moved to global mixin * do not upgrade if there is no instance yet * create upgrade decision as soon as Allocation Supply is validated * workaround to prevent breaking the instance when classes are live reloaded * test: disable alarm when creating an allocation supply * test: disable alarm * software_release is an optional variation We can not update the Open Order every time one Instance is upgraded * sort SoftwareProduct getVariationBaseCategoryList's result * update xml format * optional_variation_base_category_list are not set in variation_base_category_list * force software change from Upgrade Decision * drop template_instance_tree * allow to force upgrade to a specific release * rely on self instead of one a global * drop view_related_upgrade_decision on Compute Node Deprecated for a long time
-
Romain Courteaud authored
* project reference is required for compute node * require a project when requesting an instance tree * Remote Node has no user_id * _makeComplexComputeNode need a project * product/release * Release * test * no source administration on compute node * project on compute node * fix person assignment * proj reference * test * project reference * getSoftwareReleaseListFromSoftwareProduct is related to a project * getSoftwareReleaseListFromSoftwareProduct requires a project reference * release are not published anymore * test: bypass subscription request * drop template_compute_node
-
Romain Courteaud authored
* source_administration is not used anymore on Compute Node * add virtual master contraint to tickets and events portal types * propagate project from Regularisation Request to event * delivery/movement must use source_project instead of follow_up * set source_project on event * stop setting person as source_project * copy project from ticket to the new event * utf-8 encoding issue * XXX disable regularisation request alarm * Regularisation Request Module acquires local roles See other modules * drop upgrade_scope Upgrade is managed by Allocation Supply. * drip upgrade_scope usage * drop Upgrade Decision Line usage * lint test * fix slapos_crm_check_software_installation_state alarm test * fixup slapos_crm_check_compute_node_state tests * fixup slapos_crm_check_instance_in_error test * fixup slapos_crm_update_support_request_state tests * fixup slapos_crm_send_pending_ticket_reminder test * fixup slapos_crm_trigger_stop_reminder_escalation tests * fixup slapos_crm_trigger_stop_acknowledgment_escalation test * fixup slapos_crm_trigger_delete_reminder_escalation test * fix slapos_crm_trigger_acknowledgment_escalation test * fix slapos_crm_stop_instance_tree test * fix slapos_crm_invalidate_suspended_regularisation_request test * fix slapos_crm_delete_instance_tree test * fix slapos_crm_create_regularisation_request test * drop slapos_crm_check_update_allocation_scope tests * do not require source_project on crm * fixup rebase: drop Instance Tree Module | slapos_resilience_usage_report * drop preferred_support_request_template_property * drop slapos_crm_support_request_template * fixup slapos_crm_create_regularisation_request tests * reactivate slapos_crm_create_regularisation_request * test slapos_crm_invalidate_suspended_regularisation_request is ok * test slapos_crm_check_software_installation_state * test slapos_crm_check_instance_in_error * test slapos_crm_update_support_request_state * desactivate Person_getSubscriptionRequestFirstUnpaidInvoiceList * drop Person_getSubscriptionRequestFirstUnpaidInvoiceList * do not count all Support Requests limit parameter with count is meaningless, as count return 1 result * update Base_getSupportRequestInProgress usage * XXX disable ticket.notify and ticket.requestEvent * wip script to create Support Request and Event * search a matching Trade Condition to generate a Support Request * update ComputeNode_checkState to use new scripts * test ComputeNode_checkSoftwareInstallationState * deliver outgoing events * test InstanceTree_checkSoftwareInstanceState * Project_createSupportRequestWithCausality already checks if Support Request exists * no need to check twice the object portal type * test SupportRequest_updateMonitoringState * activate one more alarm * revert Send Mail on pending tickets nexedi/slapos.core!417 Virtual Master's manager are responsible to handle the tickets through their worklist. Not user. Virtual Master's manager can send email from the Ticket to directly ping a user. * drop ticket_slap_interface_workflow * test ComputeNode_hasContactedRecently Do not check if there is a packing list. It is unrelated to the contact. * Base_getOpenRelatedTicketList was dropped * ComputeNode_checkAndUpdateAllocationScope was dropped * test: simplify * set comment in the event workflow history * send Mail Message * unify event creation Reuse Ticket_createProjectEvent * do not pass a empty list of node_uid * no need to manually handle the notification message * create the Regularisation Request from a Trade Condition instead of a template * use notification message title instead of the ticket title * use Entity_hasOutstandingAmount Entity_getOutstandingAmount is meaningless in case of multiple source_section and multiple currencies. Entity_hasOutstandingAmount will only report True or False. * test RegularisationRequest_invalidateIfPersonBalanceIsOk * test RegularisationRequest_checkToTriggerNextEscalationStep * test RegularisationRequest_triggerStopReminderEscalation * test RegularisationRequest_triggerStopAcknowledgmentEscalation * test RegularisationRequest_triggerDeleteReminderEscalation * test RegularisationRequest_stopInstanceTreeList * test RegularisationRequest_deleteInstanceTreeList * fixup RegularisationRequest_checkToSendUniqEvent tests * fixup RegularisationRequest_checkToTriggerNextEscalationStep tests * fixup InstanceTree_stopFromRegularisationRequest tests * fixup InstanceTree_deleteFromRegularisationRequest tests * drop slapos_crm_regularisation_request_template * drop slapos_crm_web_message_template * drop preferred_web_message_template_property * drop slapos_ticket_trade_condition * drop update_destination_for_slapos * drop allocation_tester * drop template_software_installation * drop template_instance_tree * drop template_member * test: fixup person title * test: fixup: ensure tickets can be created * test: fixup creation of instance tree * test: fixup instance tree creation * test: ComputeNode_getTicketRelatedList was dropped * test: rss feed will be used by virtual manager production * test: ticket.approveRegistration was dropped * ExactMatch * drop preferred_cloud_contract_enabled_property * only submit the newlu created Support Request end user can not validate their submitted ticket * drop jump_related_slapos_item * drop outdated SlapOSSupportRequestConstraint * submit created event This allow to separate new ticket from the one currently handled * constraint was dropped * test: create test ticket in submitted state * support request are created in submitted state
-
Romain Courteaud authored
* add new business application categories * export edger category * automated ledger is not only for accounting * drop allocation_scope/open categories All compute nodes are public now * add use/trade/deposit category * do not use the same title for 2 categories * Add trade condition type categories. This will be used to automatically select a Trade Condition in slapos_accounting
-
Romain Courteaud authored
-
Romain Courteaud authored
* drop default_or_child_aggregate_reference * drop default_or_child_aggregate_uid catalog key * drop unused follow_up_default_or_child_aggregate_uid * drop causality_subscription_request_related_uid related key
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
- 26 Jan, 2024 1 commit
-
-
Romain Courteaud authored
This make usage of the relationfield nicer.
-
- 23 Jan, 2024 2 commits
-
-
Roque authored
See merge request nexedi/slapos.core!596
-
Roque authored
-