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

sig#789 - Enhance the Servicerelease Technical-user-profile API to provide more information #1007

Open
2 tasks
MaximilianHauer opened this issue Sep 18, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@MaximilianHauer
Copy link

MaximilianHauer commented Sep 18, 2024

Description

The API GET: /api/services/servicerelease/{serviceId}/technical-user-profiles need to be enhanced to deliver the parameter
"type": "internal" | "external"
count: number parameter should be implemented to provide the amount of technical user accounts that will be provided.

Acceptance Criteria

  • API provides the typeof technical user account
  • the API provides the number of technical user accounts

Test Cases

Test Case 1: Verify the type parameter for technical user accounts
Description: Validate that the API GET: /api/services/servicerelease/{serviceId}/technical-user-profiles returns the type parameter with the value internal or external for each technical user account.
Steps:
Send a GET request to the API endpoint GET: /api/services/servicerelease/{serviceId}/technical-user-profiles.
Verify that the response contains the type parameter for each technical user account.
Ensure that the type parameter has a value of either internal or external.
Expected Result: The API response should include the type parameter for each technical user account, and the value should be either internal or external.

Test Case 2: Verify the count parameter for technical user accounts
Description: Validate that the API GET: /api/services/servicerelease/{serviceId}/technical-user-profiles returns the count parameter with the number of technical user accounts provided.

Steps:
Send a GET request to the API endpoint GET: /api/services/servicerelease/{serviceId}/technical-user-profiles.
Verify that the response contains the count parameter.
Ensure that the count parameter value matches the number of technical user accounts returned in the response.
Expected Result: The API response should include the count parameter, and the value should match the number of technical user accounts provided in the response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: IN PROGRESS
Development

No branches or pull requests

2 participants