From 750ae4a611050eb0e33f4f5420aa0297b59790e3 Mon Sep 17 00:00:00 2001 From: tangpeng Date: Tue, 26 Feb 2019 08:20:28 +0000 Subject: Run the app with a non-root user Change-Id: Ie851ca9ad1e0278b36d75d6aa06d010b982af48a Issue-ID: HOLMES-202 Signed-off-by: tangpeng --- .../main/java/org/onap/holmes/engine/EngineDAppConfig.java | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'engine-d/src/main/java/org/onap') diff --git a/engine-d/src/main/java/org/onap/holmes/engine/EngineDAppConfig.java b/engine-d/src/main/java/org/onap/holmes/engine/EngineDAppConfig.java index 71a58f9..836912f 100644 --- a/engine-d/src/main/java/org/onap/holmes/engine/EngineDAppConfig.java +++ b/engine-d/src/main/java/org/onap/holmes/engine/EngineDAppConfig.java @@ -21,29 +21,16 @@ import io.dropwizard.db.DataSourceFactory; import javax.validation.Valid; import javax.validation.constraints.NotNull; import org.jvnet.hk2.annotations.Service; -import org.onap.holmes.common.config.MQConfig; @Service public class EngineDAppConfig extends Configuration { private String apidescription = "Holmes rule management rest API"; - @JsonProperty - @NotNull - @Valid - private MQConfig mqConfig; @Valid @NotNull private DataSourceFactory database = new DataSourceFactory(); - public MQConfig getMqConfig() { - return mqConfig; - } - - public void setMqConfig(MQConfig mqConfig) { - this.mqConfig = mqConfig; - } - @JsonProperty("database") public DataSourceFactory getDataSourceFactory() { return database; -- cgit 1.2.3-korg