summaryrefslogtreecommitdiffstats
path: root/windriver
AgeCommit message (Collapse)AuthorFilesLines
2019-10-28Merge "Set python 3.7 as base" into elalto1.4.3Bin Yang1-1/+1
2019-10-25Set python 3.7 as baseBin Yang1-1/+1
python 3.8 result onappylog abnormal Issue-ID: MULTICLOUD-866 Signed-off-by: Bin Yang <Bin.Yang@windriver.com> Change-Id: Idc383ce71c6b7a09af6853998b9cb60c816cd60a (cherry picked from commit 45583488b282b2542b7d4293696103dd8d31fcc0)
2019-10-25Bump version 1.4.3 for elaltoBin Yang2-4/+4
Patch version for fixing starlingx issue Issue-ID: MULTICLOUD-866 Signed-off-by: Bin Yang <Bin.Yang@windriver.com> Change-Id: I88db4de5bac5840de6943e54857175e560b63989
2019-10-17Fix url pattern for proxied openstack api1.4.2Bin Yang2-2/+2
servicetype pattern includes only alphebatics Issue-ID: MULTICLOUD-866 Signed-off-by: Bin Yang <Bin.Yang@windriver.com> Change-Id: I581a8b3bcb6cead9c11917ad1ffd1b7eb09a152c
2019-10-17Bump up openstack plugin version to 1.4.2Bin Yang2-4/+4
Issue-ID: MULTICLOUD-865 Signed-off-by: Bin Yang <Bin.Yang@windriver.com> Change-Id: I711a3227511c49523445ce6e563e2252caeb1c6a
2019-09-04Bump version to 1.4.1Bin Yang2-4/+4
Change-Id: Id3e4c886f86e844d4990d543955c0da2a3403aba Issue-ID: MULTICLOUD-799 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-08-27Remove fake extension API response contentBin Yang2-15/+15
Change-Id: I6ae5ae595b3c90b459f52786b065c724c7cfaa93 Issue-ID: MULTICLOUD-791 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-08-27Fix py3 related issueBin Yang1-3/+7
Change-Id: I2b21aaab2cbf0df11b9940bf62585294dd1ce576 Issue-ID: MULTICLOUD-774 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-08-21Remove dev packageBin Yang1-1/+1
Change-Id: I816e76618143f5fc410374eea0cefd5f868ad953 Issue-ID: MULTICLOUD-774 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-08-21Add pcre support to uwsgiBin Yang1-1/+1
Change-Id: If36736133cc324da3927a8aab2a27ad7bdcfe97a Issue-ID: MULTICLOUD-774 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-08-21Fix wsgi errorBin Yang1-1/+1
Change-Id: I2ce531c85eee63c3306b0a0b40b722f1c5da25c3 Issue-ID: MULTICLOUD-774 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-08-21Update windriver plugin to py3Bin Yang23-95/+122
Change-Id: I7bb1591a31de777d59ad1b96246bbc4d8e1f86f4 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-5/+5
Change-Id: I43094436b2b344fe681261a830755a89e8ab2fcc Issue-ID: MULTICLOUD-704 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-07-15Refine the docker profileBin Yang1-5/+7
Change-Id: I83779d2d566ff8b120fb712924e6d88e771cafa6 Issue-ID: MULTICLOUD-704 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-07-15Add docker profile for maven-docker-stage jobBin Yang1-0/+70
Change-Id: I1f1e66cf283288af088232f8c74b0d8c7062b25f 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
Change-Id: I7d387a26a283cb11e91b483a94551f9713c790f6 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-12update stop scriptsXiaohua Zhang1-1/+1
Issue-ID: MULTICLOUD-508 Change-Id: I9ac055038f497b761cd5807c89551137fcc76d6c Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-04-12Rebase image to alpineXiaohua Zhang3-9/+8
Change-Id: I349e54dbfdb25e543312554c82c9339a39cd8817 Issue-ID: MULTICLOUD-508 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-04-10Fix bug of AZ cap checkXiaohua Zhang2-8/+8
Fix bugs in restcall module update the status code of workload api Remove unused event api from lenovo Change-Id: Iaa16bc3aca42c4583408384c73802ff4debe1b19 Issue-ID: MULTICLOUD-542 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-04-09Fix bugs for infra_workload APIsXiaohua Zhang3-4/+4
Change-Id: Ieda8b2f7f68911bc348613cf7b18b40ea800b1e2 Issue-ID: MULTICLOUD-541 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-04-04Fix thread helper bugXiaohua Zhang2-3/+3
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-04Add os-interface api for serverfujinhua2-0/+8
Change-Id: Ia9f98d3ba841dd70d0969334d86dbbd3a0f6ac0e Issue-ID: MULTICLOUD-565 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
2019-04-02Integrate heatbridge logic to infra_workload APIBin Yang2-27/+54
Offload the heatbridge to thread Change-Id: I66c32e7ee30a40542e6ba75087d7d88caaf0c640 Issue-ID: MULTICLOUD-561 Signed-off-by: Bin Yang <bin.yang@windriver.com>
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 Yang1-4/+4
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-03-11Set Highest cipher for httpsXiaohua Zhang1-1/+1
Change-Id: I46956b98daa600cd5eedd8fb031ef778e0932337 Issue-ID: MULTICLOUD-519 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-03-08Fix assembly setting to include certsXiaohua Zhang1-0/+2
Change-Id: If93c7b26dc7d5fc5f7d8c5bb0c934f906e46579b Issue-ID: MULTICLOUD-519 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-03-08Add https support for multicloud windriver pluginXiaohua Zhang4-3/+61
The https endpoint can be enabled by setting env: SSL_ENABLED=true Change-Id: I4a081bc47bf7be62ddc87407344d2cd580bba5b7 Issue-ID: MULTICLOUD-519 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-03-05Fix Dockerfile issueXiaohua Zhang1-2/+3
Install wget to retrieve zip files Purge and autoremove unused utils Change-Id: I83a619e51f37a11d5295f50c68962021a2bbf6b8 Issue-ID: MULTICLOUD-508 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-03-04Optimize docker image footprintXiaohua Zhang3-6/+11
Rebase to python:2-slim Remove unused pip packages Change-Id: I07c544debe93128bdd4722797339af708d246f0f Issue-ID: MULTICLOUD-508 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-03-04Remove vesagent and celeryXiaohua Zhang16-1732/+1
The vesagent has been moved to fcaps module Change-Id: I938df03374ca887d4f455f206d398491010a9361 Issue-ID: MULTICLOUD-499 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.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-20Run multicloud-windriver service as non root userBin Yang2-4/+8
Disable vesagent and remove the dependency on rabbitmq-server The vesagent should be maintained as a standalone microservice Change-Id: I4877c0c25c973d0dd8f8511f457fed07ca61647b Issue-ID: MULTICLOUD-493 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-01-28Rate python files via pylintCédric Ollivier2-2/+10
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-28Extract some code to shareHaibin Huang10-1079/+11
Change-Id: I6dffc1bf47c5839f077f3c7f93f021ed0b414d24 Issue-ID: MULTICLOUD-428 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-12-21Workaround region list failureBin Yang1-27/+42
keystone api v2.0 does not support region list workaround this by using user input parameters Change-Id: I1df695308eda470ed281bc43abbd43e60d3d5713 Issue-ID: MULTICLOUD-429 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-11-30Fix issue of Delete Infra_workloadXiaohua Zhang1-0/+6
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-27Fix pep8 errors in windriver pluginXiaohua Zhang11-293/+360
Fix errors in vesagent Change-Id: I9cb0afda7a17a08246fcee8439e1ef2775609948 Issue-ID: MULTICLOUD-420 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-11-27Fix pep8 errors in windriver pluginXiaohua Zhang9-309/+374
Fix errors in resource module Change-Id: I59d43b3c62928bdacffc7fcd6f4c1c8055412e59 Issue-ID: MULTICLOUD-420 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-11-27Fix pep8 errors in multicloud pluginXiaohua Zhang6-109/+98
Fix pep8 errors in registration moduel Change-Id: I4b1d3ef1ed397c537b7904f229c0bbc07796a97e Issue-ID: MULTICLOUD-420 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>