How does one go about enabling dark feature flag for getting REST Endpoints used for administrative purposes in Bamboo. ?
Bamboo is running on Windows Server
It is running as a Windows Service
I cannot seem to find official documentation on getting this configured then enabled and initially tested ?
http://stackoverflow.com/a/35208685 but appears to not have worked (as it's running as a service)
https://bitbucket.org/atlassian/atlassian-bamboo_rest the usage section again adding to setenv.bat and restarting bamboo did not work (as initially expecting)
https://jira.atlassian.com/browse/BAM-9344?focusedCommentId=862591&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-862591 this mentions adding, but where exactly ?
2017-02-01 12:22:20,258 INFO [http-apr-8085-exec-14] [AccessLogFilter] jsmith GET http://bamboo:8085/rest/admin/latest/config/general/ 407379kb
2017-02-01 12:22:20,260 INFO [http-apr-8085-exec-14] [BambooRestAdminDarkFeatureFilterFactory] Request blocked because '/rest/admin/latest/config/general/' is currently not allowed
Managed to find this buried in the knowledge base
I did the 'Setting properties for Windows services via the Windows registry' method and can appears to be activated now
I added this to the end of Options within the registry setting
2017-02-01 14:04:41,086 INFO [http-apr-8085-exec-16] [AccessLogFilter] removed GET http://bamboo:8085/rest/admin/latest/config/general/ 342659kb
And I have kindly supplied the curl request to!
curl --silent --user "$username:$password" --header "Accept: application/json" --header "X-Atlassian-Token: no-check" "http://bamboo:8085/rest/admin/latest/config/general/"
"instanceName": "Continuous Integration Server",
...roperties: -Dbamboo.bitbucket.cloud.use.workspace.api=true There are patches available for Bamboo versions 6.8.3, 6.9.2, and 6.10.5 on the bug report that add support for the System Property. T...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events