User Tools
Writing /app/www/public/data/meta/ems/remote_discovery_scripts.meta failed
ems:remote_discovery_scripts
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| ems:remote_discovery_scripts [2020/06/19 13:01] – ehearne | ems:remote_discovery_scripts [2021/06/25 10:09] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Remote Discovery Scripts ====== | ||
| + | Author: Eoin Joy\\ \\ | ||
| + | Lots of functionality in the EMS is achieved with the use of runtime configurable groovy scripts, which are stored in the domain of RemoteDiscoveryScript.\\ | ||
| + | These scripts are run as groovy shells and are passed in various bindings determined by where in concrete code they are executed.\\ \\ | ||
| + | |||
| + | There are many different types of RemoteDiscoveryScript, | ||
| + | |||
| + | * [[ems: | ||
| + | * [[ems: | ||
| + | * [[ems: | ||
| + | * [[ems: | ||
| + | * [[ems: | ||
| + | * [[ems: | ||
| + | * [[ems: | ||
| + | * [[ems: | ||
| + | * [[ems: | ||
| + | * [[ems: | ||
| + | * [[ems: | ||
| + | * [[ems: | ||
| + | |||
| + | The RemoteDiscoveryScript domain stores the text of the script, a secondary script used to determine test data, and a tertiary unused script, as well as what the return type of the script should be.\\ | ||
| + | The text of the script is encrypted both in the database and when stored to the filesystem in the directory determined in Configuration.remoteDiscoveryScriptDir.\\ | ||
| + | This file storage is currently solely used as a backup, and cannot be read from by the application to update its scripts.\\ \\ | ||
| + | |||
| + | All RemoteDiscoveryScripts can be tested in the UI on the edit page of the RemoteDiscoveryScriptController, | ||