SLING-7461 : Official endpoints property from Http Whiteboard should be used
authorCarsten Ziegeler <cziegele@adobe.com>
Fri, 2 Feb 2018 15:21:35 +0000 (16:21 +0100)
committerCarsten Ziegeler <cziegele@adobe.com>
Fri, 2 Feb 2018 15:21:35 +0000 (16:21 +0100)
src/main/java/org/apache/sling/discovery/impl/support/StandardPropertyProvider.java

index e17c582..077beba 100644 (file)
@@ -51,8 +51,8 @@ import org.osgi.service.http.HttpService;
            policy=ReferencePolicy.DYNAMIC)
 public class StandardPropertyProvider {
 
-    /** Official Endpoint service registration property fromhttp whiteboard spec */
-    private static final String REG_PROPERTY_ENDPOINTS = "osgi.http.endpoints";
+    /** Official Endpoint service registration property from http whiteboard spec */
+    private static final String REG_PROPERTY_ENDPOINTS = "osgi.http.endpoint";
 
     /** Endpoint service registration property from RFC 189 */
     private static final String REG_PROPERTY_ENDPOINTS_RFC = "osgi.http.service.endpoints";