org.overlord.sramp.atom.services
Class ServiceDocumentResource
java.lang.Object
org.overlord.sramp.atom.services.ServiceDocumentResource
public class ServiceDocumentResource
- extends Object
|
Method Summary |
String |
getRawPath()
|
org.jboss.resteasy.plugins.providers.atom.app.AppService |
getService()
S-RAMP implementations SHALL return an Atom Publishing Protocol Service
Document to clients who perform an HTTP GET on the following URL:
{base URL}/s-ramp/servicedocument
The content of the Service Document that is returned is defined as
follows:
MUST contain a workspace for each of the artifact models identified
in Section 3 of the SOA Repository Artifact Model & Protocol
Specification - Foundation Document.
Each workspace MUST contain an app:collection element for each of the
artifact types that are defined within the corresponding artifact model
for that workspace.
Each collection in a workspace MUST specify an atom:categories
element that will define the categories that MUST be applied to the
member resources of the collection as defined in Section 2.3.1.
The workspace for the query artifact model MUST contain an
app:collection element for each Stored Query that exists in the S-RAMP
implementation.
The workspace for the SOA or Service Implementation Artifact Model MUST
contain an app:collection element for each user defined type that has
been registered in the S-RAMP implementation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceDocumentResource
public ServiceDocumentResource()
getService
public org.jboss.resteasy.plugins.providers.atom.app.AppService getService()
- S-RAMP implementations SHALL return an Atom Publishing Protocol Service
Document to clients who perform an HTTP GET on the following URL:
{base URL}/s-ramp/servicedocument
The content of the Service Document that is returned is defined as
follows:
- MUST contain a workspace for each of the artifact models identified
in Section 3 of the SOA Repository Artifact Model & Protocol
Specification - Foundation Document.
- Each workspace MUST contain an app:collection element for each of the
artifact types that are defined within the corresponding artifact model
for that workspace.
- Each collection in a workspace MUST specify an atom:categories
element that will define the categories that MUST be applied to the
member resources of the collection as defined in Section 2.3.1.
- The workspace for the query artifact model MUST contain an
app:collection element for each Stored Query that exists in the S-RAMP
implementation.
The workspace for the SOA or Service Implementation Artifact Model MUST
contain an app:collection element for each user defined type that has
been registered in the S-RAMP implementation.
- Returns:
- AppService - service document.
getRawPath
public String getRawPath()
Copyright © 2011-2012 JBoss, a division of Red Hat. All Rights Reserved.