Github user kevdoran commented on a diff in the pull request:
https://github.com/apache/nifi-registry/pull/134#discussion_r208977230
--- Diff:
nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/NiFiRegistryResourceConfig.java
---
@@ -44,6 +48,14 @@
private static final Logger logger =
LoggerFactory.getLogger(NiFiRegistryResourceConfig.class);
+ @Autowired
+ private StandardProviderFactory standardProviderFactory;
+
+ @Bean
+ public EventService eventService() {
--- End diff --
I don't think this is required because `EventService` is already annotated
with `@Service`, so it will be created as a bean by component scanning.
---