...
Here are a few examples of tools that have been developed to enable certain maintenance tasks
Mojo:
- CreateMapAdministratorMojo.java (in admin/mojo/src/main/resources/java/org/ihtsdo/otf/mapping/mojo)
Project: admin/loader
Configuration Parameters
- A profile of "CreateMapAdmin" must be used
- run.config - the standard configuration file specified as a -D parameter
map.user - the new admin user username
- This mojo creates a new user with the specified username and an ADMINISTRATOR application role
- It additionally creates an empty map project if there are no map projects yet (because the application requires at least one project to exist)
Mojo:
- MapAdviceRemoverMojo.java (in admin/mojo/src/main/resources/java/org/ihtsdo/otf/mapping/mojo)
...
- run.config - the standard configuration file specified as a -D parameter
refset.id - The refset id of the map project to process specified as a -D parameter.\
- This tool performs a complicated workflow cleanup operation for a map project and is a good example of the kind of ad-hoc (but still reusable) processing that can be developed in this way. See the class itself for details about what it does.
References/Links
- n/a