/
MB-2: Case Search Workflow Enhancement

Title: Enhance Case Search Workflow by Integrating CCIS PULL Service for Retrieving Case Data in Miami Benchmark

Description: This ticket involves enhancing the case search functionality in the Miami Benchmark Web application by integrating with the CCIS PULL Service to retrieve case data based on user input. 

User Story: As an external system using Miami Benchmark, I want to enter case search criteria and retrieve detailed case data, So that I can efficiently manage and process relevant case information.

Steps to Add/Edit/View Functional Flow:

  1. The user enters search criteria for example such as uniform case number, local case number, date ranges, or offense details in the case search interface.

  2. CCIS PULL Service Interaction:

    • The service wrapper handles the call to the Miami Benchmark endpoint [To be mentioned by Prabhjot].

    • The CCIS PULL Service retrieves the case data from the Miami Benchmark database based on the provided search criteria.

  3. Process & Return Results:

    • The retrieved case data is processed by the system.

    • The processed data is returned as a court case history object, containing relevant information about the matching cases.

Acceptance Criteria/Test Cases:

  1. Criterion 1: Correct Case Data Retrieval

    • Input valid search criteria (e.g., valid case number, date range).

    • The system should retrieve and display the correct case data.

  2. Criterion 2: Handle Missing or Invalid Search Criteria

    • Input missing or invalid search criteria.

    • The system should return an appropriate error message or warning (e.g., "Please enter valid search criteria").

Technical Requirements:

  • CCIS Contracts Library:

    • Utilize data models from the CCIS Contracts Library to standardize the exchange of search criteria and case data.

  • Miami Benchmark Endpoint:

    • Implement logic in the Miami Benchmark Case Class to handle calls to the Miami Benchmark endpoint, set search criteria, execute the search, and process the results.

  • Stored Procedures:

    • Use stored procedures for efficient data retrieval from the database.

  • Service Wrapper:

    • Service wrapper should send the search criteria and retrieve results from the Miami Benchmark endpoint.

Dependencies:

  • Use the WCF Test Client to test the WCF services related to case search, ensuring correct endpoint configuration and data retrieval.

  • The case search functionality depends on the proper configuration of the CCIS PULL Service and access to the relevant data.

  • The success of case data retrieval depends on the Miami Benchmark endpoint being reachable and functional.