summaryrefslogtreecommitdiffstats
path: root/windriver/titanium_cloud/vesagent/event_domain
AgeCommit message (Collapse)AuthorFilesLines
2018-09-20Filter endpoint filter mismatch with keystoneauth1Xiaohua Zhang1-0/+1
keystoneauth1 accept region_name as endpoint filter, which will match either region_id or region of the endpoint catalog Change-Id: I7ba1f7904e4b3004565d826f4ea3cd345ce45f62 Issue-ID: MULTICLOUD-364 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-09-19Fix eventId issueXiaohua Zhang1-1/+2
eventId should be unique for each report event Issue-ID: MULTICLOUD-361 Change-Id: Iee11b64e9bce88003858218abc53d1f1f9d8a86d Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-09-18Add UT for vespublishXiaohua Zhang1-169/+0
Change-Id: Ic429214cc3eba9779b0f48ca76cdd1ced030a983 Issue-ID: MULTICLOUD-358 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@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-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-23VESagent monitors all VMs under a tenantBin Yang1-24/+38
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-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 Yang1-1/+21
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 Yang1-0/+9
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-15Resolve tenant name to id and server name to idBin Yang1-3/+39
Change-Id: I8ba7ca6a7e06ce24c3485a2c719df4c8e31f8b34 Issue-ID: MULTICLOUD-230 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-05-15Add logic to build backlog for VM fault eventBin Yang2-0/+90
place the MultiCloud proxy endpoint into backlog so later the worker will query VM status via MultiCloud Change-Id: I9cdfe194698dc362c8936c39ca16b3835af9f5f4 Issue-ID: MULTICLOUD-230 Signed-off-by: Bin Yang <bin.yang@windriver.com>