Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Specification

...

  1. Verify the validity of access token
  2. Check user scope (scope = 'service_catalog:write) in order to perform this action
    1. In case error - generate 401 response

Validate status

Service/Service group should be active (is_active == TRUE)

  1. Validate `is_active` == FALSE
    1. if invalid  - return 409 eror (message: "Service/Service group should be active !")

Validate PK

...

Service/Service group

Check on existing Service/Service group record 

  1. Check exist Service/Service group by $.id.

    1. if invalid - return 404 error (message: "Service/Service group is not found!")

Update service/service group

Update service/service group requestAllowed values:


Destination
Source
requestAllowedFALSE
updated_at:timestamp
updated_byuser_id