diff --git a/indexer/src/main/java/au/org/aodn/esindexer/service/StacCollectionMapperService.java b/indexer/src/main/java/au/org/aodn/esindexer/service/StacCollectionMapperService.java index b3bae780..779abc44 100644 --- a/indexer/src/main/java/au/org/aodn/esindexer/service/StacCollectionMapperService.java +++ b/indexer/src/main/java/au/org/aodn/esindexer/service/StacCollectionMapperService.java @@ -635,14 +635,14 @@ protected List mapThemesConcepts(MDKeywordsPropertyType descriptiv } protected String mapThemesTitle(MDKeywordsPropertyType descriptiveKeyword, String uuid) { - return safeGet(() -> descriptiveKeyword.getMDKeywords().getThesaurusName().getAbstractCitation()) + String title = safeGet(() -> descriptiveKeyword.getMDKeywords().getThesaurusName().getAbstractCitation()) .map(citation -> { if(citation.getValue() instanceof CICitationType2 thesaurusNameType2) { CharacterStringPropertyType titleString = thesaurusNameType2.getTitle(); if (titleString != null && titleString.getCharacterString() != null && titleString.getCharacterString().getValue() instanceof AnchorType value) { - return (value.getValue() != null ? value.getValue() : ""); + return value.getValue(); } else if (titleString != null && titleString.getCharacterString() != null @@ -650,24 +650,28 @@ else if (titleString != null return value; } } - return ""; + return null; }) - .orElseGet(() -> { - // If no thesaurusName, try to use type as title - // make sure it is really not a thesaurusName - if (safeGet(() -> descriptiveKeyword.getMDKeywords().getThesaurusName()).isEmpty()) { - var type = safeGet(() -> descriptiveKeyword.getMDKeywords().getType().getMDKeywordTypeCode().getCodeListValue()); - if (type.isPresent()) { - if (type.get().isEmpty()) { - return "Keywords"; - } - return String.format("Keywords (%s)", capitalizeFirstLetter(type.get())); - } + .orElse(null); - } - logger.debug("Unable to find themes' title for metadata record: {}", uuid); - return ""; - }); + // If no thesaurusName, try to use type as title + // make sure it is really not a thesaurusName + if (title == null || title.trim().isEmpty()) { + if (safeGet(() -> descriptiveKeyword.getMDKeywords().getThesaurusName()).isEmpty()) { + var type = safeGet(() -> descriptiveKeyword.getMDKeywords().getType().getMDKeywordTypeCode().getCodeListValue()); + if (type.isPresent() && !type.get().isEmpty()) { + title = String.format("Keywords (%s)", capitalizeFirstLetter(type.get())); + } + } + } + + // Use title if valid, otherwise use default "Descriptive Keyword" + if (title == null || title.trim().isEmpty()) { + logger.debug("Using default 'Descriptive Keyword' title for metadata record: {}", uuid); + return "Descriptive Keyword"; + } + + return title; } protected String mapThemesDescription(MDKeywordsPropertyType descriptiveKeyword, String uuid) { diff --git a/indexer/src/test/resources/canned/aienhancement/sample1_stac_ai_enhanced.json b/indexer/src/test/resources/canned/aienhancement/sample1_stac_ai_enhanced.json index 72a6d0f8..49a6cf40 100644 --- a/indexer/src/test/resources/canned/aienhancement/sample1_stac_ai_enhanced.json +++ b/indexer/src/test/resources/canned/aienhancement/sample1_stac_ai_enhanced.json @@ -617,82 +617,82 @@ "id" : "Current direction in the water body", "url" : "http://vocab.nerc.ac.uk/collection/P01/current/LCDAZZ01", "description" : "", - "title" : "" + "title" : "Descriptive Keyword" }, { "id" : "Current speed in the water body", "url" : "http://vocab.aodn.org.au/def/discovery_parameter/entity/383", "description" : "", - "title" : "" + "title" : "Descriptive Keyword" }, { "id" : "Eastward current velocity in the water body", "url" : "http://vocab.nerc.ac.uk/collection/P01/current/LCEWZZ01", "description" : "", - "title" : "" + "title" : "Descriptive Keyword" }, { "id" : "Northward current velocity in the water body", "url" : "http://vocab.nerc.ac.uk/collection/P01/current/LCNSZZ01", "description" : "", - "title" : "" + "title" : "Descriptive Keyword" }, { "id" : "Upward current velocity in the water body", "url" : "http://vocab.nerc.ac.uk/collection/P01/current/LRZAZZZZ", "description" : "", - "title" : "" + "title" : "Descriptive Keyword" }, { "id" : "Practical salinity of the water body", "url" : "http://vocab.nerc.ac.uk/collection/P01/current/PSLTZZ01", "description" : "", - "title" : "" + "title" : "Descriptive Keyword" }, { "id" : "Temperature of the water body", "url" : "http://vocab.nerc.ac.uk/collection/P01/current/TEMPPR01", "description" : "", - "title" : "" + "title" : "Descriptive Keyword" }, { "id" : "Pressure (measured variable) in the water body exerted by overlying sea water and any medium above it", "url" : "http://vocab.aodn.org.au/def/discovery_parameter/entity/565", "description" : "", - "title" : "" + "title" : "Descriptive Keyword" }, { "id" : "Pressure (measured variable) in the water body exerted by overlying sea water only", "url" : "http://vocab.aodn.org.au/def/discovery_parameter/entity/566", "description" : "", - "title" : "" + "title" : "Descriptive Keyword" }, { "id" : "Gravity", "url" : "http://vocab.ndg.nerc.ac.uk/term/P011/667/GRAVFLDX", "description" : "", - "title" : "" + "title" : "Descriptive Keyword" }, { "id" : "Sub-bottom structure", "url" : "N/A", "description" : "", - "title" : "" + "title" : "Descriptive Keyword" }, { "id" : "Abundance of biota", "url" : "http://vocab.aodn.org.au/def/discovery_parameter/entity/488", "description" : "", - "title" : "" + "title" : "Descriptive Keyword" }, { "id" : "Biovolume", "url" : "http://vocab.aodn.org.au/def/discovery_parameter/entity/22", "description" : "", - "title" : "" + "title" : "Descriptive Keyword" }, { "id" : "Sea-floor depth below surface of the water body", "url" : "http://vocab.aodn.org.au/def/discovery_parameter/entity/574", "description" : "", - "title" : "" + "title" : "Descriptive Keyword" }, { "id" : "Sea-floor surface hardness", "url" : "N/A", "description" : "", - "title" : "" + "title" : "Descriptive Keyword" }, { "id" : "Density of the water body", "url" : "http://vocab.aodn.org.au/def/discovery_parameter/entity/401", "description" : "", - "title" : "" + "title" : "Descriptive Keyword" } ], "scheme" : "" }, { @@ -700,7 +700,7 @@ "id" : "research vessel", "url" : "http://vocab.nerc.ac.uk/collection/L06/current/31", "description" : "", - "title" : "" + "title" : "Descriptive Keyword" } ], "scheme" : "" }, { @@ -708,47 +708,47 @@ "id" : "current profilers", "url" : "http://vocab.nerc.ac.uk/collection/L05/current/115", "description" : "", - "title" : "" + "title" : "Descriptive Keyword" }, { "id" : "lowered current profilers", "url" : "http://vocab.nerc.ac.uk/collection/L05/current/116/", "description" : "", - "title" : "" + "title" : "Descriptive Keyword" }, { "id" : "CTD", "url" : "http://vocab.nerc.ac.uk/collection/L05/current/130", "description" : "", - "title" : "" + "title" : "Descriptive Keyword" }, { "id" : "gravimeters", "url" : "http://vocab.nerc.ac.uk/collection/L05/current/158/", "description" : "", - "title" : "" + "title" : "Descriptive Keyword" }, { "id" : "2000 Hz top-bandwidth sub-bottom penetrator and mud profiler systems", "url" : "http://vocab.nerc.ac.uk/collection/L05/current/367/", "description" : "", - "title" : "" + "title" : "Descriptive Keyword" }, { "id" : "Fish-finder echosounders", "url" : "http://vocab.nerc.ac.uk/collection/L05/current/FFES", "description" : "", - "title" : "" + "title" : "Descriptive Keyword" }, { "id" : "multi-beam echosounders", "url" : "http://vocab.nerc.ac.uk/collection/L05/current/157", "description" : "", - "title" : "" + "title" : "Descriptive Keyword" }, { "id" : "thermosalinographs", "url" : "http://vocab.nerc.ac.uk/collection/L05/current/133", "description" : "", - "title" : "" + "title" : "Descriptive Keyword" }, { "id" : "bathythermographs", "url" : "http://vocab.nerc.ac.uk/collection/L05/current/132", "description" : "", - "title" : "" + "title" : "Descriptive Keyword" } ], "scheme" : "" }, { diff --git a/indexer/src/test/resources/canned/aienhancement/sample2_stac_ai_enhanced.json b/indexer/src/test/resources/canned/aienhancement/sample2_stac_ai_enhanced.json index 4acc962a..48976ac5 100644 --- a/indexer/src/test/resources/canned/aienhancement/sample2_stac_ai_enhanced.json +++ b/indexer/src/test/resources/canned/aienhancement/sample2_stac_ai_enhanced.json @@ -4408,91 +4408,91 @@ "id": "Practical salinity of the water body", "url": "http://vocab.nerc.ac.uk/collection/P01/current/PSLTZZ01", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "Temperature of the water body", "url": "http://vocab.nerc.ac.uk/collection/P01/current/TEMPPR01", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "Pressure (measured variable) in the water body exerted by overlying sea water and any medium above it", "url": "http://vocab.aodn.org.au/def/discovery_parameter/entity/565", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "Pressure (measured variable) in the water body exerted by overlying sea water only", "url": "http://vocab.aodn.org.au/def/discovery_parameter/entity/566", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "Current direction in the water body", "url": "http://vocab.nerc.ac.uk/collection/P01/current/LCDAZZ01", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "Current speed in the water body", "url": "http://vocab.aodn.org.au/def/discovery_parameter/entity/383", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "Eastward current velocity in the water body", "url": "http://vocab.nerc.ac.uk/collection/P01/current/LCEWZZ01", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "Northward current velocity in the water body", "url": "http://vocab.nerc.ac.uk/collection/P01/current/LCNSZZ01", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "Upward current velocity in the water body", "url": "http://vocab.nerc.ac.uk/collection/P01/current/LRZAZZZZ", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "Sea-floor depth below surface of the water body", "url": "http://vocab.aodn.org.au/def/discovery_parameter/entity/574", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "Sea-floor surface hardness", "url": "N/A", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "Density of the water body", "url": "http://vocab.aodn.org.au/def/discovery_parameter/entity/401", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "Sub-bottom structure", "url": "N/A", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "Abundance of biota", "url": "http://vocab.aodn.org.au/def/discovery_parameter/entity/488", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "Biovolume", "url": "http://vocab.aodn.org.au/def/discovery_parameter/entity/22", "description": "", - "title": "" + "title": "Descriptive Keyword" } ], "scheme": "" @@ -4503,7 +4503,7 @@ "id": "research vessel", "url": "http://vocab.nerc.ac.uk/collection/L06/current/31", "description": "", - "title": "" + "title": "Descriptive Keyword" } ], "scheme": "" @@ -4514,49 +4514,49 @@ "id": "CTD", "url": "http://vocab.nerc.ac.uk/collection/L05/current/130", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "lowered current profilers", "url": "http://vocab.nerc.ac.uk/collection/L05/current/116/", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "current profilers", "url": "http://vocab.nerc.ac.uk/collection/L05/current/115", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "bathythermographs", "url": "http://vocab.nerc.ac.uk/collection/L05/current/132", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "multi-beam echosounders", "url": "http://vocab.nerc.ac.uk/collection/L05/current/157", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "2000 Hz top-bandwidth sub-bottom penetrator and mud profiler systems", "url": "http://vocab.nerc.ac.uk/collection/L05/current/367/", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "thermosalinographs", "url": "http://vocab.nerc.ac.uk/collection/L05/current/133", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "Fish-finder echosounders", "url": "http://vocab.nerc.ac.uk/collection/L05/current/FFES", "description": "", - "title": "" + "title": "Descriptive Keyword" } ], "scheme": "" diff --git a/indexer/src/test/resources/canned/keywords_null_stac.json b/indexer/src/test/resources/canned/keywords_null_stac.json index f854d7a7..e7e498a1 100644 --- a/indexer/src/test/resources/canned/keywords_null_stac.json +++ b/indexer/src/test/resources/canned/keywords_null_stac.json @@ -133,7 +133,7 @@ "id" : "National Environmental Science Program", "url" : null, "description" : "", - "title" : "Keywords" + "title" : "Descriptive Keyword" } ], "scheme" : "" }, { @@ -141,7 +141,7 @@ "id" : "Marine Biodiversity Hub", "url" : null, "description" : "", - "title" : "Keywords" + "title" : "Descriptive Keyword" } ], "scheme" : "" }, { @@ -149,7 +149,7 @@ "id" : "Published_External", "url" : null, "description" : "", - "title" : "" + "title" : "Descriptive Keyword" } ], "scheme" : "" }, { diff --git a/indexer/src/test/resources/canned/sample12_stac.json b/indexer/src/test/resources/canned/sample12_stac.json index 1d63a49a..d2ec7ec1 100644 --- a/indexer/src/test/resources/canned/sample12_stac.json +++ b/indexer/src/test/resources/canned/sample12_stac.json @@ -255,12 +255,12 @@ "concepts" : [ { "id" : "MARINE", "url" : null, - "title" : "", + "title" : "Descriptive Keyword", "description" : "" }, { "id" : "METEOROLOGY", "url" : null, - "title" : "", + "title" : "Descriptive Keyword", "description" : "" } ], "scheme" : "" diff --git a/indexer/src/test/resources/canned/sample23_stac.json b/indexer/src/test/resources/canned/sample23_stac.json index 625f4429..031e4cd1 100644 --- a/indexer/src/test/resources/canned/sample23_stac.json +++ b/indexer/src/test/resources/canned/sample23_stac.json @@ -106,67 +106,67 @@ "concepts" : [ { "id" : "singlebeam", "url" : null, - "title" : "", + "title" : "Descriptive Keyword", "description" : "" }, { "id" : "australia", "url" : null, - "title" : "", + "title" : "Descriptive Keyword", "description" : "" }, { "id" : "hydrography", "url" : null, - "title" : "", + "title" : "Descriptive Keyword", "description" : "" }, { "id" : "coast", "url" : null, - "title" : "", + "title" : "Descriptive Keyword", "description" : "" }, { "id" : "levels", "url" : null, - "title" : "", + "title" : "Descriptive Keyword", "description" : "" }, { "id" : "marine", "url" : null, - "title" : "", + "title" : "Descriptive Keyword", "description" : "" }, { "id" : "DOT", "url" : null, - "title" : "", + "title" : "Descriptive Keyword", "description" : "" }, { "id" : "bathymetry", "url" : null, - "title" : "", + "title" : "Descriptive Keyword", "description" : "" }, { "id" : "WA", "url" : null, - "title" : "", + "title" : "Descriptive Keyword", "description" : "" }, { "id" : "depth", "url" : null, - "title" : "", + "title" : "Descriptive Keyword", "description" : "" }, { "id" : "survey", "url" : null, - "title" : "", + "title" : "Descriptive Keyword", "description" : "" }, { "id" : "sea", "url" : null, - "title" : "", + "title" : "Descriptive Keyword", "description" : "" }, { "id" : "ocean", "url" : null, - "title" : "", + "title" : "Descriptive Keyword", "description" : "" } ], "scheme" : "" @@ -174,7 +174,7 @@ "concepts" : [ { "id" : "Downloadable Data", "url" : null, - "title" : "", + "title" : "Descriptive Keyword", "description" : "" } ], "scheme" : "" diff --git a/indexer/src/test/resources/canned/sample6_stac.json b/indexer/src/test/resources/canned/sample6_stac.json index 2000b6a1..ee6c3677 100644 --- a/indexer/src/test/resources/canned/sample6_stac.json +++ b/indexer/src/test/resources/canned/sample6_stac.json @@ -4403,91 +4403,91 @@ "id": "Practical salinity of the water body", "url": "http://vocab.nerc.ac.uk/collection/P01/current/PSLTZZ01", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "Temperature of the water body", "url": "http://vocab.nerc.ac.uk/collection/P01/current/TEMPPR01", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "Pressure (measured variable) in the water body exerted by overlying sea water and any medium above it", "url": "http://vocab.aodn.org.au/def/discovery_parameter/entity/565", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "Pressure (measured variable) in the water body exerted by overlying sea water only", "url": "http://vocab.aodn.org.au/def/discovery_parameter/entity/566", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "Current direction in the water body", "url": "http://vocab.nerc.ac.uk/collection/P01/current/LCDAZZ01", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "Current speed in the water body", "url": "http://vocab.aodn.org.au/def/discovery_parameter/entity/383", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "Eastward current velocity in the water body", "url": "http://vocab.nerc.ac.uk/collection/P01/current/LCEWZZ01", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "Northward current velocity in the water body", "url": "http://vocab.nerc.ac.uk/collection/P01/current/LCNSZZ01", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "Upward current velocity in the water body", "url": "http://vocab.nerc.ac.uk/collection/P01/current/LRZAZZZZ", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "Sea-floor depth below surface of the water body", "url": "http://vocab.aodn.org.au/def/discovery_parameter/entity/574", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "Sea-floor surface hardness", "url": "N/A", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "Density of the water body", "url": "http://vocab.aodn.org.au/def/discovery_parameter/entity/401", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "Sub-bottom structure", "url": "N/A", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "Abundance of biota", "url": "http://vocab.aodn.org.au/def/discovery_parameter/entity/488", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "Biovolume", "url": "http://vocab.aodn.org.au/def/discovery_parameter/entity/22", "description": "", - "title": "" + "title": "Descriptive Keyword" } ], "scheme": "" @@ -4498,7 +4498,7 @@ "id": "research vessel", "url": "http://vocab.nerc.ac.uk/collection/L06/current/31", "description": "", - "title": "" + "title": "Descriptive Keyword" } ], "scheme": "" @@ -4509,49 +4509,49 @@ "id": "CTD", "url": "http://vocab.nerc.ac.uk/collection/L05/current/130", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "lowered current profilers", "url": "http://vocab.nerc.ac.uk/collection/L05/current/116/", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "current profilers", "url": "http://vocab.nerc.ac.uk/collection/L05/current/115", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "bathythermographs", "url": "http://vocab.nerc.ac.uk/collection/L05/current/132", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "multi-beam echosounders", "url": "http://vocab.nerc.ac.uk/collection/L05/current/157", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "2000 Hz top-bandwidth sub-bottom penetrator and mud profiler systems", "url": "http://vocab.nerc.ac.uk/collection/L05/current/367/", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "thermosalinographs", "url": "http://vocab.nerc.ac.uk/collection/L05/current/133", "description": "", - "title": "" + "title": "Descriptive Keyword" }, { "id": "Fish-finder echosounders", "url": "http://vocab.nerc.ac.uk/collection/L05/current/FFES", "description": "", - "title": "" + "title": "Descriptive Keyword" } ], "scheme": "" diff --git a/indexer/src/test/resources/canned/sample8_stac.json b/indexer/src/test/resources/canned/sample8_stac.json index d3dc1045..240043ee 100644 --- a/indexer/src/test/resources/canned/sample8_stac.json +++ b/indexer/src/test/resources/canned/sample8_stac.json @@ -570,82 +570,82 @@ "concepts" : [ { "id" : "Current direction in the water body", "url" : "http://vocab.nerc.ac.uk/collection/P01/current/LCDAZZ01", - "title" : "", + "title" : "Descriptive Keyword", "description" : "" }, { "id" : "Current speed in the water body", "url" : "http://vocab.aodn.org.au/def/discovery_parameter/entity/383", - "title" : "", + "title" : "Descriptive Keyword", "description" : "" }, { "id" : "Eastward current velocity in the water body", "url" : "http://vocab.nerc.ac.uk/collection/P01/current/LCEWZZ01", - "title" : "", + "title" : "Descriptive Keyword", "description" : "" }, { "id" : "Northward current velocity in the water body", "url" : "http://vocab.nerc.ac.uk/collection/P01/current/LCNSZZ01", - "title" : "", + "title" : "Descriptive Keyword", "description" : "" }, { "id" : "Upward current velocity in the water body", "url" : "http://vocab.nerc.ac.uk/collection/P01/current/LRZAZZZZ", - "title" : "", + "title" : "Descriptive Keyword", "description" : "" }, { "id" : "Practical salinity of the water body", "url" : "http://vocab.nerc.ac.uk/collection/P01/current/PSLTZZ01", - "title" : "", + "title" : "Descriptive Keyword", "description" : "" }, { "id" : "Temperature of the water body", "url" : "http://vocab.nerc.ac.uk/collection/P01/current/TEMPPR01", - "title" : "", + "title" : "Descriptive Keyword", "description" : "" }, { "id" : "Pressure (measured variable) in the water body exerted by overlying sea water and any medium above it", "url" : "http://vocab.aodn.org.au/def/discovery_parameter/entity/565", - "title" : "", + "title" : "Descriptive Keyword", "description" : "" }, { "id" : "Pressure (measured variable) in the water body exerted by overlying sea water only", "url" : "http://vocab.aodn.org.au/def/discovery_parameter/entity/566", - "title" : "", + "title" : "Descriptive Keyword", "description" : "" }, { "id" : "Gravity", "url" : "http://vocab.ndg.nerc.ac.uk/term/P011/667/GRAVFLDX", - "title" : "", + "title" : "Descriptive Keyword", "description" : "" }, { "id" : "Sub-bottom structure", "url" : "N/A", - "title" : "", + "title" : "Descriptive Keyword", "description" : "" }, { "id" : "Abundance of biota", "url" : "http://vocab.aodn.org.au/def/discovery_parameter/entity/488", - "title" : "", + "title" : "Descriptive Keyword", "description" : "" }, { "id" : "Biovolume", "url" : "http://vocab.aodn.org.au/def/discovery_parameter/entity/22", - "title" : "", + "title" : "Descriptive Keyword", "description" : "" }, { "id" : "Sea-floor depth below surface of the water body", "url" : "http://vocab.aodn.org.au/def/discovery_parameter/entity/574", - "title" : "", + "title" : "Descriptive Keyword", "description" : "" }, { "id" : "Sea-floor surface hardness", "url" : "N/A", - "title" : "", + "title" : "Descriptive Keyword", "description" : "" }, { "id" : "Density of the water body", "url" : "http://vocab.aodn.org.au/def/discovery_parameter/entity/401", - "title" : "", + "title" : "Descriptive Keyword", "description" : "" } ], "scheme" : "" @@ -653,7 +653,7 @@ "concepts" : [ { "id" : "research vessel", "url" : "http://vocab.nerc.ac.uk/collection/L06/current/31", - "title" : "", + "title" : "Descriptive Keyword", "description" : "" } ], "scheme" : "" @@ -661,47 +661,47 @@ "concepts" : [ { "id" : "current profilers", "url" : "http://vocab.nerc.ac.uk/collection/L05/current/115", - "title" : "", + "title" : "Descriptive Keyword", "description" : "" }, { "id" : "lowered current profilers", "url" : "http://vocab.nerc.ac.uk/collection/L05/current/116/", - "title" : "", + "title" : "Descriptive Keyword", "description" : "" }, { "id" : "CTD", "url" : "http://vocab.nerc.ac.uk/collection/L05/current/130", - "title" : "", + "title" : "Descriptive Keyword", "description" : "" }, { "id" : "gravimeters", "url" : "http://vocab.nerc.ac.uk/collection/L05/current/158/", - "title" : "", + "title" : "Descriptive Keyword", "description" : "" }, { "id" : "2000 Hz top-bandwidth sub-bottom penetrator and mud profiler systems", "url" : "http://vocab.nerc.ac.uk/collection/L05/current/367/", - "title" : "", + "title" : "Descriptive Keyword", "description" : "" }, { "id" : "Fish-finder echosounders", "url" : "http://vocab.nerc.ac.uk/collection/L05/current/FFES", - "title" : "", + "title" : "Descriptive Keyword", "description" : "" }, { "id" : "multi-beam echosounders", "url" : "http://vocab.nerc.ac.uk/collection/L05/current/157", - "title" : "", + "title" : "Descriptive Keyword", "description" : "" }, { "id" : "thermosalinographs", "url" : "http://vocab.nerc.ac.uk/collection/L05/current/133", - "title" : "", + "title" : "Descriptive Keyword", "description" : "" }, { "id" : "bathythermographs", "url" : "http://vocab.nerc.ac.uk/collection/L05/current/132", - "title" : "", + "title" : "Descriptive Keyword", "description" : "" } ], "scheme" : "" diff --git a/indexer/src/test/resources/canned/sample_abstract_citation_null_stac.json b/indexer/src/test/resources/canned/sample_abstract_citation_null_stac.json index d0943ae7..526568fe 100644 --- a/indexer/src/test/resources/canned/sample_abstract_citation_null_stac.json +++ b/indexer/src/test/resources/canned/sample_abstract_citation_null_stac.json @@ -252,7 +252,7 @@ "concepts" : [ { "id" : "Global / Oceans | West Equatorial Pacific Ocean", "url" : "https://marlin.csiro.au/geonetwork/srv/eng/xml.keyword.get?thesaurus=register.place.urn:marlin.csiro.au:definedregions&id=urn:marlin.csiro.au:definedregions:concept:1021", - "title" : "", + "title" : "Descriptive Keyword", "description" : "" } ], "scheme" : "place"