Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PIN-4020 Implemented Update of the Risk Analisys #208

Merged
merged 28 commits into from
Sep 29, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
334139f
PIN-4020 Implemented Update Risk Analisys
Sep 27, 2023
8eb6833
Merge branch 'PIN-3985' into PIN-4020
nttdata-rtorsoli Sep 27, 2023
b54154b
Merge branch 'PIN-3985' into PIN-4020
nttdata-rtorsoli Sep 27, 2023
506d9cd
PIN-4023 Implemented Delete Risk Analysis
Sep 27, 2023
19399ac
PIN-4020 Add 403 on openapi
Sep 27, 2023
ecb56cf
Merge branch 'PIN-3985' into PIN-4020
nttdata-rtorsoli Sep 27, 2023
13bd7ee
Merge branch 'PIN-4020' into PIN-4023
nttdata-rtorsoli Sep 27, 2023
2de6778
Merge branch 'PIN-3985' into PIN-4020
nttdata-rtorsoli Sep 27, 2023
b7f3b07
Merge branch 'PIN-4020' into PIN-4023
nttdata-rtorsoli Sep 27, 2023
9e6fa24
PIN-3996 Check when EService is published
Sep 28, 2023
ada4c7e
PR-4023 Resolved PR issue, added check of the receive mode for eService
Sep 28, 2023
efc0eac
Merge branch 'PIN-4023' into PIN-3996
nttdata-rtorsoli Sep 28, 2023
444dfd9
PR-3996 Resolved PR issues
Sep 28, 2023
b25f259
PIN-4021 Resolved PR issues
Sep 29, 2023
137b466
Merge branch 'PIN-3985' into PIN-4020
nttdata-rtorsoli Sep 29, 2023
ef1bd13
Merge branch 'PIN-4020' into PIN-4023
nttdata-rtorsoli Sep 29, 2023
eddb376
Merge branch 'PIN-4023' into PIN-3996
nttdata-rtorsoli Sep 29, 2023
706f1d1
PIN-3996 Resolved PR issues
Sep 29, 2023
4aff227
PIN-4020 Resolved PR issue
Sep 29, 2023
856e38e
Merge branch 'PIN-4020' into PIN-4023
nttdata-rtorsoli Sep 29, 2023
fba2147
Merge branch 'PIN-4023' into PIN-3996
nttdata-rtorsoli Sep 29, 2023
dd5f3a4
PIN-3996 Resolved PR issue
Sep 29, 2023
dd4b746
PIN-4020 Resolved endpoint in camel case
Sep 29, 2023
a5ab8a0
Merge branch 'PIN-4020' into PIN-4023
nttdata-rtorsoli Sep 29, 2023
4332f00
Merge branch 'PIN-4023' into PIN-3996
nttdata-rtorsoli Sep 29, 2023
dcb791e
PIN-3996 Cleaning
Sep 29, 2023
67f26fc
Merge pull request #210 from pagopa/PIN-3996
nttdata-rtorsoli Sep 29, 2023
72e4a1a
Merge pull request #209 from pagopa/PIN-4023
nttdata-rtorsoli Sep 29, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -695,8 +695,9 @@ final case class ProcessApiServiceImpl(
_ <- assertRequesterAllowed(catalogItem.producerId)(organizationId)
tenant <- tenantManagementService.getTenantById(organizationId)
tenantKind <- tenant.kind.toFuture(TenantKindNotFound(tenant.id))
_ <- isRiskAnalysisFormValid(seed.riskAnalysisForm.toTemplate, true)(tenantKind.toTemplate)
_ <- catalogManagementService.updateRiskAnalysis(eServiceUuid, riskAnalysisUuid, seed.toDependency)
_ <- isRiskAnalysisFormValid(seed.riskAnalysisForm.toTemplate, schemaOnlyValidation = true)(tenantKind.toTemplate)

nttdata-rtorsoli marked this conversation as resolved.
Show resolved Hide resolved
_ <- catalogManagementService.updateRiskAnalysis(eServiceUuid, riskAnalysisUuid, seed.toDependency)
} yield ()

onComplete(result) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ object ResponseHandlers extends AkkaResponses {
case Failure(ex: OperationForbidden.type) => forbidden(ex, logMessage)
case Failure(ex: EServiceNotFound) => notFound(ex, logMessage)
case Failure(ex: EServiceRiskAnalysisNotFound) => notFound(ex, logMessage)
case Failure(ex: TenantNotFound) => notFound(ex, logMessage)
case Failure(ex: TenantKindNotFound) => notFound(ex, logMessage)
case Failure(ex: EServiceNotInDraftState) => badRequest(ex, logMessage)
case Failure(ex: EServiceNotInReceiveMode) => badRequest(ex, logMessage)
case Failure(ex: RiskAnalysisNotValid.type) => badRequest(ex, logMessage)
Expand Down