This is an automated email from the ASF dual-hosted git repository.
lahirujayathilake pushed a change to branch custos-apps
in repository https://gitbox.apache.org/repos/asf/airavata-custos.git
from fca7516f4 Pick app actions across connectors
add be98a6355 Support service and delegated apps with the existing
privileges
add fc0d3feaa Use the admin's user ID when revoking a certificate
add d08de3cc5 Record app key in audit events
add bcf40f882 Show app mode and privileges, and who generated or revoked a
certificate
No new revisions were added by this update.
Summary of changes:
.env.example | 2 +
api/core.openapi.yaml | 129 ++++++++--------
cmd/server/main.go | 8 +-
config/custos.yaml | 1 +
connectors/Signer/internal/app_handlers.go | 132 ----------------
connectors/Signer/internal/app_handlers_test.go | 141 -----------------
connectors/Signer/internal/handlers.go | 40 ++---
connectors/Signer/internal/handlers_test.go | 67 ++++----
connectors/Signer/pkg/signer/loader.go | 6 -
connectors/TempAccount/internal/handlers.go | 4 +-
connectors/TempAccount/internal/privileges.go | 2 +
connectors/TempAccount/pkg/tempaccount/loader.go | 2 -
docs/privileges.md | 1 +
internal/config/config.go | 2 +
internal/db/migrations/000009_apps.down.sql | 2 +-
internal/db/migrations/000009_apps.up.sql | 14 +-
internal/server/app.go | 57 +++----
internal/server/server.go | 8 +-
internal/store/app_store.go | 28 ++--
pkg/identity/app_middleware_test.go | 168 ++++++++++++++++-----
pkg/identity/identity.go | 21 ++-
pkg/identity/middleware.go | 133 ++++++++++++----
pkg/models/app.go | 93 +++---------
pkg/models/privilege.go | 49 +++++-
pkg/service/app.go | 40 ++---
pkg/service/app_integration_test.go | 115 +++++++-------
pkg/service/identity_resolver.go | 4 +-
pkg/service/interface.go | 4 +-
pkg/service/mock.go | 32 ++--
pkg/service/service.go | 5 +
web/src/features/core/apps/api.ts | 37 ++---
web/src/features/core/apps/components/AppsView.tsx | 27 ++--
.../core/apps/components/CreateAppDialog.tsx | 117 +++++++++-----
.../core/apps/components/EditAppDialog.tsx | 2 +-
web/src/features/core/apps/components/MyApps.tsx | 9 +-
web/src/features/core/apps/queries.ts | 8 +-
.../signer/__tests__/CertificateDetail.test.tsx | 9 +-
web/src/features/core/signer/api.ts | 5 +
.../core/signer/components/CertificateDetail.tsx | 15 +-
.../core/signer/components/MyCertificateDetail.tsx | 7 +-
web/src/features/core/signer/queries.ts | 13 ++
web/src/features/core/signer/status.ts | 25 ++-
web/src/mocks/handlers/apps.ts | 36 ++---
web/src/mocks/handlers/signer.ts | 2 +-
web/tests/fixtures/signer-api.ts | 2 +-
45 files changed, 811 insertions(+), 813 deletions(-)
delete mode 100644 connectors/Signer/internal/app_handlers.go
delete mode 100644 connectors/Signer/internal/app_handlers_test.go