dcaegen2/services/prh.git
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>
7 years agoDmaaP http clients added 01/43401/5
pwielebs [Sat, 21 Apr 2018 14:51:20 +0000 (16:51 +0200)]
DmaaP http clients added

Change-Id: I1acc7e2a46b81b0af9a3b23982582c9e0053ffa1
Issue-ID: DCAEGEN2-451
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
7 years agoMerge "Implementation for HTTP/HTTPS and endpoints"
Lusheng Ji [Fri, 20 Apr 2018 13:21:58 +0000 (13:21 +0000)]
Merge "Implementation for HTTP/HTTPS and endpoints"

7 years agoImplementation for HTTP/HTTPS and endpoints 13/43513/6
wasala [Wed, 18 Apr 2018 13:21:56 +0000 (15:21 +0200)]
Implementation for HTTP/HTTPS and endpoints

*Added HTTP/HTTPS in spring configuration
*Fixing issues with license
*Fixing HTTP/HTTPS and logging configuration
*Add Webflux in implementation

Change-Id: I0a7add391cde010d56dbf352de365b1eba90a9cd
Issue-ID: DCAEGEN2-453
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoDefined structure of DMaaP Consumer 85/43485/1
wasala [Wed, 18 Apr 2018 09:03:03 +0000 (11:03 +0200)]
Defined structure of DMaaP Consumer

*Added Response Type

Change-Id: Id53217db932e345dfe16a7e7035c160f70287ef0
Issue-ID: DCAEGEN2-450
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoExluded jackson library from prh-app-server 75/43475/1
wasala [Wed, 18 Apr 2018 06:48:00 +0000 (08:48 +0200)]
Exluded jackson library from prh-app-server

Change-Id: I3856e2c5f661e8355e6af88f85b38b443cbc4ece
Issue-ID: DCAEGEN2-426
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoFixed the rest of the Security Issues 05/43305/1
wasala [Tue, 17 Apr 2018 10:25:54 +0000 (12:25 +0200)]
Fixed the rest of the Security Issues

*Introduce Gson Against Jackson library
*Delete posix library with strong copyleft licenses

Change-Id: I37ec6a359912481d1546293a8a8aeeedd6c907e2
Issue-ID: DCAEGEN2-426
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoAlready added flow control for tasks. 19/43019/9
wasala [Mon, 16 Apr 2018 10:59:26 +0000 (12:59 +0200)]
Already added flow control for tasks.

*The next step will be get common model for all
request/response message based on HTTPClient implementation

Change-Id: I76af15ab06cae783b6cec5099510d7f97e9d65c2
Issue-ID: DCAEGEN2-445
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoSecurity issues fix 57/42957/1
wasala [Mon, 16 Apr 2018 07:52:34 +0000 (09:52 +0200)]
Security issues fix

*Already upgraded versions of dependencies according to
information from jira issue description.

Change-Id: Ic2b59e5b6c1bf7420b21463f271471f7be6cc34a
Issue-ID: DCAEGEN2-426
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoclean up in pom configuration 23/42723/2
micdzied [Fri, 13 Apr 2018 13:24:54 +0000 (15:24 +0200)]
clean up in pom configuration

Change-Id: I87c94c81c833c7571ab4ba957b273a62407ccdfb
Issue-ID: DCAEGEN2-444
Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
7 years agoExtracted high abstraction for tasks 07/42707/5
wasala [Fri, 13 Apr 2018 12:03:26 +0000 (14:03 +0200)]
Extracted high abstraction for tasks

*First of all, all tasks were defined as
implementation.

*All tasks class have been injected into spring container.

Change-Id: I00337b49ed1de3f1b8cadf64f774f19377ae349e
Issue-ID: DCAEGEN2-443
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoAdded pushing image docker in deploy phase 75/42675/5
wasala [Fri, 13 Apr 2018 07:44:51 +0000 (09:44 +0200)]
Added pushing image docker in deploy phase

Change-Id: I3984bd60264027a47434784001de653b847e67d2
Issue-ID: DCAEGEN2-407
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoMerge "Already added loading config for AAI and DMAAP"
Lusheng Ji [Thu, 12 Apr 2018 21:43:29 +0000 (21:43 +0000)]
Merge "Already added loading config for AAI and DMAAP"

7 years agoAlready added loading config for AAI and DMAAP 83/42483/2
wasala [Thu, 12 Apr 2018 11:37:41 +0000 (13:37 +0200)]
Already added loading config for AAI and DMAAP

First of all we have defined a file
in which we have pointer to
configuration file for DMAAP and AAI

After that added UT

Change-Id: I7f9554a019b348a3460f5fa9d8dd3e4002a6686f
Issue-ID: DCAEGEN2-407
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agohttp patch request added 51/42451/3
pwielebs [Thu, 12 Apr 2018 08:34:26 +0000 (10:34 +0200)]
http patch request added

Change-Id: I9b3e339008d790b253e2b94e4b307b9a86907988
Issue-ID: DCAEGEN2-407
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
7 years agoMerge "Http put added"
Lusheng Ji [Mon, 9 Apr 2018 16:27:53 +0000 (16:27 +0000)]
Merge "Http put added"

7 years agoHttp put added 89/40989/5
pwielebs [Tue, 3 Apr 2018 10:12:43 +0000 (12:12 +0200)]
Http put added

Change-Id: Id21b799a35b531c30f0c1b5df5c6daac6fd56e92
Issue-ID: DCAEGEN2-407
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
7 years agoSet spotify skip 85/41385/1
Lusheng Ji [Fri, 6 Apr 2018 14:26:18 +0000 (10:26 -0400)]
Set spotify skip

Because the spotify plugin is invoked in a module pom but the trigger
mvn is called on the repo (parent) pom, we need to include the spotify
plugin in parent pom but config to skip, and in module pom where
it is actually used "not to skip".

Issue-ID: DCAEGEN2-206
Change-Id: Id0ceb48b03f343645aed4011103a3fb2af0076b6
Signed-off-by: Lusheng Ji <lji@research.att.com>
7 years agoAdd endpoint for load configuration(DMaaP, A&AI) 91/41191/1
wasala [Thu, 5 Apr 2018 13:01:38 +0000 (15:01 +0200)]
Add endpoint for load configuration(DMaaP, A&AI)

Refactor from tests ppoint of view

Change-Id: If747a499c70517a74bda6fbc895306271dc61d13
Issue-ID: DCAEGEN2-407
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoAdded pushing docker image to nexus 87/40687/7
wasala [Tue, 3 Apr 2018 12:41:23 +0000 (14:41 +0200)]
Added pushing docker image to nexus

Extended appConf loading

Change-Id: Ibc3640cf4a66e40ce5dc585818c077534d09141c
Issue-ID: DCAEGEN2-407
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoFixed Sonar Issues 41/40641/1
wasala [Tue, 3 Apr 2018 06:13:01 +0000 (08:13 +0200)]
Fixed Sonar Issues

Deleted useless code

Change-Id: I8d813d82c5b8b6ae3093d5d6fdec1688dd8eae6d
Issue-ID: DCAEGEN2-407
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoUT added, project structure corrected 53/40453/1
pwielebs [Sat, 31 Mar 2018 11:12:34 +0000 (13:12 +0200)]
UT added, project structure corrected

Change-Id: I4695f56471e67e4519569bf8d72be1effe9f7015
Issue-ID: DCAEGEN2-407
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
7 years agoadd junit 79/40379/1
Lukasz Muszkieta [Fri, 30 Mar 2018 14:23:59 +0000 (16:23 +0200)]
add junit

Change-Id: I759aeeb64085dbe72883a942971bffc8e03515f7
Issue-ID: DCAEGEN2-407
Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
7 years agoAAI HTTP simple and extended clients added 13/39213/5
pwielebs [Tue, 27 Mar 2018 17:49:29 +0000 (19:49 +0200)]
AAI HTTP simple and extended clients added

Change-Id: I759aeeb64085dbe32883a942941bffc8e03515f7
Issue-ID: DCAEGEN2-407
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
7 years agoAlready addes push Dockerfile image from mvn pov 65/39765/4
wasala [Wed, 28 Mar 2018 18:08:54 +0000 (20:08 +0200)]
Already addes push Dockerfile image from mvn pov

Change-Id: I4411279c34dd0b6b38e283fdfafa4977e7eb4414
Issue-ID: DCAEGEN2-407
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoAlready fixed Sonar issues 57/39757/1
wasala [Wed, 28 Mar 2018 17:04:20 +0000 (19:04 +0200)]
Already fixed Sonar issues

We have fixed Sonar issue with critical and minor tag

Change-Id: Iccc343654686ba87f71d57382b68ddf9c54caeea
Issue-ID: DCAEGEN2-407
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoAdded logs 51/39651/1
wasala [Wed, 28 Mar 2018 12:20:58 +0000 (14:20 +0200)]
Added logs

Improve Dockerfile and build fat jar

Change-Id: I8b4dd1a56350af310c70236d6843ae1c357ad95e
Issue-ID: DCAEGEN2-407
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoAdded U&IT tests in prh module 49/39049/5
wasala [Tue, 27 Mar 2018 11:02:10 +0000 (13:02 +0200)]
Added U&IT tests in prh module

We have already added tests in our Module.
In addition some dependencies were added too.
Clean up in pom.xml files

Change-Id: I4217d585293f48f2f00870d147807bb1d5b2b33f
Issue-ID: DCAEGEN2-407
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoDivide into module dependecy 39/38539/1
wasala [Mon, 26 Mar 2018 13:48:46 +0000 (15:48 +0200)]
Divide into module dependecy

Add dependency build of dmaapClients and aaiClients.
This modules are mandatory to prh application.

Issue-ID: DCAEGEN2-407

Change-Id: I2150a15d76e81dd01503f44339ddb3c50f5b0348
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoDivide Code into logic. 21/38121/1
wasala [Wed, 21 Mar 2018 20:42:36 +0000 (16:42 -0400)]
Divide Code into logic.

Load properties for every kind of
endpoint.Also has already
added logic for registering task to consume
messages from DMaap.

Change-Id: I16420b17a0272687f4161967420c80c476385b83
Issue-ID: DCAEGEN2-407
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoFix pom and remove build scripts 83/37583/3
Lusheng Ji [Wed, 21 Mar 2018 20:42:36 +0000 (16:42 -0400)]
Fix pom and remove build scripts

Making the following changes for the CICD integartion.
1. Remove the mvn-phase* scripts.  These scripts are hooks for
building non-Java project.  This appeasr to be a Java project.
Native mvn methods should be enough.
2. Changed artifact ID in pom.  LF CICD syste requires group ID
and artifact ID matches with the repo path.  Otherwise deploying
to Nexus will be blocked.
3. Removed duplicated (older version) Jetty servelet dependency
calling in pom.

Issue-ID: DCAEGEN2-206
Change-Id: I614b9b11419ae091a452ef23fda6a318347ae8e9
Signed-off-by: Lusheng Ji <lji@research.att.com>
7 years agoInitial structure of pnf-registration-handler 77/37477/1
wasala [Wed, 21 Mar 2018 13:19:43 +0000 (14:19 +0100)]
Initial structure of pnf-registration-handler

Change-Id: I38bc1a37b98243dc887518cdd10693af4bf214dd
Issue-ID: DCAEGEN2-407
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
7 years agoInitial empty repository
Jessica Wagantall [Sat, 10 Mar 2018 00:03:01 +0000 (00:03 +0000)]
Initial empty repository