summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-09-30Add UT for ocata and windriverBin Yang13-0/+3030
Change-Id: I6b921443cdd1181e1953962afeb11a706329c5e9 Issue-Id: MULTICLOUD-83 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-29Merge "Add UTs for requests/hosts and limits"Bin Yang2-0/+200
2017-09-29Merge "Adding UT for vport.py"Bin Yang1-0/+190
2017-09-28Add UTs for requests/hosts and limitsShashank Kumar Shankar2-0/+200
This patch adds unit tests for requests/hosts and requests/limits Change-Id: I1d8d3009fd2ee70770f3e20cb4aa5a0adb38dbfa Issue-Id: MULTICLOUD-83 Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
2017-09-28Adding UT for vport.pyKiran1-0/+190
This change contains unit tests for vport.py using the latest test_base wrapper. Removed unused imports Used status constant instead of numbers for status_code Change-Id: Ic7f5b793c2432a819fde0cfd1576046f08b8013d Signed-off-by: Kiran <kiran.k.kamineni@intel.com> Issue-Id: MULTICLOUD-83
2017-09-28Merge "Create UTs for Tenants APIView"Bin Yang3-24/+99
2017-09-28Create UTs for Tenants APIViewVictor Morales3-24/+99
The Tenants APIView class didn't have Unit Tests that validates its functionality. This change creates UTs for two specific scenarios * Retrieving tenants/projects information * Retrieving tenants/projects information thru a querystring Change-Id: Ibeaf8af991ae3c3d926867f04285449f41f050c9 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: MULTICLOUD-83
2017-09-28Create UTs for Registry APIViewVictor Morales6-392/+388
This change creates unit tests for the Registry APIView class and refactors its code to simplify it and reuse some functionality Change-Id: I33a01e750e80d4acbae12bbd873484bbb423f1cf Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: MULTICLOUD-83
2017-09-28Merge "Refactor flavor UTs"Bin Yang2-275/+228
2017-09-28Merge "Update UTs for requests/image and network"Bin Yang2-183/+81
2017-09-28Merge "Add UTs for requests/subnets"Bin Yang1-0/+188
2017-09-27Update UTs for requests/image and networkShashank Kumar Shankar2-183/+81
This patch updates unit tests for requests/image and network to make use of new get_mock_session method. Change-Id: Ic207094b8c2bd7fae09cf718bca41d64b17f1b13 Issue-Id: MULTICLOUD-83 Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
2017-09-27Add UTs for requests/subnetsShashank Kumar Shankar1-0/+188
This patch adds unit tests for requests/subnets. Change-Id: Icc363b190867504af3125d8a8b5ca090c3691d6f Issue-Id: MULTICLOUD-83 Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
2017-09-27Adding Unit Tests for requests/volumesKiran1-0/+188
Updated with test_base usage Incorporated review feedback Updated with consolidated url variable used in all calls Change-Id: Id0898ac4bda7e1ac8c21e017234a4f5856d1c61e Signed-off-by: Kiran <kiran.k.kamineni@intel.com> Issue-Id: MULTICLOUD-83
2017-09-27Refactor flavor UTsVictor Morales2-275/+228
The creation of base class helps to reduce code and improve existing Unit Tests. This changes uses the latest improvements. Change-Id: Ib0fa298c72df73761320ab415c22d6eabbc8caea Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: MULTICLOUD-83
2017-09-27Merge "build docker from local maven for function test"Bin Yang2-6/+33
2017-09-27build docker from local maven for function testGuo Ruijing2-6/+33
Change-Id: I4bbb437e3563833edef7ce020b158e8332d545e3 Issue-Id: MULTICLOUD-95 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-09-26Improve get_mock_session methodVictor Morales3-80/+49
The previous implementation of get_mock_session method didn't accept other responses for different actions. This change makes it more flexible Change-Id: I68ceda07b1011cce4b81e22cf429393dfcbf73b1 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: MULTICLOUD-83
2017-09-26Merge "Create UTs for Server APIView"Bin Yang3-45/+404
2017-09-25Create UTs for Server APIViewVictor Morales3-45/+404
It was created the Unit tests that covers some of the functions exposed by the API of Servers. Change-Id: I60f9045dab133c59c62755d8564bdad2b6a02f26 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: MULTICLOUD-83
2017-09-25Merge "Add UTs for requests/images"Bin Yang1-0/+271
2017-09-25Add UTs for requests/imagesShashank Kumar Shankar1-0/+271
This patch adds unit tests for requests/images. Change-Id: I214314ba8b9e78374e140803a25e5d64d78fd548 Issue-Id: MULTICLOUD-83 Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
2017-09-25Merge "Create UTs for newton.pubs module"Bin Yang5-43/+251
2017-09-25Add UTs for requests/flavorsShashank Kumar Shankar4-557/+858
This patch adds unit tests for requests/flavors and moves the common mock info to a seperate file to avoid multiple copies in each test file. Change-Id: Iacd37742d5c32dc60cbeece00e5c30b983f99881 Issue-Id: MULTICLOUD-83 Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
2017-09-23Merge "Add backward support for identity v2.0 API"zhang ab9-17/+113
2017-09-23Add backward support for identity v2.0 APIBin Yang9-17/+113
Add NBI v2.0/tokens and convert to SBI v3/auth/tokens Change-Id: I5734e18f78844f15847b3a0a2d906b70e75fd260 Issue-Id: INT-225 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-21Create UTs for newton.pubs moduleVictor Morales5-43/+251
This commit creates Unit Tests for covering function defined in newton/pubs folder. It also makes a refactoring of the functions cleaning unused code. Change-Id: I5931871a1bbb3732b7c68cc8a245899283b6fd99 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: MULTICLOUD-83
2017-09-21Add UTs for requests/networksShashank Kumar Shankar2-1/+796
This patch adds unit tests for requests/networks. Change-Id: Ia756693796d752ab1716aef177560c69220e7904 Issue-Id: MULTICLOUD-83 Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
2017-09-21Fix url pattern errorBin Yang9-8/+10
Change-Id: Ic7aa3c1791482be38ee9debcedb52bbf57add96e Issue-Id: MULTICLOUD-89 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-21remove docker build workaroud in function testGuo Ruijing3-35/+0
Change-Id: I4167b423319a1b6c66f232951c5084b7f854d577 Issue-Id: MULTICLOUD-95 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-09-20fix docker push issueGuo Ruijing3-0/+0
Change-Id: I3b742cb43ea05175fbf4d68dc75c6ed7125a9d63 Issue-Id: MULTICLOUD-95 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-09-20update port from 9004 to 9006Guo Ruijing13-13/+48
Change-Id: Ic2ad8eda3b21b6c11cabf89d65f5a72956262750 Issue-Id: MULTICLOUD-95 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-09-20Merge "add function test cases"Bin Yang9-9/+53
2017-09-20add function test casesGuo Ruijing9-9/+53
Change-Id: Ic0c5eecdcbb3d5ab460c79235f4e0df4b4932f7b Issue-Id: MULTICLOUD-95 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-09-20Add windriver pluginBin Yang45-0/+1458
Change-Id: Icd27d7af12d6920810d7cbb163e8be70db49f121 Issue-Id: MULTICLOUD-89 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-20Merge "Create UTs for Extension Views"Bin Yang5-6/+114
2017-09-20Merge "Refactor Service UTs"Bin Yang6-461/+207
2017-09-19Create UTs for Extension ViewsVictor Morales5-6/+114
This change add a Unit tests for EpaCaps and Extensions ApiView Classes. Change-Id: I8913b63260e4fc884d7c22f376f7a9380a67d999 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: MULTICLOUD-83
2017-09-19add proxy test casesGuo Ruijing3-1/+10
Change-Id: Icc3595eb960c377479fd8f567cd371f013565778 Issue-Id: MULTICLOUD-95 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-09-18Refactor Service UTsVictor Morales6-461/+207
The Unit tests that covers the get function of Service resource was generic, this change pretends to translate it to use cases. Change-Id: Iaec6d0751b5501612aebb240423da750bd56abff Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: MULTICLOUD-83
2017-09-15Add swagger for identity proxyBin Yang6-10/+99
Change-Id: Ia77b99c9ffc68f897948e2ab7d6e68ca3affba82 Issue-Id: MULTICLOUD-89 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-15Merge "setup function test framework"Bin Yang3-5/+20
2017-09-15setup function test frameworkGuo Ruijing3-5/+20
this patch is to add designate features in openstack Change-Id: Ifb0cd9b45476ef12df6dd767706d639bf64c0752 Issue-Id: MULTICLOUD-92 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-09-15setup function test frameworkGuo Ruijing1-2/+4
this patch is to update test1 case in multicloud function test Change-Id: Ied3ccd5105f9186f0a014768c1529ec4f19f4a94 Issue-Id: MULTICLOUD-92 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-09-15setup function test frameworkGuo Ruijing1-1/+1
this patch is to fix issue to setup function test framwork for multicloud Change-Id: I48f9b750d36fe797abdf12bebf9f9650e0da0f51 Issue-Id: MULTICLOUD-92 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-09-15Fix build docker jjb issueBin Yang3-0/+31
Add version.properties file Change-Id: Id05eb4fdfaef3f4429a589375135e5253a75ea84 Issue-Id: MULTICLOUD-58 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-14setup function test frameworkGuo Ruijing12-0/+307
this patch is to setup function test framwork for multicloud Change-Id: I372ca4a11878b25fd9b5f4b7ed199e0d8748e11d Issue-Id: MULTICLOUD-92 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-09-13Refactor newton and ocato proxyBin Yang23-230/+291
refactor code and fix bugs to update proxy prefix Change-Id: I4a02b0570759f087581e875cc683d4475bd2121b Issue-Id: MULTICLOUD-89 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-13Add plugin for OpenStack OcataBin Yang38-0/+971
add plugin for openstack ocata, reuse most of source code from plugin for newton. Change-Id: I444a4e6dd80e34d06d35e0e711de426f10d8db35 Issue-Id: MULTICLOUD-89 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-11Merge "Cleanup project's name in Sonar"xinhuili1-1/+1