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

[IOPID-94] Add first lollipop consumer #233

Merged
merged 10 commits into from
Apr 19, 2023
Merged

Conversation

shadowsheep1
Copy link
Member

@shadowsheep1 shadowsheep1 commented Apr 14, 2023

Short description

This PR adds the lollipop endpoint /first-lollipop/sign to publicRouter.

List of changes proposed in this pull request

How to test

Test the new API endpoint with this PR if not already merged.

@shadowsheep1 shadowsheep1 marked this pull request as ready for review April 18, 2023 10:39
@shadowsheep1 shadowsheep1 requested a review from a team as a code owner April 18, 2023 10:39
Copy link
Contributor

@sabontech sabontech left a comment

Choose a reason for hiding this comment

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

LGTM

@sabontech sabontech merged commit 13d9572 into master Apr 19, 2023
@sabontech sabontech deleted the IOPID-94-first-lc-io-be branch April 19, 2023 09:52
sabontech added a commit to pagopa/io-app that referenced this pull request Apr 21, 2023
## ⚠️ Depends on
pagopa-archive/io-functions-lollipop#38,
pagopa/io-backend#1006,
pagopa/io-dev-api-server#233 ⚠️ ##

## Short description
This PR add a Lollipop Playground page to call the first LC for
debugging purpose.

## List of changes proposed in this pull request
-
[package.json](https://github.com/pagopa/io-app/pull/4545/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519):
add OpenApi specs and client generation.
-
[ts/features/lollipop/api/backend.ts](https://github.com/pagopa/io-app/pull/4545/files#diff-f74e1d5ec082224b0319d628738f4276acd718325ec8adf1b024edcf831d054a):
Adds the lollipop backend server.
-
[ts/features/lollipop/playgrounds/LollipopPlaygroundContent.tsx](https://github.com/pagopa/io-app/pull/4545/files#diff-d1d3dd0d4f65dbaffcc58b5b41f71abc080812ff110a7195addc8c960392163b):
-
[ts/features/lollipop/playgrounds/LollipopPlayground.tsx](https://github.com/pagopa/io-app/pull/4545/files#diff-7177b8ec63fef44a3ace9d084515adeefd1a8979d89f9cc3030989173797799d):
Adds the lollipop Playground Screen.
-
[ts/navigation/ProfileNavigator.tsx](https://github.com/pagopa/io-app/pull/4545/files#diff-fde597880587bbd6b7df5084df5a2bb4020db9a4d14f00b29967f3faf58ad7a1):
-
[ts/navigation/params/ProfileParamsList.ts](https://github.com/pagopa/io-app/pull/4545/files#diff-f3f50220ac440ed85361a813ef5aff2d66dc324b38c8d47f9de541651342fb41):
-
[ts/navigation/routes.ts](https://github.com/pagopa/io-app/pull/4545/files#diff-950467b6141738ddf5a35aa966af7ea9731f4f70825f4fcf2e3d62f33f7ac547):
-
[ts/screens/profile/ProfileMainScreen.tsx](https://github.com/pagopa/io-app/pull/4545/files#diff-de3c1a64bcc8fdca4c8dbc5d62dba36c8c5ded27255052ecc6526e614b1e8f5b):
Manages the navigation to the lollipop playground from the profile page
in debug mode.

## How to test
Run the app and go to the new lollipop playground screen. Write
something in the text field and tap "Sign". You should see a "success"
alert showing the current server assertion ref. Test it by pointing to
production and also by using the dev server.

---------

Co-authored-by: SabPicariello <[email protected]>
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.

2 participants