Features
- Departments was added to OS as an entity as it is required by some of the Mapal Group Solutions. Departments is Operator specific and goes across multiple Business Units within an Operator.
- Departments backend
- Added Departments as an entity in OS. Created endpoints to create, update and delete department. Added department-created and department-updated messages to Service Bus. Created an endpoint to retrieve one department for an operator. Create an endpoint to retrieve all departments for an operator without pagination. Employee details endpoint updated to include department.
- Departments frontend
- Added Departments under Configuration > Business Management. Updated Add/Edit Employee to include Departments as a dropdown.
Enhancements
- Bulk Upload
- Updated the name of the standardised csv file to be DateTime and OperatorId.
- Bulk Upload
- Implemented the pipeline to deploy integration service in Kubernetes.
- Unit Tests
- Improved tests related to entity details.
API Updates
- GET /operators/{operatorId}/departments/{id}
- New API endpoint to retrieve details for a department for an operator from OS.
- PUT /operators/{operatorId}/departments/{id}
- New API endpoint to import details for a department for an operator to OS.
- GET /operators/{operatorId}/departments
- New API endpoint to retrieve a list of departments for an operator in OS.
- POST /operators/{operatorId}/departments
- New API endpoint
- DELETE /operators/{operatorId}/departments/{id}
- New API endpoint