tirith icon indicating copy to clipboard operation
tirith copied to clipboard

Remove required_ from meta.required_provider and preserve backward compatibility

Open samriddhi99 opened this issue 1 year ago • 1 comments

We need to remove the required_ prefix from the meta.required_provider key in policies. The new key should be meta.provider. Also, we must ensure backward compatibility so that existing policies using meta.required_provider continue to function correctly.

  • [ ] Update the core, specifically the function start_policy_evaluation_from_dict to handle the above case
  • [ ] Write tests to ensure that policies with required_provider, and provider, both work.

samriddhi99 avatar Aug 08 '24 03:08 samriddhi99

I am interested in contributing. However, I get FileNotFound for plan.json when I run the tests.

muddi900 avatar Aug 09 '24 10:08 muddi900