dcaegen2/services/prh.git
6 years agoMDC fix 73/64373/2
micdzied [Tue, 4 Sep 2018 09:24:53 +0000 (11:24 +0200)]
MDC fix

Change-Id: I4b12f9b9914d93ee2969b4b3cf48a47837330a6d
Issue-ID: DCAEGEN2-745
Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
6 years agoMaven resources refactoring 49/64349/1
pwielebs [Tue, 4 Sep 2018 07:50:05 +0000 (09:50 +0200)]
Maven resources refactoring

Added resurces to java spring classpath directly

Change-Id: I194748706f63cff1966111bbdb52538bd5a83855
Issue-ID: DCAEGEN2-606
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
6 years agoFixing code issues 47/64347/1
pwielebs [Tue, 4 Sep 2018 07:44:33 +0000 (09:44 +0200)]
Fixing code issues

1. SonarIssues
2. CheckStyle corrections
3. Empty code deletions
4. Adding AAIHeaders config to cloud configurations

Change-Id: Id624c52bc7f57338fad5276fffd9f29b21af2f69
Issue-ID: DCAEGEN2-606
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
6 years agoClear warnings in sysout Fix: 43/64343/1
pwielebs [Tue, 4 Sep 2018 07:38:35 +0000 (09:38 +0200)]
Clear warnings in sysout Fix:

*Checkstyle violations
*Sonar Issues
*FindBugs Issues

Change-Id: Ie634fa6644cdbdb1f952826a75c6a4ffeabe0cbf
Issue-ID: DCAEGEN2-606
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
6 years agoRefatoring due to prh workflow 39/64339/1
pwielebs [Tue, 4 Sep 2018 07:29:49 +0000 (09:29 +0200)]
Refatoring due to prh workflow

1. Added specified HttpClient for DmaaPPublisher:
*DmaaP Handle transfer-encoding: chunk header and
reject the request if it will be set by the client.
In conclusion no other reactive http client can be
used for pushing something to dmaap.

2. Added sll support to A&AI rective webclient.
*Behaviour of reactive A&AI HttpClient is different as
in native spring have without it.

3. Added 10s fixed time in PRH for requesting DmaaP.

4. Added debug log in reactive/native http clients.

5. Fixed reactive workflow of prh.

6. Updated the version of:
* spring-boot-dependencies:2.0.1.RELEASE->2.0.4.RELEASE
* spring-boot-starter-reactor-netty:2.0.2.RELEASE->2.0.4.RELEASE
* spring-webflux:5.0.5.RELEASE->5.0.8.RELEASE
* reactor-bom:Bismuth-RELEASE->Bismuth-SR10

Change-Id: I815ffb5bdcf48d94f3b7c64040a73e98e404a5e8
Issue-ID: DCAEGEN2-743
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
6 years agoRefactor Docker image building process 61/63961/3
Piotr Bochenski [Fri, 31 Aug 2018 09:49:21 +0000 (11:49 +0200)]
Refactor Docker image building process

Align Docker image building process to VES project.
Also refactor all Maven configurations.

Change-Id: I3856bb75f41247f5ce7f17fb813aa2ab692e4def
Issue-ID: DCAEGEN2-737
Signed-off-by: Piotr Bochenski <piotr.bochenski@nokia.com>
6 years agoadd MDC's 29/63729/4
micdzied [Thu, 30 Aug 2018 08:25:19 +0000 (10:25 +0200)]
add MDC's

Change-Id: Ie4fe86791f46b790ae42088a5d2b93f491e4549d
Issue-ID: DCAEGEN2-730
Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
6 years agoMerge "Introduction of a new parameter "sourceName""
Przemyslaw Wasala [Thu, 30 Aug 2018 10:54:42 +0000 (10:54 +0000)]
Merge "Introduction of a new parameter "sourceName""

6 years agoIntroduction of a new parameter "sourceName" 73/63773/1
pwielebs [Thu, 30 Aug 2018 10:02:31 +0000 (12:02 +0200)]
Introduction of a new parameter "sourceName"

- used instead of pnf-name (correlationId)

Change-Id: Iabcbfacbc029bd6d229080c2064a291e17c7f4f8
Issue-ID: DCAEGEN2-744
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
6 years agoMerge "Use managed guava version"
Przemyslaw Wasala [Thu, 30 Aug 2018 09:34:45 +0000 (09:34 +0000)]
Merge "Use managed guava version"

6 years agoRevert web server to prh, fix configuration 43/63243/5
Jakub Zieba [Tue, 28 Aug 2018 12:07:56 +0000 (14:07 +0200)]
Revert web server to prh, fix configuration

Revert web server to prh, becaue it is used by health check

Fix cloud configuration fetching

Additional code refactoring

Change-Id: Ic3d6f4c266064436e2701ec3ef3a7534b2d5b8b4
Issue-ID: DCAEGEN2-696
Signed-off-by: Jakub Zieba <jakub.zieba@nokia.com>
6 years agoFix config parser 23/63223/2
Jakub Zieba [Tue, 28 Aug 2018 09:08:17 +0000 (11:08 +0200)]
Fix config parser

Correct cloud config parser by fixing builder

Change-Id: Ic381385138c4e78b4c3247e9cf66226f2fabdde0
Issue-ID: DCAEGEN2-696
Signed-off-by: Jakub Zieba <jakub.zieba@nokia.com>
6 years agoUse managed guava version 09/62609/2
Gary Wu [Fri, 24 Aug 2018 22:22:07 +0000 (15:22 -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: I8155f346047dee29daed72eb1b8a228fc6b57bcc
Issue-ID: INT-619
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
6 years agoFix for PRH against VES 7.0 37/62037/1
pwielebs [Thu, 23 Aug 2018 09:58:45 +0000 (11:58 +0200)]
Fix for PRH against VES 7.0

Change-Id: I1e4ca7d1a163eed6fadb1f52d0cc9fc675ea6b7f
Issue-ID: DCAEGEN2-600
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
6 years agologback according to casablanca 35/61835/1
micdzied [Wed, 22 Aug 2018 11:30:31 +0000 (13:30 +0200)]
logback according to casablanca

Change-Id: Idce9f5e00a561f95afecae49008b4cd6aab8d8b1
Issue-ID: DCAEGEN2-726
Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
6 years agoFix for logging: 29/61829/1
pwielebs [Wed, 22 Aug 2018 10:57:54 +0000 (12:57 +0200)]
Fix for logging:

- removal of authentication in Dmaap client
- improvement of logging in the DmaaP's & AAI's clients
- Dmaap Topic upgraded according to VES 7.0 spec
- correction in tasks scheduling

Change-Id: Ie0b153b5544c69be54718460247dcd1d83f6ebe2
Issue-ID: DCAEGEN2-721
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
6 years agoMerge "Second part loading PRH CONF"
Lusheng Ji [Tue, 21 Aug 2018 15:10:01 +0000 (15:10 +0000)]
Merge "Second part loading PRH CONF"

6 years agoMerge "Downloading prhConf fromConsul"
Lusheng Ji [Tue, 21 Aug 2018 15:08:42 +0000 (15:08 +0000)]
Merge "Downloading prhConf fromConsul"

6 years agoSecond part loading PRH CONF 67/61567/5
wasala [Tue, 21 Aug 2018 12:08:05 +0000 (14:08 +0200)]
Second part loading PRH CONF

*Priority for loading configuration
*Run asynchronus task in parallel which
is responsible for dynamic hot swaping
configuration from CONSUL/CBS

Change-Id: I03ca0458e34eb71404c5ee8263d4cd476e99290b
Issue-ID: DCAEGEN2-696
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
6 years agoDownloading prhConf fromConsul 03/60003/4
wasala [Fri, 10 Aug 2018 11:43:10 +0000 (13:43 +0200)]
Downloading prhConf fromConsul

*Added backGround task for downloading
dynamic Configuration from Consul
*This configuration can pass for Kubernetes
and heat (bare metal) deployment
*Parsing/validation configuration from system
environment

Change-Id: I937cbda1bc8b715dc3e754bea8a39dd141180e49
Issue-ID: DCAEGEN2-696
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
6 years ago2nd Fix for bug : 65/61565/1
pwielebs [Tue, 21 Aug 2018 12:01:36 +0000 (14:01 +0200)]
2nd Fix for bug :

- PRH test fail - Cannot build AaiClientConfiguration,
   some of required attributes are not set
   [aaiIgnoreSslCertificateErrors]

Change-Id: I0a33b034576296d6daec9f4849aea539d7507d77
Issue-ID: DCAEGEN2-721
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
6 years agoMerge "Cleaning AAI client after refactor"
Przemyslaw Wasala [Tue, 21 Aug 2018 09:58:42 +0000 (09:58 +0000)]
Merge "Cleaning AAI client after refactor"

6 years agoCleaning AAI client after refactor 15/61515/1
pwielebs [Tue, 21 Aug 2018 09:16:28 +0000 (11:16 +0200)]
Cleaning AAI client after refactor

 - unused AAI consumer Client removal
 - unused AAI consumer Tasks removal

Change-Id: I8188806a13d581ff61e94fcdba6580b199c774a4
Issue-ID: DCAEGEN2-609
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
6 years agoFix for bug: 05/61505/1
pwielebs [Tue, 21 Aug 2018 08:30:34 +0000 (10:30 +0200)]
Fix for bug:

 - PRH test fail - Cannot build AaiClientConfiguration,
   some of required attributes are not set
   [aaiIgnoreSslCertificateErrors]

Change-Id: I591297562fd9105c98e9171e73a7fd7eb6fee3ae
Issue-ID: DCAEGEN2-721
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
6 years agoUpdate PRH against VES 7.0 09/61309/1
pwielebs [Mon, 20 Aug 2018 13:42:16 +0000 (15:42 +0200)]
Update PRH against VES 7.0

- Changes made according to new VES 7.0.1
 schema
- UT modified

Change-Id: I0e1eb07e4326f65da4bf3e1bd551962b15b907c1
Issue-ID: DCAEGEN2-600
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
6 years agoReactive A&AI client 55/59655/3
wasala [Wed, 8 Aug 2018 11:39:14 +0000 (13:39 +0200)]
Reactive A&AI client

*plugged reactiveHttpClient in
prh workflow
*added junit tests for workflow

Change-Id: I74f3fa7354de9b0f7f164c070ea61b70e74bde23
Issue-ID: DCAEGEN2-609
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
6 years agoFix corrections in code 35/59435/3
wasala [Tue, 7 Aug 2018 11:40:42 +0000 (13:40 +0200)]
Fix corrections in code

*FindBugs scan fixed errors
*Checkstyle fixed errors

Change-Id: I8553a56859de91f8886fc1518ff26e7b16c5c1d6
Issue-ID: DCAEGEN2-606
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
6 years agoAdding AAI reactive webClient 59/59359/2
pwielebs [Thu, 12 Jul 2018 08:16:00 +0000 (10:16 +0200)]
Adding AAI reactive webClient

Change-Id: Iedf88dfe12f41f0d994bcfc7c94e21ddf945a001
Issue-ID: DCAEGEN2-609
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
6 years agoChecstyle violations Casablanca 55/59355/1
wasala [Tue, 10 Jul 2018 13:05:50 +0000 (15:05 +0200)]
Checstyle violations Casablanca

Added @Javadoc in .class files

Change-Id: I359c03f67bd323509b712b91466bb0841b7bd1d2
Issue-ID: DCAEGEN2-563
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
6 years agoCheckstyle violations 53/59353/1
wasala [Tue, 10 Jul 2018 09:47:01 +0000 (11:47 +0200)]
Checkstyle violations

*Correction of violations
without javadoc

Change-Id: Ida177bf32a58605e74feae5fab22198228e970ce
Issue-ID: DCAEGEN2-563
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
6 years agoRefactor jsonParsing to reactive 49/59349/1
wasala [Mon, 9 Jul 2018 12:30:01 +0000 (14:30 +0200)]
Refactor jsonParsing to reactive

Already forwarded responsibility
of creation Mono stream in
function in  DmaapConsumerJsonParser

Change-Id: Ia03695c7e22575d078e169eeaa45ca1416c558a8
Issue-ID: DCAEGEN2-563
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
6 years agoBug fixes 45/59345/1
wasala [Thu, 5 Jul 2018 12:23:36 +0000 (14:23 +0200)]
Bug fixes

Improve UnitTest
Add changes after review in
DmaaPReactiveTasks workflow

Change-Id: I920092235528964758014c2d9d229ccd22e69cae
Issue-ID: DCAEGEN2-563
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
6 years agoAdded JUnit for DMaaPWebClient 43/59343/1
wasala [Thu, 5 Jul 2018 07:10:39 +0000 (09:10 +0200)]
Added JUnit for DMaaPWebClient

Refactored DMaaP tasks for
creation WebClient in higher
abstraction level

Change-Id: I4ae4f99d1f739a1718c5520929fc4eb8b4a6178e
Issue-ID: DCAEGEN2-563
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
6 years agoAdded reactive DMaaPClient 41/59341/1
wasala [Wed, 4 Jul 2018 12:12:23 +0000 (14:12 +0200)]
Added reactive DMaaPClient

Extracted WebCLientBuilder for
Producer and Consumer.
Added unit test for ReactiveProducerClient.

Change-Id: I632e6928813ed9feb48982900c173f741e4483e3
Issue-ID: DCAEGEN2-563
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
6 years agoRefactor Optional in MonoResponse 91/59091/7
wasala [Wed, 27 Jun 2018 12:29:06 +0000 (14:29 +0200)]
Refactor Optional in MonoResponse

Added JUnit tests for DmaapConsumer
Reactive Client.

Added property for spring to run
PRH as none-web application

Change-Id: I8b762389927151387da5b79e8b75b670600ee5e8
Issue-ID: DCAEGEN2-563
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
6 years agoDmaapConsumerReactive fixed tests 89/59089/3
wasala [Tue, 26 Jun 2018 17:29:43 +0000 (19:29 +0200)]
DmaapConsumerReactive fixed tests

Change-Id: I888ef94a084f32a18c77c12a18fb6636a4f33649
Issue-ID: DCAEGEN2-557
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
6 years agoAdded dmaapReactiveConsumer 87/59087/3
wasala [Tue, 26 Jun 2018 13:15:03 +0000 (15:15 +0200)]
Added dmaapReactiveConsumer

*Tests have not been ready yet

Change-Id: I2e1d9c4218f91ae2f066b28acdbaa1870d7d27e7
Issue-ID: DCAEGEN2-557
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
6 years agoAdd INFO.yaml file 83/46083/5
Jessica Wagantall [Fri, 4 May 2018 00:16:48 +0000 (17:16 -0700)]
Add INFO.yaml file

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

Change-Id: I5cd1cae8df03dfb1ba6909822560a81c5f08d699
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
6 years agoMerge "Cleaned in code in reactive tasks"
Vijay Venkatesh Kumar [Mon, 6 Aug 2018 13:24:37 +0000 (13:24 +0000)]
Merge "Cleaned in code in reactive tasks"

6 years agoMerge "Added reactive tasks flow control"
Vijay Venkatesh Kumar [Mon, 6 Aug 2018 13:23:43 +0000 (13:23 +0000)]
Merge "Added reactive tasks flow control"

6 years agoCleaned in code in reactive tasks 83/59083/2
wasala [Mon, 25 Jun 2018 10:29:39 +0000 (12:29 +0200)]
Cleaned in code in reactive tasks

*Formated code
*Added handling exceptions
*Deleted unused code

Change-Id: I3e95bcb8ba7cdf85f6a1daaec7cadc86080e0b10
Issue-ID: DCAEGEN2-557
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
6 years agoAdded reactive tasks flow control 35/58735/2
wasala [Fri, 22 Jun 2018 18:11:20 +0000 (20:11 +0200)]
Added reactive tasks flow control

Change-Id: I9cb2bede66e9e446912f2e6a815c7b56b80813b9
Issue-ID: DCAEGEN2-557
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
6 years agoPublish phase. 33/58733/1
wasala [Tue, 19 Jun 2018 08:10:18 +0000 (10:10 +0200)]
Publish phase.

Added publish phase
to merge requests action on GIT.

Change-Id: I07808b97a24867faa5ed711217b0a68b91a2f983
Issue-ID: DCAEGEN2-557
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
6 years agoAmend 11/58711/2
wasala [Tue, 19 Jun 2018 07:27:20 +0000 (09:27 +0200)]
Amend

*changes from da622e8de3a05c0c2e9787f7854c3d1ef7230eae
hash commit

Change-Id: I527e50032935713b6260e941be5a02e85879f1dd
Issue-ID: DCAEGEN2-557
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
6 years agoAdded build step CI in gitlab 85/58385/9
wasala [Mon, 18 Jun 2018 09:45:08 +0000 (11:45 +0200)]
Added build step CI in gitlab

Change-Id: I11430c0dfe9c8794d1266c5fd675712f83d30e3e
Issue-ID: DCAEGEN2-557
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoDev mode in logging fixed 47/55247/1
wasala [Fri, 22 Jun 2018 09:17:12 +0000 (11:17 +0200)]
Dev mode in logging fixed

Change-Id: I1650549e89ce811374ad6594a0335e5b7a5265fd
Issue-ID: DCAEGEN2-545
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoChange logback to SizeAndTimeBasedRollingPolicy 01/55101/1
wasala [Wed, 20 Jun 2018 07:52:54 +0000 (09:52 +0200)]
Change logback to SizeAndTimeBasedRollingPolicy

Fixed logging

Change-Id: I976622113c247efc28dc754c10fa9197543b7edb
Issue-ID: DCAEGEN2-545
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoAdded simply logs from tasks. 27/54627/8
wasala [Wed, 13 Jun 2018 09:39:14 +0000 (11:39 +0200)]
Added simply logs from tasks.

*Logging responsed object from DmaaP
*Logging parsed oject from DmaaP
*Logging sended object to AAI
*Logging sended object and topic To DmaaP

Change-Id: I33de0cd751762ac004f9d8a09beee921f4026af6
Issue-ID: DCAEGEN2-545
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoAdded run task after application is up 25/54625/1
wasala [Wed, 13 Jun 2018 09:13:36 +0000 (11:13 +0200)]
Added run task after application is up

Change-Id: I91985184352dda7937b0c5bf036c916228cb6055
Issue-ID: DCAEGEN2-545
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agohandleResponse refactor 15/51115/3
pwielebs [Mon, 11 Jun 2018 11:39:31 +0000 (13:39 +0200)]
handleResponse refactor

Due to logs consistency handleResponse method
was incorporated to the each of http producers.

Change-Id: I621d1795c376161273270f07ff3dd6caca2fc1d6
Issue-ID: DCAEGEN2-451
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
7 years agoCatch empty response from DmaaP 17/51117/2
wasala [Mon, 11 Jun 2018 12:16:09 +0000 (14:16 +0200)]
Catch empty response from DmaaP

Change-Id: Ibd8739c3f9718eec15ff20e0b88d0bfcd4f6d84d
Issue-ID: DCAEGEN2-540
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agobasic authentication for AAI Producer Client 17/50317/4 2.0.0-ONAP beijing 2.0.0-ONAP
pwielebs [Tue, 5 Jun 2018 10:19:28 +0000 (12:19 +0200)]
basic authentication for AAI Producer Client

Change-Id: I087db36dc3c60015f91de5fde49358b18564ab9e
Issue-ID: DCAEGEN2-451
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
7 years agoCorrection for DmaapJsonParser 19/50319/1
wasala [Tue, 5 Jun 2018 10:15:44 +0000 (12:15 +0200)]
Correction for DmaapJsonParser

*Added cases fo uTests
*Changed schedule tasks to 5s
*Changed batching message to 1

Change-Id: I8daa4f143699488c8a593634ad67452b4a194437
Issue-ID: DCAEGEN2-540
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years ago2nd fix for DmaapConsumerJsonParser 13/50113/1
pwielebs [Mon, 4 Jun 2018 13:43:27 +0000 (15:43 +0200)]
2nd fix for DmaapConsumerJsonParser

Change-Id: I0b5fa7e2a1e8472f72e636a84ef6d2285580b494
Issue-ID: DCAEGEN2-451
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
7 years agoFix for Json parser 07/49307/6
pwielebs [Mon, 28 May 2018 12:20:51 +0000 (14:20 +0200)]
Fix for Json parser

Change-Id: I322b893356a41ee27dfb14d9ef9dfcdd129e8ced
Issue-ID: DCAEGEN2-451
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
7 years agoRefactor of prh-aai-client 81/48681/5
pwielebs [Wed, 23 May 2018 13:31:11 +0000 (15:31 +0200)]
Refactor of prh-aai-client

Change-Id: Idbca6fe4c050c789f4479164846437039d3b549d
Issue-ID: DCAEGEN2-451
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
7 years agoFix sonar issues 29/48629/3
wasala [Wed, 23 May 2018 07:53:41 +0000 (09:53 +0200)]
Fix sonar issues

Change-Id: I61155448422f0084ac08f294452ac90f5b3454aa
Issue-ID: DCAEGEN2-396
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoDeleted NullPointerException 17/48617/1
wasala [Wed, 23 May 2018 06:27:44 +0000 (08:27 +0200)]
Deleted NullPointerException

Add logging about
status code in DmaapProducer

Change-Id: If1e8398cabbee3f0f51fcb007ef02049a7a85c00
Issue-ID: DCAEGEN2-396
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoMerge "Refactor DmaapProducerClient"
Lusheng Ji [Tue, 22 May 2018 17:53:19 +0000 (17:53 +0000)]
Merge "Refactor DmaapProducerClient"

7 years agoMerge "Removing warnings related to optionals"
Lusheng Ji [Tue, 22 May 2018 16:13:32 +0000 (16:13 +0000)]
Merge "Removing warnings related to optionals"

7 years agoRefactor DmaapProducerClient 19/48519/1
wejs [Tue, 22 May 2018 15:14:25 +0000 (17:14 +0200)]
Refactor DmaapProducerClient

Java Optional with functional chain of execution

Change-Id: Iebc03fc1fedab2e8f3dff0d823998ce3c2370440
Issue-ID: DCAEGEN2-396
Signed-off-by: wejs <maciej.wejs@nokia.com>
7 years agoRemoving warnings related to optionals 71/48271/4
pwielebs [Mon, 21 May 2018 10:50:27 +0000 (12:50 +0200)]
Removing warnings related to optionals

Change-Id: I4116ee1b16d8600a3f7109290b2f69b31fd51133
Issue-ID: DCAEGEN2-451
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
7 years agoRefactor DmaapConsumeClient 65/48465/4
wasala [Tue, 22 May 2018 10:44:26 +0000 (12:44 +0200)]
Refactor DmaapConsumeClient

Java Optional with
functional chain of execution

Change-Id: Ida7a3ba1c676a8c4edfbfe71522042a67b79daf8
Issue-ID: DCAEGEN2-396
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoImprove tests in PrhAppConfig 63/48463/1
wasala [Tue, 22 May 2018 10:42:16 +0000 (12:42 +0200)]
Improve tests in PrhAppConfig

Change-Id: I23b3bd3ba89d9df7451a7e2251b1bfc98adf3a2b
Issue-ID: DCAEGEN2-396
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoChanged name of project 57/48357/2
wasala [Mon, 21 May 2018 18:57:50 +0000 (20:57 +0200)]
Changed name of project

Fix for scanning prh on Bitergia

Change-Id: If1dfb14174c3eba8be9b9743116d00598950972c
Issue-ID: DCAEGEN2-396
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoMerge "Exclusion for auto-generated classes"
Lusheng Ji [Mon, 21 May 2018 15:22:46 +0000 (15:22 +0000)]
Merge "Exclusion for auto-generated classes"

7 years agoCode refactor 55/48155/4
wasala [Fri, 18 May 2018 10:01:47 +0000 (12:01 +0200)]
Code refactor

*DmaapTasks
*AAITasks

Change-Id: I62d2ae758b58435ca8930354cb86172236646c20
Issue-ID: DCAEGEN2-396
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoExclusion for auto-generated classes 49/48149/1
pwielebs [Thu, 17 May 2018 15:02:30 +0000 (17:02 +0200)]
Exclusion for auto-generated classes

Change-Id: I979f8a310c7bcf4192eb7fd7e8635eaf3953dfc0
Issue-ID: DCAEGEN2-451
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
7 years agoAdded tests for DmaapPublisherTask 45/48045/2
wasala [Thu, 17 May 2018 12:28:01 +0000 (14:28 +0200)]
Added tests for DmaapPublisherTask

Change-Id: I2c265879bffd20e17dd8da981a4111cf2e10c375
Issue-ID: DCAEGEN2-396
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoAdded tests for DmaapConsumerTask 33/48033/1
wasala [Thu, 17 May 2018 11:36:01 +0000 (13:36 +0200)]
Added tests for DmaapConsumerTask

Change-Id: I1068eb44eba5871f5c1e44e34f149584e056a7a2
Issue-ID: DCAEGEN2-396
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoAdded tests for AAIConsumerTask 17/48017/3
wasala [Thu, 17 May 2018 09:10:24 +0000 (11:10 +0200)]
Added tests for AAIConsumerTask

Change-Id: I958844fb2f0ce0ae19762ff7a9f98e19303191f3
Issue-ID: DCAEGEN2-396
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoMerge changes from topic 'PackageRefactor'
Lusheng Ji [Thu, 17 May 2018 09:02:22 +0000 (09:02 +0000)]
Merge changes from topic 'PackageRefactor'

* changes:
  Change package in prh-aai-client
  Change package in prh-dmaap-client module

7 years agoMerge "Change package in prh-commons module"
Lusheng Ji [Thu, 17 May 2018 09:02:12 +0000 (09:02 +0000)]
Merge "Change package in prh-commons module"

7 years agoMerge "Test classes added to Dmaap Client"
Lusheng Ji [Thu, 17 May 2018 09:00:12 +0000 (09:00 +0000)]
Merge "Test classes added to Dmaap Client"

7 years agoMerge "Added test for AAIProducerTask"
Lusheng Ji [Thu, 17 May 2018 09:00:02 +0000 (09:00 +0000)]
Merge "Added test for AAIProducerTask"

7 years agoChange package in prh-aai-client 97/47997/1
wasala [Thu, 17 May 2018 06:33:34 +0000 (08:33 +0200)]
Change package in prh-aai-client

Move package org.onap.dcaegen2.services to org.onap.dcaegen2.services.prh

Change-Id: I035175a2f7a56ff37c435eff71c5c8cf9065d651
Issue-ID: DCAEGEN2-396
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoChange package in prh-dmaap-client module 91/47991/1
wasala [Thu, 17 May 2018 06:16:09 +0000 (08:16 +0200)]
Change package in prh-dmaap-client module

Move package org.onap.dcaegen2.services to org.onap.dcaegen2.services.prh

Change-Id: Idef63833dcbc9cd28dda6b893245fcd16df4d97d
Issue-ID: DCAEGEN2-396
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoChange package in prh-commons module 85/47985/1
wasala [Thu, 17 May 2018 06:06:17 +0000 (08:06 +0200)]
Change package in prh-commons module

Move package org.onap.dcaegen2.services to org.onap.dcaegen2.services.prh

Change-Id: Idb13c5f1173897fceb1a8544dd893f6f9fee2c52
Issue-ID: DCAEGEN2-396
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoAdded test for AAIProducerTask 21/47821/2
wasala [Wed, 16 May 2018 13:17:56 +0000 (15:17 +0200)]
Added test for AAIProducerTask

Included jacoco for Code Coverage

Change-Id: I48ae221e7d83fcf11f1ca00bf5b6f9d00d78d9c1
Issue-ID: DCAEGEN2-396
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoTest classes added to Dmaap Client 31/47831/3
pwielebs [Wed, 16 May 2018 14:03:00 +0000 (16:03 +0200)]
Test classes added to Dmaap Client

Change-Id: Idf88fb43463d33fcec756f83818943be849a86c5
Issue-ID: DCAEGEN2-451
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
7 years agoCorrection of docker-maven-plugin configuration 91/47791/1
wejs [Wed, 16 May 2018 10:32:24 +0000 (12:32 +0200)]
Correction of docker-maven-plugin configuration

docker-maven-plugin is now configured to include config files
to docker image.

Change-Id: Ic84145b8813aea9e302dddd643508047fa464736
Issue-ID: DCAEGEN2-509
Signed-off-by: wejs <maciej.wejs@nokia.com>
7 years agoMerge "Correction of AAI Client configuration loading"
Lusheng Ji [Wed, 16 May 2018 04:23:34 +0000 (04:23 +0000)]
Merge "Correction of AAI Client configuration loading"

7 years agoMerge "refactor - class deleted"
Lusheng Ji [Wed, 16 May 2018 04:23:10 +0000 (04:23 +0000)]
Merge "refactor - class deleted"

7 years agoCorrection of AAI Client configuration loading 35/47635/1
wejs [Tue, 15 May 2018 14:48:03 +0000 (16:48 +0200)]
Correction of AAI Client configuration loading

Change-Id: I42d5dcd2d2e65db9e4eb3cf324ed127ddd882f41
Issue-ID: DCAEGEN2-509
Signed-off-by: wejs <maciej.wejs@nokia.com>
7 years agorefactor - class deleted 81/47581/1
pwielebs [Tue, 15 May 2018 09:59:47 +0000 (11:59 +0200)]
refactor - class deleted

Change-Id: I308402cf36a1f55fca2c977990ccb611b3ed5c51
Issue-ID: DCAEGEN2-451
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
7 years agoCorrection of PRH Consumer endpoint 69/47569/1
wejs [Tue, 15 May 2018 08:49:14 +0000 (10:49 +0200)]
Correction of PRH Consumer endpoint

Change-Id: Iae2f52bf9592e13707c19a9cec2b43c820f257e8
Issue-ID: DCAEGEN2-509
Signed-off-by: wejs <maciej.wejs@nokia.com>
7 years agoUnit class added 21/47421/2
pwielebs [Mon, 14 May 2018 14:52:05 +0000 (16:52 +0200)]
Unit class added

Change-Id: I7a11d1ff3aa38b6262635eead40cb737905de558
Issue-ID: DCAEGEN2-451
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
7 years agoMerge "Fix for poms"
Lusheng Ji [Mon, 14 May 2018 14:22:07 +0000 (14:22 +0000)]
Merge "Fix for poms"

7 years agoFixed parsing empty string 97/47397/1
wasala [Mon, 14 May 2018 12:26:49 +0000 (14:26 +0200)]
Fixed parsing empty string

Change-Id: I86d1c67f96dbe560aa093d375d0be18d9a1032ac
Issue-ID: DCAEGEN2-396
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoFix for poms 91/47391/1
pwielebs [Mon, 7 May 2018 14:58:20 +0000 (16:58 +0200)]
Fix for poms

Change-Id: I9f5b13f25cccf3f4cde292f5689d28d2e74896a9
Issue-ID: DCAEGEN2-451
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
7 years agoAAI client configuration & tasks changed 09/46409/4
pwielebs [Mon, 7 May 2018 14:58:20 +0000 (16:58 +0200)]
AAI client configuration & tasks changed

Change-Id: I86a2f2ed62565263f2be2c9078a092f993234a19
Issue-ID: DCAEGEN2-451
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
7 years agoAdded DmaapProducer in task workflow scheduler 15/47015/2
wasala [Thu, 10 May 2018 11:08:00 +0000 (13:08 +0200)]
Added DmaapProducer in task workflow scheduler

Change-Id: I46c8ff37ca758525e6647d5057d50595f5739208
Issue-ID: DCAEGEN2-474
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoAdded dmaap consumer task execution to workflow 87/46587/14
wasala [Tue, 8 May 2018 11:48:44 +0000 (13:48 +0200)]
Added dmaap consumer task execution to workflow

Change-Id: I67904a8ffb7d401fa2188fb046e28474eded4377
Issue-ID: DCAEGEN2-474
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agocreating swagger documentation 51/46351/3
micdzied [Mon, 7 May 2018 06:42:44 +0000 (08:42 +0200)]
creating swagger documentation

Change-Id: I8ca3faf2e6afb7add2785add2ac9096ded98f591
Issue-ID: DCAEGEN2-468
Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
7 years agoFix spotify plugin version 91/45691/1
Lusheng Ji [Wed, 2 May 2018 19:55:41 +0000 (15:55 -0400)]
Fix spotify plugin version

Issue-ID: DCAEGEN2-486
Change-Id: Ia89ecdfe8d0e345a9038e4c403f644c2df52128f
Signed-off-by: Lusheng Ji <lji@research.att.com>
7 years agoResponse handlers for DmaaP clients changed 79/45279/1
pwielebs [Mon, 30 Apr 2018 15:15:58 +0000 (17:15 +0200)]
Response handlers for DmaaP clients changed

Change-Id: I625521013aa02e6709be95ad7b3443707a549f05
Issue-ID: DCAEGEN2-451
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
7 years agoAAI tasks added 31/44931/2
pwielebs [Thu, 26 Apr 2018 15:04:09 +0000 (17:04 +0200)]
AAI tasks added

- aaiClients spllitted for consuming and producing
- http removed from names of all clients and interfaces
- HttpRequestDetails added as a second parameter for tasks
- parameters required from dmaap consumer
 - pnf-name for URI (get request -> aaiConsumer)
 - pnf-name and ipv4-oam (and or ipv6-oam)
   (patch request -> aaiProducer)

Change-Id: I87a1b46ab419cd00e9573e08c4d89cb384dd75b5
Issue-ID: DCAEGEN2-451
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
7 years agoParsing arguments from cloudify. 11/44711/2
wasala [Wed, 25 Apr 2018 17:26:31 +0000 (19:26 +0200)]
Parsing arguments from cloudify.

*Added functionality for replacing default value
from command line tosca template.

Change-Id: I5923d9b5192f2f9df026320e1c6c56d4eaf9756a
Issue-ID: DCAEGEN2-458
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoLoad configuration by executing tasks 61/44361/2
wasala [Tue, 24 Apr 2018 13:00:26 +0000 (15:00 +0200)]
Load configuration by executing tasks

Change-Id: Ie8f18a836e42dabd96a8bdb41e6ba8189c59e023
Issue-ID: DCAEGEN2-469
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoHttp clients refactoring 03/44303/1
pwielebs [Tue, 24 Apr 2018 08:07:41 +0000 (10:07 +0200)]
Http clients refactoring

Change-Id: Ibed4b83fd508dd8666b76bdf590069d40dd3a363
Issue-ID: DCAEGEN2-451
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>