Hi Harsh,
I have made changes in aai_oxm_v14.xml in the following docker container paths:
>docker exec -it {container-id} bash
root@aai-resources:/opt/app/aai-resources/resources/schema/onap/oxm/v14/aai_oxm_v14.xml
root@aai-traversal:/opt/app/aai-traversal/resources/schema/onap/oxm/v14/aai_oxm_v14.xml
root@aai-graphadmin:/opt/app/aai-graphadmin/resources/schema/onap/oxm/v14/aai_oxm_v14.xml
After these i have restarted the containers. But the changes are not reflecting
.
I have also tried to commit the changes and create new image.
>docker commit {container-id} new -mage:tag
I am getting below error while running the new image.
Error response from daemon: cannot mount volume over existing file
Can you please help me with the docker command to start aai
-resource/aai-traversal/aai-graphadmin images with the mount volume parameter.
Thanks &Regards,
Ambica
________________________________
From: [email protected] <[email protected]> on behalf of
Venkata Harish K Kajur <[email protected]>
Sent: Monday, March 25, 2019 7:14 PM
To: [email protected]; Ambica Chattoraj; [email protected]
Subject: Re: [onap-discuss] "Required Edge-property not found in input
data:org.onap.aai.edges.exceptions.AmbiguousRuleChoiceException: Multiple
defaults found.",
Hi Ambica,
In your changes that you made, if you created an edge between two nodes, you
need to specify if the default is true.
It specifies that if you don’t specify an edge label and there are multiple
edge labels between those two nodes, it will use the edge label with default to
true.
If you have two edge labels for an edge between two nodes a and b and if both
of them set to true, then it will cause the issue that you are seeing as the
code doesn’t know which edge label to create.
Please recheck your edge rules and see if you accidentally created an new edge
label between two nodes and also specified it as default to true.
Here is an example of where there are two edge labels between l-interface and
logical-link
{
"from": "l-interface",
"to": "logical-link",
"label": "tosca.relationships.network.LinksTo",
"direction": "OUT",
"multiplicity": "MANY2MANY",
"contains-other-v": "NONE",
"delete-other-v": "${direction}",
"prevent-delete": "NONE",
"default": "true",
"description":""
}
{
"from": "logical-link",
"to": "l-interface",
"label": "org.onap.relationships.inventory.Source",
"direction": "OUT",
"multiplicity": "MANY2MANY",
"contains-other-v": "NONE",
"delete-other-v": "!${direction}",
"prevent-delete": "NONE",
"default": "false",
"description":""
}
In the above there are two edge labels between logical link and l-interface and
they are both cousin edges and only one of them is set to default to true.
Thanks,
Harish
From: [email protected] <[email protected]> On Behalf Of
Ambica
Sent: Monday, March 25, 2019 8:56 AM
To: [email protected]
Cc: [email protected]
Subject: [onap-discuss] "Required Edge-property not found in input
data:org.onap.aai.edges.exceptions.AmbiguousRuleChoiceException: Multiple
defaults found.",
Hi Keong,
I have a Casablanca OOM setup of AAI .
I have made changes in the schema by editing the aai-resource and aai-traversal
docker containers.
I am getting the below error while doing a PUT call :
"Required Edge-property not found in input
data:org.onap.aai.edges.exceptions.AmbiguousRuleChoiceException: Multiple
defaults found."
I have validated the DbedgeRule json in graphadmin,traversal and resources
containers.(There are no dublicates in the json.) Can you please help me
tracing the issue.
Thanks & Regards,
Ambica
============================================================================================================================
Disclaimer: This message and the information contained herein is proprietary
and confidential and subject to the Tech Mahindra policy statement, you may
review the policy at
http://www.techmahindra.com/Disclaimer.html<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.techmahindra.com_Disclaimer.html&d=DwMFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=f44eG3iZaja2ozEA2yRZnQ&m=rSe9VqsI4fA1dEPOgNoD1ZcBSlF1e4A_mN__TTKw8oU&s=6pqo7yybnTgUugR03WeH9WtMRKcB1aB6xhYGsWw1W70&e=>
externally
http://tim.techmahindra.com/tim/disclaimer.html<https://urldefense.proofpoint.com/v2/url?u=http-3A__tim.techmahindra.com_tim_disclaimer.html&d=DwMFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=f44eG3iZaja2ozEA2yRZnQ&m=rSe9VqsI4fA1dEPOgNoD1ZcBSlF1e4A_mN__TTKw8oU&s=T4Vm0B6PANqAtr6GIxqjtfHnqOwW0WZXmljZXzHuWzA&e=>
internally within TechMahindra.
============================================================================================================================
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#16336): https://lists.onap.org/g/onap-discuss/message/16336
Mute This Topic: https://lists.onap.org/mt/30750160/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-