summaryrefslogtreecommitdiffstats
path: root/newton
AgeCommit message (Collapse)AuthorFilesLines
2018-03-27Add UT event/alert check successfully for newtonYun Huang1-0/+362
Change-Id: I35eb49854028c90ba411d06ba505447a2a526468 Issue-ID: MULTICLOUD-204 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-27Add event/alert check api for newtonYun Huang2-0/+106
Change-Id: Id4df5346d2d316adaf17fad2bd15cdc454cc027a Issue-ID: MULTICLOUD-204 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-27Fix newton DEBUG comments for pep8Yun Huang6-6/+6
Change-Id: Id9f73d79c1423884216ada8b2fdb22195a726ef4 Issue-ID: MULTICLOUD-196 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-26Add UT for newton token v2 identityYun Huang1-0/+43
Change-Id: I3846afa19aa619b3fc7e98bc31cb0e192a402f8f Issue-ID: MULTICLOUD-203 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-24Merge "Add HPA capability fetching to Newton"Bin Yang3-8/+472
2018-03-22Add HPA capability fetching to NewtonNate Potter3-8/+472
This patch adds functionality to get HPA features from OpenStack flavors and flavor extra specs when the AAI schema is versioned to support them. Change-Id: I6b14a72867fea86922244e974f92383e03edce98 Signed-off-by: Nathaniel Potter <nathaniel.potter@intel.com> Issue-ID: MULTICLOUD-179
2018-03-22Newton UT for capacity check nova limits failedYun Huang2-0/+30
Change-Id: Ied372034ada4cd417f8dccd982b09b3b2b489ee3 Issue-ID: MULTICLOUD-168 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-22Newton UT for capacity check successfullyYun Huang2-0/+106
Change-Id: I532857b20ea1e6cc913217bb3c8cdca3767eec56 Issue-ID: MULTICLOUD-168 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-21Add capacity_check to newton pluginYun Huang4-0/+149
Change-Id: I6833d15083b296ee95595e33dfe788e4b05194de Issue-ID: MULTICLOUD-168 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-20Disable DEBUG mode for MC plugin newtonYun Huang6-7/+7
Change-Id: I24ba8c1e528e5c1352f6d01047b797b87edc4685 Issue-ID: MULTICLOUD-196 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-18Correct sonar script pathnameYun Huang2-4/+4
Change-Id: Idc527e0bea04556f78789042faf2d0fff7ccacf4 Issue-ID: MULTICLOUD-171 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-16Upgrade to latest oparentBin Yang1-1/+1
Update pom.xml file to latest version release of oparent, 1.1.0 Change-Id: I4aeb8eee4419446486f251655015ca9c9c992a50 Issue-ID: INT-443 Signed-off-by: Gildas Lanilis <gildas.lanilis@huawei.com> Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-03-16Integrate uwsgi with djangoYun Huang3-2/+7
To enable parallel processing of plugin services Change-Id: I61e9934273a8448ee6a437c9832a45d1f75a7a60 Issue-ID: MULTICLOUD-187 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-15Enable AOP for newton loggingYun Huang8-32/+90
Change-Id: I232b60b48fb678821502f1ee3b14022bab078aba Issue-ID: MULTICLOUD-177 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-15modify log directoryHuang Haibin3-38/+43
Change-Id: I119b9018b9f403fb9f6637abe048e99f0f00c0c1 Issue-ID: MULTICLOUD-138 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-03-15Delete repeat file with share directoryHuang Haibin13-2147/+0
Change-Id: I93ecf179670216cb0b82803048daf22d0cd3b915 Issue-ID: MULTICLOUD-138 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-03-14Fix sonar coverage issue for newtonYun Huang3-8/+162
Change-Id: I14d4b9063528e65e90efa2ea38e155d4b6c2761d Issue-ID: MULTICLOUD-171 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-10newton use share libraryHuang Haibin72-9468/+166
Change-Id: I0ed8ced042862edf8afa87fec3b457d019e811b4 Issue-ID: MULTICLOUD-138 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-03-06Add sonar coverage for MultiCloud OpenStackYun Huang2-0/+8
Change-Id: I6526b56a06cd430bb1b95e7175d2a6d8f48ebc0c Issue-ID: MULTICLOUD-171 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-06Update Newton license headerYun Huang74-167/+366
Change-Id: I2ee874ab6a4f13e7a5b2fe32f80ba0225d086a9f Issue-ID: MULTICLOUD-140 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-01-13Merge "Centralize the release version for UTs"Bin Yang17-1390/+1002
2018-01-13Merge "Add UTs for VimDriverUtils class"Bin Yang8-109/+245
2018-01-09Add UTs for VimDriverUtils classVictor Morales8-109/+245
The VimDriverUtils class contains utility methods for managing sessions and vim information, as well as others for replacing keys of a dictionary. This change add Unit Tests that validates their correct functionality. Change-Id: Ie569cc995c3e0ebc27f33e4c58652bb0ed34c0a7 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-83
2018-01-09Fix version dependenciesVictor Morales1-1/+1
The version number used for newton needs to be higher to allow other to refer it. Change-Id: Id88c3450f62bb21b8eacc489ef3be58f8ec7e192 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-83
2018-01-05Centralize the release version for UTsVictor Morales17-1390/+1002
The URL is formed based on the OpenStack release version supported. Given that OpenStack release cycles are targeting twice a year, it's necessary mechanism to adopt this changes. This commit centralizes the release information into a configuration value. Change-Id: Ie7f0c819472593f706520e7f2563db31b9d42444 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-83
2017-12-19Add pbr as building toolBin Yang5-1/+58
PBR is a library that helps to build python project through configuration files simplifying the deployment for them. This change adds support for it. Change-Id: I77ac639d9ba2df7122cb6a9cec68ae7551bac89e Issue-ID: MULTICLOUD-83 Signed-off-by: Victor Morales <victor.morales@intel.com> Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-12-05Bump minor version,step 1Bin Yang1-1/+1
Bump minor version in preparation for Amsterdam branching. Change-Id: I42c8fe8ffa2c8c3651454567e6045a0fc2aef4a5 Issue-ID: CIMAN-120 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-11-22Merge "Separate test modules from requirements.txt"Bin Yang3-12/+16
2017-11-16Update Dependency on oparentv1.0.01.0.0-ONAP1.0.0-AmsterdamBin Yang1-1/+1
Update POM setting of OpenStack plugins Change-Id: I92d67244ff24cef00f72278652e33794d73ad53e Issue-Id: MULTICLOUD-128 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-11-14Separate test modules from requirements.txtVictor Morales3-12/+16
The modules required for unit tests can be included in another file, this helps during the packaging process to avoid the addition of non-required dependencies. Change-Id: I3d1dc0c265a26e22be66d261f2de2ae939a1d6f8 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: MULTICLOUD-83
2017-10-31Merge "Update tests to make use of abstracted test_base"Bin Yang8-677/+295
2017-10-31Workaround for keystone url without versionBin Yang1-2/+4
Append v3 to end of keystone url if version is missing Change-Id: Ic0d2ad254b4cf542b5040fed189ad85fe5176e84 Issue-Id: MULTICLOUD-123 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-10-27Workaround APPC dependency on compute v2 APIBin Yang1-0/+6
Change-Id: Ia33e6b2b02e8d7d74b781527dd5e0376ce27aa38 Issue-Id: MULTICLOUD-106 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-10-26Update tests to make use of abstracted test_baseShashank Kumar Shankar8-677/+295
This patch updates various tests to make use of the abstracted test_base. Issue-Id: MULTICLOUD-83 Change-Id: I85573f1086e0ce19db48ae70827d27f3b9a1a4ca Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
2017-10-26Set the default auth url to be v2.0Bin Yang4-10/+34
Change-Id: I34afca5b5388299d5fe6a0962fb4e850275dfefa Issue-Id: MULTICLOUD-119 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-10-25Update identity conversion for API v2.0Bin Yang3-4/+34
support parameter tenantId Change-Id: I11d94db0c6fc4d7ea40d66110bb90d2976cd6f3e Issue-Id: MULTICLOUD-119 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-10-24Fix bug of keystone v2.0 APIBin Yang2-4/+11
Change-Id: I3683a867efc5c836b1d842dcdcd8240f4829f9f3 Issue-Id: MULTICLOUD-118 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-10-23Merge "Add Unit Test Abstract Base in test_base"Bin Yang2-160/+227
2017-10-23Add DNSaaS delegate serviceBin Yang5-6/+253
Change-Id: Ifec8958a07a30b58602e242c1769ba4ece5677cd Issue-Id: MULTICLOUD-106 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-10-19Add a UT thresholdBin Yang1-3/+3
This change helps to monitor and detect changes that reduce the porcentage of the Unit test coverage. Change-Id: I289f4c2f9d13b5531b8d7580f62a3a7ba5f3ee5f Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: MULTICLOUD-83 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-10-18Add Unit Test Abstract Base in test_baseShashank Kumar Shankar2-160/+227
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>
2017-10-16Fix error of registrationBin Yang2-207/+358
Change-Id: Ia8cf83a84dc8484e4e02d6372ff4646049b9234b Issue-Id: MULTICLOUD-111 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-10-13Fix openstack plugin identity errorBin Yang1-4/+4
Change-Id: I358d32cdbb12698aa4e6fa3517c2465888bf68de Issue-Id: MULTICLOUD-115 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-10-11Fix registration errorBin Yang3-15/+40
Change-Id: I6d4cd20fbd913eb21a78247434e79d4d50276dda Issue-Id: MULTICLOUD-111 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-10-11Add staging docker images for OpenStack pluginsBin Yang2-1/+9
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>
2017-10-10Fix bug of OpenStack ProxyBin Yang1-5/+22
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>
2017-10-09Fix bug in identity v2.0 proxyBin Yang6-48/+108
Change-Id: I9e25a1b6438f602e38c13cc1282daa9b10118388 Issue-Id: MULTICLOUD-109 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-30Add UT for ocata and windriverBin Yang1-0/+4
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