hmcts / ia-case-api

Immigration & Asylum case API
MIT License
11 stars 4 forks source link

RIA-9527 bug_fix #2333

Closed ikirsanov closed 3 months ago

ikirsanov commented 3 months ago

Jira link

https://tools.hmcts.net/jira/browse/RIA-9527

Change description

Fixed case FEE_REMISSION_CHANGED conditions in ManageFeeUpdateMidEvent, added and edited junit tests.

Checklist

hmcts-jenkins-d-to-i[bot] commented 3 months ago

Plan Result (aat)

Plan: 1 to add, 2 to change, 0 to destroy.
Change Result (Click me) ```hcl # azurerm_resource_group.rg will be created + resource "azurerm_resource_group" "rg" { + id = (known after apply) + location = "uksouth" + name = "ia-case-api-aat" + tags = (known after apply) } # module.ia-case-api-db-v15.azurerm_postgresql_flexible_server.pgsql_server will be updated in-place ~ resource "azurerm_postgresql_flexible_server" "pgsql_server" { id = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ia-case-api-postgres-db-v15-data-aat/providers/Microsoft.DBforPostgreSQL/flexibleServers/ia-case-api-postgres-db-v15-aat" name = "ia-case-api-postgres-db-v15-aat" ~ tags = { - "application" = "immigration" - "autoShutdown" = "true" - "builtFrom" = "https://github.com/HMCTS/ia-case-api.git" - "businessArea" = "CFT" - "contactSlackChannel" = "#ia-tech" - "environment" = "staging" - "lastUpdated" = "2024-08-27T10:59:22Z" - "managedBy" = "Immigration" } -> (known after apply) # (17 unchanged attributes hidden) # (3 unchanged blocks hidden) } # module.ia-case-api-db-v15.azurerm_resource_group.rg[0] will be updated in-place ~ resource "azurerm_resource_group" "rg" { id = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ia-case-api-postgres-db-v15-data-aat" name = "ia-case-api-postgres-db-v15-data-aat" ~ tags = { - "application" = "immigration" - "autoShutdown" = "true" - "builtFrom" = "https://github.com/HMCTS/ia-case-api.git" - "businessArea" = "CFT" - "contactSlackChannel" = "#ia-tech" - "environment" = "staging" - "lastUpdated" = "2024-08-27T10:59:22Z" - "managedBy" = "Immigration" } -> (known after apply) # (1 unchanged attribute hidden) } Plan: 1 to add, 2 to change, 0 to destroy. ```
hmcts-jenkins-d-to-i[bot] commented 3 months ago

Plan Result (prod)

Plan: 0 to add, 3 to change, 0 to destroy.
Change Result (Click me) ```hcl # azurerm_resource_group.rg will be updated in-place ~ resource "azurerm_resource_group" "rg" { id = "/subscriptions/8999dec3-0104-4a27-94ee-6588559729d1/resourceGroups/ia-case-api-prod" name = "ia-case-api-prod" ~ tags = { - "application" = "immigration" - "builtFrom" = "https://github.com/HMCTS/ia-case-api.git" - "businessArea" = "CFT" - "contactSlackChannel" = "#ia-tech" - "environment" = "production" - "lastUpdated" = "2024-08-27T11:08:25Z" - "managedBy" = "Immigration" } -> (known after apply) # (1 unchanged attribute hidden) } # module.ia-case-api-db-v15.azurerm_postgresql_flexible_server.pgsql_server will be updated in-place ~ resource "azurerm_postgresql_flexible_server" "pgsql_server" { id = "/subscriptions/8999dec3-0104-4a27-94ee-6588559729d1/resourceGroups/ia-case-api-postgres-db-v15-data-prod/providers/Microsoft.DBforPostgreSQL/flexibleServers/ia-case-api-postgres-db-v15-prod" name = "ia-case-api-postgres-db-v15-prod" ~ tags = { - "application" = "immigration" - "builtFrom" = "https://github.com/HMCTS/ia-case-api.git" - "businessArea" = "CFT" - "contactSlackChannel" = "#ia-tech" - "environment" = "production" - "lastUpdated" = "2024-08-27T11:08:23Z" - "managedBy" = "Immigration" } -> (known after apply) # (17 unchanged attributes hidden) # (3 unchanged blocks hidden) } # module.ia-case-api-db-v15.azurerm_resource_group.rg[0] will be updated in-place ~ resource "azurerm_resource_group" "rg" { id = "/subscriptions/8999dec3-0104-4a27-94ee-6588559729d1/resourceGroups/ia-case-api-postgres-db-v15-data-prod" name = "ia-case-api-postgres-db-v15-data-prod" ~ tags = { - "application" = "immigration" - "builtFrom" = "https://github.com/HMCTS/ia-case-api.git" - "businessArea" = "CFT" - "contactSlackChannel" = "#ia-tech" - "environment" = "production" - "lastUpdated" = "2024-08-27T11:08:23Z" - "managedBy" = "Immigration" } -> (known after apply) # (1 unchanged attribute hidden) } Plan: 0 to add, 3 to change, 0 to destroy. ```