* Rename InstallVResponseModel to InstallRequestModel * Align SettingsInstallController * Rename split DatabaseInstallResponseModel in two * Change UserInstallResponseModel to UserInstallViewModel * Use PresentationModel instead of ViewModel * Use operation status pattern when validating database * Prepare for install to return a message * Begin updating steps * Make StepBase sharable between upgrade and install * Update steps * Use error message from install steps in install controller * Use error message from upgrade steps in upgrade controller * Use 500 for install/upgrade failed It's entirely likely that it has nothing to do with the request * Updated OpenApi.Json --------- Co-authored-by: Bjarke Berg <mail@bergmania.dk>
29 lines
655 B
C#
29 lines
655 B
C#
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Umbraco.Cms.Api.Management.ViewModels.Installer;
|
|
|
|
public class DatabaseInstallPresentationModel
|
|
{
|
|
[Required]
|
|
public Guid Id { get; set; }
|
|
|
|
[Required]
|
|
public string? ProviderName { get; set; }
|
|
|
|
public string? Server { get; set; }
|
|
|
|
public string? Name { get; set; }
|
|
|
|
public string? Username { get; set; }
|
|
|
|
[PasswordPropertyText]
|
|
public string? Password { get; set; }
|
|
|
|
public bool UseIntegratedAuthentication { get; set; }
|
|
|
|
public string? ConnectionString { get; set; }
|
|
|
|
public bool TrustServerCertificate { get; set; }
|
|
}
|