This is an automated email from the ASF dual-hosted git repository.
DImuthuUpe pushed a change to branch base-api-imp
in repository https://gitbox.apache.org/repos/asf/airavata-custos.git
from d54aab5dd Implement service layer for compute clusters
add 1c54edcbf Implemented service layer for compute allocations,
allocation resources and mapping
No new revisions were added by this update.
Summary of changes:
docs/API-Docs.md | 302 +++++++++++++++++++++
...own.sql => 000003_compute_allocations.down.sql} | 3 +-
.../migrations/000003_compute_allocations.up.sql | 47 ++++
..._compute_allocation_resource_mappings.down.sql} | 2 +-
...04_compute_allocation_resource_mappings.up.sql} | 18 +-
internal/server/server.go | 111 ++++++++
.../compute_allocation_resource_mapping_store.go | 102 +++++++
.../store/compute_allocation_resource_store.go | 83 ++++++
internal/store/compute_allocation_store.go | 96 +++++++
internal/store/store.go | 46 ++++
pkg/models/allocation.go | 30 +-
pkg/service/compute_allocation.go | 126 +++++++++
pkg/service/compute_allocation_resource.go | 98 +++++++
pkg/service/compute_allocation_resource_mapping.go | 119 ++++++++
pkg/service/service.go | 48 +++-
15 files changed, 1196 insertions(+), 35 deletions(-)
copy internal/db/migrations/{000002_compute_clusters.down.sql =>
000003_compute_allocations.down.sql} (89%)
create mode 100644 internal/db/migrations/000003_compute_allocations.up.sql
copy internal/db/migrations/{000002_compute_clusters.down.sql =>
000004_compute_allocation_resource_mappings.down.sql} (93%)
copy internal/db/migrations/{000002_compute_clusters.up.sql =>
000004_compute_allocation_resource_mappings.up.sql} (52%)
create mode 100644 internal/store/compute_allocation_resource_mapping_store.go
create mode 100644 internal/store/compute_allocation_resource_store.go
create mode 100644 internal/store/compute_allocation_store.go
create mode 100644 pkg/service/compute_allocation.go
create mode 100644 pkg/service/compute_allocation_resource.go
create mode 100644 pkg/service/compute_allocation_resource_mapping.go