Add null pointer check in get(id) function

Signed-off-by: walteryang <walteryang47@users.noreply.github.com>
Add empty constructor for VmPolicy due to rest-easy requests

Signed-off-by: walteryang <walteryang47@users.noreply.github.com>
Invoke addOrUpdate logic in PUT methd of VmPolicyResource

Signed-off-by: walteryang <walteryang47@users.noreply.github.com>
Make sure reslut can get the first element in CrudDAO

Signed-off-by: walteryang <walteryang47@users.noreply.github.com>
Remove unneeded ApplicationJson constant in BackendApplication

Signed-off-by: walteryang <walteryang47@users.noreply.github.com>
Remove unnecessary imports in BackendApplication

Signed-off-by: walteryang <walteryang47@users.noreply.github.com>
Don't add task if vm's task already exist

Signed-off-by: walteryang <walteryang47@users.noreply.github.com>