Skip to content

Conversation

@ianwallen
Copy link
Contributor

Add option to parse secondary properties names for (CmisMetadataUUIDPropertyName ExternalResourceManagementValidationStatusPropertyName) from a more human readable name

…ropertyName ExternalResourceManagementValidationStatusPropertyName) from a more human readable name
@jodygarnett
Copy link
Contributor

jodygarnett commented Dec 1, 2022

Function has a good description of what this PR is about:

On certain cmis system the secondary property name/id is a bunch of codes that get changed each time the application is deployed.
Example from Open Text CMIS - otCat:43102->otCat:43102:43102_5
This can cause issues for system that are re-deployed and the new codes need to be entered.
This function help convert a human-readable entry like
Catalogue->GeoNetwork Catalogue ID
to
otCat:43102->otCat:43102:43102_5
The parsing is done by using the property display name.

Note that using the display name means that it will stop on the next restart if the display name for the property is changed.
so care should be taken in changing the display names if using this option.

@ianwallen ianwallen added this to the 4.2.2 milestone Dec 1, 2022
@ianwallen ianwallen requested a review from josegar74 December 1, 2022 23:04
* otCat:43102->otCat:43102:43102_5
* The parsing is done by using the property display name.
*
* Note that using the display name means that it will stop on the next restart if the display name for the property is changed.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if there is documentation in the GeoNetwork manual for configuring CMIS, if so it would be nice to add this kind of information.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm guessing that it could go on this page?

https://github.com/geonetwork/doc/blob/fada79d9cb875e80de1441e48b609d08e0285a97/source/install-guide/customizing-data-directory.rst

I think we should also add a section for jcloud (old pr geonetwork/doc#133) and cmis for external storage section. I will try to revisit this in the new year.

…java

Co-authored-by: Jose García <josegar74@gmail.com>
@ianwallen ianwallen merged commit 94192df into geonetwork:main Dec 5, 2022
ianwallen added a commit that referenced this pull request Dec 5, 2022
…UUIDPropertyName ExternalResourceManagementValidationStatusPropertyName) from a more human readable name (#6687)
@ianwallen ianwallen deleted the cmis_secondary_properties_parse branch December 5, 2022 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants