Author: Anthony Nicholas
Date: 25 February 2021
Version: 1.0
This Application provides command line search of the contents of three json files: tickets.json and users.json and organization.json. The user is able to search each of these entities using any of the fields contained in thes json files. Where the data exists, values from any related entities are included in the results.
The Application has been built with Python using the following components:
Python version 3.8
Packages listed in requirements.txt - which should be installed following the steps below:
python3 -m venv .searchCLIenv
source .searchCLIenv/bin/activate
pip3 install -r requirements.txt
Run the project by navigating to the searchCLI directory and running:
python3 main.py
To run the tests, navigate to the searchCLI directory and run:
pytest -v
When returning assocated data, I have assumed the relationship between users and tickets is via the submitter_id field on the ticket only. I assume that the assignee_id field is related to staff, not users.