summaryrefslogtreecommitdiffstats
path: root/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2019-03-12Merge "Increase code coverage to 55% for Dublin"Tian Lee1-101/+0
2019-03-12Increase code coverage to 55% for DublinSanchez, Gabriel (gs882h)1-101/+0
Remove unused class and add some exception coverage test using exceptionRule Issue-ID: AAI-2221 Change-Id: I022f7a24f7247fe6dd213ddf9631823b3c1b5d1b Signed-off-by: Sanchez, Gabriel (gs882h) <gabriel.sanchez@amdocs.com>
2019-03-11Fix Sonar bugs and possible NPE in codeLee, Tian (tl5884)3-10/+11
Change-Id: I0b087a240bafa1abbb79c97c8545de4d23230716 Issue-ID: AAI-2232 Signed-off-by: Lee, Tian (tl5884) <TianL@amdocs.com>
2019-02-20Merge "Added error logger in exception scenario"Steven Blimkie1-4/+7
2019-02-06Optionally disable client authenticationPopescu, Serban1-0/+4
based on an env. variable, client authentication can be disabled Change-Id: Ie7790c1ec6c253c0b91358d56fd32cf588a01183 Issue-ID: AAI-2132 Signed-off-by: Serban Popescu <serban.popescu@amdocs.com>
2019-01-21Added error logger in exception scenarioChandan Ghosh1-4/+7
Added error logger in exception scenatio Issue-ID: AAI-2086 Change-Id: I47b222096ff9613821101e6f87c0bd75d2bf3f4e Signed-off-by: Chandan Ghosh <cghosh12@in.ibm.com>
2018-12-17Use Schema Service for model ingestionMichael Arrastia4-80/+35
Change-Id: Id2531c52491c135ae000223caf7ce79f95a9cb43 Issue-ID: AAI-2010 Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
2018-12-04Fix issue with Spike using too much CPUsblimkie1-0/+2
Even when idle, Spike was using close to 100% CPU Change-Id: I9936028e6935f54a9683cc57316c7d97205d5316 Issue-ID: AAI-1985 Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
2018-11-28Upgrade version of aai-commonMichael Arrastia7-222/+240
* Configure Spike with schema ingestion beans. * Update OXMModelLoader and EdgeRulesLoader to make use of schema ingestion beans. Here there is an acknowledged awkward marrying of bean creation and static method use. * Update tests to mock schema ingestion beans and organise test resources. Change-Id: I1f043aa5852dbd2737a804ebc282a12afb9fb39f Issue-ID: AAI-1951 Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
2018-11-07Upgrading event-client to version 1.3.1Shwetank Dave3-11/+73
- Adding support for rabbit mq (from event-client version 1.3.1) - Fixing issue where the checking offset fails - Adding a fix for fully qualified domain name Change-Id: Ibab1fc48e00df15a8a2b17369d0731fece17061c Issue-ID: AAI-1798 Signed-off-by: Shwetank Dave <shwetank.dave@amdocs.com>
2018-08-23Set trust storeIoannis Sotiropoulos1-1/+23
Set required system parameters to specify the correct trust store to use for outgoing HTTPS connections. Change-Id: If1fa9139ae2bc83cba6a8281c59114fdaadb07f7 Issue-ID: AAI-1537 Signed-off-by: Ioannis Sotiropoulos <Ioannis.Sotiropoulos@amdocs.com>
2018-07-26Increase code coverageIoannis Sotiropoulos1-3/+3
Add tests to increase code coverage above 50 percent. Change-Id: Ie4f7517d7984b301e2bea7a2262307032c820700 Issue-ID: AAI-1425 Signed-off-by: Ioannis Sotiropoulos <Ioannis.Sotiropoulos@amdocs.com>
2018-07-18Re-introduce Spring XML based configurationMichael Arrastia4-114/+3
This is to retain existing Spring XML based configuration in the microservice and continue to support switching message bus implementations through the existing beans XML file resource. The Java based configuration, though feasible, introduced complexity. We are going to take the pragmatic approach of handling topic password de-obfuscation centrally in the event-client. Change-Id: I1c0ed92cdc155a5d848f94dafedb6c69af88b681 Issue-ID: AAI-1388 Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
2018-07-13Move XML based Spring configuration to JavaMichael Arrastia4-8/+116
- The original externalised Spring XML-based configuration deployed to: /opt/app/spike-service/dynamic/conf/spike-beans.xml has been replaced with Spring Java based configuration. - Event consumer and publisher configuration is now in property files. This now allows obfuscation of passwords. - Bean creation now allows pre-processing the topic properties. For example, the password can now be de-obfuscated before it is passed into the bean constructor. Change-Id: I5c265dca266b0dcbb562ca1b391080fe237b1e64 Issue-ID: AAI-1377 Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
2018-07-12Migrate Spike code to ONAPMichael Arrastia30-0/+3754
Move what was originally an Open ECOMP microservice into ONAP. This is primarily a code move and includes: - removal of AJSC and replacement with latest version of Spring Boot - alignment with ONAP standards - license headers - package renaming - FOSSology scan completed Further work is required to add JJB and OOM. Change-Id: I305c8407256bf2dbcc816f34f031f92eafd6ef5a Issue-ID: AAI-1374 Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>