Sandeep J [Wed, 8 Aug 2018 11:52:02 +0000 (17:22 +0530)]
added test case to TestConvertNode.java
to increase code coverage
Issue-ID: APPC-1086
Change-Id: If2320397a735dd4f510350802df631cb132145e8
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
Sandeep J [Tue, 7 Aug 2018 10:15:05 +0000 (15:45 +0530)]
added test cases to TestDGGeneralDBService.java
to increase code coverage
Issue-ID: APPC-1086
Change-Id: I309985d0b7d9cbfa60d3e1082afd84aaf9631ef1
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
Sandeep J [Mon, 6 Aug 2018 10:22:34 +0000 (15:52 +0530)]
added test case to TestSignal.java
to increase code coverage
Issue-ID: APPC-1086
Change-Id: Ief0a74d2132295258c1a198309e310c235cad923
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
Ryan Young [Tue, 7 Aug 2018 22:33:24 +0000 (18:33 -0400)]
add property to skip karaf feature test
SingleFeatureTest results in ClassNotFoundException: ResolutionException
(no security manage: RMI class loader disabled)
Change-Id: I58ac5947557276ccc0c7add7cb4c9394418cfa26
Signed-off-by: Ryan Young <ry303t@att.com>
Issue-ID: APPC-1045
Sandeep J [Tue, 7 Aug 2018 11:51:05 +0000 (17:21 +0530)]
updated existing test in TransactionTest.java
to increase code coverage
Issue-ID: APPC-1086
Change-Id: I2a16e144489647a011735bad462665690eeba368
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
Sandeep J [Tue, 7 Aug 2018 10:32:18 +0000 (16:02 +0530)]
Added test cases to ConfigResourceNodeTest.java
to increase code coverage
Issue-ID: APPC-1086
Change-Id: Iebffd1a614c286f50fca9b3159107d6e08a06670
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
Sandeep J [Tue, 7 Aug 2018 11:09:45 +0000 (16:39 +0530)]
added test case to TestEncryptionTool.java
to increase code coverage
Issue-ID: APPC-1086
Change-Id: Icf3522dee487c4ab876e11f201ad160c6be3831d
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
Sandeep J [Fri, 3 Aug 2018 11:44:35 +0000 (17:14 +0530)]
added test case to DefaultConfigurationTest.java
to increase code coverage
Issue-ID: APPC-1086
Change-Id: I4b0f1f352fa8b90810b7efc145e83edebff913da
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
Sandeep J [Fri, 3 Aug 2018 12:23:53 +0000 (17:53 +0530)]
added test case to PoolTest.java
to increase code coverage
Issue-ID: APPC-1086
Change-Id: Ibbafa33ed726dff65cbc3528bf09d9cf68d97eb3
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
Sandeep J [Mon, 6 Aug 2018 11:11:37 +0000 (16:41 +0530)]
updated existing test case to increase coverage
updated existing test case to increase code coverage
Issue-ID: APPC-1086
Change-Id: I3cec480ee68d5dc1aefd1aa8760ca70b485845b4
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
Sandeep J [Mon, 6 Aug 2018 10:57:51 +0000 (16:27 +0530)]
added test case to TestStructuredPropertyHelper
to increase code coverage
Issue-ID: APPC-1086
Change-Id: I27a84f312fcdaed2ff85c686d2fa2e39884b6224
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
Dilip kumar Pampana [Mon, 6 Aug 2018 17:44:56 +0000 (13:44 -0400)]
Junits for inbound/InterfaceServices
Code Coverage for appc-Inbound/InterfaceServices
Issue-ID: APPC-1132
Change-Id: Idd36429115f2d324fded4ab4106226cfad33bb65
Signed-off-by: Dilip kumar Pampana <dilip.kumar.pampana@ibm.com>
Patrick Brady [Mon, 6 Aug 2018 16:19:22 +0000 (09:19 -0700)]
Revert query changes
The changes between patch 3 and patch 4 of this commit
https://gerrit.onap.org/r/#/c/55093, where the parameters
are sent to the SvcLogicContext instead of values, breaks
the save functionality in cdt. When SvcLogicContext is
allowed to subsitute the values, the StringUtils.isEmpty
functions are skipped over.
Although it appears this change is changing a parameterized
query to a static statement query, in fact the query is not
parameterized in its current form either. In its current form,
SvcLogicContext is just subsituting the values into a static
statement query. SvcLogicContext does perform a simple single
quote escape, which could be duplicated here.
Change-Id: If3ffceed5ad147c402355ffef17a8abf0752d5b1
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue-ID: APPC-1107
Sandeep J [Mon, 6 Aug 2018 11:37:16 +0000 (17:07 +0530)]
added test case to ConfigResourceNodeTest.java
to increase code coverage
Issue-ID: APPC-1086
Change-Id: Ie87a796113a818a2454f8f2e339563ac062ee627
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
Sandeep J [Wed, 1 Aug 2018 19:39:04 +0000 (01:09 +0530)]
added test case to TestAaiService.java
to increase code coverage
Issue-ID: APPC-1086
Change-Id: I5af628ec75f5dc16eac289fcaae4d62456b3edb0
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
Sandeep J [Fri, 3 Aug 2018 13:41:30 +0000 (19:11 +0530)]
added test case to TestPropertyDefinitionNode.java
to increase code coverage
Issue-ID: APPC-1086
Change-Id: I74760fd2d97c4ef429e5f9d6f6eff0297ccec17e
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
Sandeep J [Fri, 3 Aug 2018 13:06:41 +0000 (18:36 +0530)]
added test case to TestStructuredPropertyHelper
to increase code coverage
Issue-ID: APPC-1086
Change-Id: I00237d24ef2fac893e7c1867e4aa38ba026e9a16
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
Sandeep J [Fri, 3 Aug 2018 11:03:46 +0000 (16:33 +0530)]
added test case to TestSignal.java
to increase code coverage
Issue-ID: APPC-1086
Change-Id: Iba603fd695d9f5e2a70fa08f07272e407d0db00c
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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
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>
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>