Skip to content
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

Main config.ini.template cleaned #254

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @ferag @orviz
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repos:
hooks:
- id: black
- repo: https://github.com/PyCQA/docformatter
rev: v1.7.5
rev: master
hooks:
- id: docformatter
additional_dependencies: [tomli]
Expand Down
188 changes: 29 additions & 159 deletions config.ini.template
Original file line number Diff line number Diff line change
@@ -1,164 +1,34 @@
[Generic]
doi_url = https://doi.org/
#[Generic]
#doi_url = https://doi.org/

# Relative path to the API config file
api_config = fair-api.yaml
#api_config = fair-api.yaml

[local]
only_local = false
repo = digital_csic
logo_url = 'https://ifca.unican.es'
title = FAIR EVA: Evaluator, Validator & Advisor
#[local]
#only_local = false
#repo = digital_csic
#logo_url = 'https://ifca.unican.es'
#title = FAIR EVA: Evaluator, Validator & Advisor

[Repositories]
#[Repositories]
#Name in plugin, name in tag
oai-pmh = 'Evaluator'
digital_csic = 'Digital.CSIC'
dspace7 = 'DSpace7'
epos= 'epos'
example_plugin = Example_Plugin
signposting = Signposting

[dspace7]
base_url = http://localhost:8080/server/

# Metadata terms to find the resource identifier
identifier_term = ['identifier']

# Metadata terms to check richness (generic). These terms should be included [term, qualifier]. None means no qualifier
terms_quali_generic = [['contributor',None],
['date', None],
['description', None],
['identifier', None],
['publisher', None],
['rights', None],
['title', None],
['subject', None]]

# Metadata terms to check richness (disciplinar). These terms should be included [term, qualifier]
terms_quali_disciplinar = [['contributor', None],
['date', None],
['description', None],
['identifier', None],
['publisher', None],
['rights', None],
['title', None],
['subject', None]]

# Metadata terms that defines accessibility
terms_access = [['access', ''], ['rights', '']]

# Metadata terms wich includes controlled vocabularies. More controlled vocabularies can be imlpemented in plugins
terms_cv = [['coverage', 'spatial'], ['subject', 'lcsh']]

# List of data formats that are standard for the community
supported_data_formats = [".txt", ".pdf", ".csv", ".nc", ".doc", ".xls", ".zip", ".rar", ".tar", ".png", ".jpg"]

# Metadata terms that defines links or relation with authors, contributors (preferebly in ORCID format)
terms_qualified_references = ['contributor']

# Metadata terms that defines links or relation with other resources, (preferebly in ORCID format, URIs or persistent identifiers)
terms_relations = ['relation']

# Metadata terms that defines the license type
terms_license = [['license', '', '']]

#Metadata chemas to check
metadata_schemas = [{'dc': 'http://www.openarchives.org/OAI/2.0/oai_dc/'}]

[digital_csic]
db_host =
db_port =
oai_ep =

[oai-pmh]
# Metadata terms to find the resource identifier
identifier_term = ['identifier']

# Metadata terms to check richness (generic). These terms should be included [term, qualifier]. None means no qualifier
terms_quali_generic = [['contributor', None],
['date', None],
['description', None],
['identifier', None],
['publisher', None],
['rights', None],
['title', None],
['subject', None]]

# Metadata terms to check richness (disciplinar). These terms should be included [term, qualifier]
terms_quali_disciplinar = [['contributor', None],
['date', None],
['description', None],
['identifier', None],
['publisher', None],
['rights', None],
['title', None],
['subject', None]]

# Metadata terms that defines accessibility
terms_access = [['access', ''], ['rights', '']]

# Metadata terms wich includes controlled vocabularies. More controlled vocabularies can be imlpemented in plugins
terms_cv = [['coverage', 'spatial'], ['subject', 'lcsh']]

# List of data formats that are standard for the community
supported_data_formats = [".txt", ".pdf", ".csv", ".nc", ".doc", ".xls", ".zip", ".rar", ".tar", ".png", ".jpg"]

# Metadata terms that defines links or relation with authors, contributors (preferebly in ORCID format)
terms_qualified_references = ['contributor']

# Metadata terms that defines links or relation with other resources, (preferebly in ORCID format, URIs or persistent identifiers)
terms_relations = ['relation']

# Metadata terms that defines the license type
terms_license = [['license', '', '']]

metadata_schemas = [{'xml': 'http://datacite.org/schema/kernel-4'}]

[epos]
# Metadata terms to find the resource identifier
identifier_term = [['id'],]

#DOI
doi= [['DOI'],]

# Metadata terms to check richness (generic). These terms should be included [term, qualifier]. None means no qualifier
terms_quali_generic = [['paths', 'serviceSpatial'],
['startDate', 'serviceTemporalCoverage'],
['serviceDescription', None],
['hasQualityAnnotation', None],
['dataProvider', None],
['license', None],
['title', None],
['keywords', None]]

# Metadata terms to check richness (disciplinar). These terms should be included [term, qualifier]
terms_quali_disciplinar = [['paths', 'serviceSpatial'],
['startDate', 'serviceTemporalCoverage'],
['serviceDescription', None],
['hasQualityAnnotation', None],
['dataProvider', None],
['license', None],
['title', None],
['keywords', None]]

# Metadata terms that defines accessibility
terms_access = [['downloadURL','']]

# Metadata terms wich includes controlled vocabularies. More controlled vocabularies can be imlpemented in plugins
terms_cv = [['coverage', 'spatial'], ['subject', 'lcsh']]

# List of data formats that are standard for the community
supported_data_formats = [".txt", ".pdf", ".csv", ".nc", ".doc", ".xls", ".zip", ".rar", ".tar", ".png", ".jpg"]

# Metadata terms that defines links or relation with authors, contributors (preferebly in ORCID format)
terms_qualified_references = ['contributor']

# Metadata terms that defines links or relation with other resources, (preferebly in ORCID format, URIs or persistent identifiers)
terms_relations = ['dataProviderUrl','frequencyUpdate']

# Metadata terms that defines the license type
terms_license = [['license', '', '']]

[example_plugin]
base_url = localhost
#oai-pmh = 'Evaluator'
#digital_csic = 'Digital.CSIC'
#dspace7 = 'DSpace7'
#epos= 'epos'
#example_plugin = Example_Plugin
#signposting = Signposting

#[fairsharing]
# username and password
#username = ['']
#password = ['']

#_path is variable that stores the path to the file in which the fairsharing-approved metadatata standards or formasts are stored

#metadata_path = ['static/fairsharing_metadata_standards20240214.json']
#formats_path = ['static/fairsharing_formats20240226.txt']

#[internet media types]
#path to internet media files file
#path = ['static/internetmediatypes190224.csv']
Loading