Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin
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
Jérome Perrin
wendelin
Commits
88a2f8fe
Commit
88a2f8fe
authored
Jun 26, 2015
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use better properties to match what is already used inside ERP5.
source_section -> source destination_section -> destination
parent
8a3cdaa0
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
8 deletions
+8
-8
bt5/erp5_wendelin/SkinTemplateItem/portal_skins/erp5_wendelin/DataSupplyLine_view.xml
...teItem/portal_skins/erp5_wendelin/DataSupplyLine_view.xml
+2
-2
bt5/erp5_wendelin/SkinTemplateItem/portal_skins/erp5_wendelin/DataSupplyLine_view/my_destination_title_list.xml
...endelin/DataSupplyLine_view/my_destination_title_list.xml
+1
-1
bt5/erp5_wendelin/SkinTemplateItem/portal_skins/erp5_wendelin/DataSupplyLine_view/my_source_title_list.xml
...rp5_wendelin/DataSupplyLine_view/my_source_title_list.xml
+1
-1
bt5/erp5_wendelin/SkinTemplateItem/portal_skins/erp5_wendelin/ERP5Site_handleDefaultFluentdIngestion.xml
.../erp5_wendelin/ERP5Site_handleDefaultFluentdIngestion.xml
+2
-2
bt5/erp5_wendelin/TestTemplateItem/portal_components/test.erp5.testWendelin.py
...tTemplateItem/portal_components/test.erp5.testWendelin.py
+2
-2
No files found.
bt5/erp5_wendelin/SkinTemplateItem/portal_skins/erp5_wendelin/DataSupplyLine_view.xml
View file @
88a2f8fe
...
...
@@ -81,8 +81,8 @@
<key>
<string>
right
</string>
</key>
<value>
<list>
<string>
my_source_
section_
title_list
</string>
<string>
my_destination_
section_
title_list
</string>
<string>
my_source_title_list
</string>
<string>
my_destination_title_list
</string>
</list>
</value>
</item>
...
...
bt5/erp5_wendelin/SkinTemplateItem/portal_skins/erp5_wendelin/DataSupplyLine_view/my_destination_
section_
title_list.xml
→
bt5/erp5_wendelin/SkinTemplateItem/portal_skins/erp5_wendelin/DataSupplyLine_view/my_destination_title_list.xml
View file @
88a2f8fe
...
...
@@ -19,7 +19,7 @@
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_destination_
section_
title_list
</string>
</value>
<value>
<string>
my_destination_title_list
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
...
...
bt5/erp5_wendelin/SkinTemplateItem/portal_skins/erp5_wendelin/DataSupplyLine_view/my_source_
section_
title_list.xml
→
bt5/erp5_wendelin/SkinTemplateItem/portal_skins/erp5_wendelin/DataSupplyLine_view/my_source_title_list.xml
View file @
88a2f8fe
...
...
@@ -19,7 +19,7 @@
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_source_
section_
title_list
</string>
</value>
<value>
<string>
my_source_title_list
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
...
...
bt5/erp5_wendelin/SkinTemplateItem/portal_skins/erp5_wendelin/ERP5Site_handleDefaultFluentdIngestion.xml
View file @
88a2f8fe
...
...
@@ -88,10 +88,10 @@ if data_chunk is not None and reference is not None:\n
# Data Ingestion (Movements)\n
if data_supply is not None:\n
for data_supply_line in data_supply.objectValues():\n
sensor = data_supply_line.getSource
Section
Value()\n
sensor = data_supply_line.getSourceValue()\n
if sensor is not None and sensor.getReference() == reference:\n
# Sensor is defined as destination\n
data_stream = data_supply_line.getDestination
Section
Value()\n
data_stream = data_supply_line.getDestinationValue()\n
break\n
\n
#context.log(sensor)\n
...
...
bt5/erp5_wendelin/TestTemplateItem/portal_components/test.erp5.testWendelin.py
View file @
88a2f8fe
...
...
@@ -107,8 +107,8 @@ class Test(ERP5TypeTestCase):
'start_date'
:
now
,
'stop_date'
:
now
+
365
}
data_supply_line_kw
=
{
'resource_value'
:
resource
,
'source_
section_
value'
:
sensor
,
'destination_
section_
value'
:
data_stream
}
'source_value'
:
sensor
,
'destination_value'
:
data_stream
}
data_supply
=
ingestion_policy
.
PortalIngestionPolicy_addDataSupply
(
\
data_supply_kw
,
\
data_supply_line_kw
)
...
...
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