diff --git a/.gitignore b/.gitignore index b1fc462..c003122 100644 --- a/.gitignore +++ b/.gitignore @@ -39,7 +39,7 @@ bld/ # Visual Studio 2017 auto generated files Generated\ Files/ - +data # MSTest test Results [Tt]est[Rr]esult*/ [Bb]uild[Ll]og.* diff --git a/BlueWest.Authorization/BlueWest.Authorization.csproj b/BlueWest.Authorization/BlueWest.Authorization.csproj deleted file mode 100644 index 6108b7b..0000000 --- a/BlueWest.Authorization/BlueWest.Authorization.csproj +++ /dev/null @@ -1,13 +0,0 @@ - - - - net6.0 - enable - enable - - - - - - - diff --git a/BlueWest.Authorization/Controllers/WeatherForecastController.cs b/BlueWest.Authorization/Controllers/WeatherForecastController.cs deleted file mode 100644 index 18749ed..0000000 --- a/BlueWest.Authorization/Controllers/WeatherForecastController.cs +++ /dev/null @@ -1,32 +0,0 @@ -using Microsoft.AspNetCore.Mvc; - -namespace BlueWest.Authorization.Controllers; - -[ApiController] -[Route("[controller]")] -public class WeatherForecastController : ControllerBase -{ - private static readonly string[] Summaries = new[] - { - "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching" - }; - - private readonly ILogger _logger; - - public WeatherForecastController(ILogger logger) - { - _logger = logger; - } - - [HttpGet(Name = "GetWeatherForecast")] - public IEnumerable Get() - { - return Enumerable.Range(1, 5).Select(index => new WeatherForecast - { - Date = DateTime.Now.AddDays(index), - TemperatureC = Random.Shared.Next(-20, 55), - Summary = Summaries[Random.Shared.Next(Summaries.Length)] - }) - .ToArray(); - } -} diff --git a/BlueWest.Authorization/Program.cs b/BlueWest.Authorization/Program.cs deleted file mode 100644 index 48863a6..0000000 --- a/BlueWest.Authorization/Program.cs +++ /dev/null @@ -1,25 +0,0 @@ -var builder = WebApplication.CreateBuilder(args); - -// Add services to the container. - -builder.Services.AddControllers(); -// Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle -builder.Services.AddEndpointsApiExplorer(); -builder.Services.AddSwaggerGen(); - -var app = builder.Build(); - -// Configure the HTTP request pipeline. -if (app.Environment.IsDevelopment()) -{ - app.UseSwagger(); - app.UseSwaggerUI(); -} - -app.UseHttpsRedirection(); - -app.UseAuthorization(); - -app.MapControllers(); - -app.Run(); diff --git a/BlueWest.Authorization/Properties/launchSettings.json b/BlueWest.Authorization/Properties/launchSettings.json deleted file mode 100644 index 6d1f5d4..0000000 --- a/BlueWest.Authorization/Properties/launchSettings.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "$schema": "https://json.schemastore.org/launchsettings.json", - "iisSettings": { - "windowsAuthentication": false, - "anonymousAuthentication": true, - "iisExpress": { - "applicationUrl": "http://localhost:23917", - "sslPort": 44315 - } - }, - "profiles": { - "BlueWest.Authorization": { - "commandName": "Project", - "dotnetRunMessages": true, - "launchBrowser": true, - "launchUrl": "swagger", - "applicationUrl": "https://localhost:7246;http://localhost:5269", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - }, - "IIS Express": { - "commandName": "IISExpress", - "launchBrowser": true, - "launchUrl": "swagger", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - } - } -} diff --git a/BlueWest.Authorization/WeatherForecast.cs b/BlueWest.Authorization/WeatherForecast.cs deleted file mode 100644 index fb3694a..0000000 --- a/BlueWest.Authorization/WeatherForecast.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace BlueWest.Authorization; - -public class WeatherForecast -{ - public DateTime Date { get; set; } - - public int TemperatureC { get; set; } - - public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); - - public string? Summary { get; set; } -} diff --git a/BlueWest.Authorization/appsettings.Development.json b/BlueWest.Authorization/appsettings.Development.json deleted file mode 100644 index 0c208ae..0000000 --- a/BlueWest.Authorization/appsettings.Development.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "Logging": { - "LogLevel": { - "Default": "Information", - "Microsoft.AspNetCore": "Warning" - } - } -} diff --git a/BlueWest.Authorization/appsettings.json b/BlueWest.Authorization/appsettings.json deleted file mode 100644 index 10f68b8..0000000 --- a/BlueWest.Authorization/appsettings.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "Logging": { - "LogLevel": { - "Default": "Information", - "Microsoft.AspNetCore": "Warning" - } - }, - "AllowedHosts": "*" -} diff --git a/data/appendonly.aof b/data/appendonly.aof deleted file mode 100644 index e69de29..0000000 diff --git a/data/dump.rdb b/data/dump.rdb deleted file mode 100644 index 5e04d97..0000000 Binary files a/data/dump.rdb and /dev/null differ