This repository has been archived by the owner on May 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor the SP metadata loading logic.
The SP metadata get loaded once at the start from all sources to index the entities ids and where the come from. Upon every request from an SP, the metadata of that SP gets reloaded from the last known source: if it's not there anymore the server tries to look in all known sources again. Protip! Using: ``` metadata: local: - conf/*.xml ``` Allows to drop config files to the directory at runtime and have their configuration picked up without restarting the server. Other goodies: * Invalid SP metadata are logged and discarded, but no longer prevent the rest of metadata from loading. (Fix #210) * Duplicate entityIds are discarded with precedence given to local sources (local > db > remote) (Fix #205). * Display the source of the SP metadata in the UI
- Loading branch information
Showing
6 changed files
with
251 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.