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
Ekaterina
wendelin
Commits
b775411b
Commit
b775411b
authored
Dec 30, 2020
by
Ekaterina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete Ingestion_ingestDataStream.py
parent
6202e6cf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
bt5/erp5_wendelin_tutorial/PathTemplateItem/portal_skins/erp5_wendelin_data_lake/Ingestion_ingestDataStream.py
...ins/erp5_wendelin_data_lake/Ingestion_ingestDataStream.py
+0
-13
No files found.
bt5/erp5_wendelin_tutorial/PathTemplateItem/portal_skins/erp5_wendelin_data_lake/Ingestion_ingestDataStream.py
deleted
100644 → 0
View file @
6202e6cf
"""Create ingestion with data from stream"""
portal
=
context
.
getPortalObject
()
request
=
portal
.
REQUEST
index
=
reference
.
index
(
'-'
)
stream_reference
=
reference
ingestion_reference
=
reference
[:
index
]
+
'.'
+
reference
[
index
+
1
:
len
(
reference
)]
request
.
environ
[
'REQUEST_METHOD'
]
=
'POST'
request
.
set
(
'reference'
,
ingestion_reference
)
request
.
set
(
'data_chunk'
,
portal
.
data_stream_module
.
get
(
stream_reference
).
getData
())
portal
.
portal_ingestion_policies
.
default
.
ingest
()
return
'Data ingested'
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