aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-12-20Exclude tomcat from jersey starter3.0.1-ONAP1.3.2casablancajimmy1-3/+15
Issue-ID: AAI-2036 Change-Id: Iab0924049d1ab69a5c9d8613071746133b395f7c Signed-off-by: jimmy <jf2512@att.com>
2018-12-17Update to spring-boot 1.5.18jimmy1-1/+1
Change-Id: I98426f8b79201c6a78643ea6430016d270ed332a Issue-ID: AAI-1895 Signed-off-by: jimmy <jf2512@att.com>
2018-10-12Upversion to 1.3.23.0.0-ONAPArul.Nambi2-2/+2
Issue-ID: AAI-1738 Change-Id: I93369b7c274f7fcc9bc7182402b9adaeb2d77b91 Signed-off-by: Arul.Nambi <arul.nambi@amdocs.com>
2018-09-26Fix file formatting issues1.3.1mark.j.leonard20-251/+250
Remove UTF-8 BOMs from the Java files and reformat License headers where necessary (to conform with the License.txt content). Change-Id: I74219db814ffc9b51dbf7273cbfde5847ff50ad3 Issue-ID: AAI-1650 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2018-09-26Implement client authentication to ElasticSearchmark.j.leonard5-15/+310
Add configuration to the existing Elastic Search properties to allow Basic Authentication and/or TLS (SSL) connectivity using HTTPS. The new configuration is optional and this commit is intended to be backwards compatible with existing deployments. Change-Id: I19ec3da9ff810c3f6eabd6f5faf71adde182c861 Issue-ID: AAI-1650 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2018-09-26Fix minor code smellsmark.j.leonard20-488/+430
Further simple changes to remove Sonar code smells Issue-ID: AAI-1650 Change-Id: Ibae60a3aa1e8c7e85b3442d3e267eb6c1a74efbc Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2018-09-21Fix simple Sonar Lint issuesmark.j.leonard28-968/+848
Address all the trivial Sonar issues (ignoring some duplicated strings) Change-Id: I5a15d42e6ae316f4c5b1dea5f42f604cec8c82a8 Issue-ID: AAI-1650 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2018-09-21Format Java code to ONAP standardmark.j.leonard84-6402/+6119
Use the Eclipse formatter to automatically format the code to adhere to the defined standards. Change-Id: I42a8c90c5b272facc4cc2a0c85233061ed64ba3f Issue-ID: AAI-1650 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2018-09-21Organise imports to ONAP Java standardsmark.j.leonard48-215/+154
Fix all import ordering. Change-Id: Ia0a0ef64eab7b1560c7dd1d54a1a9e1adee67a5e Issue-ID: AAI-1650 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2018-09-21Use a URI builder to create URLsmark.j.leonard3-401/+352
Also refactor the connection code to remove duplicated Exception handling. Change-Id: Ica77b6ba3d8939e89b763a33a6b940d11b066b85 Issue-ID: AAI-1650 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2018-09-21Reorder HTTP Controller methodsmark.j.leonard1-343/+342
Put public methods before private methods, following the standard Java conventions. Issue-ID: AAI-1650 Change-Id: I527b1e73f92a28cade0a2e792dcee841fafeef43 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2018-09-20Use Builder Pattern to create Operation Resultsmark.j.leonard2-96/+130
Simplify the creation of OperationResult objects using a Builder to encapsulate the common behaviours. Change-Id: Ifacd75f0a808338d1ab4735a79009de7a2cb5351 Issue-ID: AAI-1650 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2018-09-20Updating the CII info in readmeArul.Nambi1-0/+2
Issue-ID: AAI-1663 Change-Id: Iff208537053fd27c95295e2a4c408f7b4b3dc611 Signed-off-by: Arul.Nambi <arul.nambi@amdocs.com>
2018-09-20Reduce code duplication in the HTTP Controllermark.j.leonard1-157/+86
Refactor repeated code snippets into helper methods, in order to reduce cognitive complexity. Change-Id: Ic04ce219b67017075d2b0b7c6e6bc7250ccff926 Issue-ID: AAI-1650 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2018-09-20Replace duplicated String literals with Constantsmark.j.leonard1-70/+81
Refactor to address Sonar violations for duplicated literal strings in the HTTP Controller class. Change-Id: I54cc33851df0269a0af917fd7b38ee0c14fda935 Issue-ID: AAI-1650 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2018-09-20Replace 2xx result codes with Java constantsmark.j.leonard1-61/+49
Use standard Java Status Response enums and constants instead of hard-coding magic values in the HTTP Controller. Change-Id: Ic509e2a85808dc3e0faab1b455a2e7851cd86408 Issue-ID: AAI-1650 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2018-09-19Specify Content-Type in all HTTP requestsmark.j.leonard1-6/+1
Explicitly specify all HTTP payload content as JSON, for compatibility with Elasticsearch 6.x Change-Id: Ibd6ad7bfd627a5c1bdfb04a950472e4cedfd790d Issue-ID: AAI-1650 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2018-09-19Reformat HTTP Controller code to ONAP standardsmark.j.leonard2-1473/+1332
Use the Eclipse formatter to re-organise the HTTP Controller class, prior to introducing HTTPS support. Change-Id: I41015c16bc9b4e84ea0b267a262e89007ef329e6 Issue-ID: AAI-1650 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2018-09-14Fixing nexus sonar scan issuesArul.Nambi1-2/+2
Issue-ID: AAI-1583 Change-Id: Id7c84f8c82096557e8280236694b149f64f12a50 Signed-off-by: Arul.Nambi <arul.nambi@amdocs.com>
2018-09-14Fix to not remove whitespaces in the payload to ESEdwin Lawrance6-47/+87
Change-Id: I3547e79ff27220a49539d9cfdf48ac534f155f10 Issue-ID: AAI-1596 Signed-off-by: Edwin Lawrance <Edwin.Lawrance@amdocs.com>
2018-08-24Updated springboot version to 1.5.15Francis Paquette1-1/+1
Issue-ID: AAI-1515 Change-Id: Iacf07766c8bf84da7575f3e4fa3d9eb85c73d11c Signed-off-by: Francis Paquette <francis.paquette@amdocs.com>
2018-08-13Adding docker registery to pomArul.Nambi1-1/+1
Issue-ID: AAI-1449 Change-Id: I8aa2cb599888d5bdb40b85b0a18bfbb33f685217 Signed-off-by: Arul.Nambi <arul.nambi@amdocs.com>
2018-08-13Fixing the docker jenkins jobArul.Nambi2-8/+1
Issue-ID: AAI-1449 Change-Id: I887151b393ad046ef013463af9d90c3504866a52 Signed-off-by: Arul.Nambi <arul.nambi@amdocs.com>
2018-08-02Merge "Updating Search service to be ES 6.1.2 compliant"James Forsyth8-10/+230
2018-08-01Updating Search service to be ES 6.1.2 compliantEdwin Lawrance8-10/+230
Payload to Elastic Search is translated to comply ES6.1.2 PUT and POST calls now have content-type header Added functionality for dynamic templates Change-Id: I2a44a8a9999ec01a3bad1fb6999fe35bb6ef70d1 Issue-ID: AAI-1376 Signed-off-by: Edwin Lawrance <Edwin.Lawrance@amdocs.com>
2018-07-16Fix variable declarationBogumil Zebek1-1/+1
Change-Id: I19b34476fd1e196857f60cb9a3b780821593ccf8 Issue-ID: AAI-1383 Signed-off-by: Bogumil Zebek <bogumil.zebek@nokia.com>
2018-06-13remove the creation of aaiadmin userRogers, Reneal(rr267j)1-9/+0
Remove the creation of the aaiadmin user in the docker container Issue-ID: AAI-1226 Change-Id: I6841b2aab5102cb8968eec74219f3d00dc93f88b Signed-off-by: renealr <reneal.rogers@amdocs.com>
2018-06-12fix ping communication with search to datarouterrenealr10-104/+60
Add the fix needed in order for the search ping to communicate with data router as well as add some fixes to the start script and dockerfile Issue-ID: AAI-1224 Change-Id: I74ab3b8def4b85513401b7329d33dc6a3bc518bc Signed-off-by: renealr <reneal.rogers@amdocs.com>
2018-05-23Dynamically determine image architectureMohammed Naser1-1/+1
The image architecture is currently hardcoded, this patch removes that hardcoded value to allow for ARM64 builds to go through. Change-Id: I282e75b089147cab5006db869acca95954f3c528 Issue-ID: CIMAN-154 Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
2018-05-23Pin jnr-unixsocket for Docker plugin to 0.13Mohammed Naser1-0/+7
The current verison of jnr-unixsocket is 0.12 from the Docker plugin however in order to be able the images for ARM64, it needs the newer version which has support for it. There is work upstream to switch the version to 0.18[0] however it seems that this is still pending, so we can pin it for now until that merges. [0]: https://github.com/spotify/docker-maven-plugin/pull/379 Change-Id: I02575fee442bdb41e3939e1e3fb026024bc9fbc7 Issue-ID: CIMAN-154 Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
2018-05-23Merge "Remove backport dependency"James Forsyth5-12/+7
2018-05-23Upversion for CasablancaJimmy Forsyth2-3/+3
Issue-ID: AAI-1169 Change-Id: I3789fddbc8fd5b103f9ea27202727a2c7b5579d2 Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2018-05-15Upversion search-data-service for branchingv1.2.12.0.0-ONAP2.0.0-ONAPJimmy Forsyth2-2/+2
Issue-ID: AAI-1140 Change-Id: I55b5c102afbe509ad2fd51bb0669c58fac1a85fe Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2018-05-09Remove backport dependencymkorzeni5-12/+7
since we already have built-in in JDK8 Change-Id: I73ccb1c084405c45eabd50b0a58278b1037ac5f8 Issue-ID: AAI-1130 Signed-off-by: mkorzeni <mateusz.korzeniowski@nokia.com>
2018-04-18Update springbootv1.2.0Shwetank Dave1-1/+1
Update springboot to 1.5.12.RELEASE from 1.5.10.RELEASE Change-Id: I295ed8ece93e24721b9e46557489d53e52905a45 Issue-ID: AAI-1043 Signed-off-by: Shwetank Dave <shwetank.dave@amdocs.com>
2018-04-16Add cosumes and produces type where necessaryShwetank Dave2-11/+8
Change-Id: I4e4a458a65dc870218de33e19ca76f060b436739 Issue-ID: AAI-598 Signed-off-by: Shwetank Dave <shwetank.dave@amdocs.com>
2018-04-10Correct INFO.yaml to pass YAML LintEric Debeau1-24/+24
Change-Id: Ia92314651447995679ff6ab0a6993762722589e3 Issue-ID: AAI-1022 Signed-off-by: Eric Debeau <eric.debeau@orange.com>
2018-04-06Rename Path search-db to search-data-service.Shwetank Dave4-99/+53
Fix mixtakes in processGet Remove requestBody from where it's not needed. Remove elastic-search dependency Issue-ID: AAI-598 Change-Id: Ib9693297230daba43ed604013c9cf4d32355da92 Signed-off-by: Shwetank Dave <shwetank.dave@amdocs.com>
2018-04-04[AAI-804] Removed ajsc loggers from logback.xmlShwetank Dave1-35/+0
Issue-ID: AAI-804 Change-Id: Ic90b29cfd081764fb422e030c5337564e5927b29 Signed-off-by: Shwetank Dave <shwetank.dave@amdocs.com>
2018-04-04[AAI-804] Updating pom.xml to add bundle-configShwetank Dave1-0/+7
Issue-ID: AAI-804 Change-Id: Ica0fb2bb42791bf81b683699860edbf3dbc05c75 Signed-off-by: Shwetank Dave <shwetank.dave@amdocs.com>
2018-04-04[AAI-804] Updating dockerfile and start script.Shwetank Dave3-1/+220
Issue-ID: AAI-804 Change-Id: I45c9beeca2d6e27d8aec787e76e3bb50780bead9 Signed-off-by: Shwetank Dave <shwetank.dave@amdocs.com>
2018-04-03[AAI-804] Updating files to fix search service.Shwetank Dave4-53/+47
Issue-ID: AAI-804 Change-Id: Ie50f821cd235ccd5c627c11294da4b29bf29fc16 Signed-off-by: Shwetank Dave <shwetank.dave@amdocs.com>
2018-03-29Removing AJSC and moving to SpringBootShwetank Dave82-2754/+1791
[AAI-804] Deleting AJSC files. [AAI-804] Adding Spring Boot Dependencies Issue-ID: AAI-804 Change-Id: Ibda01496d56cc4613f6d2be3b8737d823cee342a Signed-off-by: Shwetank Dave <shwetank.dave@amdocs.com>
2018-03-19add endpoint to query suggestion via ESrenealr10-485/+809
Added logic to ensure that search data service is able to handle suggests type request Issue-ID: AAI-896 Change-Id: I11b3e8dadc5f7023017f01055c24e9c014813eb5 Signed-off-by: renealr <reneal.rogers@amdocs.com>
2018-03-16Adding pass through shema creationrv871f8-6/+186
Issue-ID: AAI-888 Change-Id: Ifc094758682b39a5f2c5607bccd418de6e36d841 Signed-off-by: rv871f <richard.vondadelszen@amdocs.com>
2018-03-13Update license date and textsblimkie86-343/+194
Update license date and disable license plugin Change-Id: I61390789684bf93c29b5d230bc189fe8b7411efb Issue-ID: AAI-870 Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
2018-02-26Add INFO.yaml fileJessica Wagantall1-0/+51
Add INFO.yaml to list: - Project description - Properties - PTL information - Meeting information - Committer information Change-Id: Iea3c785a2f5cc9ff51ec1e964fe3b7c382045183 Issue-ID: CIMAN-134 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-01-08Add unit tests to increase sonar coverageaditya8-0/+1304
Add unit tests to auth, rest and searchdbabstraction. Add search_policy.json to src/test/resources to support junits. Issue-ID: AAI-608 Change-Id: I295623d1735136bf4723d87ab4df21f8c124a414 Signed-off-by: Aditya Gajulapalli <ag282f@att.com>
2017-12-07Merge "Fix amsterdam build failure"Tian Lee0-0/+0
2017-12-07Fix amsterdam build failuresblimkie1-1/+1
Use release version of library Issue-ID: AAI-546 Change-Id: If70b78f8a377f74cabe2b98c56a970874b19e822 Signed-off-by: sblimkie <steven.blimkie@amdocs.com>