summaryrefslogtreecommitdiffstats
path: root/aai-schema-gen/src
AgeCommit message (Collapse)AuthorFilesLines
2019-08-08AAI-2441 update swagger-format YAML generationKeong Lim6-24/+24
update swagger-format YAML generation so that conversion to JSON is cleaner, i.e. use n/a instead of null string in empty fields update tests to match new output with n/a values update generate-uml-snapshot.sh to also convert yaml to json add the generated json files Change-Id: Idd87ddae3c2d7490eb954ef69582edd8200f4df4 Issue-ID: AAI-2441 Signed-off-by: Keong Lim <keong.lim@huawei.com>
2019-08-06update to swagger generation for WAPIml loadingLaMont, William (wl2432)8-373/+105
Issue-ID: AAI-2562 Change-Id: I50db09d5b450ad805e365c1365d0c5b3c4cef5be Signed-off-by: LaMont, William (wl2432) <wl2432@att.com>
2019-08-01Replace relationship array with object in generated swaggerLaMont, William (wl2432)5-124/+244
Issue-ID: AAI-2001 Change-Id: I1c3e5cbc0fe696a486238f795b932fd825572fcf Signed-off-by: LaMont, William (wl2432) <wl2432@att.com>
2019-05-31AAI-2441 Swagger to document AAI schema PlantUMLKeong Lim1-0/+28
Use Swagger template to generate a file close to PlantUML diagram format from the AAI schema (OXM file) Run generate-uml-snapshot.sh to massage it to complete the set of class diagrams with compositions and another set of diagrams with EdgeRule relationships Add the generated plantuml text files Ignore the /plantuml/backups/ files Change-Id: I7ef8363095bf1adcf0f7ad792051b4e593683609 Issue-ID: AAI-2441 Signed-off-by: Keong Lim <keong.lim@huawei.com>
2019-04-10Include all nodes API in swaggerKajur, Harish (vk250x)2-13/+23
Issue-ID: AAI-2326 Change-Id: I859d3a6656de80471e756ac28580599d8621991f Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2019-04-03AAI-2314 Tweak swagger HTML outputKeong Lim1-2/+2
Add the version to the title and heading of the page for easy identification. Change-Id: Ie0233a13909aebb0b1f3b2b312cc83f098c77054 Issue-ID: AAI-2314 Signed-off-by: Keong Lim <keong.lim@huawei.com>
2019-03-26AAI-2279 coverage of schema-service/aai-schema-genKeong Lim7-47/+488
Add tests for schemagen/swagger/Api.java Add tests for schemagen/swagger/Definition.java Tweak schemagen/swagger/Api.java to get more coverage from tests Tweak schemagen/swagger/Definition.java to get more coverage from tests Commit a json file that is generated during test runs Tweak onap-java-formatter to pass checkstyle audit Change-Id: I1f2e9a36b7263818aa5030dcd8ec9b050d046fb1 Issue-ID: AAI-2279 Signed-off-by: Keong Lim <keong.lim@huawei.com>
2019-03-14Add ExternalSystem to generated yamlLaMont, William (wl2432)3-1444/+1674
Issue-ID: AAI-2208 Change-Id: I1da5722abdbfa6928c2a57d179c9e4d2ad1722c8 Signed-off-by: LaMont, William (wl2432) <wl2432@us.att.com>
2019-01-11Move the aai-schema, annotations andKajur, Harish (vk250x)66-0/+42364
schema generation code from the aai-common repo to the schema service repo as aai-schema should be in the schema service and all code related to it such as generation of the schema code should also be moved to the service Issue-ID: AAI-2002 Change-Id: Ia792d5ae8822642b1816a0e9664bb21fa511e24f Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>