retrieve bookings from API and NATS

This commit is contained in:
pb
2024-07-11 18:26:40 +02:00
parent cd66000bb9
commit dc9e9485b9
5 changed files with 86 additions and 4 deletions

View File

@@ -5,6 +5,7 @@ import (
"fmt"
"maps"
"net/url"
"oc-scheduler/daemons"
"cloud.o-forge.io/core/oc-catalog/models"
@@ -20,7 +21,7 @@ type Graph struct {
Datacenters []models.DatacenterModel
Storages []models.StorageModel
Links map[string]models.Link
ws HttpQuery
ws daemons.HttpQuery
}
// Create a dictionnaries with each existing workflow from a workspace, associated to the JSON representation of its content