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

Sparky UI does not display RelationshipList nodes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Beijing Release
    • Amsterdam Release
    • None
    • AAI Sprint 12

      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;
      }

       

       

       

       

            arul.nambi arul.nambi
            harshith harshith
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: