add update accounts

- add update accounts to account.http
- add updateAccount to AccountController
- add AccountEntity updateAccountEntity to Mapping.kt
- add updateAccount in AccountService
- update catalog version in gradle.properties
This commit is contained in:
2025-01-28 16:30:57 +01:00
parent 72ac37e603
commit 6e6ea72d54
7 changed files with 284 additions and 24 deletions

View File

@@ -1,7 +1,7 @@
### get user by id
GET {{hostname}}/account-00000000-0000-7000-0000-000000000001
### Get admin information
### add user
POST {{hostname}}/account
Content-Type: application/json
@@ -18,8 +18,33 @@ Content-Type: application/json
### Get accounts
GET {{hostname}}/accounts
### Get accounts
### Get accounts by page
GET {{hostname}}/accounts/page-1
### Get accounts
### Get accounts by page and size
GET {{hostname}}/accounts/page-1/show-5
### update user all information
PUT {{hostname}}/account-00000000-0000-7000-0000-000000000002
Content-Type: application/json
{
"username": "user",
"password": "pass",
"enabled": true,
"roles": [
"ROLE_TEST"
]
}
### update user information
PUT {{hostname}}/account-00000000-0000-7000-0000-000000000002
Content-Type: application/json
{
"username": "user",
"enabled": true,
"roles": [
"ROLE_TEST"
]
}