aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-05-06Downgrade to springboot 1.5.19.RELEASE4.0.0-ONAP1.4.3dublinJimmy Forsyth1-1/+1
Issue-ID: AAI-2409 Change-Id: If9a069a5ddd95aa95b568c20e66887fa4d4c2704 Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2019-05-03Upversion for Dublin releaseJimmy Forsyth4-4/+4
Issue-ID: AAI-2403 Change-Id: I93802ce621c0701c86663ad16fbeb822db43bc2e Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2019-05-03Upversion for Dublin release1.4.2Jimmy Forsyth4-4/+4
Issue-ID: AAI-2403 Change-Id: I311b3549c75cc2beb5e13aa1c43774f7324d78f8 Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2019-05-02Add staging plugin to root pomLee, Tian (tl5884)1-0/+11
In order to trigger the autorelease Change-Id: I489dc9145227e747e7ec5b4436627094d47e96e8 Issue-ID: AAI-2401 Signed-off-by: Lee, Tian (tl5884) <TianL@amdocs.com>
2019-05-02Tidy up pom config changesLee, Tian (tl5884)3-75/+48
Change-Id: I088f3e0bd537a36cf8682070811f50d4abdee150 Issue-ID: AAI-2401 Signed-off-by: Lee, Tian (tl5884) <TianL@amdocs.com>
2019-05-01Set groupId to avoid permission denied errorJimmy Forsyth1-1/+1
Issue-ID: AAI-2401 Change-Id: I27040d3458029fe96ba33e72bfa5104b43e5139d Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2019-05-01Unskipping deploymentFrancis Paquette3-18/+29
Issue-ID: AAI-2401 Change-Id: I1885bc0226cfac2de21e36ed63a2e0dca6631262 Signed-off-by: Francis Paquette <francis.paquette@amdocs.com>
2019-05-01Trying the fix auto-releaseFrancis Paquette4-6/+33
Issue-ID: AAI-2401 Change-Id: I7bb5517535294dfd36ef08cec4d8ae895890d9df Signed-off-by: Francis Paquette <francis.paquette@amdocs.com>
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>