Skip to content

Policy bundles convention in sync app

Yordan Kinkov requested to merge 28-bundle-convention-in-sync-app into main

Closes #28 (closed)

The Sync app is changed to meet the policy bundles convention. The policy file must be named policy.rego and placed in the following directory: {group}/{policyName}/{version}/. Also there could be a data file named data.json in the same directory. Contents of the data file is put as a policy field called data in the policies collection in MongoDB.

@lyuben.penkovski @valerii.kalashnikov

Edited by Yordan Kinkov

Merge request reports