So I am trying to set up a MongoDB to store information (test results,passes,failures) for extent reports using KLOV. What we want to do is use this jSON we get in mongodb and create our own version of a dashboard. The problem I am running into is, I've never connected to mongoDB before using AWS, and I am not sure if I am heading into the right direction, in code I have
klov = new KlovReporter();
klov.initMongoDbConnection("localhost", 27017);
klov.setProjectName("Test");
klov.setReportName("Test" + " " + dateFormat.format(date));
klov.setKlovUrl("http://localhost:8282");
extent.attachReporter(html,klov);'
I also had this in the settings via the KLOV server
# data.mongodb
spring.data.mongodb.host=localhost
spring.data.mongodb.port=27017
spring.data.mongodb.database=klov
What is the process of uploading this information to a AWS MongoDB server (I have a Amazon Document DB already)
Thanks!