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
Ivan Tyagov
wendelin
Commits
a66b6566
Commit
a66b6566
authored
Jan 15, 2021
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved from erp5_wendelin.
parent
55b26d25
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
344 additions
and
0 deletions
+344
-0
bt5/erp5_wendelin_data_lake_ingestion/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_drop_data_stream.catalog_keys.xml
...og/erp5_mysql_innodb/z0_drop_data_stream.catalog_keys.xml
+5
-0
bt5/erp5_wendelin_data_lake_ingestion/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_drop_data_stream.sql
.../portal_catalog/erp5_mysql_innodb/z0_drop_data_stream.sql
+1
-0
bt5/erp5_wendelin_data_lake_ingestion/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_drop_data_stream.xml
.../portal_catalog/erp5_mysql_innodb/z0_drop_data_stream.xml
+70
-0
bt5/erp5_wendelin_data_lake_ingestion/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_uncatalog_data_stream.catalog_keys.xml
...p5_mysql_innodb/z0_uncatalog_data_stream.catalog_keys.xml
+5
-0
bt5/erp5_wendelin_data_lake_ingestion/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_uncatalog_data_stream.sql
...al_catalog/erp5_mysql_innodb/z0_uncatalog_data_stream.sql
+1
-0
bt5/erp5_wendelin_data_lake_ingestion/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_uncatalog_data_stream.xml
...al_catalog/erp5_mysql_innodb/z0_uncatalog_data_stream.xml
+64
-0
bt5/erp5_wendelin_data_lake_ingestion/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_data_stream_list.catalog_keys.xml
..._mysql_innodb/z_catalog_data_stream_list.catalog_keys.xml
+5
-0
bt5/erp5_wendelin_data_lake_ingestion/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_data_stream_list.sql
..._catalog/erp5_mysql_innodb/z_catalog_data_stream_list.sql
+12
-0
bt5/erp5_wendelin_data_lake_ingestion/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_data_stream_list.xml
..._catalog/erp5_mysql_innodb/z_catalog_data_stream_list.xml
+91
-0
bt5/erp5_wendelin_data_lake_ingestion/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_data_stream.catalog_keys.xml
...g/erp5_mysql_innodb/z_create_data_stream.catalog_keys.xml
+5
-0
bt5/erp5_wendelin_data_lake_ingestion/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_data_stream.sql
...portal_catalog/erp5_mysql_innodb/z_create_data_stream.sql
+11
-0
bt5/erp5_wendelin_data_lake_ingestion/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_data_stream.xml
...portal_catalog/erp5_mysql_innodb/z_create_data_stream.xml
+70
-0
bt5/erp5_wendelin_data_lake_ingestion/bt/template_catalog_method_id_list
...in_data_lake_ingestion/bt/template_catalog_method_id_list
+4
-0
No files found.
bt5/erp5_wendelin_data_lake_ingestion/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_drop_data_stream.catalog_keys.xml
0 → 100644
View file @
a66b6566
<catalog_method>
<item
key=
"sql_clear_catalog"
type=
"int"
>
<value>
1
</value>
</item>
</catalog_method>
bt5/erp5_wendelin_data_lake_ingestion/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_drop_data_stream.sql
0 → 100644
View file @
a66b6566
DROP
TABLE
IF
EXISTS
data_stream
\ No newline at end of file
bt5/erp5_wendelin_data_lake_ingestion/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_drop_data_stream.xml
0 → 100644
View file @
a66b6566
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"SQL Method"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_col
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
allow_simple_one_argument_traversal
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
arguments_src
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
cache_time_
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
class_file_
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
class_name_
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
connection_hook
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
connection_id
</string>
</key>
<value>
<string>
erp5_sql_connection
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
z0_drop_data_stream
</string>
</value>
</item>
<item>
<key>
<string>
max_cache_
</string>
</key>
<value>
<int>
100
</int>
</value>
</item>
<item>
<key>
<string>
max_rows_
</string>
</key>
<value>
<int>
1000
</int>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
SQL Method
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_wendelin_data_lake_ingestion/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_uncatalog_data_stream.catalog_keys.xml
0 → 100644
View file @
a66b6566
<catalog_method>
<item
key=
"sql_uncatalog_object"
type=
"int"
>
<value>
1
</value>
</item>
</catalog_method>
bt5/erp5_wendelin_data_lake_ingestion/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_uncatalog_data_stream.sql
0 → 100644
View file @
a66b6566
DELETE
FROM
data_stream
WHERE
<
dtml
-
sqltest
uid
op
=
eq
type
=
int
>
bt5/erp5_wendelin_data_lake_ingestion/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_uncatalog_data_stream.xml
0 → 100644
View file @
a66b6566
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"SQL Method"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
allow_simple_one_argument_traversal
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
arguments_src
</string>
</key>
<value>
<string>
uid
</string>
</value>
</item>
<item>
<key>
<string>
cache_time_
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
class_file_
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
class_name_
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
connection_hook
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
connection_id
</string>
</key>
<value>
<string>
erp5_sql_connection
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
z0_uncatalog_data_stream
</string>
</value>
</item>
<item>
<key>
<string>
max_cache_
</string>
</key>
<value>
<int>
100
</int>
</value>
</item>
<item>
<key>
<string>
max_rows_
</string>
</key>
<value>
<int>
1000
</int>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
SQL Method
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_wendelin_data_lake_ingestion/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_data_stream_list.catalog_keys.xml
0 → 100644
View file @
a66b6566
<catalog_method>
<item
key=
"sql_catalog_object_list"
type=
"int"
>
<value>
1
</value>
</item>
</catalog_method>
bt5/erp5_wendelin_data_lake_ingestion/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_data_stream_list.sql
0 → 100644
View file @
a66b6566
REPLACE
INTO
data_stream
(
uid
,
set_uid
,
size
,
version
)
VALUES
<
dtml
-
in
prefix
=
"loop"
expr
=
"_.range(_.len(uid))"
>
(
<
dtml
-
sqlvar
expr
=
"uid[loop_item]"
type
=
"int"
>
,
<
dtml
-
sqlvar
expr
=
"DataStream_getSetUid[loop_item]"
type
=
"int"
optional
>
,
<
dtml
-
sqlvar
expr
=
"getSize[loop_item]"
type
=
"string"
optional
>
,
<
dtml
-
sqlvar
expr
=
"getVersion[loop_item]"
type
=
"string"
optional
>
)
<
dtml
-
if
sequence
-
end
><
dtml
-
else
>
,
</
dtml
-
if
>
</
dtml
-
in
>
bt5/erp5_wendelin_data_lake_ingestion/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_data_stream_list.xml
0 → 100644
View file @
a66b6566
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"SQL Method"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
allow_simple_one_argument_traversal
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
arguments_src
</string>
</key>
<value>
<string>
uid\n
getSize\n
getVersion\n
DataStream_getSetUid
</string>
</value>
</item>
<item>
<key>
<string>
cache_time_
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
class_file_
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
class_name_
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
connection_hook
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
connection_id
</string>
</key>
<value>
<string>
erp5_sql_connection
</string>
</value>
</item>
<item>
<key>
<string>
expression
</string>
</key>
<value>
<string>
python: context.getPortalType() == \'Data Stream\'
</string>
</value>
</item>
<item>
<key>
<string>
expression_cache_key
</string>
</key>
<value>
<tuple>
<string>
portal_type
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
filtered
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
z_catalog_data_stream_list
</string>
</value>
</item>
<item>
<key>
<string>
max_cache_
</string>
</key>
<value>
<int>
100
</int>
</value>
</item>
<item>
<key>
<string>
max_rows_
</string>
</key>
<value>
<int>
1000
</int>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
SQL Method
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
z_catalog_data_stream_list
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_wendelin_data_lake_ingestion/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_data_stream.catalog_keys.xml
0 → 100644
View file @
a66b6566
<catalog_method>
<item
key=
"sql_clear_catalog"
type=
"int"
>
<value>
1
</value>
</item>
</catalog_method>
bt5/erp5_wendelin_data_lake_ingestion/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_data_stream.sql
0 → 100644
View file @
a66b6566
#
Host
:
#
Database
:
test
#
Table
:
'data_stream'
#
CREATE
TABLE
`data_stream`
(
`uid`
BIGINT
UNSIGNED
NOT
NULL
,
`set_uid`
BIGINT
UNSIGNED
,
`size`
BIGINT
SIGNED
,
`version`
varchar
(
30
)
default
''
,
PRIMARY
KEY
(
`uid`
)
)
ENGINE
=
InnoDB
;
\ No newline at end of file
bt5/erp5_wendelin_data_lake_ingestion/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_data_stream.xml
0 → 100644
View file @
a66b6566
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"SQL Method"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_col
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
allow_simple_one_argument_traversal
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
arguments_src
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
cache_time_
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
class_file_
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
class_name_
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
connection_hook
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
connection_id
</string>
</key>
<value>
<string>
erp5_sql_connection
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
z_create_data_stream
</string>
</value>
</item>
<item>
<key>
<string>
max_cache_
</string>
</key>
<value>
<int>
100
</int>
</value>
</item>
<item>
<key>
<string>
max_rows_
</string>
</key>
<value>
<int>
1000
</int>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
SQL Method
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_wendelin_data_lake_ingestion/bt/template_catalog_method_id_list
0 → 100644
View file @
a66b6566
erp5_mysql_innodb/z0_drop_data_stream
erp5_mysql_innodb/z0_uncatalog_data_stream
erp5_mysql_innodb/z_catalog_data_stream_list
erp5_mysql_innodb/z_create_data_stream
\ No newline at end of file
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