Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin-telecom
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
Paul Graydon
wendelin-telecom
Commits
b2e4b417
Commit
b2e4b417
authored
Aug 26, 2024
by
Paul Graydon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ors_wendelin: Clean up unused elements
parent
839f4173
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
1 addition
and
254 deletions
+1
-254
bt5/ors_wendelin/ActionTemplateItem/portal_types/Data%20Acquisition%20Unit/restart_ingestion.xml
...tal_types/Data%20Acquisition%20Unit/restart_ingestion.xml
+0
-79
bt5/ors_wendelin/PathTemplateItem/portal_callables/IngestionPolicy_parseOrsFluentdTag.py
...em/portal_callables/IngestionPolicy_parseOrsFluentdTag.py
+1
-2
bt5/ors_wendelin/SkinTemplateItem/portal_skins/ors_wendelin/DataAcquisionUnit_restartIngestion.py
..._skins/ors_wendelin/DataAcquisionUnit_restartIngestion.py
+0
-34
bt5/ors_wendelin/SkinTemplateItem/portal_skins/ors_wendelin/DataAcquisionUnit_restartIngestion.xml
...skins/ors_wendelin/DataAcquisionUnit_restartIngestion.xml
+0
-62
bt5/ors_wendelin/SkinTemplateItem/portal_skins/ors_wendelin/WebSection_getORSRunnerPrecacheManifestList.py
...s_wendelin/WebSection_getORSRunnerPrecacheManifestList.py
+0
-14
bt5/ors_wendelin/SkinTemplateItem/portal_skins/ors_wendelin/WebSection_getORSRunnerPrecacheManifestList.xml
..._wendelin/WebSection_getORSRunnerPrecacheManifestList.xml
+0
-62
bt5/ors_wendelin/bt/template_action_path_list
bt5/ors_wendelin/bt/template_action_path_list
+0
-1
No files found.
bt5/ors_wendelin/ActionTemplateItem/portal_types/Data%20Acquisition%20Unit/restart_ingestion.xml
deleted
100644 → 0
View file @
839f4173
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ActionInformation"
module=
"Products.CMFCore.ActionInformation"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_jio_action
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_jio_action
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
XXXXXX Remove later
</string>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
restart_ingestion
</string>
</value>
</item>
<item>
<key>
<string>
permissions
</string>
</key>
<value>
<tuple>
<string>
View
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
priority
</string>
</key>
<value>
<float>
3.0
</float>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Restart Ingestion
</string>
</value>
</item>
<item>
<key>
<string>
visible
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Expression"
module=
"Products.CMFCore.Expression"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
text
</string>
</key>
<value>
<string>
string:${object_url}/DataAcquisionUnit_restartIngestion
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/ors_wendelin/PathTemplateItem/portal_callables/IngestionPolicy_parseOrsFluentdTag.py
View file @
b2e4b417
if
not
reference
:
error_msg
=
'reference %s is not defined'
%
reference
raise
ValueError
(
error_msg
)
raise
ValueError
(
'reference is not defined'
)
return
{
'resource_reference'
:
context
.
data_product_module
.
ors_enb_log_data
.
getReference
(),
...
...
bt5/ors_wendelin/SkinTemplateItem/portal_skins/ors_wendelin/DataAcquisionUnit_restartIngestion.py
deleted
100644 → 0
View file @
839f4173
data_ingestion_id_list
=
[]
data_analysis_id_list
=
[]
data_array_id_list
=
[]
data_stream_id_list
=
[]
progress_indicator_id_list
=
[]
for
i
in
context
.
getAggregateRelatedValueList
(
portal_type
=
'Data Ingestion Line'
):
data_stream
=
i
.
getAggregateValue
(
portal_type
=
'Data Stream'
)
if
data_stream
:
if
data_stream
.
getId
()
not
in
data_stream_id_list
:
data_stream_id_list
.
append
(
data_stream
.
getId
())
if
i
.
getParentId
()
not
in
data_ingestion_id_list
:
data_ingestion_id_list
.
append
(
i
.
getParentId
())
for
i
in
context
.
getAggregateRelatedValueList
(
portal_type
=
'Data Analysis Line'
):
data_array
=
i
.
getAggregateValue
(
portal_type
=
'Data Array'
)
if
data_array
:
if
data_array
.
getId
()
not
in
data_array_id_list
:
data_array_id_list
.
append
(
data_array
.
getId
())
indicator
=
i
.
getAggregateValue
(
portal_type
=
'Progress Indicator'
)
if
indicator
:
if
indicator
.
getId
()
not
in
progress_indicator_id_list
:
progress_indicator_id_list
.
append
(
indicator
.
getId
())
if
i
.
getParentId
()
not
in
data_analysis_id_list
:
data_analysis_id_list
.
append
(
i
.
getParentId
())
context
.
data_stream_module
.
manage_delObjects
(
ids
=
data_stream_id_list
)
context
.
data_ingestion_module
.
manage_delObjects
(
ids
=
data_ingestion_id_list
)
context
.
data_array_module
.
manage_delObjects
(
ids
=
data_array_id_list
)
context
.
data_analysis_module
.
manage_delObjects
(
ids
=
data_analysis_id_list
)
context
.
progress_indicator_module
.
manage_delObjects
(
ids
=
progress_indicator_id_list
)
context
.
Base_redirect
(
'view'
,
keep_items
=
{
'portal_status_message'
:
'Ingestion Restarted'
})
bt5/ors_wendelin/SkinTemplateItem/portal_skins/ors_wendelin/DataAcquisionUnit_restartIngestion.xml
deleted
100644 → 0
View file @
839f4173
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"_reconstructor"
module=
"copy_reg"
/>
</klass>
<tuple>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
<global
name=
"object"
module=
"__builtin__"
/>
<none/>
</tuple>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
DataAcquisionUnit_restartIngestion
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/ors_wendelin/SkinTemplateItem/portal_skins/ors_wendelin/WebSection_getORSRunnerPrecacheManifestList.py
deleted
100644 → 0
View file @
839f4173
url_list
=
[
'ndarray_bundle.js'
,
'wendelin.js'
,
'plotly.v1.58.5.js'
,
'gadget_ors_wendelin.css'
,
'gadget_erp5_page_ors_wendelin_front.html'
,
'gadget_erp5_page_ors_wendelin_front.js'
,
'gadget_ors_e_utran_ip_throughput.html'
,
'gadget_ors_e_utran_ip_throughput.js'
,
'gadget_ors_e_rab_kpi.html'
,
'gadget_ors_e_rab_kpi.js'
]
return
url_list
bt5/ors_wendelin/SkinTemplateItem/portal_skins/ors_wendelin/WebSection_getORSRunnerPrecacheManifestList.xml
deleted
100644 → 0
View file @
839f4173
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"_reconstructor"
module=
"copy_reg"
/>
</klass>
<tuple>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
<global
name=
"object"
module=
"__builtin__"
/>
<none/>
</tuple>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
REQUEST=None
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
WebSection_getORSRunnerPrecacheManifestList
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/ors_wendelin/bt/template_action_path_list
View file @
b2e4b417
Data Acquisition Unit | create_ors_data_supply
Data Acquisition Unit | restart_ingestion
Data Acquisition Unit | view_e_rab_accessibility_kpi
Data Acquisition Unit | view_e_utran_ip_throughput_kpi
Project | add_ors_to_project
\ 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