summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2018-06-20Add snapshot-id to RebuildVM DGDan McMillan5-6/+6
Parameterize error-message in AttachVolumeVM DG Parameterize error-message in DetachVolumeVM DG Parameterize error-message in VM_Start DG Parameterize error-message in VM_Stop DG Change-Id: I8a2a06661d668565dc2b2f0160ac7695ac52198e Issue-ID: APPC-1011 Signed-off-by: Dan McMillan <dm3821@att.com>
2018-06-20APPC-1009J Armstrong1-28/+34
Regex in appc-provider-model yang causes intermittent unit test failures Change-Id: I5aefd746498737c10de4bd40a30d6aad2c629293 Signed-off-by: J Armstrong <joss.armstrong@ericsson.com> Issue-ID: APPC-1009
2018-06-19Enhance Ansible by parsing of response messagesModaboina, Kusumakumari (km583p)3-5/+35
Issue-ID: APPC-1015 Change-Id: I19d81c1a266625c81b772fbee9996054bb5a2cbf Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
2018-06-19Unit tests in dg-utilMichal Kabaj3-34/+50
Replace powermock usage with mockito. Add assertj test dependency for assertions. Change-Id: I8b268aaf4fe51f1709479a60919b987696f1a9a6 Issue-ID: APPC-1008 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2018-06-18Unit tests APPC-443root7-86/+991
Unit test for request-handler Change-Id: Ida894d4c9ba920a6b8b7e105caab7952bd3be420 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com> Issue-ID: APPC-443
2018-06-18Unit test cases for iaas impl packageLathishbabu Ganesan17-818/+1050
Change-Id: Iac6167dca83413b7533cb65a73775a616866589c Issue-ID: APPC-436 Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2018-06-14Update CDT Guide URL and PortScott Seabolt1-1/+5
Issue-ID: APPC-1006 Change-Id: I23db69e1262d259769f176e5bea90edd7d182936 Signed-off-by: Scott Seabolt <js9808@att.com>
2018-06-14Update license header in appc xml filesJohn McClung38-76/+38
More license header changes to miscellaneous appc xml files to reflect the 2018 changes. Change-Id: Ia71a0711235ab56bf2cd83719964bc12d7aa420b Issue-ID: APPC-1004 Signed-off-by: John McClung <jm1364@att.com>
2018-06-14Update license header on appc-adapter xml filesJohn McClung50-99/+50
Modify license header on appc-adapter xml and .code_styling xml files to reflect 2018 changes. I also had to fix the xml_version line syntax for the .code_styling xml files. Change-Id: I361f64d3d6edbf43b6c7ae06611f64ee183b7d82 Issue-ID: APPC-999 Signed-off-by: John McClung <jm1364@att.com>
2018-06-14Update lic header in appc client and config xmlJohn McClung45-96/+45
Modify license header in appc-adapter xml, appc-client xml and appc-config xml files to reflect 2018 changes. Change-Id: I1b7bd41a43ca5662ed4d293a33f468e443551fd7 Issue-ID: APPC-1000 Signed-off-by: John McClung <jm1364@att.com>
2018-06-14Update license header in appc-dispatcher xml filesJohn McClung44-88/+44
Modify license header in appc-dispatcher xml files to reflect 2018 changes. Change-Id: If9df0812b1205c1edbfbdf6529d64032385cd2a4 Issue-ID: APPC-1002 Signed-off-by: John McClung <jm1364@att.com>