pyicat_plus.tests.fixtures.icat#

Functions

activemq_rest_server()

One of the ICAT backends (for queue monitoring)

assert_no_messages(messages)

cleanup_backend(icat_data_dir)

elogbook_client(session_elogbook_client, ...)

Client to publish e-logbook messages and a queue that receives everything the ICAT backend receives.

elogbook_ebs_client(...)

Client to publish e-logbook messages and a queue that receives everything the ICAT backend receives.

icat_add_files_client(stomp_server, ...)

Client to add missing files and a queue that receives everything the ICAT backend receives.

icat_archive_client(stomp_server, ...)

Client to update dataset archive/restore status and a queue that receives everything the ICAT backend receives.

icat_backend(stomp_server, ...)

Starts all icat backends

icat_data_dir(tmpdir_factory)

Directory where the ICAT dataset backend icat_subscriber can store state.

icat_logbook_subscriber(...)

Receive messages from the icatplus_server backend

icat_main_client(icat_backend, ...)

Client to update dataset archive/restore status and a queue that receives everything the ICAT backend receives.

icat_metadata_client(stomp_server, ...)

Client to publish ICAT metadata and a queue that receives everything the ICAT backend receives.

icat_publisher(session_icat_publisher, ...)

Sends messages to the /queue/icatIngest queue of stomp_server

icat_subscriber(stomp_server, icat_data_dir)

icat_subscriber_add_files(stomp_server, ...)

icat_subscriber_archive(stomp_server, ...)

icat_subscriber_update_metadata(...)

icat_update_metadata_client(stomp_server, ...)

Client to update dataset sample and a queue that receives everything the ICAT backend receives.

icatplus_server(icat_subscriber, icat_data_dir)

ICAT backend for the e-logbook and dataset queries.

session_elogbook_client(icatplus_server)

Client to publish e-logbook messages and a queue that receives everything the ICAT backend receives.

session_elogbook_ebs_client(icatplus_server)

Client to publish e-logbook messages and a queue that receives everything the ICAT backend receives.

session_icat_logbook_subscriber(icatplus_server)

Receive messages from the icatplus_server backend

session_icat_publisher(stomp_server)

Sends messages to the /queue/icatIngest queue of stomp_server

stomp_server()

One of the ICAT backends (for dataset metadata)