diff --git a/tasks/klementeva-ja/lab_2/README.MD b/tasks/klementeva-ja/lab_2/README.MD new file mode 100644 index 0000000..9ec4ef4 --- /dev/null +++ b/tasks/klementeva-ja/lab_2/README.MD @@ -0,0 +1,75 @@ +# Отчёт по лабораторной работе №2 + +Выполнил: студентка гр. ИСЭбд-41 Клементьева Жанна. + +Вариант программы 1: Ищет в каталоге `/var/data` файл с наибольшим количеством строк и перекладывает его в `/var/result/data.txt`. + +Вариант программы 2: Ищет наименьшее число из файла `/var/data/data.txt` и сохраняет количество таких чисел из последовательности в `/var/result/result.txt`. + +## Создание приложений + +Создадим 2 приложения. +Был выбран язык C# и технология .NET 6, потому что потому. + +Для создания обычных консольных приложений воспользуемся командами: + +```sh +dotnet new console -o worker-1 +dotnet new console -o worker-2 +``` + +Согласно варианту программа 1 ищет в каталоге `/var/data` файл с наибольшим количеством строк и перекладывает его в `/var/result/data.txt`. + +[Исходный текст программы worker-1](worker-1/Program.cs) + +Согласно варианту программа 2 ищет наименьшее число из файла `/var/data/data.txt` и сохраняет количество таких чисел из последовательности в `/var/result/result.txt`. + +[Исходный текст программы worker-2](worker-2/Program.cs) + +Дополнительно создан файл [.gitignore](.gitignore) для того, чтобы не закоммитить в git ничего лишнего. + +## Настройка окружения + +Для связи двух приложений воспользуемся следующей схемой: + +1. Каталог `./data` должен быть примонтирован в каталог `/var/data` для программы 1. + Оттуда будут браться исходные данные. +2. Каталог `./result-1` должен быть примонтирован в каталог `/var/result` для программы 2. + Туда будут складываться промежуточные данные. +3. Каталог `./result-1` также должен быть примонтирован в каталог `/var/data` для программы 2. + Оттуда будут браться промежуточные результаты. +4. Каталог `./result` должен быть примонтирован в каталог `/var/result` для программы 2. + Туда будут складывать результаты финальной обработки. + +Для каждой программы были созданы файлы Dockerfile ([программа 1](worker-1/Dockerfile.yml), [программа 2](worker-1/Dockerfile.yml)) с подробным описанием процесса сборки. + +Был создан файл [docker-compose.yml](docker-compose.yml), в котором указан манифест для запуска распределённого приложения. + +Дополнительно был создан файл [.dockerignore](.dockerignore) и дополнен [.gitignore](.gitignore), чтобы исключить для сборки и коммита всё лишнее. + +## Сборка и запуск + +В каталог `./data` помещены 2 файла. +В первом файле были числа 1 2 3, во втором 1 1 7 5 3 1. + +Для запуска приложения необходимо ввести команду `docker compose up ---build`. + +Результат запуска после сборки: + +``` +[+] Running 2/0 + - Container lab_2-worker-1-1 Created + - Container lab_2-worker-2-1 Created +Attaching to lab_2-worker-1-1, lab_2-worker-2-1 +lab_2-worker-1-1 | Начало обработки файла /var/data/another data.txt +lab_2-worker-1-1 | Начало обработки файла /var/data/data.txt +lab_2-worker-1-1 exited with code 0 +lab_2-worker-2-1 | Чисел для обработки: 8 +lab_2-worker-2-1 exited with code 0 +``` + +В результате в каталоге `./result` создался файл `result.txt` с содержимым `3`, что соответствует входным данным. + +Изменение значений в файлах из каталога `./data` также изменяет содержимое в файлах из каталогов `./result-1` и `./result`. + +![resultat](resultat.png) \ No newline at end of file diff --git a/tasks/klementeva-ja/lab_2/docker-compose.yml b/tasks/klementeva-ja/lab_2/docker-compose.yml new file mode 100644 index 0000000..ef6bc7d --- /dev/null +++ b/tasks/klementeva-ja/lab_2/docker-compose.yml @@ -0,0 +1,16 @@ +version: "3.1" +services: + worker-1: + build: ./worker-1 + volumes: + #монтируем локальную папку в запущенный образ контейнера + - ./data:/var/data + - ./result-1:/var/result + worker-2: + build: ./worker-2 + volumes: + - ./result-1:/var/data + - ./result:/var/result + #добавляется зависимость, так как по условию второе приложение зависит от первого + depends_on: + - worker-1 \ No newline at end of file diff --git a/tasks/klementeva-ja/lab_2/obj/project.assets.json b/tasks/klementeva-ja/lab_2/obj/project.assets.json new file mode 100644 index 0000000..b40e0fb --- /dev/null +++ b/tasks/klementeva-ja/lab_2/obj/project.assets.json @@ -0,0 +1,72 @@ +{ + "version": 3, + "targets": { + "net6.0": {} + }, + "libraries": {}, + "projectFileDependencyGroups": { + "net6.0": [] + }, + "packageFolders": { + "C:\\Users\\Angelina\\.nuget\\packages\\": {}, + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\Angelina\\source\\repos\\rvip_j2\\rvip_j2.csproj", + "projectName": "rvip_j2", + "projectPath": "C:\\Users\\Angelina\\source\\repos\\rvip_j2\\rvip_j2.csproj", + "packagesPath": "C:\\Users\\Angelina\\.nuget\\packages\\", + "outputPath": "C:\\Users\\Angelina\\source\\repos\\rvip_j2\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\Angelina\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.302\\RuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/tasks/klementeva-ja/lab_2/obj/project.nuget.cache b/tasks/klementeva-ja/lab_2/obj/project.nuget.cache new file mode 100644 index 0000000..7a50acd --- /dev/null +++ b/tasks/klementeva-ja/lab_2/obj/project.nuget.cache @@ -0,0 +1,8 @@ +{ + "version": 2, + "dgSpecHash": "hiebTXlxthjXc1QJSKY3S0IQRu5qUGAH0gSd/Nco/5iDafnuAWzESuqJHEv4balZJHuPkpIs5zlfPwaMVwwrWw==", + "success": true, + "projectFilePath": "C:\\Users\\Angelina\\source\\repos\\rvip_j2\\rvip_j2.csproj", + "expectedPackageFiles": [], + "logs": [] +} \ No newline at end of file diff --git a/tasks/klementeva-ja/lab_2/obj/rvip_j2.csproj.nuget.dgspec.json b/tasks/klementeva-ja/lab_2/obj/rvip_j2.csproj.nuget.dgspec.json new file mode 100644 index 0000000..8efdf90 --- /dev/null +++ b/tasks/klementeva-ja/lab_2/obj/rvip_j2.csproj.nuget.dgspec.json @@ -0,0 +1,66 @@ +{ + "format": 1, + "restore": { + "C:\\Users\\Angelina\\source\\repos\\rvip_j2\\rvip_j2.csproj": {} + }, + "projects": { + "C:\\Users\\Angelina\\source\\repos\\rvip_j2\\rvip_j2.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\Angelina\\source\\repos\\rvip_j2\\rvip_j2.csproj", + "projectName": "rvip_j2", + "projectPath": "C:\\Users\\Angelina\\source\\repos\\rvip_j2\\rvip_j2.csproj", + "packagesPath": "C:\\Users\\Angelina\\.nuget\\packages\\", + "outputPath": "C:\\Users\\Angelina\\source\\repos\\rvip_j2\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\Angelina\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.302\\RuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/tasks/klementeva-ja/lab_2/obj/rvip_j2.csproj.nuget.g.props b/tasks/klementeva-ja/lab_2/obj/rvip_j2.csproj.nuget.g.props new file mode 100644 index 0000000..72e5252 --- /dev/null +++ b/tasks/klementeva-ja/lab_2/obj/rvip_j2.csproj.nuget.g.props @@ -0,0 +1,16 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\Angelina\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages + PackageReference + 6.2.1 + + + + + + \ No newline at end of file diff --git a/tasks/klementeva-ja/lab_2/obj/rvip_j2.csproj.nuget.g.targets b/tasks/klementeva-ja/lab_2/obj/rvip_j2.csproj.nuget.g.targets new file mode 100644 index 0000000..3dc06ef --- /dev/null +++ b/tasks/klementeva-ja/lab_2/obj/rvip_j2.csproj.nuget.g.targets @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/tasks/klementeva-ja/lab_2/resultat.png b/tasks/klementeva-ja/lab_2/resultat.png new file mode 100644 index 0000000..6a543c7 Binary files /dev/null and b/tasks/klementeva-ja/lab_2/resultat.png differ diff --git a/tasks/klementeva-ja/lab_2/rvip_j2.sln b/tasks/klementeva-ja/lab_2/rvip_j2.sln new file mode 100644 index 0000000..0ebb727 --- /dev/null +++ b/tasks/klementeva-ja/lab_2/rvip_j2.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.5.002.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "worker-1", "worker-1\worker-1.csproj", "{F6B29C3F-FC5C-4B48-A594-4B9316A21F56}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "worker-2", "worker-2\worker-2.csproj", "{B18DF6BB-6783-4F53-A5EE-140D07BF447C}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F6B29C3F-FC5C-4B48-A594-4B9316A21F56}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F6B29C3F-FC5C-4B48-A594-4B9316A21F56}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F6B29C3F-FC5C-4B48-A594-4B9316A21F56}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F6B29C3F-FC5C-4B48-A594-4B9316A21F56}.Release|Any CPU.Build.0 = Release|Any CPU + {B18DF6BB-6783-4F53-A5EE-140D07BF447C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B18DF6BB-6783-4F53-A5EE-140D07BF447C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B18DF6BB-6783-4F53-A5EE-140D07BF447C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B18DF6BB-6783-4F53-A5EE-140D07BF447C}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {D0BD68D2-E574-457E-B29C-4A1167DE76D6} + EndGlobalSection +EndGlobal diff --git a/tasks/klementeva-ja/lab_2/var/data/anotherData.txt b/tasks/klementeva-ja/lab_2/var/data/anotherData.txt new file mode 100644 index 0000000..5f5fbe7 --- /dev/null +++ b/tasks/klementeva-ja/lab_2/var/data/anotherData.txt @@ -0,0 +1,3 @@ +1 +2 +3 \ No newline at end of file diff --git a/tasks/klementeva-ja/lab_2/var/data/data.txt b/tasks/klementeva-ja/lab_2/var/data/data.txt new file mode 100644 index 0000000..81ef1e5 --- /dev/null +++ b/tasks/klementeva-ja/lab_2/var/data/data.txt @@ -0,0 +1,6 @@ +1 +1 +7 +5 +3 +1 \ No newline at end of file diff --git a/tasks/klementeva-ja/lab_2/var/result/data.txt b/tasks/klementeva-ja/lab_2/var/result/data.txt new file mode 100644 index 0000000..85954ea --- /dev/null +++ b/tasks/klementeva-ja/lab_2/var/result/data.txt @@ -0,0 +1,5 @@ +1 +2 +3 +4 +5 \ No newline at end of file diff --git a/tasks/klementeva-ja/lab_2/var/result/result.txt b/tasks/klementeva-ja/lab_2/var/result/result.txt new file mode 100644 index 0000000..d89575e --- /dev/null +++ b/tasks/klementeva-ja/lab_2/var/result/result.txt @@ -0,0 +1 @@ +3147483647 \ No newline at end of file diff --git a/tasks/klementeva-ja/lab_2/worker-1/Dockerfile b/tasks/klementeva-ja/lab_2/worker-1/Dockerfile new file mode 100644 index 0000000..c73f2c2 --- /dev/null +++ b/tasks/klementeva-ja/lab_2/worker-1/Dockerfile @@ -0,0 +1,15 @@ +#указываем образ из которого будем брать все слои +FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build-env +#папка, с которой мы будем работать +WORKDIR /App +#копируем файл в рабочую дерикторию +COPY . ./ +#запускаем команду +RUN dotnet restore +RUN dotnet publish -c Release -o out + +FROM mcr.microsoft.com/dotnet/aspnet:6.0 +WORKDIR /App +#копирует не из файловой системы хоста, а из того, что собрали на прерыдущей стадии +COPY --from=build-env /App/out . +ENTRYPOINT ["dotnet", "worker-1.dll"] \ No newline at end of file diff --git a/tasks/klementeva-ja/lab_2/worker-1/Program.cs b/tasks/klementeva-ja/lab_2/worker-1/Program.cs new file mode 100644 index 0000000..a3e4153 --- /dev/null +++ b/tasks/klementeva-ja/lab_2/worker-1/Program.cs @@ -0,0 +1,13 @@ +var files = Directory.GetFiles("/var/data"); +int maxCount = 0; +string lagrestFile = ""; +foreach(var file in files){ + var lines = File.ReadAllLines(file); + if(lines.Count() > maxCount){ + maxCount = lines.Count(); + lagrestFile = file; + } +} +if(File.Exists("/var/result/data.txt")) + File.Delete("/var/result/data.txt"); +File.Move(lagrestFile, "/var/result/data.txt"); \ No newline at end of file diff --git a/tasks/klementeva-ja/lab_2/worker-1/bin/Debug/net6.0/worker-1.deps.json b/tasks/klementeva-ja/lab_2/worker-1/bin/Debug/net6.0/worker-1.deps.json new file mode 100644 index 0000000..1c01d09 --- /dev/null +++ b/tasks/klementeva-ja/lab_2/worker-1/bin/Debug/net6.0/worker-1.deps.json @@ -0,0 +1,23 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v6.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v6.0": { + "worker-1/1.0.0": { + "runtime": { + "worker-1.dll": {} + } + } + } + }, + "libraries": { + "worker-1/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + } + } +} \ No newline at end of file diff --git a/tasks/klementeva-ja/lab_2/worker-1/bin/Debug/net6.0/worker-1.dll b/tasks/klementeva-ja/lab_2/worker-1/bin/Debug/net6.0/worker-1.dll new file mode 100644 index 0000000..6ab7c90 Binary files /dev/null and b/tasks/klementeva-ja/lab_2/worker-1/bin/Debug/net6.0/worker-1.dll differ diff --git a/tasks/klementeva-ja/lab_2/worker-1/bin/Debug/net6.0/worker-1.exe b/tasks/klementeva-ja/lab_2/worker-1/bin/Debug/net6.0/worker-1.exe new file mode 100644 index 0000000..95a60a0 Binary files /dev/null and b/tasks/klementeva-ja/lab_2/worker-1/bin/Debug/net6.0/worker-1.exe differ diff --git a/tasks/klementeva-ja/lab_2/worker-1/bin/Debug/net6.0/worker-1.pdb b/tasks/klementeva-ja/lab_2/worker-1/bin/Debug/net6.0/worker-1.pdb new file mode 100644 index 0000000..10ead5a Binary files /dev/null and b/tasks/klementeva-ja/lab_2/worker-1/bin/Debug/net6.0/worker-1.pdb differ diff --git a/tasks/klementeva-ja/lab_2/worker-1/bin/Debug/net6.0/worker-1.runtimeconfig.json b/tasks/klementeva-ja/lab_2/worker-1/bin/Debug/net6.0/worker-1.runtimeconfig.json new file mode 100644 index 0000000..4986d16 --- /dev/null +++ b/tasks/klementeva-ja/lab_2/worker-1/bin/Debug/net6.0/worker-1.runtimeconfig.json @@ -0,0 +1,9 @@ +{ + "runtimeOptions": { + "tfm": "net6.0", + "framework": { + "name": "Microsoft.NETCore.App", + "version": "6.0.0" + } + } +} \ No newline at end of file diff --git a/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs b/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs new file mode 100644 index 0000000..36203c7 --- /dev/null +++ b/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = "")] diff --git a/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/apphost.exe b/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/apphost.exe new file mode 100644 index 0000000..95a60a0 Binary files /dev/null and b/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/apphost.exe differ diff --git a/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/ref/worker-1.dll b/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/ref/worker-1.dll new file mode 100644 index 0000000..6875183 Binary files /dev/null and b/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/ref/worker-1.dll differ diff --git a/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/refint/worker-1.dll b/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/refint/worker-1.dll new file mode 100644 index 0000000..6875183 Binary files /dev/null and b/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/refint/worker-1.dll differ diff --git a/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/worker-1.AssemblyInfo.cs b/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/worker-1.AssemblyInfo.cs new file mode 100644 index 0000000..25baa3c --- /dev/null +++ b/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/worker-1.AssemblyInfo.cs @@ -0,0 +1,22 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("worker-1")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("worker-1")] +[assembly: System.Reflection.AssemblyTitleAttribute("worker-1")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Создано классом WriteCodeFragment MSBuild. + diff --git a/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/worker-1.AssemblyInfoInputs.cache b/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/worker-1.AssemblyInfoInputs.cache new file mode 100644 index 0000000..e9ea1a8 --- /dev/null +++ b/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/worker-1.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +9b423a53481895e7341de7e28fe8c945c03908af diff --git a/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/worker-1.GeneratedMSBuildEditorConfig.editorconfig b/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/worker-1.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..02644a6 --- /dev/null +++ b/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/worker-1.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,10 @@ +is_global = true +build_property.TargetFramework = net6.0 +build_property.TargetPlatformMinVersion = +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = worker_1 +build_property.ProjectDir = C:\Users\Angelina\source\repos\rvip_j2\worker-1\ diff --git a/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/worker-1.GlobalUsings.g.cs b/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/worker-1.GlobalUsings.g.cs new file mode 100644 index 0000000..8578f3d --- /dev/null +++ b/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/worker-1.GlobalUsings.g.cs @@ -0,0 +1,8 @@ +// +global using global::System; +global using global::System.Collections.Generic; +global using global::System.IO; +global using global::System.Linq; +global using global::System.Net.Http; +global using global::System.Threading; +global using global::System.Threading.Tasks; diff --git a/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/worker-1.assets.cache b/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/worker-1.assets.cache new file mode 100644 index 0000000..eceb811 Binary files /dev/null and b/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/worker-1.assets.cache differ diff --git a/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/worker-1.csproj.AssemblyReference.cache b/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/worker-1.csproj.AssemblyReference.cache new file mode 100644 index 0000000..08b8f4f Binary files /dev/null and b/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/worker-1.csproj.AssemblyReference.cache differ diff --git a/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/worker-1.csproj.CoreCompileInputs.cache b/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/worker-1.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..477de28 --- /dev/null +++ b/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/worker-1.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +2ce983111ab3dfd18d5a764821ca2badebb59785 diff --git a/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/worker-1.csproj.FileListAbsolute.txt b/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/worker-1.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..6a20f70 --- /dev/null +++ b/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/worker-1.csproj.FileListAbsolute.txt @@ -0,0 +1,15 @@ +C:\Users\Angelina\source\repos\rvip_j2\worker-1\bin\Debug\net6.0\worker-1.exe +C:\Users\Angelina\source\repos\rvip_j2\worker-1\bin\Debug\net6.0\worker-1.deps.json +C:\Users\Angelina\source\repos\rvip_j2\worker-1\bin\Debug\net6.0\worker-1.runtimeconfig.json +C:\Users\Angelina\source\repos\rvip_j2\worker-1\bin\Debug\net6.0\worker-1.dll +C:\Users\Angelina\source\repos\rvip_j2\worker-1\bin\Debug\net6.0\worker-1.pdb +C:\Users\Angelina\source\repos\rvip_j2\worker-1\obj\Debug\net6.0\worker-1.csproj.AssemblyReference.cache +C:\Users\Angelina\source\repos\rvip_j2\worker-1\obj\Debug\net6.0\worker-1.GeneratedMSBuildEditorConfig.editorconfig +C:\Users\Angelina\source\repos\rvip_j2\worker-1\obj\Debug\net6.0\worker-1.AssemblyInfoInputs.cache +C:\Users\Angelina\source\repos\rvip_j2\worker-1\obj\Debug\net6.0\worker-1.AssemblyInfo.cs +C:\Users\Angelina\source\repos\rvip_j2\worker-1\obj\Debug\net6.0\worker-1.csproj.CoreCompileInputs.cache +C:\Users\Angelina\source\repos\rvip_j2\worker-1\obj\Debug\net6.0\worker-1.dll +C:\Users\Angelina\source\repos\rvip_j2\worker-1\obj\Debug\net6.0\refint\worker-1.dll +C:\Users\Angelina\source\repos\rvip_j2\worker-1\obj\Debug\net6.0\worker-1.pdb +C:\Users\Angelina\source\repos\rvip_j2\worker-1\obj\Debug\net6.0\worker-1.genruntimeconfig.cache +C:\Users\Angelina\source\repos\rvip_j2\worker-1\obj\Debug\net6.0\ref\worker-1.dll diff --git a/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/worker-1.dll b/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/worker-1.dll new file mode 100644 index 0000000..6ab7c90 Binary files /dev/null and b/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/worker-1.dll differ diff --git a/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/worker-1.genruntimeconfig.cache b/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/worker-1.genruntimeconfig.cache new file mode 100644 index 0000000..5d638ef --- /dev/null +++ b/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/worker-1.genruntimeconfig.cache @@ -0,0 +1 @@ +09fd2cb6c9c353226ef9a0fc0e4386552dffb164 diff --git a/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/worker-1.pdb b/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/worker-1.pdb new file mode 100644 index 0000000..10ead5a Binary files /dev/null and b/tasks/klementeva-ja/lab_2/worker-1/obj/Debug/net6.0/worker-1.pdb differ diff --git a/tasks/klementeva-ja/lab_2/worker-1/obj/project.assets.json b/tasks/klementeva-ja/lab_2/worker-1/obj/project.assets.json new file mode 100644 index 0000000..3214f22 --- /dev/null +++ b/tasks/klementeva-ja/lab_2/worker-1/obj/project.assets.json @@ -0,0 +1,72 @@ +{ + "version": 3, + "targets": { + "net6.0": {} + }, + "libraries": {}, + "projectFileDependencyGroups": { + "net6.0": [] + }, + "packageFolders": { + "C:\\Users\\Angelina\\.nuget\\packages\\": {}, + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\Angelina\\source\\repos\\rvip_j2\\worker-1\\worker-1.csproj", + "projectName": "worker-1", + "projectPath": "C:\\Users\\Angelina\\source\\repos\\rvip_j2\\worker-1\\worker-1.csproj", + "packagesPath": "C:\\Users\\Angelina\\.nuget\\packages\\", + "outputPath": "C:\\Users\\Angelina\\source\\repos\\rvip_j2\\worker-1\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\Angelina\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.302\\RuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/tasks/klementeva-ja/lab_2/worker-1/obj/project.nuget.cache b/tasks/klementeva-ja/lab_2/worker-1/obj/project.nuget.cache new file mode 100644 index 0000000..0f2db76 --- /dev/null +++ b/tasks/klementeva-ja/lab_2/worker-1/obj/project.nuget.cache @@ -0,0 +1,8 @@ +{ + "version": 2, + "dgSpecHash": "C2anyFjtRK0Epm22JYF/qjf/rPQav2nfpkocjB7jwVD+lUPaShv6REMOWux8v/WiQkOsZJDmvzWFBToAD24j9g==", + "success": true, + "projectFilePath": "C:\\Users\\Angelina\\source\\repos\\rvip_j2\\worker-1\\worker-1.csproj", + "expectedPackageFiles": [], + "logs": [] +} \ No newline at end of file diff --git a/tasks/klementeva-ja/lab_2/worker-1/obj/worker-1.csproj.nuget.dgspec.json b/tasks/klementeva-ja/lab_2/worker-1/obj/worker-1.csproj.nuget.dgspec.json new file mode 100644 index 0000000..e0e67cd --- /dev/null +++ b/tasks/klementeva-ja/lab_2/worker-1/obj/worker-1.csproj.nuget.dgspec.json @@ -0,0 +1,66 @@ +{ + "format": 1, + "restore": { + "C:\\Users\\Angelina\\source\\repos\\rvip_j2\\worker-1\\worker-1.csproj": {} + }, + "projects": { + "C:\\Users\\Angelina\\source\\repos\\rvip_j2\\worker-1\\worker-1.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\Angelina\\source\\repos\\rvip_j2\\worker-1\\worker-1.csproj", + "projectName": "worker-1", + "projectPath": "C:\\Users\\Angelina\\source\\repos\\rvip_j2\\worker-1\\worker-1.csproj", + "packagesPath": "C:\\Users\\Angelina\\.nuget\\packages\\", + "outputPath": "C:\\Users\\Angelina\\source\\repos\\rvip_j2\\worker-1\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\Angelina\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.302\\RuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/tasks/klementeva-ja/lab_2/worker-1/obj/worker-1.csproj.nuget.g.props b/tasks/klementeva-ja/lab_2/worker-1/obj/worker-1.csproj.nuget.g.props new file mode 100644 index 0000000..72e5252 --- /dev/null +++ b/tasks/klementeva-ja/lab_2/worker-1/obj/worker-1.csproj.nuget.g.props @@ -0,0 +1,16 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\Angelina\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages + PackageReference + 6.2.1 + + + + + + \ No newline at end of file diff --git a/tasks/klementeva-ja/lab_2/worker-1/obj/worker-1.csproj.nuget.g.targets b/tasks/klementeva-ja/lab_2/worker-1/obj/worker-1.csproj.nuget.g.targets new file mode 100644 index 0000000..3dc06ef --- /dev/null +++ b/tasks/klementeva-ja/lab_2/worker-1/obj/worker-1.csproj.nuget.g.targets @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/tasks/klementeva-ja/lab_2/worker-1/worker-1.csproj b/tasks/klementeva-ja/lab_2/worker-1/worker-1.csproj new file mode 100644 index 0000000..3f5cb43 --- /dev/null +++ b/tasks/klementeva-ja/lab_2/worker-1/worker-1.csproj @@ -0,0 +1,11 @@ + + + + Exe + net6.0 + worker_1 + enable + enable + + + diff --git a/tasks/klementeva-ja/lab_2/worker-2/Dockerfile b/tasks/klementeva-ja/lab_2/worker-2/Dockerfile new file mode 100644 index 0000000..79dccce --- /dev/null +++ b/tasks/klementeva-ja/lab_2/worker-2/Dockerfile @@ -0,0 +1,15 @@ +#указываем образ из которого будем брать все слои +FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build-env +#папка, с которой мы будем работать +WORKDIR /App +#копируем файл в рабочую дерикторию +COPY . ./ +#запускаем команду +RUN dotnet restore +RUN dotnet publish -c Release -o out + +FROM mcr.microsoft.com/dotnet/aspnet:6.0 +WORKDIR /App +#копирует не из файловой системы хоста, а из того, что собрали на прерыдущей стадии +COPY --from=build-env /App/out . +ENTRYPOINT ["dotnet", "worker-2.dll"] \ No newline at end of file diff --git a/tasks/klementeva-ja/lab_2/worker-2/Program.cs b/tasks/klementeva-ja/lab_2/worker-2/Program.cs new file mode 100644 index 0000000..2d10218 --- /dev/null +++ b/tasks/klementeva-ja/lab_2/worker-2/Program.cs @@ -0,0 +1,23 @@ +using System.Text; + +int[] numbers = File.ReadAllLines("/var/data/data.txt").Select(x=> int.Parse(x)).ToArray(); +int minNumber = int.MaxValue; +int minNumberCount = 0; +foreach(var number in numbers){ + if(number > minNumber){ + continue; + } + if(number == minNumber){ + minNumberCount++; + continue; + } + if(number < minNumber){ + minNumber = number; + minNumberCount = 1; + } +} +using(FileStream fstream = new FileStream("/var/result/result.txt", FileMode.OpenOrCreate)){ + byte[] buffer = Encoding.Default.GetBytes(minNumberCount.ToString()); + await fstream.WriteAsync(buffer, 0, buffer.Length); +} +Console.WriteLine(minNumberCount); \ No newline at end of file diff --git a/tasks/klementeva-ja/lab_2/worker-2/bin/Debug/net6.0/worker-2.deps.json b/tasks/klementeva-ja/lab_2/worker-2/bin/Debug/net6.0/worker-2.deps.json new file mode 100644 index 0000000..61ad1b9 --- /dev/null +++ b/tasks/klementeva-ja/lab_2/worker-2/bin/Debug/net6.0/worker-2.deps.json @@ -0,0 +1,23 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v6.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v6.0": { + "worker-2/1.0.0": { + "runtime": { + "worker-2.dll": {} + } + } + } + }, + "libraries": { + "worker-2/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + } + } +} \ No newline at end of file diff --git a/tasks/klementeva-ja/lab_2/worker-2/bin/Debug/net6.0/worker-2.dll b/tasks/klementeva-ja/lab_2/worker-2/bin/Debug/net6.0/worker-2.dll new file mode 100644 index 0000000..f8560cc Binary files /dev/null and b/tasks/klementeva-ja/lab_2/worker-2/bin/Debug/net6.0/worker-2.dll differ diff --git a/tasks/klementeva-ja/lab_2/worker-2/bin/Debug/net6.0/worker-2.exe b/tasks/klementeva-ja/lab_2/worker-2/bin/Debug/net6.0/worker-2.exe new file mode 100644 index 0000000..01aa4fc Binary files /dev/null and b/tasks/klementeva-ja/lab_2/worker-2/bin/Debug/net6.0/worker-2.exe differ diff --git a/tasks/klementeva-ja/lab_2/worker-2/bin/Debug/net6.0/worker-2.pdb b/tasks/klementeva-ja/lab_2/worker-2/bin/Debug/net6.0/worker-2.pdb new file mode 100644 index 0000000..642ec33 Binary files /dev/null and b/tasks/klementeva-ja/lab_2/worker-2/bin/Debug/net6.0/worker-2.pdb differ diff --git a/tasks/klementeva-ja/lab_2/worker-2/bin/Debug/net6.0/worker-2.runtimeconfig.json b/tasks/klementeva-ja/lab_2/worker-2/bin/Debug/net6.0/worker-2.runtimeconfig.json new file mode 100644 index 0000000..4986d16 --- /dev/null +++ b/tasks/klementeva-ja/lab_2/worker-2/bin/Debug/net6.0/worker-2.runtimeconfig.json @@ -0,0 +1,9 @@ +{ + "runtimeOptions": { + "tfm": "net6.0", + "framework": { + "name": "Microsoft.NETCore.App", + "version": "6.0.0" + } + } +} \ No newline at end of file diff --git a/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs b/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs new file mode 100644 index 0000000..36203c7 --- /dev/null +++ b/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = "")] diff --git a/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/apphost.exe b/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/apphost.exe new file mode 100644 index 0000000..01aa4fc Binary files /dev/null and b/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/apphost.exe differ diff --git a/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/ref/worker-2.dll b/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/ref/worker-2.dll new file mode 100644 index 0000000..f329dc7 Binary files /dev/null and b/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/ref/worker-2.dll differ diff --git a/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/refint/worker-2.dll b/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/refint/worker-2.dll new file mode 100644 index 0000000..f329dc7 Binary files /dev/null and b/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/refint/worker-2.dll differ diff --git a/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/worker-2.AssemblyInfo.cs b/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/worker-2.AssemblyInfo.cs new file mode 100644 index 0000000..0637a38 --- /dev/null +++ b/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/worker-2.AssemblyInfo.cs @@ -0,0 +1,22 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("worker-2")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("worker-2")] +[assembly: System.Reflection.AssemblyTitleAttribute("worker-2")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Создано классом WriteCodeFragment MSBuild. + diff --git a/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/worker-2.AssemblyInfoInputs.cache b/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/worker-2.AssemblyInfoInputs.cache new file mode 100644 index 0000000..99743a5 --- /dev/null +++ b/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/worker-2.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +643bd591d6cbf6f32b3a54c41a97b5a36f4e7d08 diff --git a/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/worker-2.GeneratedMSBuildEditorConfig.editorconfig b/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/worker-2.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..1a2b9a7 --- /dev/null +++ b/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/worker-2.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,10 @@ +is_global = true +build_property.TargetFramework = net6.0 +build_property.TargetPlatformMinVersion = +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = worker_2 +build_property.ProjectDir = C:\Users\Angelina\source\repos\rvip_j2\worker-2\ diff --git a/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/worker-2.GlobalUsings.g.cs b/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/worker-2.GlobalUsings.g.cs new file mode 100644 index 0000000..8578f3d --- /dev/null +++ b/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/worker-2.GlobalUsings.g.cs @@ -0,0 +1,8 @@ +// +global using global::System; +global using global::System.Collections.Generic; +global using global::System.IO; +global using global::System.Linq; +global using global::System.Net.Http; +global using global::System.Threading; +global using global::System.Threading.Tasks; diff --git a/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/worker-2.assets.cache b/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/worker-2.assets.cache new file mode 100644 index 0000000..3b3359a Binary files /dev/null and b/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/worker-2.assets.cache differ diff --git a/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/worker-2.csproj.AssemblyReference.cache b/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/worker-2.csproj.AssemblyReference.cache new file mode 100644 index 0000000..08b8f4f Binary files /dev/null and b/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/worker-2.csproj.AssemblyReference.cache differ diff --git a/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/worker-2.csproj.CoreCompileInputs.cache b/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/worker-2.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..de1748e --- /dev/null +++ b/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/worker-2.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +54c8c991314c63255ce51a9987c7a47af1851b61 diff --git a/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/worker-2.csproj.FileListAbsolute.txt b/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/worker-2.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..ae1ff4b --- /dev/null +++ b/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/worker-2.csproj.FileListAbsolute.txt @@ -0,0 +1,15 @@ +C:\Users\Angelina\source\repos\rvip_j2\worker-2\bin\Debug\net6.0\worker-2.exe +C:\Users\Angelina\source\repos\rvip_j2\worker-2\bin\Debug\net6.0\worker-2.deps.json +C:\Users\Angelina\source\repos\rvip_j2\worker-2\bin\Debug\net6.0\worker-2.runtimeconfig.json +C:\Users\Angelina\source\repos\rvip_j2\worker-2\bin\Debug\net6.0\worker-2.dll +C:\Users\Angelina\source\repos\rvip_j2\worker-2\bin\Debug\net6.0\worker-2.pdb +C:\Users\Angelina\source\repos\rvip_j2\worker-2\obj\Debug\net6.0\worker-2.csproj.AssemblyReference.cache +C:\Users\Angelina\source\repos\rvip_j2\worker-2\obj\Debug\net6.0\worker-2.GeneratedMSBuildEditorConfig.editorconfig +C:\Users\Angelina\source\repos\rvip_j2\worker-2\obj\Debug\net6.0\worker-2.AssemblyInfoInputs.cache +C:\Users\Angelina\source\repos\rvip_j2\worker-2\obj\Debug\net6.0\worker-2.AssemblyInfo.cs +C:\Users\Angelina\source\repos\rvip_j2\worker-2\obj\Debug\net6.0\worker-2.csproj.CoreCompileInputs.cache +C:\Users\Angelina\source\repos\rvip_j2\worker-2\obj\Debug\net6.0\worker-2.dll +C:\Users\Angelina\source\repos\rvip_j2\worker-2\obj\Debug\net6.0\refint\worker-2.dll +C:\Users\Angelina\source\repos\rvip_j2\worker-2\obj\Debug\net6.0\worker-2.pdb +C:\Users\Angelina\source\repos\rvip_j2\worker-2\obj\Debug\net6.0\worker-2.genruntimeconfig.cache +C:\Users\Angelina\source\repos\rvip_j2\worker-2\obj\Debug\net6.0\ref\worker-2.dll diff --git a/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/worker-2.dll b/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/worker-2.dll new file mode 100644 index 0000000..f8560cc Binary files /dev/null and b/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/worker-2.dll differ diff --git a/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/worker-2.genruntimeconfig.cache b/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/worker-2.genruntimeconfig.cache new file mode 100644 index 0000000..ab5478f --- /dev/null +++ b/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/worker-2.genruntimeconfig.cache @@ -0,0 +1 @@ +caad38d25e12a3a0db3d3cf805a9a40b1b91fcfb diff --git a/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/worker-2.pdb b/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/worker-2.pdb new file mode 100644 index 0000000..642ec33 Binary files /dev/null and b/tasks/klementeva-ja/lab_2/worker-2/obj/Debug/net6.0/worker-2.pdb differ diff --git a/tasks/klementeva-ja/lab_2/worker-2/obj/project.assets.json b/tasks/klementeva-ja/lab_2/worker-2/obj/project.assets.json new file mode 100644 index 0000000..15067a8 --- /dev/null +++ b/tasks/klementeva-ja/lab_2/worker-2/obj/project.assets.json @@ -0,0 +1,72 @@ +{ + "version": 3, + "targets": { + "net6.0": {} + }, + "libraries": {}, + "projectFileDependencyGroups": { + "net6.0": [] + }, + "packageFolders": { + "C:\\Users\\Angelina\\.nuget\\packages\\": {}, + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\Angelina\\source\\repos\\rvip_j2\\worker-2\\worker-2.csproj", + "projectName": "worker-2", + "projectPath": "C:\\Users\\Angelina\\source\\repos\\rvip_j2\\worker-2\\worker-2.csproj", + "packagesPath": "C:\\Users\\Angelina\\.nuget\\packages\\", + "outputPath": "C:\\Users\\Angelina\\source\\repos\\rvip_j2\\worker-2\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\Angelina\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.302\\RuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/tasks/klementeva-ja/lab_2/worker-2/obj/project.nuget.cache b/tasks/klementeva-ja/lab_2/worker-2/obj/project.nuget.cache new file mode 100644 index 0000000..6e2c464 --- /dev/null +++ b/tasks/klementeva-ja/lab_2/worker-2/obj/project.nuget.cache @@ -0,0 +1,8 @@ +{ + "version": 2, + "dgSpecHash": "wYIsdvPg4RwdU+jlKSXlZS7arFd51dWDos+biLAT6ep3sLL46XF1K/YmWYLWFaVsuqdW2jYpoSBn/Bir3GgdAw==", + "success": true, + "projectFilePath": "C:\\Users\\Angelina\\source\\repos\\rvip_j2\\worker-2\\worker-2.csproj", + "expectedPackageFiles": [], + "logs": [] +} \ No newline at end of file diff --git a/tasks/klementeva-ja/lab_2/worker-2/obj/worker-2.csproj.nuget.dgspec.json b/tasks/klementeva-ja/lab_2/worker-2/obj/worker-2.csproj.nuget.dgspec.json new file mode 100644 index 0000000..ec58bf6 --- /dev/null +++ b/tasks/klementeva-ja/lab_2/worker-2/obj/worker-2.csproj.nuget.dgspec.json @@ -0,0 +1,66 @@ +{ + "format": 1, + "restore": { + "C:\\Users\\Angelina\\source\\repos\\rvip_j2\\worker-2\\worker-2.csproj": {} + }, + "projects": { + "C:\\Users\\Angelina\\source\\repos\\rvip_j2\\worker-2\\worker-2.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\Angelina\\source\\repos\\rvip_j2\\worker-2\\worker-2.csproj", + "projectName": "worker-2", + "projectPath": "C:\\Users\\Angelina\\source\\repos\\rvip_j2\\worker-2\\worker-2.csproj", + "packagesPath": "C:\\Users\\Angelina\\.nuget\\packages\\", + "outputPath": "C:\\Users\\Angelina\\source\\repos\\rvip_j2\\worker-2\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\Angelina\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.302\\RuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/tasks/klementeva-ja/lab_2/worker-2/obj/worker-2.csproj.nuget.g.props b/tasks/klementeva-ja/lab_2/worker-2/obj/worker-2.csproj.nuget.g.props new file mode 100644 index 0000000..72e5252 --- /dev/null +++ b/tasks/klementeva-ja/lab_2/worker-2/obj/worker-2.csproj.nuget.g.props @@ -0,0 +1,16 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\Angelina\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages + PackageReference + 6.2.1 + + + + + + \ No newline at end of file diff --git a/tasks/klementeva-ja/lab_2/worker-2/obj/worker-2.csproj.nuget.g.targets b/tasks/klementeva-ja/lab_2/worker-2/obj/worker-2.csproj.nuget.g.targets new file mode 100644 index 0000000..3dc06ef --- /dev/null +++ b/tasks/klementeva-ja/lab_2/worker-2/obj/worker-2.csproj.nuget.g.targets @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/tasks/klementeva-ja/lab_2/worker-2/worker-2.csproj b/tasks/klementeva-ja/lab_2/worker-2/worker-2.csproj new file mode 100644 index 0000000..960073b --- /dev/null +++ b/tasks/klementeva-ja/lab_2/worker-2/worker-2.csproj @@ -0,0 +1,11 @@ + + + + Exe + net6.0 + worker_2 + enable + enable + + +