OpenCloud catalog, provides also workspaces, workflows and schedules
Go to file
2024-02-19 17:57:06 +01:00
conf Solved the problem of generating swagger and minimal image (scratch) 2024-02-19 17:57:06 +01:00
controllers Modified the conf loading process, now with onion in conf/conf.go 2024-02-19 17:57:06 +01:00
models compose upgrade 2023-10-18 11:01:41 +02:00
routers Swagger returning only 404s 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 Swagger returning only 404s 2024-02-19 17:57:06 +01:00
.dockerignore initial commit 2023-03-03 14:43:11 +01:00
.gitignore initial commit 2023-03-03 14:43:11 +01:00
conf_template.json Modified the conf loading process, now with onion in conf/conf.go 2024-02-19 17:57:06 +01:00
docker_catalog.json Swagger returning only 404s 2024-02-19 17:57:06 +01:00
docker-compose.backend.yml corrected ports redirections in compose.backend 2024-02-19 17:57:06 +01:00
docker-compose.multi.yml initial commit 2023-03-03 14:43:11 +01:00
docker-compose.yml Swagger returning only 404s 2024-02-19 17:57:06 +01:00
Dockerfile light dockerfile 2024-02-19 17:57:06 +01: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
local_catalog.json Swagger returning only 404s 2024-02-19 17:57:06 +01:00
main.go Swagger returning only 404s 2024-02-19 17:57:06 +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