Last active
January 30, 2024 14:11
-
-
Save epifanio/4d8286dd112b0ed069ecc0bb8f66a3ed to your computer and use it in GitHub Desktop.
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
# ================================================================= | |
# | |
# Authors: Tom Kralidis <[email protected]> | |
# Ricardo Garcia Silva <[email protected]> | |
# | |
# Copyright (c) 2015 Tom Kralidis | |
# Copyright (c) 2017 Ricardo Garcia Silva | |
# | |
# Permission is hereby granted, free of charge, to any person | |
# obtaining a copy of this software and associated documentation | |
# files (the "Software"), to deal in the Software without | |
# restriction, including without limitation the rights to use, | |
# copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the | |
# Software is furnished to do so, subject to the following | |
# conditions: | |
# | |
# The above copyright notice and this permission notice shall be | |
# included in all copies or substantial portions of the Software. | |
# | |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | |
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES | |
# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | |
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | |
# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | |
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | |
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | |
# OTHER DEALINGS IN THE SOFTWARE. | |
# | |
# ================================================================= | |
[server] | |
home=/var/www/pycsw | |
url=https://test.csw.met.no | |
mimetype=application/xml; charset=UTF-8 | |
encoding=UTF-8 | |
language=en-US | |
maxrecords=10 | |
loglevel=DEBUG | |
logfile=/tmp/pycsw.log | |
pretty_print=true | |
profiles=apiso,ebrim | |
workers=16 | |
flask_app=false | |
[manager] | |
transactions=false | |
allowed_ips=* | |
csw_harvest_pagesize=10 | |
[metadata:main] | |
identification_title=Arctic Data Centre Catalogue Interface | |
identification_abstract=Machine interfaces to data catalogue | |
identification_keywords=catalogue, discovery, metadata | |
identification_keywords_type=theme | |
identification_fees=None | |
identification_accessconstraints=None | |
provider_name=Norwegian Meteorological Institute / Arctic Data Centre | |
provider_url=https://adc.met.no/ | |
contact_name=ADC-support | |
contact_position=ADC-support | |
contact_address=Postboks 43 Blindern | |
contact_city=Oslo | |
contact_stateorprovince=Norway | |
contact_postalcode=0313 | |
contact_country=Norway | |
contact_phone=+1234567890 | |
[email protected] | |
contact_url=https://adc.met.no | |
contact_hours=0800h - 1600h +1GMT | |
contact_instructions=Use e-mail | |
contact_role=pointOfContact | |
[repository] | |
database=None | |
table=None | |
source=pycsw.plugins.repository.solr_metno.SOLRMETNORepository | |
filter=http://0.0.0.0:0000/solr/adc | |
adc_collection=ADC | |
MMD_XSL_DIR=/usr/local/share/mmd/xslt/ | |
[xslt] | |
mmd_to_iso=/usr/local/share/mmd/xslt/mmd-to-inspire_cl.xsl | |
dif=/usr/local/share/mmd/xslt/mmd-to-dif_cl.xsl | |
dif10=/usr/local/share/mmd/xslt/mmd-to-dif10_cl.xsl | |
wmo=/usr/local/share/mmd/xslt/mmd-to-wmo.xsl | |
mmd_to_inspire=/usr/local/share/mmd/xslt/mmd-to-inspire_cl.xsl | |
[metadata:inspire] | |
enabled=true | |
languages_supported=eng | |
default_language=eng | |
date=2019-11-11 | |
gemet_keywords=Utility and governmental services | |
conformity_service=notEvaluated | |
contact_name=ADC-support | |
[email protected] | |
temp_extent=2019-10-11/2020-09-10 |
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
[email protected] | Traceback (most recent call last): | |
[email protected] | File "/usr/local/bin/entrypoint.py", line 188, in <module> | |
[email protected] | config.read(os.getenv("PYCSW_CONFIG")) | |
[email protected] | File "/usr/local/lib/python3.8/configparser.py", line 697, in read | |
[email protected] | self._read(fp, filename) | |
[email protected] | File "/usr/local/lib/python3.8/configparser.py", line 1082, in _read | |
[email protected] | raise MissingSectionHeaderError(fpname, lineno, line) | |
[email protected] | configparser.MissingSectionHeaderError: File contains no section headers. | |
[email protected] | file: '/etc/pycsw/pycsw.yml', line: 32 | |
[email protected] | 'server:\n' | |
[email protected] | Traceback (most recent call last): | |
[email protected] | File "/usr/local/bin/entrypoint.py", line 188, in <module> | |
[email protected] | config.read(os.getenv("PYCSW_CONFIG")) | |
[email protected] | File "/usr/local/lib/python3.8/configparser.py", line 697, in read | |
[email protected] | self._read(fp, filename) | |
[email protected] | File "/usr/local/lib/python3.8/configparser.py", line 1082, in _read | |
[email protected] | raise MissingSectionHeaderError(fpname, lineno, line) | |
[email protected] | configparser.MissingSectionHeaderError: File contains no section headers. | |
[email protected] | file: '/etc/pycsw/pycsw.yml', line: 32 | |
[email protected] | 'server:\n' | |
[email protected] | Traceback (most recent call last): | |
[email protected] | File "/usr/local/bin/entrypoint.py", line 188, in <module> | |
[email protected] | config.read(os.getenv("PYCSW_CONFIG")) | |
[email protected] | File "/usr/local/lib/python3.8/configparser.py", line 697, in read | |
[email protected] | self._read(fp, filename) | |
[email protected] | File "/usr/local/lib/python3.8/configparser.py", line 1082, in _read | |
[email protected] | raise MissingSectionHeaderError(fpname, lineno, line) | |
[email protected] | configparser.MissingSectionHeaderError: File contains no section headers. | |
[email protected] | file: '/etc/pycsw/pycsw.yml', line: 32 | |
[email protected] | 'server:\n' | |
[email protected] | Traceback (most recent call last): | |
[email protected] | File "/usr/local/bin/entrypoint.py", line 188, in <module> | |
[email protected] | config.read(os.getenv("PYCSW_CONFIG")) | |
[email protected] | File "/usr/local/lib/python3.8/configparser.py", line 697, in read | |
[email protected] | self._read(fp, filename) | |
[email protected] | File "/usr/local/lib/python3.8/configparser.py", line 1082, in _read | |
[email protected] | raise MissingSectionHeaderError(fpname, lineno, line) | |
[email protected] | configparser.MissingSectionHeaderError: File contains no section headers. | |
[email protected] | file: '/etc/pycsw/pycsw.yml', line: 32 | |
[email protected] | 'server:\n' | |
^C | |
➜ CSW_ADC git:(master) ✗ docker service logs -f test_pycsw | |
[email protected] | Traceback (most recent call last): | |
[email protected] | File "/usr/local/bin/entrypoint.py", line 188, in <module> | |
[email protected] | config.read(os.getenv("PYCSW_CONFIG")) | |
[email protected] | File "/usr/local/lib/python3.8/configparser.py", line 697, in read | |
[email protected] | self._read(fp, filename) | |
[email protected] | File "/usr/local/lib/python3.8/configparser.py", line 1082, in _read | |
[email protected] | raise MissingSectionHeaderError(fpname, lineno, line) | |
[email protected] | configparser.MissingSectionHeaderError: File contains no section headers. | |
[email protected] | file: '/etc/pycsw/pycsw.yml', line: 32 | |
[email protected] | 'server:\n' | |
[email protected] | Traceback (most recent call last): | |
[email protected] | File "/usr/local/bin/entrypoint.py", line 188, in <module> | |
[email protected] | config.read(os.getenv("PYCSW_CONFIG")) | |
[email protected] | File "/usr/local/lib/python3.8/configparser.py", line 697, in read | |
[email protected] | Traceback (most recent call last): | |
[email protected] | self._read(fp, filename) | |
[email protected] | File "/usr/local/lib/python3.8/configparser.py", line 1082, in _read | |
[email protected] | File "/usr/local/bin/entrypoint.py", line 188, in <module> | |
[email protected] | raise MissingSectionHeaderError(fpname, lineno, line) | |
[email protected] | config.read(os.getenv("PYCSW_CONFIG")) | |
[email protected] | configparser.MissingSectionHeaderError: File contains no section headers. | |
[email protected] | File "/usr/local/lib/python3.8/configparser.py", line 697, in read | |
[email protected] | self._read(fp, filename) | |
[email protected] | file: '/etc/pycsw/pycsw.yml', line: 32 | |
[email protected] | File "/usr/local/lib/python3.8/configparser.py", line 1082, in _read | |
[email protected] | raise MissingSectionHeaderError(fpname, lineno, line) | |
[email protected] | 'server:\n' | |
[email protected] | configparser.MissingSectionHeaderError: File contains no section headers. | |
[email protected] | file: '/etc/pycsw/pycsw.yml', line: 32 | |
[email protected] | 'server:\n' | |
[email protected] | Traceback (most recent call last): | |
[email protected] | File "/usr/local/bin/entrypoint.py", line 188, in <module> | |
[email protected] | config.read(os.getenv("PYCSW_CONFIG")) | |
[email protected] | File "/usr/local/lib/python3.8/configparser.py", line 697, in read | |
[email protected] | self._read(fp, filename) | |
[email protected] | File "/usr/local/lib/python3.8/configparser.py", line 1082, in _read | |
[email protected] | raise MissingSectionHeaderError(fpname, lineno, line) | |
[email protected] | configparser.MissingSectionHeaderError: File contains no section headers. | |
[email protected] | file: '/etc/pycsw/pycsw.yml', line: 32 | |
[email protected] | 'server:\n' | |
[email protected] | Traceback (most recent call last): | |
[email protected] | File "/usr/local/bin/entrypoint.py", line 188, in <module> | |
[email protected] | config.read(os.getenv("PYCSW_CONFIG")) | |
[email protected] | File "/usr/local/lib/python3.8/configparser.py", line 697, in read | |
[email protected] | self._read(fp, filename) | |
[email protected] | File "/usr/local/lib/python3.8/configparser.py", line 1082, in _read | |
[email protected] | raise MissingSectionHeaderError(fpname, lineno, line) | |
[email protected] | configparser.MissingSectionHeaderError: File contains no section headers. | |
[email protected] | file: '/etc/pycsw/pycsw.yml', line: 32 | |
[email protected] | 'server:\n' |
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
server: | |
home: /var/www/pycsw | |
url: https://test.csw.met.no | |
mimetype: application/xml; charset=UTF-8 | |
encoding: UTF-8 | |
language: en-US | |
maxrecords: 10 | |
pretty_print: 'true' | |
workers: 16 | |
flask_app: 'false' | |
logging: | |
level: DEBUG | |
logfile: /tmp/pycsw.log | |
manager: | |
transactions: false | |
allowed_ips: | |
- '*' | |
csw_harvest_pagesize: 10 | |
metadata: | |
identification: | |
title: Arctic Data Centre Catalogue Interface | |
description: Machine interfaces to data catalogue | |
keywords: | |
- catalogue | |
- ' discovery' | |
- ' metadata' | |
keywords_type: theme | |
fees: None | |
accessconstraints: None | |
provider: | |
name: Norwegian Meteorological Institute / Arctic Data Centre | |
url: https://adc.met.no/ | |
contact: | |
name: ADC-support | |
position: ADC-support | |
address: Postboks 43 Blindern | |
city: Oslo | |
stateorprovince: Norway | |
postalcode: '0313' | |
country: Norway | |
phone: 1234567890 | |
email: [email protected] | |
url: https://adc.met.no | |
hours: 0800h - 1600h +1GMT | |
instructions: Use e-mail | |
role: pointOfContact | |
inspire: | |
enabled: true | |
languages_supported: | |
- eng | |
default_language: eng | |
date: '2019-11-11' | |
gemet_keywords: | |
- Utility and governmental services | |
conformity_service: notEvaluated | |
contact_name: ADC-support | |
contact_email: [email protected] | |
temp_extent: | |
begin: '2019-10-11' | |
end: '2020-09-10' | |
profiles: | |
- apiso | |
- ebrim | |
federatedcatalogues: [] | |
repository: | |
database: None | |
table: None | |
source: pycsw.plugins.repository.solr_metno.SOLRMETNORepository | |
filter: http://0.0.0.0:0000/solr/adc | |
adc_collection: ADC | |
mmd_xsl_dir: /usr/local/share/mmd/xslt/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment