Valkyrie Culling JSON Path Script Expression Feature

Description

As CM/Repose/users of dedicated auth, i'd like to have the ability to support multiple device ID locations in the URI so that we can get the deviceID from the URI in more cases.

Acceptance Criteria:

  • Current regex functionality is deprecated

  • JSON Path implementation supports script-expression

  • New implementation will support single JSON path for extracting deviceID from URI

  • Valkryie config has an option to support a 'cull' or 'pass' option when the URI is null (which should be already in code)

  • Valkyrie config has an option to 'cull' or 'pass' when the JSON path does not resolve

There are three cases to support:
1) Path evaluates and has a value (device ID) - happy path
2) Path does not evaluate and behaves based on the config

  • Keep

  • Remove

  • Fail with 500
    3) Eval OK

Environment

None

Assignee

Unassigned

Reporter

Kari Davis

Labels

None

External issue ID

None

CoAssignee

None

Capitalizable

True

Epic Link

Priority

High
Configure