Skip to content

Commit

Permalink
Update config
Browse files Browse the repository at this point in the history
  • Loading branch information
matsbov committed Apr 3, 2024
1 parent 4937963 commit 2b5beb2
Showing 1 changed file with 22 additions and 8 deletions.
30 changes: 22 additions & 8 deletions sbdi/data/config/bie-index-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,18 @@ wordPress:
- button
contentOnlyParams: ?content-only=1&categories=1
lists:
useListWs: false
service: https://lists.biodiversitydata.se/ws
ui: https://lists.biodiversitydata.se
items: /speciesListItems/{0}?includeKVP=true&max={1}&offset={2}
conservation: /speciesList?isAuthoritative=eq:true&isThreatened=eq:true&max={0}&offset={1}
search: /speciesList/?isAuthoritative=eq:true&max={0}&offset={1}
show: /speciesListItem/list/{0}
add: /createItem
remove: /deleteItem
biocollect:
service:
search: /ws/project/search?initiator=ala&facets=status
naming:
service: https://namematching.biodiversitydata.se
attribution:
Expand All @@ -104,7 +112,6 @@ vernacularListsUrl: file:///data/bie-index/config/vernacular-lists.json
localityKeywordsUrl: file:///data/bie-index/config/locality-keywords.json
#nationalSpeciesDatasets: dr2699,dr2700,dr2702,dr2704,dr2703,dr3118
nationalSpeciesDatasets: ""
defaultDownloadFields: guid,rank,scientificName,scientificNameAuthorship,taxonomicStatus,establishmentMeans,rk_genus,rk_family,rk_order,rk_class,rk_phylum,rk_kingdom,datasetName,parentGuid,acceptedConceptName,acceptedConceptID
hiddenImages:
# URL of hidden images configuration file
#config: file://{{ data_dir }}/bie-index/config/hidden-images-lists.json
Expand Down Expand Up @@ -153,7 +160,7 @@ headerAndFooter:
version: 2
useLegacyAuto: false
import:
sequence: collectory,taxonomy-all,vernacular,denormalise,layers,regions,localities,conservation-lists,wordpress,link-identifiers,images,occurrences
sequence: collectory,taxonomy-all,vernacular,denormalise,layers,regions,localities,conservation-lists,wordpress,knowledgebase,biocollect,species-lists,favourites,weights,link-identifiers,images,occurrences,hidden-images,wiki-urls,suggest-index,sitemap,swap
sequenceDaily:
sequenceWeekly:
dailyRunHour:
Expand All @@ -166,22 +173,29 @@ ala:
bie:
baseURL: https://species.biodiversitydata.se
searchPath: /search

openapi:
title: Species REST services
description: REST services for interacting with the BIE webapp
terms: https://docs.biodiversitydata.se/sbdi-data/sbdi-atlas-terms-of-use/
contact:
name:
email:
license:
name: Mozilla Public License 1.1
url: https://www.mozilla.org/en-US/MPL/1.1/
version: '@info.app.version@'
components:
security:
oauth2:
baseUrl: https://auth.biodiversitydata.se/cas/oidc

userdetails:
url: https://auth.biodiversitydata.se/userdetails
userdetails.web.url: https://auth.biodiversitydata.se/userdetails/
userdetails.api.url: https://auth.biodiversitydata.se/userdetails/

# all available rk_ and rkid_ fields in SOLR are added to defaultDownloadFields when no rk_ field is defined in defaultDownloadFields
defaultDownloadFields: guid,rank,scientificName,scientificNameAuthorship,taxonomicStatus,establishmentMeans,datasetName,parentGuid,acceptedConceptName,acceptedConceptID,idxtype,name,additionalNames_m_s
downloadMaxRows: 100000

# override the taxon ranks taxonRanksFile with an external file
taxonRanksFile:

sitemap:
dir: /data/bie-index
enabled: false

0 comments on commit 2b5beb2

Please sign in to comment.