OpenCloud catalog, provides also workspaces, workflows and schedules
Go to file
2024-02-19 17:57:06 +01:00
conf Changed the conf object to the conf package for better accessibility 2024-02-19 17:57:06 +01:00
controllers started implementing a /ping route 2024-02-19 17:57:06 +01:00
models compose upgrade 2023-10-18 11:01:41 +02:00
routers started implementing a /ping route 2024-02-19 17:57:06 +01:00
scripts compose upgrade 2023-10-18 11:01:41 +02:00
selfapi initial commit 2023-03-03 14:43:11 +01:00
services initial commit 2023-03-03 14:43:11 +01:00
.dockerignore initial commit 2023-03-03 14:43:11 +01:00
.gitignore initial commit 2023-03-03 14:43:11 +01:00
docker-compose.backend.yml initial commit 2023-03-03 14:43:11 +01:00
docker-compose.multi.yml initial commit 2023-03-03 14:43:11 +01:00
docker-compose.yml initial commit 2023-03-03 14:43:11 +01:00
Dockerfile compose upgrade 2023-10-18 11:01:41 +02:00
go.mod initial commit 2023-03-03 14:43:11 +01:00
go.sum initial commit 2023-03-03 14:43:11 +01:00
LICENSE Initial commit 2023-03-03 11:49:07 +01:00
main.go initial commit 2023-03-03 14:43:11 +01:00
README.md compose upgrade 2023-10-18 11:01:41 +02:00

OC Catalog

OpenCloud Catalog API

Uses the Beego framework

To install the Beego bee command :

go install github.com/beego/bee/v2@master

To build and run :

go mod tidy
bee run -downdoc=true -gendoc=true

Full deploy

Deploy with docker: docker-compose -f docker-compose.yml -f docker-compose.backend.yml up --build

and populate DB (or other scripts) with: docker exec -it oc-catalog_oc-catalog_1 ./scripts/populate_models.sh ./scripts/demo.json

or out of docker ./scripts/populate_models.sh ./scripts/demo.json

Dev

Start DB with docker-compose up -d and run the API with bee run -downdoc=true -gendoc=true

Multinode

Deploy docker-compose -f docker-compose.yml -f docker-compose.backend.yml -f docker-compose.multi.yml up --build

Populate ./scripts/multinode.sh ./scripts/demo.json