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

feat: refactor lambda service metadata #584

Open
wants to merge 69 commits into
base: main
Choose a base branch
from

Conversation

BenitoVisone
Copy link
Contributor

This PR introduces oneid-lambda-service-metadata refactoring.

In particular, the lambda will be executed when a new Client is registered, updating the metadata files on the metadata bucket (spid.xml and cie.xml files).

Furthermore, these files will be accessed via API Gateway integration at:

  • https://oneid.pagopa.it/saml/spid/metadata
  • https://oneid.pagopa.it/saml/cie/metadata

GiuMontesano
GiuMontesano previously approved these changes Jan 3, 2025
Copy link
Contributor

@GiuMontesano GiuMontesano left a comment

Choose a reason for hiding this comment

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

LGTM

stream_enabled = optional(bool, false)
stream_view_type = optional(string, null)
stream_enabled = optional(bool, true)
stream_view_type = optional(string, "NEW_AND_OLD_IMAGES")
Copy link
Member

@uolter uolter Jan 3, 2025

Choose a reason for hiding this comment

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

Could it be that only NEW images are sufficient?

Copy link
Contributor Author

@BenitoVisone BenitoVisone Jan 7, 2025

Choose a reason for hiding this comment

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

We need the "NEW_AND_OLD_IMAGES" to compare the item versions during lambda execution

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.

3 participants