lpichler / inventory_access_poc

Implement an API that mirrors the "Content" tab on console dot.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PoC for validating big "join" scenarios

PoC for validating big "join" scenarios where large access data sets need to be joined on filtered, sorted and paged content data Implement an API that mirrors the "Content" tab on console dot.

Development

Run inventory_access_poc with spicedb (using schema in /schema)

docker-compose up --build

Test using an endpoint like:

curl "http://localhost:8080/content/packages"

Docker

docker build . -t quay.io/ciam_authz/inventory_poc_testservice
docker run -p8080:8080 --rm quay.io/ciam_authz/inventory_poc_testservice

Regenerate server code

oapi-codegen -config api/server.cfg.yaml api/openapi.json

About

Implement an API that mirrors the "Content" tab on console dot.

License:Apache License 2.0


Languages

Language:Go 76.1%Language:Dockerfile 23.9%