summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-03-26Merge "Add test_getVIMTypes"Liang Ke1-0/+26
2018-03-25Add test_getVIMTypesEthan Lynn1-0/+26
Add test_getVIMTypes for syscomm.py Change-Id: I334d643d3fe5c6a7da69819f4dca89354a2a3906 Issue-ID: MULTICLOUD-198 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-26Merge "Add test_req_by_msb"Liang Ke1-0/+12
2018-03-26Merge "Add test_get_res_from_aai"Liang Ke1-0/+19
2018-03-26Merge "Add test_get_vim_by_id_success"Liang Ke2-3/+24
2018-03-26Merge "Add test_split_vim_to_owner_region"Liang Ke1-0/+22
2018-03-25Merge "Spec for elastic API exposure"zhang ab1-0/+240
2018-03-24Integrate uwsgi with djangoYun Huang3-2/+8
To enable parallel processing of framework services Change-Id: I3142c2ea742918027e7f397b6fe9aece329788a5 Issue-ID: MULTICLOUD-187 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-23Merge "Disable DEBUG mode for framework"zhang ab1-2/+2
2018-03-23Merge "Migrate get vim_types to new framework"zhang ab3-14/+23
2018-03-23Merge "Add pecan in bootstrap script"zhang ab2-6/+17
2018-03-23Merge "Fix wrong word"Liang Ke1-1/+1
2018-03-23Add test_get_vim_by_id_successEthan Lynn2-3/+24
Add unit test test_get_vim_by_id_success for extsys.py Change-Id: I9d487ad9860fdd67f651d21b4833d3a5076babe1 Issue-ID: MULTICLOUD-198 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-23Disable DEBUG mode for frameworkYun Huang1-2/+2
Change-ID: I10b85d708d925956fddc0b1c615495b9f980f526 Issue-ID: MULTICLOUD-196 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-23Spec for elastic API exposureHong Hui Xiao1-0/+240
Change-Id: I22b018b060f3d3f0f7fea88af32eff44f2a49ff3 Issue-ID: MULTICLOUD-152 Signed-off-by: Hong Hui Xiao <honghui_xiao@yeah.net>
2018-03-23Add test_split_vim_to_owner_regionEthan Lynn1-0/+22
Add unit test test_split_vim_to_owner_region for extsys.py Change-Id: I8227fa362f1d971960bd5fc6a76fb00bd1593a8d Issue-ID: MULTICLOUD-198 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-23Add test_req_by_msbEthan Lynn1-0/+12
Add tests test_req_by_msb for restcall.py Change-Id: Ic50d07a52522d67a6f760b5e332e1c93610a45f6 Issue-ID: MULTICLOUD-198 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-23Add test_get_res_from_aaiEthan Lynn1-0/+19
Add test test_get_res_from_aai for restcall.py Change-Id: I7fd4a7d59ce5da891f3cb9d214aa1ffd306abcac Issue-ID: MULTICLOUD-198 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-23Add pecan in bootstrap scriptHong Hui Xiao2-6/+17
Add pecan as an option in bootstrap. Change-Id: Ib6ba34406e7c7fefaeae2af5a91cf9ffd297293c Issue-ID: MULTICLOUD-150 Signed-off-by: Hong Hui Xiao <honghui_xiao@yeah.net>
2018-03-23Migrate get vim_types to new frameworkHong Hui Xiao3-14/+23
A simple comparison between new framework and old framework can be found at [1]. In a high concurrent situation, new framwork is 24 times faster than old one. Since get vim_types is less overhead, result in [1] is more convincing to just compare frameworks. [1] https://paste.ubuntu.com/p/Nc5WTgsKNP/ Change-Id: I0bd3ada0684cb20319895ced77d10d8593873eee Issue-ID: MULTICLOUD-150 Signed-off-by: Hong Hui Xiao <honghui_xiao@yeah.net>
2018-03-23Merge "Ingore swp file in git"Liang Ke1-0/+1
2018-03-23Fix wrong wordBin Sun1-1/+1
The parameter is wrong in the spec. Change-Id: I4bb5c790a38518bc164b8f8ccfcddc0695b610ad Issue-ID: MULTICLOUD-150 Signed-off-by: Bin Sun <bins@vmware.com>
2018-03-23Merge "Add combine_url test for restcall.py"Liang Ke1-0/+24
2018-03-23Merge "Add test_check_capacity_invalid_input"Liang Ke2-2/+15
2018-03-23Merge "Add test test_check_capacity_no_suitable_vim"Liang Ke1-0/+26
2018-03-23Ingore swp file in gitBin Sun1-0/+1
So that dump file will not be checked by git. Change-Id: I978c145a8d98742a2e736119d4334d6be014416d Issue-ID: MULTICLOUD-173 Signed-off-by: Bin Sun <bins@vmware.com>
2018-03-22Add test_check_capacity_invalid_inputEthan Lynn2-2/+15
Add test_check_capacity_invalid_input for check_vim_capacity API Change-Id: I26ddf91b17597bfca9eb3bb424a6d9515071da6d Issue-ID: MULTICLOUD-166 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-22Add test test_check_capacity_no_suitable_vimEthan Lynn1-0/+26
Add test_check_capacity_no_suitable_vim for check_vim_capacity API Change-Id: I86083b261106b81aacc53e0ef558556e7458f004 Issue-ID: MULTICLOUD-166 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-22Add combine_url test for restcall.pyEthan Lynn1-0/+24
Add tests for combine_url function Change-Id: I7ad188855174bbd0be83917b425beba494fcf141 Issue-ID: MULTICLOUD-198 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-22Merge "Add forwarder function to pecan framework"Liang Ke1-0/+67
2018-03-22Merge "Initial code for pecan framework"Liang Ke10-84/+265
2018-03-22Specs for image serviceBin Sun1-0/+117
Change-Id: I7dade73cab501e20df9885cfe8996c5f09551776 Issue-ID: MULTICLOUD-155 Signed-off-by: Bin Sun <bins@vmware.com>
2018-03-22Merge "Specs for Event Federation"zhang ab1-0/+145
2018-03-22Specs for Event FederationBin Sun1-0/+145
Change-Id: Ibc4d931aee7e300cca9c005bc628c8a7d3bc30dc Issue-ID: MULTICLOUD-149 Signed-off-by: Bin Sun <bins@vmware.com>
2018-03-22Spec for parallelism improvment of multicloudHong Hui Xiao1-0/+199
Change-Id: If07bd4690014f19ff202ca6ad23ebdab227305fe Issue-ID: MULTICLOUD-150 Signed-off-by: Hong Hui Xiao <honghui_xiao@yeah.net>
2018-03-21Merge "Upgrade to latest oparent"Liang Ke1-1/+1
2018-03-21 Fix framework logging formatliangke7-10/+93
Update the logging format. Add context middleware to set MDC attributes. Allow framework to transmit request headers,So backend plugin could get "TransactionID" from framework. Change-Id: Ib918489a4a3e2069046471b42810fe4d1cbcb374 Issue-ID: MULTICLOUD-151 Signed-off-by: liangke <lokyse@163.com>
2018-03-19Add test_check_capacity_successEthan Lynn1-0/+54
Add test_check_capacity_success for check_vim_capacity API Change-Id: I8b0ffb3b907b25f06d8267c7ec941ce83d636d95 Issue-ID: MULTICLOUD-166 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-19Merge "Add check_vim_capacity"Liang Ke2-2/+35
2018-03-16Add check_vim_capacityEthan Lynn2-2/+35
Add check_vim_capacity API to broker. Change-Id: I57d26dea6502a38fb358d9df5ae313ad438e7056 Issue-ID: MULTICLOUD-166 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-15Upgrade to latest oparentGildas Lanilis1-1/+1
Update pom.xml file to latest version release of oparent, 1.1.0 Change-Id: I5a907df058c4a65cb71be19660ea8ecbae22e8e6 Issue-ID: INT-443 Signed-off-by: Gildas Lanilis <gildas.lanilis@huawei.com>
2018-03-16Update A&AI schema to v13Ethan Lynn1-1/+1
Update A&AI schema to v13 Change-Id: Iff8ebf0491d78653bf346e374c2749eb8556214e Issue-ID: MULTICLOUD-185 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-15Fix vim_types testsEthan Lynn1-11/+1
Fix vim_types tests Change-Id: Ib58860496b51657d7455de60ab48ba8b0bc886fb Issue-ID: MULTICLOUD-184 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-15Merge "Remove msb register code"Liang Ke4-59/+0
2018-03-14Add test_vim_types_successEthan Lynn1-0/+36
Add unit tests for vim_types API. Change-Id: I188f7a65f6573ae3fb5813a43c34245eebb2f4fa Issue-ID: MULTICLOUD-184 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-14Remove msb register codeEthan Lynn4-59/+0
It's legacy code from open-o, we don't need it any more. And also remove a vulnerability reported by sonar. Change-Id: I88c94240c0ef21b182b8dcc13feae684471639db Issue-ID: MULTICLOUD-133 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-12Add forwarder function to pecan frameworkHong Hui Xiao1-0/+67
Add forward(or proxy) functionality, so that multicloud component is able to forward request to another component. TEST DONE: GET POST DELETE (/networks) Registry/Unregistry/Identity Change-Id: I73f71c62a91301c0864f1a00fd95f016f69a89d4 Issue-ID: MULTICLOUD-150 Signed-off-by: Hong Hui Xiao <honghui_xiao@yeah.net>
2018-03-09Fix sonar code coverageBin Sun1-0/+81
Change-Id: Ifc84366fe19c3395b31ce1ffc8b96146f34b9fcc Issue-ID: MULTICLOUD-172 Signed-off-by: Bin Sun <bins@vmware.com>
2018-03-09Fix sonar code coverageBin Sun3-8/+147
Change-Id: Ib457043aad138746239f13f38235c2ebd4ddcb6e Issue-ID: MULTICLOUD-172 Signed-off-by: Bin Sun <bins@vmware.com>
2018-03-08Initial code for pecan frameworkHong Hui Xiao10-84/+265
This patch introduces pecan framework to multicloud. The number of processes equals to the number of CPU cores. The swagger json url has been implemented in this patch. ../api/multicloud/v0/swagger.json Change-Id: Icd0ebd9f275c2f066295ec3c2723d995d71ef632 Issue-ID: MULTICLOUD-150 Signed-off-by: Hong Hui Xiao <honghui_xiao@yeah.net>