summaryrefslogtreecommitdiffstats
path: root/share/common
AgeCommit message (Collapse)AuthorFilesLines
2020-02-03Enable the usage of msb https endpointBin Yang1-1/+2
Change-Id: I96ef526f1aa99415f45bc8dfdd8d737f8bd5eed5 Issue-ID: MULTICLOUD-978 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-12-17Bypass cache for LCM of cloud regionBin Yang2-11/+22
Cache only the resource uri without query string. Bypass the cache for LCM of a cloud region,which enhance the resilience in case mismatch between AAI and cache Change-Id: I57fd7981753d5959757401cea69f6fabd1874e25 Issue-ID: MULTICLOUD-968 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-08-28Fix unregistration errorBin Yang1-1/+1
Change-Id: I907239e0d3f54bdd8cab6103cb3525626e629e39 Issue-ID: MULTICLOUD-793 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-08-27Add get api v1 to registration APIBin Yang1-2/+3
Fix error of cache set with object Change-Id: Ie397fefa4e19be2a7257ecd5adaa8dd63472b355 Issue-ID: MULTICLOUD-792 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-08-27Fix py3 related issueBin Yang2-5/+5
Change-Id: I2b21aaab2cbf0df11b9940bf62585294dd1ce576 Issue-ID: MULTICLOUD-774 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-08-21Update windriver plugin to py3Bin Yang3-6/+6
Change-Id: I7bb1591a31de777d59ad1b96246bbc4d8e1f86f4 Issue-ID: MULTICLOUD-774 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-05-28Fix UT mismatch after fixing the tenants issue1.3.4Bin Yang1-1/+2
Change-Id: Ie563de7f80c84c3eaed64589ec6e6250d80a31b6 Issue-ID: MULTICLOUD-657 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-05-06Fix the intermittent error to get Infra_workloadBin Yang1-1/+10
Fix the operation of update backlog to make sure at least one copy of backlog item exists Change-Id: I4b1e6f3ce330c1d8f37a46c547f18e1ef95e67af Issue-ID: MULTICLOUD-603 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-04-10Fix bug of AZ cap checkXiaohua Zhang3-14/+18
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 Zhang1-25/+30
Change-Id: Ieda8b2f7f68911bc348613cf7b18b40ea800b1e2 Issue-ID: MULTICLOUD-541 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-04-08Add multi-tenant support for infra_workload APIXiaohua Zhang1-2/+5
Change-Id: I0e792dc29967ed3f3fc487dd7fbff4039e601d92 Issue-ID: MULTICLOUD-543 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-04-04Fix thread helper bugXiaohua Zhang1-9/+77
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-03Refactor infra_workload helperBin Yang1-4/+22
Change-Id: I6ffcd3b9b9d2998bb2f2a6c043b20ad4ce072d9d Issue-ID: MULTICLOUD-561 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-04-02Integrate heatbridge logic to infra_workload APIBin Yang1-3/+5
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 Yang1-3/+225
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>
2018-12-25Refactor the AAI cache for multicloud plugin3.0.1-ONAP1.2.3Bin Yang3-13/+72
Fix the cache issue of cloud region which result in failure of cloud region registration Change-Id: Id13a40124efb92bd818686e069c9335ecd0d07c1 Issue-ID: MULTICLOUD-431 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-11-26Cache AAI data1.2.2Bin Yang1-0/+9
Add profiler decorator Change-Id: I280b5799fa876d881dc2331b44dd34344437eba3 Issue-ID: MULTICLOUD-417 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-09-19Implement infra_workload delete APIXiaohua Zhang2-14/+9
Change-Id: I16f198e44810278eafb5be08ed88268911554f57 Issue-ID: MULTICLOUD-358 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-09-18Implement POST and GET API for infra_workloadXiaohua Zhang1-4/+6
Change-Id: I7152f2738b0e30075dd0aebb17d74f806dc48b34 Issue-ID: MULTICLOUD-358 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-09-15Add heatbridge handlerBin Yang1-0/+59
Embedded the heatbridge handler into GET API Add multicloud api helper Change-Id: I96bd5e555dbcaa08d5ac5ac132c004a690f2e41d Issue-ID: MULTICLOUD-264 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-08-17multi-region discoveryBin Yang1-0/+3
Decouple the openstack region id from cloud-region-id Change-Id: If4bfacf05d87ca4bc97a485d4153f4f379ad451a Issue-ID: MULTICLOUD-311 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-08-14Upgrade API for capacity_checkBin Yang1-0/+20
Change-Id: If53c734294907eb4a4d108a2c7e81d537c53eb8f Issue-ID: MULTICLOUD-297 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-07-30Remove EPA attributeDileep Ranganathan1-1/+0
Remove EPA property from multicloud as it is repaced by HPA attributes. Change-Id: I96e2ebcc60ac55cb0f0559607de919da410f66b1 Issue-ID: AAI-1150 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-05-16Change the AAI call for query cloud regionBin Yang1-13/+16
This is to break the single AAI call into two to reduce the data exchanged in case cloud region assoicated with so many child objects Change-Id: I8d23764be1da82d8298f84cbe1a95427dc26c333 Issue-ID: MULTICLOUD-232 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-04-27Add logging for rest calls to ONAP servicesYun Huang1-2/+10
Change-Id: I9372f303790241a2ba580e212d5dea5a7d1844e0 Issue-ID: MULTICLOUD-178 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-01settings.py replace config.pyHuang Haibin3-42/+9
the patch refer to https://gerrit.onap.org/r/#/c/23529 Change-Id: Ia42c9be995ef73ea12a4733cb967ffed1ce15101 Issue-ID: MULTICLOUD-138 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-03-01Move extsys from newton to commonHuang Haibin2-0/+108
Change-Id: I30ad2ed3a43bcb0ef569bb25d3e51a9ab49ea48a Issue-ID: MULTICLOUD-138 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-02-28Move pub file from newton to commonHuang Haibin15-0/+3061
Change-Id: Ib7160619b6fd0b1bada0da685bf4cfaa95a15fff Issue-ID: MULTICLOUD-138 Signed-off-by: Huang Haibin <haibin.huang@intel.com>