Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.05 KB

File metadata and controls

30 lines (20 loc) · 1.05 KB

Sync console

This is a console application that allows you to start the synchronization process for different sources.

Usage

To start the synchronization process, run the following command:

npm run nest:start:console sync run <target>

Where <target> is the name of the system you want to start the synchronization for. The currently available systems are:

  • tsp - Synchronize Thüringer schulportal.
  • vidis - Synchronize Vidis Activation Data.
  • media_metadata - Synchronize media metadata in ctl tools in SVS with data from its media source.

If the target is not provided, the synchronization will not start and the available targets will be displayed in an error message.

{
    message: 'Either synchronization is not activated or the target entered is invalid',  
    data: { enteredTarget: 'tsp', availableTargets: { TSP: 'tsp', VIDIS: 'vidis', MEDIA_METADTA: 'media_metadata' }}
}

TSP synchronization

The TSP synchronization is controlled with a feature flag FEATURE_TSP_SYNC_ENABLED. This is now set to false.