Stream: hapi
Topic: Pointcut invokation
Sarah G (Sep 17 2021 at 21:18):
Hi,
Is there a way to invoke SERVER_CAPABILITY_STATEMENT_GENERATED Pointcut for EVERY client request to the /metadata
endpoint?
Thanks
Patrick Werner (Sep 20 2021 at 08:43):
Yes, but you have to use Pointcut.SERVER_INCOMING_REQUEST_PRE_PROCESSED, and check the path for metadata
Sarah G (Sep 20 2021 at 14:50):
Thank you for your response. The documentation on "SERVER_CAPABILITY_STATEMENT_GENERATED Pointcut" says:
"This pointcut will not necessarily be invoked for every client request to the /metadata
endpoint.
If caching of the generated CapabilityStatement is enabled, a new CapabilityStatement will be
generated periodically and this pointcut will be invoked at that time."
So I was wondering if there's a configuration to disable caching to force CapabilityStatement to be regenerated on every /metadat request.
Last updated: Apr 12 2022 at 19:14 UTC