Skip to Main Content
Spotfire Ideas Portal
Status Future Consideration
Product Spotfire
Categories Scheduled Updates
Created by Guest
Created on May 23, 2017

Command Line control for Scheduled Updates

Create methods to control Scheduled Updates via CLI.  At a minimum, I would like to be able to enable or disable scheduled updates via the CLI.  This would be very helpful when performing maintenance on the Spotfire installation.  Right now, when I am installing hotfixes or upgrades, I either have to manually disable/enable scheduled updates or wait for them to load before updating web players.

  • Attach files
  • Guest
    Reply
    |
    Jul 19, 2017

    I got a working PowerShell script that can refresh a Scheduled Update with 5 lines of code (excluding parameter handling). I will publish it on the Community site once it's a bit more polished (we are adding error handling, logging, etc). Obviously this doesn't cover your idea as there isn't an API to enable/disable a Schedule Update but it could come in really handy when and if this idea is implemented. 

    For TIBCO: The idea here will be to extend the Web Services API (https://docs.tibco.com/pub/spotfire_server/7.9.0/doc/api/TIB_sfire_server_WebServices_API_Reference/index.html). Currently there is a UpdateAnalysisService service which can be used to load/update scheduled updates. The API should be extended (probably a new "UpdateRuleService" should be created, but that's an implementation decision) so that scheduled updates can be enabled and disabled via web services. You could also look at extending the API to be able to create/edit/delete new rules and schedules although that will obviously take more effort to do. From my company's side we would certainly use an API to enable/disable scheduled updates (aka rules in 7.5+ jargon) as that's an activity Spotfire Administrators often face when there is planned or unplanned maintenance, issues with the server or data source, etc.

  • Guest
    Reply
    |
    Jul 18, 2017

    Christian, that would be a valid way to implement this.

  • Guest
    Reply
    |
    Jul 3, 2017

    Perhaps this should really aim to modify the existing Scheduled Updates API rather than focusing on how to access the API (ie via CLI)?