appc.git
5 years agoChanged Code and DGs to return detailed response. 73/58773/3
Shailendra Borale [Thu, 2 Aug 2018 20:00:22 +0000 (16:00 -0400)]
Changed Code and DGs to return detailed response.

Added comment and used String instead of Integer.toString

Change-Id: I07a0a7752b225fbf50d761b489b9320b47fcc71d
Issue-ID: APPC-1013
Signed-off-by: sb8915 <sb8915@att.com>
5 years agoadded test case to TestValidatorService.java 15/58415/3
Sandeep J [Wed, 1 Aug 2018 12:18:43 +0000 (17:48 +0530)]
added test case to TestValidatorService.java

to increase code coverage

Issue-ID: APPC-1086
Change-Id: Id3d7d93fb02d62be8288ae7065b69b22ce1d8c2f
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agoupdated existing test case to increase coverage 07/58407/2
Sandeep J [Wed, 1 Aug 2018 11:04:54 +0000 (16:34 +0530)]
updated existing test case to increase coverage

updated existing test case to increase code coverage

Issue-ID: APPC-1086
Change-Id: Iea8d0a833872cec864436300c4bcbc9e55cd3316
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agoupdated test case to increase coverage 71/58271/4
Sandeep J [Tue, 31 Jul 2018 19:40:12 +0000 (01:10 +0530)]
updated test case to increase coverage

updated test to cover getAppcTimeStampResponse method in
DbResponseProcessor.java

Issue-ID: APPC-1086
Change-Id: I6333683181498857aa58ca7ccb404329574513ff
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agoadded test cases to TestWorkFlowRequest.java 21/58221/3
Sandeep J [Tue, 31 Jul 2018 11:19:51 +0000 (16:49 +0530)]
added test cases to TestWorkFlowRequest.java

to increase code coverage

Issue-ID: APPC-1086
Change-Id: Ic13af8abd0b984111cec2b8b4c822ea0f85c6286
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agofixed failing test cases in TimeTest.java 03/58203/3
Sandeep J [Tue, 31 Jul 2018 09:41:50 +0000 (15:11 +0530)]
fixed failing test cases in TimeTest.java

fixed the issue APPC-1112, where few test cases where failing because of
platform dependency. Removed assertEquals and replaced it with
assertNotNull and assertTrue, so that coverage is not affected and the
test case also passes succesfully. Cant use asserEquals here as the
value timestamp is platform dependent.

Issue-ID: APPC-1112
Change-Id: I4b9f786eaa61835765ffdadd0beb9092bc9beb17
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agoadded test cases to TestMessages.java 27/58227/4
Sandeep J [Tue, 31 Jul 2018 11:47:33 +0000 (17:17 +0530)]
added test cases to TestMessages.java

to increase code coverage

Issue-ID: APPC-1086
Change-Id: I230ad0e38a1507e0619d490a3786b97fa6d5db32
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agoadded test case to TestWorkFlowResponse.java 25/58225/3
Sandeep J [Tue, 31 Jul 2018 11:24:37 +0000 (16:54 +0530)]
added test case to TestWorkFlowResponse.java

to increase code coverage

Issue-ID: APPC-1086
Change-Id: I99d9a92e458a1e4066c7abe2d6595d1ce6c7b946
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years ago GetTemplateConfigAnsible DG Bug 73/57973/2
Ganesh Chandrasekaran [Mon, 30 Jul 2018 08:12:27 +0000 (17:12 +0900)]
 GetTemplateConfigAnsible DG Bug

Please refer to Jira page for more details

Issue-ID: APPC-1115

Change-Id: I0f56009a44b37e0f30942da533f8bc08766de602
Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
5 years ago GetTemplateConfigChef DG Bug 71/57971/2
Ganesh Chandrasekaran [Mon, 30 Jul 2018 07:58:14 +0000 (16:58 +0900)]
 GetTemplateConfigChef DG Bug

Please refer to the Jira page for more information.

Issue-ID: APPC-1114

Change-Id: I6c0f033594371c33efd9ab224873c7f9cbec0f2e
Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
5 years agoadded test case to TestTransactionRecord.java 13/58213/2
Sandeep J [Tue, 31 Jul 2018 10:40:11 +0000 (16:10 +0530)]
added test case to TestTransactionRecord.java

to increase code coverage

Issue-ID: APPC-1086
Change-Id: I35d44cf74166edd126b918b0624a99ebc0396b07
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agoJunits for Inbound/designServices 89/58089/9
Dilip kumar Pampana [Mon, 30 Jul 2018 20:41:19 +0000 (16:41 -0400)]
Junits for Inbound/designServices

Added new test class files for code coverage of DesignDBServices and
removed version for mockito-core as it is overriding existing one in
pom.xml file in design services provide.

Issue-ID: APPC-1117
Change-Id: I9eddf30c7e3c72467f4bf5f5850c22c083f51a9f
Signed-off-by: Dilip kumar Pampana <dilip.kumar.pampana@ibm.com>
5 years agoignoring testFetch as it is long time to execute 05/58205/1
Sandeep J [Tue, 31 Jul 2018 09:58:47 +0000 (15:28 +0530)]
ignoring testFetch as it is long time to execute

ignoring the testFetch method as it is taking 130 sec to execute, as
reported by Patrick in the issue APPC-1111.

Issue-ID: APPC-1111
Change-Id: I7bef0719a04b5d3dd9d52a1c2608f16f16d76c5d
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agoIncrease coverage for sshdDataAccessDervice 55/57955/2
Ganesh Chandrasekaran [Mon, 30 Jul 2018 00:39:17 +0000 (09:39 +0900)]
Increase coverage for sshdDataAccessDervice

Issue-ID: APPC-1113

Change-Id: If7f466c6e6c205c220ae020c3e4ce24e1088f7f3
Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
5 years agoadded test cases to TestResponseContext.java 41/57741/4
Sandeep J [Thu, 26 Jul 2018 18:27:04 +0000 (23:57 +0530)]
added test cases to TestResponseContext.java

to increase code coverage

Issue-ID: APPC-1086
Change-Id: Ia82129b891a518e6dfa1809ab94f308775d29a9c
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agoadded test cases to TestRuntimeContext.java 45/57745/2
Sandeep J [Thu, 26 Jul 2018 18:42:44 +0000 (00:12 +0530)]
added test cases to TestRuntimeContext.java

to increase code coverage

Issue-ID: APPC-1086
Change-Id: Iaca5e351a38e37bd6310e191c3515d2d24789858
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agoadded test cases to TestTransactionRecord.java 79/57879/2
Sandeep J [Fri, 27 Jul 2018 15:18:29 +0000 (20:48 +0530)]
added test cases to TestTransactionRecord.java

to increase code coverage

Issue-ID: APPC-1086
Change-Id: Ib1327bea47d5feb6fa7d5a2ad5bdb136642661b1
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agoadded test case to TestResponseHandlerOutput.java 11/57911/2
Sandeep J [Fri, 27 Jul 2018 20:47:54 +0000 (02:17 +0530)]
added test case to TestResponseHandlerOutput.java

to increase code coverage

Issue-ID: APPC-1086
Change-Id: I7cb23c2e389a8c0d8d153cb241b726360a759f03
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agoupdatd test in RequestValidationExceptionTest.java 17/57917/2
Sandeep J [Fri, 27 Jul 2018 21:00:52 +0000 (02:30 +0530)]
updatd test in RequestValidationExceptionTest.java

to increase code coverage

Issue-ID: APPC-1086
Change-Id: Id2a2f7f2476f4a6d2f917c713af374cd0d02f682
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agoadded test case to TestRequestHandlerInput.java 09/57909/2
Sandeep J [Fri, 27 Jul 2018 20:41:30 +0000 (02:11 +0530)]
added test case to TestRequestHandlerInput.java

to increase code coverage

Issue-ID: APPC-1086
Change-Id: Ie0a570c7b20d236d8203d57f1351f34e0b7466d1
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agoadded test case to TestLCMCommandStatus.java 95/57695/2
Sandeep J [Thu, 26 Jul 2018 11:55:23 +0000 (17:25 +0530)]
added test case to TestLCMCommandStatus.java

addes test case to increase code-coverage

Issue-ID: APPC-1086
Change-Id: Ie36b332e947900990d62a11723070a5ae8e53a99
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agoadded test case to TestCommonHeader.java 99/57699/6
Sandeep J [Thu, 26 Jul 2018 12:17:55 +0000 (17:47 +0530)]
added test case to TestCommonHeader.java

to increase code coverage

Issue-ID: APPC-1086
Change-Id: I9ddee44a33daa768a73e7575ac5901b13e87237b
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agoadded test case to TestRequestContext.java 03/57703/2
Sandeep J [Thu, 26 Jul 2018 13:33:38 +0000 (19:03 +0530)]
added test case to TestRequestContext.java

to increase code-coverage

Issue-ID: APPC-1086
Change-Id: Iabee69884c983ff3391d682d185524a22ea08ab0
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agoAPI to support getConnection with SSH KeyFile 15/57015/10
Ganesh Chandrasekaran [Fri, 20 Jul 2018 07:32:46 +0000 (16:32 +0900)]
API to support getConnection with SSH KeyFile

Issue-ID: APPC-1097

Change-Id: Ic9baa3e43be55bc20aa974898c164cc8a590a78a
Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
5 years agoadded test case to TestCommandExecuterInput.java 39/57539/4
Sandeep J [Wed, 25 Jul 2018 13:06:49 +0000 (18:36 +0530)]
added test case to TestCommandExecuterInput.java

added test case to increase code coverage

Issue-ID: APPC-1086
Change-Id: Iad87297e2f52c7a14bfa178ab6be4a841604715d
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agoadd new reboot LCM API 55/57755/1
Taka Cho [Thu, 26 Jul 2018 19:42:32 +0000 (15:42 -0400)]
add new reboot LCM API

In R3, AT&T contributes a new lcm api: reboot

this is for adding reboot LCM API into readdoc

Change-Id: I3bb9e338d78424005aa6b1584073db101ae7f337
Issue-ID: APPC-1034
Signed-off-by: Taka Cho <tc012c@att.com>
5 years agoadded test case to JsonDgutilImplTest.java 33/57533/4
Sandeep J [Wed, 25 Jul 2018 12:27:51 +0000 (17:57 +0530)]
added test case to JsonDgutilImplTest.java

added test case to increase code coverage

Issue-ID: APPC-1086
Change-Id: Ib2bb400348ebde7200d46e1f05775be6fbe298cd
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agoadded test case to TransactionTest.java 51/57451/5
Sandeep J [Wed, 25 Jul 2018 10:04:25 +0000 (15:34 +0530)]
added test case to TransactionTest.java

added test case to increase code coverage

Issue-ID: APPC-1086
Change-Id: Ib02211122e9d662387858c70876f3784e65ec0ce
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agoadded some more test cases to TimeTest.java 11/57311/3
Sandeep J [Tue, 24 Jul 2018 11:49:34 +0000 (17:19 +0530)]
added some more test cases to TimeTest.java

added some more test cases to increase code coverage

Issue-ID: APPC-1086
Change-Id: I8f4458ddcc70d360eae71e41d1608d0529ed2269
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agoChange appc-parent to new odl 79/57379/2
Patrick Brady [Tue, 24 Jul 2018 19:27:35 +0000 (12:27 -0700)]
Change appc-parent to new odl

Changing the parent ccsdk version of the appc-parent
pom files so they will use the new ODL version.

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

5 years agoFix query statements in DBService 77/57377/3
Mei Su [Tue, 24 Jul 2018 19:01:37 +0000 (15:01 -0400)]
Fix query statements in DBService

Fix query statements related to url in DBService

Issue-ID: APPC-1107
Change-Id: I2f8e2bc77c04a4b96160af00bdc9d3debe4395c3
Signed-off-by: Mei Su <ms6523@att.com>
5 years agoadded test case to PreCheckTest.java 23/57323/3
Sandeep J [Tue, 24 Jul 2018 12:31:51 +0000 (18:01 +0530)]
added test case to PreCheckTest.java

added test case to increase code coverage

Issue-ID: APPC-1086
Change-Id: I51aff34afc47db330c773431d59a5e30cea74d79
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agoadded few test cases to TestSQLSaveQuery.java 83/57283/3
Sandeep J [Tue, 24 Jul 2018 10:06:31 +0000 (15:36 +0530)]
added few test cases to TestSQLSaveQuery.java

added few test cases to increase code coverage

Issue-ID: APPC-1086
Change-Id: Id895923e0df4b55c7705534e971d67b972514e50
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agoadded test cases to TestCompareNodeJson.java 53/57153/4
Sandeep J [Mon, 23 Jul 2018 11:23:34 +0000 (16:53 +0530)]
added test cases to TestCompareNodeJson.java

added few test cases to increase code coverage

Issue-ID: APPC-1086
Change-Id: I64fcbae96f7627469900f9c67e52b3ef3ce6e5f3
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agoAdd parent to appc-parent aggregator 67/57367/3
Patrick Brady [Tue, 24 Jul 2018 17:58:08 +0000 (10:58 -0700)]
Add parent to appc-parent aggregator

The parent is required to supply the distributionManagement
properties for deployment.

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

5 years agoadded test case to TestCompareNodeCli.java 49/57149/5
Sandeep J [Mon, 23 Jul 2018 11:02:19 +0000 (16:32 +0530)]
added test case to TestCompareNodeCli.java

added test case to increase code coverage. A part of the else block in
compare method of CompareNode.java was not being covered. Getting
covered now with this test case.

Issue-ID: APPC-1086
Change-Id: I2821ec0c5d9203f5c76e6a091c6734f41333d638
Signed-off-by: Sandeep Jha<sandeejh@in.ibm.com>
5 years agoFix ssh adapter compilation issues. 21/56521/3
David Crosson [Mon, 16 Jul 2018 15:52:06 +0000 (17:52 +0200)]
Fix ssh adapter compilation issues.

Apache sshd library updated to 2.0.0

Issue-ID: APPC-835
Change-Id: Idfbc396291c3d05a47e4dceb45d06bc8084c054d
Signed-off-by: David Crosson <david.crosson@orange.com>
5 years agoJunit Test cases for Ansible adapter 87/57187/2
Dilip kumar Pampana [Mon, 23 Jul 2018 16:25:01 +0000 (12:25 -0400)]
Junit Test cases for Ansible adapter

Junits test cases for ansibleMessageParser in Ansible Adapter

Issue-ID: APPC-1106
Change-Id: I9ef0664fb613d80f3275637413f0d2fae76b0186
Signed-off-by: Dilip kumar Pampana <dilip.kumar.pampana@ibm.com>
5 years agoadded few more test cases to TimeTest.java 45/57045/4
Sandeep J [Fri, 20 Jul 2018 11:35:39 +0000 (17:05 +0530)]
added few more test cases to TimeTest.java

added few more test cases to TimeTest.java to increase code coverage

Issue-ID: APPC-1086
Change-Id: I910a5ab4420cc38d9c27fc2a206ac96b5377e225
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agoreplaced @ignore with @test to include the test 69/57069/1
Sandeep J [Fri, 20 Jul 2018 19:11:45 +0000 (00:41 +0530)]
replaced @ignore with @test to include the test

replaced the @ignore with @test to include the test as it is a
legitimate test and has wrongly been ignored. After removing ignore, the
test runs successfully and also increases the code-coverage.

Issue-ID: APPC-1086
Change-Id: I60066a1f225f9a0afe5d4150f9f9e8f053258deb
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agoadded few test cases to TimeTest.java 67/56867/5
Sandeep J [Thu, 19 Jul 2018 09:25:11 +0000 (14:55 +0530)]
added few test cases to TimeTest.java

added few test cases to increase code coverage

Issue-ID: APPC-1086
Change-Id: Iab08ef3eef7fefab09a4389ffde8e0e1a4ca6025
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agoadded few test cases to increase code coverage 17/56617/3
Sandeep J [Tue, 17 Jul 2018 12:35:21 +0000 (18:05 +0530)]
added few test cases to increase code coverage

added few test cases to increase code-coverage for DmaapConsumerImpl.java

Issue-ID: APPC-1086
Change-Id: I3cf10a195063a05acf77b01aa2ea66e3da44d179
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agoUpdate the lastest PTL info 27/56927/2
Taka Cho [Thu, 19 Jul 2018 15:43:51 +0000 (11:43 -0400)]
Update the lastest PTL info

I updated INFO.yaml for new PTL info

Change-Id: I7ca2a4d9a48d80465069d1ad0ba2c80b0716e8d7
Issue-ID: APPC-1096
Signed-off-by: Taka Cho <tc012c@att.com>
5 years agoadded few test cases in StringHelperTest.java 31/56731/4
Sandeep J [Wed, 18 Jul 2018 12:19:43 +0000 (17:49 +0530)]
added few test cases in StringHelperTest.java

added few test cases in stringhelpertest.java to increase code coverage

Issue-ID: APPC-1086
Change-Id: I32d8648de64d1736685eb7c8a88017a2d3b7df98
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agoAdd additional junits for LicenseManagerImpl 51/56851/3
Joanna Jeremicz [Tue, 26 Jun 2018 07:54:34 +0000 (09:54 +0200)]
Add additional junits for LicenseManagerImpl

- Positive and negative case

Issue-ID: APPC-1024
Change-Id: Ic619553cc305517bebecf0754a7b9f7e8dd7ce51
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
5 years agoParent files for karaf4 91/54691/4
Patrick Brady [Wed, 13 Jun 2018 22:02:35 +0000 (15:02 -0700)]
Parent files for karaf4

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

5 years agoJunit tests for config/flowController 49/56749/8
Dilip kumar Pampana [Wed, 18 Jul 2018 15:23:24 +0000 (11:23 -0400)]
Junit tests for config/flowController

Junit Tests for code coverage in config/flow-controller, added a
constructor in FlowControlDBService.java file to get the code coverage.

Issue-ID: APPC-1090
Change-Id: If1c33d1bfde58fc5f22ef2faa50380e71f2fdac4
Signed-off-by: Dilip kumar Pampana <dilip.kumar.pampana@ibm.com>
5 years agoJunits for Interface-services 55/56455/6
Dilip kumar Pampana [Sun, 15 Jul 2018 05:49:23 +0000 (01:49 -0400)]
Junits for Interface-services

Junit test for vf-module-id to check for scope overlap

Issue-ID: APPC-1079
Change-Id: I7345e709809f46df3532d8d8608ce5d53d04ed11
Signed-off-by: Dilip kumar Pampana <dilip.kumar.pampana@ibm.com>
5 years agoTests for appc-inbound/design-services 51/56451/10
Dilip kumar Pampana [Sat, 14 Jul 2018 20:18:51 +0000 (16:18 -0400)]
Tests for appc-inbound/design-services

Test coverage for GetAppcTimestampUTC in inound/ design-services

Issue-ID: APPC-1078
Change-Id: I508c3bcebad5c7c35bd2257436ad3f4099eb8345
Signed-off-by: Dilip kumar Pampana <dilip.kumar.pampana@ibm.com>
5 years agoJunit for appc-config/Data-services 71/56471/3
Dilip kumar Pampana [Mon, 16 Jul 2018 02:05:28 +0000 (22:05 -0400)]
Junit for appc-config/Data-services

Junit Test to GetConfigFileReferenceByVnfType in appc-config/Data-services

Issue-ID: APPC-1080
Change-Id: I351cd7acc1ef6310d230d22bd7a0035d35722290
Signed-off-by: Dilip kumar Pampana <dilip.kumar.pampana@ibm.com>
5 years agoFix XML injection issue 27/56227/3
Mei Su [Wed, 11 Jul 2018 15:55:24 +0000 (11:55 -0400)]
Fix XML injection issue

Fix XML injection security issue

Issue-ID: APPC-1068
Change-Id: Id534da6d0c8287ba32febd959c81c313ee21302a
Signed-off-by: Mei Su <ms6523@att.com>
5 years agojunits for DefaultResponseHandler 55/56155/1
Tomasz Gwozdecki [Wed, 11 Jul 2018 07:52:04 +0000 (03:52 -0400)]
junits for DefaultResponseHandler

-Added new test for DefaultResponseHandler

Change-Id: Iee616c2a73eee3b130bbc68a16055355ecf4eab9
Issue-ID: APPC-975
Signed-off-by: Tomasz Gwozdecki <tomasz.gwozdecki@nokia.com>
5 years agonull ptr check 33/55933/3
Krishnajinka [Fri, 6 Jul 2018 08:28:54 +0000 (17:28 +0900)]
null ptr check

rework based on review comments

Issue-ID: APPC-1047

Change-Id: Ia87707535dc5825d18a6c35fdae416064dcb8c14
Signed-off-by: Krishnajinka <kris.jinka@samsung.com>
5 years agoAdded seq generator changes for vnf level actions 69/55969/7
George, Lina (lg941u) [Fri, 6 Jul 2018 16:25:32 +0000 (12:25 -0400)]
Added seq generator changes for vnf level actions

Issue-ID: APPC-921
Change-Id: I43c2cb044783ce4cd74f9685a333b52e4c7ad1fe
Signed-off-by: George, Lina (lg941u) <lg941u@att.com>
5 years agouse try with resources 29/55929/2
Krishnajinka [Fri, 6 Jul 2018 02:40:55 +0000 (11:40 +0900)]
use try with resources
Issue-ID: APPC-1046

Change-Id: I28ca35b8a888875f91afda05c4dedee3ed301dde
Signed-off-by: Krishnajinka <kris.jinka@samsung.com>
5 years agoAPPC CDT Future timestamp issue fix -new HTTP req 95/55595/4
od7427 [Fri, 29 Jun 2018 17:33:47 +0000 (13:33 -0400)]
APPC CDT Future timestamp issue fix -new HTTP req

APPC CDT GUI generated timestamp in user browser in request data.
Sometimes the timestamp appeared in future compared to APPC server time.
To fix the APPC CDT Future timestamp issue adding a new HTTP request to
 DesignDBService to get UTC Timestamp from the APPC server.
Also adding this request to DbResponseProcessor, RequestValidator
 to avoid validation failures.
Modified DesignDBService.java to satisfy review comments.
Made additional corrections after failed build.

Change-Id: Ic9d3f1ebb42143e497e21520843a78ecb882d0fc
Issue-ID: APPC-1026
Signed-off-by: od7427 <od7427@att.com>
5 years agoAdd feature to support reboot lcm command 01/55701/2
Mei Su [Tue, 3 Jul 2018 12:56:08 +0000 (08:56 -0400)]
Add feature to support reboot lcm command

Add method getIdentityUrl to fetch identity-url

Issue-ID: APPC-1044
Change-Id: I8fe6f774754e04b0329fe3e735f4b927d6db10bc
Signed-off-by: Mei Su <ms6523@att.com>
5 years agoAdding responses to payload in LCM API 91/55591/2
vidhyasree [Fri, 29 Jun 2018 20:18:12 +0000 (16:18 -0400)]
Adding responses to payload in LCM API

For HealthCheck, UpgradePrecheck and UpgradePostcheck

Issue-ID: APPC-920
Change-Id: I7e7b681d98c5dc3eeac6f7ea2b070f614bf51a7c
Signed-off-by: vidhyasree <sn141y@att.com>
5 years agoChanges to Config Component Adaptor 37/55437/4
Balaji, Ramya (rb111y) [Tue, 26 Jun 2018 17:44:27 +0000 (13:44 -0400)]
Changes to Config Component Adaptor

Issue-ID: APPC-1014
Change-Id: I1ac95c68df92e39678b64919357333cd1664218d
Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
5 years agoChanges to encryption tool bundle 37/55337/7
George, Lina (lg941u) [Sat, 23 Jun 2018 00:17:47 +0000 (20:17 -0400)]
Changes to encryption tool bundle

Issue-ID: APPC-1016
Change-Id: I6161948e063e10ce6aec0b818f970f947ce490ad
Signed-off-by: George, Lina (lg941u) <lg941u@att.com>
5 years agoShore up Logging Score on DGs 35/55535/2
vidhyasree [Thu, 28 Jun 2018 18:41:11 +0000 (14:41 -0400)]
Shore up Logging Score on DGs

Modify TopologyService and DG calls to have all logging fields

Issue-ID: APPC-1020
Change-Id: I6c610bc59a09dfd07453c0cfdaa38dcff700c07a
Signed-off-by: vidhyasree <sn141y@att.com>
5 years agoUnit test cases for ansible impl package 21/55121/7
Lathish [Wed, 20 Jun 2018 11:24:04 +0000 (12:24 +0100)]
Unit test cases for ansible impl package

Change-Id: I2d035b548f9cfd866ed9966ac6dbf4e496723afc
Issue-ID: APPC-533
Signed-off-by: Lathish <lathishbabu.ganesan@ericsson.com>
5 years agoadd support for new openstack rebootaction VM levl 71/55271/5
Modaboina, Kusumakumari (km583p) [Fri, 22 Jun 2018 17:20:12 +0000 (13:20 -0400)]
add support for new openstack rebootaction VM levl

Issue-ID: APPC-922
Change-Id: I84941d8a5882b422d4e8365c82b8aaaf4618fa57
Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
5 years agoFix for invalid locking approach 27/55427/2
vidhyasree [Tue, 26 Jun 2018 15:55:24 +0000 (11:55 -0400)]
Fix for invalid locking approach

Issue-ID: APPC-1019
Change-Id: I738c4ad72c29f494488a3fe3657243927797e2b5
Signed-off-by: vidhyasree <sn141y@att.com>
5 years agonew action Reboot to the LCM API 61/55261/4
vidhyasree [Fri, 22 Jun 2018 15:30:24 +0000 (11:30 -0400)]
new action Reboot to the LCM API

Issue-ID: APPC-920
Change-Id: Iba1e40f5bc4319f99f6cdfa3a9409faa191ec649
Signed-off-by: vidhyasree <sn141y@att.com>
5 years agoShore up Logging Score on DGs 33/55233/3
vidhyasree [Thu, 21 Jun 2018 20:33:20 +0000 (16:33 -0400)]
Shore up Logging Score on DGs

Modify TopologyService and DG calls to have all logging fields

Issue-ID: APPC-1020
Change-Id: I60078960ed0cfa8c70d0f4673c6d4a5026afc673
Signed-off-by: vidhyasree <sn141y@att.com>
5 years agoChanges needed for MultiStep Actions 25/55225/3
Balaji, Ramya (rb111y) [Thu, 21 Jun 2018 19:20:26 +0000 (15:20 -0400)]
Changes needed for MultiStep Actions

Issue-ID: APPC-921
Change-Id: I6abee6fbc389dde0be9e5e963524a2ab2b9cb823
Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
5 years agoenchance rebuildaction to make snapshotid Optional 31/55231/4
Modaboina, Kusumakumari (km583p) [Thu, 21 Jun 2018 20:08:00 +0000 (16:08 -0400)]
enchance rebuildaction to make snapshotid Optional

Issue-ID: APPC-1011
Change-Id: I58d71df2c71a2964cd5957119e3967e35912ac6b
Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
5 years agoArtifact-Handler - Appc-Inbound 93/55093/7
Dilip kumar Pampana [Tue, 19 Jun 2018 21:50:30 +0000 (17:50 -0400)]
Artifact-Handler - Appc-Inbound

Support Multiple Templates For Configure and ConfigModify for VNFs with VNFC level templates

Issue-ID: APPC-1010
Change-Id: I7540af3b793bac696bdc28aabc3c0c8e0c13d29e
Signed-off-by: Dilip kumar Pampana <dp583p@att.com>
5 years agoupdates for ECOMP logging grade 13/55213/2
vidhyasree [Thu, 21 Jun 2018 14:48:21 +0000 (10:48 -0400)]
updates for ECOMP logging grade

Issue-ID: APPC-1020
Change-Id: I06b80f81fdf47eeaa9399d381af059d0934446af
Signed-off-by: vidhyasree <sn141y@att.com>
5 years agoUnit tests for LicenseManagerImpl 93/55193/2
Joanna Jeremicz [Thu, 21 Jun 2018 12:13:06 +0000 (14:13 +0200)]
Unit tests for LicenseManagerImpl

Add assertj test dependency for assertions.

Change-Id: I7980a273eb0b24480d376cdb6acdd18ca1814702
Issue-ID: APPC-1024
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
5 years ago[APPC-922] Add new OpenStack Reboot Directed Graph 11/55211/2
Dan McMillan [Thu, 21 Jun 2018 14:39:55 +0000 (14:39 +0000)]
[APPC-922] Add new OpenStack Reboot Directed Graph

Introduce APPC_RebootVM.json directed graph

Add APPC_RebootVM to the dg_activate.txt config file

Add protocol query to APPC_healthcheck.json directed graph

Add outputdata to APPC_ansible-adapter-1.0.json success return

Change-Id: I80cc5695bf04575955b79656d731eab38b0b49c4
Issue-ID: APPC-922
Signed-off-by: Dan McMillan <dm3821@att.com>
5 years agochef adapter changes for pushjob status nodescheck 85/55085/6
Modaboina, Kusumakumari (km583p) [Tue, 19 Jun 2018 20:05:35 +0000 (16:05 -0400)]
chef adapter changes for pushjob status nodescheck

Issue-ID: APPC-1012
Change-Id: Iac03825b092f62a8d3747a62303f7869bc8280e8
Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
5 years agoChanges in config upload for vmname 87/55087/2
George, Lina (lg941u) [Tue, 19 Jun 2018 20:36:01 +0000 (16:36 -0400)]
Changes in config upload for vmname

Issue-ID: APPC-1010
Change-Id: Idae8533e7e9498e173ed942fa3581982a9119651
Signed-off-by: George, Lina (lg941u) <lg941u@att.com>
5 years ago new reboot action for VM openstack. 37/55137/2
vidhyasree [Wed, 20 Jun 2018 15:49:13 +0000 (11:49 -0400)]
 new reboot action for VM openstack.

Issue-ID: APPC-1011
Change-Id: I4a6f2ef0e09613d76b6ec68b889ed0eb85a34b9f
Signed-off-by: vidhyasree <sn141y@att.com>
5 years agoAdd snapshot-id to RebuildVM DG 95/55095/2
Dan McMillan [Tue, 19 Jun 2018 20:56:33 +0000 (20:56 +0000)]
Add snapshot-id to RebuildVM DG

Parameterize error-message in AttachVolumeVM DG

Parameterize error-message in DetachVolumeVM DG

Parameterize error-message in VM_Start DG

Parameterize error-message in VM_Stop DG

Change-Id: I8a2a06661d668565dc2b2f0160ac7695ac52198e
Issue-ID: APPC-1011
Signed-off-by: Dan McMillan <dm3821@att.com>
5 years agoAPPC-1009 03/55003/9
J Armstrong [Mon, 18 Jun 2018 11:41:39 +0000 (12:41 +0100)]
APPC-1009

Regex in appc-provider-model yang causes intermittent unit test failures

Change-Id: I5aefd746498737c10de4bd40a30d6aad2c629293
Signed-off-by: J Armstrong <joss.armstrong@ericsson.com>
Issue-ID: APPC-1009

5 years agoEnhance Ansible by parsing of response messages 81/55081/2
Modaboina, Kusumakumari (km583p) [Tue, 19 Jun 2018 17:43:56 +0000 (13:43 -0400)]
Enhance Ansible by  parsing of response messages

Issue-ID: APPC-1015
Change-Id: I19d81c1a266625c81b772fbee9996054bb5a2cbf
Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
5 years agoUnit tests in dg-util 51/54951/2
Michal Kabaj [Fri, 15 Jun 2018 09:53:55 +0000 (11:53 +0200)]
Unit tests in dg-util

Replace powermock usage with mockito.
Add assertj test dependency for assertions.

Change-Id: I8b268aaf4fe51f1709479a60919b987696f1a9a6
Issue-ID: APPC-1008
Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
5 years agoUnit tests APPC-443 33/54633/7
root [Wed, 13 Jun 2018 11:37:59 +0000 (12:37 +0100)]
Unit tests APPC-443

Unit test for request-handler

Change-Id: Ida894d4c9ba920a6b8b7e105caab7952bd3be420
Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
Issue-ID: APPC-443

5 years agoUnit test cases for iaas impl package 77/49477/9
Lathishbabu Ganesan [Mon, 28 May 2018 10:07:44 +0000 (11:07 +0100)]
Unit test cases for iaas impl package

Change-Id: Iac6167dca83413b7533cb65a73775a616866589c
Issue-ID: APPC-436
Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
5 years agoUpdate CDT Guide URL and Port 51/54851/2
Scott Seabolt [Thu, 14 Jun 2018 18:11:46 +0000 (14:11 -0400)]
Update CDT Guide URL and Port

Issue-ID: APPC-1006
Change-Id: I23db69e1262d259769f176e5bea90edd7d182936
Signed-off-by: Scott Seabolt <js9808@att.com>
5 years agoUpdate license header in appc xml files 13/54813/2
John McClung [Thu, 14 Jun 2018 14:17:19 +0000 (10:17 -0400)]
Update license header in appc xml files

More license header changes to miscellaneous appc xml files to reflect the 2018 changes.

Change-Id: Ia71a0711235ab56bf2cd83719964bc12d7aa420b
Issue-ID: APPC-1004
Signed-off-by: John McClung <jm1364@att.com>
5 years agoUpdate license header on appc-adapter xml files 61/54661/2
John McClung [Wed, 13 Jun 2018 17:07:38 +0000 (13:07 -0400)]
Update license header on appc-adapter xml files

Modify license header on appc-adapter xml and .code_styling xml files to reflect 2018 changes.  I also had to fix the xml_version line syntax for the .code_styling xml files.

Change-Id: I361f64d3d6edbf43b6c7ae06611f64ee183b7d82
Issue-ID: APPC-999
Signed-off-by: John McClung <jm1364@att.com>
5 years agoUpdate lic header in appc client and config xml 67/54667/3
John McClung [Wed, 13 Jun 2018 18:03:54 +0000 (14:03 -0400)]
Update lic header in appc client and config xml

Modify license header in appc-adapter xml, appc-client xml and appc-config xml files to reflect 2018 changes.

Change-Id: I1b7bd41a43ca5662ed4d293a33f468e443551fd7
Issue-ID: APPC-1000
Signed-off-by: John McClung <jm1364@att.com>
5 years agoUpdate license header in appc-dispatcher xml files 81/54681/2
John McClung [Wed, 13 Jun 2018 20:10:33 +0000 (16:10 -0400)]
Update license header in appc-dispatcher xml files

Modify license header in appc-dispatcher xml files to reflect 2018 changes.

Change-Id: If9df0812b1205c1edbfbdf6529d64032385cd2a4
Issue-ID: APPC-1002
Signed-off-by: John McClung <jm1364@att.com>
5 years agoMore lic header updates to various appc xml files 87/54687/2
John McClung [Wed, 13 Jun 2018 21:17:15 +0000 (17:17 -0400)]
More lic header updates to various appc xml files

Modify license header in appc-event-listener, appc-inbound, appc-lifecycle-management and appc-metric xml files to reflect 2018 changes.

Change-Id: I0e5d9eb55b92d9b4274f0ebc5c5a1044e451707c
Issue-ID: APPC-1003
Signed-off-by: John McClung <jm1364@att.com>
5 years agoUpdate license header in misc appc xml files 79/54679/4
John McClung [Wed, 13 Jun 2018 19:49:08 +0000 (15:49 -0400)]
Update license header in misc appc xml files

Modify license header in miscellaneous appc xml files to reflect 2018 changes.

Change-Id: Ia62d24370e152c23f3575c755ff88980fccc42d2
Issue-ID: APPC-1001
Signed-off-by: John McClung <jm1364@att.com>
5 years agofix dg-util test 25/51225/3
root [Tue, 12 Jun 2018 17:01:51 +0000 (18:01 +0100)]
fix dg-util test

Test in dg-util not recording code coverage fixed.

Change-Id: Ia018cf26616744fba633b7b983b9f9c080864ef9
Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
Issue-ID: APPC-418

5 years agoUpdate lic header in misc appc properties files 35/51235/2
John McClung [Tue, 12 Jun 2018 19:07:15 +0000 (15:07 -0400)]
Update lic header in misc appc properties files

Modify license header in miscellaneous appc properties files to reflect 2018 changes.

Change-Id: I21eb99f680ab4cbddbd7f8abe65720c87e2dbb33
Issue-ID: APPC-998
Signed-off-by: John McClung <jm1364@att.com>
5 years agoMore updates to lic header in appc properties 19/51219/2
John McClung [Tue, 12 Jun 2018 15:01:52 +0000 (11:01 -0400)]
More updates to lic header in appc properties

License header fixes to reflect 2018 changes in various appc-adapters, appc-client, appc-common, appc-config, appc-dg and appc-directed-graph java and properties files.

Change-Id: Idbe000f175e11ba42f6e83689a2b2d3d353be008
Issue-ID: APPC-996
Signed-off-by: John McClung <jm1364@att.com>
5 years agoUpdate lic header in appc dir graph properties 27/51227/1
John McClung [Tue, 12 Jun 2018 17:14:42 +0000 (13:14 -0400)]
Update lic header in appc dir graph properties

Modify license header in appc-directed-graph properties files to reflect 2018 changes.

Change-Id: I5ddf83e5bd03b033a04205c397a6805ed2ae1c91
Issue-ID: APPC-997
Signed-off-by: John McClung <jm1364@att.com>
5 years agoRemove lic header from appc sequence gen json file 71/51171/1
John McClung [Mon, 11 Jun 2018 21:50:54 +0000 (17:50 -0400)]
Remove lic header from appc sequence gen json file

The license header in the appc-sequence-generator json files are causing a json syntax error, so I am removing the license header to resolve this issues.

Change-Id: Ieea56a7af19e70788a14d5b05f88089a718a5307
Issue-ID: APPC-995
Signed-off-by: John McClung <jm1364@att.com>
5 years agoUpdate license header in misc appc files 45/51145/1
John McClung [Mon, 11 Jun 2018 17:02:39 +0000 (13:02 -0400)]
Update license header in misc appc files

More license header updates to miscellaneous appc files to reflect 2018 changes.

Change-Id: I1d1d020792942ffe2d3bbda6eae05c43831ffce1
Issue-ID: APPC-994
Signed-off-by: John McClung <jm1364@att.com>
5 years agoUpdate lic header in appc sdc-listener and seq-gen 81/51081/2
John McClung [Fri, 8 Jun 2018 19:30:09 +0000 (15:30 -0400)]
Update lic header in appc sdc-listener and seq-gen

Modify license header in appc-sdc-listener and appc-sequence-generator java files to reflect 2018 changes.

Change-Id: Ic8537a259b30949c200c47e050d11c3320163371
Issue-ID: APPC-990
Signed-off-by: John McClung <jm1364@att.com>
5 years agoUpdate Release Notes 61/51061/2
Scott Seabolt [Fri, 8 Jun 2018 15:28:08 +0000 (11:28 -0400)]
Update Release Notes

Issue-ID: APPC-358
Change-Id: Ib3b606d279850870675f68d54db63a91dd76dbf2
Signed-off-by: Scott Seabolt <js9808@att.com>
5 years agoUpdate license header in appc oam and outbound 39/51039/2
John McClung [Fri, 8 Jun 2018 12:46:47 +0000 (08:46 -0400)]
Update license header in appc oam and outbound

Modify license header in appc-oam and appc-outbound java files to reflect 2018 changes.

Change-Id: Icac084b8dd1e20387a298e568d1c5e44bbe851f6
Issue-ID: APPC-988
Signed-off-by: John McClung <jm1364@att.com>
5 years agoUpdate license header in appc-provider files 53/51053/2
John McClung [Fri, 8 Jun 2018 14:46:38 +0000 (10:46 -0400)]
Update license header in appc-provider files

Modify license header in appc-provider java files to reflect 2018 changes.

Change-Id: I753488510fef3a095ddbda2cacc600bbddc9a815
Issue-ID: APPC-989
Signed-off-by: John McClung <jm1364@att.com>
5 years agoUpdate license header in appc lifecycle and metric 83/50983/2
John McClung [Thu, 7 Jun 2018 21:03:10 +0000 (17:03 -0400)]
Update license header in appc lifecycle and metric

Modify license header in appc-lifecycle-management and appc-metric java files to reflect 2018 changes.

Change-Id: Ice8f28d669db07f0adcd470fe13a8a483577b77f
Issue-ID: APPC-986
Signed-off-by: John McClung <jm1364@att.com>
5 years agoUnit Tests for APPC Adapters 93/49093/8
root [Fri, 25 May 2018 09:17:02 +0000 (10:17 +0100)]
Unit Tests for APPC Adapters

onap/appc/adapter/iaas/provider/operation/impl/base classes
New test cases added to increase coverage to 96%

Change-Id: Ied377274d4407a3d0f0ccdfca9cbf2e11e46e1c8
Issue-ID: APPC-438
Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>