Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GA-28 Update the common code such that it updates caseAccessGroups fi…
…eld (#2385) * GA-28 Update the common code such that it updates caseAccessGroups field * Tidying the code. * check style errors * changes to fix issues * GA-28 Update the common code such that it updates caseAccessGroups field * GA-28 Update the common code such that it updates caseAccessGroups field * GA-28 replace index idx_case_data_case_access_groups * unit test failure fix * fix for Invocation of init method failed; nested exception is org.flywaydb.core.api.FlywayException: Found more than one migration with version 20231120.0000 error * fix for ERROR: CREATE INDEX CONCURRENTLY cannot run inside a transaction block. Fix: https://stackoverflow.com/questions/29614429/flyway-migration-hangs-for-postgres-create-index-concurrently. * GA-28 ft changes * GA-28 ft changes * GA-28 ft changes * Id now has UUID * documentation. * Modified Unit test. * Added Unit test to increase coverage. Seperated SubmitCaseTransactionTest to SubmitCaseTransactionCaseAccessGroupTest * Added dataClassification code * testing dataClassification code * Integration test fix. * Pipeline gate error fix * Pipeline gate error fix. To reduce Cognitive Complexity. * Pipeline gate error fix. To reduce Cognitive Complexity. * Pipeline gate error fix. To reduce Cognitive Complexity. * GA-28 change test def version * GA-28 functional test amendments * Changes to cater for classification * GA-28 functional test amendments * GA-28 functional test amendments * GA-28 functional test amendments * Change to return CaseGroupIds if everything matches and CaseAccessGroups does not exist in the casedetails data. * GA-28 functional test amendments * fix json parser error * fixing classification to use fundtion getDefaultSecurityClassifications from CaseDataServcice * fixing classification to use fundtion getDefaultSecurityClassifications from CaseDataServcice * fixing classification to use fundtion getDefaultSecurityClassifications from CaseDataService * Tiding the code. * Review comments and changes to FT's * Review comments. * Review comments. * Refactored FT's against the correct AC's and fixed bug. * GA-28 Update the common code such that it updates caseAccessGroups field * GA-28 Update the common code such that it updates caseAccessGroups field * GA-28 Update the common code such that it updates caseAccessGroups field * Tidying the code. * check style errors * changes to fix issues * GA-28 replace index idx_case_data_case_access_groups * unit test failure fix * fix for Invocation of init method failed; nested exception is org.flywaydb.core.api.FlywayException: Found more than one migration with version 20231120.0000 error * fix for ERROR: CREATE INDEX CONCURRENTLY cannot run inside a transaction block. Fix: https://stackoverflow.com/questions/29614429/flyway-migration-hangs-for-postgres-create-index-concurrently. * Id now has UUID * GA-28 ft changes * GA-28 ft changes * GA-28 ft changes * documentation. * Modified Unit test. * Added Unit test to increase coverage. Seperated SubmitCaseTransactionTest to SubmitCaseTransactionCaseAccessGroupTest * Added dataClassification code * testing dataClassification code * Integration test fix. * Pipeline gate error fix * Pipeline gate error fix. To reduce Cognitive Complexity. * Pipeline gate error fix. To reduce Cognitive Complexity. * Pipeline gate error fix. To reduce Cognitive Complexity. * GA-28 change test def version * Changes to cater for classification * GA-28 functional test amendments * GA-28 functional test amendments * GA-28 functional test amendments * GA-28 functional test amendments * GA-28 functional test amendments * Change to return CaseGroupIds if everything matches and CaseAccessGroups does not exist in the casedetails data. * fix json parser error * fixing classification to use fundtion getDefaultSecurityClassifications from CaseDataServcice * fixing classification to use fundtion getDefaultSecurityClassifications from CaseDataServcice * fixing classification to use fundtion getDefaultSecurityClassifications from CaseDataService * Tiding the code. * Review comments and changes to FT's * Review comments. * Review comments. * Refactored FT's against the correct AC's and fixed bug. * fix for dataclassification being replaced incorrectly. * checkstyle whitespace error * renamed the file * changes due to review comments * checking the response has case_data and data_classification updates * If no CaseAccessGroups in case_data ensure if there is CaseAccessGroups in data_classification then remove. * changed info to debug * dataclassification not returned fix and broken FT tests when @compnent added. * FT's results not same because needs to be enabled"ENABLE_CASE_GROUP_ACCESS_FILTERING=true" so F-1023 can work for GA-28 * Bumping chart version/ fixing aliases * Unit test for CaseAccessUtils class * Unit test for CaseAccessUtils class * Unit test for CaseAccessUtils class tidying * removed unused function * review comments * review comments * checkstyle build errors. * GA-28 refactoring (#2389) * GA-28 Review comment to inject dataservice and caseAccessGroupUtils --------- Co-authored-by: patelila <[email protected]> * GA-28 revert to same as master * Bumping chart version/ fixing aliases * GA-28 fix after merge with master * GA-28 fix after merge with master * GA-28 fix after merge with master * GA-28 fix after merge with master * Build error variable caseDetailsJsonParser not required. * added { "__ordering__": "ordered" }, * Bumping chart version/ fixing aliases * Bumping chart version/ fixing aliases * Ccd 5324 update common code case access groups (#2409) * FT for testing v1_external#/case-details-endpoint/saveCaseDetailsForCitizenUsingPOST * FT for testing v1_external#/case-details-endpoint v2_external#/case-controller/createCaseUsingPOST * Bumping chart version/ fixing aliases * AC05:Invoke createCaseEventForCaseWorkerUsingPOST and caseGroupId created{}: v1_external#/case-details-endpoint/createCaseEventForCaseWorkerUsingPOST * AC * revert change for s-1023.1 * FT for v1_external#/case-details-endpoint/createCaseEventForCaseWorkerUsingPOST and v1_external#/case-details-endpoint/createCaseEventForCitizenUsingPOST * FT for v2_external#/case-controller/createEventUsingPOST * removed unnecessary underscore * Bumping chart version/ fixing aliases --------- Co-authored-by: hmcts-jenkins-a-to-c <62422075+hmcts-jenkins-a-to-c[bot]@users.noreply.github.com> * Update Jenkinsfile_CNP reverted def-store back to develop branch -> PR-575 --------- Co-authored-by: patelila <[email protected]> Co-authored-by: Ila Patel <[email protected]> Co-authored-by: hmcts-jenkins-a-to-c <62422075+hmcts-jenkins-a-to-c[bot]@users.noreply.github.com> Co-authored-by: amoghnaik-hmcts <[email protected]> Co-authored-by: RebeccaBaker <[email protected]> Co-authored-by: aminakhatunCGI <[email protected]> Co-authored-by: dinesh1patel <[email protected]>
- Loading branch information