Bug fix while testing stormlight and added domain ID check for policy, metapolicy APIs.