├── .github └── workflows │ └── build.yml ├── .gitignore ├── LICENSE ├── README.md ├── assets ├── clean-file.txt ├── infected-file.txt └── readme.api-documentation.png ├── docker-compose.yml ├── env └── api.env ├── nodejs-rest-client ├── Dockerfile ├── env │ ├── .env │ └── unit-test.env ├── jest-unit.json ├── package.json ├── scripts │ ├── compiler-local.sh │ └── compiler.sh ├── src │ ├── application │ │ └── scanner │ │ │ ├── index.ts │ │ │ ├── io-parameters │ │ │ ├── input │ │ │ │ └── SyncScanInputParameters.ts │ │ │ └── output │ │ │ │ ├── GetScannerVersionOutputParameters.ts │ │ │ │ ├── PingScannerOutputParameters.ts │ │ │ │ └── SyncScanOutputParameters.ts │ │ │ └── service │ │ │ ├── GetScannerVersionService.ts │ │ │ ├── PingScannerService.ts │ │ │ └── SyncScanService.ts │ ├── bootstrap.ts │ ├── core │ │ ├── base-errors │ │ │ └── RequestValidationError.ts │ │ ├── configuration │ │ │ ├── config │ │ │ │ └── Config.ts │ │ │ ├── errors │ │ │ │ └── ConfigError.ts │ │ │ ├── index.ts │ │ │ └── parser │ │ │ │ └── EnvParser.ts │ │ ├── lib │ │ │ ├── clamav │ │ │ │ ├── client │ │ │ │ │ ├── ClamAVClient.ts │ │ │ │ │ ├── errors │ │ │ │ │ │ └── ClamAVClientError.ts │ │ │ │ │ ├── parser │ │ │ │ │ │ └── ClamAVClientResponseParser.ts │ │ │ │ │ └── types │ │ │ │ │ │ ├── ClamAVConnectionOptions.ts │ │ │ │ │ │ ├── ClamAVPingDetails.ts │ │ │ │ │ │ ├── ClamAVScanDetails.ts │ │ │ │ │ │ ├── ClamAVScanStatus.ts │ │ │ │ │ │ └── ClamAVVersionDetails.ts │ │ │ │ ├── command │ │ │ │ │ ├── data-transformer │ │ │ │ │ │ └── ClamAVCommandDataTransformer.ts │ │ │ │ │ ├── factory │ │ │ │ │ │ ├── ClamAVCommandFactory.ts │ │ │ │ │ │ └── errors │ │ │ │ │ │ │ └── ClamAVCommandFactoryError.ts │ │ │ │ │ └── types │ │ │ │ │ │ ├── ClamAVCommand.ts │ │ │ │ │ │ └── ClamaAVCommandType.ts │ │ │ │ └── index.ts │ │ │ └── logger │ │ │ │ ├── index.ts │ │ │ │ ├── logger │ │ │ │ └── CoreLogger.ts │ │ │ │ └── transport │ │ │ │ ├── ILoggerTransport.ts │ │ │ │ ├── impl │ │ │ │ └── WinstonLoggerTransport.ts │ │ │ │ └── index.ts │ │ ├── service │ │ │ ├── errors │ │ │ │ └── ServiceInputParametersValidationError.ts │ │ │ ├── index.ts │ │ │ ├── io-parameters │ │ │ │ ├── ServiceInputParameters.ts │ │ │ │ └── ServiceOutputParameters.ts │ │ │ └── service │ │ │ │ └── IService.ts │ │ └── types │ │ │ └── PromiseCallback.ts │ ├── infrastructure │ │ ├── interceptor │ │ │ ├── ErrorHandlerInterceptor.ts │ │ │ └── LoggerInterceptor.ts │ │ ├── module │ │ │ ├── RootModule.ts │ │ │ ├── infrastructure │ │ │ │ └── InfrastructureModule.ts │ │ │ └── scanner │ │ │ │ ├── ScanModule.ts │ │ │ │ └── ScanTokens.ts │ │ ├── response │ │ │ ├── code │ │ │ │ └── ServerResponseCode.ts │ │ │ ├── index.ts │ │ │ └── response │ │ │ │ └── ServerResponse.ts │ │ └── server │ │ │ └── ServerApplication.ts │ └── presentation │ │ └── rest-api-interface │ │ ├── ScanController.ts │ │ └── documentation │ │ ├── common │ │ └── BaseResponseModel.ts │ │ └── scanner │ │ ├── get-version │ │ ├── GetVersionResponse.ts │ │ └── GetVersionResponseDataModel.ts │ │ ├── ping │ │ ├── PingResponse.ts │ │ └── PingResponseDataModel.ts │ │ └── sync-scan │ │ ├── SyncScanBody.ts │ │ ├── SyncScanResponse.ts │ │ └── SyncScanResponseDataModel.ts ├── test │ ├── .helper │ │ ├── MockHelper.ts │ │ └── SetupEnv.ts │ └── unit │ │ ├── application │ │ └── scanner │ │ │ └── service │ │ │ ├── GetScannerVersionService.spec.ts │ │ │ ├── PingScannerService.spec.ts │ │ │ └── SyncScanService.spec.ts │ │ ├── core │ │ ├── configuration │ │ │ ├── config │ │ │ │ └── Config.spec.ts │ │ │ └── errors │ │ │ │ └── ConfigError.spec.ts │ │ ├── lib │ │ │ ├── clamav │ │ │ │ ├── client │ │ │ │ │ ├── ClamAVClient.spec.ts │ │ │ │ │ ├── errors │ │ │ │ │ │ └── ClamAVClientError.spec.ts │ │ │ │ │ └── parser │ │ │ │ │ │ └── ClamAVClientResponseParser.spec.ts │ │ │ │ └── command │ │ │ │ │ ├── data-transformer │ │ │ │ │ └── ClamAVCommandDataTransformer.spec.ts │ │ │ │ │ └── factory │ │ │ │ │ ├── ClamAVCommandFactory.spec.ts │ │ │ │ │ └── errors │ │ │ │ │ └── ClamAVCommandFactoryError.spec.ts │ │ │ └── logger │ │ │ │ └── logger │ │ │ │ └── CoreLogger.spec.ts │ │ └── service │ │ │ ├── errors │ │ │ └── ServiceInputParametersValidationError.spec.ts │ │ │ └── io-parameters │ │ │ └── ServiceInputParameters.spec.ts │ │ └── infrastructure │ │ └── response │ │ └── response │ │ └── ServerResponse.spec.ts ├── tsconfig.json ├── tslint.json └── yarn.lock ├── scanner └── clamav │ └── docker │ ├── Dockerfile │ ├── clamd.conf │ ├── docker-entrypoint.sh │ ├── freshclam.conf │ └── talos.pub └── sonar-project.properties /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/README.md -------------------------------------------------------------------------------- /assets/clean-file.txt: -------------------------------------------------------------------------------- 1 | Clean file -------------------------------------------------------------------------------- /assets/infected-file.txt: -------------------------------------------------------------------------------- 1 | X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H* -------------------------------------------------------------------------------- /assets/readme.api-documentation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/assets/readme.api-documentation.png -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /env/api.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/env/api.env -------------------------------------------------------------------------------- /nodejs-rest-client/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/Dockerfile -------------------------------------------------------------------------------- /nodejs-rest-client/env/.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/env/.env -------------------------------------------------------------------------------- /nodejs-rest-client/env/unit-test.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/env/unit-test.env -------------------------------------------------------------------------------- /nodejs-rest-client/jest-unit.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/jest-unit.json -------------------------------------------------------------------------------- /nodejs-rest-client/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/package.json -------------------------------------------------------------------------------- /nodejs-rest-client/scripts/compiler-local.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/scripts/compiler-local.sh -------------------------------------------------------------------------------- /nodejs-rest-client/scripts/compiler.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/scripts/compiler.sh -------------------------------------------------------------------------------- /nodejs-rest-client/src/application/scanner/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/application/scanner/index.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/application/scanner/io-parameters/input/SyncScanInputParameters.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/application/scanner/io-parameters/input/SyncScanInputParameters.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/application/scanner/io-parameters/output/GetScannerVersionOutputParameters.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/application/scanner/io-parameters/output/GetScannerVersionOutputParameters.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/application/scanner/io-parameters/output/PingScannerOutputParameters.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/application/scanner/io-parameters/output/PingScannerOutputParameters.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/application/scanner/io-parameters/output/SyncScanOutputParameters.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/application/scanner/io-parameters/output/SyncScanOutputParameters.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/application/scanner/service/GetScannerVersionService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/application/scanner/service/GetScannerVersionService.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/application/scanner/service/PingScannerService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/application/scanner/service/PingScannerService.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/application/scanner/service/SyncScanService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/application/scanner/service/SyncScanService.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/bootstrap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/bootstrap.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/core/base-errors/RequestValidationError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/core/base-errors/RequestValidationError.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/core/configuration/config/Config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/core/configuration/config/Config.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/core/configuration/errors/ConfigError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/core/configuration/errors/ConfigError.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/core/configuration/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/core/configuration/index.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/core/configuration/parser/EnvParser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/core/configuration/parser/EnvParser.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/core/lib/clamav/client/ClamAVClient.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/core/lib/clamav/client/ClamAVClient.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/core/lib/clamav/client/errors/ClamAVClientError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/core/lib/clamav/client/errors/ClamAVClientError.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/core/lib/clamav/client/parser/ClamAVClientResponseParser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/core/lib/clamav/client/parser/ClamAVClientResponseParser.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/core/lib/clamav/client/types/ClamAVConnectionOptions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/core/lib/clamav/client/types/ClamAVConnectionOptions.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/core/lib/clamav/client/types/ClamAVPingDetails.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/core/lib/clamav/client/types/ClamAVPingDetails.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/core/lib/clamav/client/types/ClamAVScanDetails.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/core/lib/clamav/client/types/ClamAVScanDetails.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/core/lib/clamav/client/types/ClamAVScanStatus.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/core/lib/clamav/client/types/ClamAVScanStatus.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/core/lib/clamav/client/types/ClamAVVersionDetails.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/core/lib/clamav/client/types/ClamAVVersionDetails.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/core/lib/clamav/command/data-transformer/ClamAVCommandDataTransformer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/core/lib/clamav/command/data-transformer/ClamAVCommandDataTransformer.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/core/lib/clamav/command/factory/ClamAVCommandFactory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/core/lib/clamav/command/factory/ClamAVCommandFactory.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/core/lib/clamav/command/factory/errors/ClamAVCommandFactoryError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/core/lib/clamav/command/factory/errors/ClamAVCommandFactoryError.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/core/lib/clamav/command/types/ClamAVCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/core/lib/clamav/command/types/ClamAVCommand.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/core/lib/clamav/command/types/ClamaAVCommandType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/core/lib/clamav/command/types/ClamaAVCommandType.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/core/lib/clamav/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/core/lib/clamav/index.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/core/lib/logger/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/core/lib/logger/index.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/core/lib/logger/logger/CoreLogger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/core/lib/logger/logger/CoreLogger.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/core/lib/logger/transport/ILoggerTransport.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/core/lib/logger/transport/ILoggerTransport.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/core/lib/logger/transport/impl/WinstonLoggerTransport.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/core/lib/logger/transport/impl/WinstonLoggerTransport.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/core/lib/logger/transport/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/core/lib/logger/transport/index.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/core/service/errors/ServiceInputParametersValidationError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/core/service/errors/ServiceInputParametersValidationError.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/core/service/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/core/service/index.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/core/service/io-parameters/ServiceInputParameters.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/core/service/io-parameters/ServiceInputParameters.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/core/service/io-parameters/ServiceOutputParameters.ts: -------------------------------------------------------------------------------- 1 | export class ServiceOutputParameters {} 2 | -------------------------------------------------------------------------------- /nodejs-rest-client/src/core/service/service/IService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/core/service/service/IService.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/core/types/PromiseCallback.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/core/types/PromiseCallback.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/infrastructure/interceptor/ErrorHandlerInterceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/infrastructure/interceptor/ErrorHandlerInterceptor.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/infrastructure/interceptor/LoggerInterceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/infrastructure/interceptor/LoggerInterceptor.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/infrastructure/module/RootModule.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/infrastructure/module/RootModule.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/infrastructure/module/infrastructure/InfrastructureModule.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/infrastructure/module/infrastructure/InfrastructureModule.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/infrastructure/module/scanner/ScanModule.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/infrastructure/module/scanner/ScanModule.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/infrastructure/module/scanner/ScanTokens.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/infrastructure/module/scanner/ScanTokens.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/infrastructure/response/code/ServerResponseCode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/infrastructure/response/code/ServerResponseCode.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/infrastructure/response/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/infrastructure/response/index.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/infrastructure/response/response/ServerResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/infrastructure/response/response/ServerResponse.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/infrastructure/server/ServerApplication.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/infrastructure/server/ServerApplication.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/presentation/rest-api-interface/ScanController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/presentation/rest-api-interface/ScanController.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/presentation/rest-api-interface/documentation/common/BaseResponseModel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/presentation/rest-api-interface/documentation/common/BaseResponseModel.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/presentation/rest-api-interface/documentation/scanner/get-version/GetVersionResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/presentation/rest-api-interface/documentation/scanner/get-version/GetVersionResponse.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/presentation/rest-api-interface/documentation/scanner/get-version/GetVersionResponseDataModel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/presentation/rest-api-interface/documentation/scanner/get-version/GetVersionResponseDataModel.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/presentation/rest-api-interface/documentation/scanner/ping/PingResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/presentation/rest-api-interface/documentation/scanner/ping/PingResponse.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/presentation/rest-api-interface/documentation/scanner/ping/PingResponseDataModel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/presentation/rest-api-interface/documentation/scanner/ping/PingResponseDataModel.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/presentation/rest-api-interface/documentation/scanner/sync-scan/SyncScanBody.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/presentation/rest-api-interface/documentation/scanner/sync-scan/SyncScanBody.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/presentation/rest-api-interface/documentation/scanner/sync-scan/SyncScanResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/presentation/rest-api-interface/documentation/scanner/sync-scan/SyncScanResponse.ts -------------------------------------------------------------------------------- /nodejs-rest-client/src/presentation/rest-api-interface/documentation/scanner/sync-scan/SyncScanResponseDataModel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/src/presentation/rest-api-interface/documentation/scanner/sync-scan/SyncScanResponseDataModel.ts -------------------------------------------------------------------------------- /nodejs-rest-client/test/.helper/MockHelper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/test/.helper/MockHelper.ts -------------------------------------------------------------------------------- /nodejs-rest-client/test/.helper/SetupEnv.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/test/.helper/SetupEnv.ts -------------------------------------------------------------------------------- /nodejs-rest-client/test/unit/application/scanner/service/GetScannerVersionService.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/test/unit/application/scanner/service/GetScannerVersionService.spec.ts -------------------------------------------------------------------------------- /nodejs-rest-client/test/unit/application/scanner/service/PingScannerService.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/test/unit/application/scanner/service/PingScannerService.spec.ts -------------------------------------------------------------------------------- /nodejs-rest-client/test/unit/application/scanner/service/SyncScanService.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/test/unit/application/scanner/service/SyncScanService.spec.ts -------------------------------------------------------------------------------- /nodejs-rest-client/test/unit/core/configuration/config/Config.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/test/unit/core/configuration/config/Config.spec.ts -------------------------------------------------------------------------------- /nodejs-rest-client/test/unit/core/configuration/errors/ConfigError.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/test/unit/core/configuration/errors/ConfigError.spec.ts -------------------------------------------------------------------------------- /nodejs-rest-client/test/unit/core/lib/clamav/client/ClamAVClient.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/test/unit/core/lib/clamav/client/ClamAVClient.spec.ts -------------------------------------------------------------------------------- /nodejs-rest-client/test/unit/core/lib/clamav/client/errors/ClamAVClientError.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/test/unit/core/lib/clamav/client/errors/ClamAVClientError.spec.ts -------------------------------------------------------------------------------- /nodejs-rest-client/test/unit/core/lib/clamav/client/parser/ClamAVClientResponseParser.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/test/unit/core/lib/clamav/client/parser/ClamAVClientResponseParser.spec.ts -------------------------------------------------------------------------------- /nodejs-rest-client/test/unit/core/lib/clamav/command/data-transformer/ClamAVCommandDataTransformer.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/test/unit/core/lib/clamav/command/data-transformer/ClamAVCommandDataTransformer.spec.ts -------------------------------------------------------------------------------- /nodejs-rest-client/test/unit/core/lib/clamav/command/factory/ClamAVCommandFactory.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/test/unit/core/lib/clamav/command/factory/ClamAVCommandFactory.spec.ts -------------------------------------------------------------------------------- /nodejs-rest-client/test/unit/core/lib/clamav/command/factory/errors/ClamAVCommandFactoryError.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/test/unit/core/lib/clamav/command/factory/errors/ClamAVCommandFactoryError.spec.ts -------------------------------------------------------------------------------- /nodejs-rest-client/test/unit/core/lib/logger/logger/CoreLogger.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/test/unit/core/lib/logger/logger/CoreLogger.spec.ts -------------------------------------------------------------------------------- /nodejs-rest-client/test/unit/core/service/errors/ServiceInputParametersValidationError.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/test/unit/core/service/errors/ServiceInputParametersValidationError.spec.ts -------------------------------------------------------------------------------- /nodejs-rest-client/test/unit/core/service/io-parameters/ServiceInputParameters.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/test/unit/core/service/io-parameters/ServiceInputParameters.spec.ts -------------------------------------------------------------------------------- /nodejs-rest-client/test/unit/infrastructure/response/response/ServerResponse.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/test/unit/infrastructure/response/response/ServerResponse.spec.ts -------------------------------------------------------------------------------- /nodejs-rest-client/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/tsconfig.json -------------------------------------------------------------------------------- /nodejs-rest-client/tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/tslint.json -------------------------------------------------------------------------------- /nodejs-rest-client/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/nodejs-rest-client/yarn.lock -------------------------------------------------------------------------------- /scanner/clamav/docker/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/scanner/clamav/docker/Dockerfile -------------------------------------------------------------------------------- /scanner/clamav/docker/clamd.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/scanner/clamav/docker/clamd.conf -------------------------------------------------------------------------------- /scanner/clamav/docker/docker-entrypoint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/scanner/clamav/docker/docker-entrypoint.sh -------------------------------------------------------------------------------- /scanner/clamav/docker/freshclam.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/scanner/clamav/docker/freshclam.conf -------------------------------------------------------------------------------- /scanner/clamav/docker/talos.pub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/scanner/clamav/docker/talos.pub -------------------------------------------------------------------------------- /sonar-project.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pvarentsov/virus-scanner/HEAD/sonar-project.properties --------------------------------------------------------------------------------