-
Notifications
You must be signed in to change notification settings - Fork 7
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
Query Management/Cafcass API Combo Branch #5657
Open
qasimnawaz-moj
wants to merge
130
commits into
master
Choose a base branch
from
qm-cafcass-api
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* 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 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]>
* update es search query * fix and update test * query close case as well * Update CafcassApiSearchCaseServiceTest.java
* document download endpoint * update user role crud * update use role * Update add-ccd-user-roles.sh * fix profile * Create CafcassApiDocumentServiceTest.java
* 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]>
* 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]>
* 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
* 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
* 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]>
This reverts commit 3515ecf.
Plan Result (aat)
Change Result (Click me) # azurerm_key_vault_secret.update-summary-tab-cron will be updated in-place
~ resource "azurerm_key_vault_secret" "update-summary-tab-cron" {
id = "https://fpl-aat.vault.azure.net/secrets/update-summary-tab-cron/610e9d1fb33f446c9b8ee86a6a49b90b"
name = "update-summary-tab-cron"
- not_before_date = "2023-11-22T08:32:40Z" -> null
tags = {}
# (7 unchanged attributes hidden)
}
# module.fpl-action-group.azurerm_resource_group_template_deployment.action-group will be updated in-place
~ resource "azurerm_resource_group_template_deployment" "action-group" {
id = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/fpl-case-service-aat/providers/Microsoft.Resources/deployments/fpl-support"
name = "fpl-support"
tags = {}
~ template_content = jsonencode(
~ {
~ outputs = {
~ actionGroupId = {
~ type = "String" -> "string"
# (1 unchanged attribute hidden)
}
}
~ parameters = {
~ actionGroupName = {
~ type = "String" -> "string"
}
~ emailReceiverAddress = {
~ type = "String" -> "string"
# (1 unchanged attribute hidden)
}
~ emailReceiverName = {
~ type = "String" -> "string"
# (1 unchanged attribute hidden)
}
~ location = {
~ type = "String" -> "string"
# (1 unchanged attribute hidden)
}
~ shortName = {
~ type = "String" -> "string"
}
}
# (3 unchanged attributes hidden)
}
)
# (6 unchanged attributes hidden)
}
Plan: 0 to add, 2 to change, 0 to destroy. |
Plan Result (prod)
Change Result (Click me) # module.fpl-action-group.azurerm_resource_group_template_deployment.action-group will be updated in-place
~ resource "azurerm_resource_group_template_deployment" "action-group" {
id = "/subscriptions/8999dec3-0104-4a27-94ee-6588559729d1/resourceGroups/fpl-case-service-prod/providers/Microsoft.Resources/deployments/fpl-support"
name = "fpl-support"
tags = {}
~ template_content = jsonencode(
~ {
~ outputs = {
~ actionGroupId = {
~ type = "String" -> "string"
# (1 unchanged attribute hidden)
}
}
~ parameters = {
~ actionGroupName = {
~ type = "String" -> "string"
}
~ emailReceiverAddress = {
~ type = "String" -> "string"
# (1 unchanged attribute hidden)
}
~ emailReceiverName = {
~ type = "String" -> "string"
# (1 unchanged attribute hidden)
}
~ location = {
~ type = "String" -> "string"
# (1 unchanged attribute hidden)
}
~ shortName = {
~ type = "String" -> "string"
}
}
# (3 unchanged attributes hidden)
}
)
# (6 unchanged attributes hidden)
}
# module.fpl-exceptions-alert.azurerm_resource_group_template_deployment.custom_alert[0] will be updated in-place
~ resource "azurerm_resource_group_template_deployment" "custom_alert" {
id = "/subscriptions/8999dec3-0104-4a27-94ee-6588559729d1/resourceGroups/fpl-case-service-prod/providers/Microsoft.Resources/deployments/fpl-exceptions"
name = "fpl-exceptions"
tags = {}
~ template_content = jsonencode(
~ {
~ parameters = {
~ actionGroupName = {
~ type = "String" -> "string"
}
~ actionGroupRg = {
~ type = "String" -> "string"
}
~ alertDesc = {
~ type = "String" -> "string"
}
~ alertName = {
~ type = "String" -> "string"
}
~ appInsightsName = {
~ type = "String" -> "string"
}
~ appInsightsQuery = {
~ type = "String" -> "string"
}
~ commonTags = {
~ type = "String" -> "string"
}
~ customEmailSubject = {
~ type = "String" -> "string"
}
~ frequencyInMinutes = {
~ type = "String" -> "string"
# (1 unchanged attribute hidden)
}
~ location = {
~ type = "String" -> "string"
}
~ severityLevel = {
~ type = "String" -> "string"
# (1 unchanged attribute hidden)
}
~ timeWindowInMinutes = {
~ type = "String" -> "string"
# (1 unchanged attribute hidden)
}
~ triggerThreshold = {
~ type = "String" -> "string"
}
~ triggerThresholdOperator = {
~ type = "String" -> "string"
# (2 unchanged attributes hidden)
}
}
# (4 unchanged attributes hidden)
}
)
# (6 unchanged attributes hidden)
}
# module.fpl-health-failure-alert.azurerm_resource_group_template_deployment.custom_alert[0] will be updated in-place
~ resource "azurerm_resource_group_template_deployment" "custom_alert" {
id = "/subscriptions/8999dec3-0104-4a27-94ee-6588559729d1/resourceGroups/fpl-case-service-prod/providers/Microsoft.Resources/deployments/fpl-health-failure"
name = "fpl-health-failure"
tags = {}
~ template_content = jsonencode(
~ {
~ parameters = {
~ actionGroupName = {
~ type = "String" -> "string"
}
~ actionGroupRg = {
~ type = "String" -> "string"
}
~ alertDesc = {
~ type = "String" -> "string"
}
~ alertName = {
~ type = "String" -> "string"
}
~ appInsightsName = {
~ type = "String" -> "string"
}
~ appInsightsQuery = {
~ type = "String" -> "string"
}
~ commonTags = {
~ type = "String" -> "string"
}
~ customEmailSubject = {
~ type = "String" -> "string"
}
~ frequencyInMinutes = {
~ type = "String" -> "string"
# (1 unchanged attribute hidden)
}
~ location = {
~ type = "String" -> "string"
}
~ severityLevel = {
~ type = "String" -> "string"
# (1 unchanged attribute hidden)
}
~ timeWindowInMinutes = {
~ type = "String" -> "string"
# (1 unchanged attribute hidden)
}
~ triggerThreshold = {
~ type = "String" -> "string"
}
~ triggerThresholdOperator = {
~ type = "String" -> "string"
# (2 unchanged attributes hidden)
}
}
# (4 unchanged attributes hidden)
}
)
# (6 unchanged attributes hidden)
}
# module.fpl-performance-alert.azurerm_resource_group_template_deployment.custom_alert[0] will be updated in-place
~ resource "azurerm_resource_group_template_deployment" "custom_alert" {
id = "/subscriptions/8999dec3-0104-4a27-94ee-6588559729d1/resourceGroups/fpl-case-service-prod/providers/Microsoft.Resources/deployments/fpl-performance"
name = "fpl-performance"
tags = {}
~ template_content = jsonencode(
~ {
~ parameters = {
~ actionGroupName = {
~ type = "String" -> "string"
}
~ actionGroupRg = {
~ type = "String" -> "string"
}
~ alertDesc = {
~ type = "String" -> "string"
}
~ alertName = {
~ type = "String" -> "string"
}
~ appInsightsName = {
~ type = "String" -> "string"
}
~ appInsightsQuery = {
~ type = "String" -> "string"
}
~ commonTags = {
~ type = "String" -> "string"
}
~ customEmailSubject = {
~ type = "String" -> "string"
}
~ frequencyInMinutes = {
~ type = "String" -> "string"
# (1 unchanged attribute hidden)
}
~ location = {
~ type = "String" -> "string"
}
~ severityLevel = {
~ type = "String" -> "string"
# (1 unchanged attribute hidden)
}
~ timeWindowInMinutes = {
~ type = "String" -> "string"
# (1 unchanged attribute hidden)
}
~ triggerThreshold = {
~ type = "String" -> "string"
}
~ triggerThresholdOperator = {
~ type = "String" -> "string"
# (2 unchanged attributes hidden)
}
}
# (4 unchanged attributes hidden)
}
)
# (6 unchanged attributes hidden)
}
# module.fpl-summary-tab-job-alert.azurerm_resource_group_template_deployment.custom_alert[0] will be updated in-place
~ resource "azurerm_resource_group_template_deployment" "custom_alert" {
id = "/subscriptions/8999dec3-0104-4a27-94ee-6588559729d1/resourceGroups/fpl-case-service-prod/providers/Microsoft.Resources/deployments/fpl-summary-tab-job-failure"
name = "fpl-summary-tab-job-failure"
tags = {}
~ template_content = jsonencode(
~ {
~ parameters = {
~ actionGroupName = {
~ type = "String" -> "string"
}
~ actionGroupRg = {
~ type = "String" -> "string"
}
~ alertDesc = {
~ type = "String" -> "string"
}
~ alertName = {
~ type = "String" -> "string"
}
~ appInsightsName = {
~ type = "String" -> "string"
}
~ appInsightsQuery = {
~ type = "String" -> "string"
}
~ commonTags = {
~ type = "String" -> "string"
}
~ customEmailSubject = {
~ type = "String" -> "string"
}
~ frequencyInMinutes = {
~ type = "String" -> "string"
# (1 unchanged attribute hidden)
}
~ location = {
~ type = "String" -> "string"
}
~ severityLevel = {
~ type = "String" -> "string"
# (1 unchanged attribute hidden)
}
~ timeWindowInMinutes = {
~ type = "String" -> "string"
# (1 unchanged attribute hidden)
}
~ triggerThreshold = {
~ type = "String" -> "string"
}
~ triggerThresholdOperator = {
~ type = "String" -> "string"
# (2 unchanged attributes hidden)
}
}
# (4 unchanged attributes hidden)
}
)
# (6 unchanged attributes hidden)
}
# module.fpl-upcoming-hearings-job-alert.azurerm_resource_group_template_deployment.custom_alert[0] will be updated in-place
~ resource "azurerm_resource_group_template_deployment" "custom_alert" {
id = "/subscriptions/8999dec3-0104-4a27-94ee-6588559729d1/resourceGroups/fpl-case-service-prod/providers/Microsoft.Resources/deployments/fpl-upcoming-hearings-job-failure"
name = "fpl-upcoming-hearings-job-failure"
tags = {}
~ template_content = jsonencode(
~ {
~ parameters = {
~ actionGroupName = {
~ type = "String" -> "string"
}
~ actionGroupRg = {
~ type = "String" -> "string"
}
~ alertDesc = {
~ type = "String" -> "string"
}
~ alertName = {
~ type = "String" -> "string"
}
~ appInsightsName = {
~ type = "String" -> "string"
}
~ appInsightsQuery = {
~ type = "String" -> "string"
}
~ commonTags = {
~ type = "String" -> "string"
}
~ customEmailSubject = {
~ type = "String" -> "string"
}
~ frequencyInMinutes = {
~ type = "String" -> "string"
# (1 unchanged attribute hidden)
}
~ location = {
~ type = "String" -> "string"
}
~ severityLevel = {
~ type = "String" -> "string"
# (1 unchanged attribute hidden)
}
~ timeWindowInMinutes = {
~ type = "String" -> "string"
# (1 unchanged attribute hidden)
}
~ triggerThreshold = {
~ type = "String" -> "string"
}
~ triggerThresholdOperator = {
~ type = "String" -> "string"
# (2 unchanged attributes hidden)
}
}
# (4 unchanged attributes hidden)
}
)
# (6 unchanged attributes hidden)
}
Plan: 0 to add, 6 to change, 0 to destroy. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
aat/add-or-update
ccd configuration
Pull request that updates CCD definition configuration
enable_keep_helm
ns:family-public-law
prd:fpl
prod/add-or-update
rel:fpl-case-service-pr-5657
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/DFPL-2439
Change description
Query Management/Cafcass API Combo Branch
Does this PR introduce a breaking change? (check one with "x")