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

Bump commons-net:commons-net from 3.9.0 to 3.11.1 #262

Open
wants to merge 40 commits into
base: geocat_v4.2.3_report_custom_gracefull
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 11, 2024

Bumps commons-net:commons-net from 3.9.0 to 3.11.1.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

cmangeat and others added 30 commits May 23, 2024 14:28
fix Rumantsch translation in editor
links -> liens
…testing testing too long

up sql socket connection timeout to 10 s.
House keeping GeonetTestFixture and relevant Integration tests cleanup aroud SpringLocalServiceInvoker
* geocat.ch / INSPIRE conformity / Remove enumration extension

iso19139.che extend topic category enumeration and conversion to
ISO19139 does not remove them. Produced XML is invalid with the
following:

```
XML document 'file.xml', record '8698bf0b-fceb-4f0f-989b-111e7c4af0a4': 'Validation failed: 752:87: cvc-enumeration-valid: Value 'planningCadastre_Planning' is not facet-valid with respect to enumeration '[farming, biota, boundaries, climatologyMeteorologyAtmosphere, economy, elevation, environment, geoscientificInformation, health, imageryBaseMapsEarthCover, intelligenceMilitary, inlandWaters, location, oceans, planningCadastre, society, structure, transportation, utilitiesCommunication]'. It must be a value from the enumeration.'.
```

Proposal: Remove all extended values.

* geocat.ch / INSPIRE / Support nilReason in boolean geonetwork/core-geonetwork@9755269.

* geocat.ch / INSPIRE / Backport of geonetwork/core-geonetwork#6617.

* geocat.ch / INSPIRE / ISO19139 conversion / Better conversion of multilingual URLs.

* geocat.ch / INSPIRE / Configure which INSPIRE test suite to run.

* geocat.ch / INSPIRE / Process to improve conformity.

* geocat.ch / INSPIRE / Process to improve conformity.

* geocat.ch / INSPIRE / Configure ETF CC for services. Increase checks in case of slow validation.

* geocat.ch / INSPIRE themes / Migration from Eionet URI to INSPIRE registry.

* geocat.ch / INSPIRE / Improve conformity / Topic category mapping, distributorFormat.

* geocat.ch / INSPIRE conformity / SDS category encoded as Anchor. Backport geonetwork/core-geonetwork#6664. Conformance editing with 3 states conform/not/unknown.

* geocat.ch / INSPIRE conformity tests.

* geocat.ch / INSPIRE / Add thesaurus required for conformity.

* geocat.ch / INSPIRE themes / Migration from Eionet URI to INSPIRE registry.

---------

Co-authored-by: Francois Prunayre <[email protected]>
…d given an xlink

since cache is incompatible with languages
* API / CSV export / Add support for custom export.

Current CSV export is based on XSL transformations and can be hard to use when user is interested in element with multiple values (eg. online source, contacts).

Default CSV export remains the same but add the possibility to customize the export with 2 additional parameters to create custom export:

* `loopElementXpath`: element to loop on eg. use
`.` for the metadata
`.//gmd:CI_ResponsibleParty` for all contacts in ISO19139,
`.//gmd:transferOptions/*/gmd:onLine/*` for all online resources in ISO19139.

* `propertiesXpath`: columns to extract eg.
`gmd:identificationInfo/*/gmd:citation/*/gmd:title//text()` for the title.

Also add parameters for defining separators:
* `sep` for column separator
* `internalSep` when multiple values are stored in a field

User can then build custom reports from the API:

eg. Export Contact with role,org,email
http://localhost:8080/srv/api/records/csv?bucket=s101&loopElementXpath=.//gmd:CI_ResponsibleParty&propertiesXpath=gmd:role/*/@codeListValue&propertiesXpath=gmd:organisationName/*/text()&propertiesXpath=.//gmd:electronicMailAddress/*/text()

eg. Export Online source with protocol,url,name,desc
http://localhost:8080/srv/api/records/csv?bucket=s101&loopElementXpath=.//gmd:transferOptions/*/gmd:onLine/*&propertiesXpath=gmd:protocol/*/text()&propertiesXpath=gmd:linkage/*/text()&propertiesXpath=gmd:name/*/text()&propertiesXpath=gmd:description/*/text()

eg. Export Metadata with title,alternateTitle,status,maintenanceFreq,...
http://localhost:8080/srv/api/records/csv?bucket=s101&loopElementXpath=.&propertiesXpath=gmd:identificationInfo/*/gmd:citation/*/gmd:title//text()&propertiesXpath=gmd:identificationInfo/*/gmd:citation/*/gmd:alternateTitle//text()&propertiesXpath=gmd:identificationInfo/*/gmd:status/*/@codeListValue&propertiesXpath=gmd:identificationInfo/*//gmd:maintenanceAndUpdateFrequency/*/@codeListValue&propertiesXpath=gmd:identificationInfo/*//gmd:otherConstraints//text()&propertiesXpath=gmd:identificationInfo/*/gmd:topicCategory//text()&propertiesXpath=gmd:identificationInfo/*/gmd:language/*/@codeListValue&propertiesXpath=gmd:identificationInfo/*/gmd:graphicOverview/*/gmd:fileName/*/text()

Functions from XPath v1 can also be used eg. `count`
http://localhost:8080/srv/api/records/csv?bucket=s101&loopElementXpath=.&propertiesXpath=count(gmd:identificationInfo/*/gmd:descriptiveKeywords)

For all exports 2 columns are added first:
* UUID
* permalink

When using XPath, it is recommended to export records in same schema (or at least same base schema). If not, then XPath error messages are returned in cells unless XPath provided do not require namespaces. Users have to configure a proper selection to avoid mixing schema.

* Sonarlint.

* API / CSV export / Add support for custom export / Resolve XLinks if enabled.
sebr72 and others added 10 commits May 23, 2024 18:04
…ng metadata from db. This needs to be reported in GN.
…bsent from DB (#252)

* add maintenance entry point

* list datadir dir at metadata level

* Log orphanedDataPath into a File

* stream of strings to log at the end

* 'improve' logs outputs

* delete files

* Code cleanup

* Add new Counter for not deleted path, and refactoring

* polish

---------

Co-authored-by: christophe mangeat <[email protected]>
Sonarcloud analyzer now requires at least Java 17.
Currently HTML head description is set to an empty value. Google is
indexing the cookie warning in GeoNetwork case when no HTML head is found (probably because it is the first HTML text content found).

Use the service metadata configured for the main node (see admin >
settings > record to use for GetCapabilities) and same for portal.

If no service metadata record configured, default title and description
to node name (or site name for the main portal).

Follow up of:
* geonetwork/core-geonetwork@611be2a
* geonetwork/core-geonetwork#4758
… in production

switch google analytics 4 to google tag manager
…cing it

rely on metadataIndexer.batchIndexInThreadPool for async indexing
test threadPoolIndexation starts for expected md
throw exception when updating a subtemplate too resource hungry (too many md to index, i.e. more than 10000)
Bumps commons-net:commons-net from 3.9.0 to 3.11.1.

---
updated-dependencies:
- dependency-name: commons-net:commons-net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Jun 11, 2024
@cmangeat cmangeat force-pushed the geocat_v4.2.3_report_custom_gracefull branch from d5bee21 to 1109b06 Compare October 9, 2024 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants