summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-09-23Merge "Add backward support for identity v2.0 API"zhang ab9-17/+113
2017-09-23Add backward support for identity v2.0 APIBin Yang9-17/+113
Add NBI v2.0/tokens and convert to SBI v3/auth/tokens Change-Id: I5734e18f78844f15847b3a0a2d906b70e75fd260 Issue-Id: INT-225 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-21Create UTs for newton.pubs moduleVictor Morales5-43/+251
This commit creates Unit Tests for covering function defined in newton/pubs folder. It also makes a refactoring of the functions cleaning unused code. Change-Id: I5931871a1bbb3732b7c68cc8a245899283b6fd99 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: MULTICLOUD-83
2017-09-21Add UTs for requests/networksShashank Kumar Shankar2-1/+796
This patch adds unit tests for requests/networks. Change-Id: Ia756693796d752ab1716aef177560c69220e7904 Issue-Id: MULTICLOUD-83 Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
2017-09-21Fix url pattern errorBin Yang9-8/+10
Change-Id: Ic7aa3c1791482be38ee9debcedb52bbf57add96e Issue-Id: MULTICLOUD-89 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-21remove docker build workaroud in function testGuo Ruijing3-35/+0
Change-Id: I4167b423319a1b6c66f232951c5084b7f854d577 Issue-Id: MULTICLOUD-95 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-09-20fix docker push issueGuo Ruijing3-0/+0
Change-Id: I3b742cb43ea05175fbf4d68dc75c6ed7125a9d63 Issue-Id: MULTICLOUD-95 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-09-20update port from 9004 to 9006Guo Ruijing13-13/+48
Change-Id: Ic2ad8eda3b21b6c11cabf89d65f5a72956262750 Issue-Id: MULTICLOUD-95 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-09-20Merge "add function test cases"Bin Yang9-9/+53
2017-09-20add function test casesGuo Ruijing9-9/+53
Change-Id: Ic0c5eecdcbb3d5ab460c79235f4e0df4b4932f7b Issue-Id: MULTICLOUD-95 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-09-20Add windriver pluginBin Yang45-0/+1458
Change-Id: Icd27d7af12d6920810d7cbb163e8be70db49f121 Issue-Id: MULTICLOUD-89 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-20Merge "Create UTs for Extension Views"Bin Yang5-6/+114
2017-09-20Merge "Refactor Service UTs"Bin Yang6-461/+207
2017-09-19Create UTs for Extension ViewsVictor Morales5-6/+114
This change add a Unit tests for EpaCaps and Extensions ApiView Classes. Change-Id: I8913b63260e4fc884d7c22f376f7a9380a67d999 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: MULTICLOUD-83
2017-09-19add proxy test casesGuo Ruijing3-1/+10
Change-Id: Icc3595eb960c377479fd8f567cd371f013565778 Issue-Id: MULTICLOUD-95 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-09-18Refactor Service UTsVictor Morales6-461/+207
The Unit tests that covers the get function of Service resource was generic, this change pretends to translate it to use cases. Change-Id: Iaec6d0751b5501612aebb240423da750bd56abff Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: MULTICLOUD-83
2017-09-15Add swagger for identity proxyBin Yang6-10/+99
Change-Id: Ia77b99c9ffc68f897948e2ab7d6e68ca3affba82 Issue-Id: MULTICLOUD-89 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-15Merge "setup function test framework"Bin Yang3-5/+20
2017-09-15setup function test frameworkGuo Ruijing3-5/+20
this patch is to add designate features in openstack Change-Id: Ifb0cd9b45476ef12df6dd767706d639bf64c0752 Issue-Id: MULTICLOUD-92 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-09-15setup function test frameworkGuo Ruijing1-2/+4
this patch is to update test1 case in multicloud function test Change-Id: Ied3ccd5105f9186f0a014768c1529ec4f19f4a94 Issue-Id: MULTICLOUD-92 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-09-15setup function test frameworkGuo Ruijing1-1/+1
this patch is to fix issue to setup function test framwork for multicloud Change-Id: I48f9b750d36fe797abdf12bebf9f9650e0da0f51 Issue-Id: MULTICLOUD-92 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-09-15Fix build docker jjb issueBin Yang3-0/+31
Add version.properties file Change-Id: Id05eb4fdfaef3f4429a589375135e5253a75ea84 Issue-Id: MULTICLOUD-58 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-14setup function test frameworkGuo Ruijing12-0/+307
this patch is to setup function test framwork for multicloud Change-Id: I372ca4a11878b25fd9b5f4b7ed199e0d8748e11d Issue-Id: MULTICLOUD-92 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-09-13Refactor newton and ocato proxyBin Yang23-230/+291
refactor code and fix bugs to update proxy prefix Change-Id: I4a02b0570759f087581e875cc683d4475bd2121b Issue-Id: MULTICLOUD-89 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-13Add plugin for OpenStack OcataBin Yang38-0/+971
add plugin for openstack ocata, reuse most of source code from plugin for newton. Change-Id: I444a4e6dd80e34d06d35e0e711de426f10d8db35 Issue-Id: MULTICLOUD-89 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-11Merge "Cleanup project's name in Sonar"xinhuili1-1/+1
2017-09-11Fix bug in service proxyBin Yang3-33/+37
fix bug in service proxy, along with unittests Change-Id: I946af21f4b8384ae920c322245741bf990515f1a Issue-Id: MULTICLOUD-58 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-11Fix bugs in restcallBin Yang4-11/+57
fix bug and update dockerfile Change-Id: I5e6e2eeae85d9bfaabd190d8f9baaca8cca7aeb5 Issue-Id: MULTICLOUD-58 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-08Cleanup project's name in SonarJessica Wagantall1-1/+1
The name parameter in the root pom.xml should match the project name in gerrit to reflect consistency in Sonar. Change-Id: I582aa1cbdc15c145ce82e29be82b6507ce003908 Issue-id: CIMAN-65 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-09-08Add docker build fileBin Yang5-3/+102
add docker build file to generate container image Change-Id: I08e289dea8caf01b9690d80c2c21355d0f121a6b Issue-Id: MULTICLOUD-58 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-08Populate EPA Capabilities info into AAIBin Yang3-4/+42
parse and discover EPA CAPs and populate them into AAI fix API call to query ESR Change-Id: I8b5e0429d3fbc9e17390b9c4df9cd12c1f0a42b4 Issue-Id: MULTICLOUD-58 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-07Populate Infra info into AAIBin Yang3-92/+363
Populate NFVI resource info into AAI:pserver,etc. Change-Id: I6a4c4d3204cbf7d62076a3bec780c45f422dcc09 Issue-Id: MULTICLOUD-58 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-07Populate cloud resources into AAIBin Yang5-20/+225
populate tenants,flavors,images info into AAI Change-Id: Ifa9701916168fd61814659622233b1129412b189 Issue-Id: MULTICLOUD-58 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-06Implement registration APIBin Yang1-19/+140
Add SBI to discover resources, but not populated into AAI yet Change-Id: I16024d4256bd70e15597bc34c54cde84d91b36cd Issue-Id: MULTICLOUD-58 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-06Refactor proxy APIBin Yang4-69/+89
refactor logger and auth method fix identity proxy bug Change-Id: Ie26c01c2fbf0869dcc77b8c182b775bce90b8d69 Issue-Id: MULTICLOUD-58 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-04Fix restcall to AAIBin Yang9-27/+78
fix restcall to AAI, and fix extension API response Change-Id: I0d786135de5c4d96d447a51af99adfe04178765e Issue-Id: MULTICLOUD-58 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-01Clean up *pass* instructionsVictor Morales14-68/+0
The *pass* python instruction is required in some circunstances. Change-Id: I00acab2bad03a97eba7a7e0a3298f2685f21c298 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: MULTICLOUD-83
2017-09-01Add unittests for openstack newton service proxyBin Yang3-34/+939
Add unittest and fix delete op to service proxy Change-Id: I17e39add9892cbbf9b4c24cb7ac071f06538be0c Issue-Id: MULTICLOUD-83 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-08-31Add Python 3.5 supportVictor Morales19-34/+34
Python 2.7 will be supported until 2020[1]. This changes helps to prepares the transition to the transition to Python 3.x and those systems which not support other versions. [1] https://hg.python.org/peps/rev/76d43e52d978 Change-Id: Ic2847e907e29d565c89b0448135393f923de20e3 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: MULTICLOUD-83
2017-08-30Update newton pom settingBin Yang1-3/+3
change the parent pom to oparent Change-Id: I9cec5dfa5f23c109691226a31421692e3515f188 Issue-Id: MULTICLOUD-58 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-08-30Fix pom setting for newtonBin Yang1-0/+1
fix the parent setting of newton subproject which results in failure of multicloud-openstack-master-merge-java Change-Id: Iee70d4d642186d633ad8fcdf12529d0e79e3eaa4 Issue-Id: MULTICLOUD-58 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-08-29Add OpenStack proxy for newtonBin Yang40-112/+1926
refactor seed code for newton add proxy for identiy,service, add registration, extension management Issue-Id: MULTICLOUD-58 Change-Id: I6a7a21427af4c88b7f060470c1176009c13fc19e Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-08-01Set parent POMXinhui Li1-2/+2
This patch is to set the parent POM in pom.xml Signed-off-by: lxinhui@vmware.com Change-Id: I0104755b04f5661e0d3b02a1a6ccc74c83ba0369
2017-04-19Fix bug with regarding to region_name filterv2.0.0release/mercuryBin Yang20-56/+28
Change-Id: Icbf6418ca0b25ca39e47b572a0793b559d57ea81 Issue-Id: MULTIVIM-62 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-31Fix issue to delete flavor APIBin Yang2-20/+38
delete extra-specs of flavor might fail, but does not impact the deletion of flavor, so leave it alone Change-Id: I0352cf4e3eb2894b0868b7dc8ab62acfbc060778 Issue-Id: MULTIVIM-61 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-29Fix bug in server APIBin Yang2-4/+32
add nicArray to server information model Change-Id: I58940d2d18a233b5c01bf930acc6c98d68b803ca Issue-Id: MULTIVIM-59 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-29Fix bug in server APIBin Yang2-54/+359
fix bug resulting in failing to attach volume to server Change-Id: I9e9be9632c36967d29f983fbd082e4a6ed87ce3c Issue-Id: MULTIVIM-59 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-28Expose detail information upon API call failureBin Yang20-21/+171
Change-Id: I6e42cebeb7e1c5edd3f77b8c0c6c091d04fcb364 Issue-Id: MULTIVIM-58 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-28Fix issue of server APIBin Yang2-2/+6
Add name field in response Change-Id: I5b9c9b37b6760962667bd136e1a9b48974048f0d Issue-Id: MULTIVIM-57 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-27Add traceback to all APIsBin Yang20-42/+112
fix a bug in vport API as well. Change-Id: I2e4db0b1576a3208285df59db8a238315dd48f91 Issue-Id: MULTIVIM-55 Signed-off-by: Bin Yang <bin.yang@windriver.com>