Catalog alignment
[sdc.git] / common-app-api / src / main / java / org / openecomp / sdc / be / config / DmeConfiguration.java
index 4e553fd..d876378 100644 (file)
@@ -7,9 +7,9 @@
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- *
+ * 
  *      http://www.apache.org/licenses/LICENSE-2.0
- *
+ * 
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 package org.openecomp.sdc.be.config;
 
 public class DmeConfiguration {
-    private String dme2Search = "DME2SEARCH";
-    private String dme2Resolve = "DME2RESOLVE";
+    private String lookupUriFormat = "http://DME2RESOLVE/service=%s/version=1.0.0/envContext=%s/routeOffer=DEFAULT";
 
-    public String getDme2Search() {
-        return dme2Search;
+    public String getLookupUriFormat() {
+        return lookupUriFormat;
     }
 
-    public void setDme2Search(String dme2Search) {
-        this.dme2Search = dme2Search;
-    }
-
-    public String getDme2Resolve() {
-        return dme2Resolve;
-    }
-
-    public void setDme2Resolve(String dme2Resolve) {
-        this.dme2Resolve = dme2Resolve;
+    public void setLookupUriFormat(String lookupUriFormat) {
+        this.lookupUriFormat = lookupUriFormat;
     }
 
     @Override
     public String toString() {
-        return "DmeConfiguration [dme2Search=" + dme2Search + ", dme2Resolve=" + dme2Resolve + "]";
+        return "DmeConfiguration{" +
+                "lookupUriFormat='" + lookupUriFormat + '\'' +
+                '}';
     }
 }