{"action":"closed","issue":{"url":"https://api.github.com/repos/open-policy-agent/opa/issues/163","repository_url":"https://api.github.com/repos/open-policy-agent/opa","labels_url":"https://api.github.com/repos/open-policy-agent/opa/issues/163/labels{/name}","comments_url":"https://api.github.com/repos/open-policy-agent/opa/issues/163/comments","events_url":"https://api.github.com/repos/open-policy-agent/opa/issues/163/events","html_url":"https://github.com/open-policy-agent/opa/issues/163","id":191383143,"number":163,"title":"Load files into specific locations in hierarchy","user":{"login":"tsandall","id":238885,"avatar_url":"https://avatars.githubusercontent.com/u/238885?v=3","gravatar_id":"","url":"https://api.github.com/users/tsandall","html_url":"https://github.com/tsandall","followers_url":"https://api.github.com/users/tsandall/followers","following_url":"https://api.github.com/users/tsandall/following{/other_user}","gists_url":"https://api.github.com/users/tsandall/gists{/gist_id}","starred_url":"https://api.github.com/users/tsandall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsandall/subscriptions","organizations_url":"https://api.github.com/users/tsandall/orgs","repos_url":"https://api.github.com/users/tsandall/repos","events_url":"https://api.github.com/users/tsandall/events{/privacy}","received_events_url":"https://api.github.com/users/tsandall/received_events","type":"User","site_admin":false},"labels":[{"id":304682001,"url":"https://api.github.com/repos/open-policy-agent/opa/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-23T21:25:40Z","updated_at":"2016-11-26T00:32:57Z","closed_at":"2016-11-26T00:32:57Z","body":"JSON files can be loaded on startup (e.g., `opa run one.json two.json`). Today, OPA requires that these files contain an object so that they can be merged and stored at the root of the data store. In some cases it would be helpful if (1) the files did not have to contain objects and (2) the documents in the files could loaded at specific locations in the data hierarchy. For example:\r\n\r\n```\r\nopa run foo.bar:one.json two.json\r\n```\r\n\r\nThe above command would load the `one.json` file at /data/foo/bar. `two.json` would be loaded normally."}}
{"actor":{"display_login":"tsandall"}}