Data Model

This section explains the data models of extension and alternate keys.

Extension Data

The extension data model is used to store the user fields, which are received from the streaming platform or through APIs.

The local extension fields are stored as key-value pair in the database and it is linked to the main entity

Alternate Key

Alternate key based query functionality can be enabled for the GET APIs based on the business requirement. MS framework generates an API pre function hook method, if the operation is configured as x-altkey=true.

The alternate key serves as an alternate unique identifier for each entity in addition to the product entity ID, which helps to retrieve an entity or update an entity in the microservice.

All microservices have a product alternate key table called MSAltKey, which helps to maintain mapping between the product key field and L3 alternate key value. Data model allows you to store more than one alternate key for the product entity table.

Copyright © 2020- Temenos Headquarters SA

Published on :
Wednesday, October 12, 2022 6:49:23 PM IST

Feedback
x