Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
inventory-provider
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
geant-swd
dashboardv3
inventory-provider
Merge requests
!25
[DBOARD3-676]: Adding changes to add third party id support on inventory provider side
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
[DBOARD3-676]: Adding changes to add third party id support on inventory provider side
feature/DBOARD3-676
into
develop
Overview
0
Commits
1
Pipelines
0
Changes
3
Merged
Saket Agrahari
requested to merge
feature/DBOARD3-676
into
develop
1 year ago
Overview
0
Commits
1
Pipelines
0
Changes
3
Expand
0
0
Merge request reports
Compare
develop
develop (base)
and
latest version
latest version
6dc6fdc8
1 commit,
1 year ago
3 files
+
38
−
12
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
inventory_provider/db/ims_data.py
+
8
−
0
Options
@@ -123,6 +123,14 @@ def get_ids_and_sids(ds: IMS):
):
yield
sid_circuit
[
'
objectid
'
],
sid_circuit
[
'
value
'
]
@log_entry_and_exit
def
get_ids_and_third_party_ids
(
ds
:
IMS
):
for
circuit
in
ds
.
get_filtered_entities
(
'
ExtraFieldValue
'
,
'
extrafieldid == 2640 | value <>
""'
,
step_count
=
10000
):
yield
circuit
[
'
objectid
'
],
circuit
[
'
value
'
]
@log_entry_and_exit
def
get_service_types
(
ds
:
IMS
):
Loading