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

RIA-9452 bug_fix #2335

Merged
merged 2 commits into from
Aug 29, 2024
Merged

RIA-9452 bug_fix #2335

merged 2 commits into from
Aug 29, 2024

Conversation

ikirsanov
Copy link
Contributor

Jira link

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

Change description

When submitting hearing requirements without hearing state it saves previousHearingRequirements to the list.
Added a check if Hearing centre is "DECISION_WITHOUT_HEARING" then skip this saving.

Checklist

  • commit messages are meaningful and follow good commit message guidelines
  • README and other documentation has been updated / added (if needed)
  • tests have been updated / new tests has been added (if needed)
  • Does this PR introduce a breaking change

…ngCentre is not presented not saving previousHearings to list
@hmcts-jenkins-d-to-i
Copy link
Contributor

hmcts-jenkins-d-to-i bot commented Aug 29, 2024

Plan Result (aat)

Plan: 1 to add, 2 to change, 0 to destroy.
  • Create
    • azurerm_resource_group.rg
  • Update
    • module.ia-case-api-db-v15.azurerm_postgresql_flexible_server.pgsql_server
    • module.ia-case-api-db-v15.azurerm_resource_group.rg[0]
Change Result (Click me)
  # 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-29T08:36: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/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-29T08:36:23Z"
          - "managedBy"           = "Immigration"
        } -> (known after apply)
        # (1 unchanged attribute hidden)
    }

Plan: 1 to add, 2 to change, 0 to destroy.

@hmcts-jenkins-d-to-i
Copy link
Contributor

Plan Result (prod)

Plan: 0 to add, 3 to change, 0 to destroy.
  • Update
    • azurerm_resource_group.rg
    • module.ia-case-api-db-v15.azurerm_postgresql_flexible_server.pgsql_server
    • module.ia-case-api-db-v15.azurerm_resource_group.rg[0]
Change Result (Click me)
  # 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-29T08:45:31Z"
          - "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-29T08:45:28Z"
          - "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-29T08:45:28Z"
          - "managedBy"           = "Immigration"
        } -> (known after apply)
        # (1 unchanged attribute hidden)
    }

Plan: 0 to add, 3 to change, 0 to destroy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants