summaryrefslogtreecommitdiffstats
path: root/appc-config/appc-flow-controller/provider/src
AgeCommit message (Collapse)AuthorFilesLines
2019-03-06added file to test EscapeUtils.javaSandeep J1-0/+36
to increase code coverage Issue-ID: APPC-1086 Change-Id: I3c98deea811048097be6f87449d0f58b43b29be6 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-06added file to test Vnfcslist.javaSandeep J1-0/+58
to increase code coverage Issue-ID: APPC-1086 Change-Id: Id574d909b674b1bdad8b96663d3fdb66cc276ecd Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-05added file to test Vm.javaSandeep J1-0/+55
to increase code coverage Issue-ID: APPC-1086 Change-Id: I251cbcaa1566ad405198a8b8f6669f783aef260e Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-05added file to test TunableParameters.javaSandeep J1-0/+54
to increase code coverage Issue-ID: APPC-1086 Change-Id: I7844c0c99f1c9ad6e58a6bc7d8b71aee1ff0bd55 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-27Test coverage in FlowControlNodeJoss Armstrong2-93/+130
Increase line coverage from 72% to 92% Fix for Sonar major issue for branch coverage Issue-ID: APPC-1499 Change-Id: Ie73b6c97fcf50421ca6a73a8273c09ace0faf67f Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-27Test coverage in DBServiceJoss Armstrong2-5/+260
Increase coverage from 71% to 98% Fix for Sonar major issue on branch coverage Issue-ID: APPC-1499 Change-Id: I74261af92b3263a03d29d476ad097182e6112ad9 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-27Test coverage for ObjectFactoryJoss Armstrong1-0/+46
Increase coverage from 0% to 100% Issue-ID: APPC-1499 Change-Id: Ia6209174b99acdeb03698eea9fe96d51a2cccd13 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-26Line and branch coverage for TransactionJoss Armstrong2-55/+120
Increased line coverage from 54% to 99% Added coverage for 50 branches resolving major Sonar issue Issue-ID: APPC-1499 Change-Id: I10dba08c62247401ee4c9fb08fe65f3854445fb5 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-26Fix unit tests for PrecheckOptionJoss Armstrong1-8/+25
Increased line coverage to 100% Increased branch coverage to clear Sonar major warning Removed console logging and cleaned up assertions Issue-ID: APPC-1499 Change-Id: Ifc7163d2e112914749514099779bd5d75ba729c9 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-26Fixed tests on PreCheck classJoss Armstrong1-10/+23
Replaced console printing with assertions Added branch coverage to clear Sonar major warning Increased line coverage to 100% Issue-ID: APPC-1499 Change-Id: Ia027b9d7f414789816d80e12543d27a0baeed9c1 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-26Fix for timeout error when logging >1MB dataJoss Armstrong2-2/+34
Potentially large logs moved to TRACE level, INFO level logs limited in size and related tests updated Issue-ID: APPC-1489 Change-Id: I9ea85e64380479d835da03ed2af3e4ab96ece67e Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-26Test coverage for ParametersJoss Armstrong1-1/+14
Increased coverage to 100% Issue-ID: APPC-1499 Change-Id: I982023d9f818320f709da552d668b68e5ce0f7b3 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-26Test coverage for ActionIdentifierJoss Armstrong1-6/+17
Increased test coverage to 100% Issue-ID: APPC-1499 Change-Id: I78eee1fdc64840898e1b76984855a43828ee93b4 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-18Added test case for Flow Controller ActivatorLathishbabu Ganesan1-0/+87
Increased the code coverage from 0% to 97% Issue-ID: APPC-1429 Change-Id: Iada494daad7939b00c76fead73be864c6b40e045 Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2019-02-14Check vm-capabilites on vnf-level OS requestsLori Keighron2-2/+22
New per-vm capabilities checking is introduced for vnf-level OpenStack actions Additional changes per initial review. Additional changes in TestVnfc.java per second review. Change-Id: Idd1d834df076c1e525f596b788b69ed63ba9e66b Issue-ID: APPC-1380 Signed-off-by: Lori Keighron <lk2924@att.com>
2019-02-13Added test case for Flow control NodeLathishbabu Ganesan1-9/+59
Increased the test coverage from 0% to 77% Issue-ID: APPC-1414 Change-Id: Ib65618e67af478bf577b103a27ebf0aa34f8bec3 Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2019-02-12Added test coverage for GraphExecutorJoss Armstrong2-5/+143
Increased coverage to 97% Issue-ID: APPC-1419 Change-Id: I3d505d53a95f4f8605041b21bf6c868b8652d7a5 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-08Changes to config bundle for vnf level enhancementGeorge, Lina (lg941u)12-636/+731
Issue-ID: APPC-1380 Change-Id: Icfdc202a4763b7e708007573505e5b3be9d1454e Signed-off-by: George, Lina (lg941u) <lg941u@att.com>
2019-01-18made changes to existing test caseSandeep J1-91/+98
to increase code coverage Issue-ID: APPC-1086 Change-Id: I521d6770ee383d78a005bd9ce8c77c6682e14678 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
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>