Taddes f8715d4e91
Some checks are pending
Glean probe-scraper / glean-probe-scraper (push) Waiting to run
feat: use poetry for dependency management (#1706)
feat: use poetry for dependency management
2025-07-28 21:48:46 -04:00

1.9 KiB

Summary of Files in tools/Tokenserver

File Name Description
add_node.py Adds new node to the tokenserver's database, registering it for user allocation.
allocate_user.py Script to allocate a specific user to a node.
conftest.py Pytest configuration and fixtures for shared test setup.
count_users.py Script to emit total-user-count metrics for exec dashboard.
database.py Shared database utility queries and functions used by multiple scripts.
process_account_events.py Script to process account-related events from an SQS queue.
purge_old_records.py Script to purge user records that have been replaced.
pytest.ini Configuration file for pytest, specifying options like test output format.
remove_node.py Script to remove a node from the system.
test_database.py Unit tests for database.py.
test_process_account_events.py Tests for process_account_events.py, ensuring correct behavior for event handling.
test_purge_old_records.py Tests for purge_old_records.py, validating cleanup operations.
test_scripts.py Testing module to test the various scripts in this directory.
unassign_node.py Removes a node from the system and clears any assignments to the named node.
update_node.py Script to update node status in the db.