Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Sequence Diagram Step no

TIER

API

Module

ESTIMATION

Return

Description

Question/Comments/Doubt

2

Status
colourPurple
titleTier-1

GET:/Patron-registration-status

edge-patron

mod-patron

3SP

  1. 200: if Active

  2. 404: if inactive (with error code or msg)

  3. 404: if not found (with error code or msg)

To check if email is already exist in USER table.

4

Status
colourPurple
titleTier-1

POST/UPDATE/UPSERT: /patron

edge-patron

mod-patron

6SP

  1. 201 if record created or update.

  2. 4XX/5XX: if something else (???)

Create or update patron Tier-1 data in Staging table.

Where should be create the table in mod-patron or mod-user module?

What will be exact table name? staging, user-staging or staging-user?

Will there be jsonb column like mod-users?

10

Status
colourPurple
titleTier-1

POST/UPDATE/UPSERT: /activate-patron

edge-patron

mod-patron

3SP

  1. 200: if updated

  2. 4XX: if something else (???)

To activate the patron.

Record still be there in staging table after activated?

Patron will activated even before T2 registration flow?

15

Status
colourBlue
titleTier-2

POST/UPDATE/UPSERT: /patron

edge-patron

mod-patron

4SP

  1. 201 if record created or update.

  2. 4XX/5XX: if something else (???)

To store patron Tier-2 data.

Will this be stored in staging table only?

...