Versions Compared

Key

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

...

Before you proceed with the configuration, make sure the following pre-requisites are met

  1. Java 8

  2. Mongodb instance

  3. Required service dependency - Department entity service should be up and runningKeycloak server should be up and running.

  4. Zuul Service should be up and running.

Features

Creation Create endpoint of master data service is secure and we need the access token for creating the same. Hence we need to get the access token from keycloak server And pass the same in the subsequent request with request details with Bearer tokenany master data.

Master data service maintains the details of below services:

...

Maintains the project details and provide create and search functionality. In case of creating the project, need to pass Government, name, code, expenditure id, department entity id, location ids. While searching, pass the ids, Government id, name, code, expenditure id, location id.

It contains department entity information along with its hierarchy level and also attaches master department information (department id - UUID). Here we keep all children information list at every department node (department record). Leaf level department will not have any children info. Children list contains department entity id list, which makes current department entity parent of all children list (department id list), that's how it maintains department entity level.

Interaction Diagram:

...

Configurations and Setup

  1. Update all the DB and URI configuration in the dev.yaml, qa.yaml, prod.yaml file.

  2. Make sure keycloak server is up and running And have been configured with required client ID.

References and Notes