gov.nasa.pds.registry.resource
Class RegistryResource

java.lang.Object
  extended by gov.nasa.pds.registry.resource.RegistryResource

@Component
@Scope(value="request")
public class RegistryResource
extends Object

This is the top-level resource for the registry service.

Author:
pramirez

Constructor Summary
RegistryResource()
           
 
Method Summary
 AssociationsResource getAssociationsResource()
          Provides access to operations that can be done on associations.
 ClassificationsResource getClassificationsResource()
          Provides access to operations on Classifications that are made on RegistryObjects.
 ConfigurationResource getConfigurationResource()
          Provides access to configure the registry.
 EventsResource getEventsResource()
          Provides access to operations that can be done with Auditable Events.
 ExternalIdentifiersResource getExternalIdentifiersResource()
          Provides access to operations on ExternalIdentifiers.
 ExtrinsicsResource getExtrinsicsResource()
          Provides access to operations that can be done on extrinsics.
 LinksResource getLinksResource()
          Provides access to operations that can be done on links.
 NodesResource getNodesResource()
          Provides access to operations on ClassificationNodes.
 PackagesResource getPackagesResource()
          Provides access to operations on RegistryPackages.
 javax.ws.rs.core.Response getRegistryResources()
          Returns a welcome message from the registry service.
 ReplicationResource getReplicationResource()
          Provides access to replication operations.
 gov.nasa.pds.registry.model.Report getReport()
          Returns a report of objects registered with the registry service.
 SchemesResource getSchemesResource()
          Provides access to operations that can be done with ClassificationSchemes.
 ServicesResource getServicesResource()
          Provides access to operations that can be done with Service registrations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegistryResource

public RegistryResource()
Method Detail

getRegistryResources

public javax.ws.rs.core.Response getRegistryResources()
Returns a welcome message from the registry service. Can be used to ping the registry.


getReport

public gov.nasa.pds.registry.model.Report getReport()
Returns a report of objects registered with the registry service. Can be used to monitor the health of the registry.

Returns:
registry status

getExtrinsicsResource

public ExtrinsicsResource getExtrinsicsResource()
Provides access to operations that can be done on extrinsics. The extrinsic resource is simply a subresource of the registry resource.

Returns:
extrinsic resource that will process the remaining portion of the request

getAssociationsResource

public AssociationsResource getAssociationsResource()
Provides access to operations that can be done on associations. The association resource deals with links between registry objects. At this level this is merely a method to be able to delegate along this resource path.

Returns:
association resource that will process the remaining portion of the request

getEventsResource

public EventsResource getEventsResource()
Provides access to operations that can be done with Auditable Events. Auditable Events are recorded for many actions involved with RegistryObject's such as approved, created, deleted, deprecated, etc..

Returns:
resource to deal with auditable events

getSchemesResource

public SchemesResource getSchemesResource()
Provides access to operations that can be done with ClassificationSchemes. Additionally manages ClassificationNodes as each node can be traced back to a parent and should not exist without a scheme.

Returns:
resource to deal with classification schemes

getServicesResource

public ServicesResource getServicesResource()
Provides access to operations that can be done with Service registrations.

Returns:
resource to deal with services

getLinksResource

public LinksResource getLinksResource()
Provides access to operations that can be done on links.

Returns:
resource to deal with ExternalLinks

getClassificationsResource

public ClassificationsResource getClassificationsResource()
Provides access to operations on Classifications that are made on RegistryObjects.

Returns:
resource to deal with classifications

getConfigurationResource

public ConfigurationResource getConfigurationResource()
Provides access to configure the registry.

Returns:
resource to deal with configuration

getPackagesResource

public PackagesResource getPackagesResource()
Provides access to operations on RegistryPackages.

Returns:
resource to deal with packages

getExternalIdentifiersResource

public ExternalIdentifiersResource getExternalIdentifiersResource()
Provides access to operations on ExternalIdentifiers.

Returns:
resource to deal with external identifiers

getNodesResource

public NodesResource getNodesResource()
Provides access to operations on ClassificationNodes.

Returns:
resource to deal with classification nodes

getReplicationResource

public ReplicationResource getReplicationResource()
Provides access to replication operations.

Returns:
resource to deal with replication


Copyright © 2010-2012 Planetary Data System. All Rights Reserved.