aboutsummaryrefslogtreecommitdiffstats
path: root/appc-config/appc-flow-controller/provider/src
AgeCommit message (Collapse)AuthorFilesLines
2020-04-08lowered code smellsRupinder1-1/+0
Removed some unused imports Issue-ID: APPC-1859 Change-Id: Ida19cc613baf2a8d95c6b0f3e91e7a739fa322fe Signed-off-by: Rupinder<rupinsi1@in.ibm.com>
2020-04-08Lowered code smellsRupinder2-5/+0
Removed unused imports Issue-ID: APPC-1859 Change-Id: Idcd49f4b9c0ee28ec46ccbb298d957c656900ad8 Signed-off-by: Rupinder<rupinsi1@in.ibm.com>
2020-01-29add new action ConfigScaleInyongqiangliu3121-1/+4
Change-Id: Iae4bb797c4e86f66e5e3101fc6715fc2c2be470f Issue-ID: APPC-1760 Signed-off-by: Taka Cho <takamune.cho@att.com> Signed-off-by: Patrick Brady <patrick.brady@att.com>
2019-11-19Apply defect and Fortify fixes to config bundle codeKeighron, Lori (lk2924)6-6/+23
Apply defect and Fortify fixes to config bundle code Change-Id: I30ec12950c8e2ddcee8a643a9b74a06486c7d6bf Issue-ID: APPC-1787 Signed-off-by: Keighron, Lori (lk2924) <lk2924@att.com>
2019-08-30Updated jersey from com.sun.jersey to org.glassfish.jerseyvmuthukrishnan2-45/+53
ODL upgrade Change-Id: I1167ad7cdb429c9c3e2808db820e3fc26e605383 Signed-off-by: vmuthukrishnan <vmuthukrishnan@aarnanetworks.com> Issue-ID: APPC-1630
2019-07-24Prepared statements for DG servicesPatrick Brady7-348/+569
Convert sql queries to prepared statements in other parts of appc. Change-Id: If29225394de2ab286e4f2f7bdd17f6af6b286576 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: OJSI-25
2019-03-20Suppression of long logs in GraphExecutorJoss Armstrong1-1/+13
Logging full configuration files to info log was causing failures and timeouts on configuration operations in APPC. Some were removed already under this JIRA but this one was missed. Issue-ID: APPC-1489 Change-Id: I619f2d1140095859092d6ceff6c7cb44855fb2e1 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-03-15added file to test Input.javaSandeep J1-0/+45
to increase code coverage Issue-ID: APPC-1086 Change-Id: I0878084535f77d1be78c82248d597660bb57ddaa Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-14added test case to VmTest.javaSandeep J1-0/+6
to increase code coverage Issue-ID: APPC-1086 Change-Id: I21c87ab20f6c3faee200fcf2d25120175f58e2c5 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-14added test case to TunableParametersTest.javaSandeep J1-0/+6
to increase code coverage Issue-ID: APPC-1086 Change-Id: I0ad33fb62276caeb91e08cd1d0aef7a2e2c39864 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-11added file to test EnvVariables.javaSandeep J1-0/+42
to increase code coverage Issue-ID: APPC-1086 Change-Id: I0ccef8fe411dec8a699152d7710ac83683c5cb72 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
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>