Fix: cleaning tracked build artifacts and applying proper .gitignore
This commit is contained in:
parent
debf680a54
commit
912e7aea9c
3 changed files with 17 additions and 13 deletions
6
.gitignore
vendored
Normal file
6
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# Maven build
|
||||
target/
|
||||
**/target/
|
||||
|
||||
# External libs built locally
|
||||
hd-commons-lib/target/
|
||||
21
rest.http
21
rest.http
|
|
@ -16,23 +16,20 @@ Accept: application/json
|
|||
|
||||
{
|
||||
"name": "John Doe",
|
||||
"email": "john.doe@example.com",
|
||||
"password": "Pa$$w0rd",
|
||||
"role": "user"
|
||||
"email": "john.doe@olymp.com",
|
||||
"password": "123456",
|
||||
"profiles": [
|
||||
"ROLE_CUSTOMER"
|
||||
]
|
||||
}
|
||||
|
||||
#### Update an existing user (replace {{id}} or use a concrete id like 1)
|
||||
PUT http://175.15.15.91:8080/api/users/692cca264e957945b99f731a
|
||||
PUT http://175.15.15.91:8080/api/users/69311094e258303f40941a52
|
||||
Content-Type: application/json
|
||||
Accept: application/json
|
||||
# Authorization: Bearer {{token}}
|
||||
|
||||
{
|
||||
"id": "692cca264e957945b99f731a",
|
||||
"name": "Edvaldo",
|
||||
"email": "edinho@gmail.com",
|
||||
"password": "123456",
|
||||
"profiles": [
|
||||
"ROLE_CUSTOMER"
|
||||
]
|
||||
}
|
||||
"email": "edinhoadm@gmail.com",
|
||||
"password": "7654321"
|
||||
}
|
||||
|
|
@ -20,6 +20,7 @@ import models.requests.UpdateUserRequest;
|
|||
@RequiredArgsConstructor
|
||||
public class UserService {
|
||||
|
||||
// Dependencies
|
||||
private final UserRepository repository;
|
||||
private final UserMapper mapper;
|
||||
private final BCryptPasswordEncoder encoder;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue