Aklakan commented on code in PR #3184:
URL: https://github.com/apache/jena/pull/3184#discussion_r2254047163


##########
jena-fuseki2/jena-fuseki-main/src/main/java/org/apache/jena/fuseki/main/FusekiServer.java:
##########
@@ -1269,7 +1269,20 @@ public Builder addEndpoint(String datasetName, String 
endpointName, Operation op
             Objects.requireNonNull(datasetName, "datasetName");
             Objects.requireNonNull(endpointName, "endpointName");
             Objects.requireNonNull(operation, "operation");
-            serviceEndpointOperation(datasetName, endpointName, operation, 
authPolicy);
+            serviceEndpointOperation(datasetName, endpointName, operation, 
authPolicy, null);
+            return this;
+        }
+
+        /**
+         * Create an endpoint as a service of the dataset (i.e. {@code 
/dataset/endpointName}).
+         * The operation must already be registered with the builder.
+         * @see #registerOperation(Operation, ActionService)
+         */
+        public Builder addEndpoint(String datasetName, String endpointName, 
Operation operation, AuthPolicy authPolicy, Context context) {

Review Comment:
   addEndpoint with a custom context.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscr...@jena.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscr...@jena.apache.org
For additional commands, e-mail: pr-h...@jena.apache.org

Reply via email to