kalxas on fix-url
kalxas on master
fix URL settings Merge pull request #694 from ge… (compare)
tomkralidis on fix-url
fix URL settings (compare)
postgresql.confexposed as volume - with the instruction suggested by pgtune -- @tomkralidis thank you so much for the tips!
transaction enabled already allows to delete a record, right? so I don't see any extra risk in enablig reindexing/cacooum/analyze - as long as it is restricted to certain IP. in my use case thereserved IP will be frm inside a vpn, so I consider it enogh safe
Good points, then the question becomes do CSW-T operations have the same security level/concept?
In a pure DB security sense, i.e. if one allows transactions (insert/update/delete) to a database to a given user, should it also allow that same user role the ability to vacuum/reindex?
I am using (pseudo code) to index, the following:
headers = CaseInsensitiveDict() headers["Content-Type"] = "application/xml" headers["Accept"] = "application/xml" header = """<?xml version="1.0" encoding="UTF-8"?><csw:Transaction xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" xmlns:ows="http://www.opengis.net/ows" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/cat/csw/2.0.2 http://schemas.opengis.net/csw/2.0.2/CSW-publication.xsd" service="CSW" version="2.0.2"><csw:Insert>""" footer = """</csw:Insert></csw:Transaction>""" xml_as_string = header + xml_as_string + footer requests.post(url, headers=headers, data=xml_as_string.encode("utf-8"))
How can I pass the equivalent of
-y flag from
pycsw_admin.py ? so to overwrite a record with same ID - at the moment I get
ERROR: duplicate key value violates unique constraint "records_pkey"
HI, I recently built QGIS frm src and noticed I can't load my CSW endpoints (it works with the default endpoints from the QGIS src)
thew error I got is:
Unknown Error: 'Authentication' object has no attribute '_auth_delegate'
thew endpoint https://testing.csw.met.no/
attemting to access the swagger API:
Errors Hide Fetch errorFailed to fetch http://testing.csw.met.no/openapi?f=json Fetch errorPossible mixed-content issue? The page was loaded over https:// but a http:// URL was specified. Check that you are not attempting to load mixed content.
File "/home/pycsw/pycsw/pycsw/core/log.py", line 71, in setup_logger raise RuntimeError( RuntimeError: Invalid server configuration (server.loglevel set, but server.logfile missing).