Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat/filter out product positions from GetDepartmentPersonnel (#671)
- [x] New feature - [ ] Bug fix - [ ] High impact **Description of work:** We don't want product positions (instances) to show up in the list over all allocations in Personnel Allocation, and therefore we need to filter out all these positions. [AB#55286](https://statoil-proview.visualstudio.com/787035c2-8cf2-4d73-a83e-bb0e6d937eec/_workitems/edit/55286) [AB#53017](https://statoil-proview.visualstudio.com/787035c2-8cf2-4d73-a83e-bb0e6d937eec/_workitems/edit/53017) **Testing:** - [x] Can be tested - [ ] Automatic tests created / updated - [x] Local tests are passing Can be tested with using endpoint: https://resources-api-pr-671.fusion-dev.net/departments/{departmentString}/resources/personnel?api-version=2.0 Change departmentString with the department you want to check. Example "PDP PRD PMC PCA PCA4". PDP PRD PMC PCA PCA4 should have a person that are assigned to a positions instance with baseposition of type "Project". This should not be shown in the result here Should not get any product (instances) of type Product when getting DepartmentPersonnel. Should still give all the other positions **Checklist:** - [x] Considered automated tests - [ ] ~~Considered updating specification / documentation~~ - [x] Considered work items - [x] Considered security - [x] Performed developer testing - [x] Checklist finalized / ready for review
- Loading branch information