- Added the new management GUI page Service Groups > Bulk change owner to change the owner of multiple Service Groups at once.
The affected Service Groups can be selected individually.
The page is only shown if at least two active users are present.
See #133. - Added the read-only mode for additional SMP instances that answer public queries on the backend of a writable SMP instance.
It is enabled with the new configuration propertysmp.readonlyand is supported for the SQL and the MongoDB backend.
In read-only mode the management GUI, all writing and all authenticated REST APIs (except the custom property GETs) are disabled, and the backend is never modified.
The SMP fails to start if the database schema is not up to date.
The status API contains the new itemsmp.read-only.
See [[Read-only mode]] and #592. - Added the new configuration property
smp.security.predefined.createto disable the creation of the predefined users, user groups and roles on startup.
This allows managing them externally only.
The default stays attrue.
See #593. - Cancelling an outbound participant migration now also removes the prepared migration from the SML, so that the migration key can no longer be used by the target SMP.
So far only the local migration record was marked as cancelled.
This applies to the Migrate to another SMP page and to the REST APIPUT /migration/outbound/cancel/{ServiceGroupId}.
Cancelling now requires an enabled SML connection, and if the SML call fails the migration stays in progress.
This requires DomiSML 5.1 or later - older versions reject the request, which is reported with a dedicated error message. - Updated to peppol-commons 13.3.0
- (SQL) Updated to ph-db 8.5.3, which reads a SQL
NULLCLOB value asnullinstead of an empty string.
See #591. - (SQL) Fixed storing empty values on Oracle, which stores an empty string as
NULL.
Creating an SML configuration with an empty URL suffix, and storing an Endpoint with an empty endpoint reference, service description, technical contact URL or certificate, failed with ORA-01400.
The new Flyway migration V39 makes these columns nullable on Oracle, and they are read back as empty strings on all databases.
On Oracle it also restores theNOT NULLconstraint ofsmp_service_metadata_red.redirectionUrlthat V19 dropped. - (SQL) Empty optional Endpoint values (minimum authentication level and technical information URL) are now stored as
NULLon all databases, so that the element is omitted from the response like on Oracle. - (SQL) Fixed "Update all Endpoint certificates" and sorting the Redirects by target URL on Oracle and DB2, which cannot use a CLOB column in
DISTINCTorORDER BY. - (SQL) Fixed storing an OASIS BDXR SMP v2 Endpoint without description, contact, address URI or certificate, which wrote
NULLintoNOT NULLcolumns. - (SQL) Updated to ph-oton 10.8.3, which fixes reading the audit items (e.g. on the Audit monitoring page) on Oracle and SQL Server.
- (SQL) A Business Entity whose names cannot be parsed is now really skipped when reading a Business Card, as the log message already said.
- Fixed OASIS BDXR SMP v2 Redirects, which have no certificate UID.
Creating one failed with the XML and MongoDB backend, and with the SQL backend it stored a Redirect that later failed to load.
ISMPRedirect.getSubjectUniqueIdentifier ()and the respective parameter ofISMPRedirectManager.createOrUpdateSMPRedirectare now nullable.
The Redirect certificate is now taken from the request instead of being ignored, and an invalid certificate is answered with HTTP 400.
What's Changed
Full Changelog: phoss-smp-parent-pom-8.7.1...phoss-smp-parent-pom-8.8.0