summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-07-26add new reboot LCM APITaka Cho1-0/+58
In R3, AT&T contributes a new lcm api: reboot this is for adding reboot LCM API into readdoc Change-Id: I3bb9e338d78424005aa6b1584073db101ae7f337 Issue-ID: APPC-1034 Signed-off-by: Taka Cho <tc012c@att.com>
2018-07-26added test case to JsonDgutilImplTest.javaSandeep J1-3/+23
added test case to increase code coverage Issue-ID: APPC-1086 Change-Id: Ib2bb400348ebde7200d46e1f05775be6fbe298cd 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-25added some more test cases to TimeTest.javaSandeep J1-5/+26
added some more test cases to increase code coverage Issue-ID: APPC-1086 Change-Id: I8f4458ddcc70d360eae71e41d1608d0529ed2269 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-24Change appc-parent to new odlPatrick Brady5-5/+5
Changing the parent ccsdk version of the appc-parent pom files so they will use the new ODL version. Change-Id: Ia573a707f2c73899c415d7c2015362f7506f1f1d Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-939
2018-07-24Fix query statements in DBServiceMei Su1-2/+2
Fix query statements related to url in DBService Issue-ID: APPC-1107 Change-Id: I2f8e2bc77c04a4b96160af00bdc9d3debe4395c3 Signed-off-by: Mei Su <ms6523@att.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-24added few test cases to TestSQLSaveQuery.javaSandeep J1-1/+34
added few test cases to increase code coverage Issue-ID: APPC-1086 Change-Id: Id895923e0df4b55c7705534e971d67b972514e50 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-24added test cases to TestCompareNodeJson.javaSandeep J1-1/+37
added few test cases to increase code coverage Issue-ID: APPC-1086 Change-Id: I64fcbae96f7627469900f9c67e52b3ef3ce6e5f3 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-24Add parent to appc-parent aggregatorPatrick Brady1-0/+5
The parent is required to supply the distributionManagement properties for deployment. Change-Id: I3c66552a9563db88701e5a8b8a087652073fe87b Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1045
2018-07-24added test case to TestCompareNodeCli.javaSandeep J1-0/+13
added test case to increase code coverage. A part of the else block in compare method of CompareNode.java was not being covered. Getting covered now with this test case. Issue-ID: APPC-1086 Change-Id: I2821ec0c5d9203f5c76e6a091c6734f41333d638 Signed-off-by: Sandeep Jha<sandeejh@in.ibm.com>
2018-07-23Fix ssh adapter compilation issues.David Crosson4-39/+63
Apache sshd library updated to 2.0.0 Issue-ID: APPC-835 Change-Id: Idfbc396291c3d05a47e4dceb45d06bc8084c054d Signed-off-by: David Crosson <david.crosson@orange.com>
2018-07-23Junit Test cases for Ansible adapterDilip kumar Pampana1-0/+178
Junits test cases for ansibleMessageParser in Ansible Adapter Issue-ID: APPC-1106 Change-Id: I9ef0664fb613d80f3275637413f0d2fae76b0186 Signed-off-by: Dilip kumar Pampana <dilip.kumar.pampana@ibm.com>
2018-07-23added few more test cases to TimeTest.javaSandeep J1-0/+28
added few more test cases to TimeTest.java to increase code coverage Issue-ID: APPC-1086 Change-Id: I910a5ab4420cc38d9c27fc2a206ac96b5377e225 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-21replaced @ignore with @test to include the testSandeep J1-1/+3
replaced the @ignore with @test to include the test as it is a legitimate test and has wrongly been ignored. After removing ignore, the test runs successfully and also increases the code-coverage. Issue-ID: APPC-1086 Change-Id: I60066a1f225f9a0afe5d4150f9f9e8f053258deb Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-19added few test cases to TimeTest.javaSandeep J1-3/+24
added few test cases to increase code coverage Issue-ID: APPC-1086 Change-Id: Iab08ef3eef7fefab09a4389ffde8e0e1a4ca6025 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-19added few test cases to increase code coverageSandeep J2-7/+34
added few test cases to increase code-coverage for DmaapConsumerImpl.java Issue-ID: APPC-1086 Change-Id: I3cf10a195063a05acf77b01aa2ea66e3da44d179 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-19Update the lastest PTL infoTaka Cho1-16/+11
I updated INFO.yaml for new PTL info Change-Id: I7ca2a4d9a48d80465069d1ad0ba2c80b0716e8d7 Issue-ID: APPC-1096 Signed-off-by: Taka Cho <tc012c@att.com>
2018-07-19added few test cases in StringHelperTest.javaSandeep J1-1/+38
added few test cases in stringhelpertest.java to increase code coverage Issue-ID: APPC-1086 Change-Id: I32d8648de64d1736685eb7c8a88017a2d3b7df98 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-19Add additional junits for LicenseManagerImplJoanna Jeremicz1-6/+67
- Positive and negative case Issue-ID: APPC-1024 Change-Id: Ic619553cc305517bebecf0754a7b9f7e8dd7ce51 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2018-07-19Parent files for karaf4Patrick Brady7-0/+266
Change-Id: I795255733d945d918e608453c15dff3991005241 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-938
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-16Junits for Interface-servicesDilip kumar Pampana1-0/+17
Junit test for vf-module-id to check for scope overlap Issue-ID: APPC-1079 Change-Id: I7345e709809f46df3532d8d8608ce5d53d04ed11 Signed-off-by: Dilip kumar Pampana <dilip.kumar.pampana@ibm.com>
2018-07-16Tests for appc-inbound/design-servicesDilip kumar Pampana1-0/+12
Test coverage for GetAppcTimestampUTC in inound/ design-services Issue-ID: APPC-1078 Change-Id: I508c3bcebad5c7c35bd2257436ad3f4099eb8345 Signed-off-by: Dilip kumar Pampana <dilip.kumar.pampana@ibm.com>
2018-07-16Junit for appc-config/Data-servicesDilip kumar Pampana1-0/+13
Junit Test to GetConfigFileReferenceByVnfType in appc-config/Data-services Issue-ID: APPC-1080 Change-Id: I351cd7acc1ef6310d230d22bd7a0035d35722290 Signed-off-by: Dilip kumar Pampana <dilip.kumar.pampana@ibm.com>
2018-07-11Fix XML injection issueMei Su1-0/+5
Fix XML injection security issue Issue-ID: APPC-1068 Change-Id: Id534da6d0c8287ba32febd959c81c313ee21302a Signed-off-by: Mei Su <ms6523@att.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-07-10null ptr checkKrishnajinka5-17/+39
rework based on review comments Issue-ID: APPC-1047 Change-Id: Ia87707535dc5825d18a6c35fdae416064dcb8c14 Signed-off-by: Krishnajinka <kris.jinka@samsung.com>
2018-07-10Added seq generator changes for vnf level actionsGeorge, Lina (lg941u)43-991/+1304
Issue-ID: APPC-921 Change-Id: I43c2cb044783ce4cd74f9685a333b52e4c7ad1fe Signed-off-by: George, Lina (lg941u) <lg941u@att.com>
2018-07-09use try with resourcesKrishnajinka3-50/+51
Issue-ID: APPC-1046 Change-Id: I28ca35b8a888875f91afda05c4dedee3ed301dde Signed-off-by: Krishnajinka <kris.jinka@samsung.com>
2018-07-06APPC CDT Future timestamp issue fix -new HTTP reqod74274-4/+35
APPC CDT GUI generated timestamp in user browser in request data. Sometimes the timestamp appeared in future compared to APPC server time. To fix the APPC CDT Future timestamp issue adding a new HTTP request to DesignDBService to get UTC Timestamp from the APPC server. Also adding this request to DbResponseProcessor, RequestValidator to avoid validation failures. Modified DesignDBService.java to satisfy review comments. Made additional corrections after failed build. Change-Id: Ic9d3f1ebb42143e497e21520843a78ecb882d0fc Issue-ID: APPC-1026 Signed-off-by: od7427 <od7427@att.com>
2018-07-03Add feature to support reboot lcm commandMei Su4-1/+51
Add method getIdentityUrl to fetch identity-url Issue-ID: APPC-1044 Change-Id: I8fe6f774754e04b0329fe3e735f4b927d6db10bc Signed-off-by: Mei Su <ms6523@att.com>
2018-07-02Adding responses to payload in LCM APIvidhyasree3-4/+118
For HealthCheck, UpgradePrecheck and UpgradePostcheck Issue-ID: APPC-920 Change-Id: I7e7b681d98c5dc3eeac6f7ea2b070f614bf51a7c Signed-off-by: vidhyasree <sn141y@att.com>
2018-06-29Changes to Config Component AdaptorBalaji, Ramya (rb111y)3-5/+61
Issue-ID: APPC-1014 Change-Id: I1ac95c68df92e39678b64919357333cd1664218d Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-06-29Changes to encryption tool bundleGeorge, Lina (lg941u)4-100/+64
Issue-ID: APPC-1016 Change-Id: I6161948e063e10ce6aec0b818f970f947ce490ad Signed-off-by: George, Lina (lg941u) <lg941u@att.com>
2018-06-29Shore up Logging Score on DGsvidhyasree2-211/+209
Modify TopologyService and DG calls to have all logging fields Issue-ID: APPC-1020 Change-Id: I6c610bc59a09dfd07453c0cfdaa38dcff700c07a Signed-off-by: vidhyasree <sn141y@att.com>
2018-06-27Unit test cases for ansible impl packageLathish6-72/+552
Change-Id: I2d035b548f9cfd866ed9966ac6dbf4e496723afc Issue-ID: APPC-533 Signed-off-by: Lathish <lathishbabu.ganesan@ericsson.com>
2018-06-26add support for new openstack rebootaction VM levlModaboina, Kusumakumari (km583p)7-2/+252
Issue-ID: APPC-922 Change-Id: I84941d8a5882b422d4e8365c82b8aaaf4618fa57 Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
2018-06-26Fix for invalid locking approachvidhyasree3-12/+7
Issue-ID: APPC-1019 Change-Id: I738c4ad72c29f494488a3fe3657243927797e2b5 Signed-off-by: vidhyasree <sn141y@att.com>
2018-06-25new action Reboot to the LCM APIvidhyasree6-134/+239
Issue-ID: APPC-920 Change-Id: Iba1e40f5bc4319f99f6cdfa3a9409faa191ec649 Signed-off-by: vidhyasree <sn141y@att.com>
2018-06-22Shore up Logging Score on DGsvidhyasree1-1/+12
Modify TopologyService and DG calls to have all logging fields Issue-ID: APPC-1020 Change-Id: I60078960ed0cfa8c70d0f4673c6d4a5026afc673 Signed-off-by: vidhyasree <sn141y@att.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-22enchance rebuildaction to make snapshotid OptionalModaboina, Kusumakumari (km583p)11-590/+515
Issue-ID: APPC-1011 Change-Id: I58d71df2c71a2964cd5957119e3967e35912ac6b Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
2018-06-22Artifact-Handler - Appc-InboundDilip kumar Pampana5-98/+146
Support Multiple Templates For Configure and ConfigModify for VNFs with VNFC level templates Issue-ID: APPC-1010 Change-Id: I7540af3b793bac696bdc28aabc3c0c8e0c13d29e Signed-off-by: Dilip kumar Pampana <dp583p@att.com>
2018-06-21updates for ECOMP logging gradevidhyasree1-9/+45
Issue-ID: APPC-1020 Change-Id: I06b80f81fdf47eeaa9399d381af059d0934446af Signed-off-by: vidhyasree <sn141y@att.com>
2018-06-21Unit tests for LicenseManagerImplJoanna Jeremicz3-24/+65
Add assertj test dependency for assertions. Change-Id: I7980a273eb0b24480d376cdb6acdd18ca1814702 Issue-ID: APPC-1024 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2018-06-21[APPC-922] Add new OpenStack Reboot Directed GraphDan McMillan4-76/+520
Introduce APPC_RebootVM.json directed graph Add APPC_RebootVM to the dg_activate.txt config file Add protocol query to APPC_healthcheck.json directed graph Add outputdata to APPC_ansible-adapter-1.0.json success return Change-Id: I80cc5695bf04575955b79656d731eab38b0b49c4 Issue-ID: APPC-922 Signed-off-by: Dan McMillan <dm3821@att.com>
2018-06-21chef adapter changes for pushjob status nodescheckModaboina, Kusumakumari (km583p)3-79/+120
Issue-ID: APPC-1012 Change-Id: Iac03825b092f62a8d3747a62303f7869bc8280e8 Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
2018-06-20Changes in config upload for vmnameGeorge, Lina (lg941u)1-1/+1
Issue-ID: APPC-1010 Change-Id: Idae8533e7e9498e173ed942fa3581982a9119651 Signed-off-by: George, Lina (lg941u) <lg941u@att.com>
2018-06-20 new reboot action for VM openstack.vidhyasree2-0/+10
Issue-ID: APPC-1011 Change-Id: I4a6f2ef0e09613d76b6ec68b889ed0eb85a34b9f Signed-off-by: vidhyasree <sn141y@att.com>