
Topic 12, Trey Research IncBackground
Trey Research Inc. is a software as a service (SaaS) company that provides solutions to the legal industry including a mobile app named Finder. The company supports users globally.
Case Files
Case files are documents about legal proceedings, such as, trial transcripts, legal research, and summaries of trail results. Case files are used to capture trial information for future use.
Before starting a trial, a new case file is created. Researchers link other potentially relevant case files to the new case file.
During a trial, users create transcripts and notes related to the trial. Users may create documents on a variety of platform including Linux. Mac, OS, and Window. The files may be created n a variety of formats including Microsoft Word documents, images, and text files.
All documents are uploaded to a file share. Once document are uploaded, the system imports the documents as case files.
When a trial is concluded, the case file for that trial is marked as finished and made available as research for future trials. During this process, all licensed case files are removed from case file association.
Finder
Lawyer use Finder to search for and view information and documents that relate to a case.
The interface include an auto complete text box where users can enter search terms.
Searches must be performed using combination of characters in the search input.
Transcripts and Notes
The transcript and notes created during a trial are uploaded from machines that do not have consistent Internet connections. Documents may be uploaded multiple times with different file names. This action must not result in multiple case files being generated. The processing of uploaded documents must be started by an Azure function.
Security:
When a Service Fabric Actor is activated the information about the activation must be stored in Cosmos DB.
Users of the system will authenticate using their organization's Active Directory. When a user is removed from an organization's Active Directory, their access to the IntelligentAssist product must be revoked as soon as possible.
Application Structure
Casefile.cs
Relevant portions of the app files are shown below. Line numbers, in the code segments are included for reference only and include a two character prefix that denotes, the specific file to which they belong.

Mainpage.cs
Relevant portions of the app files are shown below. Line numbers, in the code segments are included for reference only and include a two character prefix that denotes, the specific file to which they belong.

CaseFileController.cs
Relevant portions of the app files are shown below. Line numbers, in the code segments are included for reference only and include a two character prefix that denotes, the specific file to which they belong.

ActorProgram.cs
Relevant portions of the app files are shown below. Line numbers, in the code segments are included for reference only and include a two character prefix that denotes, the specific file to which they belong.

CaseFileActor.cs
Relevant portions of the app files are shown below. Line numbers, in the code segments are included for reference only and include a two character prefix that denotes, the specific file to which they belong.



CaseFileSwagger.Json
Relevant portions of the app files are shown below. Line numbers, in the code segments are included for reference only and include a two character prefix that denotes, the specific file to which they belong.

