Uploaded image for project: 'Virtual Infrastructure Deployment'
  1. Virtual Infrastructure Deployment
  2. VID-129

Rules For Converting Payload Spreadsheet To JSON

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Medium Medium
    • Beijing Release
    • None
    • None
    • None

      As a User of ONAP, I should be able to request a configuration change on one or more selected VNFs via a workflow.

      Definition of Done:

      Rules For Converting Payload Spreadsheet To JSON

      The payload is a text block which will be embedded within a JSON object when sent to APP-C.  Convert from CSV.  to JSON using the following rules:
      1.       **Convert the data in the first tab (payload) only.   Ignore all other tabs.** need to delete
      2.       Ignore any blank rows.
      3.       Each column represents an indented level in JSON.  Note that the first column will always be “payload”.
      4.       If the value starts with [ and ends with ], the level is a JSON list item.
      5.       For each row with data, ignore any columns with blank values.
      6.       End of line character is sent as \n.
      7.       Since the payload is embedded within a JSON object, the ‘\’ character must precede any double quote character (“) or backslash ().
      8.       The payload can contain an embedded JSON object with it, so this will result in constructs such as \\\” or \\\n.

            os0695 os0695
            os0695 os0695
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: