summaryrefslogtreecommitdiffstats
path: root/windriver
AgeCommit message (Collapse)AuthorFilesLines
2018-08-14API upgrading for service proxyBin Yang2-9/+103
Change-Id: Ic0f33176a84a1d78dec37911eda9b83cef79e0b1 Issue-ID: MULTICLOUD-297 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-08-14API upgrading for identity proxyBin Yang3-4/+94
Change-Id: I793dfc79d4a04da3b0b3fe19ed1b3076a5744106 Issue-ID: MULTICLOUD-297 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-08-14API upgrade for registryBin Yang2-2/+22
Change-Id: I25fd280332cfc772fa100b7b768e3a5056457f87 Issue-ID: MULTICLOUD-297 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-08-14API upgrading for vesagentBin Yang1-1/+30
Change-Id: I7613c2856e37736f2410de656bb7ae52ac4786e1 Issue-ID: MULTICLOUD-297 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-08-14Upgrade API for capacity_checkBin Yang3-3/+16
Change-Id: If53c734294907eb4a4d108a2c7e81d537c53eb8f Issue-ID: MULTICLOUD-297 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-08-03Upgrade API for vesagentBin Yang2-0/+42
first try to add API v1 version Change-Id: Ic7511ce3c41792a3fa4a4ede84dd04483997033b Issue-ID: MULTICLOUD-297 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-07-30Remove EPA attributeDileep Ranganathan10-132/+0
Remove EPA property from multicloud as it is repaced by HPA attributes. Change-Id: I96e2ebcc60ac55cb0f0559607de919da410f66b1 Issue-ID: AAI-1150 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-07-04Fix UT data for discover HPA flavorYun Huang1-8/+1
Change-Id: I797257978b1acf6a842281f7e2cb0e4ccc4d8edd Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-07-04UT to discover HPA flavorYun Huang1-0/+38
Change-Id: Ifda7cc6930e743fbfe0366ee45280738c4d08ddd Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-07-04UT for registration flavorsYun Huang1-0/+97
Change-Id: I687bd65d59d928f97fa0a09fa889c01c5a6fe11f Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-07-04UT for VESagent process event emptyYun Huang1-0/+18
Change-Id: Idcb6a75a2be8acf1e185ea52b1844b7f2be7f251 Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-07-04UT for vesagent config without source nameYun Huang1-0/+14
Change-Id: I0f0047fe3d571bf7f539bf221c3a860a328eed54 Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-07-04UT for vesagent config without server idYun Huang1-0/+15
Change-Id: I3148d9318839cddb8f484ca18bd72ac5b43a0891 Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-07-04UT for vesagent failure caseYun Huang1-0/+17
Change-Id: I61c7bb5d7c1407be722ff560c04741fc5cb62b81 Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-07-04UT for vesagent event logicYun Huang1-0/+18
Change-Id: I6fde82020371985d111b13f980144d3b4e6bc0ee Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-06-15Test case for processBacklog_fault_vmYun Huang1-1/+33
Change-Id: I1fabaa3faf0d84a493af2d2ff1f14f42335aebdf Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-06-15Test case for buildBacklog_fault_vmYun Huang2-8/+27
Change-Id: I69b7e40bb7dd9a87f56df1c7619e35b9dbf07de4 Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-06-15Test case for get_epoch_now_usecondYun Huang1-0/+36
Change-Id: I87789b3924cf4d6c914485c815e274a636daf6af Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-06-15Test case for test_buildBacklogYun Huang2-2/+23
Change-Id: Ic77d4ce1c1c76c853dd89d5c402f0df5d64887c2 Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-06-15Test case for buildBacklogsOneVIMYun Huang1-0/+29
Change-Id: I50ae92ecc09652f09fd6f5f2223bf2461e4c0e39 Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-06-15Test case for clearBacklogsOneVIMYun Huang1-0/+28
Change-Id: I5ca1a888187751d5487705f2152e5694caf43703 Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-06-15Test case for vesagent getBacklogsOneVIMYun Huang1-0/+10
Change-Id: I542e95fc830d7f64d4e1cdc9dfa5436efbea72f4 Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-06-15Test case for vesagent delete APIYun Huang1-0/+13
Change-Id: I6c9de8c5b3d797f63413c543665880e9948f7f12 Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-06-15Add test case for vesagent_ctrlYun Huang1-1/+17
Change-Id: I733892bdb499d404761cf900ad44fc9ca0ad0133 Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-06-15Add UT for vesagent tasks_processOneBacklogYun Huang1-0/+31
Change-Id: I12a0dfea32ffc97422db475807c2c3f1ac73935e Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-06-15Add UT for vesagent tasks_processBacklogsOfOneVIMYun Huang1-0/+24
Change-Id: I8db5e8971a48fd25f43a5cbcb32292d7871a1a32 Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-06-15Add UT for vesagent tasks_processBacklogsYun Huang1-0/+12
Change-Id: Icdaea1e1d1c0cf7f10b4e64b53a2616c6c3abdea Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-06-15Add UT for tasks_scheduleBacklogsYun Huang1-0/+70
Change-Id: I2ccc3eaf483a91d702cb35e145cf3a3389393d37 Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-06-12Bump version after Beijing releaseYun Huang2-3/+3
Bump version from 1.1.2 to 1.2.0 Change-Id: I72d8f5ba7fef9546120222f1d76133cc1fbf8341 Issue-ID: MULTICLOUD-245 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-06-05Fix check capacity exception for newton and ocatav1.1.22.0.0-ONAP2.0.0-ONAPYun Huang1-6/+6
Change-Id: I6ed7722ee0a8e4148d9a0ed9414c736187bdedf3 Issue-ID: MULTICLOUD-168 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-06-05Remove inactive code for imagefile APIYun Huang2-217/+0
Change-Id: Ifa8f3bdf763bbf9e15c1de904a8708065d03ceb3 Issue-ID: MULTICLOUD-207 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-06-05Fix eventId to conform VES specsBin Yang1-2/+2
Change-Id: Ia1eae86bd56e99cc825e2bbc03dab33921d625f0 Issue-ID: MULTICLOUD-238 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-05-24Fix non-administator check capacity exceptionYun Huang1-7/+20
Change-Id: I6c27713a1c36abeacb37ab6012ec23587a262e5d Issue-ID: MULTICLOUD-168 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-05-23VESagent monitors all VMs under a tenantBin Yang2-29/+52
When no server_id or source is provided Report batch event in case all VMs are monitored Change-Id: Id8d65f53d9dd1a8f4ac93a62846ab6e0c5c19409 Issue-ID: MULTICLOUD-238 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-05-21Fix incompatible fields of reported eventsBin Yang1-10/+21
specificProblem should match Holmes Rules eventId should be unique for each event Change-Id: I8f523fe3f194257aea556918020900cf717da167 Issue-ID: MULTICLOUD-238 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-05-19correct the timestamp granularityBin Yang1-3/+14
Change-Id: I6a7f4046fa2f28f4a0dc93becf28926bcbe52dbc Issue-ID: MULTICLOUD-236 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-05-17Fix logger setting errorBin Yang1-1/+1
Change-Id: I3cca48226d5a18bfb650aa11c609d83d5fdc2456 Issue-ID: MULTICLOUD-235 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-05-16Change logs to reduce uncessary info outputBin Yang1-10/+13
Change-Id: I2f2309316c048c9be98a35c72730a02a795329dc Issue-ID: Issue-ID: MULTICLOUD-232 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-05-16Fix bugs for GET API and tasksBin Yang3-7/+11
Change-Id: If1748109359b9180aac46e14d3e4261def171460 Issue-ID: Issue-ID: MULTICLOUD-232 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-05-16Fix hpa-attribute-value string formatYun Huang1-24/+63
Change-Id: I476a189c621b48a8d48becce50c9c6fe1102318c Issue-ID: MULTICLOUD-232 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-05-15Merge "Fix imagefile url for Titanium Cloud"Bin Yang1-1/+1
2018-05-15Fix imagefile url for Titanium CloudYun Huang1-1/+1
Change-Id: Id8207080d7f5971cc56dfffbb0d38f6d3e87bcd0 Issue-ID: MULTICLOUD-207 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-05-15Add UT for VESagent GET APIBin Yang1-0/+60
Change-Id: I5271c50322f55296e5ca869da084ab5b427d614c Issue-ID: MULTICLOUD-230 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-05-15Add DELETE API to remove all backlogs of a VIMBin Yang1-0/+53
And this will bring down the vesagent workers whenever there is no backlogs of any VIM any more Change-Id: I21d2229727d7bf6af119c072e9ca7ce9ce252c8d Issue-ID: MULTICLOUD-230 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-05-15Add GET API to retrieve config and backlogsBin Yang1-1/+46
Change-Id: I3fb4063ab6346b51c36b29f82202f5e2fe1b2d8a Issue-ID: MULTICLOUD-230 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-05-15Encode the collected VM data into VES eventBin Yang1-2/+104
Change-Id: Icbf7408c627fe47e60a8bf2b3b45cb20baa5b313 Issue-ID: MULTICLOUD-230 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-05-15Publish the event to VESBin Yang2-1/+64
Change-Id: I5ab561cd67a7d340d6e7828fd26b339742c10e36 Issue-ID: MULTICLOUD-230 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-05-15collect VM status according to the backlogBin Yang1-0/+43
Change-Id: I21c96831e6fc9bd6fcf76d3717054db2257815c6 Issue-ID: MULTICLOUD-230 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-05-15Add logic to handle single backlogBin Yang2-1/+98
Dispatch the specific backlog to corresponding handler caching the runtime state into cache Change-Id: I5edd682c8138532b496e281c5e3cf4274d3227c0 Issue-ID: MULTICLOUD-230 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-05-15pass backlogs via cache and verify thatBin Yang2-4/+71
Change-Id: I5ea05e29290a23c290d3e1deb7ef637b06e7c6b7 Issue-ID: MULTICLOUD-230 Signed-off-by: Bin Yang <bin.yang@windriver.com>