From 46038ff85583ae8436f6a4ce07653f455eef1e8d Mon Sep 17 00:00:00 2001 From: hackuna <1002022+hackuna@users.noreply.github.com> Date: Tue, 11 Jul 2023 16:35:02 +0700 Subject: [PATCH] Change paths --- .github/workflows/dotnet.yml | 2 +- .../Controllers/BucketsController.cs | 0 .../Controllers/ObjectsController.cs | 0 .../Interfaces/IStorageBucketRepository.cs | 0 .../Interfaces/IStorageObjectRepository.cs | 0 .../Infrastructure/Interfaces/IStorageRepository.cs | 0 .../Infrastructure/StorageRepository.cs | 0 .../Models/Dto/BucketDto.cs | 0 .../Models/Dto/ObjectDto.cs | 0 .../Models/Dto/ObjectUrlDto.cs | 0 .../OneCloud.S3.API.csproj | 0 {1Cloud.S3.API => OneCloud.S3.API}/Program.cs | 0 .../Properties/launchSettings.json | 0 .../appsettings.Development.json | 0 {1Cloud.S3.API => OneCloud.S3.API}/appsettings.json | 0 README.md | 12 ++++++------ one-cloud-s3-api.sln | 2 +- 17 files changed, 8 insertions(+), 8 deletions(-) rename {1Cloud.S3.API => OneCloud.S3.API}/Controllers/BucketsController.cs (100%) rename {1Cloud.S3.API => OneCloud.S3.API}/Controllers/ObjectsController.cs (100%) rename {1Cloud.S3.API => OneCloud.S3.API}/Infrastructure/Interfaces/IStorageBucketRepository.cs (100%) rename {1Cloud.S3.API => OneCloud.S3.API}/Infrastructure/Interfaces/IStorageObjectRepository.cs (100%) rename {1Cloud.S3.API => OneCloud.S3.API}/Infrastructure/Interfaces/IStorageRepository.cs (100%) rename {1Cloud.S3.API => OneCloud.S3.API}/Infrastructure/StorageRepository.cs (100%) rename {1Cloud.S3.API => OneCloud.S3.API}/Models/Dto/BucketDto.cs (100%) rename {1Cloud.S3.API => OneCloud.S3.API}/Models/Dto/ObjectDto.cs (100%) rename {1Cloud.S3.API => OneCloud.S3.API}/Models/Dto/ObjectUrlDto.cs (100%) rename {1Cloud.S3.API => OneCloud.S3.API}/OneCloud.S3.API.csproj (100%) rename {1Cloud.S3.API => OneCloud.S3.API}/Program.cs (100%) rename {1Cloud.S3.API => OneCloud.S3.API}/Properties/launchSettings.json (100%) rename {1Cloud.S3.API => OneCloud.S3.API}/appsettings.Development.json (100%) rename {1Cloud.S3.API => OneCloud.S3.API}/appsettings.json (100%) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 239054c..6a1ac48 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -15,7 +15,7 @@ on: workflow_dispatch: env: - APP_NAME: 'OneCloud.S3.Api' + APP_NAME: 'OneCloud.S3.API' DOTNET_VERSION: '7.0.x' jobs: diff --git a/1Cloud.S3.API/Controllers/BucketsController.cs b/OneCloud.S3.API/Controllers/BucketsController.cs similarity index 100% rename from 1Cloud.S3.API/Controllers/BucketsController.cs rename to OneCloud.S3.API/Controllers/BucketsController.cs diff --git a/1Cloud.S3.API/Controllers/ObjectsController.cs b/OneCloud.S3.API/Controllers/ObjectsController.cs similarity index 100% rename from 1Cloud.S3.API/Controllers/ObjectsController.cs rename to OneCloud.S3.API/Controllers/ObjectsController.cs diff --git a/1Cloud.S3.API/Infrastructure/Interfaces/IStorageBucketRepository.cs b/OneCloud.S3.API/Infrastructure/Interfaces/IStorageBucketRepository.cs similarity index 100% rename from 1Cloud.S3.API/Infrastructure/Interfaces/IStorageBucketRepository.cs rename to OneCloud.S3.API/Infrastructure/Interfaces/IStorageBucketRepository.cs diff --git a/1Cloud.S3.API/Infrastructure/Interfaces/IStorageObjectRepository.cs b/OneCloud.S3.API/Infrastructure/Interfaces/IStorageObjectRepository.cs similarity index 100% rename from 1Cloud.S3.API/Infrastructure/Interfaces/IStorageObjectRepository.cs rename to OneCloud.S3.API/Infrastructure/Interfaces/IStorageObjectRepository.cs diff --git a/1Cloud.S3.API/Infrastructure/Interfaces/IStorageRepository.cs b/OneCloud.S3.API/Infrastructure/Interfaces/IStorageRepository.cs similarity index 100% rename from 1Cloud.S3.API/Infrastructure/Interfaces/IStorageRepository.cs rename to OneCloud.S3.API/Infrastructure/Interfaces/IStorageRepository.cs diff --git a/1Cloud.S3.API/Infrastructure/StorageRepository.cs b/OneCloud.S3.API/Infrastructure/StorageRepository.cs similarity index 100% rename from 1Cloud.S3.API/Infrastructure/StorageRepository.cs rename to OneCloud.S3.API/Infrastructure/StorageRepository.cs diff --git a/1Cloud.S3.API/Models/Dto/BucketDto.cs b/OneCloud.S3.API/Models/Dto/BucketDto.cs similarity index 100% rename from 1Cloud.S3.API/Models/Dto/BucketDto.cs rename to OneCloud.S3.API/Models/Dto/BucketDto.cs diff --git a/1Cloud.S3.API/Models/Dto/ObjectDto.cs b/OneCloud.S3.API/Models/Dto/ObjectDto.cs similarity index 100% rename from 1Cloud.S3.API/Models/Dto/ObjectDto.cs rename to OneCloud.S3.API/Models/Dto/ObjectDto.cs diff --git a/1Cloud.S3.API/Models/Dto/ObjectUrlDto.cs b/OneCloud.S3.API/Models/Dto/ObjectUrlDto.cs similarity index 100% rename from 1Cloud.S3.API/Models/Dto/ObjectUrlDto.cs rename to OneCloud.S3.API/Models/Dto/ObjectUrlDto.cs diff --git a/1Cloud.S3.API/OneCloud.S3.API.csproj b/OneCloud.S3.API/OneCloud.S3.API.csproj similarity index 100% rename from 1Cloud.S3.API/OneCloud.S3.API.csproj rename to OneCloud.S3.API/OneCloud.S3.API.csproj diff --git a/1Cloud.S3.API/Program.cs b/OneCloud.S3.API/Program.cs similarity index 100% rename from 1Cloud.S3.API/Program.cs rename to OneCloud.S3.API/Program.cs diff --git a/1Cloud.S3.API/Properties/launchSettings.json b/OneCloud.S3.API/Properties/launchSettings.json similarity index 100% rename from 1Cloud.S3.API/Properties/launchSettings.json rename to OneCloud.S3.API/Properties/launchSettings.json diff --git a/1Cloud.S3.API/appsettings.Development.json b/OneCloud.S3.API/appsettings.Development.json similarity index 100% rename from 1Cloud.S3.API/appsettings.Development.json rename to OneCloud.S3.API/appsettings.Development.json diff --git a/1Cloud.S3.API/appsettings.json b/OneCloud.S3.API/appsettings.json similarity index 100% rename from 1Cloud.S3.API/appsettings.json rename to OneCloud.S3.API/appsettings.json diff --git a/README.md b/README.md index 38302ca..739a4a7 100644 --- a/README.md +++ b/README.md @@ -14,18 +14,18 @@ S3_SECRET_KEY={YourSecretKey} ### Local development in IDE -Configure Environment variables at ```"environmentVariables"``` section in file ```Properties/launchSettings.json``` +Configure Environment variables at  `"environmentVariables"` section in file `Properties/launchSettings.json` ``` "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development", - "S3_SERVICE_URL": "https://1cloud.store", - "S3_ACCESS_KEY": "{YourDevAccesKey}", - "S3_SECRET_KEY": "{YourDevSecretKey}" +    "ASPNETCORE_ENVIRONMENT": "Development", +    "S3_SERVICE_URL": "https://1cloud.store", +    "S3_ACCESS_KEY": "{YourDevAccesKey}", +    "S3_SECRET_KEY": "{YourDevSecretKey}" } ``` -## Docker image +## Docker image (linux-x64) | Container image repository | Last Build | | -- | -- | diff --git a/one-cloud-s3-api.sln b/one-cloud-s3-api.sln index 3fecc51..f962193 100644 --- a/one-cloud-s3-api.sln +++ b/one-cloud-s3-api.sln @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.2.32422.2 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OneCloud.S3.API", "1Cloud.S3.API\OneCloud.S3.API.csproj", "{0F627F4B-4E13-43D6-BC5F-81955ABC8CD3}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OneCloud.S3.API", "OneCloud.S3.API\OneCloud.S3.API.csproj", "{0F627F4B-4E13-43D6-BC5F-81955ABC8CD3}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{EF031BEB-3608-478D-A34C-DA8425DA4B46}" ProjectSection(SolutionItems) = preProject