Is there a way to add metadata without reloading all metadata?

Matthew Slowe matthew.slowe at jisc.ac.uk
Mon Dec 4 09:04:06 UTC 2023


On 04/12/2023 08:46, Noriyuki TAKEI wrote:
> I have a question about the reloadable service listed on the following page.
> https://shibboleth.atlassian.net/wiki/spaces/IDP5/pages/3199507931/ReloadableServices <https://shibboleth.atlassian.net/wiki/spaces/IDP5/pages/3199507931/ReloadableServices>
> 
> When I add metadata, all metadata is reloaded when I call the following 
> API to activate the metadata.
> GET 
> http(s)://[idp-base-url]/idp/profile/admin/reload-service?id=shibboleth.MetadataResolverService
> 
> Is there a way to add metadata without reloading all metadata?

If you can tolerate changing how your local metadata is stored on disk, 
you can use the LocalDynamicMetadataProvider 
(https://shibboleth.atlassian.net/wiki/spaces/IDP4/pages/1265631642/LocalDynamicMetadataProvider) 
which is a bit like "local MDQ".

You will need to put all the trusted metadata in individual files in a 
directory named as the sha1 of the entityid to which is relates.

Once you're there, small amounts of caching aside, you won't need to 
reload the MetadataResolverService to ingest new metadata, just drop the 
file in the directory.

-- 
Matthew Slowe [he/him] (GPG: 0x6BE0CF7D04600314)
Principal technical consultant and infrastructure specialist, Jisc
Team: 01235 822185
Lumen House, Library Avenue, Harwell Oxford, Didcot, OX11 0SG



More information about the users mailing list