6.1.5
Utility Services
Several features of plugins are only available by utilizing bundled services. These include:
- Accessing the individual datastore (see 6.2.7 Individual Datastore).
- Reporting state data to Moab HPC Suite through the Resource Manager interface (see 6.2.9 Reporting State Data).
- Manipulating other plugins and controlling their lifecycle (see 6.2.10 Controlling Lifecycle).
- Accessing REST resources from MWS (6.2.11 Accessing MWS REST Resources).
It may also be necessary or desired to create additional utility services when creating new plugin types. The easiest way to do this is to create a utility service that is called by convention a translator (see 6.2.16.B Using Translators), because it can typically 'translate' from a specific resource or API to data that can be used by the plugin type.
Finally, custom components (see 6.2.16.C Registering Custom Components) can be used to fulfill use cases not covered by bundled services or custom translators.
Related Topics