aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2018-06-14More lic header updates to various appc xml filesJohn McClung44-88/+44
Modify license header in appc-event-listener, appc-inbound, appc-lifecycle-management and appc-metric xml files to reflect 2018 changes. Change-Id: I0e5d9eb55b92d9b4274f0ebc5c5a1044e451707c Issue-ID: APPC-1003 Signed-off-by: John McClung <jm1364@att.com>
2018-06-13Update license header in misc appc xml filesJohn McClung50-100/+50
Modify license header in miscellaneous appc xml files to reflect 2018 changes. Change-Id: Ia62d24370e152c23f3575c755ff88980fccc42d2 Issue-ID: APPC-1001 Signed-off-by: John McClung <jm1364@att.com>
2018-06-13fix dg-util testroot1-58/+48
Test in dg-util not recording code coverage fixed. Change-Id: Ia018cf26616744fba633b7b983b9f9c080864ef9 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com> Issue-ID: APPC-418
2018-06-13Update lic header in misc appc properties filesJohn McClung47-90/+43
Modify license header in miscellaneous appc properties files to reflect 2018 changes. Change-Id: I21eb99f680ab4cbddbd7f8abe65720c87e2dbb33 Issue-ID: APPC-998 Signed-off-by: John McClung <jm1364@att.com>
2018-06-13More updates to lic header in appc propertiesJohn McClung39-76/+37
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-12Update lic header in appc dir graph propertiesJohn McClung41-82/+41
Modify license header in appc-directed-graph properties files to reflect 2018 changes. Change-Id: I5ddf83e5bd03b033a04205c397a6805ed2ae1c91 Issue-ID: APPC-997 Signed-off-by: John McClung <jm1364@att.com>
2018-06-11Remove lic header from appc sequence gen json fileJohn McClung11-297/+0
The license header in the appc-sequence-generator json files are causing a json syntax error, so I am removing the license header to resolve this issues. Change-Id: Ieea56a7af19e70788a14d5b05f88089a718a5307 Issue-ID: APPC-995 Signed-off-by: John McClung <jm1364@att.com>