CLOUDIFY-1660 process inspector refactroing