Golang implementation of INCITS 359-2012 (R2017)
-
1.12
- mysql
We are using local docker container to run unit tests
- Make sure you have docker installed
- Add the following environment variables locally
export RBAC_DB_DRIVER=mysqlexport RBAC_DB_USERNAME=rootexport RBAC_DB_PASSWORD=toorexport RBAC_DB_HOSTNAME=localhostexport RBAC_DB_NAME=rbacexport RBAC_DB_PORT=3306
- Run the following command to install mysql docker container
docker build -t mysql . - Run the previously created container
docker container run -d -p 3306:3360 mysql - Go to the RBAC repository and run
go test -v
- Database Schema - can be found in db/schema
- Database Test Values - can be found in db/data