francescojo / spring-board-demo Goto Github PK
View Code? Open in Web Editor NEWMy coding skill practice project
License: Other
My coding skill practice project
License: Other
fix response status assertions like:
expectError(reqSpec.then().assertThat().statusCode(is(404))).body
expectResponse(reqSpec.then().assertThat().statusCode(is(200)), Response.class)
to:
expectErrorBody(reqSpec, HttpStatus.NOT_FOUND)
expectResponse(reqSpec, HttpStatus.OK, Response.class)
POST $BASE_URL/BOARD
-h "Authentication: Token [......]
Choose one:
Post body
UPDATE / DELETE assertions
First 10 replies: after #28 is complete.
endpoint/v1/*/dto/*(Request|Response)
endpoint/v1/*/request/*Request
endpoint/v1/*/response/*Response
x-windows-850
" problemLog all user activities for administration
app-main
app-main
local
and release
Make deleting post is running via async tasks.
Refer to this documentation.
Add spec:
findCurrentUser
to findCurrentAccessibleUser
Allow READ_UNCOMMITED for non-important read operations
Consider PESSIMISTIC_LOCK for all modifying operations
GetPostController
ChangePasswordService
DeleteAccountService
RefreshAccessTokenService
SignInService
CloseBoardService
CreateBoardService
GetBoardService
UpdateBoardService
CreatePostService
DeletePostService
GetPostService
UpdatePostService
CreateReplyService
DeleteReplyService
GetRepliesService
UpdateReplyService
CreateUserService
GetUserService
UpdateUserService
ReplyRepository#findLatestByPost is no longer needed and fetch criteria must be specified by business layer, not repository layer itself.
ReplyRepository#findLatestByPost
call in GetRepliesServiceImplGetRepliesService.PAGE_LATEST
requestsPageableQueryHelperMixin#toFirstResultOffset
to assume that requested page number is 1-based indexGET $BASE_URL/BOARD/{boardId}
-h "Authentication: Token [......]
GET $BASE_URL/USER/loginName
-h "Authentication: Token [......]
We may refactor RepliesFetchCriteria
to ContentsFetchCriteria
for common usage.
PostBriefInfo
/ PostDetailedInfo
PageableResponse
to contain page
and size
information rather than offset
ContentFetchCriteria
for offset
calculationPostInfoBriefResponse
Edit history feature must be supported
PUT $BASE_URL/BOARD/{boardId}
-h "Authentication: Token [......]
PATCH $BASE_URL/TOKEN
-h "Authentication: Token [......]
{
"refreshToken": "..."
}
Expected response upon success: same as Authentication response
POST $BASE_URL/USER
-h "Authentication: Token [......]
DELETE $BASE_URL/BOARD/{boardId}
-h "Authentication: Token [......]
Remove all paramter taking random object creation methods and implant those into TestTemplate
classes.
Apply following rules under gradle
allOpen {
annotation("javax.persistence.Entity")
annotation("javax.persistence.MappedSuperclass")
annotation("javax.persistence.Embeddable")
}
Role based or matrix based?
Actions Matrix
internal
PATCH $BASE_URL/USER/loginName
-h "Authentication: Token [......]
Since java.validation.Size is not working well for Unicode extended characters, especially for emojis, we have to create an alternative to cope those cases with.
This post might help
--- For create
--- For update
GET $BASE_URL/BOARD
-h "Authentication: Token [......]
app-main-integrationTest
to AsciiDoc formatPATCH $BASE_URL/password
-h "Authentication: Token [......]
{
"newPassword": "..."
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.