summaryrefslogtreecommitdiffstats
path: root/aai-resources/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2018-09-05Adding AAF authorization filterPavel Paroulek4-17/+150
Adding a AAF authorization filter. Authorization checks a preconfigured permission org.onap.aai.resources Change-Id: I83766fc79ef4d65ede73599408a1fce4353b6488 Issue-ID: AAI-32 Signed-off-by: Pavel Paroulek <pavel.paroulek@orange.com>
2018-08-23Adding AAF basic auth filterPavel Paroulek2-0/+78
Adding a AAF Cadi filter. AAF is configured to communicate with Beijing AAF instance in the Windriver lab. To activate AAF filter set the profile aaf-auth Change-Id: I1489f1b4e22658c3513ac89ff2e57302bfe265c8 Issue-ID: AAI-32 Signed-off-by: Pavel Paroulek <pavel.paroulek@orange.com>
2018-08-13Update resources ms to use ingest libraryKajur, Harish (vk250x)78-8400/+2082
Change the code to replace ModelIngestor with the NodeIngestor and replace the EdgeRules with the EdgeIngestor and EdgeSerializer Edge Ingestor for getting the rules from json files Edge Serializer for creating the edges between vertexes Node Ingestor is responsible for the multiple oxm files Issue-ID: AAI-1462 Change-Id: I555916911dc4076ac017173d63478b3b76b36e42 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-07-19Add collection under network for v13 and v14Kajur, Harish (vk250x)6-6/+6
Issue-ID: AAI-1395 Change-Id: I6d18c9686093e70c106efa22afbd536658231a29 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-07-04Fix bugs in AAI-ResourcesWiktor Garbarek6-89/+91
Fixed handling InterruptedException and NullPointerException; added closing connection with graph Change-Id: I8c317842550f62955b68347fd6f4e954e390ad1a Issue-ID: AAI-1362 Signed-off-by: Wiktor Garbarek <wiktor.garbarek@nokia.com>
2018-06-27Sonar fix in ModelVersionTransformerAdam Wudzinski1-1/+1
Added logging Change-Id: Ib74f0429deaab8608f88341ed709ca6bd6490003 Issue-ID: AAI-1244 Signed-off-by: awudzins <adam.wudzinski@nokia.com>
2018-05-03Update to remove loadbalancer codeKajur, Harish (vk250x)1-2/+0
Also add the realtime client SO Issue-ID: AAI-965 Issue-ID: AAI-1121 Change-Id: Ie94c53f1cb0c4f5e60dbd77c8ae100c52ad9c055 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-04-19Fix the X-HTTP-Method-Override issueKajur, Harish (vk250x)2-1/+53
Issue-ID: AAI-1084 Change-Id: Ife49befcbcd9c35c30f3c2b33558cf665f4ab7df Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-04-11Fix the basic auth issue which got brokenKajur, Harish (vk250x)3-1/+183
with spring boot Issue-ID: AAI-1019 Change-Id: I59c7351c381be07ae1be5abe6473d9c8614a0673 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-03-28Update titan code to janus graph codeKajur, Harish (vk250x)19-349/+1547
Issue-ID: AAI-949 Change-Id: I841ac5e1734742af863c6bffd0cc3b1951dfa321 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-03-27Merge "Fixes in ForceDeleteTool.java"James Forsyth1-43/+45
2018-03-26Merge "Fixes in DataSnapshot"James Forsyth1-251/+243
2018-03-23Fixes in ForceDeleteTool.javaburdziak1-43/+45
Change-Id: If59580f59465d44df73f748110bfec85d1ec22ca Issue-ID: AAI-931 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
2018-03-23Fixes in DataSnapshotburdziak1-251/+243
Change-Id: Id0dd43252575af5d9352123f25cc471e9259ebe2 Issue-ID: AAI-930 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
2018-03-22Fixes in DataSnapshotburdziak1-21/+23
Change-Id: If6f40ab2c34d6813f134805ebe50e2025d1c0fe5 Issue-ID: AAI-926 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
2018-03-22Update the license for 2017-2018 licenseKajur, Harish (vk250x)68-194/+207
Issue-ID: AAI-858 Change-Id: I7bb4d3548801de2a9198307b812c7195573af615 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-02-28Turn ajsc 2 to using ajsc 6 spring bootVenkata Harish K Kajur34-1376/+3328
Issue-ID: AAI-800 Change-Id: Id174ec5088ddea57f18e605d004c417bee8fbf33 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2018-02-27Update the rest endpoints for v13 versionVenkata Harish K Kajur4-4/+4
Issue-ID: AAI-536 Change-Id: If48d6875a84f919f0cf67a036f4217124cc5a1ea Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2018-02-22Update DmaapConfig and AAIAppServlet to startVenkata Harish K Kajur1-14/+0
broker service properly Issue-ID: AAI-791 Change-Id: I18be22a6627fcbd2cbeb29a6338125aa06276d50 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2018-02-12Sync up the latest logging code changesVenkata Harish K Kajur25-313/+1316
Issue-ID: AAI-493 Change-Id: I778acf7726b1f9881dee62b128b1fbc457bf7a7e Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2018-01-08Sonar Minor:Remove duplicate literalaishkashyap1-4/+6
Remove duplicate literal Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.resources%3Aresources#statuses=OPEN|assignees=aishkashyap Location: src/main/java/org/onap/aai/rest/tools/ModelVersionTransformer.java Line No:264 Issue-ID: AAI-578 Change-Id: Idb14c0568c2740dd9257b965b4dce8a7e4b34548 Signed-off-by: aishkashyap <as00476394@techmahindra.com> Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2018-01-08Merge "Replace the type specification in constructor call"James Forsyth1-1/+1
2018-01-08Merge "Sonar Major:Use isEmpty() to check the collection"James Forsyth1-1/+1
2018-01-08Merge "Sonar Minor:Remove the declaration of exception"James Forsyth1-1/+1
2018-01-08Merge "Sonar Minor:Constant instead of duplicate literal"James Forsyth1-9/+9
2018-01-08Merge "Sonar Major : Remove useless parentheses"James Forsyth1-1/+1
2017-12-22Replace the type specification in constructor callaishkashyap1-1/+1
Replace the type specification in constructor call with the diamond operator Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.resources%3Aresources#statuses=OPEN|assigned=false|severities=MAJOR Location: src/main/java/org/onap/aai/rest/tools/ModelVersionTransformer.java Line No:335 Change-Id: Iab8df89a6c049eeceaea880ed1e00f1f080a25af Issue-ID: AAI-581 Signed-off-by: aishkashyap <as00476394@techmahindra.com>
2017-12-21Sonar Major:Use isEmpty() to check the collectionaishkashyap1-1/+1
Use isEmpty() to check whether the collection is empty or not Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.resources%3Aresources#statuses=OPEN|assigned=false|severities=MAJOR Location: src/main/java/org/onap/aai/rest/tools/ModelVersionTransformer.java Line No:397 Change-Id: I4ffc7c8a0aa71101c1933bf792071934a8c91e2c Issue-ID: AAI-579 Signed-off-by: aishkashyap <as00476394@techmahindra.com>
2017-12-21Sonar Minor:Remove the declaration of exceptionaishkashyap1-1/+1
Remove the declaration of thrown exception Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.resources%3Aresources#statuses=OPEN|assignees=aishkashyap Location: src/main/java/org/onap/aai/rest/tools/ModelVersionTransformer.java Line No:332 Issue-ID: AAI-577 Change-Id: I4947d8023c076a321513c5f43c6bd35ab3088930 Signed-off-by: aishkashyap <as00476394@techmahindra.com>
2017-12-21Sonar Minor:Constant instead of duplicate literalaishkashyap1-9/+9
Declare constant instead of duplicate literal Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.resources%3Aresources#severities=BLOCKER%2CMINOR|statuses=OPEN|assigned=false Location: src/main/java/org/onap/aai/rest/tools/ModelVersionTransformer.java Line No:183 Change-Id: I34b6e1874a56dd57686e5a34e17c1309452fd3f1 Issue-ID: AAI-575 Signed-off-by: aishkashyap <as00476394@techmahindra.com>
2017-12-21Sonar Minor : Remove declaration runtime exceptionaishkashyap1-1/+1
Remove declaration runtime exception Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.resources%3Aresources#severities=MINOR|assigned=false Location: src/main/java/org/onap/aai/rest/BulkConsumer.java Line No:282 Change-Id: I7a96bf76c88f7bbb27aec78bad3bd7d54a0b7618 Issue-ID: AAI-574 Signed-off-by: aishkashyap <as00476394@techmahindra.com>
2017-12-21Sonar Critical :To either Log or rethrow exceptionaishkashyap1-1/+1
To either Log or rethrow exception Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.resources%3Aresources#severities=MINOR%2CCRITICAL|assignees=aishkashyap Location: src/main/java/org/onap/aai/rest/tools/ModelVersionTransformer.java Line No:355 Change-Id: Id2e9f0de6acb9844887e740902425be075209d6c Issue-ID: AAI-573 Signed-off-by: aishkashyap <as00476394@techmahindra.com>
2017-12-20Merge "Sonar Minor : Make field final static"James Forsyth1-1/+1
2017-12-20Sonar Critical:To either Log or rethrow exceptionaishkashyap1-2/+1
To either Log or rethrow exception Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.resources%3Aresources#severities=MINOR%2CCRITICAL|assignees=aishkashyap Location: src/main/java/org/onap/aai/rest/tools/ModelVersionTransformer.java Line No:352 Change-Id: Idb0cc6eaf9d37355e733a7cd3502d5930ceafa9f Issue-ID: AAI-572 Signed-off-by: aishkashyap <as00476394@techmahindra.com>
2017-12-20Sonar Minor : Make field final staticaishkashyap1-1/+1
Make field final static Sonar Link : https://sonar.onap.org/component_issues/index?id=org.onap.aai.resources%3Aresources#severities=MINOR%2CMAJOR|assignees=aishkashyap Location: src/main/java/org/onap/aai/dbgen/ForceDeleteTool.java Line No: 342 Change-Id: Iebb4830614344e096a26ba27f87e1388c12e1cf6 Issue-ID: AAI-571 Signed-off-by: aishkashyap <as00476394@techmahindra.com>
2017-12-20Sonar Major : Remove useless parenthesesAishwarya Singh1-1/+1
Remove useless parentheses Sonar Link : https://sonar.onap.org/component_issues/index?id=org.onap.aai.resources%3Aresources#severities=MAJOR|assignees=aishkashyap Location: src/main/java/org/onap/aai/dbgen/ForceDeleteTool.java Line No: 242 Change-Id: I1cd33867308152828a2b06d7601f0a835b413fc4 Issue-ID: AAI-570 Signed-off-by: Aishwarya Singh <AS00476394@TechMahindra.com>
2017-12-05Add limit override for bulk api'sMaharajh, Robby (rx2202)1-19/+24
Issue-ID: AAI-535 Change-Id: Ie248a85541f77b786973be54a7791f6e4e7dff16 Signed-off-by: Maharajh, Robby (rx2202) <rx2202@us.att.com>
2017-12-04Update the aai-resources to verify bulk limitsMaharajh, Robby (rx2202)1-6/+49
Issue-ID: AAI-529 Change-Id: Ia87e3298ce9c46f3b409587df6e9bd6e2065ec8a Signed-off-by: Maharajh, Robby (rx2202) <rx2202@us.att.com>
2017-12-04Update error messages to say bulkprocess insteadMaharajh, Robby (rx2202)3-8/+21
of bulkadd Issue-ID: AAI-537 Change-Id: Ib9efa0b0a1da72506b5c247c610ba6826e3e3aeb Signed-off-by: Maharajh, Robby (rx2202) <rx2202@us.att.com>
2017-12-04Add support to bulk api for patch/deletesMaharajh, Robby (rx2202)1-1/+1
reationships Issue-ID: AAI-534 Change-Id: I5334bb047ff1977474cd7b653e61d47ee7e99220 Signed-off-by: Maharajh, Robby (rx2202) <rx2202@us.att.com>
2017-12-04Support bulk api for patch/deletesMaharajh, Robby (rx2202)4-97/+393
Issue-ID: AAI-533 Change-Id: I86ece3494985da48606f356dada267fac14a7aad Signed-off-by: Maharajh, Robby (rx2202) <rx2202@us.att.com>
2017-11-27Add v12 api changes for the new release codeVenkata Harish K Kajur6-6/+6
Issue-ID: AAI-514 Change-Id: I8494ec854f7dddd51748da884b74b4196c7ab704 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-11-18add aai exception when missing FromAppId headerPavel Paroulek1-2/+1
adding an aai exception so that instead of NPE a 4009 exception is thrown in case of a missing FromAppId header Change-Id: Iac14eeedd05a8caf0fc676c5e218938aa94a6e27 Issue-ID: AAI-480 Signed-off-by: Pavel Paroulek <pavel.paroulek@orange.com>
2017-09-28Change package names org.openecomp to org.onapVenkata Harish K Kajur50-595/+665
Issue-ID: AAI-61 AAI-82 Change-Id: Ib1d937fb31b1e737c4651eac9c0193fd05d97f01 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-09-26Logging Updates for logback.xml files and ServletO'Connor, Lina (lo8949)1-0/+4
ContextListener Issue-ID: AAI-388 Change-Id: I76f5a938211e3232bfc6445e0d21b2b8451f080f Signed-off-by: O'Connor, Lina (lo8949) <lo8949@att.com>
2017-09-25Merge "Add RequestId and PartnerName in log"Tian Lee1-2/+16
2017-09-22Add RequestId and PartnerName in logpranavdi1-2/+16
The Onap application logging guidelines suggest the logs should have MDCs for RequestId and PartnerName to create audit trail. Adding the same for AAI logs Change-Id: I4a4db91fa45ced7b30d346b884e4d4841391f64b Issue-Id: AAI-274 Signed-off-by: pranavdi <Pranav.Dixit@amdocs.com>
2017-09-22Fix Blocker/Critical sonar issuesshashikanth1-1/+1
Fix Blocker/Critical sonar issues in aai/resources module https://sonar.onap.org/component_issues?id=org.onap.aai.resources%3Aresources#resolved=false|severities=BLOCKER Issue fixed: NullPointerException might be thrown as 'actionElement' is nullable here Issue-Id:AAI-247 Change-Id: I7360fc0b8812fac2fdf280e62fe3da2652a152af Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2017-09-20Fix Blocker/Critical sonar issuesshashikanth1-1/+1
Fix Blocker/Critical sonar issues in aai/resources module https://sonar.onap.org/component_issues?id=org.onap.aai.resources%3Aresources#resolved=false|severities=BLOCKER Fixed NullPointerException might be thrown as 'oldProp' is nullable here Issue-Id:AAI-247 Change-Id: I83103832cc3e6de9a769ba27c9576e929e94e08d Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2017-09-17Fix update edge tags got broken in cleanupVenkata Harish K Kajur1-115/+29
Also add the license tag that didn't get added Need to ensure new files need to have license since the plugin to automatically add license got removed Issue-ID: AAI-213 Change-Id: I85c1208c5800f624b23b24feadf66b2fe1833e6d Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>