Java Topics Explanation
Java Topics Explanation
Profiles in SpringBoot:
We have different environments in Project
Like Dev, UAT, QA, PROD etc.,
By default we have environment profile application.properties
Same as well we have different application.properties files
To different environments
The all different environments may have different databases,
Different url’s or credentials etc.,
If I want to trigger or I want to check any issue or bugs like UAT
environment
In default profile application.properties,
I need to app property spring.profiles.active=UAT
(environment name)
So that I can trigger to particular environment and I can check
the issue
How the Task Allocation will happen to you?
The Task will allocate in JIRA
Each user story or bug will contain TikcetID and title
when team lead assign ticket, that I’ll receive mail to my
outlook
when I’m staring work,
I’ll change status to inProgress
If I finished I’ll change status to done,
After that I’ll re-assign to my lead
If I have any queries related to task, I’ll write in comment
section
SDLC(Software Devolopement Life Cycle):
We followed SDLC of AGILE Methodology
SDLC have different stages are,
Planning Stage
Requirements Analysis Stage
Design Stage
Development or Building Stage
Testing Stage and
Deployment
Maven lifecycle Phases:
Validate - validate the project is correct or not
Test compile - compile test cases source code using a suitable unit
testing framework.
Verify - it will run and check the Integration testing code, either
Quality standards are met or not.
LOMBOK:
Lombok will use to reduce the Boilerplate code(repeatable
code)
Boiler plate code in the scene like, setters, getters,
noArgConstructor, AllargConstructor, equals, hashcode etc.,
@Setter : to generate setter methods
@Getter: to generate getter methods
@AllargConstroctor: to generate zero argument constructor
@NoArgConstrcutor: to generate All arguments constructor
@ToString: to generate toString methods
@Equals: to generate equals method
@hashcode: to generate hashcode method
@Data: having
implicit @Getter, @Setter, @ToString, @EqualsAndHashCode , @RequiredArgs
Constructor