Commit Graph

3183 Commits

Author SHA1 Message Date
Rohit Yadav 370941b60b cloudian: code cleanup and last refactoring/changes
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-28 17:38:51 +05:30
Rohit Yadav 23b2b34670 cloudian: refactor public api
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-27 17:24:04 +05:30
Rohit Yadav 02907dac6d cloudian: refactor wiremock static method usage
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-27 17:16:38 +05:30
Rohit Yadav 078112df25 cloudian: remove methods from test
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-27 17:13:04 +05:30
Rohit Yadav faabeccc31 cloudian: have pre-emptive basic http/s auth
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-27 17:11:52 +05:30
Rohit Yadav bcd12ab132 cloudian: add more unit tests around delete/put/post
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-27 16:42:40 +05:30
Rohit Yadav 3e8e30a21b cloudian: add more unit tests
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-27 16:19:35 +05:30
Rohit Yadav 195913d773 cloudian: start adding unit tests using wiremock
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-27 15:57:06 +05:30
Rohit Yadav a699714bd8 cloudian: move test around
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-27 12:28:36 +05:30
Rohit Yadav f50955d22f cloudian: cleanup tests, wip unit testing
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-27 12:26:48 +05:30
Rohit Yadav c542b9e934 cloudian: fix ui regression, throw exception on timeout
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-27 12:24:14 +05:30
Rohit Yadav bc0bb89e97 cloudian: refactor code around SSO and url handling
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-26 12:46:53 +05:30
Rohit Yadav 7bc74bc442 cloudian: major refactorings, add logout hook on loading
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-26 11:10:42 +05:30
Rohit Yadav 931e9925f7 cloudian: set client timeouts, don't attach to message bus when plugin is not enabled
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-25 13:34:49 +05:30
Rohit Yadav 1382d0ef50 cloudian: sync first, last names and account name
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-25 12:09:07 +05:30
Rohit Yadav cefbe51545 cloudian: get fresh client on each requirement, to not require restart everytime global setting is changed
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-22 13:30:03 +05:30
Rohit Yadav c9a23ebca5 cloudian: test fixes
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-22 12:29:01 +05:30
Rohit Yadav f420a19ef5 cloudian: make mgr impl robust wrt uncaught exceptions, improve logging
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-22 12:28:49 +05:30
Rohit Yadav 7ef84d526c cloudian: make client refactorings, add email, use http status codes for comparison
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-22 12:27:46 +05:30
Rohit Yadav ca37238d80 cloudian: refactor client code
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-22 12:00:18 +05:30
Rohit Yadav 8f220a5d62 cloudian: some apis don't return response, fix add apis to return boolean result
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-21 16:24:01 +05:30
Rohit Yadav 738b89b56e cloudian: add mandatory/missing user attribute
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-21 16:14:31 +05:30
Rohit Yadav e9244cf341 cloudian: let's guard more apis wrt NPEs
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-21 16:03:37 +05:30
Rohit Yadav 7307168218 cloudian: more npe fixes, around response contents (this needs fixing)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-21 15:58:47 +05:30
Rohit Yadav 2188815dfd cloudian: fix base admin url
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-21 15:54:20 +05:30
Rohit Yadav b5d81feea5 cloudian: fix NPEs
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-21 15:49:06 +05:30
Rohit Yadav 1cc3e733ee cloudian: wip integration with client api/lib
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-21 15:24:26 +05:30
Rohit Yadav f85e33297e cloudian: support most crud apis for user/group wip
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-20 13:55:09 +05:30
Rohit Yadav 5f86ad6986 cloudian: api request experiments
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-19 17:50:55 +05:30
Rohit Yadav 77e153521a cloudian: add client/test stubs using apache hc (httpclient)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-19 16:55:43 +05:30
Rohit Yadav 64aeba66dd cloudian: file path/name refactorings
Also add httpclient maven lib deps

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-19 15:28:26 +05:30
Rohit Yadav 38e72d67a8 cloudian: fix sso param generation code
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-14 12:54:54 +05:30
Rohit Yadav a61c43055e cloudian: port sso signature generation code
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-13 16:18:18 +05:30
Rohit Yadav ceb0b9f71d cloudian: ui integration
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-13 15:08:43 +05:30
Rohit Yadav d4085ac835 cloudian: ui plugin enable/disable based on api/setting value
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-13 14:08:49 +05:30
Rohit Yadav db7697216b cloudian: wip sso integration
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-13 12:57:16 +05:30
Rohit Yadav 170ad669e6 cloudian: fix NPE
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-12 17:40:56 +05:30
Rohit Yadav e1983c9650 cloudian: add message bus listeners
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-12 17:35:38 +05:30
Rohit Yadav f9b3b4af67 cloudian: add configs from connector props file to db
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-12 15:35:10 +05:30
Rohit Yadav df1a802cd5 cloudian: add connector plugin stubs
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-12 13:11:53 +05:30
Rohit Yadav 774998d76b Updating pom.xml version numbers for release 4.9.4.0-SNAPSHOT
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-07 20:21:43 +05:30
Rohit Yadav d145944be0 Updating pom.xml version numbers for release 4.9.3.0
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-08-28 14:52:37 +02:00
Sateesh Chodapuneedi 6977cb3841 CLOUDSTACK-9684 Invalid zone id error while listing vmware zone
Issue
=====
While listing datacenters associated with a zone, only zone Id validation is required.
There is no need to have additional checks like zone is a legacy zone or not.

Fix
===
Removed unnecessary checks over zone ID and just checking if zone with specified ID exists or not.

Signed-off-by: Sateesh Chodapuneedi <sateesh.chodapuneedi@accelerite.com>
(cherry picked from commit 0ef1c17541)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-08-01 20:40:25 +02:00
subhash yedugundla 1b26a486d1 BUG-ID:CLOUDSTACK-8921
Summary: CLOUDSTACK-8921
     snapshot_store_ref table should store actual size of back snapshot in secondary storage
Calling SR scan to make sure size is updated correctly

(cherry picked from commit 4e4b67cd96)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-08-01 20:40:25 +02:00
Nitesh Sarda 9334e091c0 CLOUDSTACK-9937 : dedicateCluster API response does not return correct detail in response
(cherry picked from commit 7364616aa4)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-08-01 20:40:25 +02:00
Rajani Karuturi 9ce2dde030 CLOUDSTACK-9834: prepareTemplate API call doesn't work well
with XenServer & Local SR (Db_exn.Uniqueness_constraint_violation)

removed the host uuid from SR label so that any host which has access to
the SR(all the hosts in the same pool) can reuse the same SR

(cherry picked from commit 1aa6a72bc7)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-08-01 20:40:25 +02:00
Rene Moser 05f94b8ef7 Bug fix for CLOUDSTACK-9762 Management Server UI (VM statistics page) CPU Utilized value is incorrect.
(cherry picked from commit b676a8a7c3)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-08-01 20:40:25 +02:00
Anshul Gangwar e6855db78a CLOUDSTACK-9685: delete snapshot on primary associated with a volume when that volume is deleted
as that snapshot will never be going to use again and also it will fill up primary storage

(cherry picked from commit 336df84f17)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-08-01 20:40:25 +02:00
Nick Livens 1f44e884ad CLOUDSTACK-9321 : Multiple Internal LB rules (more than one Internal LB rule with same source IP address) are not getting resolved in the corresponding InternalLbVm instance's haproxy.cfg file
CLOUDSTACK-9321 : Adding component tests for VPC Network functionality - Internal LB rules

CLOUDSTACK-9321 : Extending Nuage VSP Internal LB Marvin tests

Co-Authored-By: Prashanth Manthena <prashanth.manthena@nuagenetworks.net>, Frank Maximus <frank.maximus@nuagenetworks.net>

(cherry picked from commit 62e858131f)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-08-01 20:40:25 +02:00
nvazquez 1d25582ed6 CLOUDSTACK-9752: [Vmware] Optimization of volume attachness to vm
(cherry picked from commit 49dadc5505)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-08-01 20:40:25 +02:00