Uploaded image for project: 'Active and Available Inventory'
  1. Active and Available Inventory
  2. AAI-564

AAI v8 service-design-and-creation/models NPE - use v11

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Medium Medium
    • None
    • None
    • None

      20171218:1700 release-1.1.0 v1.1.0 version

      GET /aai/v8/service-design-and-creation/models HTTP/1.1
      Host: 34.194.214.185:30233
      Accept: application/json
      Content-Type: application/json
      X-FromAppId: AAI
      X-TransactionId: get_aai_subscr
      Authorization: Basic QUFJOkFBSQ==
      Cache-Control: no-cache
      Postman-Token: 19d68afd-9dea-2f51-ec85-2892b4b39c27

      getting

      {
      "requestError": {
      "serviceException": {
      "messageId": "SVC3002",
      "text": "Error writing output performing %1 on %2 (msg=%3) (ec=%4)",
      "variables": [
      "GET",
      "service-design-and-creation/models",
      "Internal Error:java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: org.onap.aai.serialization.db.exceptions.NoEdgeRuleFoundException: no TREE edge between model and model-element",
      "ERR.5.4.4000"
      ]
      }
      }
      }
      
      fix is to use v11
      {
      "model": [
      {
      "model-invariant-id": "98fbb471-1f86-428e-bd8a-c8a25de6fa23",
      "model-type": "widget",
      "resource-version": "1513631905775"
      },
      {
      
      

            jimmydot jimmydot
            michaelobrien michaelobrien
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: