This is an automated email from the ASF dual-hosted git repository.
DImuthuUpe pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/airavata-custos.git
from 764fbd1d8 Allocation data models and documentation
new 43301854e Framework implement to REST API and DB integration
new 523b191c7 Implement service layer for compute clusters
new 3f6e4b96f Implemented service layer for compute allocations,
allocation resources and mapping
new d486a0c42 Implemented Resource Rate APIs
new 9db46dcef Implemented service layer for ComputeAllocationDiff
new f392978ae Implemented the service layer for Allocation Change Requests
and related events
new 9d6333262 Implemented the service layer for Compute Allocation
Memberships
new f6b9e2a9f Implemented the service layer for Compute Allocation Usage
new ceb9d4d9c Added subscription layer for connectors to receive
allocation messages
The 9 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../data/template_wrong.json => build_output.txt | 0
cmd/server/main.go | 135 +++
docs/API-Docs.md | 1145 ++++++++++++++++++++
go.mod | 12 +
connectors/ACCESS/AMIE-Processor/go.sum => go.sum | 35 -
.../ACCESS/AMIE-Processor => internal}/db/db.go | 12 +-
.../ACCESS/AMIE-Processor => internal}/db/embed.go | 4 +-
.../AMIE-Processor => internal}/db/migrate.go | 2 +-
.../db/migrations/000001_initial_schema.down.sql | 11 +-
.../db/migrations/000001_initial_schema.up.sql | 60 +
.../db/migrations/000002_compute_clusters.down.sql | 11 +-
.../db/migrations/000002_compute_clusters.up.sql | 19 +-
.../migrations/000003_compute_allocations.down.sql | 12 +-
.../migrations/000003_compute_allocations.up.sql | 47 +
...4_compute_allocation_resource_mappings.down.sql | 11 +-
...004_compute_allocation_resource_mappings.up.sql | 32 +
...0005_compute_allocation_resource_rates.down.sql | 11 +-
...000005_compute_allocation_resource_rates.up.sql | 32 +
.../000006_compute_allocation_diffs.down.sql | 11 +-
.../000006_compute_allocation_diffs.up.sql | 33 +
...007_compute_allocation_change_requests.down.sql | 12 +-
...00007_compute_allocation_change_requests.up.sql | 49 +
.../000008_compute_allocation_memberships.down.sql | 11 +-
.../000008_compute_allocation_memberships.up.sql | 34 +
.../000009_compute_allocation_usages.down.sql | 11 +-
.../000009_compute_allocation_usages.up.sql | 36 +
.../ACCESS/AMIE-Processor => internal}/db/tx.go | 0
internal/server/server.go | 766 +++++++++++++
...ompute_allocation_change_request_event_store.go | 97 ++
.../compute_allocation_change_request_store.go | 109 ++
internal/store/compute_allocation_diff_store.go | 97 ++
.../store/compute_allocation_membership_store.go | 122 +++
.../compute_allocation_resource_mapping_store.go | 102 ++
.../compute_allocation_resource_rate_store.go | 110 ++
.../store/compute_allocation_resource_store.go | 83 ++
internal/store/compute_allocation_store.go | 96 ++
internal/store/compute_allocation_usage_store.go | 117 ++
internal/store/compute_cluster_store.go | 92 ++
internal/store/organization_store.go | 82 ++
internal/store/project_store.go | 97 ++
internal/store/store.go | 256 +++++
internal/store/user_store.go | 97 ++
pkg/README.md | 120 ++
pkg/events/bus.go | 44 +
pkg/events/compute_allocation_diff_subscribe.go | 48 +
.../compute_allocation_membership_subscribe.go | 48 +
...ompute_allocation_resource_mapping_subscribe.go | 48 +
.../compute_allocation_resource_subscribe.go | 48 +
pkg/events/compute_allocation_subscribe.go | 48 +
pkg/events/organization_subscribe.go | 47 +
pkg/events/project_subscribe.go | 49 +
pkg/events/types.go | 115 ++
pkg/events/user_subscribe.go | 47 +
pkg/models/allocation.go | 116 +-
pkg/models/project.go | 30 +-
pkg/service/compute_allocation.go | 140 +++
pkg/service/compute_allocation_change_request.go | 219 ++++
.../compute_allocation_change_request_event.go | 119 ++
pkg/service/compute_allocation_diff.go | 134 +++
pkg/service/compute_allocation_membership.go | 231 ++++
pkg/service/compute_allocation_resource.go | 112 ++
pkg/service/compute_allocation_resource_mapping.go | 124 +++
pkg/service/compute_allocation_resource_rate.go | 144 +++
pkg/service/compute_allocation_usage.go | 157 +++
pkg/service/compute_cluster.go | 130 +++
.../handler/noop.go => pkg/service/errors.go | 36 +-
pkg/service/organization.go | 120 ++
pkg/service/project.go | 141 +++
pkg/service/service.go | 128 +++
pkg/service/user.go | 122 +++
70 files changed, 6740 insertions(+), 236 deletions(-)
copy extensions/CILogon-SSH-PAM/test/data/template_wrong.json =>
build_output.txt (100%)
create mode 100644 cmd/server/main.go
create mode 100644 docs/API-Docs.md
create mode 100644 go.mod
copy connectors/ACCESS/AMIE-Processor/go.sum => go.sum (67%)
copy {connectors/ACCESS/AMIE-Processor => internal}/db/db.go (81%)
copy {connectors/ACCESS/AMIE-Processor => internal}/db/embed.go (86%)
copy {connectors/ACCESS/AMIE-Processor => internal}/db/migrate.go (97%)
copy {connectors/ACCESS/AMIE-Processor =>
internal}/db/migrations/000001_initial_schema.down.sql (70%)
create mode 100644 internal/db/migrations/000001_initial_schema.up.sql
copy
connectors/ACCESS/AMIE-Processor/db/migrations/000001_initial_schema.down.sql
=> internal/db/migrations/000002_compute_clusters.down.sql (68%)
copy
connectors/ACCESS/AMIE-Processor/db/migrations/000001_initial_schema.down.sql
=> internal/db/migrations/000002_compute_clusters.up.sql (65%)
copy
connectors/ACCESS/AMIE-Processor/db/migrations/000001_initial_schema.down.sql
=> internal/db/migrations/000003_compute_allocations.down.sql (68%)
create mode 100644 internal/db/migrations/000003_compute_allocations.up.sql
copy
connectors/ACCESS/AMIE-Processor/db/migrations/000001_initial_schema.down.sql
=> internal/db/migrations/000004_compute_allocation_resource_mappings.down.sql
(68%)
create mode 100644
internal/db/migrations/000004_compute_allocation_resource_mappings.up.sql
copy
connectors/ACCESS/AMIE-Processor/db/migrations/000001_initial_schema.down.sql
=> internal/db/migrations/000005_compute_allocation_resource_rates.down.sql
(68%)
create mode 100644
internal/db/migrations/000005_compute_allocation_resource_rates.up.sql
copy
connectors/ACCESS/AMIE-Processor/db/migrations/000001_initial_schema.down.sql
=> internal/db/migrations/000006_compute_allocation_diffs.down.sql (68%)
create mode 100644
internal/db/migrations/000006_compute_allocation_diffs.up.sql
copy
connectors/ACCESS/AMIE-Processor/db/migrations/000001_initial_schema.down.sql
=> internal/db/migrations/000007_compute_allocation_change_requests.down.sql
(68%)
create mode 100644
internal/db/migrations/000007_compute_allocation_change_requests.up.sql
copy
connectors/ACCESS/AMIE-Processor/db/migrations/000001_initial_schema.down.sql
=> internal/db/migrations/000008_compute_allocation_memberships.down.sql (68%)
create mode 100644
internal/db/migrations/000008_compute_allocation_memberships.up.sql
copy
connectors/ACCESS/AMIE-Processor/db/migrations/000001_initial_schema.down.sql
=> internal/db/migrations/000009_compute_allocation_usages.down.sql (68%)
create mode 100644
internal/db/migrations/000009_compute_allocation_usages.up.sql
copy {connectors/ACCESS/AMIE-Processor => internal}/db/tx.go (100%)
create mode 100644 internal/server/server.go
create mode 100644
internal/store/compute_allocation_change_request_event_store.go
create mode 100644 internal/store/compute_allocation_change_request_store.go
create mode 100644 internal/store/compute_allocation_diff_store.go
create mode 100644 internal/store/compute_allocation_membership_store.go
create mode 100644 internal/store/compute_allocation_resource_mapping_store.go
create mode 100644 internal/store/compute_allocation_resource_rate_store.go
create mode 100644 internal/store/compute_allocation_resource_store.go
create mode 100644 internal/store/compute_allocation_store.go
create mode 100644 internal/store/compute_allocation_usage_store.go
create mode 100644 internal/store/compute_cluster_store.go
create mode 100644 internal/store/organization_store.go
create mode 100644 internal/store/project_store.go
create mode 100644 internal/store/store.go
create mode 100644 internal/store/user_store.go
create mode 100644 pkg/README.md
create mode 100644 pkg/events/bus.go
create mode 100644 pkg/events/compute_allocation_diff_subscribe.go
create mode 100644 pkg/events/compute_allocation_membership_subscribe.go
create mode 100644 pkg/events/compute_allocation_resource_mapping_subscribe.go
create mode 100644 pkg/events/compute_allocation_resource_subscribe.go
create mode 100644 pkg/events/compute_allocation_subscribe.go
create mode 100644 pkg/events/organization_subscribe.go
create mode 100644 pkg/events/project_subscribe.go
create mode 100644 pkg/events/types.go
create mode 100644 pkg/events/user_subscribe.go
create mode 100644 pkg/service/compute_allocation.go
create mode 100644 pkg/service/compute_allocation_change_request.go
create mode 100644 pkg/service/compute_allocation_change_request_event.go
create mode 100644 pkg/service/compute_allocation_diff.go
create mode 100644 pkg/service/compute_allocation_membership.go
create mode 100644 pkg/service/compute_allocation_resource.go
create mode 100644 pkg/service/compute_allocation_resource_mapping.go
create mode 100644 pkg/service/compute_allocation_resource_rate.go
create mode 100644 pkg/service/compute_allocation_usage.go
create mode 100644 pkg/service/compute_cluster.go
copy connectors/ACCESS/AMIE-Processor/handler/noop.go => pkg/service/errors.go
(52%)
create mode 100644 pkg/service/organization.go
create mode 100644 pkg/service/project.go
create mode 100644 pkg/service/service.go
create mode 100644 pkg/service/user.go