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

IMN-763 + IMN-764 - API Gateway - GET /purposes + GET /purposes/:purposeId #793

Conversation

ecamellini
Copy link
Collaborator

@ecamellini ecamellini commented Jul 25, 2024

Closes IMN-763
Closes IMN-764
Based on #783

GET /purposes success ✅

image

GET /purpose/:purposeId success ✅

image

Error cases

Trying to get a Purpose with no active version ❌

image image

Purpose not found ❌

image

Forbidden because caller is not the purpose consumer or the eservice producer

image

galales and others added 30 commits June 3, 2024 11:24
Co-authored-by: renovate-pagopa[bot] <164534245+renovate-pagopa[bot]@users.noreply.github.com>
Co-authored-by: renovate-pagopa[bot] <164534245+renovate-pagopa[bot]@users.noreply.github.com>
Co-authored-by: Michele De Simone <106953981+micdes-pagopa@users.noreply.github.com>
Co-authored-by: Michele De Simone <106953981+micdes-pagopa@users.noreply.github.com>
Co-authored-by: Roberto Taglioni <roberto.taglioni@pagopa.it>
Co-authored-by: Roberto Taglioni <roberto.taglioni@pagopa.it>
Co-authored-by: AsterITA <fabrizio.musella@gmail.com>
Co-authored-by: renovate-pagopa[bot] <164534245+renovate-pagopa[bot]@users.noreply.github.com>
Co-authored-by: renovate-pagopa[bot] <164534245+renovate-pagopa[bot]@users.noreply.github.com>
Co-authored-by: renovate-pagopa[bot] <164534245+renovate-pagopa[bot]@users.noreply.github.com>
Co-authored-by: Eric Camellini <eric.camellini@gmail.com>
Co-authored-by: renovate-pagopa[bot] <164534245+renovate-pagopa[bot]@users.noreply.github.com>
Co-authored-by: renovate-pagopa[bot] <164534245+renovate-pagopa[bot]@users.noreply.github.com>
Co-authored-by: renovate-pagopa[bot] <164534245+renovate-pagopa[bot]@users.noreply.github.com>
Co-authored-by: Eric Camellini <eric.camellini@gmail.com>
Co-authored-by: Roberto Taglioni <roberto.taglioni@pagopa.it>
Co-authored-by: AsterITA <fabrizio.musella@gmail.com>
Co-authored-by: renovate-pagopa[bot] <164534245+renovate-pagopa[bot]@users.noreply.github.com>
Co-authored-by: Michele De Simone <106953981+micdes-pagopa@users.noreply.github.com>
Co-authored-by: renovate-pagopa[bot] <164534245+renovate-pagopa[bot]@users.noreply.github.com>
@ecamellini ecamellini changed the base branch from main to IMN-745-api-gateway-get-agreement-purposes July 25, 2024 09:33
@ecamellini ecamellini changed the title IMN-763 - API Gateway - GET /purposes IMN-763 + IMN-764 - API Gateway - GET /purposes + GET /purposes/{purposeId} Jul 25, 2024
@ecamellini ecamellini changed the title IMN-763 + IMN-764 - API Gateway - GET /purposes + GET /purposes/{purposeId} IMN-763 + IMN-764 - API Gateway - GET /purposes + GET /purposes/:purposeId Jul 25, 2024
Copy link
Collaborator

@MalpenZibo MalpenZibo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌

@@ -5,6 +5,7 @@ LOG_LEVEL=info
WELL_KNOWN_URLS="https://dev.interop.pagopa.it/.well-known/jwks.json"
ACCEPTED_AUDIENCES="dev.interop.pagopa.it/m2m,refactor.dev.interop.pagopa.it/m2m"

CATALOG_PROCESS_URL="http://localhost:3000"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to remember to change this configuration after merging #796

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.