summaryrefslogtreecommitdiffstats
path: root/multivimbroker
AgeCommit message (Collapse)AuthorFilesLines
2018-03-22Merge "Initial code for pecan framework"Liang Ke10-84/+265
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-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-09Fix sonar code coverageBin Sun2-7/+81
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>
2018-03-06Add sonarEthan Lynn2-0/+14
Add sonar code coverage in pom.xml Change-Id: Idc965bb49bf4747cedf4d4f9e9819b3a9c42171e Issue-ID: MULTICLOUD-172 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-06 Put yaml type file into repositoriesliangke1-0/+2
Change-Id: I3dacb6cc9a80374c7dcb0fbfde513be4e658ee95 Issue-ID: MULTICLOUD-151 Signed-off-by: liangke <lokyse@163.com>
2018-03-05 Update log setting of multivimbrokerliangke4-33/+45
Change-Id: I6d666ed07c5c28edc3337028c29c502d4fbeb3dd Issue-ID: MULTICLOUD-151 Signed-off-by: liangke <lokyse@163.com>
2018-03-05Merge "Revise vim_types API"Liang Ke1-2/+7
2018-03-01Remove unused redis configEthan Lynn2-89/+0
Broker didn't use redis for now. Change-Id: I585c5ea2e4c3664de8b26bacb3a3452799872476 Issue-ID: MULTICLOUD-133 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-03-01Revise vim_types APIEthan Lynn1-2/+7
Change-Id: I0a5728655fc8eb894a11dac56192f724db2000b6 Issue-ID: MULTICLOUD-165 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2018-01-15Update licenseEthan Lynn43-1/+65
Update license according to ONAP community Change-Id: I1cfb2d23db235c71982dc7cb19b6e89870189890 Issue-ID: MULTICLOUD-139 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2017-12-26Merge "Bump minor version"xinhuili1-2/+2
2017-12-26Merge "Remove sample folder in code"xinhuili5-83/+0
2017-12-14Make cloud provider plugin configurableEthan Lynn3-40/+48
The cloud provider plugin info stores in pub/config/provider-plugin.json, by editing this file other plugin provider can easily add a new plugin. Change-Id: I499fb05758e76eb2bda6bb4e9fafd302e810dddc Issue-ID: MULTICLOUD-132 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2017-12-14Remove sample folder in codeEthan Lynn5-83/+0
This folder is not necessary. Change-Id: Ie20d10b8682fbde595e07afa2ff166d0423d80f0 Issue-ID: MULTICLOUD-133 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2017-12-03Bump minor versionJessica Wagantall1-2/+2
Bump minor version in preparation for Amsterdam branching. Change-Id: Ie43c398c528ba8dab66fbc9e0067072399768a20 Issue-ID: CIMAN-120 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-12-02Fix pep8 issueliangke2-5/+2
Do not use bare except. Change-Id: I4c95a43341411074a06b9206c8c605c7826ed430 Issue-ID: MULTICLOUD-131 Signed-off-by: liangke <lokyse@163.com>
2017-10-13Change sub project's parentEthan Lynn2-7/+6
Change subproject's parent, otherwise it can't generate staging zip. Change-Id: Icc3ac2fde96212a39588eabf2177b14a6b85efb7 issue-id: MULTICLOUD-112 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2017-10-12Tag staging docker imageEthan Lynn1-1/+3
tag docker image as 1.0.0-STAGING Change-Id: Iaa89cef7805bb879165eea13e08177bec1ce529b issue-id: MULTICLOUD-112 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2017-09-21Fix multicloud broker bugsliangke1-1/+1
Change-Id: I92409678068a3c3e78fb28a688048b6ae33ba56c Issue-Id: MULTICLOUD-98 Signed-off-by: liangke <lokyse@163.com>
2017-09-20Fix namespace of pluginsEthan Lynn3-8/+12
For ocata, forward to multicloud-ocata. For titanium cloud, forward to multicloud-titanium_cloud. For vmware vio, forward to multicloud-vio. Change-Id: If25e0f1694d721e5cc0dad40391c06cdfbe1e6e0 issue-id: MULTICLOUD-99 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2017-09-13Merge "Add setup.py for multivimbroker"xinhuili1-0/+18
2017-09-13Merge "Add vim_types API to MultiCloud Framework"xinhuili2-0/+39
2017-09-13Merge "Add code coverage for multicloud framework"xinhuili6-9/+85
2017-09-11Add vim_types API to MultiCloud FrameworkEthan Lynn2-0/+39
It will be consumed by ESR. Change-Id: I6e6388f220aae32950b6a9491557a12db5b9a1f2 issue-id: MULTICLOUD-88 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2017-09-11Merge "Add extensions API to MultiCloud Framework"xinhuili2-0/+10
2017-09-11Fix docker build script nameEthan Lynn1-0/+0
Change-Id: I4d7b3cb9563fef63c93d7257faf72f04463a7426 issue-id: MULTICLOUD-73 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2017-09-11Package dockerfile folderEthan Lynn1-0/+8
Change-Id: Icdea55e1d543859ddd111e6f29f5c3a1015aa29e issue-id: MULTICLOUD-73 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2017-09-11Merge "Add pom.xml and version.properties to root folder"xinhuili1-1/+1
2017-09-11Change multivim to multicloudliangke4-15/+10
Change-Id: I8fa45bea85db32f9458be7c2f9598c5ad580bedb Issue-Id: MULTICLOUD-79 Signed-off-by: liangke <lokyse@163.com>
2017-09-10Add pom.xml and version.properties to root folderEthan Lynn1-1/+1
In order to fix jenkins docker job. Change-Id: I7071bad9875cb27dfd7d61bc86ce00e088e91e44 issue-id: MULTICLOUD-73 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2017-09-11Merge "Update build_image.sh"xinhuili2-50/+29
2017-09-07Merge "Add registry API to MultiCloud framework"xinhuili2-3/+20
2017-09-07Update build_image.shEthan Lynn2-50/+29
In order to integrate with CI docker build job, update related scripts. Change-Id: I6d456c5bff5e5917fa1741e5a9d533ba0463d97e issue-id: MULTICLOUD-73 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2017-09-07Add setup.py for multivimbrokerBin Sun1-0/+18
Change-Id: I733901263f695ddd041b4f6839a294f3a7188872 Issue-Id: MULTICLOUD-76 Signed-off-by: Bin Sun <bins@vmware.com>
2017-09-01Add code coverage for multicloud frameworkHong Hui Xiao6-9/+85
Since multicloud projects are Django projects essentially, use the mechanism from Django to check code coverage. Change-Id: I850e64e601f9cf4d26222a2a2295ec005dfea474 Issue-Id: MULTICLOUD-71 Signed-off-by: Hong Hui Xiao <honghui_xiao@yeah.net>
2017-09-01Add extensions API to MultiCloud FrameworkEthan Lynn2-0/+10
Change-Id: I6ca32957f329aadb587f98fdf0e663743792c452 issue-id: MULTICLOUD-65 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2017-09-01Add registry API to MultiCloud frameworkEthan Lynn2-3/+20
issue-id: MULTICLOUD-59 Change-Id: I0e5323c49cc93c940ce1a8878a8c14e5d76b2e4c Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2017-09-01Add Dockerfile for MultiCloud FrameworkEthan Lynn4-34/+116
Change-Id: If3eea09eada26d2a51347642fd8cd1e1e96228a2 issue-id: MULTICLOUD-73 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2017-09-01Get VIM info from A&AIEthan Lynn3-22/+42
Change-Id: I08728daeb62c81ee57543c7a60c908a90d210b58 issue-id: MULTICLOUD-68 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
2017-08-30add pep8 checkBin Sun16-105/+154
Change-Id: Ia198017767f5f2144873a082bf0f5b00ff01db1c Issue-Id: MULTICLOUD-64 Signed-off-by: Bin Sun <bins@vmware.com>
2017-08-28update the namespace for multicloud/frameworkDave Chen15-24/+22
Change-Id: I5c4036fbdb6a74ebc9484898fe91ef17670801c3 Issue-ID: MULTICLOUD-46 Signed-off-by: Dave Chen <wei.d.chen@intel.com>