AAI Guilin OOM EdgeRuleNotFoundException #aai #oom #guilin


mouhamed.klank@...
 

Hello,

I currently have AAI deployed through he OOM helm charts. I need to create an edge rule between 2 pnfs (nested pnfs) and I am getting this error when I PUT a relationship

{
    "requestError": {
        "serviceException": {
            "messageId""SVC3000",
            "text""Invalid input performing %1 on %2 (msg=%3) (ec=%4)",
            "variables": [
                "PUT",
                "v20/network/pnfs/pnf/PNF1_0/relationship-list/relationship",
                "Required Edge-property not found in input data:org.onap.aai.edges.exceptions.EdgeRuleNotFoundException: No rule found for EdgeRuleQuery with filter params node type: pnf, node type: metadatum, type: TREE, isPrivate: false.",
                "ERR.5.4.6107"
            ]
        }
    }
}

The Payload is:

{
    "related-to""pnf",
    "related-link""/aai/v20/network/pnfs/pnf/PNF1",
    "relationship-data": [
        {
            "relationship-key""pnf.pnf-name",
            "relationship-value""PNF1"
        }
    ]
}

The edge rule that I put:
{ "from": "pnf", "to": "pnf", "label": "org.onap.relationships.inventory.MemberOf", "direction": "OUT", "multiplicity": "MANY2ONE", "contains-other-v": "NONE", "delete-other-v": "NONE", "prevent-delete": "NONE", "default": "true", "description": "" },

I put that in the aai-schema-service image.

Is there any other place that I need to place the edge rules? I also put those in aai-resources and aai-graphadmin but still no luck.

Thanks

Join onap-discuss@lists.onap.org to automatically receive all group messages.