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

Sparky UI does not display RelationshipList nodes

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: Amsterdam Release
    • Fix Version/s: Beijing Release
    • Labels:
      None
    • Sprint:
      AAI Sprint 12

      Description

      A node which has relationshiplist nodes is not displayed in UI. After checking the logs, found this error. 

      Self link JSON parsing error: Failed to parse relationship-list attribute. Parse resulted in error, Conflicting setter definitions for property "relationship": org.onap.aai.sparky.viewandinspect.entity.RelationshipList#setRelationship(1 params) vs org.onap.aai.sparky.viewandinspect.entity.RelationshipList#setRelationshipList(1 params)|

       

      Adding a @JsonIgnore to org.onap.aai.sparky.viewandinspect.entity.

      RelationshipList   setRelationship method might fix the issue

       

      example:

      @JsonIgnore
      public void setRelationship(Relationship[] relationship) {
      this.relationship = relationship;
      }

       

       

       

       

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              Arul.Nambi Arul Nambi
              Reporter:
              Harshith Harshith B
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: