Startup Verification

Application to verify the state of the DLM Directory Watcher, intended for startup.

This application will generate a directory with a single file in it. This directory will be placed in the directory watchers “watch” directory.

The directory will be left there for a period of seconds and then be deleted.

At this point the DLM Request API is used to see if the just added (hopefully) data item is in the DLM database.

A failed or passed message is logged based on the response.

class ska_dlm_client.startup_verification.main.StartupVerification(directory_to_watch, storage_name, request_url)

Class to perform the startup verification.

__init__(directory_to_watch, storage_name, request_url)

Initialize the StartupVerification class.

__weakref__

list of weak references to the object (if defined)

verify_registration()

Verify the data item was added by querying the DLM.

Return type:

bool

ska_dlm_client.startup_verification.main.main()

Run main in its own function.