-
-
Notifications
You must be signed in to change notification settings - Fork 489
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
CSW / Configuration of the capabilities is now done using a service metadata record #4390
CSW / Configuration of the capabilities is now done using a service metadata record #4390
Conversation
…etadata record / Add warning in case of error. Language config is made in the record, not from the db.
…etadata record / Add warning in case of error. Multilingual support.
…etadata record / Add warning in case of error. ISO19139 support and language.
…etadata record / Add warning in case of error. Displaye service title.
@jahow we discussed (not sure when & where but not so long ago) the need to display a description of the catalogue in the home page and I think one of the option was to use the |
…etadata record / Add warning in case of error. Portal CSW.
@@ -1,2 +1,6 @@ | |||
DELETE FROM cswservercapabilitiesinfo; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be dropped the table and removed the related domain/persistence objects?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Waiting for @jahow to see if that table is used somewhere or not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works fine.
Let's wait 1-2 days for @jahow feedback about the CswCapabilitiesInfo
, otherwise can be merged and manage the removal of CswCapabilitiesInfo
in another PR:
Sorry for not giving feedback sooner, you were right to get rid of this! we ended up not using it. Thanks |
…etadata record (#4390) * CSW / Configuration of the capabilities is now done using a service metadata record. * CSW / Configuration of the capabilities is now done using a service metadata record. * CSW / Configuration of the capabilities is now done using a service metadata record / Add warning in case of error. Language config is made in the record, not from the db. * CSW / Configuration of the capabilities is now done using a service metadata record / Add warning in case of error. Multilingual support. * CSW / Configuration of the capabilities is now done using a service metadata record / Add warning in case of error. ISO19139 support and language. * CSW / Configuration of the capabilities is now done using a service metadata record / Add warning in case of error. Displaye service title. * Cleaning. * CSW / Configuration of the capabilities is now done using a service metadata record / Add warning in case of error. Portal CSW. * Replace id by uuid.
Relates to geonetwork#4390 which makes the CSW GetCapabilities configuration now done in a service metadata record. The CswCapabilitiesInfo was unused. So removing it. Replace that table by a translations table which can contains a list of translations that can be manage through the API. In a number of situation, catalogue administrator wants to update client application translation. This will be even more true in version 4 where you can for example configure facet from the admin. When adding a facet, corresponding labels will have to be added for the client side to render properly labels. Those translations can be stored in this table and the client side will load them. It could also be used to overrides some default translation if this is something to support.
Relates to geonetwork#4390 which makes the CSW GetCapabilities configuration now done in a service metadata record. The CswCapabilitiesInfo was unused. So removing it. Replace that table by a translations table which can contains a list of translations that can be manage through the API. In a number of situation, catalogue administrator wants to update client application translation. This will be even more true in version 4 where you can for example configure facet from the admin. When adding a facet, corresponding labels will have to be added for the client side to render properly labels. Those translations can be stored in this table and the client side will load them. It could also be used to overrides some default translation if this is something to support.
* DB / Replacing unused CswCapabilitiesInfo by Translations Relates to #4390 which makes the CSW GetCapabilities configuration now done in a service metadata record. The CswCapabilitiesInfo was unused. So removing it. Replace that table by a translations table which can contains a list of translations that can be manage through the API. In a number of situation, catalogue administrator wants to update client application translation. This will be even more true in version 4 where you can for example configure facet from the admin. When adding a facet, corresponding labels will have to be added for the client side to render properly labels. Those translations can be stored in this table and the client side will load them. It could also be used to overrides some default translation if this is something to support. * DB / Replacing unused CswCapabilitiesInfo by Translations. Update cleanup script for test. * DB / Replacing unused CswCapabilitiesInfo by Translations. Test. * DB / Replacing unused CswCapabilitiesInfo by Translations. OpenApi.
…etadata record (geonetwork#4390) * CSW / Configuration of the capabilities is now done using a service metadata record. * CSW / Configuration of the capabilities is now done using a service metadata record. * CSW / Configuration of the capabilities is now done using a service metadata record / Add warning in case of error. Language config is made in the record, not from the db. * CSW / Configuration of the capabilities is now done using a service metadata record / Add warning in case of error. Multilingual support. * CSW / Configuration of the capabilities is now done using a service metadata record / Add warning in case of error. ISO19139 support and language. * CSW / Configuration of the capabilities is now done using a service metadata record / Add warning in case of error. Displaye service title. * Cleaning. * CSW / Configuration of the capabilities is now done using a service metadata record / Add warning in case of error. Portal CSW. * Replace id by uuid.
I've created such a file I attached below. |
You've to create a service metadata record (https://geonetwork-opensource.org/manuals/trunk/en/administrator-guide/configuring-the-catalog/csw-configuration.html?#service-metadata-record) not a contact. |
Now I'm able to create metadata standard from Admin console -> Metadata and templates and fill some of fileds of point of contact and get proper response from this request http://localhost:8080/geonetwork/srv/eng/csw?request=GetCapabilities&service=CSW&acceptVersions=2.0.2&acceptFormats=application%2Fxml |
Is it possible to make a request from http://localhost:8080/geonetwork/doc/api/index.html and fullfill point of contact fields via cURL? |
"Choose the record to be used to build custom GetCapabilities document. If none exist, create a service metadata record (using ISO19139 or 19115-3 standards). To have a capabilities document with the main information required, set title, abstract, point of contact, keywords, constraints. If you need INSPIRE support also set properly the record main language and additional languages, INSPIRE themes and INSPIRE conformity." eg. You don't have to change anything in the source code. |
Main goal here is to :
This will encourage users to make a service metadata record describing the CSW endpoint (which is a good practice and is mandatory from an INSPIRE point of view).
Documentation: https://github.com/geonetwork/doc/blob/5b3743117d74856f4a8f7ab2b4f39048603b4a13/source/administrator-guide/configuring-the-catalog/csw-configuration.rst