Remove deleted tenant from Carol App deployed tenants list

Description

Issue Component(s) on Oct 24, 2023, 4:56:21 PM: CAROL_APP | INSTALATION

Person of contact

  • @Bruno Furtado

Problem

In a development environment, where I have a dev app, there is the option to list all tenants where the app was deployed and I receive an error message informing a tenant was not found (the tenant was actually deleted a few months ago).

Steps to reproduce

1. Go to the dev tenant, dev app, tenants deployed list:
https://clockin.carol.ai/clockin/carol-ui/carol-app-dev/a85b7f1c39e24d87a1b6b6380b186138/tenants

More details

  • Carol App Dev Tenant: clockin/clockin
  • Carol App: clockinapp
  • Deleted customer tenant: a319b613e4544a839649cb9a1a077bcc

Expected behavior

  • Remove the deleted tenant from tenants deployed list of the app.
  • Make there is no other wrong IDs (in case true, delete also).
  • When removing a tenant or org, ensure this problem does not happening.

As stated on the Instructions of this card, the cleasing of invalid tenants will be done by SRE team. This card will be focused on not throwing the exception if a tenant is invalid inside the list of tenants to be shown.

Activity

Automation for Jira 19 February 2024, 14:57 Jira Internal Users

This issue was automatically transitioned to REGRESSION, as its PR was just merged into qa branch in Github.

Automation for Jira 19 February 2024, 14:57 Jira Internal Users

This issue was automatically transitioned to REGRESSION, as its PR was just merged into qa branch in Github.

Automation for Jira 19 February 2024, 14:57 Jira Internal Users

This issue was automatically transitioned to REGRESSION, as its PR was just merged into qa branch in Github.

Automation for Jira 12 February 2024, 19:44 Jira Internal Users

@MARCOS STUMPF ,
@Gabriel DAmore Marciano , @Rodrigo Bechtold , @André Pereira de Oliveira , @Douglas Coimbra Lopes , @Renan Schroeder

This issue was planned to be delivered until 2024-03-04. You can check that by consulting the issue in the Due Date field.

Dates already planned for this issue: 2024-02-12, 2024-03-04

If External Issue Link field is filled, customer was also informed on JIRA TOTVS.

Automation for Jira 12 February 2024, 19:39 Jira Internal Users

This issue was automatically transitioned to TESTED & MERGED, as its PR was just merged into develop branch in Github. PR Approved by rfschroeder,douglascoimbra.

Automation for Jira 12 February 2024, 19:39 Jira Internal Users

Github user douglascoimbra has just approved a PR (added as Shard Assignee in this Jira issue).

fix: CAPL-5226 Done - Handle tenantApp of a deleted tenant

Automation for Jira 8 February 2024, 20:25 Jira Internal Users

This issue was automatically transitioned to QA REVIEW, as its PR was just approved in Github.

Automation for Jira 8 February 2024, 19:54 Jira Internal Users

Github user rodrigo-bechtold has just commited and issue was sent back to the REVIEW column.

Automation for Jira 8 February 2024, 16:38 Jira Internal Users

Github user douglascoimbra has just approved a PR (added as Shard Assignee in this Jira issue).

fix: CAPL-5226 Done - Handle tenantApp of a deleted tenant

Douglas Coimbra Lopes 8 February 2024, 16:38 Jira Internal Users

USING AN INVALID TENANT ID IN ORDER TO REPLICATE ANOTHER APP WITH THE SAME NAME ON ES

NO ERRORS DETECTED FROM INSTALLED APPS REQUEST

BE ANF FE PERSPECTIVE

UNIFIED OK ALSO

Automation for Jira 8 February 2024, 16:34 Jira Internal Users

Cenario encontrado no card .
Update: Topico resolvido. UUID Format corrigdo para o teste do appName
• Apos efetuar os steps do card, ao acessar a tela Tenants Deployed, uma mensagem de erro eh exibida ao usuario, diferente do reportado.
• Verificando se na develop tbm ocorre :loading:

Edited on Slack - platform-internal - Douglas Coimbra Lopes

Automation for Jira 8 February 2024, 16:09 Jira Internal Users

🚨 Cenario encontrado no card .
• Apos efetuar os steps do card, ao acessar a tela Tenants Deployed, uma mensagem de erro eh exibida ao usuario, diferente do reportado.
• Verificando se na develop tbm ocorre :loading:

Sent by Slack - platform-internal - Douglas Coimbra Lopes

Automation for Jira 8 February 2024, 15:44 Jira Internal Users

This issue was automatically transitioned to QA REVIEW, as its PR was just approved in Github.

Automation for Jira 7 February 2024, 15:17 Jira Internal Users

This issue was automatically transitioned to REVIEW, as its PR (not DRAFT and not WIP) was just created in Github.

fix: CAPL-5226 Done - Handle tenantApp of a deleted tenant

Automation for Jira 22 January 2024, 20:33 Jira Internal Users

@MARCOS STUMPF ,
@Jonathan Willian Moraes , @André Pereira de Oliveira

This issue was planned to be delivered until 2024-02-12. You can check that by consulting the issue in the Due Date field.

Dates already planned for this issue: 2024-02-12

If External Issue Link field is filled, customer was also informed on JIRA TOTVS.