diff --git a/tasks/klementeva-ja/lab_1/Mediawiki.png b/tasks/klementeva-ja/lab_1/Mediawiki.png new file mode 100644 index 0000000..f60ed60 Binary files /dev/null and b/tasks/klementeva-ja/lab_1/Mediawiki.png differ diff --git a/tasks/klementeva-ja/lab_1/README.md b/tasks/klementeva-ja/lab_1/README.md new file mode 100644 index 0000000..6ce713f --- /dev/null +++ b/tasks/klementeva-ja/lab_1/README.md @@ -0,0 +1,158 @@ +# Отчёт по лабораторной работе №1 + +Выполнил: студент гр. ИСЭБД-41 Клементьева Жанна. + +## Разворачивание сервера Wordpress + +Содержимое файла `docker-compose.yml`: + +```yaml +version: '3' + +services: # Описание контейнеров + db: # База данных + image: mysql:5.7 # Образ базы данных и версия + volumes: # Тома для хранения данных, для контейнеров + - db_data:/var/lib/mysql + restart: always # Параметр перезапуска БД + environment: # Переменные среды для контейнера + MYSQL_ROOT_PASSWORD: password + MYSQL_DATABASE: wordpress + MYSQL_USER: wordpress + MYSQL_PASSWORD: wordpress + networks: # Параметры сети + - wpsite + + wordpress: # Контейнер с Wordpress + depends_on: # Параметр зависимости от работы базы данных (в данном случае) + - db + image: wordpress:latest # Образ Wordpress (последняя версия) + ports: # Порт, проложенный из контейнера в хост + - '8000:80' + restart: always # Параметр перезапуска + volumes: ['./:/var/www/html'] # Тома для хранения данных, для контейнеров + environment: # Переменные среды для контейнера + WORDPRESS_DB_HOST: db:3306 + WORDPRESS_DB_USER: wordpress + WORDPRESS_DB_PASSWORD: wordpress + networks: # Параметры сети + - wpsite +networks: + wpsite: +volumes: + db_data: +``` + +Разворачивается командой `docker-compose up`. + +Убеждаемся, что всё работает, прописываем в браузере "localhost:8000", так как docker-compose.yaml мы указали порт 8000: + +![port8000](port8000.png) + +![localhost:8000](localhost8000.png) + +Открывается стартовое окно Wordpress, где мы можем выбрать язык и приступить к работе, если это потребуется: +![WPLanguage](WPLanguage.png) + +![WPSettings](WPSettings.png) + + + +Удаляется всё командой `docker-compose down` или `docker-compose down -v`. + + +## Разворачивание сервера Gitea + +Содержимое файла `docker-compose.yml`: + +```yaml +version: "3" + +networks: + gitea: + external: false + +services: # Описание служб (контейнеров). + server: # Сервер + image: gitea/gitea:1.20.4 # Образ базы данных и версия + container_name: gitea # Наименование контейнера + environment: # Переменные среды для контейнера + - USER_UID=1000 + - USER_GID=1000 + - GITEA__database__DB_TYPE=mysql + - GITEA__database__HOST=db:3306 + - GITEA__database__NAME=gitea + - GITEA__database__USER=gitea + - GITEA__database__PASSWD=gitea + restart: always # Параметр перезапуска + networks: # Параметры сети + - gitea + volumes: # Тома для хранения данных, для контейнеров + - ./gitea:/data + - /etc/timezone:/etc/timezone:ro + - /etc/localtime:/etc/localtime:ro + ports: # Порты, проложенные из контейнера в хост + - "3000:80" + - "222:22" + depends_on: # Параметр зависимости от работы базы данных (в данном случае) + - db + + db: # База данных + image: mysql:8 # Образ базы данных и версия + restart: always # Параметр перезапуска БД + environment: # Переменные среды для контейнера + - MYSQL_ROOT_PASSWORD=gitea + - MYSQL_USER=gitea + - MYSQL_PASSWORD=gitea + - MYSQL_DATABASE=gitea + networks: # Параметры сети + - gitea + volumes: # Тома для хранения данных, для контейнеров + - ./mysql:/var/lib/mysql +``` + +Разворачивается командой `docker-compose up`. + +Убеждаемся, что всё работает, прописываем в браузере "localhost:3000", так как docker-compose.yaml мы указали порт 3000. Открывается стартовое окно Gitea, где мы можем настроить систему и приступить к работе, если это потребуется: + +![localhost:3000](localhost3000.png) + +Удаляется всё командой `docker-compose down` или `docker-compose down -v`. + + +## Разворачивание сервера Mediawiki + +Содержимое файла `docker-compose.yml`: + +```yaml +version: '3.2' +services: # Описание контейнеров + web: # Контейнер с Mediawiki + image: mediawiki:lts # Образ Mediawiki + ports: # Порт, проложенный из контейнера в хост + - 9999:80 + links: # Ссылка на контейнер "database" + - database + restart: unless-stopped # Параметр перезапуска + volumes: # Тома для хранения данных, для контейнеров + - ./images:/var/www/html/images + + database: # База данных + image: mariadb # Образ базы данных + environment: # Переменные среды для контейнера + MYSQL_DATABASE: 'wiki' + MYSQL_USER: 'wikiuser234234' + MYSQL_PASSWORD: 'YOUR_SECURE_PASSWORD' + MYSQL_RANDOM_ROOT_PASSWORD: 'yes' + volumes: # Тома для хранения данных, для контейнеров + - ./database:/var/lib/mysql + restart: unless-stopped # Параметр перезапуска +``` + +Разворачивается командой `docker-compose up`. + +Убеждаемся, что всё работает, прописываем в браузере "localhost:9999", так как docker-compose.yaml мы указали порт 9999. Открывается стартовое окно Mediawiki, где мы можем настроить систему и приступить к работе, если это потребуется: + +![Mediawiki](Mediawiki.png) + +Удаляется всё командой `docker-compose down` или `docker-compose down -v`. diff --git a/tasks/klementeva-ja/lab_1/WPLanguage.png b/tasks/klementeva-ja/lab_1/WPLanguage.png new file mode 100644 index 0000000..be9d74e Binary files /dev/null and b/tasks/klementeva-ja/lab_1/WPLanguage.png differ diff --git a/tasks/klementeva-ja/lab_1/WPSettings.png b/tasks/klementeva-ja/lab_1/WPSettings.png new file mode 100644 index 0000000..6372e7d Binary files /dev/null and b/tasks/klementeva-ja/lab_1/WPSettings.png differ diff --git a/tasks/klementeva-ja/lab_1/localhost3000.png b/tasks/klementeva-ja/lab_1/localhost3000.png new file mode 100644 index 0000000..a164943 Binary files /dev/null and b/tasks/klementeva-ja/lab_1/localhost3000.png differ diff --git a/tasks/klementeva-ja/lab_1/localhost8000.png b/tasks/klementeva-ja/lab_1/localhost8000.png new file mode 100644 index 0000000..cfd9df7 Binary files /dev/null and b/tasks/klementeva-ja/lab_1/localhost8000.png differ diff --git a/tasks/klementeva-ja/lab_1/port8000.png b/tasks/klementeva-ja/lab_1/port8000.png new file mode 100644 index 0000000..646c410 Binary files /dev/null and b/tasks/klementeva-ja/lab_1/port8000.png differ diff --git a/tasks/klementeva-ja/lab_2/.gitignore b/tasks/klementeva-ja/lab_2/.gitignore new file mode 100644 index 0000000..154e127 --- /dev/null +++ b/tasks/klementeva-ja/lab_2/.gitignore @@ -0,0 +1,477 @@ +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. +## +## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore + +# User-specific files +*.rsuser +*.suo +*.user +*.userosscache +*.sln.docstates + +# User-specific files (MonoDevelop/Xamarin Studio) +*.userprefs + +# Mono auto generated files +mono_crash.* + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +[Ww][Ii][Nn]32/ +[Aa][Rr][Mm]/ +[Aa][Rr][Mm]64/ +bld/ +[Bb]in/ +[Oo]bj/ +[Ll]og/ +[Ll]ogs/ + +# Visual Studio 2015/2017 cache/options directory +.vs/ +# Uncomment if you have tasks that create the project's static files in wwwroot +#wwwroot/ + +# Visual Studio 2017 auto generated files +Generated\ Files/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# NUnit +*.VisualState.xml +TestResult.xml +nunit-*.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +# Benchmark Results +BenchmarkDotNet.Artifacts/ + +# .NET +project.lock.json +project.fragment.lock.json +artifacts/ + +# Tye +.tye/ + +# ASP.NET Scaffolding +ScaffoldingReadMe.txt + +# StyleCop +StyleCopReport.xml + +# Files built by Visual Studio +*_i.c +*_p.c +*_h.h +*.ilk +*.meta +*.obj +*.iobj +*.pch +*.pdb +*.ipdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*_wpftmp.csproj +*.log +*.tlog +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc + +# Chutzpah Test files +_Chutzpah* + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opendb +*.opensdf +*.sdf +*.cachefile +*.VC.db +*.VC.VC.opendb + +# Visual Studio profiler +*.psess +*.vsp +*.vspx +*.sap + +# Visual Studio Trace Files +*.e2e + +# TFS 2012 Local Workspace +$tf/ + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# AxoCover is a Code Coverage Tool +.axoCover/* +!.axoCover/settings.json + +# Coverlet is a free, cross platform Code Coverage Tool +coverage*.json +coverage*.xml +coverage*.info + +# Visual Studio code coverage results +*.coverage +*.coveragexml + +# NCrunch +_NCrunch_* +.*crunch*.local.xml +nCrunchTemp_* + +# MightyMoose +*.mm.* +AutoTest.Net/ + +# Web workbench (sass) +.sass-cache/ + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml +# Note: Comment the next line if you want to checkin your web deploy settings, +# but database connection strings (with potential passwords) will be unencrypted +*.pubxml +*.publishproj + +# Microsoft Azure Web App publish settings. Comment the next line if you want to +# checkin your Azure Web App publish settings, but sensitive information contained +# in these scripts will be unencrypted +PublishScripts/ + +# NuGet Packages +*.nupkg +# NuGet Symbol Packages +*.snupkg +# The packages folder can be ignored because of Package Restore +**/[Pp]ackages/* +# except build/, which is used as an MSBuild target. +!**/[Pp]ackages/build/ +# Uncomment if necessary however generally it will be regenerated when needed +#!**/[Pp]ackages/repositories.config +# NuGet v3's project.json files produces more ignorable files +*.nuget.props +*.nuget.targets + +# Microsoft Azure Build Output +csx/ +*.build.csdef + +# Microsoft Azure Emulator +ecf/ +rcf/ + +# Windows Store app package directories and files +AppPackages/ +BundleArtifacts/ +Package.StoreAssociation.xml +_pkginfo.txt +*.appx +*.appxbundle +*.appxupload + +# Visual Studio cache files +# files ending in .cache can be ignored +*.[Cc]ache +# but keep track of directories ending in .cache +!?*.[Cc]ache/ + +# Others +ClientBin/ +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.jfm +*.pfx +*.publishsettings +orleans.codegen.cs + +# Including strong name files can present a security risk +# (https://github.com/github/gitignore/pull/2483#issue-259490424) +#*.snk + +# Since there are multiple workflows, uncomment next line to ignore bower_components +# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) +#bower_components/ + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file +# to a newer Visual Studio version. Backup files are not needed, +# because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm +ServiceFabricBackup/ +*.rptproj.bak + +# SQL Server files +*.mdf +*.ldf +*.ndf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings +*.rptproj.rsuser +*- [Bb]ackup.rdl +*- [Bb]ackup ([0-9]).rdl +*- [Bb]ackup ([0-9][0-9]).rdl + +# Microsoft Fakes +FakesAssemblies/ + +# GhostDoc plugin setting file +*.GhostDoc.xml + +# Node.js Tools for Visual Studio +.ntvs_analysis.dat +node_modules/ + +# Visual Studio 6 build log +*.plg + +# Visual Studio 6 workspace options file +*.opt + +# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) +*.vbw + +# Visual Studio 6 auto-generated project file (contains which files were open etc.) +*.vbp + +# Visual Studio 6 workspace and project file (working project files containing files to include in project) +*.dsw +*.dsp + +# Visual Studio 6 technical files +*.ncb +*.aps + +# Visual Studio LightSwitch build output +**/*.HTMLClient/GeneratedArtifacts +**/*.DesktopClient/GeneratedArtifacts +**/*.DesktopClient/ModelManifest.xml +**/*.Server/GeneratedArtifacts +**/*.Server/ModelManifest.xml +_Pvt_Extensions + +# Paket dependency manager +.paket/paket.exe +paket-files/ + +# FAKE - F# Make +.fake/ + +# CodeRush personal settings +.cr/personal + +# Python Tools for Visual Studio (PTVS) +__pycache__/ +*.pyc + +# Cake - Uncomment if you are using it +# tools/** +# !tools/packages.config + +# Tabs Studio +*.tss + +# Telerik's JustMock configuration file +*.jmconfig + +# BizTalk build output +*.btp.cs +*.btm.cs +*.odx.cs +*.xsd.cs + +# OpenCover UI analysis results +OpenCover/ + +# Azure Stream Analytics local run output +ASALocalRun/ + +# MSBuild Binary and Structured Log +*.binlog + +# NVidia Nsight GPU debugger configuration file +*.nvuser + +# MFractors (Xamarin productivity tool) working folder +.mfractor/ + +# Local History for Visual Studio +.localhistory/ + +# Visual Studio History (VSHistory) files +.vshistory/ + +# BeatPulse healthcheck temp database +healthchecksdb + +# Backup folder for Package Reference Convert tool in Visual Studio 2017 +MigrationBackup/ + +# Ionide (cross platform F# VS Code tools) working folder +.ionide/ + +# Fody - auto-generated XML schema +FodyWeavers.xsd + +# VS Code files for those working on multiple tools +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +*.code-workspace + +# Local History for Visual Studio Code +.history/ + +# Windows Installer files from build outputs +*.cab +*.msi +*.msix +*.msm +*.msp + +# JetBrains Rider +*.sln.iml + +## +## Visual studio for Mac +## + + +# globs +Makefile.in +*.userprefs +*.usertasks +config.make +config.status +aclocal.m4 +install-sh +autom4te.cache/ +*.tar.gz +tarballs/ +test-results/ + +# Mac bundle stuff +*.dmg +*.app + +# content below from: https://github.com/github/gitignore/blob/master/Global/macOS.gitignore +# General +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + +# content below from: https://github.com/github/gitignore/blob/master/Global/Windows.gitignore +# Windows thumbnail cache files +Thumbs.db +ehthumbs.db +ehthumbs_vista.db + +# Dump file +*.stackdump + +# Folder config file +[Dd]esktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Windows Installer files +*.cab +*.msi +*.msix +*.msm +*.msp + +# Windows shortcuts +*.lnk diff --git a/tasks/klementeva-ja/lab_2/README.MD b/tasks/klementeva-ja/lab_2/README.MD new file mode 100644 index 0000000..a0b78d5 --- /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), в котором указан манифест для запуска распределённого приложения. + +Дополнительно был создан файл [.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..d04ca89 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..d8b592f 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..d1d745c 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..19e2452 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..0d9ca63 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..58e98d2 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 + + +