-
Notifications
You must be signed in to change notification settings - Fork 3
RelatedUrls description #346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4759,70 +4759,24 @@ | |
| "severity": "info", | ||
| "check_id": "datetime_compare" | ||
| }, | ||
| "url_desc_presence_check": { | ||
| "rule_name": "Online Description Presence Check", | ||
| "url_description_presence_check": { | ||
| "rule_name": "url description presence check", | ||
| "fields_to_apply": { | ||
|
Comment on lines
+4762
to
4764
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. are we replacing an existing rule? do we need to? if we do, check if anything else is using this rule and if not, remove all the associated code
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There is another function,
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. im concerned about the deletion, previously we used the given fields if url is provided, description needs to be provided. we're completely getting rid of that check for all these fields, is that intentional? |
||
| "echo-c": [ | ||
| { | ||
| "fields": [ | ||
| "Collection/OnlineAccessURLs/OnlineAccessURL/URLDescription", | ||
| "Collection/OnlineAccessURLs/OnlineAccessURL/URL" | ||
| ] | ||
| }, | ||
| { | ||
| "fields": [ | ||
| "Collection/OnlineResources/OnlineResource/Description", | ||
| "Collection/OnlineResources/OnlineResource/URL" | ||
| ] | ||
| } | ||
| ], | ||
| "echo-g": [ | ||
| { | ||
| "fields": [ | ||
| "Granule/OnlineAccessURLs/OnlineAccessURL/URLDescription", | ||
| "Granule/OnlineAccessURLs/OnlineAccessURL/URL" | ||
| ] | ||
| }, | ||
| { | ||
| "fields": [ | ||
| "Granule/OnlineResources/OnlineResource/Description", | ||
| "Granule/OnlineResources/OnlineResource/URL" | ||
| ] | ||
| } | ||
| ], | ||
| "dif10": [ | ||
| { | ||
| "fields": [ | ||
| "DIF/Related_URL/Description", | ||
| "DIF/Related_URL/URL" | ||
| ] | ||
| }, | ||
| { | ||
| "fields": [ | ||
| "DIF/Multimedia_Sample/Description", | ||
| "DIF/Multimedia_Sample/URL" | ||
| ] | ||
| } | ||
| ], | ||
| "umm-c": [ | ||
| { | ||
| { | ||
| "fields": [ | ||
| "RelatedUrls/Description", | ||
| "RelatedUrls/URL" | ||
| "RelatedUrls" | ||
| ] | ||
| } | ||
| ], | ||
| "umm-g": [ | ||
| }, | ||
| { | ||
| "fields": [ | ||
| "RelatedUrls/Description", | ||
| "RelatedUrls/URL" | ||
| "DataCenters/ContactInformation/RelatedUrls" | ||
| ] | ||
| } | ||
| ] | ||
| }, | ||
| "severity": "warning", | ||
| "check_id": "availability_check" | ||
| "check_id": "url_description_presence_check" | ||
| }, | ||
| "get_data_url_check": { | ||
| "rule_name": "GET DATA URL check", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix formatting and missing period (.) in remediation message