generated from NASA-PDS/template-repo-java
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#472 Crosslinks - support acceptOnly and reject
- Loading branch information
1 parent
fa8cf50
commit 3069f40
Showing
3 changed files
with
119 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,52 @@ | ||
{ | ||
"injectableParams": [ | ||
"vid", | ||
"lid", | ||
"lidvid", | ||
"mission", | ||
"spacecraft", | ||
"bundle", | ||
"collection", | ||
"target", | ||
"filename", | ||
"filenameWithoutFileExtension", | ||
"fileExtension", | ||
"fileRef", | ||
"productClass", | ||
"productType", | ||
"nodeName" | ||
], | ||
"tools": [ | ||
{ | ||
"name": "analysts_notebook", | ||
"base": "https://an.rsl.wustl.edu/{mission}/AN/an3.aspx?it=B1&ii={filenameWithoutFileExtension}", | ||
"description": "description", | ||
"supportsLinksFrom": ["atlas", "astria"], | ||
"description": "A tool for accessing the science data archives from NASA landed Mars and lunar missions.", | ||
"aliases": [ | ||
{ | ||
"field": "mission", | ||
"alias": "m20", | ||
"from": ["mars_2020", "m2020", "mars2020", "Mars2020"] | ||
}, | ||
{ | ||
"field": "mission", | ||
"alias": "ins", | ||
"from": ["InSight"] | ||
} | ||
], | ||
"reject": [ | ||
{ "field": "uri", "match": "/*mars2020_helicam*/" }, | ||
{ "field": "uri", "match": "/*mars2020_imgops*/" } | ||
] | ||
"acceptOnly": [ | ||
{ "field": "mission", "match": "m20" }, | ||
{ "field": "mission", "match": "ins" }, | ||
{ "field": "fileExtension", "match": "\\.IMG" } | ||
], | ||
"reject": [{ "field": "uri", "match": ".*mars2020_helicam.*" }] | ||
}, | ||
{ | ||
"name": "atlas4", | ||
"base": "https://pds-imaging.jpl.nasa.gov/beta/record?lidvid={lidvid}", | ||
"description": "The Official Image Search of the PDS Cartography and Imaging Sciences Node (PDSIMG)", | ||
"aliases": [], | ||
"acceptOnly": [], | ||
"reject": [] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters