IDM-6 fix rest api dependency