Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SMART
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UNI-KLU
SMART
Commits
de1c0c3d
Commit
de1c0c3d
authored
Dec 11, 2020
by
Bogdan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor modifications
parent
4be7d693
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
1 deletion
+17
-1
add_tag.py
.../_add_use_case_scripts/crowd_journalism/tables/add_tag.py
+1
-1
add_video.py
...vice/app/_add_use_case_scripts/vialog/tables/add_video.py
+16
-0
No files found.
src/participation-hub/business-logic-microservice/app/_add_use_case_scripts/crowd_journalism/tables/add_tag.py
View file @
de1c0c3d
...
@@ -22,7 +22,7 @@ def add_table(use_case: str, table_name: str):
...
@@ -22,7 +22,7 @@ def add_table(use_case: str, table_name: str):
def
add_layers
(
use_case
:
str
,
table_name
:
str
):
def
add_layers
(
use_case
:
str
,
table_name
:
str
):
layers
=
[
layers
=
[
{
#Useless as all objects aree
Classification
?
{
#Useless as all objects aree
the same type?
?
"use_case"
:
use_case
,
"use_case"
:
use_case
,
"table"
:
table_name
,
"table"
:
table_name
,
"name"
:
"Object_Type_Layer"
,
"name"
:
"Object_Type_Layer"
,
...
...
src/participation-hub/business-logic-microservice/app/_add_use_case_scripts/vialog/tables/add_video.py
View file @
de1c0c3d
...
@@ -119,6 +119,22 @@ def add_layers(use_case:str, table_name: str):
...
@@ -119,6 +119,22 @@ def add_layers(use_case:str, table_name: str):
"cluster_properties"
:
[
"cluster_properties"
:
[
"Duration"
"Duration"
]
]
},
{
"use_case"
:
use_case
,
"table"
:
table_name
,
"name"
:
"Video_Resolution_Layer"
,
"properties"
:
[
"UniqueID"
,
"Created"
,
"Views"
,
"videoResolution"
,
"Video_State"
,
"Video_Type"
],
"cluster_properties"
:
[
"videoResolution"
]
}
}
]
]
...
...
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