public class ReplicationResource extends Object
Constructor and Description |
---|
ReplicationResource(javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.Request request,
RegistryService registryService) |
Modifier and Type | Method and Description |
---|---|
ReplicationReport |
getReplicationReport()
Retrieves information about an ongoing replication request.
|
javax.ws.rs.core.Response |
performReplication(String registryUrl,
DateParam lastModified,
String objectType,
String packageGuid,
String packageName)
Requests a replication of a remote registry contents to be initiated.
|
public ReplicationResource(javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.Request request, RegistryService registryService)
public javax.ws.rs.core.Response performReplication(String registryUrl, DateParam lastModified, String objectType, String packageGuid, String packageName)
registryUrl
- to replicate contents fromlastModified
- time to constrain which registry objects are relevant to
replicate. This time is inclusive. If set to null all will be
pulled.objectType
- to replicate, all others will be ignored.packageGuid
- identifier for the package which all replicated items will be
associated with.packageName
- used for the replication packagepublic ReplicationReport getReplicationReport()
Copyright © 2010–2016 Planetary Data System. All rights reserved.