Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iderha-cwl-wes-workflows
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
IDERHA
iderha-cwl-wes-workflows
Merge requests
!12
Improving workflow to update MDC assets
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Improving workflow to update MDC assets
adding-policy-files-to-assets-metadata
into
main
Overview
0
Commits
16
Pipelines
0
Changes
18
Open
Francois Ancien
requested to merge
adding-policy-files-to-assets-metadata
into
main
4 months ago
Overview
0
Commits
16
Pipelines
0
Changes
18
Expand
Workflow can now be sent to a variable number of remote nodes
Request for assets metadata is canceled if remote catalog was not updated since last run
Now retrieves the policy files associated with an asset and adds their location to the metadata of that asset policy
Resets the updated status of remote catalog once the workflow has run
Closes iderha/tasks#126
Edited
4 months ago
by
Francois Ancien
0
0
Merge request reports
Compare
main
version 8
518862c6
3 months ago
version 7
983dac2d
3 months ago
version 6
399ed705
3 months ago
version 5
3fe817c8
3 months ago
version 4
16b08bde
3 months ago
version 3
5138ee14
3 months ago
version 2
d8133e63
4 months ago
version 1
536f9d01
4 months ago
main (HEAD)
and
latest version
latest version
f887db24
16 commits,
3 months ago
version 8
518862c6
15 commits,
3 months ago
version 7
983dac2d
14 commits,
3 months ago
version 6
399ed705
13 commits,
3 months ago
version 5
3fe817c8
12 commits,
3 months ago
version 4
16b08bde
11 commits,
3 months ago
version 3
5138ee14
10 commits,
3 months ago
version 2
d8133e63
9 commits,
4 months ago
version 1
536f9d01
8 commits,
4 months ago
18 files
+
465
−
74
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
18
Search (e.g. *.vue) (Ctrl+P)
resources/update-catalog/get-assets-metadata.py
+
0
−
2
Options
@@ -5,7 +5,6 @@ import os
METADATA_ENDPOINT
=
"
http://edc-provider:19194/protocol/catalog/request
"
def
main
(
payload_path
):
try
:
with
open
(
payload_path
,
"
r
"
)
as
f
:
@@ -28,7 +27,6 @@ def main(payload_path):
with
open
(
"
output.json
"
,
"
w
"
)
as
o
:
json
.
dump
(
metadata
,
o
)
if
__name__
==
"
__main__
"
:
main
(
sys
.
argv
[
1
])
exit
(
0
)
Loading