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 bf4d2e148 Revert last 3 commits
new 8cf058ff1 Initial framework in integrate connectors to core with pub
sub
new 983beccd1 Creating a slurm account when an compute allocation was
created
new 9b7c6e544 Fixing minor misconfiguration
new 6b7e6daa6 Adding SLURM association when an allocation membership is
created
new 3b0bf6845 Moving member-specific quota to a seperate data model and
implementing slurm subscriber
new 13ef537fd Updating account resource limits when the allocation
resource mapping is created
new 3d102159e Enabling member level allocation restriction
The 7 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:
cmd/server/main.go | 7 +-
connectors/SLURM/Association-Mapper/Makefile | 18 --
connectors/SLURM/Association-Mapper/README.md | 56 ++--
connectors/SLURM/Association-Mapper/go.mod | 3 -
.../internal/operations/accounts.go | 8 +-
.../internal/operations/accounts_test.go | 8 +-
.../internal/operations/associations.go | 6 +-
.../internal/operations/associations_test.go | 7 +-
.../internal/operations/client.go | 20 +-
.../internal/operations/client_test.go | 4 +-
.../internal/subscribers/account.go | 121 ++++++++
.../internal/subscribers/members.go | 154 ++++++++++
.../internal/subscribers/subscriber.go | 28 ++
connectors/SLURM/Association-Mapper/main.go | 25 --
.../SLURM/Association-Mapper/pkg/smapper/loader.go | 27 ++
docs/API-Docs.md | 341 +++++++++++++++++++--
internal/connectors/loader.go | 21 ++
...n.sql => 000010_compute_cluster_users.down.sql} | 2 +-
....up.sql => 000010_compute_cluster_users.up.sql} | 24 +-
...ocation_membership_resource_overrides.down.sql} | 5 +-
...allocation_membership_resource_overrides.up.sql | 36 +++
...e_allocation_resource_mapping_amounts.down.sql} | 4 +-
...ute_allocation_resource_mapping_amounts.up.sql} | 6 +-
..._membership_resource_override_amounts.down.sql} | 4 +-
...on_membership_resource_override_amounts.up.sql} | 6 +-
internal/server/server.go | 192 ++++++++++--
...llocation_membership_resource_override_store.go | 124 ++++++++
.../store/compute_allocation_membership_store.go | 11 +-
.../compute_allocation_resource_mapping_store.go | 33 +-
internal/store/compute_cluster_user_store.go | 116 +++++++
internal/store/store.go | 43 +++
...ation_membership_resource_override_subscribe.go | 67 ++++
pkg/events/compute_cluster_user_subscribe.go | 64 ++++
pkg/events/types.go | 14 +
pkg/models/allocation.go | 26 +-
pkg/service/compute_allocation_membership.go | 27 --
...pute_allocation_membership_resource_override.go | 197 ++++++++++++
pkg/service/compute_allocation_resource_mapping.go | 50 ++-
pkg/service/compute_cluster.go | 6 +-
pkg/service/compute_cluster_user.go | 179 +++++++++++
pkg/service/service.go | 8 +
41 files changed, 1886 insertions(+), 212 deletions(-)
delete mode 100644 connectors/SLURM/Association-Mapper/Makefile
delete mode 100644 connectors/SLURM/Association-Mapper/go.mod
create mode 100644
connectors/SLURM/Association-Mapper/internal/subscribers/account.go
create mode 100644
connectors/SLURM/Association-Mapper/internal/subscribers/members.go
create mode 100644
connectors/SLURM/Association-Mapper/internal/subscribers/subscriber.go
delete mode 100644 connectors/SLURM/Association-Mapper/main.go
create mode 100644 connectors/SLURM/Association-Mapper/pkg/smapper/loader.go
create mode 100644 internal/connectors/loader.go
copy internal/db/migrations/{000002_compute_clusters.down.sql =>
000010_compute_cluster_users.down.sql} (94%)
copy internal/db/migrations/{000006_compute_allocation_diffs.up.sql =>
000010_compute_cluster_users.up.sql} (53%)
copy
internal/db/migrations/{000004_compute_allocation_resource_mappings.down.sql =>
000011_compute_allocation_membership_resource_overrides.down.sql} (80%)
create mode 100644
internal/db/migrations/000011_compute_allocation_membership_resource_overrides.up.sql
copy
internal/db/migrations/{000004_compute_allocation_resource_mappings.down.sql =>
000012_compute_allocation_resource_mapping_amounts.down.sql} (87%)
copy internal/db/migrations/{000001_initial_schema.down.sql =>
000012_compute_allocation_resource_mapping_amounts.up.sql} (78%)
copy
internal/db/migrations/{000004_compute_allocation_resource_mappings.down.sql =>
000013_compute_allocation_membership_resource_override_amounts.down.sql} (80%)
copy internal/db/migrations/{000001_initial_schema.down.sql =>
000013_compute_allocation_membership_resource_override_amounts.up.sql} (75%)
create mode 100644
internal/store/compute_allocation_membership_resource_override_store.go
create mode 100644 internal/store/compute_cluster_user_store.go
create mode 100644
pkg/events/compute_allocation_membership_resource_override_subscribe.go
create mode 100644 pkg/events/compute_cluster_user_subscribe.go
create mode 100644
pkg/service/compute_allocation_membership_resource_override.go
create mode 100644 pkg/service/compute_cluster_user.go