adding deployment policy validation support
support for validate deployment policy and fixing partition validation issue