Difference between revisions of "Refresh Caches Web Service"

From Fusion Registry Wiki
Jump to navigation Jump to search
(Examples)
 
Line 2: Line 2:
 
=Overview=
 
=Overview=
  
The Registry has a Web Service that when invoked will rebuild the caches in the Registry.  It is unlikely that you will need to invoke this Web Service as part of the normal running operation of the Registry, but the facility is here if required.
+
The Registry has a Web Service that when invoked will rebuild the caches in the Registry.  It is extremely unlikely that you will need to invoke this Web Service as part of the normal running operation of the Registry, but the facility is here if required.
  
 
This functionality was introduced in version 11.6.0 of Fusion Metadata Registry.
 
This functionality was introduced in version 11.6.0 of Fusion Metadata Registry.

Latest revision as of 23:21, 28 April 2024

Overview

The Registry has a Web Service that when invoked will rebuild the caches in the Registry. It is extremely unlikely that you will need to invoke this Web Service as part of the normal running operation of the Registry, but the facility is here if required.

This functionality was introduced in version 11.6.0 of Fusion Metadata Registry.

Refresh Web Service

Entry Point /ws/secure/admin/refresh
Access Secure
Http Method POST
Response Format JSON
Response Statuses

200 - Success

400 - Unauthorized

There is an optional parameter "rebuildSchema" which when specified and has the value "true" will also rebuild the database schema. This will only occur if the tables are not present for some reason.

Examples

Refresh the caches

https://example.registry.com/ws/secure/admin/refresh

Refresh the caches and request that the schemas are rebuilt.

https://example.registry.com/ws/secure/admin/refresh?rebuildSchema=true