Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
atdb-ldv
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
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
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ASTRON SDC
atdb-ldv
Commits
4aca0840
Commit
4aca0840
authored
1 year ago
by
Nico Vermaas
Browse files
Options
Downloads
Patches
Plain Diff
comment out 'hold' for this moment
parent
b29baefe
Branches
Branches containing commit
No related tags found
1 merge request
!350
SDC-1313 ancillary dataproducts to dcache (ATDB side)
Pipeline
#77779
failed
1 year ago
Stage: test
Stage: build
Stage: deploy_to_test
Stage: deploy_to_production
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
atdb/taskdatabase/models.py
+7
-1
7 additions, 1 deletion
atdb/taskdatabase/models.py
atdb/taskdatabase/tests/test_models_processed_summary.py
+1
-0
1 addition, 0 deletions
atdb/taskdatabase/tests/test_models_processed_summary.py
atdb/taskdatabase/views.py
+5
-0
5 additions, 0 deletions
atdb/taskdatabase/views.py
with
13 additions
and
1 deletion
atdb/taskdatabase/models.py
+
7
−
1
View file @
4aca0840
...
...
@@ -240,7 +240,13 @@ class Task(models.Model):
# if so, temporarily put it on hold so that the ancillary service can play with it
if
self
.
is_summary
:
self
.
resume
=
False
# slightly bothered by the idea that ATDB puts it on HOLD and depends on the ancillary service
# to resume it. But users have earlier asked for the same dynamic for scrubbed. Acceptable
pass
# TODO: uncomment this, but I don't want to have it accidentally active without
# the summary service available and running to resume it.
#self.resume = False
# nv:20feb2024, same as above, but for backward compatibilty reasons.
# For tasks that are already beyond PROCESSED, but not yet ingested.
...
...
This diff is collapsed.
Click to expand it.
atdb/taskdatabase/tests/test_models_processed_summary.py
+
1
−
0
View file @
4aca0840
...
...
@@ -38,6 +38,7 @@ class TestProcessedSummary(TestCase):
"""
actual
=
self
.
task2
.
resume
# this test fails, because "self.resume = False" is still commented out in models.py L249
self
.
assertEqual
(
actual
,
False
)
def
test_activity_is_processed
(
self
):
...
...
This diff is collapsed.
Click to expand it.
atdb/taskdatabase/views.py
+
5
−
0
View file @
4aca0840
...
...
@@ -89,6 +89,7 @@ class TaskFilter(filters.FilterSet):
'
predecessor__status
'
:
[
'
exact
'
,
'
icontains
'
,
'
in
'
,
'
startswith
'
],
'
activity
'
:
[
'
isnull
'
],
'
activity__id
'
:
[
'
exact
'
],
'
activity__status
'
:
[
'
exact
'
,
'
icontains
'
,
'
in
'
,
'
startswith
'
],
'
activity__ingested_fraction
'
:
[
'
exact
'
,
'
lt
'
,
'
lte
'
,
'
gt
'
,
'
gte
'
,
'
isnull
'
],
}
...
...
@@ -130,6 +131,10 @@ class ActivityFilter(filters.FilterSet):
'
finished_fraction
'
:
[
'
exact
'
,
'
lt
'
,
'
lte
'
,
'
gt
'
,
'
gte
'
],
'
total_size
'
:
[
'
exact
'
,
'
lt
'
,
'
lte
'
,
'
gt
'
,
'
gte
'
],
'
remaining
'
:
[
'
exact
'
,
'
lt
'
,
'
lte
'
,
'
gt
'
,
'
gte
'
],
'
is_processed
'
:
[
'
exact
'
],
'
is_verified
'
:
[
'
exact
'
],
'
is_validated
'
:
[
'
exact
'
],
'
is_combined
'
:
[
'
exact
'
],
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment