This is an automated email from the ASF dual-hosted git repository.
yasithdev pushed a change to branch core-connector-events
in repository https://gitbox.apache.org/repos/asf/airavata-custos.git
discard b3aba595c Drop the migration backfill test.
discard 723ad1606 Merge the core migrations and overlapping tests.
discard d6cfaac3f Lock the user before writing its cluster account.
discard bcf7c25c8 Add the core readiness fields to the portal fixtures.
discard 49615cece Index events by type and payload id for the
exhausted-request scan.
discard 717375cb9 Move connector state into core
add b82131240 Pass row locks and drop an unused event.
add c12b9fdb5 Read the allocation before marking its group.
add 7f0d8aeae Move readiness and connector requests into core.
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (b3aba595c)
\
N -- N -- N refs/heads/core-connector-events (7f0d8aeae)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
CONFIG.md | 5 -
cmd/server/main.go | 5 -
connectors/COmanage/Identity-Provisioner/README.md | 5 +-
.../internal/subscribers/allocation_group.go | 39 ++--
.../internal/subscribers/cluster_user.go | 60 +++++-
.../internal/subscribers/cluster_user_test.go | 31 ++--
connectors/SLURM/Association-Mapper/README.md | 5 -
.../internal/subscribers/deprovision_test.go | 11 +-
.../internal/subscribers/members.go | 14 +-
.../subscribers/members_integration_test.go | 2 +-
.../internal/subscribers/members_test.go | 40 ++--
.../internal/subscribers/subscriber.go | 4 +-
.../internal/subscribers/subscriber_trace_test.go | 4 +-
connectors/Storage/VAST-Provisioner/README.md | 11 +-
.../internal/subscribers/subscriber_test.go | 41 +----
docs/architecture.md | 33 +---
docs/contributing/writing-a-connector.md | 14 +-
.../db/migrations/000009_connector_marks.down.sql | 2 -
.../db/migrations/000009_connector_marks.up.sql | 4 -
internal/server/event_delivery_integration_test.go | 55 ++----
.../store/compute_allocation_membership_store.go | 25 ++-
internal/store/event_delivery_store.go | 37 ----
internal/store/store.go | 13 +-
pkg/events/bus.go | 37 +---
pkg/events/bus_test.go | 18 +-
pkg/events/compute_allocation_diff_subscribe.go | 47 +++++
...ation_membership_resource_override_subscribe.go | 14 ++
...ompute_allocation_resource_mapping_subscribe.go | 12 ++
.../compute_allocation_resource_subscribe.go | 47 +++++
pkg/events/compute_cluster_user_subscribe.go | 6 -
pkg/events/organization_subscribe.go | 46 +++++
pkg/events/project_subscribe.go | 48 +++++
pkg/events/types.go | 70 ++++++-
pkg/events/user_identity_subscribe.go | 45 +++++
pkg/events/user_subscribe.go | 52 ++++++
pkg/events/worker.go | 14 +-
pkg/models/event_delivery.go | 7 -
pkg/service/compute_allocation_diff.go | 13 +-
pkg/service/compute_allocation_membership.go | 6 +-
...pute_allocation_membership_resource_override.go | 10 +-
pkg/service/compute_allocation_resource.go | 16 +-
pkg/service/compute_allocation_resource_mapping.go | 10 +-
pkg/service/compute_cluster.go | 16 +-
pkg/service/compute_cluster_user.go | 8 +-
pkg/service/connector_requests.go | 23 ---
pkg/service/connector_requests_integration_test.go | 87 ++-------
pkg/service/connector_settle.go | 205 ---------------------
pkg/service/connector_settle_integration_test.go | 144 ---------------
pkg/service/identity_resolver.go | 3 +-
pkg/service/membership_lifecycle.go | 9 +
.../membership_lifecycle_integration_test.go | 53 ++----
pkg/service/membership_sweep.go | 61 ------
pkg/service/membership_sweep_integration_test.go | 56 ------
pkg/service/organization.go | 16 +-
pkg/service/project.go | 23 ++-
pkg/service/user.go | 21 ++-
pkg/service/user_agreement.go | 13 +-
pkg/service/user_consent.go | 3 +-
pkg/service/user_identity.go | 16 +-
pkg/service/user_merge.go | 18 +-
pkg/service/user_merge_integration_test.go | 33 ----
pkg/service/user_onboard.go | 12 +-
pkg/service/user_onboard_integration_test.go | 12 +-
63 files changed, 758 insertions(+), 1052 deletions(-)
create mode 100644 pkg/events/compute_allocation_diff_subscribe.go
create mode 100644 pkg/events/compute_allocation_resource_subscribe.go
create mode 100644 pkg/events/organization_subscribe.go
create mode 100644 pkg/events/project_subscribe.go
create mode 100644 pkg/events/user_identity_subscribe.go
create mode 100644 pkg/events/user_subscribe.go
delete mode 100644 pkg/service/connector_settle.go
delete mode 100644 pkg/service/connector_settle_integration_test.go
delete mode 100644 pkg/service/membership_sweep.go
delete mode 100644 pkg/service/membership_sweep_integration_test.go