Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat/filter out product positions from GetDepartmentPersonnel #671

Merged
merged 6 commits into from
Sep 2, 2024

Conversation

aleklundeq
Copy link
Collaborator

@aleklundeq aleklundeq commented Aug 15, 2024

  • 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
AB#53017

Testing:

  • Can be tested
  • Automatic tests created / updated
  • 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:

  • Considered automated tests
  • Considered updating specification / documentation
  • Considered work items
  • Considered security
  • Performed developer testing
  • Checklist finalized / ready for review

@aleklundeq aleklundeq marked this pull request as ready for review August 15, 2024 06:55
@aleklundeq aleklundeq merged commit 582b125 into master Sep 2, 2024
11 checks passed
@aleklundeq aleklundeq deleted the feat/filter-out-product-positions branch September 2, 2024 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants