summaryrefslogtreecommitdiffstats
path: root/appc-config/appc-flow-controller/provider/src
AgeCommit message (Collapse)AuthorFilesLines
2018-10-11Code Fix for exceptionBalaji, Ramya (rb111y)1-8/+0
Removed code added for debug purposes to show parameters in payload as it causes exception at run-time. Issue-ID: APPC-1215 Change-Id: Ib20b7616a3a24beb540910a58a1fb582788fbe57 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-09-19Changes to identity-url for multistep flowGeorge, Lina (lg941u)3-12/+10
Change-Id: I82f1d4302ebd4ad53d7f1f0b78b16f98ee8916f9 Issue-ID: APPC-1186 Signed-off-by: George, Lina (lg941u) <lg941u@att.com>
2018-09-11added test case to TestParsingNode.javaSandeep J1-21/+28
to increase code coverage Issue-ID: APPC-1086 Change-Id: I1b37fa65a8cb8182f0f6f1af810c4cdddfa30ef0 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-07updated existing test in TransactionTest.javaSandeep J1-2/+39
to increase code coverage Issue-ID: APPC-1086 Change-Id: I2a16e144489647a011735bad462665690eeba368 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-26added test case to TransactionTest.javaSandeep J1-2/+24
added test case to increase code coverage Issue-ID: APPC-1086 Change-Id: Ib02211122e9d662387858c70876f3784e65ec0ce Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-24added test case to PreCheckTest.javaSandeep J1-72/+87
added test case to increase code coverage Issue-ID: APPC-1086 Change-Id: I51aff34afc47db330c773431d59a5e30cea74d79 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-19Junit tests for config/flowControllerDilip kumar Pampana4-121/+276
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>
2018-07-11junits for DefaultResponseHandlerTomasz Gwozdecki1-3/+36
-Added new test for DefaultResponseHandler Change-Id: Iee616c2a73eee3b130bbc68a16055355ecf4eab9 Issue-ID: APPC-975 Signed-off-by: Tomasz Gwozdecki <tomasz.gwozdecki@nokia.com>
2018-06-22Changes needed for MultiStep ActionsBalaji, Ramya (rb111y)14-115/+165
Issue-ID: APPC-921 Change-Id: I6abee6fbc389dde0be9e5e963524a2ab2b9cb823 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-06-13More updates to lic header in appc propertiesJohn McClung1-1/+0
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>
2018-06-07junits for DefaultResponseHandlerTomasz Gwozdecki1-0/+60
-Added new test class DefaultResponseHandler Change-Id: I75188603117b9b524ce86c4f13bca5803d6ae715 Issue-ID: APPC-975 Signed-off-by: Tomasz Gwozdecki <tomasz.gwozdecki@nokia.com>
2018-06-04Update license header in appc-flow-controller fileJohn McClung39-77/+38
Modify license header in appc-flow-controller files to reflect 2018 changes. Change-Id: Ia921dedf359cca00b3209b29f75d649ffec38a3e Issue-ID: APPC-963 Signed-off-by: John McClung <jm1364@att.com>
2018-05-23Healthcheck bug fixesBalaji, Ramya (rb111y)2-10/+27
Fixed code to set userid and password correctly. Also set the url in context when passed in reference artifact. Issue-ID: APPC-917 Change-Id: Iba5a873cc311ab5677b6223c08865c048dbdcf00 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-05-21Bug fix in HealthcheckBalaji, Ramya (rb111y)1-5/+2
Code was changed to make subcontext mandatory. This is not a mandatory field/property and code changes are needed to reflect this. Issue-ID: APPC-915 Change-Id: I5b94572907a1f56980e1dbc8f238f29458360588 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-04-03Added tests for appc.flow.Responsekurczews1-0/+83
Issue-ID: APPC-442 Change-Id: Ie42cf7a2ec83ceeed94f567874cf4a634e6bb8c9 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-04-03Added tests for appc.flow.Transactionkurczews1-0/+213
Change-Id: Ia28c21c0d93229ddd71c2c48f756cd325136e59d Issue-ID: APPC-442 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-04-03Added tests for appc.flow.ResponseActionkurczews1-0/+88
Change-Id: I9f4d39c609ff2069edb1634a13b10e96f08bfd7b Issue-ID: APPC-442 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-04-03Added tests for appc.flow.Transactionskurczews1-0/+66
Change-Id: I00a683484f8a6e8a97e661a421382dafeb0e8237 Issue-ID: APPC-442 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-03-30Changes to get properties from southbound propfileGeorge, Lina (lg941u)7-365/+383
Issue-ID: APPC-816 Change-Id: If08eb895526ba3998faf059be9b9c595b0f82b4d Signed-off-by: George, Lina (lg941u) <lg941u@att.com>
2018-03-28Add junit coverage for three classesNeha Sood3-0/+250
Issue-ID: APPC-806 Change-Id: I5dc4da5fcd2325c6915b86a7f1c26d3a0f69cf9b Signed-off-by: Neha Sood <ns189k@att.com>
2018-03-23Add Junit coverage for ActionIdentifier classNeha Sood1-0/+91
Introduce junit tests for ActionIdentifier class Change-Id: If14abe7b165d310d693d0d3ea04b563c0b68edd4 Issue-ID: APPC-777 Signed-off-by: Neha Sood <ns189k@att.com>
2018-03-22Split sequence generation to classesskurczews21-436/+1039
* Delegate original logic to separate clasess * Introduce InputParamsCollector * Introduce CapabilitiesDataExtractor * Add coverage for changes Change-Id: Ibb35dfb67306f789950c3b77362c5d79a3b6da63 Issue-ID: APPC-440 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-03-19Code changes to fix ExceptionBalaji, Ramya (rb111y)4-6/+94
Reverted changes to method name in Transaction.java to getuId() as this caused incorrect attributes to be added to the generated JSON. Added unit test to ensure this works as expected in the future. Issue-ID: APPC-760 Change-Id: I07adcda0b5f04bd00efc113b94c68f48af13ad78 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-03-15Add junit coverage to EncryptionTool classLori Keighron1-0/+75
Introduce junit-tests for EncryptionTool class Change-Id: Iced5222f99d4af8b8ae5d0a75885c075a7291190 Issue-ID: APPC-726 Signed-off-by: Lori Keighron <lk2924@att.com>
2018-03-13Improve coverage FlowControlNode #8kurczews2-23/+58
* refactor & test dependency info method * extract get flow sequence method Change-Id: I6c9ab49676b6c325196ec179e863038550b5dad6 Issue-ID: APPC-440 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-03-12Improve coverage FlowControlNode #7kurczews2-47/+97
* refactor & test capabilities data method Change-Id: I523d07e283a347a4ad16f3babc8a25e0dd5a6acc Issue-ID: APPC-440 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-03-09Improve coverage FlowControlNode #6kurczews4-74/+257
* Extract InventoryInfoExtractor as util class * Add test coverage Change-Id: I24f16feddacb6a9898e9c81aa036ba3eafed2967 Issue-ID: APPC-440 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-03-06Improve coverage FlowControlNode #5kurczews3-498/+498
* cleanup formatting shorten constants * Change-Id: Iddc632ae9c3893622c1ba0ce937c2971b792fe37 Issue-ID: APPC-440 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-03-01Improve coverage flow/controller/node #4kurczews2-37/+103
Issue-ID: APPC-440 Change-Id: Iee74ce27c3978d265fccc79dacaf8df965768a36 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-02-26Improve coverage flow/controller/node #3kurczews10-124/+338
Issue-ID: APPC-440 Change-Id: I3ffea4577747f5de3e4eb74a91d4485442474441 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-02-21Improve coverage flow/controller/node #2kurczews7-40/+128
* Extract TransactionHandler util class * Minor cleanup Issue-ID: APPC-440 Change-Id: I73d2ced81713daf36523e6b9d7de3bf19c98c9a1 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-02-20Update .properties and .xml files with licenseSkip Wonnell1-1/+22
Change-Id: I551f9e9033de2f13028f28ad434003d61102d54f Issue-ID: APPC-637 Signed-off-by: Skip Wonnell <skip@att.com>
2018-02-16Improve coverage in flow/controller/nodekurczews11-327/+489
* Extract separate class for property loading * Extract separate class for extracting uri * Add coverage for changes above Change-Id: Ibffa09c96aef2764188cba69bf8cb559c8a9c10e Issue-ID: APPC-440 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-02-14FlowControlDBService sonar fixesJakub Dudycz1-120/+159
Change-Id: I522d6e9e4f581687ce36bf7873c4fb4643f33244 Issue-ID: APPC-592 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-14CheckStyle corrections onlywejs5-187/+258
Files from module: appc-config-flow-controller-provider Change-Id: I8eb7b99642b8b7f58ceda384593b750344c79392 Issue-ID: APPC-618 Signed-off-by: wejs <maciej.wejs@nokia.com>
2018-02-14Sonar fixes - appc-config-flow-controller-providerwejs5-147/+135
Fixes inlude changes in: DefaultResponseHandler EncryptionTool EscapeUtils FlowControllerConstants FlowControllerActivator Change-Id: Ic22db7a53697f1869da248a0351593edf9bdf187 Issue-ID: APPC-618 Signed-off-by: wejs <maciej.wejs@nokia.com>
2018-02-14GraphExecutor sonar fixesJakub Dudycz1-51/+27
Change-Id: I9beb33b853ae0be159c1cc0bf81ec893893ec95f Issue-ID: APPC-616 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-09Sonar fixes in RestServiceNodewejs7-245/+287
Fixes inlude changes in other files where needed Test coverage provided Change-Id: Id079bb9c5e5596efb11809b3185bdde8edb11fd2 Issue-ID: APPC-525 Signed-off-by: wejs <maciej.wejs@nokia.com>
2018-02-09Sonar fixes in FlowControlNodewejs1-124/+71
Fixes of critical and some other sonar issues. Change-Id: I1782500297546ec6b9a049e051681f406aff3197 Issue-ID: APPC-525 Signed-off-by: wejs <maciej.wejs@nokia.com>
2018-02-07Update java files with correct license textSkip Wonnell39-666/+705
Change-Id: I95dab947ad10ec85ae4234aa3396dd374e313739 Issue-ID: APPC-575 Signed-off-by: Skip Wonnell <skip@att.com>
2018-02-07Sonar fixes in RestServiceNode Part2wejs3-77/+44
Additionally lesser changes in JsonParsingNone and FlowGenerator Change-Id: Id4a31df9c3c902d33522114c7e2d82654e60a352 Issue-ID: APPC-525 Signed-off-by: wejs <maciej.wejs@nokia.com>
2018-01-25Fix in FlowControllerConstantsburdziak1-12/+12
Change-Id: I115dba088bff28e0252f4e06815977c727e6a254 Issue-ID: APPC-511 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
2018-01-09Updates to config flow-controller bundleGeorge, Lina (lg941u)7-402/+691
Issue-ID: APPC-378 Change-Id: Ie2d649c54abac69d721e60bc64ab9fa23eef5ca0 Signed-off-by: George, Lina (lg941u) <lg941u@att.com>
2017-12-21enahance Sonar coverage rateTaka11-26/+0
Change-Id: I08fbb09495a400cdfb85489ed2f964d6c63aa737 Issue-ID: APPC-323 Signed-off-by: Taka <tc012c@att.com>
2017-12-19Update bundle names from openecomp to onapTakamune Cho1-12/+12
Change-Id: Ib0cf4edbab87a32c9d83cc9473412feb77b27a0e Issue-ID: APPC-13 Signed-off-by: Takamune Cho <tc012c@att.com>
2017-12-13Second part of onap renamePatrick Brady42-0/+0
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
2017-12-13First part of onap renamePatrick Brady42-124/+124
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
2017-12-04Correcting or skipping testsPatrick Brady3-1/+13
These tests seem to be designed to timeout and fail. The resulting exception is either caught or put as an expectation of the test. The tests do not actually test anything and are causing 30 minutes of build delay. Change-Id: I177839c0f08f2c4bd8895e0626f49476b4ed7e85 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-276
2017-09-20Sonar BlockerShubhada Ramkrishna Vaze1-0/+11
Sonar Blocker for PrecheckOption.java Change-Id: Ic499d7af6c90cd692e8362ba4f7d2f5d65d48471 Issue-ID: APPC-223 Signed-off-by: Shubhada Ramkrishna Vaze <SV00449682@TechMahindra.com>
2017-09-19Fix Blocker/Critical sonar issuesshashikanth1-39/+41
Fix Blocker/Critical sonar issues in appc module https://sonar.onap.org/component_issues?id=org.openecomp.appc%3Aappc#resolved=false|severities=BLOCKER Fixed null pointer exceptions for localContext and removed redundant check for localContext Issue-Id: APPC-186 Change-Id: I38223655d69b89f6828fbdc7f3f388031e22f412 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>