Uploading and Deploying with the Admin API
You can programmatically upload, deploy, download, and delete Grid Libraries and filters to a Manager using the JDriver Admin API. The
ServiceAdmin class has methods you can use to manipulate resources on a Manager. It includes the following related methods:
-
uploadResource– uploads a resource into the temporary staging directory -
deployResources– copies resources from staging to deployed -
downloadResource– downloads a copy of a resource -
deleteResources– removes resources -
listResources– returns a list of resources on the Manager
You can also determine Grid Libraries loaded on Engines by using the
EngineAdmin class to get the EngineProperties. The GRID_LIBRARIES property is a list of all downloaded Grid Libraries, and GRID_LIBRARIES_UPDATE_TIME, is the time at which they were last updated.
For more information, see the Java API documentation.