appc.git
6 years agoJava style clean-up for AAIService.java 81/28681/3
Skip Wonnell [Fri, 19 Jan 2018 18:04:35 +0000 (12:04 -0600)]
Java style clean-up for AAIService.java

Update AAIService.java to conform with ONAP java style.

Issue-ID: APPC-433
Change-Id: If5eef9bb6e581eff35ff63c818d486cf4b876b55
Signed-off-by: Skip Wonnell <skip@att.com>
6 years agoFix missing update for protocol in DBService.java 17/28717/1
Skip Wonnell [Sat, 20 Jan 2018 00:15:51 +0000 (18:15 -0600)]
Fix missing update for protocol in DBService.java

DBService.updateProtocolReference() needs to include the protocol in the
SQL update.

Also updating file to ONAP java style.

Change-Id: I8dc5f8e6387c0a28a32c911e68ecd73ac21dc609
Issue-ID: APPC-435
Signed-off-by: Skip Wonnell <skip@att.com>
6 years agoRefactor ArtifactHandlerNode 47/28647/5
kurczews [Fri, 19 Jan 2018 10:22:47 +0000 (11:22 +0100)]
Refactor ArtifactHandlerNode

* replace user-mock with Mockito mock
* fix typos

Change-Id: Ibc86177c024e5a5e7eec8cf8dd3e49d9a6d1ede4
Issue-ID: APPC-397
Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
6 years agoChange log message for Restart action 93/28593/2
Skip Wonnell [Thu, 18 Jan 2018 23:40:39 +0000 (17:40 -0600)]
Change log message for Restart action

Issue-ID: APPC-430
Change-Id: Ib9be5dade18e6b66f1409f64f9cba84429219231
Signed-off-by: Skip Wonnell <skip@att.com>
6 years agoFixed switch to if statement 41/28641/4
burdziak [Fri, 19 Jan 2018 09:12:09 +0000 (10:12 +0100)]
Fixed switch to if statement

Brakets added, initial check is requred before read of first argument.

Issue-ID: APPC-432
Change-Id: Id29d098d1e7358ebc3f53c19cfc60288793253d3
Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
6 years agoFixing the dblib import package 79/28679/2
Patrick Brady [Fri, 19 Jan 2018 17:55:00 +0000 (12:55 -0500)]
Fixing the dblib import package

The import was incorrectly set to org.onap.ccsdk.sli.resource.dblib.
It should be org.onap.ccsdk.sli.core.dblib

Change-Id: I4ad2b78c49f81d23fd12496aa8b31c18ff3bb27c
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue-ID: APPC-434

6 years agoAAIResourceNode file update in AAI Client 67/28667/2
Dilip kumar Pampana [Fri, 19 Jan 2018 15:11:40 +0000 (10:11 -0500)]
AAIResourceNode file update in AAI Client

Sync up LF_APPC AAIResourceNode with ONAP.

Issue-ID: APPC-352
Change-Id: Ia0a64acd9a156782ef73f27e633b4c049fdf21e1
Signed-off-by: Dilip kumar Pampana <dp583p@att.com>
6 years agoReformat and clean up ChefAdapterImpl.java 63/28463/2
Skip Wonnell [Thu, 18 Jan 2018 01:06:14 +0000 (19:06 -0600)]
Reformat and clean up ChefAdapterImpl.java

Fix some Sonar issues
Update code to ONAP java style

Issue-ID: APPC-419
Change-Id: I0c6b7b684c10b3874c3ef7de40066eb6c3b6345e
Signed-off-by: Skip Wonnell <skip@att.com>
6 years agoFix bundle name in ChefActivator.java 85/28485/2
Skip Wonnell [Thu, 18 Jan 2018 06:08:01 +0000 (00:08 -0600)]
Fix bundle name in ChefActivator.java

Issue-ID: APPC-420
Change-Id: Ia55c85cec3024f4199920200e614d60c7822bbbb
Signed-off-by: Skip Wonnell <skip@att.com>
6 years agofixed some Sonar critical issues 41/28541/2
Taka [Thu, 18 Jan 2018 16:51:47 +0000 (11:51 -0500)]
fixed some Sonar critical issues

Change-Id: I9dfe73a45b43919ff7b01ab3217d957a40ac2018
Issue-ID: APPC-408
Signed-off-by: Taka <tc012c@att.com>
6 years agoFix several sonar issues in SshJcraftWrapper.java 67/28167/10
Tomek Kaminski [Mon, 15 Jan 2018 09:47:29 +0000 (10:47 +0100)]
Fix several sonar issues in SshJcraftWrapper.java

Fix https://sonar.onap.org/issues/search#issues=AWDAtKQQ-08if2a6wtwt
Fix https://sonar.onap.org/issues/search#issues=AWDAtKQU-08if2a6wtxU
Fix https://sonar.onap.org/issues/search#issues=AWDAtKQP-08if2a6wtwp
Fix variable naming and cleanup unused variables

Change-Id: I7bd73035039d82ffbe2248df43006544d3e9ee10
Issue-ID: APPC-407
Signed-off-by: Tomek Kaminski <tomasz.kaminski@nokia.com>
6 years agoFixing Sonar issues 01/28501/1
pwielebs [Thu, 18 Jan 2018 09:37:45 +0000 (04:37 -0500)]
Fixing Sonar issues

Change-Id: I3610f506ece3af04f477e3bb5001651367342f07
Issue-ID: APPC-421
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
6 years agoFix for resumetraffic to allow traffic 49/28449/1
vidhyasree [Fri, 12 Jan 2018 20:23:34 +0000 (15:23 -0500)]
Fix for resumetraffic to allow traffic

ResumeTraffic action is added to LCM actions prior.   In this ticket
payload structure is added to resumetraffic in yang file.  In
ResumeTrafficService.java
and ResumeTrafficServiceTest.java added payload parameters.

Issue-ID: APPC-346
Signed-off-by: vidhyasree <sn141y@att.com>
Change-Id: I9a3ca163bbd520e599416d03edc921a6cafb3059

6 years agoAdd/update license text part 3 61/28061/13
Skip Wonnell [Fri, 12 Jan 2018 16:17:57 +0000 (10:17 -0600)]
Add/update license text part 3

Convert some file formats from dos to unix

Change-Id: Iab31d84016c84bf03df7fdc8cf0c163c23091a88
Issue-ID: APPC-398
Issue-ID: APPC-305
Signed-off-by: Skip Wonnell <skip@att.com>
6 years agoFix random test failure in TestChefApiClient 07/28207/7
Skip Wonnell [Mon, 15 Jan 2018 15:38:13 +0000 (09:38 -0600)]
Fix random test failure in TestChefApiClient

The check of the timestamp header fails when rolling over to a new
minute.    Change the code to compare the length of the interval
instead.

Issue-ID: APPC-411
Change-Id: I3a98aab2de878335a2bc320d261fee3101fd0652
Signed-off-by: Skip Wonnell <skip@att.com>
6 years agoFix some sonar issues 05/28305/4
kurczews [Tue, 16 Jan 2018 10:49:07 +0000 (11:49 +0100)]
Fix some sonar issues

Fix sonar issues assigned to me

Change-Id: I926c011fd9d2c4f5628c4151e8c50a8fb5f3ea86
Issue-ID: APPC-412
Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
6 years agoImproved logging,error handling-VM capabilities 11/28211/3
Ramya Balaji [Mon, 15 Jan 2018 16:02:37 +0000 (11:02 -0500)]
Improved logging,error handling-VM capabilities

Code corrections for graceful failure,
added info log statements

Issue-ID: APPC-409
Change-Id: Ibae80a4392508d1de5e68933beed048ff6ae016d
Signed-off-by: Ramya Balaji <rb111y@att.com>
6 years agoBuild Fix 97/28397/3
Tomek Kaminski [Wed, 17 Jan 2018 11:56:47 +0000 (12:56 +0100)]
Build Fix

Fixing build failure due to dependency changes introduced in APPC-377

Change-Id: I3140f12c88427d589f2d110a0f8ad9dee2f3916d
Issue-ID: APPC-416
Signed-off-by: Tomek Kaminski <tomasz.kaminski@nokia.com>
6 years agoCode hardening for Ansible Bundle 93/28093/5
Skip Wonnell [Sat, 13 Jan 2018 14:57:38 +0000 (08:57 -0600)]
Code hardening for Ansible Bundle

Fix all Sonar issues AnsibleAdapterImpl.java and ConnectionBuilder.java

Format code to ONAP style.

Issue-ID: APPC-401
Change-Id: I1e3c66d653ce6f1ee8cd0b98f35e695b1ed49611
Signed-off-by: Skip Wonnell <skip@att.com>
6 years agoCode hardening for Ansible Bundle 05/28105/2
Skip Wonnell [Sat, 13 Jan 2018 19:21:36 +0000 (13:21 -0600)]
Code hardening for Ansible Bundle

Fix sonar issues - Note: two public method names in
AnsibleServerEmulater (Post and Get) require correction, but cannot be
changed yet without a merge conflict.

Format code to ONAP style
Simplify code

Issue-ID: APPC-401
Change-Id: Id33f47f61bd10088a2c0312bebdcd86801fabf80
Signed-off-by: Skip Wonnell <skip@att.com>
6 years agoCode hardening for Ansible Bundle 99/28099/2
Skip Wonnell [Sat, 13 Jan 2018 18:11:11 +0000 (12:11 -0600)]
Code hardening for Ansible Bundle

Fix all Sonar issues in AnsibleActivator.java and AnsibleAdapter.java

Format code to ONAP style

Issue-ID: APPC-401
Change-Id: Ic628684711e0265f599b9409023a98625fcddc81
Signed-off-by: Skip Wonnell <skip@att.com>
6 years agoMake public static field final 25/28125/2
Taka [Sun, 14 Jan 2018 14:53:01 +0000 (09:53 -0500)]
Make public static field final

Issue-ID: APPC-400
Change-Id: Ibec9d40b46423902070bd82f26e7289f4d9d75d7
Signed-off-by: Taka <tc012c@att.com>
6 years agoUpdates to config audit bundle 79/28079/2
George, Lina (lg941u) [Fri, 12 Jan 2018 21:26:53 +0000 (16:26 -0500)]
Updates to config audit bundle

Issue-ID: APPC-399
Change-Id: If60b628fb78e44b803bc91a4e96ed4b2700b6734
Signed-off-by: George, Lina (lg941u) <lg941u@att.com>
6 years agoUpdates to config directed graph bundle 81/27981/5
George, Lina (lg941u) [Thu, 11 Jan 2018 20:04:38 +0000 (15:04 -0500)]
Updates to config directed graph bundle

Issue-ID: APPC-395
Change-Id: I90dffe67fb96ecdc8b22ece0ea61529b8cd64975
Signed-off-by: George, Lina (lg941u) <lg941u@att.com>
6 years agoAdd missing license text to pom files, part 2 59/28059/3
Skip Wonnell [Fri, 12 Jan 2018 16:00:59 +0000 (10:00 -0600)]
Add missing license text to pom files, part 2

Change-Id: I47c09b26da03ca7ca10ef632c9880d744df6a7f4
Issue-ID: APPC-398
Signed-off-by: Skip Wonnell <skip@att.com>
6 years agoAdd missing license text to pom files, part 1 55/28055/3
Skip Wonnell [Fri, 12 Jan 2018 15:24:03 +0000 (09:24 -0600)]
Add missing license text to pom files, part 1

Change-Id: I57a7d2956869519137679550459b001f29992ec2
Issue-ID: APPC-398
Signed-off-by: Skip Wonnell <skip@att.com>
6 years agoRefactor ArtifactHandlerNode 23/28023/2
kurczews [Thu, 11 Jan 2018 14:57:22 +0000 (15:57 +0100)]
Refactor ArtifactHandlerNode

* Introduce method setAttribute(...) to avoid repeatable instructions and improve readability
* Remove prefix from constants (SdcArtifactHandlerConstants.*)

Change-Id: I5684e990933aaa66b8dd0a25d702f482489c6b9d
Issue-ID: APPC-397
Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
6 years agoFix blockers in MigrateServer 55/27955/5
kurczews [Thu, 11 Jan 2018 12:39:59 +0000 (13:39 +0100)]
Fix blockers in MigrateServer

Issue-ID: APPC-391
Change-Id: I556eec94a563c95c91f0a58b8829e3c9a1947797
Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
6 years agoClean up license text in appc-sequence-generator 83/27983/3
Skip Wonnell [Thu, 11 Jan 2018 20:10:33 +0000 (14:10 -0600)]
Clean up license text in appc-sequence-generator

Change-Id: Ieffb4cf98c4b9d14943673fd480247770fc013c5
Issue-ID: APPC-396
Signed-off-by: Skip Wonnell <skip@att.com>
6 years agoSonar blocker issue resolution 97/27897/3
Skip Wonnell [Thu, 11 Jan 2018 00:13:30 +0000 (18:13 -0600)]
Sonar blocker issue resolution

Sonar issue resolutions for ConfigArtifactProcessor.java

Resolve this blocker issue:

https://sonar.onap.org/issues/search#issues=AWDHkCDV-08if2a6w3sT

And other sonar findings:

https://sonar.onap.org/issues/search#issues=AWDHkCDV-08if2a6w3sU
https://sonar.onap.org/issues/search#issues=AWDHkCDU-08if2a6w3sR
https://sonar.onap.org/issues/search#issues=AWDHkCDV-08if2a6w3sS

Change-Id: I2c4f2bb38a5d1fc07fd13c5220eac9fa16afe04a
Issue-ID: APPC-386
Signed-off-by: Skip Wonnell <skip@att.com>
6 years agoSonar blocker issue resolution 99/27899/2
Skip Wonnell [Thu, 11 Jan 2018 00:53:54 +0000 (18:53 -0600)]
Sonar blocker issue resolution

Sonar issue resolutions for RestClientInvoker.java

Resolve Blocker issue:

https://sonar.onap.org/issues/search#issues=AWBzdRXQ-08if2a6vsl1

And other sonar findings:

https://sonar.onap.org/issues/search#issues=AWBzdRXP-08if2a6vslw
https://sonar.onap.org/issues/search#issues=AWBzdRXP-08if2a6vslx
https://sonar.onap.org/issues/search#issues=AWBzdRXP-08if2a6vsly
https://sonar.onap.org/issues/search#issues=AWBzdRXQ-08if2a6vslz
https://sonar.onap.org/issues/search#issues=AWBzdRXQ-08if2a6vsl0
https://sonar.onap.org/issues/search#issues=AWBzdRXP-08if2a6vslv
https://sonar.onap.org/issues/search#issues=AWBzdRXQ-08if2a6vsl2

Change-Id: Ic9d834f223db49bf0c02e51f334b3f93ace263cd
Issue-ID: APPC-387
Signed-off-by: Skip Wonnell <skip@att.com>
6 years agoSonar blocker issue resolution 03/27903/2
Skip Wonnell [Thu, 11 Jan 2018 01:22:56 +0000 (19:22 -0600)]
Sonar blocker issue resolution

Resolve this Sonar blocker issue: https://sonar.onap.org/issues/search#issues=AWDAtKDw-08if2a6wtv-

Change-Id: I723651c5f2ab64d79dce4e9a609d4d59e245515d
Issue-ID: APPC-388
Signed-off-by: Skip Wonnell <skip@att.com>
6 years agoSonar blocker issue resolution 95/27895/4
Skip Wonnell [Wed, 10 Jan 2018 23:17:12 +0000 (17:17 -0600)]
Sonar blocker issue resolution

Sonar issue resolutions for HttpDmaapConsumerImpl.java

Resolve this blocker issue:

https://sonar.onap.org/issues/search#issues=AWDfpmsG-08if2a6xIV5

And other sonar findings:

https://sonar.onap.org/issues/search#issues=AWDfpmsG-08if2a6xIV6
https://sonar.onap.org/issues/search#issues=AWBUkkJW-08if2a6vS8b
https://sonar.onap.org/issues/search#issues=AWBUkkJW-08if2a6vS8d
https://sonar.onap.org/issues/search#issues=AWBUkkJV-08if2a6vS8a
https://sonar.onap.org/issues/search#issues=AWBUkkJW-08if2a6vS8g

Issue-ID: APPC-385
Change-Id: Ic81c345ebfaddbd4fd88d4a95da6f546c65c3235
Signed-off-by: Skip Wonnell <skip@att.com>
6 years agoReplaced to private String definition 87/27987/2
Taka [Thu, 11 Jan 2018 22:05:09 +0000 (17:05 -0500)]
Replaced to private String definition

Change-Id: Ibd5d9f63ea1fda33eccc69a9604c66c9d24733ff
Issue-ID: APPC-394
Signed-off-by: Taka <tc012c@att.com>
6 years agoFix sonar issues in AnsibleMessageParser 33/27933/6
kurczews [Thu, 11 Jan 2018 07:33:50 +0000 (08:33 +0100)]
Fix sonar issues in AnsibleMessageParser

Change-Id: I18c434275af9d51732e4208908d0b877cbd47693
Issue-ID: APPC-389
Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
6 years agoCleaning TestAnsibleAdapterImpl class 59/27959/3
pwielebs [Thu, 11 Jan 2018 15:11:19 +0000 (10:11 -0500)]
Cleaning TestAnsibleAdapterImpl class

Change-Id: I56ed7c582ce76203e3ad7c8ddf1ba53566a1d451
Issue-ID: APPC-392
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
6 years agoremove unused import classes for Ansible Adaptor 67/27967/2
Taka [Thu, 11 Jan 2018 16:26:42 +0000 (11:26 -0500)]
remove unused import classes for Ansible Adaptor

Change-Id: I967c3045620993bcea0d1d7f861cfd311f27fed2
Issue-ID: APPC-393
Signed-off-by: Taka <tc012c@att.com>
6 years agoFix sonar blocker 39/27939/3
Tomek Kaminski [Wed, 10 Jan 2018 17:03:41 +0000 (18:03 +0100)]
Fix sonar blocker

Fix https://sonar.onap.org/issues/search#issues=AWBUkk54-08if2a6vTdT

Change-Id: Ic50564d4d47d76ac9bfa83b8ecd6f3d23f11904c
Issue-ID: APPC-383
Signed-off-by: Tomek Kaminski <tomasz.kaminski@nokia.com>
6 years agoFix sonar issues in EvacuateServer 45/27945/1
kurczews [Thu, 11 Jan 2018 09:59:55 +0000 (10:59 +0100)]
Fix sonar issues in EvacuateServer

Change-Id: Ia9992cc2566974183d7d4855a5f2e215b8c31033
Issue-ID: APPC-390
Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
6 years agoCode synch up for appc-event-listener bundle 73/27873/4
Skip Wonnell [Wed, 10 Jan 2018 20:28:49 +0000 (14:28 -0600)]
Code synch up for appc-event-listener bundle

Change-Id: I6362ba99c6e15b78c65a2e3bbcb841c78e8c606c
Issue-ID: APPC-382
Signed-off-by: Skip Wonnell <skip@att.com>
6 years agoRemove unused testing file 93/27893/1
Skip Wonnell [Wed, 10 Jan 2018 22:54:17 +0000 (16:54 -0600)]
Remove unused testing file

Change-Id: I1cbd9505046f6f684650bf1a4d9bba83edc68a46
Issue-ID: APPC-305
Signed-off-by: Skip Wonnell <skip@att.com>
6 years agoattach volume & detach volume actions in openstack 49/27849/3
kusuma kumari M [Wed, 10 Jan 2018 17:59:14 +0000 (12:59 -0500)]
attach volume & detach volume actions in openstack

Issue-ID: APPC-342
Change-Id: Ifb6ad409a53969c4e607a8d74c83dd80676c9527
Signed-off-by: kusuma kumari M <km583p@att.com>
6 years agoNetwork Inventory Client Updates 57/27757/7
Dilip kumar Pampana [Tue, 9 Jan 2018 22:24:35 +0000 (17:24 -0500)]
Network Inventory Client Updates

Supporting IPv4/v6 Subnet and Gateway Addresses From INSTAR,Added code to process A&AI as source in PD file,New Requirement to extract vnfc information for single vserver for VM level operations

Issue-ID: APPC-351
Change-Id: I5c91d03a64fc6987e58ab48681f51dc5795bed07
Signed-off-by: Dilip kumar Pampana <dp583p@att.com>
6 years agoLife Cycle Managment Updates 39/27839/2
Dilip kumar Pampana [Wed, 10 Jan 2018 15:26:15 +0000 (10:26 -0500)]
Life Cycle Managment Updates

Issue-ID: APPC-349
Change-Id: Ifdb7bf973c08374bea43c298005d88f2a9d15dd0
Signed-off-by: Dilip kumar Pampana <dp583p@att.com>
6 years agoFix sonar blockers 35/27835/2
Tomek Kaminski [Wed, 10 Jan 2018 15:51:15 +0000 (16:51 +0100)]
Fix sonar blockers

Fix https://sonar.onap.org/issues/search#issues=AWBUkk6L-08if2a6vTgG

Change-Id: I5257f208b4df95129fcadfd5952988d8efdd8203
Issue-ID: APPC-383
Signed-off-by: Tomek Kaminski <tomasz.kaminski@nokia.com>
6 years agoFix sonar blockers 29/27829/2
Tomek Kaminski [Wed, 10 Jan 2018 13:31:14 +0000 (14:31 +0100)]
Fix sonar blockers

Fix https://sonar.onap.org/issues/search#issues=AWBUkk6L-08if2a6vTgF
Fix https://sonar.onap.org/issues/search#issues=AWBUkk6L-08if2a6vTgG

Change-Id: If5fa742580c59db96e62405fd8b02d34de5656ba
Issue-ID: APPC-383
Signed-off-by: Tomek Kaminski <tomasz.kaminski@nokia.com>
6 years agoArtifact Handler Updates 47/27747/3
Dilip kumar Pampana [Tue, 9 Jan 2018 19:51:52 +0000 (14:51 -0500)]
Artifact Handler Updates

replaced Constants.APPC_CONFIG_DIR with System.getenv("APPC_CONFIG_DIR") in dbServices.java

Issue-ID: APPC-350
Change-Id: Ib0f3ec47311848a5a75525d0e35361485cc63956
Signed-off-by: Dilip kumar Pampana <dp583p@att.com>
6 years agoUpdates to config encryptiontool bundle 69/27469/8
George, Lina (lg941u) [Thu, 4 Jan 2018 19:41:40 +0000 (14:41 -0500)]
Updates to config encryptiontool bundle

Issue-ID: APPC-354
Change-Id: I8903cb31001e96f05e7b4774d93b00941039d62e
Signed-off-by: George, Lina (lg941u) <lg941u@att.com>
6 years agoAppc Interface Services 63/27663/5
Dilip kumar Pampana [Mon, 8 Jan 2018 20:08:21 +0000 (15:08 -0500)]
Appc Interface Services

Scope Overlap API Or REST service

Issue-ID: APPC-348
Change-Id: Id32b4c88f57a9f9ce2234598d03dcca5946d4683
Signed-off-by: Dilip kumar Pampana <dp583p@att.com>
6 years agoRename file due to case conflict on windows 39/27739/3
Skip Wonnell [Tue, 9 Jan 2018 18:29:48 +0000 (12:29 -0600)]
Rename file due to case conflict on windows

Both Start.json and start.json exist in appc-sequence-generator-bundle/src/test/resources/output.
This causes issues when working in a windows environment as both files cannot exist.
Renamed Start.json to Start2.json and updated the test accordingly.

Change-Id: I0b3fdf673dc71e2886c9e3f66e261c9aa7bc2e93
Issue-ID: APPC-380
Signed-off-by: Skip Wonnell <skip@att.com>
6 years agoUpdates to config audit bundle 41/27741/2
George, Lina (lg941u) [Tue, 9 Jan 2018 18:46:51 +0000 (13:46 -0500)]
Updates to config audit bundle

Issue-ID: APPC-381
Change-Id: I822df3e4352964bfd14e5b1a81a6e0739d409c5c
Signed-off-by: George, Lina (lg941u) <lg941u@att.com>
6 years agoAAI Client Updates 37/27737/3
Dilip kumar Pampana [Tue, 9 Jan 2018 17:25:37 +0000 (12:25 -0500)]
AAI Client Updates

Update and retrieve OAM Addresses,Update vnfc data

Issue-ID: APPC-352
Change-Id: Ibf7bdb38296f278fd414ef0b9464ed42245051f1
Signed-off-by: Dilip kumar Pampana <dp583p@att.com>
6 years agoplatform hardening changes for appc-adapters 67/27067/4
kusuma kumari M [Tue, 9 Jan 2018 16:19:57 +0000 (11:19 -0500)]
platform hardening changes for appc-adapters

Issue-ID: APPC-362
Change-Id: I5dfcee3ea542b130916b055b408f89240e513bba
Signed-off-by: kusuma kumari M <km583p@att.com>
6 years agoUpdates to config flow-controller bundle 67/27667/3
George, Lina (lg941u) [Mon, 8 Jan 2018 21:38:33 +0000 (16:38 -0500)]
Updates to config flow-controller bundle

Issue-ID: APPC-378
Change-Id: Ie2d649c54abac69d721e60bc64ab9fa23eef5ca0
Signed-off-by: George, Lina (lg941u) <lg941u@att.com>
6 years agoUpdates to config adaptor bundle 73/27573/2
George, Lina (lg941u) [Sat, 6 Jan 2018 02:13:51 +0000 (21:13 -0500)]
Updates to config adaptor bundle

Issue-ID: APPC-373
Change-Id: I4c7f60c8fd8ab80bc03aab717bb8b30d0240c4bc
Signed-off-by: George, Lina (lg941u) <lg941u@att.com>
6 years agocode changes for platform hardening appc adapters 21/27321/4
kusuma kumari M [Thu, 4 Jan 2018 02:55:50 +0000 (21:55 -0500)]
code changes for platform hardening appc adapters

Issue-ID: APPC-305
Change-Id: Ice60ca77ffccc409d50ef11318e841c3b1f82ce1
Signed-off-by: kusuma kumari M <km583p@att.com>
6 years agoPlatform hardening for appc-dg-md-sal-store 53/27653/5
Ramya Balaji [Mon, 8 Jan 2018 17:40:57 +0000 (12:40 -0500)]
Platform hardening for appc-dg-md-sal-store

Changes made to synch up code in ONAP
for bundle appc-dg-md-sal-store

Issue-ID: APPC-377
Change-Id: I603918a3d6b250e5edea59818549868d4a6964fd
Signed-off-by: Ramya Balaji <rb111y@att.com>
6 years agoInclude impacted changes for APPC-346,APPC-348 85/27485/14
Anand [Fri, 5 Jan 2018 00:35:51 +0000 (19:35 -0500)]
Include impacted changes for APPC-346,APPC-348

Issue-ID: APPC-347
Change-Id: I399bc2a1e0dfd481e103032a373bb80fce5baf41
Signed-off-by: Anand <ac204h@att.com>
6 years agoDesign Services updates 45/27545/4
Dilip kumar Pampana [Fri, 5 Jan 2018 20:37:36 +0000 (15:37 -0500)]
Design Services updates

API to getInstarData on request from Design Tool GUI

Issue-ID: APPC-351
Change-Id: I9188f96049d7cfaf1b2987c65d3c7f92eb636f3e
Signed-off-by: Dilip kumar Pampana <dp583p@att.com>
6 years agoArtifact Handler Updates 25/27525/5
Dilip kumar Pampana [Fri, 5 Jan 2018 16:47:22 +0000 (11:47 -0500)]
Artifact Handler Updates

Fixed vnfc_reference table,
Added code to process VM level capabilities for VNF

Issue-ID: APPC-350
Change-Id: If1b8862e1d81c5dc8d3c29b148d5b1d865567951
Signed-off-by: Dilip kumar Pampana <dp583p@att.com>
6 years agoUpdates and code clean up for DG Util bundle 95/27495/1
Ramya Balaji [Fri, 5 Jan 2018 03:32:27 +0000 (22:32 -0500)]
Updates and code clean up for DG Util bundle

Issue-ID: APPC-372
Change-Id: I4a84ac57b220c5e7582351a0fc3b584d7b92596f
Signed-off-by: Ramya Balaji <rb111y@att.com>
6 years agoNew iaas unit tests 63/27463/3
Patrick Brady [Wed, 3 Jan 2018 21:41:05 +0000 (13:41 -0800)]
New iaas unit tests

Adding new unit tests for the
org.onap.appc.adapter.iaas.provider.operation.impl package.

Change-Id: I4a2da6ff04b63a88e47d39080cfd8a58703364e0
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue-ID: APPC-369

6 years agoUpdated SDC listener and dependent bundles 31/27231/4
Ramya Balaji [Wed, 3 Jan 2018 02:58:59 +0000 (21:58 -0500)]
Updated SDC listener and dependent bundles

Changes related to SDC adapter.Also includes
sequence generator changes and changes to
appc-dg-shared.

Issue-ID: APPC-355
Change-Id: Ib8a0b1d304199db6d2595291539b266885842d63
Signed-off-by: Ramya Balaji <rb111y@att.com>
6 years agoCode changes for platform hardening appc-oam 61/27461/2
Anand [Thu, 4 Jan 2018 17:44:05 +0000 (12:44 -0500)]
Code changes for platform hardening appc-oam

Issue-ID: APPC-371
Change-Id: I124ad01cd945beb7a9b63a90760b33ca25246bc7
Signed-off-by: Anand <ac204h@att.com>
6 years agoUpdates to config data services bundle 35/27235/2
George, Lina (lg941u) [Wed, 3 Jan 2018 05:35:33 +0000 (00:35 -0500)]
Updates to config data services bundle

Issue-ID: APPC-350
Change-Id: Id5738986a40f8c094c0ce2fc0033d378796733cf
Signed-off-by: George, Lina (lg941u) <lg941u@att.com>
6 years agoPlatform Hardening for DG - Part 8 37/26837/7
Skip Wonnell [Sat, 23 Dec 2017 06:18:18 +0000 (00:18 -0600)]
Platform Hardening for DG - Part 8

Issue-ID: APPC-305
Change-Id: I70fa76837b02314bdd3211190306cfbd3564d639
Signed-off-by: Skip Wonnell <skip@att.com>
6 years agoReformat code according to Java Code Guidelines 03/26803/5
Michal Kabaj [Fri, 22 Dec 2017 13:38:01 +0000 (14:38 +0100)]
Reformat code according to Java Code Guidelines

Align appc-config-adaptor-provider implementation classes with ONAP
and Google Java Style guidelines: K&R Style brackets, 120 column limit,
indentation fixes, method and property reorder according to visibility.

Change-Id: I079e6d9eec5f400db00c5bf41937ca20dd778e72
Issue-ID: APPC-361
Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
6 years agoFix sonar blockers 69/27269/2
Tomek Kaminski [Wed, 3 Jan 2018 12:13:09 +0000 (13:13 +0100)]
Fix sonar blockers

Fix two blockers with possible NPE in accessing parentNode
Fix major related to using diamond operator with generics
Fix major related to nesting more than 3 if statements.

Change-Id: Ic3e5271bc599120ff6a3d1f74c97e614866c44ad
Issue-ID: APPC-367
Signed-off-by: Tomek Kaminski <tomasz.kaminski@nokia.com>
6 years agoRemoving unused imports 55/27255/2
pwielebs [Wed, 3 Jan 2018 10:25:04 +0000 (05:25 -0500)]
Removing unused imports

Change-Id: I7f3ef775b9e0b0bc3d5d4a758f21bd2f71a990d9
Issue-ID: APPC-366
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
6 years agofix some minor issues for Sonar 13/27113/2
Taka [Thu, 28 Dec 2017 14:48:30 +0000 (09:48 -0500)]
fix some minor issues for Sonar

Issue-ID: APPC-363
Change-Id: I3761ea2f235e6b182f04d5ccdb104df295441c05
Signed-off-by: Taka <tc012c@att.com>
6 years agoFix for sonar blocker 21/27221/1
Tomek Kaminski [Tue, 2 Jan 2018 14:28:57 +0000 (15:28 +0100)]
Fix for sonar blocker

Add missing close operation on ClosableHttpClient instance in executeHttpRequest method of RestAdapterImpl.java
Resolve sonar blocker using try-with-resources clause.

Change-Id: Ibaf5eba70abd4a042708eb686da073e673d547fb
Issue-ID: APPC-364
Signed-off-by: Tomek Kaminski <tomasz.kaminski@nokia.com>
6 years agoPlatform Hardening for DG Json files - Part 7 35/26835/1
Taka [Fri, 22 Dec 2017 23:06:10 +0000 (18:06 -0500)]
Platform Hardening for DG Json files - Part 7

Change-Id: Ifac28a64e01767c15d940b20404904f2fc2d9b24
Issue-ID: APPC-305
Signed-off-by: Taka <tc012c@att.com>
6 years agoPlatform Hardening for DG Json files- Part 6 33/26833/1
Taka [Fri, 22 Dec 2017 22:44:27 +0000 (17:44 -0500)]
Platform Hardening for DG Json files- Part 6

Issue-ID: APPC-305
Change-Id: I6cdc5bc789c4935d4515bc55edd8a9dc7f32c3c3
Signed-off-by: Taka <tc012c@att.com>
6 years agoPlatform Hardening for DG Json files - Part 5 29/26829/1
Taka [Fri, 22 Dec 2017 22:01:22 +0000 (17:01 -0500)]
Platform Hardening for DG Json files - Part 5

Change-Id: If1d1b8090c6f932c1b383e0be3d942bc9d082fae
Issue-ID: APPC-305
Signed-off-by: Taka <tc012c@att.com>
6 years agoPlaform Hardening for DG Json files - Part 4 27/26827/1
Taka [Fri, 22 Dec 2017 21:02:31 +0000 (16:02 -0500)]
Plaform Hardening for DG Json files - Part 4

Change-Id: I7f4ed14a349bdf6e5a80d4e32e4d9571b117b702
Issue-ID: APPC-305
Signed-off-by: Taka <tc012c@att.com>
6 years agoPlatform Hardening for DG Json files - Part 3 21/26821/1
Taka [Fri, 22 Dec 2017 18:52:51 +0000 (13:52 -0500)]
Platform Hardening for DG Json files - Part 3

Change-Id: Ib5534da1dc26e8942be56b5a3742876cebd4b2fc
Issue-ID: APPC-305
Signed-off-by: Taka <tc012c@att.com>
6 years agoPlatform Hardening for DG Json files - Part 2 19/26819/1
Taka [Fri, 22 Dec 2017 18:13:53 +0000 (13:13 -0500)]
Platform Hardening for DG Json files - Part 2

Change-Id: Ia11df00de6f114ab63200efaaeff3a2b22a17b83
Issue-ID: APPC-305
Signed-off-by: Taka <tc012c@att.com>
6 years agoAutomate Updates to the API Client Library 15/26815/3
Joey Sullivan [Fri, 22 Dec 2017 15:32:48 +0000 (15:32 +0000)]
Automate Updates to the API Client Library

Removed client-kit generated code from git repo.
This code is now generated under the target folder.
client-kit now uses latest appc-provider-lcm.yang
on the branch.

Change-Id: I7a20774b60bb447343886997c32ca3b3c5dcbafa
Issue-ID: APPC-360
Signed-off-by: Joey Sullivan <joey.sullivan@amdocs.com>
6 years agoPlatform Hardening for DG Json files - Part 1 17/26817/1
Taka [Fri, 22 Dec 2017 16:32:09 +0000 (11:32 -0500)]
Platform Hardening for DG Json files - Part 1

Change-Id: I0bf2ee8883889e1edeb46ef3bcd96d1002746cf6
Issue-ID: APPC-305
Signed-off-by: Taka <tc012c@att.com>
6 years agoenahance Sonar coverage rate 47/26747/1
Taka [Thu, 21 Dec 2017 20:52:20 +0000 (15:52 -0500)]
enahance Sonar coverage rate

Change-Id: I08fbb09495a400cdfb85489ed2f964d6c63aa737
Issue-ID: APPC-323
Signed-off-by: Taka <tc012c@att.com>
6 years agoFix sonar issues for APPC 53/26653/2
Taka [Wed, 20 Dec 2017 18:07:21 +0000 (13:07 -0500)]
Fix sonar issues for APPC

Change-Id: I386f6794215eb69b8547fa06193ad78f951b327b
Issue-ID: APPC-323
Signed-off-by: Taka <tc012c@att.com>
6 years agoPlatform hardening for appc-metric 89/26589/4
Skip Wonnell [Tue, 19 Dec 2017 23:33:02 +0000 (17:33 -0600)]
Platform hardening for appc-metric

Issue-ID: APPC-305
Change-Id: I4183e2a723fa50ff1398f584a77c1234d28e8340
Signed-off-by: Skip Wonnell <skip@att.com>
6 years agoSonar Critical Use a logger 21/26721/1
shubhada [Thu, 21 Dec 2017 13:18:30 +0000 (18:48 +0530)]
Sonar Critical Use a logger

Use a logger to log this exception
Sonar Link:
https://sonar.onap.org/component_issues/index?id=org.openecomp.appc%3Aappc#assignees=Shubhada|resolved=false
Location:
src/main/java/org/openecomp/appc/design/dbervices/DesignDBService.java
Line No:541

Change-Id: Ie81f003ecba00b24fc4d9065b289650af3f846ca
Issue-ID: APPC-288
Signed-off-by: shubhada <SV00449682@techmahindra.com>
6 years agoSonar Critical Use a logger 11/26711/1
shubhada [Thu, 21 Dec 2017 10:46:23 +0000 (16:16 +0530)]
Sonar Critical Use a logger

Use a logger to log this exception
Sonar Link:
https://sonar.onap.org/component_issues/index?id=org.openecomp.appc%3Aappc#assignees=Shubhada|resolved=false
Location:
src/main/java/org/openecomp/appc/design/dbervices/DesignDBService.java
Line No:638

Change-Id: I3f862da26622086b803ffdc8d65cb9e9615cdbbe
Issue-ID: APPC-326
Signed-off-by: shubhada <SV00449682@techmahindra.com>
6 years agoFix Compilation issue in TestServiceCatalog 53/26553/2
Michal Kabaj [Tue, 19 Dec 2017 13:36:59 +0000 (14:36 +0100)]
Fix Compilation issue in TestServiceCatalog

Remove duplicate mockito-core test dependency in appc-iaas-adapter-bundle
pom.xml and remove unused imports.

Issue-ID: APPC-359
Change-Id: I119460f36ee0cedae0129419e55c134a105a8cd7
Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
6 years agoUpdate package name to onap namespace 85/26585/4
Taka [Tue, 19 Dec 2017 21:42:17 +0000 (16:42 -0500)]
Update package name to onap namespace

Change-Id: I8e5231434bd0e3a0599c7a4f24b808ef50d495d2
Issue-ID: APPC-13
Signed-off-by: Taka <tc012c@att.com>
6 years agoUpdate jaxb-api to 2.2.3 or later 83/26583/2
Taka [Tue, 19 Dec 2017 21:25:07 +0000 (16:25 -0500)]
Update jaxb-api to 2.2.3 or later

Issue-ID: APPC-306
Change-Id: I95ba608435bcafff5ea9d960d0295900aa14ebef
Signed-off-by: Taka <tc012c@att.com>
6 years agoUpdate bundle names from openecomp to onap 65/26565/6
Takamune Cho [Tue, 19 Dec 2017 16:48:02 +0000 (10:48 -0600)]
Update bundle names from openecomp to onap

Change-Id: Ib0cf4edbab87a32c9d83cc9473412feb77b27a0e
Issue-ID: APPC-13
Signed-off-by: Takamune Cho <tc012c@att.com>
6 years agoMove dg-loader files to org.onap package 29/26429/4
Skip Wonnell [Sun, 17 Dec 2017 22:13:56 +0000 (16:13 -0600)]
Move dg-loader files to org.onap package

Issue-ID: APPC-13
Change-Id: I5bab561f243f31bca633882b9291b147e24bea9e
Signed-off-by: Skip Wonnell <skip@att.com>
6 years agoUpdate files with proper formatting 57/26557/3
Takamune Cho [Tue, 19 Dec 2017 14:22:34 +0000 (08:22 -0600)]
Update files with proper formatting

Change-Id: I89e045a3a60521582044506b3bdc27239a2f7dee
Issue-ID: APPC-305
Signed-off-by: Takamune Cho <tc012c@att.com>
6 years agoUpdate appc-config-generator to use onap packaging 89/26489/6
Takamune Cho [Tue, 19 Dec 2017 01:39:40 +0000 (19:39 -0600)]
Update appc-config-generator to use onap packaging

Change-Id: Ia89d9eb8f56c8ac0e46cbe1b473f7cfced32228a
Issue-ID: APPC-13
Signed-off-by: Takamune Cho <tc012c@att.com>
6 years agoUpdate appc-config-parms to use onap packaging 85/26485/3
Takamune Cho [Tue, 19 Dec 2017 01:20:35 +0000 (19:20 -0600)]
Update appc-config-parms to use onap packaging

Issue-ID: APPC-13
Change-Id: I490847faabfed2e977ee21c0157adf8a790cea65
Signed-off-by: Takamune Cho <tc012c@att.com>
6 years agoPlatform hardening for common bundle 03/26403/3
Skip Wonnell [Sun, 17 Dec 2017 00:48:27 +0000 (18:48 -0600)]
Platform hardening for common bundle

General code clean up code
Additional test cases
Support for APPC-348, APPC-349

Issue-ID: APPC-305
Change-Id: I341c960bb33794c681aea86f2bd1b415294ec03f
Signed-off-by: Skip Wonnell <skip@att.com>
6 years agoAdding new LCM features to the client lib 83/26383/3
Skip Wonnell [Fri, 15 Dec 2017 20:42:44 +0000 (14:42 -0600)]
Adding new LCM features to the client lib

Provide support for a new set of LCM actions to support an In-Place
Software Upgrade flow which can be triggered by SO.

Issues included: APPC-346, APPC-349

Issue-ID: APPC-346
Change-Id: I65c10035978aecb543b1102dd9c2dbd8374921bc
Signed-off-by: Skip Wonnell <skip@att.com>
6 years agoRepackage appc-config-audit to onap 79/26479/4
Takamune Cho [Mon, 18 Dec 2017 22:16:43 +0000 (16:16 -0600)]
Repackage appc-config-audit to onap

Change-Id: I535761d86a0abb4a6555672710a414bd3f9bb362
Issue-ID: APPC-13
Signed-off-by: Takamune Cho <tc012c@att.com>
6 years agoFourth part of onap rename 65/26265/1
Patrick Brady [Wed, 13 Dec 2017 22:01:55 +0000 (14:01 -0800)]
Fourth part of onap rename

Some paths within the docker image need to be updated from
opt/openecomp to opt/onap

Change-Id: I74b32ba6906a0b7c44764485dccef6140c21afa3
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue-ID: APPC-13

6 years agoThird part of onap rename 51/26251/1
Patrick Brady [Wed, 13 Dec 2017 19:19:06 +0000 (11:19 -0800)]
Third part of onap rename

This part of the commit changes the folder structure on all other
folders of appc.

Change-Id: I8acfa11cdfcdcd36be0e137245d1dd7324f1abd3
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue-ID: APPC-13

6 years agoSecond part of onap rename 49/26249/1
Patrick Brady [Wed, 13 Dec 2017 19:14:21 +0000 (11:14 -0800)]
Second part of onap rename

This is the second commit of the rename. The folder structure
is renamed for appc-adapters and appc-config in this commit.

Change-Id: Iaa2b8c937ff1ca1b5d1178128961fb115ee65d9b
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue-ID: APPC-13

6 years agoFirst part of onap rename 47/26247/1
Patrick Brady [Wed, 13 Dec 2017 19:09:30 +0000 (11:09 -0800)]
First part of onap rename

This is the first commit of the rename. This commit changes
refereces to org.openecomp.appc > org.onap.appc that occur within
files. The package folder structure is not changed in this commit.

Change-Id: Ic95d749eb99d8a6f4f2b9ee9b06eb41c5cfa7e1c
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue-ID: APPC-13

6 years agoSonar Critical Use a logger 31/26231/1
shubhada [Wed, 13 Dec 2017 12:30:40 +0000 (18:00 +0530)]
Sonar Critical Use a logger

Use a logger to log this exception
Sonar Link:
https://sonar.onap.org/component_issues/index?id=org.openecomp.appc%3Aappc#assignees=Shubhada|resolved=false
Location:
src/main/java/org/openecomp/appc/instar/dme2client/Dme2Client.java
Line No:169

Change-Id: I748f2ce5efd869a88e6e8bae227b15ee09fff270
Issue-ID: APPC-289
Signed-off-by: shubhada <SV00449682@techmahindra.com>