Rundeck:如何成功启用 RSS 提要?

Rundeck: How do I successfully enable the RSS feed?

我在 Windows 上使用 Rundeck 社区版。我想启用 RSS 功能,以便我可以在 Web 仪表板上显示数据。我在 rundeck-config.properties:

中启用了 rss
#rss.enabled if set to true enables RSS feeds that are public (non-authenticated)
#rss.enabled=false
rss.enabled=true

然后我重新启动了 JVM,可以看到它已正确启用:

[2020-03-04 11:27:21.572]  INFO BootStrap --- [           main] Starting Rundeck 3.2.1-20200113 (2020-01-13) ...
[2020-03-04 11:27:21.572]  INFO BootStrap --- [           main] using rdeck.base config property: C:/rundeck
[2020-03-04 11:27:21.588]  INFO BootStrap --- [           main] loaded configuration: C:\rundeck\etc\framework.properties
[2020-03-04 11:27:21.635]  INFO BootStrap --- [           main] **RSS feeds enabled**
[2020-03-04 11:27:21.635]  INFO BootStrap --- [           main] Using builtin realm authentication
[2020-03-04 11:27:21.635]  INFO BootStrap --- [           main] Preauthentication is disabled
[2020-03-04 11:27:21.697]  INFO BootStrap --- [           main] Rundeck is ACTIVE: executions can be run.
[2020-03-04 11:27:21.697]  WARN BootStrap --- [           main] The JVM default encoding is not UTF-8: windows-1252, you may not see output as expected for multibyte locales. Specify -Dfile.encoding=UTF-8 in the JVM options.
[2020-03-04 11:27:21.901]  WARN BootStrap --- [           main] [Development Mode] Usage of H2 database is recommended only for development and testing
[2020-03-04 11:27:22.057]  INFO BootStrap --- [           main] Rundeck startup finished in 880ms
Grails application running at http://myserver:4440 in environment: production
[2020-03-04 11:27:27.721] ERROR SetUserInterceptor --- [qtp499085946-36] Unauthenticated API request
[2020-03-04 11:27:27.752] ERROR AuthorizationInterceptor --- [qtp499085946-36] (unauthenticated) UNAUTHORIZED for menu/apiExecutionsRunningv14
[2020-03-04 11:27:41.433] DEBUG GrailsUsernamePasswordAuthenticationFilter --- [qtp499085946-40] Request is to process authentication
[2020-03-04 11:27:41.762] DEBUG GrailsUsernamePasswordAuthenticationFilter --- [qtp499085946-40] Authentication success. Updating SecurityContextHolder to contain: org.springframework.security.authentication.UsernamePasswordAuthenticationToken@880103f9: Principal: org.springframework.security.core.userdetails.User@724e14b9: Username: myuser; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: admin,user; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@0: RemoteIpAddress: 10.x.x.x; SessionId: node01b80jsnk95hit1hxoo2gz3q3dt2; Granted Authorities: admin, user
[2020-03-04 11:28:29.955] ERROR SetUserInterceptor --- [qtp499085946-34] Unauthenticated API request
...

但是,当浏览 Activity 页面时,没有任何迹象表明提要处于活动状态,无论应用的过滤条件如何。文档说明 "If configured, an RSS icon provides a link to an RSS view of the events that match the current filtering criteria." Source

如何成功启用 RSS 提要?

我在 3.0.X 下测试过,图标似乎丢失了(应该会在下一个版本中修复)并且工作正常。在 3.2.3 上,您可以在设置功能和工作后直接使用 link:

http://your-rundeck-host:4440/feed/index?projFilter=YourProject

编辑:关注问题 here