Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
HdbTdbArchivingServers
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
Software Control System
Tango controls archiving
HdbTdbArchivingServers
Commits
9a5d1dfc
Commit
9a5d1dfc
authored
7 months ago
by
gwen-soleil
Browse files
Options
Downloads
Patches
Plain Diff
add filtering for selecting or excluding attributes in attribute ArchiversErrorList
parent
cd83f476
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
archiversmonitor/src/main/java/org/tango/archiving/server/archiver/ArchiversMonitor.java
+4
-2
4 additions, 2 deletions
...org/tango/archiving/server/archiver/ArchiversMonitor.java
with
4 additions
and
2 deletions
archiversmonitor/src/main/java/org/tango/archiving/server/archiver/ArchiversMonitor.java
+
4
−
2
View file @
9a5d1dfc
...
@@ -126,6 +126,7 @@ public class ArchiversMonitor {
...
@@ -126,6 +126,7 @@ public class ArchiversMonitor {
public
void
setExcludedAttributes
(
final
String
[]
excludedAttributes
)
{
public
void
setExcludedAttributes
(
final
String
[]
excludedAttributes
)
{
this
.
excludedAttributes
=
excludedAttributes
;
this
.
excludedAttributes
=
excludedAttributes
;
excludedAttributesRegex
=
getRegexList
(
excludedAttributes
);
excludedAttributesRegex
=
getRegexList
(
excludedAttributes
);
if
(!
excludedAttributesRegex
.
isEmpty
())
doFilterAttributes
=
true
;
doFilterAttributes
=
true
;
logger
.
info
(
"will exclude attributes with regex = {}"
,
selectedAttributesRegex
);
logger
.
info
(
"will exclude attributes with regex = {}"
,
selectedAttributesRegex
);
}
}
...
@@ -146,6 +147,7 @@ public class ArchiversMonitor {
...
@@ -146,6 +147,7 @@ public class ArchiversMonitor {
this
.
selectedAttributes
=
selectedAttributes
;
this
.
selectedAttributes
=
selectedAttributes
;
selectedAttributesRegex
=
getRegexList
(
selectedAttributes
);
selectedAttributesRegex
=
getRegexList
(
selectedAttributes
);
logger
.
info
(
"will select attributes with regex = {}"
,
selectedAttributesRegex
);
logger
.
info
(
"will select attributes with regex = {}"
,
selectedAttributesRegex
);
if
(!
selectedAttributesRegex
.
isEmpty
())
doFilterAttributes
=
true
;
doFilterAttributes
=
true
;
}
}
...
...
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