summaryrefslogtreecommitdiffstats
path: root/share
AgeCommit message (Collapse)AuthorFilesLines
2021-09-10Upgrade dependency1.5.6Bin Yang2-3/+3
Issue-ID: MULTICLOUD-1344 Signed-off-by: Bin Yang <bin.yang@windriver.com> Change-Id: I39cf2fedb651a3cfc3601c5ccb01a1b67f564655
2020-03-25Fix issue of unregister cloud region1.5.5Bin Yang1-5/+21
Flush all entries with same prefix to maintain consistency of entries Change-Id: I01b02d7148e16c6a49ad6a13c6fe69382bb9c5f7 Issue-ID: MULTICLOUD-1039 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2020-03-25Disable Resource Capacity audition by defaultBin Yang1-34/+47
Allow user to enable it by setting capacity_auditor_enabled:true Fix esr-system-info-id updating issue Issue-ID: MULTICLOUD-1038 Change-Id: I734f7ce614787a04e37b8707ed9be3675c5db629 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2020-03-12Fix hpa_capabilities is not defineHaibin Huang1-1/+2
Issue-ID: MULTICLOUD-1028 Signed-off-by: Haibin Huang <haibin.huang@intel.com> Change-Id: I477ff0ca23fc1480d5a9402b53251d8bbe8713c4
2020-03-06Register k8s cluster over starlingx distributed cloudBin Yang1-1/+14
Change-Id: If6a475d7e6752721ed9aee1dbc2526807ceb3799 Issue-ID: MULTICLOUD-1023 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2020-03-01Fix registration errorBin Yang1-1/+1
Change-Id: I5b6b0668488ec87ec59d4cb8f33b7904a466c045 Issue-ID: MULTICLOUD-1003 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2020-02-29Fix bug in starlingx API handlerBin Yang1-3/+11
Change-Id: I6e8aabeba8329421385f81d1ce394e70c089d10d Issue-ID: MULTICLOUD-1003 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2020-02-29Fix typo in infra_workload API handlerBin Yang1-1/+1
Change-Id: I8bacf825ac3568952673075aaa55436bd10a215b Issue-ID: MULTICLOUD-1003 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2020-02-29Fix starlingx infra_workload API issueBin Yang1-14/+13
override_values_yaml_base64 meant to be decoded Change-Id: I6506e02339d32a696eea3858fd531f7e30f1af30 Issue-ID: MULTICLOUD-1003 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2020-02-28Fix starlingx infra_workload API issueBin Yang1-9/+8
Use base64 to encode and decode content of override_values.yaml Change-Id: Ib74eff3ac5acee35689cdd0665146b785fe3bcd4 Issue-ID: MULTICLOUD-1003 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2020-02-28Fix infra_workload API response content format issueBin Yang1-46/+47
Change-Id: Ifd2a71c26046ce28605abed310edf02b98fe5c30 Issue-ID: MULTICLOUD-1003 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2020-02-28Wrap infra_workload API call to k8s pluginBin Yang5-243/+537
Create profile during post API Change-Id: Ia68eb34f4c1baf01ad96aaaf6b4147a78374de60 Issue-ID: MULTICLOUD-1003 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2020-02-28Populate system info into cloud-extra-infoBin Yang3-54/+88
Change-Id: I9480169439d340fedf5b01fe03d6a8e2f3db8fcb Issue-ID: MULTICLOUD-830 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2020-02-26Merge changes Ifb585a54,Ib784f35fBin Yang1-0/+1141
* changes: Call hpa driver Change package release info
2020-02-26Call hpa driverHaibin Huang1-0/+1141
Issue-ID: MULTICLOUD-694 Signed-off-by: Haibin Huang <haibin.huang@intel.com> Change-Id: Ifb585a5446e3337522cbd0f947076d9f8a9d4451
2020-02-26StarlingX registration should create connectivity to k8s pluginBin Yang1-0/+126
Change-Id: I55bdb07849e10943a86dd788b40e2554faf4edb6 Issue-ID: MULTICLOUD-830 Signed-off-by: Bin Yang <bin.yang@windriver.com>
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 Yang4-16/+27
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-12-12Remove internal heatbridge functionBin Yang1-246/+246
The function was obsoleted from E release Change-Id: Ie386315ba71d740ce145e860f200a7739686da21 Issue-ID: MULTICLOUD-965 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-10-22Unify HPA discovery interfaceHaibin Huang2-24/+36
This is for HPA discovery pluggable Issue-ID: MULTICLOUD-696 Signed-off-by: Haibin Huang <haibin.huang@intel.com> Change-Id: Idc05cd78309edd8ae800e34a3a0d31268c6a9d7f Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-08-28Unregistry removes AZ and its relationshipBin Yang1-10/+36
Change-Id: I1362f92eb3762aa7fbdeb495c40394c825225d75 Issue-ID: MULTICLOUD-793 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-08-28Fix unregistration errorBin Yang3-1543/+1550
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 Yang2-2/+10
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 Yang7-1546/+1546
Change-Id: I2b21aaab2cbf0df11b9940bf62585294dd1ce576 Issue-ID: MULTICLOUD-774 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-08-21Update windriver plugin to py3Bin Yang8-39/+51
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-28Fix issue of v1/.../tenants APIBin Yang13-69/+213
Fix all openoapi v1 which use logger Change-Id: Iaf82c1ca17959725531f6b340e3e770844dd222c Issue-ID: MULTICLOUD-657 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-05-27Fix the infra_workload errorBin Yang1-3/+3
Fix the yaml loader error which results in failure to load VF modules Change-Id: I1d9a699b9fffd8c9c84e20a8cc9aaa4762c2e7f3 Issue-ID: MULTICLOUD-656 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-05-08Fix identity version links errorBin Yang1-5/+8
Change-Id: Ie77112ba78d591bddb2c3a495c9fd8902e5cd8b0 Issue-ID: MULTICLOUD-611 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-05-08Fix error http codeBin Yang1-3/+4
Change-Id: I5a77f92d8cc8a49fd027933bee3c2eedfe89caed Issue-ID: MULTICLOUD-611 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-05-07Feed links to identity version queryBin Yang1-0/+11
Change-Id: I90ae5c73b01e3960491759868399847be7ee0135 Issue-ID: MULTICLOUD-605 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-29Fix unexpected during registration without privilege1.3.1Haibin Huang1-1/+3
Change-Id: Icd38af48fe3d2567e54ce5aebe902f5e61eb5999 Issue-ID: MULTICLOUD-595 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-04-22Fix bug of interaction with artifact brokerXiaohua Zhang2-17/+42
Change-Id: I3dffcc4463fd5ec7004bbb7cc20c0dcbf1622f6d Issue-ID: MULTICLOUD-567 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-04-12Fix bug of query infra_workloadXiaohua Zhang1-1/+1
Change-Id: I6378d5803c6cc1bd82696d46d27df06b75e34d6d Issue-ID: MULTICLOUD-567 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-04-12Fix bug of registrationXiaohua Zhang2-70/+92
Change-Id: Idd12b60af24326c63fbda63928de191cdb6cf7f7 Issue-ID: MULTICLOUD-554 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-04-10Fix bug of AZ cap checkXiaohua Zhang8-113/+130
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 Zhang6-48/+108
Change-Id: Ieda8b2f7f68911bc348613cf7b18b40ea800b1e2 Issue-ID: MULTICLOUD-541 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-04-08Update API handler for multi-tenant supportsXiaohua Zhang7-162/+390
Change-Id: I5c46a71605ed9f5f9e4dfd04b0383c1d5874f3da Issue-ID: MULTICLOUD-543 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-04-08Add multi-tenant support for infra_workload APIXiaohua Zhang3-20/+47
Change-Id: I0e792dc29967ed3f3fc487dd7fbff4039e601d92 Issue-ID: MULTICLOUD-543 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-04-08Add API to query workload by id or nameXiaohua Zhang2-29/+89
Change-Id: Ib34b71b0ffc540b4877b151717ef8ed6464cfb2d Issue-ID: MULTICLOUD-567 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-04-08Update workload_status enumsXiaohua Zhang2-38/+38
Change-Id: I01e371546220fa9d61e9ed63bc0947d8d0a0f583 Issue-ID: MULTICLOUD-566 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-04-04Fix thread helper bugXiaohua Zhang4-51/+154
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 serverfujinhua1-1/+82
Change-Id: Ia9f98d3ba841dd70d0969334d86dbbd3a0f6ac0e Issue-ID: MULTICLOUD-565 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
2019-04-03Fix capacity_check errorBin Yang1-1/+6
Change-Id: Ib317e2a655d571b7cfefc1dbe8631ed77acc4b81 Issue-ID: MULTICLOUD-542 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-04-03Upgrade infra_workload for starlingx_baseBin Yang1-3/+167
Try to fetch openstack artifact from sdc client via the shared volume Change-Id: Ibcb7336e4cfd318497e23167af8cd97883bde594 Issue-ID: MULTICLOUD-541 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-04-03Refactor infra_workload helperBin Yang4-469/+576
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 Yang2-3/+624
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 Yang3-317/+496
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-01Update capacity check APIBin Yang4-92/+204
Query the AZinfo from the cache Relay on the background thread of AZcap Auditing Change-Id: I064dbc22c71ef25683145ef1c96274ce6ac74c3b Issue-ID: MULTICLOUD-542 Signed-off-by: Bin Yang <bin.yang@windriver.com>