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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
slapos.core
Commits
476bddaf
Commit
476bddaf
authored
Mar 30, 2016
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: include instance and hosting_subscription title in instance parameter_dict
parent
ade3960f
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
113 additions
and
20 deletions
+113
-20
master/bt5/slapos_slap_tool/TestTemplateItem/portal_components/test.erp5.testSlapOSSlapTool.py
...ateItem/portal_components/test.erp5.testSlapOSSlapTool.py
+62
-0
master/bt5/slapos_slap_tool/TestTemplateItem/portal_components/test.erp5.testSlapOSSlapTool.xml
...teItem/portal_components/test.erp5.testSlapOSSlapTool.xml
+47
-20
master/product/Vifib/Tool/SlapTool.py
master/product/Vifib/Tool/SlapTool.py
+4
-0
No files found.
master/bt5/slapos_slap_tool/TestTemplateItem/portal_components/test.erp5.testSlapOSSlapTool.py
View file @
476bddaf
This diff is collapsed.
Click to expand it.
master/bt5/slapos_slap_tool/TestTemplateItem/portal_components/test.erp5.testSlapOSSlapTool.xml
View file @
476bddaf
...
...
@@ -6,10 +6,22 @@
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_recorded_property_dict
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testSlapOSSlapTool
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testSlapOSSlapTool
</string>
</value>
...
...
@@ -35,23 +47,23 @@
<value>
<tuple>
<string>
W: 29, 10: Use of eval (eval-used)
</string>
<string>
W: 38, 2: Arguments number differs from overridden method (arguments-differ)
</string>
<string>
W:
46
7, 13: Use of eval (eval-used)
</string>
<string>
W:5
1
8, 13: Use of eval (eval-used)
</string>
<string>
W:7
4
3, 13: Use of eval (eval-used)
</string>
<string>
W:13
07
, 13: Use of eval (eval-used)
</string>
<string>
W:1
420
, 13: Use of eval (eval-used)
</string>
<string>
W:1
474
, 13: Use of eval (eval-used)
</string>
<string>
W:1
514
, 13: Use of eval (eval-used)
</string>
<string>
W:
1921, 2: Arguments number differs from overridden
method (arguments-differ)
</string>
<string>
W:2
017
, 13: Use of eval (eval-used)
</string>
<string>
W:2
37
2, 13: Use of eval (eval-used)
</string>
<string>
W:2
42
6, 13: Use of eval (eval-used)
</string>
<string>
W:2
45
3, 13: Use of eval (eval-used)
</string>
<string>
W:2
59
8, 13: Use of eval (eval-used)
</string>
<string>
W:2
62
6, 13: Use of eval (eval-used)
</string>
<string>
W:2
67
5, 13: Use of eval (eval-used)
</string>
<string>
W:2
72
2, 13: Use of eval (eval-used)
</string>
<string>
W: 38, 2: Arguments number differs from overridden
\'afterSetUp\'
method (arguments-differ)
</string>
<string>
W:
51
7, 13: Use of eval (eval-used)
</string>
<string>
W:5
6
8, 13: Use of eval (eval-used)
</string>
<string>
W:7
9
3, 13: Use of eval (eval-used)
</string>
<string>
W:13
99
, 13: Use of eval (eval-used)
</string>
<string>
W:1
512
, 13: Use of eval (eval-used)
</string>
<string>
W:1
566
, 13: Use of eval (eval-used)
</string>
<string>
W:1
606
, 13: Use of eval (eval-used)
</string>
<string>
W:
2013, 2: Arguments number differs from overridden \'afterSetUp\'
method (arguments-differ)
</string>
<string>
W:2
109
, 13: Use of eval (eval-used)
</string>
<string>
W:2
49
2, 13: Use of eval (eval-used)
</string>
<string>
W:2
54
6, 13: Use of eval (eval-used)
</string>
<string>
W:2
57
3, 13: Use of eval (eval-used)
</string>
<string>
W:2
72
8, 13: Use of eval (eval-used)
</string>
<string>
W:2
75
6, 13: Use of eval (eval-used)
</string>
<string>
W:2
80
5, 13: Use of eval (eval-used)
</string>
<string>
W:2
85
2, 13: Use of eval (eval-used)
</string>
</tuple>
</value>
</item>
...
...
@@ -62,13 +74,28 @@
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
I
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
M
=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
...
...
@@ -81,7 +108,7 @@
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
M
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
Q
=
</string>
</persistent>
</value>
</item>
</dictionary>
...
...
@@ -90,7 +117,7 @@
</dictionary>
</pickle>
</record>
<record
id=
"
3"
aka=
"AAAAAAAAAAM
="
>
<record
id=
"
4"
aka=
"AAAAAAAAAAQ
="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
...
...
master/product/Vifib/Tool/SlapTool.py
View file @
476bddaf
...
...
@@ -1476,6 +1476,8 @@ class SlapTool(BaseTool):
if
(
newtimestamp
>
timestamp
):
timestamp
=
newtimestamp
hosting_subscription
=
software_instance
.
getSpecialiseValue
()
ip_list
=
[]
full_ip_list
=
[]
for
internet_protocol_address
in
computer_partition
.
contentValues
(
portal_type
=
'Internet Protocol Address'
):
...
...
@@ -1519,6 +1521,8 @@ class SlapTool(BaseTool):
timestamp
=
newtimestamp
return
{
'instance_guid'
:
software_instance
.
getReference
().
decode
(
"UTF-8"
),
'instance_title'
:
software_instance
.
getTitle
().
decode
(
"UTF-8"
),
'root_instance_title'
:
hosting_subscription
.
getTitle
().
decode
(
"UTF-8"
),
'xml'
:
software_instance
.
getTextContent
(),
'connection_xml'
:
software_instance
.
getConnectionXml
(),
'filter_xml'
:
software_instance
.
getSlaXml
(),
...
...
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