Content
View differences
Updated by Artur Neumann about 4 years ago
**As** an admin
**I want to** be sure that the entered OpenProject URL is correct
**so that** I will not bothered by confused users if I made a mistake during the setup process
**Acceptance criteria**
* before saving the URL of the OpenProject is checked by calling `/api/v3` `/api/v3`
* if the API responds with an version, check also that to be >= 12.2 12.2
* if its a private instance OpenProject will return an error, check if that error looks like a real OpenProject error (similar to https://github.com/opf/openproject-revit-add-in/blob/master/src/OpenProject.Browser/WebViewIntegration/OpenProjectInstanceValidator.cs#L117)
* only save the URL if we have a realistic guess that there is an OpenProject server listening on that URL
* if there is no OpenProject server listening shown a useful error message to the admin
**I want to** be sure that the entered OpenProject URL is correct
**so that** I will not bothered by confused users if I made a mistake during the setup process
**Acceptance criteria**
* before saving the URL of the OpenProject is checked by calling `/api/v3`
* if the API responds with an version, check also that to be >= 12.2
* if its a private instance OpenProject will return an error, check if that error looks like a real OpenProject error (similar to https://github.com/opf/openproject-revit-add-in/blob/master/src/OpenProject.Browser/WebViewIntegration/OpenProjectInstanceValidator.cs#L117)
* only save the URL if we have a realistic guess that there is an OpenProject server listening on that URL
* if there is no OpenProject server listening shown a useful error message to the admin