CStoJSONSynchronizer Module that keeps the pilot parameters file synchronized with the information in the Operations/Pilot section of the CS. If there are additions in the CS, these are incorporated to the file. The module uploads to a web server the latest version of the pilot scripts.
- class DIRAC.WorkloadManagementSystem.Utilities.PilotCStoJSONSynchronizer.PilotCStoJSONSynchronizer¶
2 functions are executed: - It updates a JSON file with the values on the CS which can be used by Pilot3 pilots - It updates the pilot 3 files This synchronizer can be triggered at any time via PilotCStoJSONSynchronizer().sync(). As it is today, this is triggered every time there is a successful write on the CS.
c’tor Just setting defaults
Gets minimal info for running a pilot, from the CS
pilotDict (containing pilots run info)
- Return type
S_OK, S_ERROR, value is pilotDict
Clone the pilot scripts from the Pilot repositories (handle also extensions)