feat: Implement ExistingDatabaseContext for managing existing databases with customizable naming strategies and auto-discovery of entities
feat: Add SqlServerSchemaProvider for extracting database schema information from SQL Server feat: Introduce DatabaseType and NamingStrategy enums for better database management and naming conventions feat: Create IDatabaseDiscovery and IDatabaseManager interfaces for database operations and metadata retrieval feat: Develop REST service client architecture with BaseRestServiceClient and SAP Business One specific implementation feat: Implement REST service discovery page with UI for connecting to SAP Business One Service Layer and displaying discovered entities
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
namespace DataConnection.REST.Configuration
|
||||
{
|
||||
/// <summary>
|
||||
/// Configuration options for a REST service client.
|
||||
/// </summary>
|
||||
public class RestServiceOptions
|
||||
{
|
||||
/// <summary>
|
||||
/// Base URL of the REST service.
|
||||
/// </summary>
|
||||
public string? BaseUrl { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// API Key, if required.
|
||||
/// </summary>
|
||||
public string? ApiKey { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Username for authentication, if required.
|
||||
/// </summary>
|
||||
public string? Username { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Password for authentication, if required.
|
||||
/// </summary>
|
||||
public string? Password { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Authentication token (e.g., Bearer token), if required.
|
||||
/// </summary>
|
||||
public string? AuthToken { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Timeout for requests in seconds.
|
||||
/// </summary>
|
||||
public int TimeoutSeconds { get; set; } = 100; // Default timeout
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether to ignore SSL certificate errors.
|
||||
/// Use with caution, especially in production environments.
|
||||
/// </summary>
|
||||
public bool IgnoreSslErrors { get; set; } = false;
|
||||
|
||||
// Add other relevant configuration properties (e.g., OAuth settings, specific headers)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user