FE:: As an org admin I should be able to migrate a tenant to the newer bigquery version

Description

PRDE - Story default text according to the team DoR (Definition of Ready)

01 - PERSON OF CONTACT (PERSON THAT CAN ANSWER QUESTIONS ABOUT THE PROBLEM):
02 - STORY BRIEFING (AS A < PERSONA >, I [WANT TO] < NEED >, [SO THAT] < GOAL >):
03 - PROBLEM (WHAT'S THE CURRENT PROBLEM SCENARIO OR PAIN TO BE RESOLVED?):
04 - GOAL (DESCRIBE THE PROPOSED SOLUTION):

Allow the roles to migrate tenants: org admin.

Provisioning flow for provisioned tenants should consider the flow with double confirmation.

Unified Tenants should show a warning message that the data will be removed and copied again from CDS (that usually it is empty). And it forces the user to run the Copy Data from customers to unified again.

Follow the progress through a task (org level).

Endpoint: /v1/provision

Parameter: migrateKeepingData

05 - WHO CAN USE THIS FEATURE (USER ROLES):
06 - ACTIVITY DIAGRAM (ACTIVITY DIAGRAM LINK AND IMAGE):
07 - STEPS (ACTIONS TO BE PERFORMED LINKING TO SCREENSHOTS):
08 - ALTERNATIVE STEPS:
09 - ASSETS (FIGMA LINKS, RELEVANT DOCUMENTATION LINKS, JSON EXAMPLES, ETC):

https://www.figma.com/file/FiL1iRG6RPjuNCgVzgGqvaZ3/%F0%9F%9F%A3-Carol-3.0?type=design&node-id=28835-179315&t=CF8PoF5Cw7GQU9O7-4

https://www.figma.com/file/FiL1iRG6RPjuNCgVzgGqvaZ3/%F0%9F%9F%A3-Carol-3.0?type=design&node-id=33226-201999&t=CF8PoF5Cw7GQU9O7-4

10 - ACCEPTANCE CRITERIA:

  • As a user I should see the task related to the migration flow.
  • Existing shared data should work after migration.
  • SQL pipelines should work after migration.
  • Data still accessible through staging table and explore.
  • Add actions below Big Query status on Tenant sidebar
  • These are available only for Org Admins
  • Provision: Erases on Tenant BQ and re-creates it (This action is always available and requires double confirmation)
  • Migrate to newest version: Updates to the newest version (Only available when the version is not up to date)