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 06650da4f Updated allocation data models
new 03e0d2b4f Add identity, lifecycle status, and user-merge models and
changes to core
new f0153ce41 Rename ExternalIdentity to UserIdentity and add source email
column
new 4ea551e4a Drop UserDN and UserMerge models and related services from
core
new 623760c7e Drop compute_cluster_users.status field
The 4 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:
.gitignore | 9 +-
...pings.down.sql => 000014_users_status.down.sql} | 4 +-
...appings.down.sql => 000014_users_status.up.sql} | 4 +-
...gs.down.sql => 000015_projects_status.down.sql} | 4 +-
...ings.down.sql => 000015_projects_status.up.sql} | 4 +-
...rs.down.sql => 000016_user_identities.down.sql} | 2 +-
.../db/migrations/000016_user_identities.up.sql | 38 +++++
internal/server/server.go | 135 +++++++++++++++
.../store/compute_allocation_membership_store.go | 18 ++
internal/store/compute_cluster_user_store.go | 28 ++-
internal/store/project_store.go | 35 ++--
internal/store/store.go | 34 ++++
internal/store/user_identity_store.go | 132 ++++++++++++++
internal/store/user_store.go | 28 +--
pkg/events/types.go | 7 +
pkg/events/user_identity_subscribe.go | 63 +++++++
pkg/models/identity.go | 35 ++++
pkg/models/project.go | 45 +++--
pkg/service/compute_cluster_user.go | 16 +-
pkg/service/project.go | 58 ++++++-
pkg/service/service.go | 100 +++++------
pkg/service/user.go | 101 ++++++++++-
pkg/service/user_identity.go | 190 +++++++++++++++++++++
pkg/service/user_merge.go | 98 +++++++++++
24 files changed, 1090 insertions(+), 98 deletions(-)
copy
internal/db/migrations/{000004_compute_allocation_resource_mappings.down.sql =>
000014_users_status.down.sql} (91%)
copy
internal/db/migrations/{000004_compute_allocation_resource_mappings.down.sql =>
000014_users_status.up.sql} (86%)
copy
internal/db/migrations/{000004_compute_allocation_resource_mappings.down.sql =>
000015_projects_status.down.sql} (91%)
copy
internal/db/migrations/{000004_compute_allocation_resource_mappings.down.sql =>
000015_projects_status.up.sql} (84%)
copy internal/db/migrations/{000002_compute_clusters.down.sql =>
000016_user_identities.down.sql} (95%)
create mode 100644 internal/db/migrations/000016_user_identities.up.sql
create mode 100644 internal/store/user_identity_store.go
create mode 100644 pkg/events/user_identity_subscribe.go
create mode 100644 pkg/models/identity.go
create mode 100644 pkg/service/user_identity.go
create mode 100644 pkg/service/user_merge.go