aboutsummaryrefslogtreecommitdiffstats
path: root/aai-schema-gen/src
AgeCommit message (Collapse)AuthorFilesLines
2022-12-07Generated AAI Swagger file has schema violationsFiete Ostkamp7-119/+159
Fixes for violations - provide a valid host (localhost) for the `host` key - remove `example` keys for parameters - remove `also requires` property from definitions Other changes - remove the license header from description and add it instead as a yaml comment (like we do it for any other file) - remove the `contact` block since it does not contain actual contact information - remove the reference to the AT&T wiki for the default response codes - remove `description: n/a` values in parameters that are set when there is no description available Issue-ID: AAI-3611 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I057f7f3a49a861891c49b52bff80e5a9810f18a7
2022-11-25schema-service openapi generation is ignoring types other than String, Long, ↵Fiete Ostkamp2-25/+55
Integer and Boolean Issue-ID: AAI-3607 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I10a451dbe32bafec323af3f7243e38f1e40b2dce
2022-11-11Update aai-schema-ingest dependency in the schema-serviceFiete Ostkamp22-221/+500
- SchemaVersions object is being renamed to SchemaConfigVersions in aai-schema-ingest > 1.4.0 - add logback config to set log level to INFO, since a test run would otherwise generate 6GB worth of logs (when piped into a file) Issue-ID: AAI-3592 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I7e0a6f4577d2254d8f58956f4ad3ea39bd74dc8d
2022-11-10Reduce the number of problems in schema-serviceFiete Ostkamp7-173/+201
Issue-ID: AAI-3590 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I7a5d3e5a4db75efb8a8fcc6c8598d6cab80dca4a
2022-09-19Add instructions to invoke the linter and code formatter plugins to the ↵Fiete Ostkamp41-3926/+4232
README and invoke the formatter Issue-ID: AAI-3526 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: Ibd383994732cea6460153704a1153beb530dc6c3
2022-09-17Replace all tab characters in java files with two spaces to remove linter ↵Fiete Ostkamp26-3307/+3307
warning Issue-ID: AAI-3525 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I36cf7b83dd33c3b69de51e56e00bbd93a79c5ec4
2021-07-22Fix sonar issues + mergeLiard Samuel15-2242/+2446
Issue-ID: AAI-3362 Signed-off-by: sliard <samuel.liard@gmail.com> Change-Id: Ibd62021424c7c69467fef8af897709e89ce499a3
2021-07-20Fix CRITICAL xxe (XML External Entity) issues identified in sonarcloudwr148d1-0/+5
Issue-ID: AAI-3347 Change-Id: I5b187fea722eb2749dfb5336c3b5ae24fa7df336 Signed-off-by: wr148d <wr148d@att.com>
2020-06-18v20 support in schema-service without javafxLaMont, William(wl2432)9-26/+25
Issue-ID: AAI-2930 Change-Id: I68ba45069f465988e21602521e8e665cb27318d1 Signed-off-by: LaMont, William(wl2432) <wl2432@att.com>
2020-04-15schema-service processing for v19LaMont, William(wl2432)9-39/+92
Issue-ID: AAI-2864 Change-Id: I41a430ec9c9fd69be75bd9d01693249895e0928b Signed-off-by: LaMont, William(wl2432) <wl2432@att.com>
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>