aai/spike.git
4 years agoUpdate schema-service dep to 1.6.0 26/97826/1 master
Jimmy Forsyth [Thu, 31 Oct 2019 20:17:22 +0000 (16:17 -0400)]
Update schema-service dep to 1.6.0

Issue-ID: AAI-2607
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
Change-Id: I3ae258ef6e3150a7a5fe769ebdd7b32e841130b5

4 years ago[AAI-2181] Change aai spike container processes to run as non-root on the host 34/97234/1
rajeevme [Thu, 17 Oct 2019 07:25:19 +0000 (12:55 +0530)]
[AAI-2181] Change aai spike container processes to run as non-root on the host

Issue-ID: AAI-2181

Change-Id: Ifd6571190f1eaf473728010d870d2ea067dbed73

Signed-off-by: rajeevme<rajeev.mehta@amdocs.com>
Change-Id: I8026cc1962f794e110fc6c5c2e9c5075a0e28798

4 years agoFix version parsing 73/92773/5
Dmitry Puzikov [Wed, 10 Jul 2019 13:29:08 +0000 (15:29 +0200)]
Fix version parsing

Change-Id: I7fc5262fac013e76a473bffc913225a4b5bd2779
Issue-ID: INT-1142
Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
4 years agoUpversion spike in master 73/93573/1
Jimmy Forsyth [Wed, 14 Aug 2019 20:06:25 +0000 (16:06 -0400)]
Upversion spike in master

Issue-ID: AAI-2579
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
Change-Id: I5df3114453fe347a23ce046d1459bf21d87d75c7

4 years agoUpversion to oparent 2.0.0 60/90860/2
Jimmy Forsyth [Wed, 3 Jul 2019 19:32:46 +0000 (15:32 -0400)]
Upversion to oparent 2.0.0

Issue-ID: AAI-2499
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
Change-Id: If266d7e9311fc29fd8e077cd14bf82fbf7de05a9

4 years agoUpversion for jjb transition 99/90199/1
Jimmy Forsyth [Wed, 19 Jun 2019 21:57:28 +0000 (17:57 -0400)]
Upversion for jjb transition

Issue-ID: AAI-2499
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
Change-Id: I2c0c1b00993ddcc7ca207fe5003bf55cf815e4a4

5 years agoUpversion prior to release 61/86761/3 dublin 4.0.0-ONAP
Jimmy Forsyth [Thu, 2 May 2019 01:32:17 +0000 (21:32 -0400)]
Upversion prior to release

Issue-ID: AAI-2403
Change-Id: Icf3d9f5b15b23d0cefa083083dae53eba98548a2
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
5 years agoUpdate to latest version of schema-service 15/86715/1
Jimmy Forsyth [Wed, 1 May 2019 12:50:47 +0000 (08:50 -0400)]
Update to latest version of schema-service

Issue-ID: AAI-2169
Change-Id: I4b3cdf59fc6bcbaf78ee98af267efa6508ef5b53
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
5 years agoUpdate spike for schema jar 1.0.2 76/85076/1 1.4.0
Harish Venkata Kajur [Thu, 11 Apr 2019 15:22:53 +0000 (11:22 -0400)]
Update spike for schema jar 1.0.2

Issue-ID: AAI-2368
Change-Id: I2369a9533eb546c5368e508d8e0732886fe99320
Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
5 years agoRemove event-client snapshot dep 43/84943/1
Jimmy Forsyth [Wed, 10 Apr 2019 20:23:29 +0000 (16:23 -0400)]
Remove event-client snapshot dep

Issue-ID: AAI-2359
Change-Id: I4f81784644142c0d8dd396531d0772cc4bae9b96
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
5 years agoUpgrade to springboot 1.5.20.RELEASE 12/84712/1
Jimmy Forsyth [Tue, 9 Apr 2019 15:52:26 +0000 (11:52 -0400)]
Upgrade to springboot 1.5.20.RELEASE

Issue-ID: AAI-2349
Change-Id: I15d425ed1acf5ccd84e19562bda08a0ee2a7c104
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
5 years agoMerge "Configure Jacoco plugin to enforce min coverage"
Tian Lee [Mon, 1 Apr 2019 13:34:47 +0000 (13:34 +0000)]
Merge "Configure Jacoco plugin to enforce min coverage"

5 years agoConfigure Jacoco plugin to enforce min coverage 34/83734/3
Michael Arrastia [Fri, 29 Mar 2019 14:09:14 +0000 (14:09 +0000)]
Configure Jacoco plugin to enforce min coverage

Jacoco plugin is configured to set the minimum line coverage ratios to
equal that of the current coverage level, to prevent future updates from
decreasing the coverage level.

Change-Id: Iff78f455bf9610bcf3e8611490a51794287dce67
Issue-ID: AAI-2302
Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
5 years agoUpgrade Spring Boot to version 1.5.19 31/83731/3
Michael Arrastia [Fri, 29 Mar 2019 13:23:53 +0000 (13:23 +0000)]
Upgrade Spring Boot to version 1.5.19

Change-Id: I67319ca923a8d5c97d217d13a7b68ba083b6312e
Issue-ID: AAI-2301
Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
5 years agoSpike to use released version of aai-common 35/82035/1
sblimkie [Tue, 12 Mar 2019 14:25:56 +0000 (10:25 -0400)]
Spike to use released version of aai-common

Change-Id: Idfbdef09a5c778676ffea3ee515f912153c00242
Issue-ID: AAI-2215
Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
5 years agoMerge "Increase code coverage to 55% for Dublin"
Tian Lee [Tue, 12 Mar 2019 11:18:12 +0000 (11:18 +0000)]
Merge "Increase code coverage to 55% for Dublin"

5 years agoIncrease code coverage to 55% for Dublin 65/81965/3
Sanchez, Gabriel (gs882h) [Mon, 11 Mar 2019 17:14:03 +0000 (17:14 +0000)]
Increase code coverage to 55% for Dublin

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>
5 years agoMerge "Fix Sonar bugs and possible NPE in code"
James Forsyth [Tue, 12 Mar 2019 03:09:19 +0000 (03:09 +0000)]
Merge "Fix Sonar bugs and possible NPE in code"

5 years agoFix Sonar bugs and possible NPE in code 63/81963/1
Lee, Tian (tl5884) [Mon, 11 Mar 2019 17:04:21 +0000 (17:04 +0000)]
Fix Sonar bugs and possible NPE in code

Change-Id: I0b087a240bafa1abbb79c97c8545de4d23230716
Issue-ID: AAI-2232
Signed-off-by: Lee, Tian (tl5884) <TianL@amdocs.com>
5 years agoAdd missing INFO.yaml blocks 60/79560/1
Jessica Wagantall [Sat, 2 Mar 2019 02:45:53 +0000 (18:45 -0800)]
Add missing INFO.yaml blocks

Add missing information so that the new verify
job passes.

Change-Id: I7636a6101909f0643bc84923cb46ed18ea808f4a
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
5 years agoMerge "Added error logger in exception scenario"
Steven Blimkie [Wed, 20 Feb 2019 16:48:48 +0000 (16:48 +0000)]
Merge "Added error logger in exception scenario"

5 years agoMerge "Added junit testcase for EchoService.java"
James Forsyth [Mon, 18 Feb 2019 21:19:29 +0000 (21:19 +0000)]
Merge "Added junit testcase for EchoService.java"

5 years agoOptionally disable client authentication 83/77983/1
Popescu, Serban [Wed, 6 Feb 2019 18:15:33 +0000 (13:15 -0500)]
Optionally disable client authentication

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>
5 years agoAdded junit testcase for EchoService.java 09/76109/1
Chandan Ghosh [Tue, 22 Jan 2019 09:32:34 +0000 (15:02 +0530)]
Added junit testcase for EchoService.java

Added junit testcse for EchoService

Issue-ID: AAI-2108
Change-Id: I534f00970da5c9b29beb56eb33124ae8b576c42e
Signed-off-by: Chandan Ghosh <cghosh12@in.ibm.com>
5 years agoAdded error logger in exception scenario 28/75928/2
Chandan Ghosh [Thu, 17 Jan 2019 10:53:21 +0000 (16:23 +0530)]
Added error logger in exception scenario

Added error logger in exception scenatio

Issue-ID: AAI-2086
Change-Id: I47b222096ff9613821101e6f87c0bd75d2bf3f4e
Signed-off-by: Chandan Ghosh <cghosh12@in.ibm.com>
5 years agoUse Schema Service for model ingestion 41/74741/1
Michael Arrastia [Mon, 17 Dec 2018 17:34:37 +0000 (17:34 +0000)]
Use Schema Service for model ingestion

Change-Id: Id2531c52491c135ae000223caf7ce79f95a9cb43
Issue-ID: AAI-2010
Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
5 years agoFix issue with Spike using too much CPU 09/74209/1
sblimkie [Tue, 4 Dec 2018 19:44:04 +0000 (14:44 -0500)]
Fix issue with Spike using too much CPU

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>
5 years agoUpgrade version of aai-common 05/73805/1
Michael Arrastia [Wed, 28 Nov 2018 17:27:31 +0000 (17:27 +0000)]
Upgrade version of aai-common

* 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>
5 years agoupgrade to new event client 81/73081/1
Bansal, Nitin (nb121v) [Mon, 19 Nov 2018 20:00:18 +0000 (15:00 -0500)]
upgrade to new event client

Change-Id: I0294d54a1d9baa6afc18c3235564ac83d7fea759
Issue-ID: AAI-1929
Signed-off-by: Bansal, Nitin (nb121v) <nitin.bansal@amdocs.com>
5 years agoMerge "Upgrade to springboot 2.1.0 to resolve NexusIQ"
James Forsyth [Mon, 19 Nov 2018 16:24:55 +0000 (16:24 +0000)]
Merge "Upgrade to springboot 2.1.0 to resolve NexusIQ"

5 years agoUpgrade to springboot 2.1.0 to resolve NexusIQ 36/73036/1
Sanchez, Gabriel (gs882h) [Mon, 19 Nov 2018 14:20:39 +0000 (14:20 +0000)]
Upgrade to springboot 2.1.0 to resolve NexusIQ

Upgrade to sprinboot 2.1.0 to resolve NexusIQ
vulnerabilities (spring-web), as spike microservice
uses Springboot Depedency Managemento to organise
dependencies

Issue-ID: AAI-1902

Change-Id: I7496e397a4438a71ffd3dd7da215891d9933a0ef
Signed-off-by: gabriel.sanchez <gabriel.sanchez@amdocs.com>
5 years agoUpgrading event-client to version 1.3.1 21/72121/2
Shwetank Dave [Wed, 7 Nov 2018 21:04:43 +0000 (16:04 -0500)]
Upgrading event-client to version 1.3.1

- 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>
5 years agoUpversion to 1.4.0 - Dublin branch 63/71863/1
Sanchez, Gabriel (gs882h) [Mon, 5 Nov 2018 15:45:56 +0000 (15:45 +0000)]
Upversion to 1.4.0 - Dublin branch

Upversion to 1.4.0

Issue-ID: AAI-1856

Change-Id: Ic08cac19ac3016c918259a9d2df5f4cde902a7db
Signed-off-by: Sanchez, Gabriel (gs882h) <gabriel.sanchez@amdocs.com>
5 years agoupversion to 1.3.1 90/71690/1 1.3.1 3.0.0-ONAP
sblimkie [Thu, 1 Nov 2018 20:28:01 +0000 (16:28 -0400)]
upversion to 1.3.1

Change-Id: Ie89f5f5be2d2adace8cce1a6a0c25b1ecfc9a1ab
Issue-ID: AAI-1817
Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
5 years agoupversion to 1.3.0 56/71556/1
sblimkie [Wed, 31 Oct 2018 15:35:13 +0000 (11:35 -0400)]
upversion to 1.3.0

Change-Id: I4b91291452649b7f2307f59bfc7dcf35bf23d406
Issue-ID: AAI-1788
Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
5 years agoUpdate event-client version to 1.3.0 87/67787/1 1.3.0
Michael Arrastia [Wed, 19 Sep 2018 16:06:58 +0000 (17:06 +0100)]
Update event-client version to 1.3.0

Change-Id: I7e952bd4aab35e31fc59c8964a6a838848011b6e
Issue-ID: AAI-1649
Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
5 years agoFix NexusIQ security vunerabilities 83/67383/1
michaere [Tue, 18 Sep 2018 16:54:56 +0000 (17:54 +0100)]
Fix NexusIQ security vunerabilities

Exclude and remove dependencies causing security vunerabilities in spike

Issue-ID: AAI-1629

Change-Id: I5657ec45866a0b0a57fcea7ef0acf827247de990
Signed-off-by: michaere <michaere@amdocs.com>
5 years agoUse managed guava version 01/62501/2
Gary Wu [Fri, 24 Aug 2018 22:16:03 +0000 (15:16 -0700)]
Use managed guava version

Use centrally managed guava version specified in
oparent.  Includes upgrade to oparent 1.2.0.

This change was submitted by script and may include
additional whitespace or formatting changes.

Change-Id: I7dbebb5e4bcd380031e8af356fa9fc77fc37f411
Issue-ID: INT-619
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
5 years agoSet trust store 45/62145/1
Ioannis Sotiropoulos [Thu, 23 Aug 2018 13:49:09 +0000 (14:49 +0100)]
Set trust store

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>
5 years agoFixing the docker jenkins job 41/60341/1
Arul.Nambi [Mon, 13 Aug 2018 15:28:49 +0000 (11:28 -0400)]
Fixing the docker jenkins job

Issue-ID: AAI-1449
Change-Id: I965f410b7551202bd4501ecdd528b711c348204e
Signed-off-by: Arul.Nambi <arul.nambi@amdocs.com>
5 years agoUpdate Spike documentation 85/59685/1
Ioannis Sotiropoulos [Wed, 8 Aug 2018 15:08:42 +0000 (16:08 +0100)]
Update Spike documentation

Reduce line length to less than 120 characters.

Change-Id: I69795c4bea1b1e61658d6b1e1b09b972d5a78059
Issue-ID: AAI-1428
Signed-off-by: Ioannis Sotiropoulos <Ioannis.Sotiropoulos@amdocs.com>
5 years agoAdd Spike documentation 81/57981/3
Ioannis Sotiropoulos [Mon, 30 Jul 2018 09:14:26 +0000 (10:14 +0100)]
Add Spike documentation

Update various payloads that Spike microservice publishes to the topic

Change-Id: Ide7977ae2939b73ec45e45c7e0f557946e6a9c15
Issue-ID: AAI-1428
Signed-off-by: Ioannis Sotiropoulos <Ioannis.Sotiropoulos@amdocs.com>
5 years agoAdd Spotify plugin for Jenkins Docker build 01/59401/1
Michael Arrastia [Tue, 7 Aug 2018 09:53:41 +0000 (10:53 +0100)]
Add Spotify plugin for Jenkins Docker build

Change-Id: I1f197cf25f0f66ef2dbdfd066a6914b8f620a9ff
Issue-ID: AAI-1446
Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
5 years agoAdd name property in pom as aai-spike 49/58449/1
Michael Arrastia [Wed, 1 Aug 2018 16:01:08 +0000 (17:01 +0100)]
Add name property in pom as aai-spike

The aai prefix in the name is needed to identify the microservice as
part of AAI. For example, for the AAI Sonar project.

Change-Id: I035c392668a71d7af6a5b6b138b66cee6cd35e13
Issue-ID: AAI-1438
Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
5 years agoIncrease code coverage 67/57667/1
Ioannis Sotiropoulos [Thu, 26 Jul 2018 09:01:12 +0000 (10:01 +0100)]
Increase code coverage

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>
5 years agoAdd version.properties file 87/57287/1
Michael Arrastia [Tue, 24 Jul 2018 10:38:55 +0000 (11:38 +0100)]
Add version.properties file

The version.properties file specifies release and snapshot versions.
It is needed to execute the release-version-java-daily job in Jenkins.

Change-Id: I56d03c91f32ef54b8caae43636c74e88bcb8b743
Issue-ID: AAI-1398
Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
5 years agoAddress NexusIQ issues 23/56923/1
Ioannis Sotiropoulos [Thu, 19 Jul 2018 13:51:56 +0000 (14:51 +0100)]
Address NexusIQ issues

Add latest version of Google's Guava api.

Change-Id: Ie74b2ac72bb10dbc329efbd16e5e3d074c267be1
Issue-ID: AAI-1392
Signed-off-by: Ioannis Sotiropoulos <Ioannis.Sotiropoulos@amdocs.com>
5 years agoRe-introduce Spring XML based configuration 21/56721/1
Michael Arrastia [Wed, 18 Jul 2018 10:46:16 +0000 (11:46 +0100)]
Re-introduce Spring XML based configuration

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>
5 years agoMove XML based Spring configuration to Java 05/56405/1
Michael Arrastia [Fri, 13 Jul 2018 16:00:13 +0000 (17:00 +0100)]
Move XML based Spring configuration to Java

- 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>
5 years agoMigrate Spike code to ONAP 95/56295/1
Michael Arrastia [Thu, 12 Jul 2018 12:37:43 +0000 (13:37 +0100)]
Migrate Spike code to ONAP

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>
6 years agoCorrect INFO.yaml to pass YAML Lint 49/42049/1 2.0.0-ONAP beijing 2.0.0-ONAP
Eric Debeau [Tue, 10 Apr 2018 20:38:49 +0000 (20:38 +0000)]
Correct INFO.yaml to pass YAML Lint

Change-Id: Ia20bbbc15c51043e4463df104ed42d9eeab8d81d
Issue-ID: AAI-1022
Signed-off-by: Eric Debeau <eric.debeau@orange.com>
6 years agoAdd INFO.yaml file 27/33027/1
Jessica Wagantall [Tue, 27 Feb 2018 01:04:29 +0000 (17:04 -0800)]
Add INFO.yaml file

Add INFO.yaml to list:
- Project description
- Properties
- PTL information
- Meeting information
- Committer information

Change-Id: I2cc4ebb7711bc6763e6e6d125307c8ac7a7573db
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
6 years agoInitial empty repository
Jessica Wagantall [Thu, 25 Jan 2018 19:39:54 +0000 (19:39 +0000)]
Initial empty repository