Age | Commit message (Collapse) | Author | Files | Lines |
|
This patch adds an Abstract Test class so that all common
type of test functions are in this class and they can be resused
without having to be repeated in each test case.
This patch also updates test_image to make use of the abstracted
test_base
Issue-Id: MULTICLOUD-83
Change-Id: If11ce71627f018a614e04e90d3353a4fc2fb3cfe
Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
|
|
Change-Id: I358d32cdbb12698aa4e6fa3517c2465888bf68de
Issue-Id: MULTICLOUD-115
Signed-off-by: Bin Yang <bin.yang@windriver.com>
|
|
Change-Id: I6d4cd20fbd913eb21a78247434e79d4d50276dda
Issue-Id: MULTICLOUD-111
Signed-off-by: Bin Yang <bin.yang@windriver.com>
|
|
Add staging docker images and enable logger of submodules
Change-Id: Ib64f30ab50002dca67c6835866ffc46fc83d7934
Issue-Id: MULTICLOUD-110
Signed-off-by: Bin Yang <bin.yang@windriver.com>
|
|
Add query back to SBI, add header to claim formats
Change-Id: Ie507c98e7e5c1aa5c97cf451a945621192367c99
Issue-Id: MULTICLOUD-109
Signed-off-by: Bin Yang <bin.yang@windriver.com>
|
|
Change-Id: I9e25a1b6438f602e38c13cc1282daa9b10118388
Issue-Id: MULTICLOUD-109
Signed-off-by: Bin Yang <bin.yang@windriver.com>
|
|
Change-Id: I6b921443cdd1181e1953962afeb11a706329c5e9
Issue-Id: MULTICLOUD-83
Signed-off-by: Bin Yang <bin.yang@windriver.com>
|
|
|
|
|
|
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>
|
|
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
|
|
|
|
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
|
|
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
|
|
|
|
|
|
|
|
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>
|
|
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>
|
|
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
|
|
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
|
|
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
|
|
|
|
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
|
|
|
|
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>
|
|
|
|
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>
|
|
|
|
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>
|
|
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
|
|
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>
|
|
Change-Id: Ic7aa3c1791482be38ee9debcedb52bbf57add96e
Issue-Id: MULTICLOUD-89
Signed-off-by: Bin Yang <bin.yang@windriver.com>
|
|
Change-Id: I3b742cb43ea05175fbf4d68dc75c6ed7125a9d63
Issue-Id: MULTICLOUD-95
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
|
|
|
|
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
|
|
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
|
|
Change-Id: Ia77b99c9ffc68f897948e2ab7d6e68ca3affba82
Issue-Id: MULTICLOUD-89
Signed-off-by: Bin Yang <bin.yang@windriver.com>
|
|
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>
|
|
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>
|
|
fix bug in service proxy, along with unittests
Change-Id: I946af21f4b8384ae920c322245741bf990515f1a
Issue-Id: MULTICLOUD-58
Signed-off-by: Bin Yang <bin.yang@windriver.com>
|
|
fix bug and update dockerfile
Change-Id: I5e6e2eeae85d9bfaabd190d8f9baaca8cca7aeb5
Issue-Id: MULTICLOUD-58
Signed-off-by: Bin Yang <bin.yang@windriver.com>
|
|
add docker build file to generate container image
Change-Id: I08e289dea8caf01b9690d80c2c21355d0f121a6b
Issue-Id: MULTICLOUD-58
Signed-off-by: Bin Yang <bin.yang@windriver.com>
|
|
parse and discover EPA CAPs and populate them into AAI
fix API call to query ESR
Change-Id: I8b5e0429d3fbc9e17390b9c4df9cd12c1f0a42b4
Issue-Id: MULTICLOUD-58
Signed-off-by: Bin Yang <bin.yang@windriver.com>
|
|
Populate NFVI resource info into AAI:pserver,etc.
Change-Id: I6a4c4d3204cbf7d62076a3bec780c45f422dcc09
Issue-Id: MULTICLOUD-58
Signed-off-by: Bin Yang <bin.yang@windriver.com>
|
|
populate tenants,flavors,images info into AAI
Change-Id: Ifa9701916168fd61814659622233b1129412b189
Issue-Id: MULTICLOUD-58
Signed-off-by: Bin Yang <bin.yang@windriver.com>
|
|
Add SBI to discover resources, but not populated
into AAI yet
Change-Id: I16024d4256bd70e15597bc34c54cde84d91b36cd
Issue-Id: MULTICLOUD-58
Signed-off-by: Bin Yang <bin.yang@windriver.com>
|
|
refactor logger and auth method
fix identity proxy bug
Change-Id: Ie26c01c2fbf0869dcc77b8c182b775bce90b8d69
Issue-Id: MULTICLOUD-58
Signed-off-by: Bin Yang <bin.yang@windriver.com>
|
|
fix restcall to AAI, and fix extension API response
Change-Id: I0d786135de5c4d96d447a51af99adfe04178765e
Issue-Id: MULTICLOUD-58
Signed-off-by: Bin Yang <bin.yang@windriver.com>
|
|
The *pass* python instruction is required in some circunstances.
Change-Id: I00acab2bad03a97eba7a7e0a3298f2685f21c298
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-Id: MULTICLOUD-83
|