Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Rafael Monnerat
slapos.core
Commits
ad8ac947
Commit
ad8ac947
authored
Jul 23, 2020
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_accounting: source/source_section do not diverge anymore
parent
d5db6e2c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
0 deletions
+11
-0
master/bt5/slapos_accounting/PathTemplateItem/portal_rules/slapos_subscription_item_rule/source_section_tester.xml
...s/slapos_subscription_item_rule/source_section_tester.xml
+4
-0
master/bt5/slapos_accounting/PathTemplateItem/portal_rules/slapos_subscription_item_rule/source_tester.xml
...tal_rules/slapos_subscription_item_rule/source_tester.xml
+4
-0
master/bt5/slapos_accounting/SkinTemplateItem/portal_skins/slapos_simulation/SimulationMovement_testCommonRule.py
...ns/slapos_simulation/SimulationMovement_testCommonRule.py
+3
-0
No files found.
master/bt5/slapos_accounting/PathTemplateItem/portal_rules/slapos_subscription_item_rule/source_section_tester.xml
View file @
ad8ac947
...
...
@@ -18,6 +18,10 @@
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
divergence_provider
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
source_section_tester
</string>
</value>
...
...
master/bt5/slapos_accounting/PathTemplateItem/portal_rules/slapos_subscription_item_rule/source_tester.xml
View file @
ad8ac947
...
...
@@ -18,6 +18,10 @@
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
divergence_provider
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
source_tester
</string>
</value>
...
...
master/bt5/slapos_accounting/SkinTemplateItem/portal_skins/slapos_simulation/SimulationMovement_testCommonRule.py
View file @
ad8ac947
...
...
@@ -2,6 +2,9 @@ movement = context
business_link
=
movement
.
getCausalityValue
(
portal_type
=
'Business Link'
)
if
business_link
is
None
:
return
False
rule_trade_phase_list
=
rule
.
getTradePhaseList
()
if
len
(
rule_trade_phase_list
)
>
0
:
# if rule defines trade phase check if there is sense to apply it
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment