aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-04-22Escape quotes in json stringsPatrick Brady1-2/+11
The JSONObject parser strips all text of backslash escape characters, even if it is treaing the object as a string and not a series of json keys. If a string contains a json object within it, the removal of these escape characters causes problems. Adding the JSONObject.quote method on all strings to automatically add escape characters to any strings which contain characters requiring escapes. Change-Id: Ifac68844dd132971ba35803f1b9c03a5372bd500 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1576
2019-04-16Fixed issue with FileParameters supportLukasz Rajewski1-4/+4
Generic_AnsibleDG has missing support for FileParameters payload parameter. It is added with this fix. Change-Id: I71570c87a6a24934f4f975afd5f36eebced4d3e8 Issue-ID: APPC-1574 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
2019-04-11added test cases to MetricRegistryImpl.javaSandeep J1-0/+14
to increase code coverage Issue-ID: APPC-1086 Change-Id: I8804c14c88fe0857be7106edd621ee74f4dd1243 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-04-11added file to test DispatchingFuntionMetricImplSandeep J1-0/+43
to increase code coverage Issue-ID: APPC-1086 Change-Id: I179c0d74f9ed14a34a02bb9eb0f31c51ca3f415c Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-04-11added file to test DispatchingFunctionMetric.javaSandeep J1-0/+44
to increase code coverage Issue-ID: APPC-1086 Change-Id: Id99ba5312e98987aea8d38040f6d8ce23264523a Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-04-11added file to test DefaultPrimitiveCounter.javaSandeep J1-0/+45
to increase code coverage Issue-ID: APPC-1086 Change-Id: I9af062fee4122acb0a87dbc9f0bd1cd3b5198e62 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-04-10added test case to TestRestartServer.javaSandeep J1-0/+10
to increase code coverage Issue-ID: APPC-1086 Change-Id: Id64f507cb3cb4102c79dfb5c454785ac2814cec5 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-04-10added file to test ActionIdentifier.javaSandeep J1-0/+44
to increase code coverage Issue-ID: APPC-1086 Change-Id: Iba0884ae878488575cda665ed15cca5b301b6b03 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-04-10added file to test ScopOverlap.javSandeep J1-0/+48
to increase code coverage Issue-ID: APPC-1086 Change-Id: I21695f6515653e79a7bc09a462ce181aa617105b Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-04-10added file to test Request.javaSandeep J1-0/+44
to increase code coverage Issue-ID: APPC-1086 Change-Id: I0afa6d99ba65243bfbae419d075800ecc45aafb6 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-04-10Fix for Ansible Healthcheck bugJoss Armstrong3-327/+248
Update to directed graph and merge JSON template code Issue-ID: APPC-1472 Change-Id: I4332ad74d34f455261b1c001339d0542be4514fc Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-04-09added test case to TestConnectionBuilder.javaSandeep J1-0/+6
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ie7d84cc28ebd112c2ce224cd6c544939ef376ed1 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-04-09removed sonar vulnerabilities in ServiceExecutorSandeep J1-2/+3
to increase code coverage Issue-ID: APPC-1567 Change-Id: Iada27e5e4d40d090275d35dfb3e586fe019cb207 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-04-07Removed unused importsJegadeesh Babu1-2/+1
Sonar fix Issue-ID: APPC-1567 Change-Id: Iec6ce8b197e958e69e108708c056f00cca3b9c66 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-04-04added test case to DmaapOutgoingMessageTestSandeep J1-0/+8
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ia441f83ad6602a89d81e5c66b0120a6c857672c4 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-04-04added test cases to DBServiceTest.javaSandeep J1-0/+21
to increase code coverage Issue-ID: APPC-1086 Change-Id: I149ad0ee6354822fcb9712fe12ad22885b65cf8e Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-04-04added test case to TestController.javaSandeep J1-0/+12
to increase code coverage Issue-ID: APPC-1086 Change-Id: Id6718c61982a477373c8a5af76f7c7d6a61c43c1 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-04-04added test case to InputBodyTest.javaSandeep J1-0/+9
to increase code coverage Issue-ID: APPC-1086 Change-Id: I3406fedf206902eba8374dbc47852bc28bfdeccf Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-04-03RequestContext.java - sonar fixesDriptaroop Das1-1/+2
RequestContext.java - sonar fixes Issue-ID: APPC-1564 Change-Id: I334c1f07403cf246efb3413639fdb26cc08556af Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2019-04-03ExecuteNodeActionImpl is not instatiateTaka Cho1-123/+103
Remove getVersionRelation back to getVnfHierachy Change-Id: Ia5c837bd6a75eb6397959f260a89cc5466ce3e42 Issue-ID: APPC-1542 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-04-02Addtional Test Cases added InventoryModel.javaSudarshan Kumar1-0/+9
Addtional Test Cases added InventoryModel.java Issue-ID: APPC-1372 Change-Id: If131ad2d9a5a906b9741426d0c22399c98c3524a Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-04-02added file to test CommonMessage.javaSandeep J1-0/+58
to increase code coverage Issue-ID: APPC-1086 Change-Id: I4cf3a640031a60a34c829ecb039325d6194fa682 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-04-02added file to test IncomingMessage.javaSandeep J1-0/+44
to increase code coverage Issue-ID: APPC-1086 Change-Id: Id73082a54060af0b9a4ce8f3bda05cde824bf481 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-04-02added file to test DmaapOutgoingMessage.javaSandeep J1-0/+60
to increase code coverage Issue-ID: APPC-1086 Change-Id: I81df38037a182db5135f8d6c7b462a42891f9d36 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-04-02Used constants to avoid dup of literalsJegadeesh Babu1-5/+7
Sonar fix Issue-ID: APPC-1562 Change-Id: Ic9d14b32f4deac975b46154a2ac8e4664ec11c52 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-04-02Reordered the modifier as per java standardJegadeesh Babu1-2/+4
Sonar fix Issue-ID: APPC-1563 Change-Id: I9a4b82ca67b5c7f5184457b95c347089de728658 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-04-01added test case to RequestModelTest.javaSandeep J1-0/+6
to increase code coverage Issue-ID: APPC-1086 Change-Id: I56c2e94a888f0f01f0bed36fbc966dce0cb69b84 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-04-01added test case to RequestDataTest.javaSandeep J1-0/+10
to increase code coverage Issue-ID: APPC-1086 Change-Id: I646694445953c690fb4c8e336346deb3f5e3b4df Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-28remove appc-test-dependencyTaka Cho2-14/+11
there are two poms having appc-test-dependency Change-Id: I9e096601bf92c05ac6ff93ddd9d436c82a5ecb39 Issue-ID: APPC-1559 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-03-28remove cassandra-drive-coreTaka Cho1-0/+6
remove cassandra-drive-core from appc-yang-generator Change-Id: Ied5ca0e393d22b5a4ee059dfe58904dd971df4f6 Issue-ID: APPC-1553 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-03-28Remove test dependencies projectPatrick Brady3-91/+0
The test dependencies project is not used Change-Id: I0a4f2440eede5a62421964b84f9502e00affcadf Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1559
2019-03-28added test case to DBServiceTest.javaSandeep J1-0/+16
to increase code coverage Issue-ID: APPC-1086 Change-Id: I02b723e7f9aa83e2f7f51aa5a9c8883ac149299c Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-28added file to test Input.javaSandeep J1-0/+45
to increase code coverage Issue-ID: APPC-1086 Change-Id: I79d0fc71d512b440232ec31cb195c6728d11f5dc Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-28added test cases to TestVServerInfo.javaSandeep J1-0/+19
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ib6fb537e576f928552763ec0e6d1abf2d556f00a Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-28added file to test RequestData.javaSandeep J1-0/+51
to increase code coverage Issue-ID: APPC-1086 Change-Id: If2270ea76a0a15ae7c6f5d1d580574937be186fd Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-28added file to test RequestModel.javaSandeep J1-0/+51
to increase code coverage Issue-ID: APPC-1086 Change-Id: If2270ea76a0a15ae7c6f5d1d580512456be198fd Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-28added file to test ScopeOverlapModel.javaSandeep J1-0/+45
to increase code coverage Issue-ID: APPC-1086 Change-Id: I293349c249082e176b211d0ffa8bee04cc7660b5 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-27ConfigComponentAdaptor.java - Sonar FixesDriptaroop Das1-25/+10
ConfigComponentAdaptor.java - Sonar Fixes Issue-ID: APPC-1560 Change-Id: Ia22fc64e378ffb3a206eed256f0a9ab7365381cd Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2019-03-27Used constants in the place of dup literalsJegadeesh Babu1-4/+5
Sonar fix Issue-ID: APPC-1557 Change-Id: I4b52b9febabd0fae8aa098004aeba0ef9a085710 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-03-27Used constants to replace duplicated literalsJegadeesh Babu1-7/+11
Sonar Fix Issue-ID: APPC-1555 Change-Id: I3943003c7fa37aed95e138f03a3fe4b8f48b75ce Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-03-27remove nexus-staging maven pluginTaka Cho1-12/+0
remove nexus-staging-maven-plugin on the top of pom file Change-Id: I50b22c2d1e8e3e663314f701a22de5471224c5b3 Issue-ID: APPC-1561 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-03-27Fix incorrect passing of SvcLogicContext valueJoss Armstrong1-5/+3
EncyrptionToolDGWrapper changes for Multiple Ansible server support not working when retrieving data from SvcLogicContext used for querying DEVICE_AUTHENTICATION table. Issue-ID: APPC-1545 Change-Id: I8f08910156d6e2b4ae6341c847bc773e4d15841e Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-03-26Added constant to replace dup literalsJegadeesh Babu1-6/+9
Sonar fix Issue-ID: APPC-1558 Change-Id: I98e36669f5d247a8fe8a9c38d6e5724e76284487 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-03-26added test cases to ArtifactHandlerProviderTestSandeep J1-5/+22
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ic03b32bc4c8b87a76db2e2aae45f7706f19e9bd4 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-26added test cases to TestVServerInfo.javaSandeep J1-0/+15
to increase code coverage Issue-ID: APPC-1086 Change-Id: I1141fa522e3c4943c2a51d9c585cdcaa0186b373 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-26added test case to DBServiceTest.javaSandeep J1-1/+9
to increase code coverage Issue-ID: APPC-1086 Change-Id: I202822e53c2086b5db41a8028410c07c46821d1d Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-26remove cassandra-driver-coreTaka Cho1-6/+0
In appc-config-param, remove cassandra-driver-core to avoid security vulnerability for guava and netty-handler Change-Id: I660ae35c4abbc9537e9f9bf5e18fd630e111ca93 Issue-ID: APPC-1553 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-03-25Created constant to replace dup String literalJegadeesh Babu1-3/+5
Sonar fix Issue-ID: APPC-1554 Change-Id: I8ff882baf26e765b9b8bcf23bcc37b11a3567ded Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-03-23Add back bundlesPatrick Brady1-0/+8
The newest ccsdk update removed some bundles that were required by appc. This adds bundle entries to bring up those bundles. Change-Id: I5ff802ee4837d1a5a6bcaffcb0805e41d95d6918 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: CCSDK-1156
2019-03-22Potential Null pointer exception avoidedJegadeesh Babu1-4/+3
Sonar fix Issue-ID: APPC-1552 Change-Id: I8f5e6386bd96a136f49ba651aed8fb209bed9435 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>