AT&T 1712 and 1802 release code
[so.git] / common / src / main / java / org / openecomp / mso / client / dmaap / rest / RestConsumer.java
@@ -17,7 +17,7 @@
  * limitations under the License.
  * ============LICENSE_END=========================================================
  */
-
 package org.openecomp.mso.client.dmaap.rest;
 
 import java.net.MalformedURLException;
@@ -41,7 +41,7 @@ public class RestConsumer implements Consumer {
        
        private URL createURL(PropertiesBean properties) {
                try {
-                       return UriBuilder.fromUri("http://" + properties.getHost())
+                       return UriBuilder.fromUri(properties.getHost())
                                        .path("events").path(properties.getTopic())
                                        .path(properties.getPartition())
                                        .path("consumer1")