hi Xiaoxiao He ,

could you please send your changed OXM schema file and your test data and error 
message to the onap-discuss list?
The wiki page is not a good place to debug your problem.

In general, the “unique-props” section of the OXM file means that the values in 
that attribute need to be unique for objects of that class.
The minimum configuration should have the xml-key attribute of the class listed 
in the “uniqueProps” e.g.

<xml-property name="uniqueProps" value="id"/>

but sometimes there are examples of multiple attributes listed e.g.

<xml-property name="uniqueProps" value="owning-entity-id,owning-entity-name"/>

Also, if you continue to have problems with your setup, I suggest joining the
https://wiki.onap.org/display/DW/AAI+Weekly+Status+Meeting
or https://wiki.onap.org/display/DW/AAI+Developers+Meeting
to get more team members to help debug it.


Keong

From: Xiaoxiao He (Confluence) [mailto:[email protected]]
Sent: Monday, 18 February 2019 15:22
To: Keong Lim <[email protected]>
Subject: [confluence] Developer Wiki > Use Case Proposals for Dynamic AAI 
Schema Changes

There's 1 new comment on your page



[page 
icon]<https://wiki.onap.org/display/DW/Use+Case+Proposals+for+Dynamic+AAI+Schema+Changes?focusedCommentId=58229281&src=mail&src.mail.product=confluence-server&src.mail.timestamp=1550463726835&src.mail.notification=com.atlassian.confluence.plugins.confluence-notifications-batch-plugin%3Abatching-notification&src.mail.recipient=2c9e48aa6444fc3c016468deb56c000f&src.mail.action=view#comment-58229281>


Use Case Proposals for Dynamic AAI Schema 
Changes<https://wiki.onap.org/display/DW/Use+Case+Proposals+for+Dynamic+AAI+Schema+Changes?focusedCommentId=58229281&src=mail&src.mail.product=confluence-server&src.mail.timestamp=1550463726835&src.mail.notification=com.atlassian.confluence.plugins.confluence-notifications-batch-plugin%3Abatching-notification&src.mail.recipient=2c9e48aa6444fc3c016468deb56c000f&src.mail.action=view#comment-58229281>


[cid:[email protected]]

Xiaoxiao He




hi,

<uniqueProps> ,For what purpose, why is it designed as "properties marked as 
unique in the DB schema"? It results in two different tables reporting 
"Uniqueness constraint violated...".




Reply<https://wiki.onap.org/display/DW/Use+Case+Proposals+for+Dynamic+AAI+Schema+Changes?replyToComment=58229281&src=mail&src.mail.product=confluence-server&src.mail.timestamp=1550463726835&src.mail.notification=com.atlassian.confluence.plugins.confluence-notifications-batch-plugin%3Abatching-notification&src.mail.recipient=2c9e48aa6444fc3c016468deb56c000f&src.mail.action=reply#comment-58229281>

•

Like<https://wiki.onap.org/plugins/likes/like.action?contentId=58229281&src=mail&src.mail.product=confluence-server&src.mail.timestamp=1550463726835&src.mail.notification=com.atlassian.confluence.plugins.confluence-notifications-batch-plugin%3Abatching-notification&src.mail.recipient=2c9e48aa6444fc3c016468deb56c000f&src.mail.action=like&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ4c3JmOjJjOWU0OGFhNjQ0NGZjM2MwMTY0NjhkZWI1NmMwMDBmIiwicXNoIjoiNzVjZTNmZTk5YjkxNmMwNzg5MDNiZDllYWVkYjc4N2JiYzliMTViYmExODIxZWFkZDYzYjRlMWFlNTA1ZjY4MSIsImlzcyI6ImNvbmZsdWVuY2Vfbm90aWZpY2F0aW9uc0JYQU0tUEI1Ui1SVFhQLTNFVkUiLCJleHAiOjE1NTEwNjg1MjYsImlhdCI6MTU1MDQ2MzcyNn0.m2yN3kgHe5r1gl0SkivdETt_75TZbqJNtmZEoc1g1Tc>










View 
comment<https://wiki.onap.org/display/DW/Use+Case+Proposals+for+Dynamic+AAI+Schema+Changes?focusedCommentId=58229281&src=mail&src.mail.product=confluence-server&src.mail.timestamp=1550463726835&src.mail.notification=com.atlassian.confluence.plugins.confluence-notifications-batch-plugin%3Abatching-notification&src.mail.recipient=2c9e48aa6444fc3c016468deb56c000f&src.mail.action=view#comment-58229281>






Stop watching 
space<https://wiki.onap.org/users/removespacenotification.action?spaceKey=DW&src=mail&src.mail.product=confluence-server&src.mail.timestamp=1550463726835&src.mail.notification=com.atlassian.confluence.plugins.confluence-notifications-batch-plugin%3Abatching-notification&src.mail.recipient=2c9e48aa6444fc3c016468deb56c000f&src.mail.action=stop-watching&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ4c3JmOjJjOWU0OGFhNjQ0NGZjM2MwMTY0NjhkZWI1NmMwMDBmIiwicXNoIjoiYTg2MzJkODcwZmM3NDk5OTE5NDgwZmRhZTFmMjc4MDEyOGMzN2EwMzM5NDkwN2YxZTJkZGZhMmRiMmE4MWMyNSIsImlzcyI6ImNvbmZsdWVuY2Vfbm90aWZpY2F0aW9uc0JYQU0tUEI1Ui1SVFhQLTNFVkUiLCJleHAiOjE1NTEwNjg1MjYsImlhdCI6MTU1MDQ2MzcyNn0.eFRRyFw14_a2x3jimWtYnFLuyAuqF5-en_yvrFreEDQ>

•

Manage 
notifications<https://wiki.onap.org/users/editmyemailsettings.action?src=mail&src.mail.product=confluence-server&src.mail.timestamp=1550463726835&src.mail.notification=com.atlassian.confluence.plugins.confluence-notifications-batch-plugin%3Abatching-notification&src.mail.recipient=2c9e48aa6444fc3c016468deb56c000f&src.mail.action=manage>


[Confluence logo big]


This message was sent by Atlassian Confluence 6.13.0
[cid:footer-mobile-logo]






-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#15610): https://lists.onap.org/g/onap-discuss/message/15610
Mute This Topic: https://lists.onap.org/mt/29896548/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to