source: cats/ISOcat/trunk/mod-ISOcat-interface-rest/etc/XRLLinks.xml @ 4893

Last change on this file since 4893 was 4893, checked in by Menzo Windhouwer, 10 years ago

A mod-ISOcat-interface-rest/interface/dcs-check.acc
A mod-ISOcat-interface-rest/representations/html/DCS-check.xsl
M mod-ISOcat-interface-rest/etc/XRLLinks.xml

  • added /rest/dcs/<id>/check to the REST API

-- returns a check report for all entries in a DCS

A mod-ISOcat-access-data/access/dcs_check.acc
M mod-ISOcat-access-data/module.xml

  • added an accessor to check all DCs in a DCS

M mod-ISOcat-control-access/etc/GateKeeperPolicy.xml

  • added access control for the DCS check
File size: 17.7 KB
Line 
1<links basepath="ffcpl:/rest/">
2
3        <link>
4                <ext>/shib/login</ext>
5                <int>active:sloot.accessor+operand@ffcpl:/interface/shib-login.acc</int>
6                <args>all</args>
7        </link>
8        <link>
9                <ext>/shib/logout</ext>
10                <int>active:sloot.accessor+operand@ffcpl:/interface/shib-logout.acc</int>
11                <args>all</args>
12        </link>
13        <link>
14                <ext>/shib/sso</ext>
15                <int>active:sloot.accessor+operand@ffcpl:/interface/shib-sso.acc</int>
16                <args>credentials,principal</args>
17        </link>
18        <link>
19                <ext>/shib/bind</ext>
20                <int>active:sloot.accessor+operand@ffcpl:/interface/shib-bind.acc</int>
21                <args>credentials,principal</args>
22        </link>
23       
24
25        <!-- user service interface -->
26        <link>
27                <ext>/user</ext>
28                <int>active:sloot.accessor+operand@ffcpl:/interface/user.acc</int>
29                <args>method,credentials,user,param,Accept</args>
30        </link>
31        <link>
32                <ext>/user.xml</ext>
33                <int>active:sloot.accessor+operand@ffcpl:/interface/user.acc+representation@data:text/plain,xml</int>
34                <args>method,credentials,user,param</args>
35        </link>
36        <link>
37                <ext>/user/workspace</ext>
38                <int>active:sloot.accessor+operand@ffcpl:/interface/workspace.acc</int>
39                <args>method,credentials,user,param,Accept</args>
40        </link>
41        <link>
42                <ext>/user/workspace.xml</ext>
43                <int>active:sloot.accessor+operand@ffcpl:/interface/workspace.acc+representation@data:text/plain,xml</int>
44                <args>method,credentials,user,param</args>
45        </link>
46        <link>
47                <ext>/user/workspace.html</ext>
48                <int>active:sloot.accessor+operand@ffcpl:/interface/workspace.acc+representation@data:text/plain,html</int>
49                <args>method,credentials,user,param</args>
50        </link>
51        <link>
52                <!-- TODO: should be handled by the Tibco interface -->
53                <ext>/user/workspace.cdf</ext>
54                <int>active:sloot.accessor+operand@ffcpl:/interface/workspace.acc+representation@data:text/plain,cdf</int>
55                <args>method,credentials,user,param</args>
56        </link>
57        <link>
58                <ext>/user/message</ext>
59                <int>active:sloot.accessor+operand@ffcpl:/interface/message.acc</int>
60                <args>method,credentials,user,message,param,Accept</args>
61        </link>
62        <link>
63                <ext>/user/password</ext>
64                <int>active:sloot.accessor+operand@ffcpl:/interface/password.acc</int>
65                <args>method,credentials,user,param</args>
66        </link>
67       
68        <!-- all users -->
69        <link>
70                <ext>/users</ext>
71                <int>active:ISOcat.manage.users.all</int>
72        </link>
73        <link>
74                <ext>/users.xml</ext>
75                <int>active:ISOcat.manage.users.all</int>
76        </link>
77
78        <!-- group service interface -->
79        <link>
80                <ext>/group</ext>
81                <int>active:sloot.accessor+operand@ffcpl:/interface/group.acc</int>
82                <args>method,credentials,group,param,Accept</args>
83        </link>
84        <link>
85                <ext>/group.xml</ext>
86                <int>active:sloot.accessor+operand@ffcpl:/interface/group.acc+representation@data:text/plain,xml</int>
87                <args>method,credentials,group,param</args>
88        </link>
89        <link>
90                <ext>/group.html</ext>
91                <int>active:sloot.accessor+operand@ffcpl:/interface/group.acc+representation@data:text/plain,html</int>
92                <args>method,credentials,group,param</args>
93        </link>
94        <link>
95                <ext>/group.xhtml</ext>
96                <int>active:sloot.accessor+operand@ffcpl:/interface/group.acc+representation@data:text/plain,xhtml</int>
97                <args>method,credentials,group,param</args>
98        </link>
99        <link>
100                <ext>/group/new</ext>
101                <int>active:sloot.accessor+operand@ffcpl:/interface/group.acc+method@data:text/plain,POST</int>
102                <args>credentials,group,param</args>
103        </link>
104        <link>
105                <ext>/group/delete</ext>
106                <int>active:sloot.accessor+operand@ffcpl:/interface/group.acc+method@data:text/plain,DELETE</int>
107                <args>credentials,group,param</args>
108        </link>
109       
110        <!-- group recommends a DC service interface -->
111        <link>
112                <ext>/group/recommends/dc</ext>
113                <int>active:sloot.accessor+operand@ffcpl:/interface/recommendation.acc+method@data:text/plain,GET</int>
114                <args>credentials,group,dc,param</args>
115        </link>
116       
117        <!-- session service interface -->
118        <link>
119                <ext>/user/session</ext>
120                <int>active:sloot.accessor+operand@ffcpl:/interface/session.acc</int>
121                <args>method,credentials,user,session</args>
122        </link>
123        <link>
124                <ext>/user/session/new</ext>
125                <int>active:sloot.accessor+operand@ffcpl:/interface/session.acc+method@data:text/plain,POST</int>
126                <args>credentials,user,session</args>
127        </link>
128        <link>
129                <ext>/user/session/delete</ext>
130                <int>active:sloot.accessor+operand@ffcpl:/interface/session.acc+method@data:text/plain,DELETE</int>
131                <args>credentials,user,session</args>
132        </link>
133        <!-- session lock service interface -->
134        <link>
135                <ext>/user/session/lock</ext>
136                <int>active:sloot.accessor+operand@ffcpl:/interface/lock.acc+type@data:text/plain,data%2520category</int>
137                <args>method,credentials,user,session,lock</args>
138        </link>
139        <link>
140                <ext>/user/session/lock/dc</ext>
141                <int>active:sloot.accessor+operand@ffcpl:/interface/lock.acc+type@data:text/plain,data%2520category</int>
142                <args>method,credentials,user,session,lock,dc,param</args>
143        </link>
144        <link>
145                <ext>/user/session/lock/new/dc</ext>
146                <int>active:sloot.accessor+operand@ffcpl:/interface/lock.acc+type@data:text/plain,data%2520category+method@data:text/plain,POST</int>
147                <args>credentials,user,session,lock,dc</args>
148        </link>
149        <link>
150                <ext>/user/session/lock/delete</ext>
151                <int>active:sloot.accessor+operand@ffcpl:/interface/lock.acc+method@data:text/plain,DELETE</int>
152                <args>credentials,user,session,lock</args>
153        </link>
154
155        <!-- DCRB service interface -->
156        <link>
157                <ext>/dcrb</ext>
158                <int>active:sloot.accessor+operand@ffcpl:/interface/dcrb.acc</int>
159                <args>method,credentials,param,Accept</args>
160        </link>
161        <link>
162                <ext>/dcrb.xml</ext>
163                <int>active:sloot.accessor+operand@ffcpl:/interface/dcrb.acc+representation@data:text/plain,xml</int>
164                <args>method,credentials,param</args>
165        </link>
166        <link>
167                <ext>/dcrb.html</ext>
168                <int>active:sloot.accessor+operand@ffcpl:/interface/dcrb.acc+representation@data:text/plain,html</int>
169                <args>method,credentials,param</args>
170        </link>
171
172        <!-- TDG service interface -->
173        <link>
174                <ext>/tdg</ext>
175                <int>active:sloot.accessor+operand@ffcpl:/interface/tdg.acc</int>
176                <args>method,credentials,tdg,param,Accept</args>
177        </link>
178        <link>
179                <ext>/tdg.xml</ext>
180                <int>active:sloot.accessor+operand@ffcpl:/interface/tdg.acc+representation@data:text/plain,xml</int>
181                <args>method,credentials,tdg,param</args>
182        </link>
183        <link>
184                <ext>/tdg.html</ext>
185                <int>active:sloot.accessor+operand@ffcpl:/interface/tdg.acc+representation@data:text/plain,html</int>
186                <args>method,credentials,tdg,param</args>
187        </link>
188
189        <!-- profile service interface -->
190        <link>
191                <ext>/profile</ext>
192                <int>active:sloot.accessor+operand@ffcpl:/interface/profile.acc</int>
193                <args>method,credentials,profile,param,representation,Accept</args>
194        </link>
195
196        <!-- DCS service interface -->
197        <link>
198                <ext>/dcs</ext>
199                <int>active:sloot.accessor+operand@ffcpl:/interface/dcs.acc</int>
200                <args>method,credentials,dcs,param,representation,Accept</args>
201        </link>
202        <link>
203                <ext>/dcs/history</ext>
204                <int>active:sloot.accessor+operand@ffcpl:/interface/dcs-history.acc</int>
205                <args>method,credentials,dcs,Accept</args>
206        </link>
207        <link>
208                <ext>/dcs/history.xml</ext>
209                <int>active:sloot.accessor+operand@ffcpl:/interface/dcs-history.acc+representation@data:text/plain,xml</int>
210                <args>method,credentials,dcs,Accept</args>
211        </link>
212        <link>
213                <ext>/dcs/history.html</ext>
214                <int>active:sloot.accessor+operand@ffcpl:/interface/dcs-history.acc+representation@data:text/plain,html</int>
215                <args>method,credentials,dcs,Accept</args>
216        </link>
217        <link>
218                <ext>/dcs/history.atom</ext>
219                <int>active:sloot.accessor+operand@ffcpl:/interface/dcs-history.acc+representation@data:text/plain,atom</int>
220                <args>method,credentials,dcs,Accept</args>
221        </link>
222        <link>
223                <ext>/dcs/scope</ext>
224                <int>active:sloot.accessor+operand@ffcpl:/interface/dcs-scope.acc</int>
225                <args>method,credentials,dcs,param,Accept</args>
226        </link>
227        <link>
228                <ext>/dcs/scope.xml</ext>
229                <int>active:sloot.accessor+operand@ffcpl:/interface/dcs-scope.acc+representation@data:text/plain,xml</int>
230                <args>method,credentials,dcs,param,Accept</args>
231        </link>
232        <link>
233                <ext>/dcs/delete</ext>
234                <int>active:sloot.accessor+operand@ffcpl:/interface/dcs.acc+method@data:text/plain,DELETE</int>
235                <args>credentials,dcs,param</args>
236        </link>
237        <link>
238                <ext>/dcs/submission</ext>
239                <int>active:sloot.accessor+operand@ffcpl:/interface/dcs-valid-cr.acc</int>
240                <args>credentials,dcs,param</args>
241        </link>
242    <link>
243        <ext>/dcs/check</ext>
244        <int>active:sloot.accessor+operand@ffcpl:/interface/dcs-check.acc</int>
245        <args>method,credentials,dcs,Accept</args>
246    </link>
247    <link>
248        <ext>/dcs/check.xml</ext>
249        <int>active:sloot.accessor+operand@ffcpl:/interface/dcs-check.acc+representation@data:text/plain,xml</int>
250        <args>method,credentials,dcs,Accept</args>
251    </link>
252    <link>
253        <ext>/dcs/check.html</ext>
254        <int>active:sloot.accessor+operand@ffcpl:/interface/dcs-check.acc+representation@data:text/plain,html</int>
255        <args>method,credentials,dcs,Accept</args>
256    </link>
257   
258        <!-- Private DCS service interface -->
259        <link>
260                <ext>/user/private</ext>
261                <int>active:sloot.accessor+operand@ffcpl:/interface/private.acc</int>
262                <args>method,credentials,user,param,representation,Accept</args>
263        </link>
264
265        <!-- Shared DCS service interface -->
266        <link>
267                <ext>/user/shared</ext>
268                <int>active:sloot.accessor+operand@ffcpl:/interface/shared.acc</int>
269                <args>method,credentials,user,param,representation,Accept</args>
270        </link>
271
272        <!-- Private query interface -->
273        <link>
274                <ext>/user/query</ext>
275                <int>active:sloot.accessor+operand@ffcpl:/interface/query.acc</int>
276                <args>method,credentials,user,param,representation,Accept</args>
277        </link>
278
279        <!-- Basket service interface -->
280        <link>
281                <ext>/basket</ext>
282                <int>active:sloot.accessor+operand@ffcpl:/interface/basket.acc</int>
283                <args>method,param,representation,Accept</args>
284        </link>
285
286        <!-- Private basket service interface -->
287        <link>
288                <ext>/user/basket</ext>
289                <int>active:sloot.accessor+operand@ffcpl:/interface/basket.acc</int>
290                <args>method,param,user,credentials,representation,Accept</args>
291        </link>
292
293        <!-- Search service interface -->
294        <link>
295                <ext>/search</ext>
296                <int>active:sloot.accessor+operand@ffcpl:/interface/search.acc</int>
297                <args>method,param,credentials,representation,Accept</args>
298        </link>
299
300        <!-- Private search service interface -->
301        <link>
302                <ext>/user/search</ext>
303                <int>active:sloot.accessor+operand@ffcpl:/interface/search.acc</int>
304                <args>method,param,user,credentials,representation,Accept</args>
305        </link>
306
307        <!-- DC service interface -->
308        <link>
309                <ext>/dc</ext>
310                <int>active:sloot.accessor+operand@ffcpl:/interface/dc.acc</int>
311                <args>method,credentials,dc,param,Accept</args>
312        </link>
313        <link>
314                <ext>/dc.html</ext>
315                <int>active:sloot.accessor+operand@ffcpl:/interface/dc.acc+representation@data:text/plain,html</int>
316                <args>method,credentials,dc,param</args>
317        </link>
318        <link>
319                <ext>/dc.dcif</ext>
320                <int>active:sloot.accessor+operand@ffcpl:/interface/dc.acc+representation@data:text/plain,dcif</int>
321                <args>method,credentials,dc,param</args>
322        </link>
323        <link>
324                <ext>/dc.rdf</ext>
325                <int>active:sloot.accessor+operand@ffcpl:/interface/dc.acc+representation@data:text/plain,rdf</int>
326                <args>method,credentials,dc,param</args>
327        </link>
328        <link>
329                <ext>/dc/check</ext>
330                <int>active:ISOcat.manage.dc.check</int>
331                <args>credentials,dc</args>
332        </link>
333        <link>
334                <ext>/dc/context</ext>
335                <int>active:sloot.accessor+operand@ffcpl:/interface/context.acc</int>
336                <args>method,credentials,dc,Accept</args>
337        </link>
338        <link>
339                <ext>/dc/context.xml</ext>
340                <int>active:sloot.accessor+operand@ffcpl:/interface/context.acc+representation@data:text/plain,xml</int>
341                <args>method,credentials,dc,Accept</args>
342        </link>
343        <link>
344                <ext>/dc/context.html</ext>
345                <int>active:sloot.accessor+operand@ffcpl:/interface/context.acc+representation@data:text/plain,html</int>
346                <args>method,credentials,dc,Accept</args>
347        </link>
348        <link>
349                <ext>/dc/history</ext>
350                <int>active:sloot.accessor+operand@ffcpl:/interface/history.acc</int>
351                <args>method,credentials,dc,Accept</args>
352        </link>
353        <link>
354                <ext>/dc/history.xml</ext>
355                <int>active:sloot.accessor+operand@ffcpl:/interface/history.acc+representation@data:text/plain,xml</int>
356                <args>method,credentials,dc,Accept</args>
357        </link>
358        <link>
359                <ext>/dc/history.html</ext>
360                <int>active:sloot.accessor+operand@ffcpl:/interface/history.acc+representation@data:text/plain,html</int>
361                <args>method,credentials,dc,Accept</args>
362        </link>
363        <link>
364                <ext>/dc/history.atom</ext>
365                <int>active:sloot.accessor+operand@ffcpl:/interface/history.acc+representation@data:text/plain,atom</int>
366                <args>method,credentials,dc,Accept</args>
367        </link>
368        <link>
369                <ext>/dc/scope</ext>
370                <int>active:sloot.accessor+operand@ffcpl:/interface/dc-scope.acc</int>
371                <args>method,credentials,dc,param,Accept</args>
372        </link>
373        <link>
374                <ext>/dc/scope.xml</ext>
375                <int>active:sloot.accessor+operand@ffcpl:/interface/dc-scope.acc+representation@data:text/plain,xml</int>
376                <args>method,credentials,dc,param,Accept</args>
377        </link>
378
379        <!-- CR service interface -->
380        <link>
381                <ext>/cr</ext>
382                <int>active:sloot.accessor+operand@ffcpl:/interface/cr.acc</int>
383                <args>method,credentials,cr,param,Accept</args>
384        </link>
385        <link>
386                <ext>/cr.xml</ext>
387                <int>active:sloot.accessor+operand@ffcpl:/interface/cr.acc+representation@data:text/plain,xml</int>
388                <args>method,credentials,cr,param,Accept</args>
389        </link>
390        <link>
391                <ext>/cr.html</ext>
392                <int>active:sloot.accessor+operand@ffcpl:/interface/cr.acc+representation@data:text/plain,html</int>
393                <args>method,credentials,cr,param,Accept</args>
394        </link>
395        <link>
396                <ext>/cr/scope</ext>
397                <int>active:ISOcat.manage.cr.scope</int>
398                <args>credentials,cr</args>
399        </link>
400        <link>
401                <ext>/cr/scope.xml</ext>
402                <int>active:ISOcat.manage.cr.scope</int>
403                <args>credentials,cr</args>
404        </link>
405        <link>
406                <ext>/cr/sg</ext>
407                <int>active:sloot.accessor+operand@ffcpl:/interface/cr_sg.acc</int>
408                <args>method,credentials,cr,sg,param,Accept</args>
409        </link>
410        <link>
411                <ext>/cr/sg.xml</ext>
412                <int>active:sloot.accessor+operand@ffcpl:/interface/cr_sg.acc+representation@data:text/plain,xml</int>
413                <args>method,credentials,cr,sg,param,Accept</args>
414        </link>
415        <link>
416                <ext>/cr/dg</ext>
417                <int>active:sloot.accessor+operand@ffcpl:/interface/cr_dg.acc</int>
418                <args>method,credentials,cr,dg,param,Accept</args>
419        </link>
420        <link>
421                <ext>/cr/dg.xml</ext>
422                <int>active:sloot.accessor+operand@ffcpl:/interface/cr_dg.acc+representation@data:text/plain,xml</int>
423                <args>method,credentials,cr,dg,param,Accept</args>
424        </link>
425        <link>
426                <ext>/cr/dcs</ext>
427                <int>active:sloot.accessor+operand@ffcpl:/interface/cr_dcs.acc</int>
428                <args>method,credentials,cr,dcs,param,representation,Accept</args>
429        </link>
430
431        <!-- PID resolver interface -->
432        <link>
433                <ext>/resolve</ext>
434                <int>active:ISOcat.interface.rest.resolve</int>
435                <args>method,credentials,pid,param</args>
436        </link>
437        <link>
438                <ext>/resolve.xml</ext>
439                <int>active:ISOcat.interface.rest.resolve+representation@data:text/plain,xml</int>
440                <args>method,credentials,pid,param</args>
441        </link>
442        <link>
443                <ext>/resolve.html</ext>
444                <int>active:ISOcat.interface.rest.resolve+representation@data:text/plain,html</int>
445                <args>method,credentials,pid,param</args>
446        </link>
447        <link>
448                <ext>/resolve.dcif</ext>
449                <int>active:ISOcat.interface.rest.resolve+representation@data:text/plain,dcif</int>
450                <args>method,credentials,pid,param</args>
451        </link>
452
453        <!-- additional info -->
454        <link>
455                <ext>/info/version.xml</ext>
456                <int>active:ISOcat.manage.system.version</int>
457        </link>
458        <link>
459                <ext>/info/recover</ext>
460                <int>active:ISOcat.manage.access.recover</int>
461                <args>param</args>
462        </link>
463        <link>
464                <ext>/info/group</ext>
465                <int>active:ISOcat.manage.group.id</int>
466                <args>param</args>
467        </link>
468        <link>
469                <ext>/info/profiles.xml</ext>
470                <int>active:ISOcat.manage.dm.profiles</int>
471        </link>
472        <link>
473                <ext>/info/languages.xml</ext>
474                <int>active:ISOcat.manage.dm.languages</int>
475        </link>
476        <link>
477                <ext>/info/name-statuses.xml</ext>
478                <int>active:ISOcat.manage.dm.name-statuses</int>
479        </link>
480        <link>
481                <ext>/info/name-types.xml</ext>
482                <int>active:ISOcat.manage.dm.name-types</int>
483        </link>
484        <link>
485                <ext>/info/owner-types.xml</ext>
486                <int>active:ISOcat.manage.dm.owner-types</int>
487        </link>
488        <link>
489                <ext>/info/text-types.xml</ext>
490                <int>active:ISOcat.manage.dm.text-types</int>
491        </link>
492        <link>
493                <ext>/info/data-types.xml</ext>
494                <int>active:ISOcat.manage.dm.data-types</int>
495        </link>
496        <link>
497                <ext>/info/rule-types.xml</ext>
498                <int>active:ISOcat.manage.dm.rule-types</int>
499        </link>
500        <link>
501                <ext>/info/administration-statuses.xml</ext>
502                <int>active:ISOcat.manage.dm.administration-statuses</int>
503        </link>
504        <link>
505                <ext>/info/registration-statuses.xml</ext>
506                <int>active:ISOcat.manage.dm.registration-statuses</int>
507        </link>
508        <link>
509                <ext>/info/data-model-dcs.xml</ext>
510                <int>active:ISOcat.manage.dm.dcs</int>
511        </link>
512        <link>
513                <ext>/info/member-types.xml</ext>
514                <int>active:ISOcat.manage.dm.member-types</int>
515        </link>
516        <link>
517                <ext>/info/config.xml</ext>
518                <int>active:ISOcat.manage.system.config.authentication</int>
519        </link>
520        <link>
521                <ext>/info/recommenders.xml</ext>
522                <int>active:ISOcat.manage.dm.recommenders</int>
523        </link>
524       
525       
526        <!-- schemas -->
527        <link>
528                <ext>/schema/user-workspace.rng</ext>
529                <int>active:sloot.accessor+operand@ffcpl:/interface/workspace-schema.acc</int>
530        </link>
531
532        <!-- documentation for the RESTful interface -->
533        <link>
534                <ext>/</ext>
535                <int>xrl:help</int>
536        </link>
537        <link>
538                <name>help</name>
539                <ext>/help.html</ext>
540                <int>active:sloot.accessor+operand@ffcpl:/interface/help.acc</int>
541        </link>
542        <link>
543                <ext>/services.wadl</ext>
544                <int>active:sloot.accessor+operand@ffcpl:/interface/wadl.acc</int>
545        </link>
546
547        <!-- list of DCS representation formats -->
548        <link>
549                <ext>/info/dcs-representations.xml</ext>
550                <int>ffcpl:/representations/dcs2/representations.xml</int>
551        </link>
552
553        <!-- error handling -->
554        <link>
555                <name>404</name>
556                <int>active:ISOcat.manage.system.error</int>
557                <args>param,X-Forwarded-For,Remote-Host,User-Agent,Referer,requestURL</args>
558        </link>
559        <link>
560                <name>500</name>
561                <int>active:ISOcat.manage.system.error</int>
562                <args>param,X-Forwarded-For,Remote-Host,User-Agent,Referer,requestURL,credentials</args>
563        </link>
564</links>
Note: See TracBrowser for help on using the repository browser.