Data Packager
Data packaging is the ability to capture the set of reference data and deploys them safely in the database as separate records. Data packager enables the packaging of Arrangement Microservices reference data into a jar file. Using the jar file, the data records are persisted in the database.
Following is the deployment steps for Portfolio Holdings Microservice:
- Ensure the UTP pack is running with the updated setenv.bat file.
- Map the appropriate APIs to setenv.bat.

- Deploy the Portfolio Holdings Microservice and ensure that the APIs and DB are working successfully.
- Navigate to Portfolio Holdings Docker extracted folder and find the data package folder.
- In the data package folder, the data packager jar file is present.

- In the dsf-iris API, use the jar file as a part of the request body and trigger the API call.
API : http://localhost:9089/dsf-iris/api/v1.0.0/meta/dsfpackages/deploy
Request Body: PortfolioHoldings-datapackage-0.0.1-SNAPSHOT.jar
- Check in the database for the reference data records.

In this topic