Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Here are a few examples of tools that have been developed to enable certain maintenance tasks

Mojo: ComputeDefaultPreferredNameMojo.java (in admin/mojo/src/main/resources/java/org/ihtsdo/otf/mapping/mojo)

Project: admin/loader

Configuration Parameters

  • A profile of "DefaultPreferredNames" must be used
  • run.config - the standard configuration file specified as a -D parameter
  • terminology - The terminology to compute preferred names for.

  • terminologyVersion - the terminology version to compute preferred names for.

  • The tool is set up to only work properly for SNOMEDCT and would need to be reconfigured/rewritten to support other terminologies.


MojoCreateMapAdministratorMojo.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)

Project: admin/remover

Configuration Parameters

...

  • run.config - the standard configuration file specified as a -D parameter
  • terminology -  the terminology to remove tree positions for specified as a -D parameter

 

...

Mojo: WorkflowFinishSpecialistEditingMojo.java (in admin/mojo/src/main/resources/java/org/ihtsdo/otf/mapping/mojo)

Project: admin/qa

Configuration Parameters

...

refset.id - The refset id of the map project to process specified as a -D parameter.\

...

  • n/a