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-3519 Alignment to Selfcare API v.2 #240

Merged
merged 26 commits into from
Nov 10, 2023
Merged

PIN-3519 Alignment to Selfcare API v.2 #240

merged 26 commits into from
Nov 10, 2023

Conversation

nttdata-rtorsoli
Copy link
Contributor

@nttdata-rtorsoli nttdata-rtorsoli commented Oct 24, 2023

It needs PIN-3518, PIN-3515, PIN-4112 to compile

@nttdata-rtorsoli nttdata-rtorsoli changed the title Pin 3519 PIN 3519 Alignment to Selfcare API v.2 Oct 24, 2023
@nttdata-rtorsoli nttdata-rtorsoli changed the title PIN 3519 Alignment to Selfcare API v.2 PIN-3519 Alignment to Selfcare API v.2 Oct 24, 2023
@beetlecrunch
Copy link
Contributor

beetlecrunch commented Oct 30, 2023

It needs PIN-3518, PIN-3515, PIN-4112 to compile

Please check it.pagopa.interop.backendforfrontend.api.impl.Utils.scala

At line 110 final val SELFCARE_OPERATOR_ROLE: String = "OPERATOR" at line 189 and 208 it need to be changed on USER or not?

We can remove totally.

src/main/resources/interface-specification.yml Outdated Show resolved Hide resolved
src/main/resources/interface-specification.yml Outdated Show resolved Hide resolved
src/main/resources/interface-specification.yml Outdated Show resolved Hide resolved
@@ -4757,17 +4739,17 @@ paths:
schema:
type: integer
description: Time interval in milliseconds. Allowed requests will be constantly replenished during the interval. At the end of the interval the max allowed requests will be available
'/relationships/{relationshipId}':
'/users/{userId}':
Copy link
Contributor

Choose a reason for hiding this comment

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

@ruggerocastagnola this endpoint is a bit changed now that we have the userId.
What does the frontend need here? Just the info of a specific user or the info of the user related to a Tenant (eg name and roles)?

Choose a reason for hiding this comment

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

What is the difference? The minimal set of info needed about a user in all related endpoints are:

  • name
  • surname
  • id
  • role on platform

Right now we also have the tax code but that is not mandatory, in case

@galales galales merged commit 2a922e8 into 1.0.x Nov 10, 2023
4 checks passed
@galales galales deleted the PIN-3519 branch November 10, 2023 10:21
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.

4 participants