Hi Dileep,

For the unit tests, we don't need the test oxms.
It was supposed to be removed so when the tests are run it should be using the 
aai-common/aai-schema/src/main/resources/oxm/aai_oxm_v13.xml
You can just remove the oxm files from 
aai-common/aai-core/src/test/resources/oxm and 
aai-common/aai-core/src/test/resources/bundleconfig-local/etc/oxm.
Just keep this file 
aai-common/aai-core/src/test/resources/oxm/sideeffect/nested-case.json.

Thanks,
Harish

From: Ranganathan, Dileep [mailto:[email protected]]
Sent: Thursday, March 08, 2018 9:34 PM
To: KAJUR, HARISH V <[email protected]>; FORSYTH, JAMES <[email protected]>; 
[email protected]
Subject: [aai]Unit Test Issue

Hello AAI team,

I am running into some issues while testing the UnitTest for schema related 
changes. I see that there are 3 different places where oxm files are maintained.

aai-common/aai-core/src/test/resources/oxm/aai_oxm_v12.xml
aai-common/aai-core/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v13.xml
aai-common/aai-schema/src/main/resources/oxm/aai_oxm_v13.xml

For Unit testing which path should I use and shouldn't these files needs to be 
in sync??


Thanks,
Dileep
_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to