IsaakKrut commented on code in PR #3168:
URL: https://github.com/apache/streampipes/pull/3168#discussion_r1739924689
##########
streampipes-rest/src/main/java/org/apache/streampipes/rest/impl/pe/DataStreamResource.java:
##########
@@ -42,7 +49,17 @@
@RestController
@RequestMapping("/api/v2/streams")
-public class DataStreamResource extends AbstractAuthGuardedRestResource {
+public class DataStreamResource extends
AbstractAdapterResource<AdapterMasterManagement> {
+
+ public DataStreamResource() {
+ super(() -> new AdapterMasterManagement(
Review Comment:
I needed access to AdapterMasterManagement instance. I used the same pattern
as in AdapterResource to bring it in
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]