forked from DSpace/DSpace
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added cesilko cmdi file that works well (#676)
added cesilko cmdi file with explanatory readme
- Loading branch information
1 parent
d9c8f1d
commit 7be0a0f
Showing
2 changed files
with
105 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# file `good-cmdi-example.cmdi` | ||
Can be used to manually test `hasCMDI` functionality, where | ||
in correct procedure, OAI-PMH displays this file instead | ||
of generating OAI-PMH one. |
101 changes: 101 additions & 0 deletions
101
dspace-api/src/test/data/dspaceFolder/assetstore/good-cmdi-example.cmdi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
<cmd:CMD xmlns:cmd="http://www.clarin.eu/cmd/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" CMDVersion="1.1" | ||
xsi:schemaLocation="http://www.clarin.eu/cmd/ http://catalog.clarin.eu/ds/ComponentRegistry/rest/registry/profiles/clarin.eu:cr1:p_1320657629644/xsd"> | ||
<cmd:Header> | ||
<cmd:MdSelfLink>http://hdl.handle.net/11234/5-CESILKO-URL</cmd:MdSelfLink> | ||
<cmd:MdProfile>clarin.eu:cr1:p_1320657629644</cmd:MdProfile> | ||
</cmd:Header> | ||
<cmd:Resources> | ||
<cmd:ResourceProxyList> | ||
<cmd:ResourceProxy id="s001"> | ||
<cmd:ResourceType mimetype="application/vnd.sun.wadl+xml">Resource</cmd:ResourceType> | ||
<cmd:ResourceRef>http://lindat.mff.cuni.cz/services/cesilko/cesilko.wadl</cmd:ResourceRef> | ||
</cmd:ResourceProxy> | ||
</cmd:ResourceProxyList> | ||
<cmd:JournalFileProxyList/> | ||
<cmd:ResourceRelationList/> | ||
</cmd:Resources> | ||
<cmd:Components> | ||
<cmd:WebLichtWebService> | ||
<cmd:Service> | ||
<cmd:Name>Cesilko translator (ces->slk)</cmd:Name> | ||
<cmd:Description>Cesilko translator (ces->slk)</cmd:Description> | ||
<cmd:Description type="short">Cesilko translator (ces->slk)</cmd:Description> | ||
<cmd:ApplicationType>webService</cmd:ApplicationType> | ||
<cmd:TypeOfWebservice>RESTfull</cmd:TypeOfWebservice> | ||
<cmd:url>https://lindat.mff.cuni.cz/services/rest/cesilko/translate</cmd:url> | ||
<cmd:LifeCycleStatus>development</cmd:LifeCycleStatus> | ||
<cmd:PublicationDate>2014-03-19T18:02:38.963+01:00</cmd:PublicationDate> | ||
<cmd:LastUpdate>2014-03-19T18:06:08.390+01:00</cmd:LastUpdate> | ||
<cmd:ServiceDescriptionLocation ref="s001"/> | ||
<cmd:Contact> | ||
<cmd:Email>[email protected]</cmd:Email> | ||
</cmd:Contact> | ||
<cmd:Creation> | ||
<cmd:Creators> | ||
<cmd:Creator> | ||
<cmd:Contact> | ||
<cmd:Organisation>Charles University in Prague, UFAL</cmd:Organisation> | ||
</cmd:Contact> | ||
</cmd:Creator> | ||
</cmd:Creators> | ||
</cmd:Creation> | ||
<cmd:Operations> | ||
<cmd:Operation> | ||
<cmd:Name>Default</cmd:Name> | ||
<cmd:Input> | ||
<cmd:ParameterGroup> | ||
<cmd:Name>Input Parameters</cmd:Name> | ||
<cmd:Parameters> | ||
<cmd:Parameter> | ||
<cmd:Name>type</cmd:Name> | ||
<cmd:WebServiceArgValue/> | ||
<cmd:AllowManualSelectionFallback>false</cmd:AllowManualSelectionFallback> | ||
<cmd:Values> | ||
<cmd:ParameterValue> | ||
<cmd:Value>text/plain</cmd:Value> | ||
</cmd:ParameterValue> | ||
</cmd:Values> | ||
</cmd:Parameter> | ||
<cmd:Parameter> | ||
<cmd:Name>lang</cmd:Name> | ||
<cmd:WebServiceArgValue/> | ||
<cmd:AllowManualSelectionFallback>false</cmd:AllowManualSelectionFallback> | ||
<cmd:Values> | ||
<cmd:ParameterValue> | ||
<cmd:Value>cs</cmd:Value> | ||
</cmd:ParameterValue> | ||
</cmd:Values> | ||
</cmd:Parameter> | ||
</cmd:Parameters> | ||
</cmd:ParameterGroup> | ||
</cmd:Input> | ||
<cmd:Output> | ||
<cmd:ParameterGroup> | ||
<cmd:Name>Output Parameters</cmd:Name> | ||
<cmd:ReplacesInput>true</cmd:ReplacesInput> | ||
<cmd:Parameters> | ||
<cmd:Parameter> | ||
<cmd:Name>type</cmd:Name> | ||
<cmd:Values> | ||
<cmd:ParameterValue> | ||
<cmd:Value>text/plain</cmd:Value> | ||
</cmd:ParameterValue> | ||
</cmd:Values> | ||
</cmd:Parameter> | ||
<cmd:Parameter> | ||
<cmd:Name>lang</cmd:Name> | ||
<cmd:Values> | ||
<cmd:ParameterValue> | ||
<cmd:Value>sk</cmd:Value> | ||
</cmd:ParameterValue> | ||
</cmd:Values> | ||
</cmd:Parameter> | ||
</cmd:Parameters> | ||
</cmd:ParameterGroup> | ||
</cmd:Output> | ||
</cmd:Operation> | ||
</cmd:Operations> | ||
</cmd:Service> | ||
</cmd:WebLichtWebService> | ||
</cmd:Components> | ||
</cmd:CMD> |