Content
View differences
Updated by Dominic Bräunlein almost 2 years ago
**As** a administrator responsible for storages
**I want to** trigger a test of the connection to an external storage
**so that** I can verify if the storages works as expected and get helpful feedback otherwise.
**Acceptance criteria**
* A button allows for a manual trigger of a connection test and validation of the settings.
* If an error raises during the test, it is shown with an explanation and helpful information.
* If the test and validations are successful, it is clearly communicated to the user.
* Validations:
* The external storage server is reachable
* The oAuth2 settings are valid
* The Drive Id and tenant Id is valid
* When "automatically managed project folders" is activated in the management section, the drive needs to be empty
**Additional info**
* The "Validate/Test Connection" is quite independent from the Health status.
* Health status is only relevant for Storages with automatically managed project folders
* Test connection relates to all storages
* Validation messages
* **not configured**
* UI text: The connection could not be validated. Please finish configuration first.
* **drive id wrong**
* UI text: The configured drive id could not be found. Please check the configuration.
* Internal error: `code=>"itemNotFound", :message=>"Item not found"`
* tenant id wrong
* UI text: The configured directory (tenant) id is invalid. Please check the configuration.
* Payload: "AADSTS90002: Tenant 'e36f1dbc-fdae-427e-b61b-0d96ddfb81a5' not found. Check to make sure you have the correct tenant ID and are signing into the correct cloud. Check with your subscription administrator, this may happen if there are no active subscriptions for the tenant. Trace ID: 35c4258e-a231-46f0-b0f1-9ff71d354800 Correlation ID: 96b16d07-830b-4140-a990-2301d9ceee2a Timestamp: 2024-06-07 11:03:45Z",
**I want to** trigger a test of the connection to an external storage
**so that** I can verify if the storages works as expected and get helpful feedback otherwise.
**Acceptance criteria**
* A button allows for a manual trigger of a connection test and validation of the settings.
* If an error raises during the test, it is shown with an explanation and helpful information.
* If the test and validations are successful, it is clearly communicated to the user.
* Validations:
* The external storage server is reachable
* The oAuth2 settings are valid
* The Drive Id and tenant Id is valid
* When "automatically managed project folders" is activated in the management section, the drive needs to be empty
**Additional info**
* The "Validate/Test Connection" is quite independent from the Health status.
* Health status is only relevant for Storages with automatically managed project folders
* Test connection relates to all storages
* Validation messages
* **not configured**
* UI text: The connection could not be validated. Please finish configuration first.
* **drive id wrong**
* UI text: The configured drive id could not be found. Please check the configuration.
* Internal error: `code=>"itemNotFound", :message=>"Item not found"`
* tenant id wrong
* UI text: The configured directory (tenant) id is invalid. Please check the configuration.
* Payload: "AADSTS90002: Tenant 'e36f1dbc-fdae-427e-b61b-0d96ddfb81a5' not found. Check to make sure you have the correct tenant ID and are signing into the correct cloud. Check with your subscription administrator, this may happen if there are no active subscriptions for the tenant. Trace ID: 35c4258e-a231-46f0-b0f1-9ff71d354800 Correlation ID: 96b16d07-830b-4140-a990-2301d9ceee2a Timestamp: 2024-06-07 11:03:45Z",