Skip to content

Commit

Permalink
Fix information endpoint (#104)
Browse files Browse the repository at this point in the history
* FIX: information endpoint
  • Loading branch information
ned29 authored May 22, 2018
1 parent b4f05a0 commit 531070c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main/java/com/ericsson/ei/mongodbhandler/MongoDBHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@

import javax.annotation.PostConstruct;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Setter;
import org.bson.Document;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Expand Down Expand Up @@ -51,11 +53,9 @@ public class MongoDBHandler {
static Logger log = (Logger) LoggerFactory.getLogger(MongoDBHandler.class);

@Getter
MongoClient mongoClient;

public void setMongoClient(MongoClient mongoClient) {
this.mongoClient = mongoClient;
}
@Setter
@JsonIgnore
private MongoClient mongoClient;

@Getter
@Value("${spring.data.mongodb.host}")
Expand Down

0 comments on commit 531070c

Please sign in to comment.