Skip to content

Add support for Registration V2 API #132

Merged
francoisledroff merged 12 commits intomainfrom
CI-5663
Nov 29, 2022
Merged

Add support for Registration V2 API #132
francoisledroff merged 12 commits intomainfrom
CI-5663

Conversation

@sangeetha5491
Copy link
Copy Markdown
Collaborator

@sangeetha5491 sangeetha5491 commented Nov 23, 2022

Description

Add RegistrationCreateModel, RegistrationUpdateModel, EventsOfInterestInputModel
Update Registration model to include HAL links and other changes wrt the new registration API response
Update Jackson Object Mapper to support HAL JSON
Update the integration and unit tests
Other fixes to support these changes

Related Issue

Motivation and Context

Adds support for the latest Registration IO Management API. For more details see: https://developer.adobe.com/events/docs/api/#tag/Registrations

How Has This Been Tested?

Integration tests and unit tests

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.

@sangeetha5491 sangeetha5491 temporarily deployed to aio_prod November 23, 2022 13:47 Inactive
@sangeetha5491 sangeetha5491 temporarily deployed to aio_stage November 23, 2022 13:47 Inactive
Copy link
Copy Markdown
Collaborator

@francoisledroff francoisledroff left a comment

Choose a reason for hiding this comment

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

here is my first quick review

.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false)
.serializationInclusion(Include.NON_NULL)
.addModule(new SimpleModule()
.addSerializer(ZonedDateTime.class, new ZonedDateTimeSerializer())
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

does this fix #103 ?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

need to check.

@sangeetha5491 sangeetha5491 temporarily deployed to aio_prod November 24, 2022 09:12 Inactive
@sangeetha5491 sangeetha5491 temporarily deployed to aio_stage November 24, 2022 09:12 Inactive
@sangeetha5491 sangeetha5491 temporarily deployed to aio_stage November 29, 2022 10:32 Inactive
@sangeetha5491 sangeetha5491 temporarily deployed to aio_prod November 29, 2022 10:32 Inactive
@sangeetha5491 sangeetha5491 temporarily deployed to aio_prod November 29, 2022 10:55 Inactive
@sangeetha5491 sangeetha5491 temporarily deployed to aio_stage November 29, 2022 10:55 Inactive
Copy link
Copy Markdown
Collaborator

@francoisledroff francoisledroff left a comment

Choose a reason for hiding this comment

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

looking good !

@francoisledroff francoisledroff merged commit 51be231 into main Nov 29, 2022
@francoisledroff francoisledroff deleted the CI-5663 branch December 14, 2022 10:37
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