Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat(user-service): Re-evaluate Spring Boot code generated by OpenAPI Generator #705

Merged
merged 64 commits into from
Sep 27, 2022
Merged
Changes from 1 commit
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
a496e22
Add auto-generated openapitools.json
tschaffter Sep 14, 2022
71f2ce9
Add yarn plugin `outdated`
tschaffter Sep 14, 2022
f9044b0
Generate API stub for Spring Boot
tschaffter Sep 14, 2022
cf8bfcb
Add generator configuration to openapitools.json
tschaffter Sep 15, 2022
93db484
Enable delegate pattern
tschaffter Sep 15, 2022
cc6a222
Set base and config package name
tschaffter Sep 15, 2022
f5a9256
Name generated files based on tag
tschaffter Sep 15, 2022
7700127
Add template for application class
tschaffter Sep 15, 2022
bb04f2b
Start API stub with Gradle
tschaffter Sep 16, 2022
3f3b52f
Disable testing of the user service for now
tschaffter Sep 16, 2022
cc12f69
Add files to .openapi-generator-ignore
tschaffter Sep 16, 2022
2630aed
Give more control over templates
tschaffter Sep 16, 2022
3068ea1
Update AUTHORS.md
tschaffter Sep 17, 2022
9563744
Upgrade to Spring Boot 2.7.3
tschaffter Sep 17, 2022
cfae750
Rename app class
tschaffter Sep 17, 2022
c7e347d
Review app class
tschaffter Sep 17, 2022
f0e4d92
Update fasterxml dependencies
tschaffter Sep 17, 2022
089c478
Merge `main`
tschaffter Sep 19, 2022
2009b44
Merge `main`
tschaffter Sep 20, 2022
2b117f2
Add project task `generate-code`
tschaffter Sep 20, 2022
efb7634
Move package version to `gradle.properties`
tschaffter Sep 20, 2022
2252e21
Update to spotless 6.11.0
tschaffter Sep 20, 2022
b373141
Remove server folder
tschaffter Sep 20, 2022
65f3ee5
Use application.yml
tschaffter Sep 21, 2022
e3eb019
Add Flyway dependencies
tschaffter Sep 21, 2022
324822f
Add exception package
tschaffter Sep 21, 2022
fa68d3f
Update openapi-generator-ignore
tschaffter Sep 21, 2022
de0454b
Rename tag to User
tschaffter Sep 21, 2022
2a68a3e
UserStatus has its own class
tschaffter Sep 21, 2022
3f20917
Fix DB seeding with Flyway
tschaffter Sep 21, 2022
38ed3ec
Add Flyway gradle plugin
tschaffter Sep 21, 2022
d659865
Fix table with flywaClean
tschaffter Sep 21, 2022
6aa5f2e
Rename project task to `openapi-generate`
tschaffter Sep 21, 2022
d02b178
Add `@lombok.Builder` to DTO classes
tschaffter Sep 21, 2022
c0c63e1
Add annotation `@lombok.Builder` to POJO
tschaffter Sep 22, 2022
5f1560f
Add repository package
tschaffter Sep 22, 2022
3721579
Add response models
tschaffter Sep 22, 2022
3f7b242
Add Keycloak configuration
tschaffter Sep 22, 2022
ab4ecff
Add KeycloakUserService
tschaffter Sep 22, 2022
1e9928c
Add Dto suffix
tschaffter Sep 22, 2022
df2d0bb
Set library to `spring-boot`
tschaffter Sep 22, 2022
36315a9
Restore hot reload for spring app
tschaffter Sep 22, 2022
2e8888d
Remove Dto model suffix to increase user-friendliness
tschaffter Sep 22, 2022
a83db98
Minor update
tschaffter Sep 22, 2022
afff64d
Find a solution to Pageable
tschaffter Sep 23, 2022
fabcf11
Specify app class in build.gradle
tschaffter Sep 23, 2022
c4ac5a2
Move spec to folder `api-spec`
tschaffter Sep 23, 2022
b07dab0
Update UserEntity
tschaffter Sep 23, 2022
b7bf7e6
Add Dto suffix to model
tschaffter Sep 23, 2022
2e22bdf
Minor update
tschaffter Sep 23, 2022
8b028b0
Refactor listUsers
tschaffter Sep 23, 2022
10c4e18
Can fetch list of all users! 🚀
tschaffter Sep 23, 2022
586a554
Cleanup
tschaffter Sep 23, 2022
4768946
Add script to pull raw openapi templates
tschaffter Sep 26, 2022
ca0a72f
Fix schema name (#732)
tschaffter Sep 26, 2022
f2bbb27
Update listUsers
tschaffter Sep 26, 2022
877e28c
Restore actuator
tschaffter Sep 26, 2022
f928d8a
Cleanup
tschaffter Sep 26, 2022
bca810f
Add method to get one user
tschaffter Sep 26, 2022
c201f36
Configure Eureka client
tschaffter Sep 26, 2022
6b45c08
Configure security but allow all requests for now
tschaffter Sep 26, 2022
c5e3d35
Can now register user
tschaffter Sep 27, 2022
1df2f6c
Rename session.sql
tschaffter Sep 27, 2022
8e0360a
Update `.gitignore`
tschaffter Sep 27, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update AUTHORS.md
  • Loading branch information
tschaffter committed Sep 17, 2022
commit 3068ea181a141907a4301d64ca9a8f3ae5373ec1
12 changes: 11 additions & 1 deletion apps/challenge-user-service/AUTHORS.md
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
Test
# Authors

Ordered by first contribution.

- [Thomas Schaffter](https://github.com/tschaffter)

<!-- - Feross Aboukhadijeh ([feross@feross.org](mailto:feross@feross.org))
- Jonny Buchanan ([jonathan.buchanan@gmail.com](mailto:jonathan.buchanan@gmail.com)) -->

<!-- https://github.com/standard/standard -->
<!-- #### Generated by tools/update-authors.sh. -->
12 changes: 11 additions & 1 deletion apps/challenge-user-service/templates/AUTHORS.md
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
Test
# Authors

#### Ordered by first contribution.

- [Thomas Schaffter](https://github.com/tschaffter)

<!-- - Feross Aboukhadijeh ([feross@feross.org](mailto:feross@feross.org))
- Jonny Buchanan ([jonathan.buchanan@gmail.com](mailto:jonathan.buchanan@gmail.com)) -->

<!-- https://github.com/standard/standard -->
<!-- #### Generated by tools/update-authors.sh. -->