-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Problem description
The current implementation seems to support push datasources by providing endpoints to push data into OCP. (https://www.openpolicyagent.org/docs/ocp/api-reference#postput-v1sourcessourcedatapath).
While this works it is not obvious from the documentation how such a datasource can be configured either via config file or API.
The only supported datasource type seems to be http.
If the datasource type is left empty or provided with a different value the bundle build fails.
The datasource directory is not created and still required by the build.
/data
|- <uuid>
|- sources
|- <source name>
|- database
| |- <datasource name>
| |- data.json
|- datasources <-- missing if datasource type http is not provided
If the datasources folder is added manually the bundle build is successful.
Ideally a second datasource type is provided similar to JSON/REST in Styra DAS.
Metadata
Metadata
Assignees
Labels
No labels