summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-05-13Update message format for vFirewallPatrick Brady5-66/+26
The message format coming from policy has changed. This is the corresponding update for appc to match the message format. Change-Id: I8827e6c372be77dc69c0ee3579a002fde2515848 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1603
2019-05-10Add ConfigModify to if statementPatrick Brady1-8/+10
Requests from cdt with the action set to ConfigModify did not have entries added to the device interface protocol table. With this change the entry will be made in the table. Change-Id: I29835554a0ebf2fea29f1c8745b99ac1813c0d7d Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1593
2019-05-08Change rest healthcheck to use appc parent pomsPatrick Brady7-152/+184
Change appc-rest-healthcheck over to the new style of features using the org.onap.appc.parent pom files as parents. Change-Id: I781754f3ad5c31a937d17449ff46320d60db4975 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1586
2019-05-02Add method to escape json stringsPatrick Brady3-0/+86
All backslash escape characters are being stripped out of strings. They need to be added back to strings containing json data. Change-Id: Ic8d9ba95da904b96f65598752133971f8c324694 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1576
2019-04-30Fix for extra json quotesPatrick Brady1-1/+1
Substring method output was being lost, causing extra quotes to stay in the String. Change-Id: I35e9eee60756b7b743386600e3ab1d203cca036a Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1576
2019-04-30Fixed publish config issueLathish2-2/+12
Issue-ID: APPC-1588 Change-Id: I63e75c415d7f33c750eaad6799234e03741ad290 Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2019-04-30Fixed public config issue in AuditLathish2-3/+3
Issue-ID: APPC-1587 Change-Id: I7caa7fbf85f8a49beb5fc957c9372445f0d5e7ef Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2019-04-26Increment snapshot versionPatrick Brady254-275/+275
Change from 1.5.0-SNAPSHOT to 1.6.0-SNAPSHOT to prepare for next development cycle. Change-Id: I187785ab4b11a37815289d20ba802c48e86cee7f Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1585
2019-04-26Fixed the package name in Audit DGLathish1-1/+1
Issue-ID: APPC-1584 Change-Id: I07a2b18b66c6e446324b37b5112e1839c197e538 Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2019-04-24remove commons-codec hardcodedTaka Cho1-5/+0
remove 1.9 version commons-codec Change-Id: I8ea5ca9c017b2d2b8917e38e2666996c5227d40b Issue-ID: APPC-1579 Signed-off-by: Taka Cho <takamune.cho@att.com>
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>