Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature branch Cafcass APIs #5494

Closed
wants to merge 22 commits into from
Closed

Commits on Jul 9, 2024

  1. DFPL-2427 POC controllers for FPL API gateway (#5481)

    * add dummy controller for API gateway POC
    
    * update CafcassCasesController for POC
    
    * update CafcassCasesController for POC
    
    * Update CafcassCasesController.java
    
    * Update CafcassCasesControllerTest.java
    
    * Update CafcassCasesController.java
    
    * add all endpoint for POC
    
    * remove unused import
    
    * Update CafcassCasesControllerTest.java
    
    * Update CafcassCasesController.java
    
    * Update CafcassCasesController.java
    
    * update CafcassCasesController
    chak-shing-lo-justice authored Jul 9, 2024
    Configuration menu
    Copy the full SHA
    c7111f2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    99bd7f2 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

  1. Configuration menu
    Copy the full SHA
    9dbfd58 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2024

  1. Configuration menu
    Copy the full SHA
    8ee8cec View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2024

  1. DFPL-1761 Build GET /searchCases endpoint (#5495)

    * add dummy controller for API gateway POC
    
    * update CafcassCasesController for POC
    
    * update CafcassCasesController for POC
    
    * Update CafcassCasesController.java
    
    * Update CafcassCasesControllerTest.java
    
    * Update CafcassCasesController.java
    
    * add all endpoint for POC
    
    * remove unused import
    
    * Update CafcassCasesControllerTest.java
    
    * Update CafcassCasesController.java
    
    * Update CafcassCasesController.java
    
    * update CafcassCasesController
    
    * DFPL-2449 Add interceptor and exception handling for Cafcass API (#5493)
    
    * Fix ES/logstash configuration in preview (#5488)
    
    * Copy adoption configuration to attempt to persist ES a bit more between pipeline runs
    
    * fix template variable in ES
    
    * fix template variable in ES
    
    * DFPL-2427 POC controllers for FPL API gateway (#5481)
    
    * add dummy controller for API gateway POC
    
    * update CafcassCasesController for POC
    
    * update CafcassCasesController for POC
    
    * Update CafcassCasesController.java
    
    * Update CafcassCasesControllerTest.java
    
    * Update CafcassCasesController.java
    
    * add all endpoint for POC
    
    * remove unused import
    
    * Update CafcassCasesControllerTest.java
    
    * Update CafcassCasesController.java
    
    * Update CafcassCasesController.java
    
    * update CafcassCasesController
    
    * add interceptor for verifying user role
    
    * add other exception
    
    * add unit test
    
    * fix check style
    
    ---------
    
    Co-authored-by: Daniel Catchpole <[email protected]>
    
    * fix unit test
    
    * implement es search
    
    * search case response object
    
    * response field child and other
    
    * remove converters chain
    
    * other application details
    
    * refactor to chain pattern
    
    * orders document and manage document
    
    * case documents
    
    * fix category
    
    * CafcassApiHelperTest and CafcassApiCaseServiceTest
    
    * applicantConverter test
    
    * CafcassApiChildrenConverterTest
    
    * refactor CafcassApiCaseDocumentsConverter to more FP style
    
    * Create CafcassApiFactorsParentingConverterTest.java
    
    * Create CafcassApiHearingDetailsConverterTest.java
    
    * add CafcassApiInternationalElementConverterTest
    
    * Create CafcassApiMetaDataConverterTest.java
    
    * Create CafcassApiOthersConverterTest.java
    
    * add CafcassApiPreviousProceedingsConverterTest
    
    * refactor and add CafcassApiRespondentsConverterTest
    
    * Create CafcassApiRisksConverterTest.java
    
    * add sdo and udo converter test
    
    * add draft oder converting test
    
    * refactor to service
    
    * original application test
    
    * add managed doc test
    
    * update controller test
    
    * fix style check
    
    * fix unit test
    
    * fix code check
    
    * rename to CafcassApiSearchCaseService
    
    * Update AmendOrderToDownloadPrePopulatorTest.java
    
    * Update CafcassApiInterceptor.java
    
    * use cafcass role until new role is set up
    
    * Update CafcassApiInterceptor.java
    
    * use object provider
    
    * remove comment
    
    ---------
    
    Co-authored-by: Daniel Catchpole <[email protected]>
    chak-shing-lo-justice and DanCatchpole authored Aug 1, 2024
    Configuration menu
    Copy the full SHA
    04f551e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    531a004 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    90b65d1 View commit details
    Browse the repository at this point in the history
  4. fix code style

    chak-shing-lo-justice committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    cdbcbe7 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2024

  1. Dfpl 1761 ES query fix (#5524)

    * update es search query
    
    * fix and update test
    
    * query close case as well
    
    * Update CafcassApiSearchCaseServiceTest.java
    chak-shing-lo-justice authored Aug 2, 2024
    Configuration menu
    Copy the full SHA
    50e3c3f View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2024

  1. DFPL 1760 (#5525)

    * document download endpoint
    
    * update user role crud
    
    * update use role
    
    * Update add-ccd-user-roles.sh
    
    * fix profile
    
    * Create CafcassApiDocumentServiceTest.java
    chak-shing-lo-justice authored Aug 8, 2024
    Configuration menu
    Copy the full SHA
    8d404e7 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2024

  1. Cafcass api fix conflict (#5538)

    * Async test verifications (fixing flaky async tests) (#5519)
    
    * fix running tests locally without the env vars
    
    * Add timeouts for async tests
    
    * DFPL-1269 Non-molestation order (FL404A) (#5455)
    
    * git dfpl1269
    
    * fix test
    
    * fix check style
    
    * fix manageOrdersRecitalsAndPreamblesOptional and add unit test
    
    * allow selecting appllicant and respondent
    
    * fix test
    
    * Update OrderTest.java
    
    * update notification
    
    * fix check style
    
    * fix code check
    
    * Update NotifyTemplates.java
    
    * Update NonMolestationOrderEventHandler.java
    
    * Upped timeout to 110 seconds (#5528)
    
    * Update statement of truth wording - DFPL-2458 (#5502)
    
    * Update statement of truth wording at case submission and on C1 and C110a applications.
    
    * Update wording for tests.
    
    * Update wording to be two separated statements
    
    * Update Welsh C110a template and update order of wording in statement of truth.
    
    * Remove sentence
    
    * Remove sentence in welsh
    
    ---------
    
    Co-authored-by: Qasim Nawaz <[email protected]>
    Co-authored-by: Qasim Nawaz <[email protected]>
    Co-authored-by: Braimah101 <[email protected]>
    
    * Rename CFV Category - Judgments/facts and reasons (#5530)
    
    * NightlyUiTestFix (#5536)
    
    * FixCaseFlagAPICaseCreationAssertion
    
    * FixGatekeepingJudgesSearchListAndShareCase
    
    * FixGatekeepingJudgesSearchListAndShareCase
    
    ---------
    
    Co-authored-by: Daniel Catchpole <[email protected]>
    Co-authored-by: gavinkeys <[email protected]>
    Co-authored-by: jamesrferguson1 <[email protected]>
    Co-authored-by: Qasim Nawaz <[email protected]>
    Co-authored-by: Qasim Nawaz <[email protected]>
    Co-authored-by: Braimah101 <[email protected]>
    Co-authored-by: prabhamuthu15 <[email protected]>
    8 people authored Aug 14, 2024
    Configuration menu
    Copy the full SHA
    d4b16fc View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. Configuration menu
    Copy the full SHA
    9c49c45 View commit details
    Browse the repository at this point in the history
  2. DFPL-1791: Add List for Guardian Report API call (#5531)

    * Async test verifications (fixing flaky async tests) (#5519)
    
    * fix running tests locally without the env vars
    
    * Add timeouts for async tests
    
    * DFPL-1269 Non-molestation order (FL404A) (#5455)
    
    * git dfpl1269
    
    * fix test
    
    * fix check style
    
    * fix manageOrdersRecitalsAndPreamblesOptional and add unit test
    
    * allow selecting appllicant and respondent
    
    * fix test
    
    * Update OrderTest.java
    
    * update notification
    
    * fix check style
    
    * fix code check
    
    * Update NotifyTemplates.java
    
    * Update NonMolestationOrderEventHandler.java
    
    * Upped timeout to 110 seconds (#5528)
    
    * Update statement of truth wording - DFPL-2458 (#5502)
    
    * Update statement of truth wording at case submission and on C1 and C110a applications.
    
    * Update wording for tests.
    
    * Update wording to be two separated statements
    
    * Update Welsh C110a template and update order of wording in statement of truth.
    
    * Remove sentence
    
    * Remove sentence in welsh
    
    ---------
    
    Co-authored-by: Qasim Nawaz <[email protected]>
    Co-authored-by: Qasim Nawaz <[email protected]>
    Co-authored-by: Braimah101 <[email protected]>
    
    * DFPL-1791: Add List for Position statement API call
    
    * add event and guardian report document json for manage docs flow/removal
    
    * add standard system update for testing
    
    * fix spelling error and test for managedocs
    
    * fix tests and exclude guardian report from manage docs flow outside removeable
    
    * checkstyle
    
    * hidden document test fix
    
    * checkstyle
    
    * Rename CFV Category - Judgments/facts and reasons (#5530)
    
    * NightlyUiTestFix (#5536)
    
    * FixCaseFlagAPICaseCreationAssertion
    
    * FixGatekeepingJudgesSearchListAndShareCase
    
    * FixGatekeepingJudgesSearchListAndShareCase
    
    * add correct field type param to guardianReportsList
    
    * remove cafcasssystemupdate for now
    
    * add to json categories for CFV
    
    * add permissions for new cafcass system update user
    
    * fix merge conflict issue
    
    * add extra permissions
    
    * fix perms
    
    ---------
    
    Co-authored-by: Daniel Catchpole <[email protected]>
    Co-authored-by: Chak Shing Lo <[email protected]>
    Co-authored-by: gavinkeys <[email protected]>
    Co-authored-by: jamesrferguson1 <[email protected]>
    Co-authored-by: Qasim Nawaz <[email protected]>
    Co-authored-by: Qasim Nawaz <[email protected]>
    Co-authored-by: Braimah101 <[email protected]>
    Co-authored-by: prabhamuthu15 <[email protected]>
    9 people authored Aug 19, 2024
    Configuration menu
    Copy the full SHA
    b6ea883 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2024

  1. Dfpl 1790 (#5541)

    * update ccd config
    
    * update event name
    
    * Update 6_CasePeople.json
    
    * grant access to cafcass system user
    
    * update field permission
    
    * update Guardian fields
    
    * fix ccd definition after resolving conflict
    chak-shing-lo-justice authored Aug 20, 2024
    Configuration menu
    Copy the full SHA
    17255c7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    680da71 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2024

  1. Configuration menu
    Copy the full SHA
    a958078 View commit details
    Browse the repository at this point in the history
  2. DFPL-1762 (#5540)

    * update ccd config
    
    * update event name
    
    * Update 6_CasePeople.json
    
    * add guardian logic
    
    * grant access to cafcass system user
    
    * update field permission
    
    * update Guardian fields
    
    * update validation
    
    * add validation
    
    * Update Guardian.java
    
    * UpdateGuardianContentProvider
    
    * Create UpdateGuardianNotifyData.java
    
    * add update guardian notification
    
    * fix ccd definition after resolving conflict
    
    * update controller test
    
    * fix code style
    
    * fix guardian
    
    * simplify checkIfAnyGuardianUpdated
    chak-shing-lo-justice authored Aug 21, 2024
    Configuration menu
    Copy the full SHA
    9caf2d6 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2024

  1. Configuration menu
    Copy the full SHA
    18b5f9f View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. Push Master changes to cafcass api feature branch (#5554)

    * DFPL-2517: Increase core pool size for async task executor (#5543)
    
    * Increase core pool size for async task executor
    
    * Fix check style
    
    * DFPL-2257: Add updated court seals (#5533)
    
    * Add updated court seals
    
    * Add updated court seals
    
    * Change seal to be Welsh rather than bilingual and update sealed document for tests.
    
    * Update docmosis to use new court seal imgages in rdo docmosis.
    
    * Fix test failures
    
    * Rename seal files to be consistent with their names in docmosis.
    
    * DFPL-2488: Use the correct court code + fix caseManagementLocation when transferring LAs (#5527)
    
    * DFPL-2488: Use the correct court code + fix caseManagementLocation when transferring LAs
    
    * checkstyle
    
    * introduce constants for test
    
    ---------
    
    Co-authored-by: Braimah101 <[email protected]>
    
    * Update UploadTranslationsSubmittedControllerTest.java (#5551)
    
    * DFPL-2325: Add 4 New Details Boxes for C43 (#5499)
    
    * DFPL-2325: Add 4 New Details Boxes for C43
    
    * add to order object through question block and fix generator test
    
    * add missing fields to test
    
    * add additional check
    
    * add to object so it persists through to the casedata for MI
    
    * fix persisting
    
    * fix generator test
    
    * checkstyle
    
    * fix scoped field test
    
    * change to append rather than concat
    
    * remove further directions
    
    * hide directions in child arrangement flow
    
    * fix test
    
    * remove very flakey test (for now)
    
    * unflakey
    
    ---------
    
    Co-authored-by: Braimah101 <[email protected]>
    
    * DFPL-2491: Migrate out of sync caseManagementLocation fields (#5553)
    
    * DFPL-2491: Fix caseManagementLocation after bug
    
    * correct migration ID
    
    * Add populate case - returned event (#5552)
    
    ---------
    
    Co-authored-by: jamesrferguson1 <[email protected]>
    Co-authored-by: Daniel Catchpole <[email protected]>
    Co-authored-by: Braimah101 <[email protected]>
    Co-authored-by: Chak Shing Lo <[email protected]>
    5 people authored Aug 28, 2024
    Configuration menu
    Copy the full SHA
    3515ecf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    35aa223 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d9f9dd8 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

  1. Configuration menu
    Copy the full SHA
    42ecb35 View commit details
    Browse the repository at this point in the history