References

Diagram

Proposal

#IssueNotesSuggested Solution
1

Yang Resource json string  is wrapped in additional "-tokens which are removed in CPS-NCMP before validating and storing it in CSP-Core


Remove "-wrapping in DMI-plugin instead
2(Additional) escape-characters in Yang resource are removed in CPS-NCMP before validating and storing it in CSP-CoreYang itself could contain escape charterers to which are now removed but shouldn't

see https://datatracker.ietf.org/doc/html/rfc7950#section-6.1.3:

Within a double-quoted string (enclosed within " "), a backslash
   character introduces a representation of a special character, which
   depends on the character that immediately follows the backslash:

    \n      newline
    \t      a tab character
    \"      a double quote
    \\      a single backslash
Check if JSON-Object to (java) string conversion is handled correctly in DMI-plugin
If transformation is needed move it to from CPS-NCMP to DMI-Plugin
  • No labels