summaryrefslogtreecommitdiffstats
path: root/ocata
AgeCommit message (Collapse)AuthorFilesLines
2020-12-30[docker] use `--no-cache-dir` flag to `pip` in dockerfiles to save spacehonoluluPratik raj2-2/+2
using "--no-cache-dir" flag in pip install ,make sure downloaded packages by pip don't cached on system . This is a best practice which make sure to fetch from repo instead of using local cached one . Further , in case of Docker Containers , by restricting caching , we can reduce image size. In term of stats , it depends upon the number of python packages multiplied by their respective size . e.g for heavy packages with a lot of dependencies it reduce a lot by don't caching pip packages. Further , more detail information can be found at https://medium.com/sciforce/strategies-of-docker-images-optimization-2ca9cc5719b6 Issue-ID: MULTICLOUD-1279 Signed-off-by: Pratik Raj <rajpratik71@gmail.com> Change-Id: If01ac9167727423f65788bdf6abfd8ee0e1546cc
2020-02-10Fix sonarcloud coverage rate issueBin Yang1-1/+1
Change-Id: Ibed6c2d38778cf4c605ccf945bb2861b6c9ca66f Issue-ID: MULTICLOUD-993 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2020-02-04Fix openstack plugins https endpoint issueBin Yang2-1/+3
Add cert files into assembly Change-Id: I36dad8186a7d191e53b8e69ac56765c187b02caa Issue-ID: MULTICLOUD-978 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2020-02-04Fix issues concerning the https endpointBin Yang2-0/+50
Change-Id: I3500deb56603e64b0fae2ebc91c50f43c36efbd6 Issue-ID: MULTICLOUD-978 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2020-02-03Enable the usage of msb https endpointBin Yang2-4/+7
Change-Id: I96ef526f1aa99415f45bc8dfdd8d737f8bd5eed5 Issue-ID: MULTICLOUD-978 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-12-13Fix log message output issueBin Yang1-1/+1
The log config error result logger failed to config Change-Id: I5c975e1cb7bef2d1b836fa063c3681e465dbfc2a Issue-ID: MULTICLOUD-966 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-08-27Fix py3 related issueBin Yang1-1/+1
Change-Id: I2b21aaab2cbf0df11b9940bf62585294dd1ce576 Issue-ID: MULTICLOUD-774 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-08-12Update dockerfile for openstack pluginsBin Yang1-1/+1
Change-Id: Id84252dd891701706ee04892f6ce0885f5787a57 Issue-ID: MULTICLOUD-768 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-07-15Add docker profile for openstack modulesBin Yang1-0/+72
Change-Id: I43094436b2b344fe681261a830755a89e8ab2fcc Issue-ID: MULTICLOUD-704 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-07-11Bump up version for E ReleaseBin Yang3-8/+7
Change from 1.3.5 to 1.4.0 Change-Id: I91e1e5ffa95b54b6650d7b895ea5daf1590217dc Issue-ID: MULTICLOUD-700 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-07-10Upgrade to oparent 2.0.0Bin Yang1-1/+1
Which is required by global-jjb Change-Id: I649358bc9fe8916bc8f47df79637650750b24639 Issue-ID: MULTICLOUD-698 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-05-28Upgrade version to 1.3.5 after releasing 1.3.4Bin Yang3-4/+4
Change-Id: I123fd78aace2c14b31fd042bbffed24645d18435 Issue-ID: MULTICLOUD-658 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-05-22Update mc-openstack versin to 1.3.4Liexiang Yue3-4/+4
Issue-ID: MULTICLOUD-641 Change-Id: I8a331cae52d9f58b3b3ef43ec0091aef32401eb4 Signed-off-by: Liexiang Yue <yueliexiang@chinamobile.com>
2019-05-14Upgrade patch version to 1.3.3Bin Yang3-4/+4
Fix the missing changes to pike and ocata Change-Id: I497efd3624f80b71d82259b7c117c17e340e7c64 Issue-ID: MULTICLOUD-624 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-05-08Revert "Update oparent version"Jessica Wagantall1-1/+1
This reverts commit b45093555b3260b7f6b51114dcda61642a3387ed. Issue-ID: CIMAN-234 Change-Id: I277b1a0fcdb5cd4297631989b891f177b662b519 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2019-05-02Update oparent versionJessica Wagantall1-1/+1
Update oparent version to 2.0.0 which supports global-jjb maven-stage job. Change-Id: I3bb978be5040bd8761cd356a50a0297f3aefcf81 Issue-ID: CIMAN-234 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2019-04-30Upgrade to 1.3.2Bin Yang3-4/+4
This should be done once 1.3.1 artifacts are released Change-Id: I943b7cd163b3e607e098e2e6c248a3ed4169119c Issue-ID: MULTICLOUD-590 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-04-26upgrade version to 1.3.1Bin Yang3-4/+4
1.3.0 was used by integration team for validation Change-Id: Ib28838cc4d3dca872b7404e572f5db365487cfb9 Issue-ID: MULTICLOUD-589 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-04-09Fix bugs for infra_workload APIsXiaohua Zhang2-2/+2
Change-Id: Ieda8b2f7f68911bc348613cf7b18b40ea800b1e2 Issue-ID: MULTICLOUD-541 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-04-04Fix thread helper bugXiaohua Zhang1-2/+2
the uwsgi disable threads by default. Enable it with additonal option. The post and get API request might routed to different uwsgi process, Leverage memcached to sync backlog items between uwsgi process Change-Id: Iaac6b66061f2c396cd24825ab020f0a937dfb505 Issue-ID: MULTICLOUD-561 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-04-02Merge changes I2adebca8,I3f66fa63Bin Yang7-1034/+4
* changes: Increase Pike cover rate Increase ocata cover rate
2019-04-02Refactor helper codesBin Yang2-5/+5
Move helper thread to common module Refactor the interface between helper thread and worker Change-Id: I0b61a2ed1a428f67cfbe3cc1411ace39e245932d Issue-ID: MULTICLOUD-554 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-04-01Initiate a thread to handle registryBin Yang2-4/+10
To prevent the registry API timeout by offloading the time-consuming registry to a thread Change-Id: I1107bb7f3d9a11bdae4d0a5926f788bc2a534bda Issue-ID: MULTICLOUD-554 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-04-01Add https support for multicloud ocata pluginHaibin Huang4-3/+71
The https endpoint can be enabled by setting env: SSL_ENABLED=true Change-Id: Ibc651851edb1dd2e143ba28c784f82562c0c9d30 Issue-ID: MULTICLOUD-535 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-03-12Increase ocata cover rateHaibin Huang7-1034/+4
Delete resource code from ocata and use newton_base code. Change-Id: I3f66fa63232fdd9b113e0b61ff9d0a8aa520f96f Issue-ID: MULTICLOUD-501 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-03-07Optimize docker image footprint for ocataHaibin Huang3-13/+21
Rebase to python:2-slim Remove unused pip packages Change-Id: I255f7c009c9b3f887a5a6e6b11a16ece1a7faed4 Issue-ID: MULTICLOUD-517 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-03-07Remove vesagent and celeryHaibin Huang15-1772/+3
The vesagent has been moved to fcaps module Change-Id: I87333bbe5e7116af2b3b495f70d1b39d1c77177b Issue-ID: MULTICLOUD-499 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-03-01Upgrade onaplog 1.0.8Xiaohua Zhang1-1/+1
Add python3 validation Change-Id: I331247e96ebad0d5e1ca3e9ffada8e2623237863 Issue-ID: MULTICLOUD-503 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
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>