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

update configuration to YAML #937

Merged
merged 34 commits into from
Jan 6, 2024
Merged
Show file tree
Hide file tree
Changes from 29 commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
ef1dc46
update configuration to YAML (#797)
tomkralidis Dec 13, 2023
23c9655
pass OARec tests
tomkralidis Dec 13, 2023
ed8f578
STAC updates
tomkralidis Dec 17, 2023
38ee546
fix refs
tomkralidis Jan 5, 2024
6c182f4
pass CITE tests
tomkralidis Jan 5, 2024
bb218f1
pass APISO tests
tomkralidis Jan 5, 2024
4834bf5
pass Atom tests
tomkralidis Jan 5, 2024
8486804
pass APISO INSPIRE tests
tomkralidis Jan 5, 2024
866c12b
pass idswithpaths tests
tomkralidis Jan 5, 2024
013f281
pass default tests
tomkralidis Jan 5, 2024
8cd35e6
pass dif tests
tomkralidis Jan 5, 2024
4c19007
pass duplicatefileid tests
tomkralidis Jan 5, 2024
687247a
pass ebrim tests
tomkralidis Jan 5, 2024
c327ab2
pass fgdc tests
tomkralidis Jan 5, 2024
d2b0622
pass gm03 tests
tomkralidis Jan 5, 2024
3e69213
update harvesting tests
tomkralidis Jan 5, 2024
7f27d6b
pass manager tests
tomkralidis Jan 5, 2024
96819b0
pass oaipmh tests
tomkralidis Jan 5, 2024
7c7f666
pass opensearcheo tests
tomkralidis Jan 5, 2024
f47e2d3
pass repofilter tests
tomkralidis Jan 5, 2024
8d459f9
pass sru tests
tomkralidis Jan 5, 2024
9078ebc
update utf-8 tests
tomkralidis Jan 5, 2024
6a38c71
updates
tomkralidis Jan 5, 2024
d658c9d
fix
tomkralidis Jan 5, 2024
48a8ed7
Fixed failing tests
ricardogsilva Jan 5, 2024
853e5cb
update docker configs
tomkralidis Jan 5, 2024
cd86aad
docs sweep
tomkralidis Jan 5, 2024
fa1229e
add migration script
tomkralidis Jan 6, 2024
b41b012
add yaml dump to file
tomkralidis Jan 6, 2024
7d5c007
Fix typo in helm configmap
kalxas Jan 6, 2024
c60f921
Update k8s configmap
kalxas Jan 6, 2024
0f25302
Update default config file
kalxas Jan 6, 2024
f1eb423
Update config files
kalxas Jan 6, 2024
02d2b8d
update copyright year
tomkralidis Jan 6, 2024
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
101 changes: 0 additions & 101 deletions default-sample.cfg

This file was deleted.

123 changes: 123 additions & 0 deletions default-sample.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
# =================================================================
#
# Authors: Tom Kralidis <[email protected]>
#
# Copyright (c) 2023 Tom Kralidis
#
# 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:
url: http://localhost/pycsw/csw.py
mimetype: application/xml; charset=UTF-8
encoding: UTF-8
language: en-US
maxrecords: 10
#ogc_schemas_location: http://foo
#pretty_print: true
gzip_compresslevel: 9
#domainquerytype: range
#domaincounts: true
#spatial_ranking: true
#workers=2

logging:
level: ERROR
#logfile: /tmp/pycsw.log

profiles:
- apiso

federatedcatalogues:
- http://catalog.data.gov/csw

manager:
transactions: false
allowed_ips:
- 127.0.0.1
csw_harvest_pagesize: 10

metadata:
identification:
title: pycsw Geospatial Catalogue
description: pycsw is an OARec and OGC CSW server implementation written in Python
keywords:
- catalogue
- discovery
- metadata
keywords_type: theme
fees: None
accessconstraints: None
terms_of_service: https://creativecommons.org/licenses/by/4.0
url: https://example.org
license:
name: CC-BY 4.0 license
url: https://creativecommons.org/licenses/by/4.0
provider:
name: Organization Name
url: https://pycsw.org
contact:
name: Lastname, Firstname
position: Position Title
address: Mailing Address
city: City
stateorprovince: Administrative Area
postalcode: Zip or Postal Code
country: Country
phone: +xx-xxx-xxx-xxxx
fax: +xx-xxx-xxx-xxxx
email: [email protected]
url: Contact URL
hours: Mo-Fr 08:00-17:00
instructions: During hours of service. Off on weekends.
role: pointOfContact

inspire:
enabled: true
languages_supported:
- eng
- gre
default_language: eng
date: YYYY-MM-DD
gemet_keywords:
- Utility and governmental services
conformity_service: notEvaluated
contact_name: Organization Name
contact_email=Email Address
temp_extent=YYYY-MM-DD/YYYY-MM-DD


repository:
# sqlite
database: sqlite:////var/www/pycsw/tests/functionaltests/suites/cite/data/cite.db
# postgres
#database: postgresql://username:password@localhost/pycsw
# mysql
#database: mysql://username:password@localhost/pycsw?charset=utf8
#mappings: path/to/mappings.py
table: records
#filter: type = 'http://purl.org/dc/dcmitype/Dataset'
#max_retries: 5
facets:
- type
- title
2 changes: 1 addition & 1 deletion docker/compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ services:
ports:
- 8000:8000
volumes:
- ./pycsw.cfg:/etc/pycsw/pycsw.cfg
- ./pycsw.yml:/etc/pycsw/pycsw.yml


volumes:
Expand Down
102 changes: 0 additions & 102 deletions docker/compose/pycsw.cfg

This file was deleted.

Loading
Loading