Skip to content

Bulk Operations - Data Authority

Bulk Operations for Data Authority Entities

Overview

The Data Authority framework provides bulk operations for efficient batch processing of entities. These operations allow clients to create or update multiple entities in a single atomic transaction.

Target Service/Module

  • Service: DataAuthorityService
  • Package: cards.arda.common.lib.service
  • Repository: common-module

Implementation Status

Component Status
Service layer (addBunch, updateBunch) ✅ Implemented
API endpoints (POST /bulk, PUT /bulk) ✅ Implemented
API-level unit tests ✅ Implemented
Bruno E2E tests ✅ Implemented

Document Description
Requirements Functional requirements and validation rules
Data Authority Service REST API documentation

Quick Reference

Bulk Add

POST /{resource}/bulk
Content-Type: application/json
X-Author: <author>

[
  { "name": "Item 1", ... },
  { "name": "Item 2", ... }
]

Bulk Update

PUT /{resource}/bulk
Content-Type: application/json
X-Author: <author>

{
  "updates": [
    { "eId": "uuid-1", "payload": { "name": "Updated 1", ... } },
    { "eId": "uuid-2", "payload": { "name": "Updated 2", ... } }
  ]
}


Copyright: © Arda Systems 2025-2026, All rights reserved

Comments