guru-raj / elk-setup-spring-app

The following repo deals with implementation of elk with Spring Boot
MIT License
2 stars 0 forks source link

dockerize the output jar #7

Open guru-raj opened 3 years ago

guru-raj commented 3 years ago

This is an open ended task. Aim is to add docker config to the project so that we can use it to deploy by adding custom config to CI/CD pipelines like Jenkins or use it for deployment in containerised apps like Kuberneetes or Docker Swarm.

jilimm commented 3 years ago

Hi can i try working on this?

jilimm commented 3 years ago

I'm getting this error when i try to run the application locally.

src\main\java\com\elk\model\MessageTemplate.java:5 java: constructor MessageTemplate(java.lang.String,java.lang.String) is already defined in class com.elk.model.MessageTemplate

Do I delete the @AllArgsConstructor i the MessageTemplate file?

guru-raj commented 3 years ago

Hi @limJingYun . Yes you can start working on this. :D Coming to Annotation, you can remove it if you are able to run the app without the Annotation by doing some mock API invocation (Do a post call and see if you are able to see log files generated and maybe spinning up Kibana console shows an API hit record). At the moment we don't have unit tests to validate the build output, so after you make your changes, I will take a local pull and validate if things are fine! :D