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 37ea39443 Consolidate core migrations into 4 domain-grouped files
(#480)
new 2543690d1 Added mock service and integration tests to SLURM
association mapper
new dc4dec95c Creating a slurm specific integration test script
new 926755a0b Validating subscriber tests through audit logs
new bee6bdb33 Validation of association creation in SLURM side
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:
.../operations/accounts_integration_test.go | 12 +-
.../internal/operations/associations.go | 41 +
.../operations/associations_integration_test.go | 10 +-
.../internal/operations/integration_common.go | 4 +-
.../internal/subscribers/account.go | 128 +-
.../subscribers/accountsub_integration_test.go | 342 ++
.../internal/subscribers/subscriber.go | 4 +-
dev-ops/local-slurm/Makefile | 8 +-
...003_projects.down.sql => 000005_audit.down.sql} | 2 +-
...{000003_projects.up.sql => 000005_audit.up.sql} | 21 +-
internal/store/audit_event_store.go | 103 +
internal/store/store.go | 20 +
pkg/README.md | 58 +
pkg/models/audit.go | 11 +
pkg/service/audit_event.go | 123 +
pkg/service/interface.go | 244 +
pkg/service/mock.go | 5417 ++++++++++++++++++++
pkg/service/service.go | 4 +
...rations-tests.sh => slurm-integration-tests.sh} | 3 +
19 files changed, 6516 insertions(+), 39 deletions(-)
create mode 100644
connectors/SLURM/Association-Mapper/internal/subscribers/accountsub_integration_test.go
copy internal/db/migrations/{000003_projects.down.sql =>
000005_audit.down.sql} (95%)
copy internal/db/migrations/{000003_projects.up.sql => 000005_audit.up.sql}
(61%)
create mode 100644 internal/store/audit_event_store.go
create mode 100644 pkg/models/audit.go
create mode 100644 pkg/service/audit_event.go
create mode 100644 pkg/service/interface.go
create mode 100644 pkg/service/mock.go
rename scripts/{run-integrations-tests.sh => slurm-integration-tests.sh} (92%)