I have added a new yang file to an existing project in SDNC in 
/sdnc/northbound/vnfapi/model/src/main/yang/newfile.yang
The build successfully generates Java files for the new yang file and creates 
the installer. I haven't modified any pom file.
But when I run ODL Karaf, there is no API for the new yang file in Swagger UI 
and Postman says the new module does not exist.

There is a json file 
/sdnc/northbound/vnfapi/model/src/main/resources/vnf-api.20150720.json that is 
generated from yang files. This is not generated for my new yang file.
This json file is NOT generated by build. How is this file generated? Is this 
file only used for Swagger UI creation or does ODL/Karaf use this file to 
create the module in RESTCONF.

Thanks,
Arash
This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,

you may review at https://www.amdocs.com/about/email-disclaimer 
<https://www.amdocs.com/about/email-disclaimer>
_______________________________________________
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to