- There is a mistake in the dependencyManagement/dependency sections, what is it?
- What's the command to activate the
static
profile? How does maven decide to runfrontend-maven-plugin
during the build?
- There is a Spring configuration issue in this class, what is it?
- Is the logic correct in
getAccounts
method? How can we fix it? - There is a bad coding practice in the
isClosed
method, can you spot it?
- Are all fields defined with appropriate types?
- How would you implement the
equals
method?
- Is the one to many relationship modelled correctly?
- Is the query going to perform well for a large number of Accounts? How can we make sure it does?
- How would separate the implementation in separate layers?
- Is this controller following REST best practices? How would you fix it?
- How would you introduce API versioning in this case?
- How can we make sure only valid values are provided through configuration properties?
- Which validation annotations would you use to ensure the rules documented in javadoc are enforced?
- How can we provide a default value for
portNumber
?
- What are the problems with the fields defined?
- What do you think about the inheritance implemented, is it proper or something(s) not good?
- Is the bean stereotype correct?
- How would you have implemented the
getNextTierPromotionTime(Customer)
method? - What do you think about the other parts of the class? How would you refactor?
Questions about 'openapi.yaml' (use your IDE's support for folding code to present all endpoints in a single page)
- The business analyst has decided to help the team by supplying an API spec, what do you think about its design?
- The security department said that
TransferController
has security vulnerabilities, can you spot them and suggest fixes? (show the presence ofTokenSecurityUtils.getCurrentUser()
to the candidate)
- Is the test correct? How can we fix it?
- How would you implement testing more combinations of tier values and customer types ?