clarin-eric / component-registry-rest

Component Registry back end
GNU General Public License v3.0
2 stars 1 forks source link

Make toolkit components (schema, stylesheet files) reloadable #60

Open twagoo opened 2 years ago

twagoo commented 2 years ago

Currently files are read on construction and never updated afterwards. If the toolkit updates, a restart of the application is required for the new version to be applied. There must be a manual trigger, and optionally also a schedule for reloading all XML stylesheet and schemas.

twagoo commented 2 years ago

Loading of component-to-schema stylesheet currently happens in the constructor of MDMarshaller

twagoo commented 2 years ago

One-time loading of the component schema happens in the getComponentSchema method of MDMarshaller