Re: Problem regenerating schema for AAI v14 #aai

Keong Lim
 

Thanks Harish!

After cleaning up the mess from my working directory, your command successfully created the new XSD file.

Updated the wiki https://wiki.onap.org/pages/viewpage.action?pageId=10783023 with a note and a link to your message.


Keong

-----Original Message-----
From: KAJUR, HARISH V [mailto:vk250x@...]
Sent: Monday, 30 July 2018 16:01
To: onap-discuss@...; Keong Lim <Keong.Lim@...>
Subject: RE: Problem regenerating schema for AAI v14 #aai
Sensitivity: Confidential

Hi Keong,

The html and yaml gets automatically generated when you run install but the xsd was never part of the autogenerate maven profile.
For Beijing and earlier release, we never auto generated it. In order to run the generation of the xsd, here is the command:

cd ~/LF/aai/aai-common/aai-core/
mvn -PgenerateXsd install -DskipTests -Dgendoc.version=v14

I have actually noticed that recently within the internal release and realized that it makes sense for xsd to be also auto generated.
I am not sure why it was left out from the autogenerate profile but when developing the model driven feature, I ensured that the auto generate also does xsd generation.
Once that feature gets delivered to Casablanca, there wouldn't be a need to run the profile manually.

Thanks,
Harish

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