OpenConext / OpenConext-manage

Stores and publishes metadata of all entities known to OpenConext
Apache License 2.0
7 stars 10 forks source link

Make PDP backend optional #419

Closed phavekes closed 2 hours ago

phavekes commented 2 hours ago

This issue is imported from pivotal - Originaly created at Aug 26, 2024 by Bart Geesink

The PDP backend has been introduced recently. It is mandatory to configure, and the push will always push to the PDP backend. In some installations the PDP backend is not used at all. In that case it would be nice to make the configuration of the PDP backend (including the datasource) completely optional.

phavekes commented 2 hours ago

it is still necessary to configure a working database connection for pdp. (Bart Geesink - Aug 27, 2024)

phavekes commented 2 hours ago

Yes it is, but when the connection fails then a stack-trace is displayed, but the app does start up. Pending on the reaction of KennisNet we decide if this is acceptable. Other workaround is to use a dummy file based database or introduce a new DB resource pool, that does not complain. (Okke Harsta - Aug 29, 2024)