* updated main.go script to reinitialize the permissions when the are existing or there is any update
Signed-off-by: swastik959 <Sswastik959@gmail.com>
* added few corrections and added better error logging
Signed-off-by: swastik959 <Sswastik959@gmail.com>
* added the checks for checking the existence of different components
Signed-off-by: swastik959 <Sswastik959@gmail.com>
* started adding the Upsert function
Signed-off-by: swastik959 <Sswastik959@gmail.com>
* added upsert to role.go
Signed-off-by: swastik959 <Sswastik959@gmail.com>
* added tests and auditing
Signed-off-by: swastik959 <Sswastik959@gmail.com>
* updated packages
Signed-off-by: swastik959 <Sswastik959@gmail.com>
* updated go version
Signed-off-by: swastik959 <Sswastik959@gmail.com>
* added minor changes
Signed-off-by: swastik959 <Sswastik959@gmail.com>
* added correction to role_test.go
Signed-off-by: swastik959 <Sswastik959@gmail.com>
* corrected test cases
Signed-off-by: swastik959 <Sswastik959@gmail.com>
---------
Signed-off-by: swastik959 <Sswastik959@gmail.com>
The copied migration files are used to run admindb migration. This is
not the best solution however could be used as workaround till we
support running migrations using go binary itself.
* Add DB_ADDR to env vars list
* Add Dockerfile and docker-compose
* Remove go.mod from _kratos dir and clean go.mod of root dir
* Run Kratos docker-compose quickstart from root dir
* Add gomigrate to docker-compose
* Bump docker-composen version to 3.7
* Add Kratos services in the single docker compose file
Removed Kratos quickstart files and merge all setup required for
rcloud-base in the kratos-compose.yml file located in the root of the
repo.
* Add elasticsearch in docker-compose
* Allow es to not be available in when in dev mode
* Change default ES endpoint
Co-authored-by: Abin Simon <abin.simon@rafay.co>