summaryrefslogtreecommitdiffstats
path: root/ocata
AgeCommit message (Collapse)AuthorFilesLines
2019-02-27Improve ocata cover rateHaibin Huang1-0/+54
Change-Id: I442008884ae6860012491db176f2c5554fcaf84f Issue-ID: MULTICLOUD-501 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-02-26Run Ocata plugin as non root userHaibin Huang2-3/+8
Change-Id: Ia4e201ee586cc62f1ea2f5f38d4001acc7ccc0b5 Issue-ID: MULTICLOUD-500 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-02-18Fix URL definitions interfere with each otherHaibin Huang1-2/+6
Change-Id: I2f0bc1ca7e6d4e6337cc504c51e9ead06bd5be4e Issue-ID: MULTICLOUD-477 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-02-14Fix issue of heatbridgeXiaohua Zhang1-1/+1
Change-Id: I91d6086d514cc481e2574bd3e6c6b324d708d092 Issue-ID: MULTICLOUD-479 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-01-28Rate python files via pylintCédric Ollivier2-3/+11
It higlights programming errors which are only printed for the time being. It adds pylint in test-requirements.txt as it should have been for coverage, mock, etc. At least all pylint errors should be fixed. Kilo and Newton are out of scope as deprecated. Issue-ID: MULTICLOUD-416 Change-Id: I35f2cfec0327ba163e796b05bdff5edf0246de09 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-01-15Enabling ocata pep8 checkHaibin Huang1-1/+1
Change-Id: Iee0bc4d7c95255967489a9cd8036dee2abab6a9b Issue-ID: MULTICLOUD-434 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-01-15Fix vesagent pep8 error for ocataHaibin Huang9-218/+370
This patch is only fixing the pep8 issues under the vesagent folder for ocata release, which is only triggered by tox mannually. Change-Id: I203770908136f4a81ddfe61981e55bb51778438b Issue-ID: MULTICLOUD-434 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-01-15Fix requests pep8 error for ocataHaibin Huang2-2/+0
This patch is only fixing the pep8 issues under the requests folder for ocata release, which is only triggered by tox mannually. Change-Id: I135ca298eaa68ce6da56c4437e48d539ba640992 Issue-ID: MULTICLOUD-434 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-01-15Fix resource pep8 error for ocataHaibin Huang9-553/+594
This patch is only fixing the pep8 issues under the resource folder for ocata release, which is only triggered by tox mannually. Change-Id: I9d0eaa7f130141e61d50be15d93fe8054f11941e Issue-ID: MULTICLOUD-434 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-01-15Fix registration pep8 error for ocataHaibin Huang6-72/+60
This patch is only fixing the pep8 issues under the registration folder for ocata release, which is only triggered by tox mannually. Change-Id: Ie5857f5b292ec51d38f0d50b02eea08b73ee3b7a Issue-ID: MULTICLOUD-434 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-01-15Fix proxy pep8 error for ocataHaibin Huang7-1178/+1169
This patch is only fixing the pep8 issues under the proxy folder for ocata release, which is only triggered by tox mannually. Change-Id: I0f6c78afc5eca9114c2c388e8d7001fe4daef9b2 Issue-ID: MULTICLOUD-434 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-01-15Fix extensions pep8 error for ocataHaibin Huang4-6/+5
This patch is only fixing the pep8 issues under the extensions folder for ocata release, which is only triggered by tox mannually. Change-Id: If756317cb00f821f1f1312d36e6a427f05a7f4eb Issue-ID: MULTICLOUD-434 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-01-15Fix others pep8 error for ocataHaibin Huang13-26/+13
This patch is only fixing the pep8 issues under the others folder for ocata release, which is only triggered by tox mannually. Change-Id: Ia6f646a1b856451f2a73f5d33eead631d15a43aa Issue-ID: MULTICLOUD-434 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-01-14Fix vagrant pep8 error for ocataHaibin Huang1-25/+25
This patch is only fixing the pep8 issues under the registration folder for ocata release, which is only triggered by tox mannually. Change-Id: I2615ddb0530402f0ee49e1513b7c4eba978a5d47 Issue-ID: MULTICLOUD-434 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-01-09Upgrade to 1.3.0 for dublinXiaohua Zhang3-4/+4
Change-Id: I9a42f70d1df743cb3c7cfc95a402bce9eade4469 Issue-ID: MULTICLOUD-432 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-11-30Fix issue of Delete Infra_workloadXiaohua Zhang1-5/+11
Enforce client to pass in workload_id Change-Id: I017321920aad665bee352499e0b43f5c5db5898c Issue-ID: MULTICLOUD-423 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-11-27bump version 1.2.3Xiaohua Zhang3-4/+4
Change-Id: Ic63d11ec0ac588dc954765dbc4c0d19be4277feb Issue-ID: MULTICLOUD-419 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-11-22Add server action for ocata APIv1Haibin Huang1-0/+2
Change-Id: Ib725f9a9dbfc375154c2c87c98790b9988fb2eb4 Issue-ID: MULTICLOUD-414 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2018-11-22Add server action for ocata APIv0Haibin Huang1-0/+2
Change-Id: Iec73bd961e41ce8d8bb01c32cbb1786cb6d25516 Issue-ID: MULTICLOUD-414 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2018-11-22Fix ocata and piki rest API url errorBin Yang1-3/+3
Change-Id: I5cbb06db2a613548d0a9606f3b7c404dfb0a49f0 Issue-ID: MULTICLOUD-415 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-11-13Bump version to 1.2.2Bin Yang3-4/+4
Change-Id: Ib70c2bff78f5be8d63c2bb2e612c84cf3d97fb27 Issue-ID: MULTICLOUD-402 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-11-10Support infra_workload api without oof_directivesBin Yang2-3/+64
Change-Id: I8eb05ff2acdef8811b3eec8e1a0efe47b12bdd73 Issue-ID: MULTICLOUD-401 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-10-17Add license for ocata pluginHuang Haibin23-0/+318
Change-Id: I1d0a4ab6ad42bab238036dee6a8a224d378a9519 Issue-ID: MULTICLOUD-384 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-10-17Add infra workd UTHuang Haibin1-0/+214
Change-Id: Ib9f2f230fb4b952094ee01af814e5a57729ae93c Issue-ID: MULTICLOUD-383 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-10-17Add registration UTHuang Haibin1-0/+117
Change-Id: I0022435d45582c97348cf10b26459f8b30dcf426 Issue-ID: MULTICLOUD-383 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-10-16Update multicloud openstack release versionHuang Haibin2-3/+3
Change-Id: I7c1f58971008ae65dd06f48e7dc3332cb1ea3e2d Issue-ID: MULTICLOUD-379 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-10-15Upgrade vesagent v1 for ocataHuang Haibin2-0/+52
Change-Id: Icf852237f56fd587b092c0ff9743e8fdb738aba5 Issue-ID: MULTICLOUD-378 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-10-15Upgrade swagger v1 for ocataHuang Haibin2-0/+18
Change-Id: I658c509c2897fcdb94042fe3ef98f04e6abf092a Issue-ID: MULTICLOUD-378 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-10-15Upgrade capacity v1 for ocataHuang Haibin2-0/+15
Change-Id: I07882e864baa81d4bbc640bcc0652ff69aeff862 Issue-ID: MULTICLOUD-378 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-10-15Upgrade requests v1 for ocataHuang Haibin2-0/+49
Change-Id: I852c7fa9af96b00af65daf9436a3b40e563ac1af Issue-ID: MULTICLOUD-378 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-10-15Upgrade tenants v1 for ocataHuang Haibin1-0/+2
Change-Id: I613e079f2355e370206c5c97f34ccb29ed46df0b Issue-ID: MULTICLOUD-378 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-10-15Upgrade proxy v1 for ocataHuang Haibin4-1/+140
Change-Id: I97b5fb82ae54855dd334f6b82c55c903f33232d5 Issue-ID: MULTICLOUD-378 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-10-15Add infra_workload v1 for ocataHuang Haibin2-1/+411
Change-Id: I01cc79d9fd87a866001f6282daf0d025cfb153fd Issue-ID: MULTICLOUD-378 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-22Fix unregistry issueXiaohua Zhang1-1/+1
Change-Id: Ia4ddb6f11bf562a046d9f567fd7458b466c8642f Issue-ID: MULTICLOUD-361 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-09-20Filter endpoint filter mismatch with keystoneauth1Xiaohua Zhang2-2/+2
keystoneauth1 accept region_name as endpoint filter, which will match either region_id or region of the endpoint catalog Change-Id: I7ba1f7904e4b3004565d826f4ea3cd345ce45f62 Issue-ID: MULTICLOUD-364 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-09-12UT for VESagent process event empty for ocataHuang Haibin1-0/+17
Change-Id: I18829013f3dfb448165a0894f49d0dde59ea35d1 Issue-ID: MULTICLOUD-230 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-12UT for vesagent config without source name ocataHuang Haibin1-0/+13
Change-Id: I1c7df30259e4368e5a8e9fc518728a0ad35db673 Issue-ID: MULTICLOUD-230 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-12UT for vesagent config without server id for ocataHuang Haibin1-0/+15
Change-Id: Ic8622fd6bb1e699e0b58675f7207dfa7bec7604f Issue-ID: MULTICLOUD-230 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-12UT for vesagent failure case for ocataHuang Haibin1-0/+16
Change-Id: I5c1b822725fd8c2d8e9dd3da28ce263dbc33216c Issue-ID: MULTICLOUD-230 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-12UT for vesagent event logic for ocataHuang Haibin1-0/+19
Change-Id: I8f55583366419ddc77ccd717388cbcc2b859ae2c Issue-ID: MULTICLOUD-230 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-12Test case for processBacklog_fault_vmHuang Haibin1-1/+33
Change-Id: Ibf13880e92c8da43bd72dfd68dca4d7ae546ccf9 Issue-ID: MULTICLOUD-230 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-12Test case for buildBacklog_fault_vm in ocataHuang Haibin2-8/+27
Change-Id: I2e7476633e748fdce57709e3d8c444cee20e80fc Issue-ID: MULTICLOUD-230 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-11Merge changes I88d79049,If6ceaec6,I3877f034,I1e7693c1,Ie916b35a, ...Bin Yang2-1/+132
* changes: Test case for get_epoch_now_usecond in ocata Test case for buildBacklogsOneVIM in ocata Test case for clearBacklogsOneVIM in ocata Test case for vesagent getBacklogsOneVIM in ocata Test case for vesagent delete API in ocata Add test case for vesagent_ctrl in ocata
2018-09-11Test case for get_epoch_now_usecond in ocataHuang Haibin1-0/+36
Change-Id: I88d790498ef1cc22a280696cf96bbbb171344219 Issue-ID: MULTICLOUD-230 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-11Test case for buildBacklogsOneVIM in ocataHuang Haibin1-1/+29
Change-Id: If6ceaec671fcf4e57c26c695a373ab2a8d113041 Issue-ID: MULTICLOUD-230 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-11Test case for clearBacklogsOneVIM in ocataHuang Haibin1-0/+28
Change-Id: I3877f03430f68eb98f0e707366d54a7a67e1fbda Issue-ID: MULTICLOUD-230 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-11Test case for vesagent getBacklogsOneVIM in ocataHuang Haibin1-0/+10
Change-Id: I1e7693c1781080d7011a6156b7380c0670acf92c Issue-ID: MULTICLOUD-230 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-11Test case for vesagent delete API in ocataHuang Haibin1-0/+13
Change-Id: Ie916b35ae80b5dea68dbe648e5409202449a3673 Issue-ID: MULTICLOUD-230 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-11Add test case for vesagent_ctrl in ocataHuang Haibin1-0/+16
Change-Id: I3e4541b2e4ec55aa8cb5942a3dd979b1256042cc Issue-ID: MULTICLOUD-230 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-06Clean Sonar Project nameGildas Lanilis1-1/+1
Name to be consistant with repo name. Change-Id: Ib93070d82322eb3ae2d019a7f0dacabeeba11129 Issue-ID: CIMAN-202 Signed-off-by: Gildas Lanilis <gildas.lanilis@huawei.com>