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 e3a72cecc Implemented the service layer for Compute Allocation Usage
add 6fce41f34 Added subscription layer for connectors to receive
allocation messages
No new revisions were added by this update.
Summary of changes:
cmd/server/main.go | 6 +-
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/service/compute_allocation.go | 14 +++
pkg/service/compute_allocation_diff.go | 12 +++
pkg/service/compute_allocation_membership.go | 11 ++
pkg/service/compute_allocation_resource.go | 14 +++
pkg/service/compute_allocation_resource_mapping.go | 5 +
pkg/service/compute_cluster.go | 14 +++
pkg/service/organization.go | 14 +++
pkg/service/project.go | 14 +++
pkg/service/service.go | 7 +-
20 files changed, 651 insertions(+), 2 deletions(-)
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