Divide the MSB source codes into two repos
[msb/apigateway.git] / apiroute / apiroute-service / src / main / java / org / onap / msb / apiroute / ApiRouteAppConfig.java
@@ -1,5 +1,5 @@
 /**
- * Copyright 2016 ZTE Corporation.
+ * Copyright 2016 ZTE, Inc. and others.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
 * limitations under the License.
 */
 
-package org.openo.msb;
+package org.onap.msb.apiroute;
 
 import io.dropwizard.Configuration;
 
 import javax.validation.Valid;
 
 import org.hibernate.validator.constraints.NotEmpty;
-import org.openo.msb.api.ConsulInfo;
-import org.openo.msb.api.DiscoverInfo;
+import org.onap.msb.apiroute.api.DiscoverInfo;
 
 import com.fasterxml.jackson.annotation.JsonProperty;
 
@@ -47,47 +46,12 @@ public class ApiRouteAppConfig  extends Configuration {
 
     @NotEmpty
     private String defaultName = "Stranger";
-    
-    @NotEmpty
-    private String propertiesName="redis.properties";
-    
-    @NotEmpty
-    private String propertiesDir="conf";
-    
+        
     
     @Valid
     private DiscoverInfo discoverInfo;
     
-    @Valid
-    private ConsulInfo  consulInfo;
-
-    @JsonProperty
-    public ConsulInfo getConsulInfo() {
-        return consulInfo;
-    }
-
-    @JsonProperty
-    public void setConsulInfo(ConsulInfo consulInfo) {
-        this.consulInfo = consulInfo;
-    }
-  
-
-    public String getPropertiesDir() {
-               return propertiesDir;
-       }
-
-       public void setPropertiesDir(String propertiesDir) {
-               this.propertiesDir = propertiesDir;
-       }
-
-       public String getPropertiesName() {
-               return propertiesName;
-       }
-
-       public void setPropertiesName(String propertiesName) {
-               this.propertiesName = propertiesName;
-       }
-
+   
        @JsonProperty
     public String getDefaultWorkspace() {
         return defaultWorkspace;