Ben McClelland
ef92f57e7d
feat: format admin cli list-users output in table
...
Format list-users output in an easier to read table:
% versitygw admin list-users
Account Role
------- ----
myadmin admin
myuser user
2023-09-07 08:48:18 -07:00
jonaustin09
7620651a49
fix: Merge conflicts resolved with main
2023-09-06 17:45:23 -04:00
jonaustin09
4c7584c99f
feat: Closes #206 , Added an admin api endpoint and a CLI action to change buckets owner
2023-09-06 17:41:47 -04:00
Ben McClelland
df81ead6bc
fix: move auth internal UserAcc to auth.Account
2023-09-05 16:21:21 -07:00
jonaustin09
d80580380d
feat: Closes #205 , Add admin api endpoint and CLI action to list users. Added unit tests for the api endpoint
2023-09-05 18:12:11 -04:00
jonaustin09
2cc0c7203c
feat: Closes #189 , added utility functions for testing, restructured tests for CreateBucket, DeleteBucket... and 5 more actions
2023-08-11 02:13:01 +04:00
Ben McClelland
5a9b744dd1
fix: allow logging to user specified log files
...
This also cleans up some the of the error output to send to stderr.
This adds the Shutdown() to the logging interface, so we can keep the
log file open and just append entries.
This add HangUp() to the logging interface for log rotations.
2023-07-25 23:39:45 -07:00
Ben McClelland
51e818b3e3
fix: cleanup unused adminRegion
2023-07-22 18:53:58 -07:00
Ben McClelland
8765a6c67f
fix: signal.go spelling
2023-07-20 13:59:51 -07:00
jonaustin09
7bceaaca39
feat: Set up bucket event notifications with nats
2023-07-20 13:36:16 -07:00
jonaustin09
fe547a19e9
feat: bucket event notifications
...
Set up Bucket event notifications interface to send aws compatible format event messages to a configured event service.
First integrated service is kafka message broker as an option for bucket event notifications.
2023-07-20 11:37:14 -07:00
jonaustin09
87d61a1eb3
feat: Setup audit loggin with webhook url and root level access.log file. CLI enables either webhook or server access logs by providing the flags
2023-07-14 23:40:05 +04:00
jonaustin09
fbafc6b34c
feat: Changed admin api http methods, some cleanup in admin cli commands, bug fix in delete user IAM service
2023-07-06 21:21:20 +04:00
Jon Austin
3c69c6922a
Integration test cases for HeadBucket, CopyObject, DeleteObject actions ( #117 )
...
* feat: Added integration test cases for HeadBucket, CopyObject, DeleteObjects
* feat: Added logger for debugging
2023-06-29 10:40:54 -07:00
Jon Austin
4bfb3d84d3
Acl integration test ( #115 )
...
* feat: Added test an integration test case for acl actions(get, put), fixed PutBucketAcl actions bugs, fixed iam bugs on getting and creating user accounts
* fix: Fixed acl unit tests
* fix: Fixed cli path in exec command in acl integration test
* fix: fixed account creation bug
2023-06-28 19:38:35 -07:00
Jon Austin
30dbd02a83
Tag actions integrations tests ( #114 )
...
* feat: Added an integration test case for for tag actions(get, put, delete)
2023-06-26 14:25:24 -07:00
Ben McClelland
1d476c6d4d
add signal handler for clean shutdown
2023-06-25 10:29:14 -07:00
Ben McClelland
c4f5f958eb
add functional tests to github actions
2023-06-23 18:38:19 -07:00
Jon Austin
f84cfe58e7
Bench test ( #110 )
...
* feat: test CLI command set up for client side testing, test cases are corresponded with subcommands, added full-flow test case
* fix: TLS configuration removed
* feat: Added benchmark test for client side testing in the CLI
* fix: Removed unused variables
* fix: fixed staticcheck error
2023-06-23 09:55:04 -07:00
jonaustin09
24ae7a2e86
feat: test CLI command set up for client side testing, test cases are corresponded with subcommands, added full-flow test case
2023-06-22 10:08:11 -07:00
Ben McClelland
c4e0aa69a8
scoutfs: add support for glacier emulation mode
2023-06-21 10:27:14 -07:00
Ben McClelland
0f733ae0c8
refactor move auth to top level
2023-06-19 11:15:19 -07:00
Ben McClelland
d2eab5bce3
posix: move iam data store to file
...
Storing to a file will allow more than 64k of storage that the xattr
would be limited to. This attempts to resolve racing updates between
multiple gateways without an explicit coordination between gateways.
This wil also setup a default IAM file on init.
2023-06-19 10:21:53 -07:00
Ben McClelland
94808bb4a9
refactor iam service for blind backend store
2023-06-19 09:53:19 -07:00
Ben McClelland
09e8889e75
feat: scoutfs backend with move blocks multipart optimized
2023-06-16 10:25:52 -07:00
Jon Austin
1bcdf948ba
feat: Move IAM configuration file creation on backend running, set up… ( #89 )
...
* feat: Move IAM configuration file creation on backend running
2023-06-13 11:13:18 -07:00
jonaustin09
def500d464
fix: Merged main branch into admin-delete-api
2023-06-12 20:00:34 +04:00
jonaustin09
b98f48ce2c
feat: Added admin api and admin CLI aciton to delete a user
2023-06-12 19:58:28 +04:00
Ben McClelland
ef06d11d7c
fix: get simple multipart upload tests passing
2023-06-12 07:37:21 -07:00
Jon Austin
160a99cbbd
feat: Added admin CLI, created api endpoint for creating new user, cr… ( #68 )
...
* feat: Added admin CLI, created api endpoint for creating new user, created action for admin CLI to create a new user, changed the authentication middleware to verify the users from db
* feat: Added both single and multi user support, added caching layer for getting IAM users
* fix: Added all the files
2023-06-09 10:30:20 -07:00
Ben McClelland
002c427e7d
fix signature check when content length not included
2023-06-07 08:37:14 -07:00
Ben McClelland
b6f3ea3350
fix upload from aws cli
2023-06-05 11:38:52 -07:00
jonaustin09
489bb3e899
feat: Server side region added to AdminConfig, v4 signature calculation implemented with server side region
2023-06-01 00:23:50 +04:00
jonaustin09
04bbe61826
fix: Removed root user flags
2023-06-01 00:16:01 +04:00
jonaustin09
f174308e3f
fix: Merge conflicts resolved
2023-05-31 22:41:52 +04:00
jonaustin09
510cf6ed57
feat: Added root user flags on application start
2023-05-31 15:26:19 +04:00
Ben McClelland
a20413c5e4
fix region option env vars
2023-05-29 20:42:17 -07:00
Ben McClelland
a04689e53d
add rpm build
2023-05-28 16:27:31 -07:00
Ben McClelland
5cbcf0c900
add copyright headers to source files
2023-05-28 14:38:45 -07:00
Ben McClelland
8b79fb24de
update module/import paths to new name, add cli framework
2023-05-28 12:10:12 -07:00
jonaustin09
f2575c570f
feat: add gofiber
...
add gofiber
add ListBuckets,PutBucket,DeleteBucket,ListObjects,ListObjectsV2,DeleteObject,DeleteObjects,CopyObject actions
2023-05-11 04:11:21 +04:00
Ben McClelland
f156a78dee
fill out basic project layout
2023-05-05 17:16:59 -07:00