├── .exclude-patterns ├── .firebaserc ├── .gcloudignore ├── .github ├── CODE_OF_CONDUCT.md ├── CODE_OF_CONDUCT_en.md ├── CONTRIBUTING.md ├── CONTRIBUTING_en.md ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── PULL_REQUEST_TEMPLATE │ ├── README.md │ └── pull_request_template.md ├── SECURITY.md ├── SUPPORT.md └── workflows │ ├── ci.yml │ └── schedule.yml ├── .gitignore ├── CHANGELOG.md ├── CONTRIBUTORS.md ├── DISCLAIMER.pdf ├── LICENSE ├── README.md ├── doc ├── certifications.md └── img │ └── baner.jpg ├── docker ├── Dockerfile └── docker-compose.yml ├── efgs ├── downloader │ ├── .gcloudignore │ ├── owasp │ │ └── suppressions.xml │ ├── pom.xml │ └── src │ │ ├── main │ │ ├── java │ │ │ └── pl │ │ │ │ └── gov │ │ │ │ └── mc │ │ │ │ └── protegosafe │ │ │ │ └── efgs │ │ │ │ ├── BatchTag.java │ │ │ │ ├── BatchTagFetcher.java │ │ │ │ ├── BatchTagService.java │ │ │ │ ├── DateProvider.java │ │ │ │ ├── DownloadedKeys.java │ │ │ │ ├── DownloadedKeysFilter.java │ │ │ │ ├── DownloadedKeysMapper.java │ │ │ │ ├── DownloaderService.java │ │ │ │ ├── EfgsDownloader.java │ │ │ │ ├── EfgsKeysProcessor.java │ │ │ │ ├── KeyChunker.java │ │ │ │ ├── ProcessedDateService.java │ │ │ │ ├── Properties.java │ │ │ │ ├── TriggerEvent.java │ │ │ │ ├── configuration │ │ │ │ ├── CloudEnhancer.java │ │ │ │ └── MapperConfiguration.java │ │ │ │ ├── http │ │ │ │ ├── BatchesResponse.java │ │ │ │ ├── CertUtils.java │ │ │ │ ├── ForceCertUsageX509KeyManager.java │ │ │ │ ├── HttpConnector.java │ │ │ │ ├── HttpDownloader.java │ │ │ │ └── WebClientFactory.java │ │ │ │ ├── message │ │ │ │ ├── Message.java │ │ │ │ ├── MessageSender.java │ │ │ │ └── PubSubMessageSender.java │ │ │ │ ├── model │ │ │ │ ├── Key.java │ │ │ │ ├── KeysWrapper.java │ │ │ │ ├── ProcessedBatchesFactory.java │ │ │ │ └── ReportType.java │ │ │ │ ├── repository │ │ │ │ ├── BatchTagRepository.java │ │ │ │ ├── FirestoreBatchTag.java │ │ │ │ ├── FirestoreProvider.java │ │ │ │ ├── FirestoreRepository.java │ │ │ │ ├── ProcessedDate.java │ │ │ │ └── ProcessedDateRepository.java │ │ │ │ └── secret │ │ │ │ ├── CloudBackendConfig.java │ │ │ │ └── SecretManagerConfiguration.java │ │ └── resources │ │ │ ├── META-INF │ │ │ └── MANIFEST.MF │ │ │ ├── application.yml │ │ │ └── logback-spring.xml │ │ └── test │ │ └── java │ │ └── pl │ │ └── gov │ │ └── mc │ │ └── protegosafe │ │ └── efgs │ │ ├── BatchTagServiceTest.java │ │ ├── DownloadedKeysFilterTest.java │ │ ├── DownloaderServiceTest.java │ │ ├── EfgsKeysProcessorTest.java │ │ ├── KeyChunkerTest.java │ │ ├── ProcessedDateServiceTest.java │ │ └── repository │ │ └── FirestoreRepositoryTest.java └── uploader │ ├── .gcloudignore │ ├── owasp │ └── suppressions.xml │ ├── pom.xml │ └── src │ ├── main │ ├── java │ │ └── pl │ │ │ └── gov │ │ │ └── mc │ │ │ └── protegosafe │ │ │ └── efgs │ │ │ ├── CloudEnhancer.java │ │ │ ├── DiagnosisKeysProcessor.java │ │ │ ├── DiagnosisKeysUploader.java │ │ │ ├── EfgsDiagnosisKeysUploader.java │ │ │ ├── EfgsFailedDiagnosisKeysUploader.java │ │ │ ├── EfgsFakeDiagnosisKeysFactory.java │ │ │ ├── EfgsProtoDiagnosisKeyBatchFactory.java │ │ │ ├── EfgsUploader.java │ │ │ ├── HttpUploader.java │ │ │ ├── Mode.java │ │ │ ├── Properties.java │ │ │ ├── SignatureGenerator.java │ │ │ ├── repository │ │ │ ├── DiagnosisKeysRepository.java │ │ │ ├── FailedDiagnosisKeysRepository.java │ │ │ ├── FirestoreProvider.java │ │ │ └── model │ │ │ │ ├── DiagnosisKey.java │ │ │ │ ├── DiagnosisKeyModel.java │ │ │ │ ├── FailedDiagnosisKey.java │ │ │ │ └── ReportType.java │ │ │ ├── secret │ │ │ ├── CloudBackendConfig.java │ │ │ └── SecretManagerConfiguration.java │ │ │ └── utils │ │ │ ├── BatchSignatureUtils.java │ │ │ ├── CertUtils.java │ │ │ ├── ForceCertUsageX509KeyManager.java │ │ │ └── WebClientFactory.java │ ├── proto │ │ └── Efgs.proto │ └── resources │ │ ├── META-INF │ │ └── MANIFEST.MF │ │ ├── application.yml │ │ └── logback-spring.xml │ └── test │ ├── java │ └── pl │ │ └── gov │ │ └── mc │ │ └── protegosafe │ │ └── efgs │ │ ├── EfgsDiagnosisKeysUploaderIntegrationTest.java │ │ ├── EfgsDiagnosisKeysUploaderTest.java │ │ ├── EfgsFailedDiagnosisKeysUploaderTest.java │ │ ├── EfgsFakeDiagnosisKeysFactoryTest.java │ │ ├── EfgsProtoDiagnosisKeyBatchFactoryTest.java │ │ ├── IntegrationTests.java │ │ ├── ReportTypeTest.java │ │ └── repository │ │ └── model │ │ └── DiagnosisKeyTest.java │ └── resources │ ├── application.yml │ └── logback-test.xml ├── firebase.json ├── functions ├── .gitignore ├── package-lock.json ├── package.json ├── src │ ├── cloudFunctions.ts │ ├── config.ts │ ├── functions │ │ ├── clearExpiredData.ts │ │ ├── code │ │ │ ├── CodeEvent.ts │ │ │ ├── CodeStatus.ts │ │ │ ├── CodeType.ts │ │ │ ├── codeGenerator │ │ │ │ └── index.ts │ │ │ └── codeValidator │ │ │ │ └── index.ts │ │ ├── colors.ts │ │ ├── disableCacheOnBucket.ts │ │ ├── efgs │ │ │ ├── fetchErrorMessage │ │ │ │ └── index.ts │ │ │ ├── gensPayloadFactory │ │ │ │ └── index.ts │ │ │ ├── uploadDiagnosisKeysSubscriber │ │ │ │ └── index.ts │ │ │ ├── uploadFailedDiagnosisKeysToGENS │ │ │ │ └── index.ts │ │ │ └── uploadGensDiagnosisKeys │ │ │ │ └── index.ts │ │ ├── freeTest │ │ │ ├── generateSubscriptionCode │ │ │ │ └── index.ts │ │ │ ├── getSubscription │ │ │ │ └── index.ts │ │ │ ├── getSubscriptionCode.ts │ │ │ ├── subscriptionsForTest │ │ │ │ └── index.ts │ │ │ └── updateSubscription.ts │ │ ├── generateCodeWrapper.ts │ │ ├── generateCodesBatch │ │ │ ├── index.ts │ │ │ └── validator │ │ │ │ ├── durationValidator.ts │ │ │ │ └── numberOfCodesValidator.ts │ │ ├── getAccessToken.ts │ │ ├── ipAndApiTokenValidator │ │ │ └── index.ts │ │ ├── jobs │ │ │ ├── backupTranslations │ │ │ │ ├── Repository.ts │ │ │ │ └── index.ts │ │ │ └── storageSaver.ts │ │ ├── jwtGenerator │ │ │ └── index.ts │ │ ├── logger │ │ │ ├── codeLogger.ts │ │ │ ├── error.ts │ │ │ ├── errorEntryLabels.ts │ │ │ ├── errorLogger.ts │ │ │ └── getCodeLogEntryLabels.ts │ │ ├── metrics │ │ │ ├── Metric.ts │ │ │ ├── MetricFactory.ts │ │ │ ├── MetricRepository.ts │ │ │ ├── OpenCensusContainer.ts │ │ │ ├── metricTypes.ts │ │ │ ├── sendUploadedKeysOpenCensusMetricScheduler.ts │ │ │ ├── services.ts │ │ │ ├── trackUploadedKeysMetric.ts │ │ │ └── uploadedKeysMetricInitializer.ts │ │ ├── notification │ │ │ ├── Notification.ts │ │ │ ├── NotificationFactory.ts │ │ │ ├── NotificationRepository.ts │ │ │ ├── notificationType.ts │ │ │ ├── sendNotification.ts │ │ │ └── services.ts │ │ ├── platform.ts │ │ ├── repository │ │ │ ├── CdnFileRepository.ts │ │ │ ├── Entity.ts │ │ │ ├── EntityRepository.ts │ │ │ ├── FailureUploadingDiagnosisKeys.ts │ │ │ └── FailureUploadingDiagnosisKeysRepository.ts │ │ ├── returnBadRequestResponse.ts │ │ ├── slack │ │ │ ├── SlackMessage.ts │ │ │ ├── SlackMessageDetailsItem.ts │ │ │ └── SlackMessageSender.ts │ │ ├── statistics │ │ │ ├── DailyData.ts │ │ │ ├── DailyDataFetcher.ts │ │ │ ├── DistrictState.ts │ │ │ ├── DistrictStatistics.ts │ │ │ ├── DistrictStatisticsProcessor.ts │ │ │ ├── DistrictsStatesProcessor.ts │ │ │ ├── File.ts │ │ │ ├── GlobalStatistics.ts │ │ │ ├── GlobalStatisticsProcessor.ts │ │ │ ├── NewData.ts │ │ │ ├── NewVaccinationsData.ts │ │ │ ├── NotificationSendingProcessor.ts │ │ │ ├── StatisticFactory.ts │ │ │ ├── StatisticsFetchingProcessor.ts │ │ │ ├── StatisticsFileReader.ts │ │ │ ├── StatisticsLoggingPublishingProcessor.ts │ │ │ ├── StatistiscHelper.ts │ │ │ ├── StatistiscPublishProcessor.ts │ │ │ ├── Timestamps.ts │ │ │ ├── TotalData.ts │ │ │ ├── TotalVaccinationsData.ts │ │ │ ├── VoivodeshipStatistics.ts │ │ │ ├── VoivodeshipStatisticsProcessor.ts │ │ │ ├── errors │ │ │ │ ├── FileNotFoundError.ts │ │ │ │ └── NumberFormatError.ts │ │ │ ├── jsons │ │ │ │ ├── CovidInfoJsonFactory.ts │ │ │ │ ├── DashboardJsonFactory.ts │ │ │ │ ├── DataChangeChecker.ts │ │ │ │ ├── DetailsJsonFactory.ts │ │ │ │ ├── DistrictsJsonFactory.ts │ │ │ │ ├── LastDaysFactory.ts │ │ │ │ └── VoivodeshipViewModelFactory.ts │ │ │ ├── model │ │ │ │ ├── CovidInfoJsonViewModel.ts │ │ │ │ ├── CovidStatsViewModel.ts │ │ │ │ ├── DashboardJsonViewModel.ts │ │ │ │ ├── DetailsJsonViewModel.ts │ │ │ │ ├── DistrictDetailsViewModel.ts │ │ │ │ ├── DistrictViewModel.ts │ │ │ │ ├── DistrictsJsonViewModel.ts │ │ │ │ ├── LastDaysJsonViewModel.ts │ │ │ │ ├── RegionDetailsViewModel.ts │ │ │ │ ├── VoivodeshipDetailsViewModel.ts │ │ │ │ └── VoivodeshipViewModel.ts │ │ │ ├── repository │ │ │ │ ├── District.ts │ │ │ │ ├── DistrictRepository.ts │ │ │ │ ├── Statistic.ts │ │ │ │ ├── StatisticsRepository.ts │ │ │ │ ├── Voivodeship.ts │ │ │ │ └── VoivodeshipRepository.ts │ │ │ └── services.ts │ │ ├── uploadDiagnosisKeys │ │ │ └── index.ts │ │ └── uploadDiagnosisKeysHttpHandler │ │ │ └── index.ts │ ├── index.ts │ ├── services.ts │ └── utils │ │ ├── ArrayHelper.ts │ │ ├── AssertHelper.ts │ │ ├── CodeRepository.ts │ │ ├── CodeWithId.ts │ │ ├── CovidStats.ts │ │ ├── HashedAccessTokensRepository.ts │ │ ├── IPChecker.ts │ │ ├── RandomCodeGenerator.ts │ │ ├── SecretManager.ts │ │ ├── SubscriptionRepository.ts │ │ ├── TokenRepository.ts │ │ └── dateUtils.ts ├── test │ ├── functions │ │ ├── efgs │ │ │ └── gensPayloadFactory │ │ │ │ └── index.test.ts │ │ ├── generateCodesBatch │ │ │ └── validator │ │ │ │ ├── durationValidator.test.ts │ │ │ │ └── numberOfCodesValidator.test.ts │ │ └── statistics │ │ │ ├── DailyDataFetcher.test.ts │ │ │ ├── DistrictsStatesProcessor.test.ts │ │ │ ├── DistrictsStatisticsProcessor.test.ts │ │ │ ├── File.test.ts │ │ │ ├── GlobalStatisticsProcessor.test.ts │ │ │ ├── StatistiscHelper.test.ts │ │ │ ├── VoivodeshipsStatisticsProcessor.test.ts │ │ │ ├── dummyData.ts │ │ │ └── jsons │ │ │ ├── CovidInfoJsonFactory.test.ts │ │ │ ├── DashboardJsonFactory.test.ts │ │ │ ├── DetailsJsonFactory.test.ts │ │ │ └── LastDaysFactory.test.ts │ └── utils │ │ ├── ArrayHelper.test.ts │ │ ├── CodeRepository.test.ts │ │ └── dataUtils.test.ts ├── tsconfig.json └── tslint.json └── utils ├── create_ta.sh └── src └── main └── java └── pl └── gov └── mc └── protegosafe └── SignatureGenerator.java /.exclude-patterns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/.exclude-patterns -------------------------------------------------------------------------------- /.firebaserc: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /.gcloudignore: -------------------------------------------------------------------------------- 1 | .git 2 | target 3 | build 4 | .idea -------------------------------------------------------------------------------- /.github/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/.github/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /.github/CODE_OF_CONDUCT_en.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/.github/CODE_OF_CONDUCT_en.md -------------------------------------------------------------------------------- /.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/.github/CONTRIBUTING.md -------------------------------------------------------------------------------- /.github/CONTRIBUTING_en.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/.github/CONTRIBUTING_en.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/.github/PULL_REQUEST_TEMPLATE/README.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md -------------------------------------------------------------------------------- /.github/SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/.github/SECURITY.md -------------------------------------------------------------------------------- /.github/SUPPORT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/.github/SUPPORT.md -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/schedule.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/.github/workflows/schedule.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTORS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/CONTRIBUTORS.md -------------------------------------------------------------------------------- /DISCLAIMER.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/DISCLAIMER.pdf -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/README.md -------------------------------------------------------------------------------- /doc/certifications.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/doc/certifications.md -------------------------------------------------------------------------------- /doc/img/baner.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/doc/img/baner.jpg -------------------------------------------------------------------------------- /docker/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/docker/Dockerfile -------------------------------------------------------------------------------- /docker/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/docker/docker-compose.yml -------------------------------------------------------------------------------- /efgs/downloader/.gcloudignore: -------------------------------------------------------------------------------- 1 | .git 2 | target 3 | build 4 | .idea 5 | -------------------------------------------------------------------------------- /efgs/downloader/owasp/suppressions.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/owasp/suppressions.xml -------------------------------------------------------------------------------- /efgs/downloader/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/pom.xml -------------------------------------------------------------------------------- /efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/BatchTag.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/BatchTag.java -------------------------------------------------------------------------------- /efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/BatchTagFetcher.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/BatchTagFetcher.java -------------------------------------------------------------------------------- /efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/BatchTagService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/BatchTagService.java -------------------------------------------------------------------------------- /efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/DateProvider.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/DateProvider.java -------------------------------------------------------------------------------- /efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/DownloadedKeys.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/DownloadedKeys.java -------------------------------------------------------------------------------- /efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/DownloadedKeysFilter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/DownloadedKeysFilter.java -------------------------------------------------------------------------------- /efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/DownloadedKeysMapper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/DownloadedKeysMapper.java -------------------------------------------------------------------------------- /efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/DownloaderService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/DownloaderService.java -------------------------------------------------------------------------------- /efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/EfgsDownloader.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/EfgsDownloader.java -------------------------------------------------------------------------------- /efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/EfgsKeysProcessor.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/EfgsKeysProcessor.java -------------------------------------------------------------------------------- /efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/KeyChunker.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/KeyChunker.java -------------------------------------------------------------------------------- /efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/ProcessedDateService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/ProcessedDateService.java -------------------------------------------------------------------------------- /efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/Properties.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/Properties.java -------------------------------------------------------------------------------- /efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/TriggerEvent.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/TriggerEvent.java -------------------------------------------------------------------------------- /efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/configuration/CloudEnhancer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/configuration/CloudEnhancer.java -------------------------------------------------------------------------------- /efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/configuration/MapperConfiguration.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/configuration/MapperConfiguration.java -------------------------------------------------------------------------------- /efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/http/BatchesResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/http/BatchesResponse.java -------------------------------------------------------------------------------- /efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/http/CertUtils.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/http/CertUtils.java -------------------------------------------------------------------------------- /efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/http/ForceCertUsageX509KeyManager.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/http/ForceCertUsageX509KeyManager.java -------------------------------------------------------------------------------- /efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/http/HttpConnector.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/http/HttpConnector.java -------------------------------------------------------------------------------- /efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/http/HttpDownloader.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/http/HttpDownloader.java -------------------------------------------------------------------------------- /efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/http/WebClientFactory.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/http/WebClientFactory.java -------------------------------------------------------------------------------- /efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/message/Message.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/message/Message.java -------------------------------------------------------------------------------- /efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/message/MessageSender.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/message/MessageSender.java -------------------------------------------------------------------------------- /efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/message/PubSubMessageSender.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/message/PubSubMessageSender.java -------------------------------------------------------------------------------- /efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/model/Key.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/model/Key.java -------------------------------------------------------------------------------- /efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/model/KeysWrapper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/model/KeysWrapper.java -------------------------------------------------------------------------------- /efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/model/ProcessedBatchesFactory.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/model/ProcessedBatchesFactory.java -------------------------------------------------------------------------------- /efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/model/ReportType.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/model/ReportType.java -------------------------------------------------------------------------------- /efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/repository/BatchTagRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/repository/BatchTagRepository.java -------------------------------------------------------------------------------- /efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/repository/FirestoreBatchTag.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/repository/FirestoreBatchTag.java -------------------------------------------------------------------------------- /efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/repository/FirestoreProvider.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/repository/FirestoreProvider.java -------------------------------------------------------------------------------- /efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/repository/FirestoreRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/repository/FirestoreRepository.java -------------------------------------------------------------------------------- /efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/repository/ProcessedDate.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/repository/ProcessedDate.java -------------------------------------------------------------------------------- /efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/repository/ProcessedDateRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/repository/ProcessedDateRepository.java -------------------------------------------------------------------------------- /efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/secret/CloudBackendConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/secret/CloudBackendConfig.java -------------------------------------------------------------------------------- /efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/secret/SecretManagerConfiguration.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/java/pl/gov/mc/protegosafe/efgs/secret/SecretManagerConfiguration.java -------------------------------------------------------------------------------- /efgs/downloader/src/main/resources/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Main-Class: pl.gov.mc.protegosafe.efgs.EfgsDownloader 2 | -------------------------------------------------------------------------------- /efgs/downloader/src/main/resources/application.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/resources/application.yml -------------------------------------------------------------------------------- /efgs/downloader/src/main/resources/logback-spring.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/main/resources/logback-spring.xml -------------------------------------------------------------------------------- /efgs/downloader/src/test/java/pl/gov/mc/protegosafe/efgs/BatchTagServiceTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/test/java/pl/gov/mc/protegosafe/efgs/BatchTagServiceTest.java -------------------------------------------------------------------------------- /efgs/downloader/src/test/java/pl/gov/mc/protegosafe/efgs/DownloadedKeysFilterTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/test/java/pl/gov/mc/protegosafe/efgs/DownloadedKeysFilterTest.java -------------------------------------------------------------------------------- /efgs/downloader/src/test/java/pl/gov/mc/protegosafe/efgs/DownloaderServiceTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/test/java/pl/gov/mc/protegosafe/efgs/DownloaderServiceTest.java -------------------------------------------------------------------------------- /efgs/downloader/src/test/java/pl/gov/mc/protegosafe/efgs/EfgsKeysProcessorTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/test/java/pl/gov/mc/protegosafe/efgs/EfgsKeysProcessorTest.java -------------------------------------------------------------------------------- /efgs/downloader/src/test/java/pl/gov/mc/protegosafe/efgs/KeyChunkerTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/test/java/pl/gov/mc/protegosafe/efgs/KeyChunkerTest.java -------------------------------------------------------------------------------- /efgs/downloader/src/test/java/pl/gov/mc/protegosafe/efgs/ProcessedDateServiceTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/test/java/pl/gov/mc/protegosafe/efgs/ProcessedDateServiceTest.java -------------------------------------------------------------------------------- /efgs/downloader/src/test/java/pl/gov/mc/protegosafe/efgs/repository/FirestoreRepositoryTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/downloader/src/test/java/pl/gov/mc/protegosafe/efgs/repository/FirestoreRepositoryTest.java -------------------------------------------------------------------------------- /efgs/uploader/.gcloudignore: -------------------------------------------------------------------------------- 1 | .git 2 | target 3 | build 4 | .idea -------------------------------------------------------------------------------- /efgs/uploader/owasp/suppressions.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/owasp/suppressions.xml -------------------------------------------------------------------------------- /efgs/uploader/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/pom.xml -------------------------------------------------------------------------------- /efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/CloudEnhancer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/CloudEnhancer.java -------------------------------------------------------------------------------- /efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/DiagnosisKeysProcessor.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/DiagnosisKeysProcessor.java -------------------------------------------------------------------------------- /efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/DiagnosisKeysUploader.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/DiagnosisKeysUploader.java -------------------------------------------------------------------------------- /efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/EfgsDiagnosisKeysUploader.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/EfgsDiagnosisKeysUploader.java -------------------------------------------------------------------------------- /efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/EfgsFailedDiagnosisKeysUploader.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/EfgsFailedDiagnosisKeysUploader.java -------------------------------------------------------------------------------- /efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/EfgsFakeDiagnosisKeysFactory.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/EfgsFakeDiagnosisKeysFactory.java -------------------------------------------------------------------------------- /efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/EfgsProtoDiagnosisKeyBatchFactory.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/EfgsProtoDiagnosisKeyBatchFactory.java -------------------------------------------------------------------------------- /efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/EfgsUploader.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/EfgsUploader.java -------------------------------------------------------------------------------- /efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/HttpUploader.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/HttpUploader.java -------------------------------------------------------------------------------- /efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/Mode.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/Mode.java -------------------------------------------------------------------------------- /efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/Properties.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/Properties.java -------------------------------------------------------------------------------- /efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/SignatureGenerator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/SignatureGenerator.java -------------------------------------------------------------------------------- /efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/repository/DiagnosisKeysRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/repository/DiagnosisKeysRepository.java -------------------------------------------------------------------------------- /efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/repository/FailedDiagnosisKeysRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/repository/FailedDiagnosisKeysRepository.java -------------------------------------------------------------------------------- /efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/repository/FirestoreProvider.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/repository/FirestoreProvider.java -------------------------------------------------------------------------------- /efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/repository/model/DiagnosisKey.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/repository/model/DiagnosisKey.java -------------------------------------------------------------------------------- /efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/repository/model/DiagnosisKeyModel.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/repository/model/DiagnosisKeyModel.java -------------------------------------------------------------------------------- /efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/repository/model/FailedDiagnosisKey.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/repository/model/FailedDiagnosisKey.java -------------------------------------------------------------------------------- /efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/repository/model/ReportType.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/repository/model/ReportType.java -------------------------------------------------------------------------------- /efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/secret/CloudBackendConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/secret/CloudBackendConfig.java -------------------------------------------------------------------------------- /efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/secret/SecretManagerConfiguration.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/secret/SecretManagerConfiguration.java -------------------------------------------------------------------------------- /efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/utils/BatchSignatureUtils.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/utils/BatchSignatureUtils.java -------------------------------------------------------------------------------- /efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/utils/CertUtils.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/utils/CertUtils.java -------------------------------------------------------------------------------- /efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/utils/ForceCertUsageX509KeyManager.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/utils/ForceCertUsageX509KeyManager.java -------------------------------------------------------------------------------- /efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/utils/WebClientFactory.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/src/main/java/pl/gov/mc/protegosafe/efgs/utils/WebClientFactory.java -------------------------------------------------------------------------------- /efgs/uploader/src/main/proto/Efgs.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/src/main/proto/Efgs.proto -------------------------------------------------------------------------------- /efgs/uploader/src/main/resources/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Main-Class: pl.gov.mc.protegosafe.efgs.EfgsUploader 2 | -------------------------------------------------------------------------------- /efgs/uploader/src/main/resources/application.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/src/main/resources/application.yml -------------------------------------------------------------------------------- /efgs/uploader/src/main/resources/logback-spring.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/src/main/resources/logback-spring.xml -------------------------------------------------------------------------------- /efgs/uploader/src/test/java/pl/gov/mc/protegosafe/efgs/EfgsDiagnosisKeysUploaderIntegrationTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/src/test/java/pl/gov/mc/protegosafe/efgs/EfgsDiagnosisKeysUploaderIntegrationTest.java -------------------------------------------------------------------------------- /efgs/uploader/src/test/java/pl/gov/mc/protegosafe/efgs/EfgsDiagnosisKeysUploaderTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/src/test/java/pl/gov/mc/protegosafe/efgs/EfgsDiagnosisKeysUploaderTest.java -------------------------------------------------------------------------------- /efgs/uploader/src/test/java/pl/gov/mc/protegosafe/efgs/EfgsFailedDiagnosisKeysUploaderTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/src/test/java/pl/gov/mc/protegosafe/efgs/EfgsFailedDiagnosisKeysUploaderTest.java -------------------------------------------------------------------------------- /efgs/uploader/src/test/java/pl/gov/mc/protegosafe/efgs/EfgsFakeDiagnosisKeysFactoryTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/src/test/java/pl/gov/mc/protegosafe/efgs/EfgsFakeDiagnosisKeysFactoryTest.java -------------------------------------------------------------------------------- /efgs/uploader/src/test/java/pl/gov/mc/protegosafe/efgs/EfgsProtoDiagnosisKeyBatchFactoryTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/src/test/java/pl/gov/mc/protegosafe/efgs/EfgsProtoDiagnosisKeyBatchFactoryTest.java -------------------------------------------------------------------------------- /efgs/uploader/src/test/java/pl/gov/mc/protegosafe/efgs/IntegrationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/src/test/java/pl/gov/mc/protegosafe/efgs/IntegrationTests.java -------------------------------------------------------------------------------- /efgs/uploader/src/test/java/pl/gov/mc/protegosafe/efgs/ReportTypeTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/src/test/java/pl/gov/mc/protegosafe/efgs/ReportTypeTest.java -------------------------------------------------------------------------------- /efgs/uploader/src/test/java/pl/gov/mc/protegosafe/efgs/repository/model/DiagnosisKeyTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/src/test/java/pl/gov/mc/protegosafe/efgs/repository/model/DiagnosisKeyTest.java -------------------------------------------------------------------------------- /efgs/uploader/src/test/resources/application.yml: -------------------------------------------------------------------------------- 1 | efgs: 2 | diagnosisKeysFetchDelayFromRepository: 108000 3 | -------------------------------------------------------------------------------- /efgs/uploader/src/test/resources/logback-test.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/efgs/uploader/src/test/resources/logback-test.xml -------------------------------------------------------------------------------- /firebase.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/firebase.json -------------------------------------------------------------------------------- /functions/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/.gitignore -------------------------------------------------------------------------------- /functions/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/package-lock.json -------------------------------------------------------------------------------- /functions/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/package.json -------------------------------------------------------------------------------- /functions/src/cloudFunctions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/cloudFunctions.ts -------------------------------------------------------------------------------- /functions/src/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/config.ts -------------------------------------------------------------------------------- /functions/src/functions/clearExpiredData.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/clearExpiredData.ts -------------------------------------------------------------------------------- /functions/src/functions/code/CodeEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/code/CodeEvent.ts -------------------------------------------------------------------------------- /functions/src/functions/code/CodeStatus.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/code/CodeStatus.ts -------------------------------------------------------------------------------- /functions/src/functions/code/CodeType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/code/CodeType.ts -------------------------------------------------------------------------------- /functions/src/functions/code/codeGenerator/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/code/codeGenerator/index.ts -------------------------------------------------------------------------------- /functions/src/functions/code/codeValidator/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/code/codeValidator/index.ts -------------------------------------------------------------------------------- /functions/src/functions/colors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/colors.ts -------------------------------------------------------------------------------- /functions/src/functions/disableCacheOnBucket.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/disableCacheOnBucket.ts -------------------------------------------------------------------------------- /functions/src/functions/efgs/fetchErrorMessage/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/efgs/fetchErrorMessage/index.ts -------------------------------------------------------------------------------- /functions/src/functions/efgs/gensPayloadFactory/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/efgs/gensPayloadFactory/index.ts -------------------------------------------------------------------------------- /functions/src/functions/efgs/uploadDiagnosisKeysSubscriber/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/efgs/uploadDiagnosisKeysSubscriber/index.ts -------------------------------------------------------------------------------- /functions/src/functions/efgs/uploadFailedDiagnosisKeysToGENS/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/efgs/uploadFailedDiagnosisKeysToGENS/index.ts -------------------------------------------------------------------------------- /functions/src/functions/efgs/uploadGensDiagnosisKeys/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/efgs/uploadGensDiagnosisKeys/index.ts -------------------------------------------------------------------------------- /functions/src/functions/freeTest/generateSubscriptionCode/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/freeTest/generateSubscriptionCode/index.ts -------------------------------------------------------------------------------- /functions/src/functions/freeTest/getSubscription/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/freeTest/getSubscription/index.ts -------------------------------------------------------------------------------- /functions/src/functions/freeTest/getSubscriptionCode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/freeTest/getSubscriptionCode.ts -------------------------------------------------------------------------------- /functions/src/functions/freeTest/subscriptionsForTest/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/freeTest/subscriptionsForTest/index.ts -------------------------------------------------------------------------------- /functions/src/functions/freeTest/updateSubscription.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/freeTest/updateSubscription.ts -------------------------------------------------------------------------------- /functions/src/functions/generateCodeWrapper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/generateCodeWrapper.ts -------------------------------------------------------------------------------- /functions/src/functions/generateCodesBatch/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/generateCodesBatch/index.ts -------------------------------------------------------------------------------- /functions/src/functions/generateCodesBatch/validator/durationValidator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/generateCodesBatch/validator/durationValidator.ts -------------------------------------------------------------------------------- /functions/src/functions/generateCodesBatch/validator/numberOfCodesValidator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/generateCodesBatch/validator/numberOfCodesValidator.ts -------------------------------------------------------------------------------- /functions/src/functions/getAccessToken.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/getAccessToken.ts -------------------------------------------------------------------------------- /functions/src/functions/ipAndApiTokenValidator/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/ipAndApiTokenValidator/index.ts -------------------------------------------------------------------------------- /functions/src/functions/jobs/backupTranslations/Repository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/jobs/backupTranslations/Repository.ts -------------------------------------------------------------------------------- /functions/src/functions/jobs/backupTranslations/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/jobs/backupTranslations/index.ts -------------------------------------------------------------------------------- /functions/src/functions/jobs/storageSaver.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/jobs/storageSaver.ts -------------------------------------------------------------------------------- /functions/src/functions/jwtGenerator/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/jwtGenerator/index.ts -------------------------------------------------------------------------------- /functions/src/functions/logger/codeLogger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/logger/codeLogger.ts -------------------------------------------------------------------------------- /functions/src/functions/logger/error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/logger/error.ts -------------------------------------------------------------------------------- /functions/src/functions/logger/errorEntryLabels.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/logger/errorEntryLabels.ts -------------------------------------------------------------------------------- /functions/src/functions/logger/errorLogger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/logger/errorLogger.ts -------------------------------------------------------------------------------- /functions/src/functions/logger/getCodeLogEntryLabels.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/logger/getCodeLogEntryLabels.ts -------------------------------------------------------------------------------- /functions/src/functions/metrics/Metric.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/metrics/Metric.ts -------------------------------------------------------------------------------- /functions/src/functions/metrics/MetricFactory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/metrics/MetricFactory.ts -------------------------------------------------------------------------------- /functions/src/functions/metrics/MetricRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/metrics/MetricRepository.ts -------------------------------------------------------------------------------- /functions/src/functions/metrics/OpenCensusContainer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/metrics/OpenCensusContainer.ts -------------------------------------------------------------------------------- /functions/src/functions/metrics/metricTypes.ts: -------------------------------------------------------------------------------- 1 | export const metricTypes = { 2 | uploadedKeys: 'UPLOADED_KEYS' 3 | }; -------------------------------------------------------------------------------- /functions/src/functions/metrics/sendUploadedKeysOpenCensusMetricScheduler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/metrics/sendUploadedKeysOpenCensusMetricScheduler.ts -------------------------------------------------------------------------------- /functions/src/functions/metrics/services.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/metrics/services.ts -------------------------------------------------------------------------------- /functions/src/functions/metrics/trackUploadedKeysMetric.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/metrics/trackUploadedKeysMetric.ts -------------------------------------------------------------------------------- /functions/src/functions/metrics/uploadedKeysMetricInitializer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/metrics/uploadedKeysMetricInitializer.ts -------------------------------------------------------------------------------- /functions/src/functions/notification/Notification.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/notification/Notification.ts -------------------------------------------------------------------------------- /functions/src/functions/notification/NotificationFactory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/notification/NotificationFactory.ts -------------------------------------------------------------------------------- /functions/src/functions/notification/NotificationRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/notification/NotificationRepository.ts -------------------------------------------------------------------------------- /functions/src/functions/notification/notificationType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/notification/notificationType.ts -------------------------------------------------------------------------------- /functions/src/functions/notification/sendNotification.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/notification/sendNotification.ts -------------------------------------------------------------------------------- /functions/src/functions/notification/services.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/notification/services.ts -------------------------------------------------------------------------------- /functions/src/functions/platform.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/platform.ts -------------------------------------------------------------------------------- /functions/src/functions/repository/CdnFileRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/repository/CdnFileRepository.ts -------------------------------------------------------------------------------- /functions/src/functions/repository/Entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/repository/Entity.ts -------------------------------------------------------------------------------- /functions/src/functions/repository/EntityRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/repository/EntityRepository.ts -------------------------------------------------------------------------------- /functions/src/functions/repository/FailureUploadingDiagnosisKeys.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/repository/FailureUploadingDiagnosisKeys.ts -------------------------------------------------------------------------------- /functions/src/functions/repository/FailureUploadingDiagnosisKeysRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/repository/FailureUploadingDiagnosisKeysRepository.ts -------------------------------------------------------------------------------- /functions/src/functions/returnBadRequestResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/returnBadRequestResponse.ts -------------------------------------------------------------------------------- /functions/src/functions/slack/SlackMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/slack/SlackMessage.ts -------------------------------------------------------------------------------- /functions/src/functions/slack/SlackMessageDetailsItem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/slack/SlackMessageDetailsItem.ts -------------------------------------------------------------------------------- /functions/src/functions/slack/SlackMessageSender.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/slack/SlackMessageSender.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/DailyData.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/DailyData.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/DailyDataFetcher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/DailyDataFetcher.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/DistrictState.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/DistrictState.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/DistrictStatistics.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/DistrictStatistics.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/DistrictStatisticsProcessor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/DistrictStatisticsProcessor.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/DistrictsStatesProcessor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/DistrictsStatesProcessor.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/File.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/File.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/GlobalStatistics.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/GlobalStatistics.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/GlobalStatisticsProcessor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/GlobalStatisticsProcessor.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/NewData.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/NewData.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/NewVaccinationsData.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/NewVaccinationsData.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/NotificationSendingProcessor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/NotificationSendingProcessor.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/StatisticFactory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/StatisticFactory.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/StatisticsFetchingProcessor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/StatisticsFetchingProcessor.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/StatisticsFileReader.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/StatisticsFileReader.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/StatisticsLoggingPublishingProcessor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/StatisticsLoggingPublishingProcessor.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/StatistiscHelper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/StatistiscHelper.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/StatistiscPublishProcessor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/StatistiscPublishProcessor.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/Timestamps.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/Timestamps.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/TotalData.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/TotalData.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/TotalVaccinationsData.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/TotalVaccinationsData.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/VoivodeshipStatistics.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/VoivodeshipStatistics.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/VoivodeshipStatisticsProcessor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/VoivodeshipStatisticsProcessor.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/errors/FileNotFoundError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/errors/FileNotFoundError.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/errors/NumberFormatError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/errors/NumberFormatError.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/jsons/CovidInfoJsonFactory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/jsons/CovidInfoJsonFactory.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/jsons/DashboardJsonFactory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/jsons/DashboardJsonFactory.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/jsons/DataChangeChecker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/jsons/DataChangeChecker.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/jsons/DetailsJsonFactory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/jsons/DetailsJsonFactory.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/jsons/DistrictsJsonFactory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/jsons/DistrictsJsonFactory.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/jsons/LastDaysFactory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/jsons/LastDaysFactory.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/jsons/VoivodeshipViewModelFactory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/jsons/VoivodeshipViewModelFactory.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/model/CovidInfoJsonViewModel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/model/CovidInfoJsonViewModel.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/model/CovidStatsViewModel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/model/CovidStatsViewModel.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/model/DashboardJsonViewModel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/model/DashboardJsonViewModel.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/model/DetailsJsonViewModel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/model/DetailsJsonViewModel.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/model/DistrictDetailsViewModel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/model/DistrictDetailsViewModel.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/model/DistrictViewModel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/model/DistrictViewModel.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/model/DistrictsJsonViewModel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/model/DistrictsJsonViewModel.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/model/LastDaysJsonViewModel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/model/LastDaysJsonViewModel.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/model/RegionDetailsViewModel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/model/RegionDetailsViewModel.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/model/VoivodeshipDetailsViewModel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/model/VoivodeshipDetailsViewModel.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/model/VoivodeshipViewModel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/model/VoivodeshipViewModel.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/repository/District.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/repository/District.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/repository/DistrictRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/repository/DistrictRepository.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/repository/Statistic.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/repository/Statistic.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/repository/StatisticsRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/repository/StatisticsRepository.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/repository/Voivodeship.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/repository/Voivodeship.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/repository/VoivodeshipRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/repository/VoivodeshipRepository.ts -------------------------------------------------------------------------------- /functions/src/functions/statistics/services.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/statistics/services.ts -------------------------------------------------------------------------------- /functions/src/functions/uploadDiagnosisKeys/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/uploadDiagnosisKeys/index.ts -------------------------------------------------------------------------------- /functions/src/functions/uploadDiagnosisKeysHttpHandler/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/functions/uploadDiagnosisKeysHttpHandler/index.ts -------------------------------------------------------------------------------- /functions/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/index.ts -------------------------------------------------------------------------------- /functions/src/services.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/services.ts -------------------------------------------------------------------------------- /functions/src/utils/ArrayHelper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/utils/ArrayHelper.ts -------------------------------------------------------------------------------- /functions/src/utils/AssertHelper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/utils/AssertHelper.ts -------------------------------------------------------------------------------- /functions/src/utils/CodeRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/utils/CodeRepository.ts -------------------------------------------------------------------------------- /functions/src/utils/CodeWithId.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/utils/CodeWithId.ts -------------------------------------------------------------------------------- /functions/src/utils/CovidStats.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/utils/CovidStats.ts -------------------------------------------------------------------------------- /functions/src/utils/HashedAccessTokensRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/utils/HashedAccessTokensRepository.ts -------------------------------------------------------------------------------- /functions/src/utils/IPChecker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/utils/IPChecker.ts -------------------------------------------------------------------------------- /functions/src/utils/RandomCodeGenerator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/utils/RandomCodeGenerator.ts -------------------------------------------------------------------------------- /functions/src/utils/SecretManager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/utils/SecretManager.ts -------------------------------------------------------------------------------- /functions/src/utils/SubscriptionRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/utils/SubscriptionRepository.ts -------------------------------------------------------------------------------- /functions/src/utils/TokenRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/utils/TokenRepository.ts -------------------------------------------------------------------------------- /functions/src/utils/dateUtils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/src/utils/dateUtils.ts -------------------------------------------------------------------------------- /functions/test/functions/efgs/gensPayloadFactory/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/test/functions/efgs/gensPayloadFactory/index.test.ts -------------------------------------------------------------------------------- /functions/test/functions/generateCodesBatch/validator/durationValidator.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/test/functions/generateCodesBatch/validator/durationValidator.test.ts -------------------------------------------------------------------------------- /functions/test/functions/generateCodesBatch/validator/numberOfCodesValidator.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/test/functions/generateCodesBatch/validator/numberOfCodesValidator.test.ts -------------------------------------------------------------------------------- /functions/test/functions/statistics/DailyDataFetcher.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/test/functions/statistics/DailyDataFetcher.test.ts -------------------------------------------------------------------------------- /functions/test/functions/statistics/DistrictsStatesProcessor.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/test/functions/statistics/DistrictsStatesProcessor.test.ts -------------------------------------------------------------------------------- /functions/test/functions/statistics/DistrictsStatisticsProcessor.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/test/functions/statistics/DistrictsStatisticsProcessor.test.ts -------------------------------------------------------------------------------- /functions/test/functions/statistics/File.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/test/functions/statistics/File.test.ts -------------------------------------------------------------------------------- /functions/test/functions/statistics/GlobalStatisticsProcessor.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/test/functions/statistics/GlobalStatisticsProcessor.test.ts -------------------------------------------------------------------------------- /functions/test/functions/statistics/StatistiscHelper.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/test/functions/statistics/StatistiscHelper.test.ts -------------------------------------------------------------------------------- /functions/test/functions/statistics/VoivodeshipsStatisticsProcessor.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/test/functions/statistics/VoivodeshipsStatisticsProcessor.test.ts -------------------------------------------------------------------------------- /functions/test/functions/statistics/dummyData.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/test/functions/statistics/dummyData.ts -------------------------------------------------------------------------------- /functions/test/functions/statistics/jsons/CovidInfoJsonFactory.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/test/functions/statistics/jsons/CovidInfoJsonFactory.test.ts -------------------------------------------------------------------------------- /functions/test/functions/statistics/jsons/DashboardJsonFactory.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/test/functions/statistics/jsons/DashboardJsonFactory.test.ts -------------------------------------------------------------------------------- /functions/test/functions/statistics/jsons/DetailsJsonFactory.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/test/functions/statistics/jsons/DetailsJsonFactory.test.ts -------------------------------------------------------------------------------- /functions/test/functions/statistics/jsons/LastDaysFactory.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/test/functions/statistics/jsons/LastDaysFactory.test.ts -------------------------------------------------------------------------------- /functions/test/utils/ArrayHelper.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/test/utils/ArrayHelper.test.ts -------------------------------------------------------------------------------- /functions/test/utils/CodeRepository.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/test/utils/CodeRepository.test.ts -------------------------------------------------------------------------------- /functions/test/utils/dataUtils.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/test/utils/dataUtils.test.ts -------------------------------------------------------------------------------- /functions/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/tsconfig.json -------------------------------------------------------------------------------- /functions/tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/functions/tslint.json -------------------------------------------------------------------------------- /utils/create_ta.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/utils/create_ta.sh -------------------------------------------------------------------------------- /utils/src/main/java/pl/gov/mc/protegosafe/SignatureGenerator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProteGO-Safe/backend/HEAD/utils/src/main/java/pl/gov/mc/protegosafe/SignatureGenerator.java --------------------------------------------------------------------------------