CLOUDIFY-2022 refactor 'cosmo' to constants