Uploaded image for project: 'Application Controller'
  1. Application Controller
  2. APPC-1576

FileParameters content is wrongly processed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Highest Highest
    • Dublin Release
    • Dublin Release
    • APPC
    • None

      We send APPC-LCM message over DMaaP (attached). This message has payload of distributetraffic LCM with variable for FileParameters section in CDT template (it can be found in the log). FileParameters content is double-escaped in dmaap message and surprisingly is is completley unescaped in APPC (should be only once) what causes JSON parsing error (log). The file content is JSON so APPC should leave it escaped when being send to Ansible REST server.

      The functionality is required to push response from OOF (JSON) to APPC and Ansible server. It is required to realize Traffic Distribution use case for Dublin.

        1. APCC-log-new.txt
          811 kB
        2. APPC-log.txt
          29 kB
        3. dmaap-payload.json
          0.9 kB
        4. karaf20190429.txt
          823 kB
        5. karaf20190521.txt
          431 kB

            rajewluk Lukasz Rajewski
            rajewluk Lukasz Rajewski
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: