summaryrefslogtreecommitdiffstats
path: root/newton
AgeCommit message (Collapse)AuthorFilesLines
2017-09-25Create UTs for Server APIViewVictor Morales3-45/+404
It was created the Unit tests that covers some of the functions exposed by the API of Servers. Change-Id: I60f9045dab133c59c62755d8564bdad2b6a02f26 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: MULTICLOUD-83
2017-09-25Add UTs for requests/flavorsShashank Kumar Shankar4-557/+858
This patch adds unit tests for requests/flavors and moves the common mock info to a seperate file to avoid multiple copies in each test file. Change-Id: Iacd37742d5c32dc60cbeece00e5c30b983f99881 Issue-Id: MULTICLOUD-83 Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
2017-09-23Merge "Add backward support for identity v2.0 API"zhang ab3-5/+81
2017-09-23Add backward support for identity v2.0 APIBin Yang3-5/+81
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-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 Yang3-2/+4
Change-Id: Ic7aa3c1791482be38ee9debcedb52bbf57add96e Issue-Id: MULTICLOUD-89 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-20fix docker push issueGuo Ruijing1-0/+0
Change-Id: I3b742cb43ea05175fbf4d68dc75c6ed7125a9d63 Issue-Id: MULTICLOUD-95 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-09-20Merge "Create UTs for Extension Views"Bin Yang5-6/+114
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-18Refactor Service UTsVictor Morales5-460/+205
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 Yang4-8/+97
Change-Id: Ia77b99c9ffc68f897948e2ab7d6e68ca3affba82 Issue-Id: MULTICLOUD-89 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-09-13Refactor newton and ocato proxyBin Yang10-215/+155
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 Yang1-0/+2
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-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-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 Yang7-25/+72
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 Yang38-107/+1833
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-04-19Fix bug with regarding to region_name filterv2.0.0release/mercuryBin Yang10-28/+14
Change-Id: Icbf6418ca0b25ca39e47b572a0793b559d57ea81 Issue-Id: MULTIVIM-62 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-31Fix issue to delete flavor APIBin Yang1-10/+19
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 Yang1-2/+16
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 Yang1-27/+180
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 Yang10-11/+86
Change-Id: I6e42cebeb7e1c5edd3f77b8c0c6c091d04fcb364 Issue-Id: MULTIVIM-58 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-28Fix issue of server APIBin Yang1-1/+3
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 Yang10-21/+56
fix a bug in vport API as well. Change-Id: I2e4db0b1576a3208285df59db8a238315dd48f91 Issue-Id: MULTIVIM-55 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-27Fix limit API bugBin Yang2-1/+12
Change-Id: I1d88ea7e2a7b7ffbeab6a39afc8920a820df3586 Issue-Id: MULTIVIM-54 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-15Fix errors in swagger.jsonBin Yang1-2/+2
Change-Id: Ie9e10b22e61dbef34f9fcf71edd452b5b1ceca9d Issue-Id: MULTIVIM-18 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-14Fix tenants API issue for keystone v3Bin Yang1-2/+2
Change-Id: I68db478cebdd036982000298ad36f128dba618a2 Issue-Id: MULTIVIM-22 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-09Remove redundant debug messagesBin Yang1-7/+7
Change-Id: Ida0fe5187265b4e84f2c96eac93400cad68b8cff Issue-Id: MULTIVIM-18 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-08Refactor Networks API for newtonBin Yang1-9/+6
Change-Id: I407f2488f00307a864d78083167df54776b02808 Issue-Id: MULTIVIM-22 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-07Fix errors in swagger.jsonBin Yang2-22/+2
Change-Id: Id60869b666cbf45e3e5888ce3ac0a2bbcae8d8c2 Issue-Id: MULTIVIM-18 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-06Implement servers API for newtonBin Yang2-0/+263
Change-Id: Iad72f45cf0d7696e277c03347e2bf0bf7de50e6c Issue-Id: MULTIVIM-22 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-06Implement volumes API for newtonBin Yang2-0/+162
Change-Id: If354e41f0bac0cc1f95ddafb83b82edce3eaf135 Issue-Id: MULTIVIM-22 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-06Implement images API for newtonBin Yang2-0/+228
Change-Id: Icf18a9906bd09b12c46c65e2c73262e7f449fac2 Issue-Id: MULTIVIM-22 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-06Refactor subnets API for newtonBin Yang1-8/+8
Change-Id: Ib302b832f85f6ddeaad42ec7f9d1586329b3a940 Issue-Id: MULTIVIM-22 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-03Refactor Networks API for newtonBin Yang1-29/+55
Change-Id: I8bfee93e796dc14311ea38c97a0cc6ba7dd89515 Issue-Id: MULTIVIM-22 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-03Refactor subnets API for newtonBin Yang1-33/+57
Change-Id: I48ec354d18c93a1dc39d11acbaa390fe063d0be7 Issue-Id: MULTIVIM-22 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-03Refactor flavors API for newtonBin Yang1-9/+10
Change-Id: I36c579b91be6c5874804b34489d5df1a66c053d5 Issue-Id: MULTIVIM-22 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-03Refactor virtual ports API for newtonBin Yang1-34/+70
Change-Id: I314f09c3aa4570d1df6df14e456ba4132af63320 Issue-Id: MULTIVIM-22 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2017-03-03Fix errors in swagger.jsonBin Yang9-174/+154
Change-Id: Ibd27eda41068286a1f73353f7aff533c81b24a97 Issue-Id: MULTIVIM-18 Signed-off-by: Bin Yang <bin.yang@windriver.com>