aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-04-09Upgrade to springboot 1.5.20.RELEASEJimmy Forsyth1-1/+1
Issue-ID: AAI-2349 Change-Id: If0b38fad33b17e7bef13f4261228c82feb227319 Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2019-04-05set jacoco coverage check limitrenealr1-0/+23
Issue-ID: AAI-2253 Change-Id: I5a05025043f2af9e3d6aee9d7e45f35c3f889148 Signed-off-by: renealr <reneal.rogers@amdocs.com>
2019-04-02Update to latest springbootJimmy Forsyth1-1/+1
Issue-ID: AAI-2253 Change-Id: I3e201603ffb6cc8d3eab5ab0184576f0dd130591 Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2019-03-06Merge "Update pom to conform merge jobs requirments"Tian Lee1-0/+7
2019-03-06Merge "AAI-2210 Update .gitignore aai/search-data-service"Venkata Harish Kajur1-1/+1
2019-03-05Merge "Add missing INFO.yaml blocks"Steven Blimkie1-5/+44
2019-03-05Update pom to conform merge jobs requirmentsEdwin Lawrance1-0/+7
Change-Id: Ibec2d9ea738569e96d4de7cd24899a0a5886fd99 Issue-ID: AAI-2203 Signed-off-by: Edwin Lawrance <Edwin.Lawrance@amdocs.com>
2019-03-05AAI-2210 Update .gitignore aai/search-data-serviceKeong Lim1-1/+1
Update for change in component sub-directories Change-Id: I5efcd798e2940b4119477b8d7bfeb944e7837547 Issue-ID: AAI-2210 Signed-off-by: Keong Lim <keong.lim@huawei.com>
2019-03-04Update SDS pom fixes for merge job requirementsEdwin Lawrance1-1/+2
Change-Id: I47d6b7cf80fc156312977b2a302539b9e691fed8 Issue-ID: AAI-2203 Signed-off-by: Edwin Lawrance <Edwin.Lawrance@amdocs.com>
2019-03-04Update ES pom to conform to merge job requirementsEdwin Lawrance1-1/+7
Change-Id: I0b0e36503f9eab63b2e6a41acf1c58658a511fd5 Issue-ID: AAI-2203 Signed-off-by: Edwin Lawrance <Edwin.Lawrance@amdocs.com>
2019-03-04Update poms to conform to merge job requirementsEdwin Lawrance122-7/+7
Change-Id: Ic989e9538b67214e43faf221724ed5d36bfc6d03 Issue-ID: AAI-2203 Signed-off-by: Edwin Lawrance <Edwin.Lawrance@amdocs.com>
2019-03-01Add missing INFO.yaml blocksJessica Wagantall1-5/+44
Add missing information so that the new verify job passes. Change-Id: I2c50d527a814507ce26183945c313ca48b3f7ede Issue-ID: CIMAN-134 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2019-03-01Add missing distributionManagement section to pomsLee, Tian (tl5884)2-0/+34
Change-Id: I85d4c78abda0af32b9994b01f8abceaabe276e18 Issue-ID: AAI-2203 Signed-off-by: Lee, Tian (tl5884) <TianL@amdocs.com>
2019-03-01Add elasticsearch with searchguard DockerfileLee, Tian (tl5884)123-1768/+1901
Add Dockerfile that produces an image of ElasticSearch with SearchGuard plugin pre-installed, and restructure the Maven project to build both the old search-data-service Dockerfile and the new elasticsearch-sg Dockerfile. Change-Id: Iff7cb79e3c09da78b6233422f40cb03eeef5bfdb Issue-ID: AAI-2203 Signed-off-by: Lee, Tian (tl5884) <TianL@amdocs.com>
2019-02-25Search service configurable index settingssblimkie6-10/+170
When deploying the search service, an optional settings-confg.json file can be used to define the index settings if the deployer does not want to use the default settings. Change-Id: I67902684ac4a432b5a010a7177e9980a0c7592d1 Issue-ID: AAI-2191 Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
2019-02-04Optionally disable client authenticationSerban Popescu2-1/+7
based on an env. variable, client authentication can be disabled Change-Id: I6d787644ef1439b8e88dcc3dec7f5181b11b7f11 Issue-ID: AAI-2132 Signed-off-by: Serban Popescu <serban.popescu@amdocs.com>
2019-01-21support reading passwords from environmentBansal, Nitin (nb121v)1-2/+2
support reading passwords from environment Change-Id: I713bddf0e6fa2e8c90de7023c8ca13138fcc1fbe Issue-ID: AAI-2083 Signed-off-by: Bansal, Nitin (nb121v) <nitin.bansal@amdocs.com>
2019-01-16support reading passwords from environmentBansal, Nitin (nb121v)1-2/+10
support reading cert passwords from environment Change-Id: I8b924b78450c84cd63ef796c2f606084e64bcfdc Issue-ID: AAI-2083 Signed-off-by: Bansal, Nitin (nb121v) <nitin.bansal@amdocs.com>
2019-01-04set server truststore params optionally in searchDaniel Silverthorn2-1/+19
Change-Id: Ic9359d0eea2a0c57a7b17397a8f681aba765f893 Issue-ID: AAI-2046 Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
2018-12-20Exclude tomcat from jersey starterjimmy1-3/+15
Issue-ID: AAI-2036 Change-Id: Iab0924049d1ab69a5c9d8613071746133b395f7c Signed-off-by: jimmy <jf2512@att.com>
2018-12-17Update to springboot 1.5.18jimmy1-1/+1
Change-Id: I1288ea4610c8825d4029262076b2bb7fe19f543e Issue-ID: AAI-1895 Signed-off-by: jimmy <jf2512@att.com>
2018-12-14Add option to bypass user authorizationPopescu, Serban4-3/+98
the es.auth.authorization.enabled property, if set to false, will bypass user authorization Issue-ID: AAI-2007 Change-Id: I46e3e087ee13eacdf977bbdc9c439045b0072a33 Signed-off-by: Serban Popescu <serban.popescu@amdocs.com>
2018-11-28support clear text/jetty obfuscated passwordBansal, Nitin (nb121v)2-1/+10
support clear text/jetty obfuscated password for talking to secure Elastic search Change-Id: I864320f3884da1171b7c7980edbe8858197afc97 Issue-ID: AAI-1971 Signed-off-by: Bansal, Nitin (nb121v) <nitin.bansal@amdocs.com>
2018-11-07fix bulk api to support secure rest calls to an ESrenealr1-1/+6
implement client authorization when performing bulk request to a secure ES update content type support by ES Issue-ID: AAI-1883 Change-Id: I72bd3af0af4680b55fd74c6e7fbd77990fa0ee5b Signed-off-by: renealr <reneal.rogers@amdocs.com>
2018-11-05Updated version to Dublinfpaquett2-3/+3
Issue-ID: AAI-1853 Change-Id: Ide4f692e76ca90dd9ed36a54eb6312c321a7deed Signed-off-by: fpaquett <francis.paquette@amdocs.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>