summaryrefslogtreecommitdiffstats
path: root/aai-core/src
AgeCommit message (Collapse)AuthorFilesLines
2018-09-06Merge "private constructor to hide the implicit public"Tian Lee2-159/+170
2018-09-06private constructor to hide the implicit publicasgar2-159/+170
Adding a private constructor to hide the implicit public constructor. Change-Id: Id6ded8cf328843c8e77fc652391f5c5edc80aa47 Issue-ID: AAI-1578 Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
2018-09-06Return expression instead of temporary variableasgar4-68/+67
Change-Id: Ib5d939c99fc4fb9845f06e787b3915640acfce3e Issue-ID: AAI-1575 Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
2018-08-24Merge "Fix sonar issues"James Forsyth3-23/+20
2018-08-23Update xsd element to generate boolean to falseKajur, Harish (vk250x)2-8/+8
Issue-ID: AAI-1536 Change-Id: If1cc9291e28dd0381115a0bf6c5a44faa7fdbe01 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-08-23Fix sonar issuesParshad Patel3-23/+20
Fix use try-with-resources issues Issue-ID: AAI-1368 Change-Id: I267df61915ac1596cc8645c62ccf43eb04fd7ac5 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2018-08-22Merge "Sonar violation"Venkata Harish Kajur3-13/+17
2018-08-22Sonar violationArindam Mondal3-13/+17
Issue-ID: AAI-1521 Change-Id: I34b801a1ec9525e6b1785914f8d02f938cbf0ee7 Signed-off-by: Arindam Mondal <arind.mondal@samsung.com>
2018-08-21Sonar issue fixes for PutOperation.javaasgar1-83/+84
Issue-ID: AAI-1525 Change-Id: I34e8618223c5ca4aeefbc37dc148b556877f444e Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
2018-08-14AAI-1452 Update Swagger HTML templateKeong Lim1-240/+185
Issue-ID: AAI-1452 - Re-indent list bodies to optimise size of generated output, reduces final output size by half in new v14 schema. - Add table of contents links under Summary heading for navigating long document - Added company name to copyright notice Change-Id: I74e98a097728fb93939e8a3b2fe27906d0b83ff7 Signed-off-by: Keong Lim <keong.lim@huawei.com>
2018-08-12Integrate aai-schema-ingest library into aai-coreKajur, Harish (vk250x)309-30950/+19973
Integrate the aai-core into using the aai-schema-ingest library to be agnostic to the schema changes Remove any references to aai-schema dependency in aai-core Reorder the components so the aai-schema-ingest is first installed Moved the edge rules to the aai-schema as they are linked to schema Rework the generation of the aai-schema to using aai-schema-ingest library Also remove the yaml and html folders as they get generated on the fly So when maven pushes the aai-schema jar, the jar contains the generated yaml, html and xsd files at runtime due to the gerrit limit of filesize Issue-ID: AAI-1455 Change-Id: I87ecd9eb2fc96a09d3a6399955637674f6e7fb21 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-08-02Merge "Fix sonar issues in SchemaGenerator"Venkata Harish Kajur4-145/+154
2018-08-02Merge "Removing minor sonar issues"Venkata Harish Kajur1-66/+13
2018-08-02Fix sonar issues in SchemaGeneratorjczestochowska4-145/+154
fixed formatting removed unused JanusGraph graph parameter deleted usage of print that were accompanied by a logger reduced loadSchemaIntoJanusGraph complexity by cutting it into smaller methods added private constructor to prevent instantiation optimized imports Change-Id: I4645a7fed266afbe6c2b21df20b40574aa9f31fd Issue-ID: AAI-1437 Signed-off-by: jczestochowska <justyna.czestochowska@nokia.com>
2018-07-31Refactor of DataGrooming main scriptJustyna Czestochowska1-106/+106
replaced long if else with switch extracted methods handling wrong or missing arguments replaced AAI_6101 with constant, called diamond operator Change-Id: Ia8e43df0f028617c55c12bea03efab22b7fc1f4b Issue-ID: AAI-1431 Signed-off-by: jczestochowska <justyna.czestochowska@nokia.com>
2018-07-31Removing minor sonar issuesJustyna Czestochowska1-66/+13
replaced usage of print by logger, removed duplication, removed commented out code Change-Id: Ib8b8cf9e6769ecc235ec080f26526cf7d790513c Issue-ID: AAI-1434 Signed-off-by: jczestochowska <justyna.czestochowska@nokia.com>
2018-07-25Merge "Fix component creation"Venkata Harish Kajur6-25/+104
2018-07-23Merge "Fix stream closing"Venkata Harish Kajur5-60/+35
2018-07-19Add collection under network for v13 and v14Kajur, Harish (vk250x)3-5/+2969
Issue-ID: AAI-1395 Change-Id: I306e579c4a367a7b41ab46759a261bcc3a628699 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-07-12Fix component creationBogumil Zebek6-25/+104
Change-Id: I08606ec83b53cd87005f7d52301e0fe8792d744e Issue-ID: AAI-1236 Signed-off-by: Bogumil Zebek <bogumil.zebek@nokia.com>
2018-07-04Remove dead path of codeBogumil Zebek1-2/+0
Change-Id: I8fd74ac0b90244f1af2544f243478c5a7de989eb Issue-ID: AAI-1360 Signed-off-by: Bogumil Zebek <bogumil.zebek@nokia.com>
2018-07-03Fix stream closingBogumil Zebek5-60/+35
Change-Id: I9c837a3e62d7834922ab0c191590875359a69441 Issue-ID: AAI-1358 Signed-off-by: Bogumil Zebek <bogumil.zebek@nokia.com>
2018-05-23Merge "Fixes in DataGrooming"James Forsyth1-68/+62
2018-05-02Remove the client load balancer use http clientKajur, Harish (vk250x)6-310/+136
Issue-ID: AAI-965 Change-Id: I68600c2a586faa5537ac58ca21b06e984413a8bc Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-04-17Change version numbers on aai_swagger_HTML filesEpp, Richard (re6517)3-4/+36
Change-Id: Ice7b38273c6c4701dd16da573c03fa121abfe298 Issue-ID: AAI-971 Signed-off-by: Epp, Richard (re6517) <re6517@us.att.com>
2018-04-16Fixes in DataGroomingburdziak1-68/+62
Change-Id: I0a4a5a82e4ff932ef3f7489afb558e92c9efc1dc Issue-ID: AAI-1031 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
2018-03-29Convert cloud region to esr edgeKajur, Harish (vk250x)3-18/+18
Issue-ID: AAI-973 Change-Id: Id56186db269ccee9a96a6de25dc7e695d354026e Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-03-29Merge "Fix the edge rules for esr"James Forsyth3-60/+60
2018-03-29Fix the edge rules for esrKajur, Harish (vk250x)3-60/+60
Issue-ID: AAI-922 Issue-ID: AAI-923 Issue-ID: AAI-924 Issue-ID: AAI-925 Change-Id: Ifb7604b2ecdf55b6f96250063bd097c7b9b1251b Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-03-29Update camel jms to using spring jmsKajur, Harish (vk250x)1-29/+3
Issue-ID: AAI-586 Change-Id: Iac662424d9d912bfc1792c2a495821b0c9ff6339 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-03-28Add to aai-common query builder get parent stepMaharajh, Robby (rx2202)7-3/+144
Issue-ID: AAI-962 Change-Id: Ib4aa4ec3453f2c7099e1d7191917b44b323f2bb6 Signed-off-by: Maharajh, Robby (rx2202) <rx2202@att.com>
2018-03-27Update from titan to using janusgraphKajur, Harish (vk250x)49-395/+1408
Issue-ID: AAI-949 Change-Id: I70029806d3c96f7732778d27a8c7ff75dc5059de Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-03-26Add plugin to check coverageKajur, Harish (vk250x)58-2521/+7536
Get line coverage to 50% and ensure it doesn't go down Issue-ID: AAI-498 Change-Id: Ib466b7e2b7cb6d2f888e3b58c2073bb02ab6f809 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-03-22Merge "Update the license for 2017-2018 license"James Forsyth326-998/+369
2018-03-22Update the license for 2017-2018 licenseKajur, Harish (vk250x)326-998/+369
Issue-ID: AAI-856 Change-Id: I6711ff48314133abd7d03ea4b73a4f55606442bb Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-03-21Merge "Fixes in DataGrooming"James Forsyth1-104/+103
2018-03-21Fixes in DataGroomingburdziak1-104/+103
Change-Id: I663d591e29daf998eabd3489c2032e4beb609dde Issue-ID: AAI-913 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>af.burdziakowski@nokia.com>
2018-03-21Fixes in ListEndpointsburdziak1-8/+6
Change-Id: I2d67b7bc75da1c42f830368e75c5d166c310848b Issue-ID: AAI-911 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
2018-03-13Testing for HpaCapabilities objectDileep Ranganathan8-35122/+677
Fixed Schema - mismatch in the java attributes and xml attributes Added dependentOn for HpaFeatureAtrributes Added unit test for HPASchema Added sample payload for HPACapabilities inside flavor Issue-ID: AAI-742 Change-Id: I3525376886f10bee99aa0ce3f0a6b2a5efbaa9b1 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-03-09Fix dependentOn for hpaCapability nodeDileep Ranganathan2-0/+26
Added cloud-region along with flavor in the dependentOn field. Modified hpa-feature-attribute to hpa-feature-attributes as it is an arraylist. Change-Id: I7b0c3ee6e08b3bea97a1ebaeeaa8bcaeb8bb2b00 Issue-ID: AAI-742 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-03-08Hardware Platform Awareness (HPA) - SchemaDileep Ranganathan2-0/+52
Expanding the blob of string to a more generic representation Added new nodes for HPA enablement Change-Id: I3f861934856efbe7d8b08857dadf3c3e9a4baf96 Issue-ID: AAI-742 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-02-27Update the files for ajsc 6 changesVenkata Harish K Kajur21-301/+515
Issue-ID: AAI-33 Change-Id: I897566e79eb7505232b692e551f6347e69fafed6 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2018-02-20Add the v13 xml schema and version updateVenkata Harish K Kajur6-7/+9548
Issue-ID: AAI-536 Change-Id: I2ea654af0be91d233cc6cd5d50ee0186ef3a9a89 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2018-02-07Add the @Override annotationPrasadNaidu1-0/+1
Add the @Override annotation above this method signature GraphTraversalBuilder.java:L349 Sonar Link : https://sonar.onap.org/component_issues/index?id=org.onap.aai.aai-common%3Aaai-common#resolved=false|severities=MAJOR|rules=squid%3AS1161|assignees=_me_%2CPrasadNaidu Location : src/main/java/org/onap/aai/query/builder/GraphTraversalBuilder.javaChange-Id: I8852e515b3d2038268c0558979006be8b4d9ac69 Change-Id: I949f5e6ec1692e4397064bfafdad3d453eaed9eb Issue-ID: AAI-740 Signed-off-by: PrasadNaidu <RV00493633@techmahindra.com>
2018-02-01Merge "Fixes in ManageTitanSchema"v1.2.0James Forsyth1-4/+6
2018-02-01Merge "Fix in URIToObject"James Forsyth1-1/+4
2018-02-01Merge "Fix in CNName"James Forsyth1-1/+5
2018-02-01Merge "Fix in InjectKeysFromURI"James Forsyth1-1/+4
2018-02-01Merge "Fixes in PojoStrategy"James Forsyth1-7/+11
2018-02-01Merge "Fix in PojoInjestor"James Forsyth1-2/+4