Version 2.0.0
Released on : 15/11/2024
Operational version
Features
Dependencies updates
This new Regards version is mainly delivered to update all libraries used by Regards framework, microservices and plugins to their latest version. Here is a quick summary about main libraries versions used:
Library | Previously (<= v1.15 ) | 2.0.0 |
---|---|---|
spring-boot | 2.6.4 | 3.3.0 |
spring-cloud-dependencies | 2021.0.1 | 2023.0.2 |
hibernate | 6.0.0.Final | 6.3.2.Final |
swagger | 2.2.0 | 2.2.21 |
Elasticsearch | 7.17.1 | 7.17.22 |
To see the complete list of Java dependencies, see REGARDS bom
Docker images version updates
On Docker images, there is some changes:
Library | old version | new version |
---|---|---|
RabbitMQ | 3.8.34 | 3.11 |
Elasticsearch | 7.17.11 | 7.17.22 |
Grafana | 10.0.1 | 11.0.0 |
Click here see the complete list of Docker images version
Auto retry amqp message failure
The Regards AMQP starter framework is improved to :
- Allow retry for AMQP message batch when an unexpected error occurred.
- Invalid format message (deserialization issues) are not sent to DLQ anymore. Those messages are not valid, it is not useful to keep them.
Retry system is based on RabbitMQ plugin rabbitmq-delayed-message-exchange
If you do not use the RabbitMQ server provided by the REGARDS RabbitMQ image, ensure
the rabbitmq-delayed-message-exchange
is active
Starting with this version, auto retry is activated for some AMQP queues. Retry is enabled on:
rs-fem
microservice - creation/deletion/dissemination/update/notification requests queues.rs-notifier
microservice - notification requests queues.
Auto retry configuration (number of retries and delay before retries) is done with new inventory properties :
- rs-fem :
group_docker_mservices.fem.configuration.retry_delay_attempts
- rs-notifier :
group_docker_mservices.notifier.configuration.retry_delay_attempts
Create basket using text file
You can now fill a basket by uploading a text file containing provider ID on Order microservice.
See Fill basket from file guide for
further information.
Add filters to order files
Before placing an order you have the possibility to add selection criteria to the files of your order. See File filters for further information.
Deprecation
Authentication
Authentication endpoint /oauth/token
will not accept url query parameters
in further versions.
New way to retrieve an authentication token is to use body parameters of the POST
request instead.
When you send an authentification request to REGARDS, url query parameters
may be saved on the reverse
proxy with username and password! With POST
body parameters, the reverse proxy won't log these sensitive
information.
Breaking change
Deployment
You need to follow the Ansible migration guide to update your playbook from V1.15 to V2.0
REST API
No breaking changes.
Plugins
Notifier plugin : Dissemination ACK Sender
The Dissemination-ack-sender-plugin
can now handle dissemination ack from both OAIS and GeoJson catalogs.
To do so, the plugin configuration is modified from the previous version. You have to follow
the plugin configuration migration guide.
Bug fixes
- HMI
- Fixes fem-edit HMI plugin to allow feature updates from user HMI
- Fixes display of abstract HTML pages in entities description page from user HMI.
- Fixes a problem displaying the map for certain geometries
- Fixes a plugin configuration problem that was causing the web interface to crash
- Fixes display of STAC example urls in search protocols configuration section
- Fixes display of users last connection date in "Users" section of admin HMI.
- rs-fem :
- Fixes update of dissemination info for features when ack is required
- Fixes a problem where information could be lost during update requests
- Fixes a problem with unblocking delete requests waiting to be broadcast
- Fixes a possible issue during deletion jobs
- rs-admin :
- Fixes a problem during deletion of blocked account
- Fixes a problem sending emails associated with unread notifications when too many notifications are in the database
- rs-notifier :
- Fixes update microservice configuration when deployed with multiple instances.
- rs-catalog :
- Fixes search with special characters
- Fixes a pagination problem when the result contains more than 10000 results. This problem could cause duplicate entries to appear in search results
- Fixes a problem on search queries with a search criterion on a list of values for a given attribute that made Elasticsearch queries too long
- Multidownload plugin : Fixes a possible error when maximum number of downloadable files is reached
- rs-lta-manager :
- Fixes a problem with the formatting of product attributes when sending a submission request
- rs-storage :
- In reference storage requests, the service now checks that the checksum supplied is a valid checksum
- rs-dam :
- Fixes a problem where crawlers could be stuck in a Running state after a restart of the service
- rs-dataprovider :
- Fixes a problem with the configuration of acquisition chains, which meant that some invalid configurations could be accepted.
- regards-docker
- decrease jetty threadpool from 200 to 100 for most of the services
- set database min pool size same value as max pool size
- change Docker Swarm service update configuration to update all services together