ЕСОЗ - публічна документація

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

n/n
description
inputs
expected result GraphQlactual result GraphQl
ASM1Assign merge candidate without scopes
  • token
missing allowance merge_candidate:assign
ASM2Assign merge candidate without role 
  • doctor token
403, FORBIDDEN
ASM3Assign merge candidate with client not NHS
  • token
  • invalid client id 
403, FORBIDDEN
ASM4Assign MR already have one in status NEW
  • token
CONFLICT, 
Assignee is not allowed to ask for new merge request


ASM5Assign MR to User which already has POSTPONE >=postponed_requests_limit
  • token
CONFLICT, 
Assignee reached limit in postponed merge_requests

ASM6Assign MR in case there is no left one NEW and not viewed by User merge candidate in DB
  • token
204, No content


ASM7Assign new MR to User
  • token

Merge Request is assigned

  • manual_merge_candidates. assignee_id=user_id
  • there is a row in merge_requests with user_id+merge_candidate_id and status=NEW
  • there is a row in audit_log with status=NEW

  • No labels