Versions Compared

Key

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

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

Table of Contents

Specification

Schema

Features

Input parameters

  • name
  • code
  • category
  • requestAllowed
  • isComposition (not used yet)

...

  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 request

Validate request using features.

Validate code

  1. Check that all elements in array of code are different  where services.is_active = True.
    1. in case of error return 422 error (message `codes are duplicated`)

Create new Innm

  1. Create new record in `innms`
  2. Fill data


Destination
Source
id
name$.name
code$.code
is_activeTRUE
category$.category
is_composition$.is_composition
request_allowed$.request_allowed
inserted_at:timestamp
inserted_byuser_id
updated_at:timestamp
updated_byuser_id