Changeset 4893 for cats


Ignore:
Timestamp:
04/04/14 09:58:18 (10 years ago)
Author:
Menzo Windhouwer
Message:

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
Location:
cats/ISOcat/trunk
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • cats/ISOcat/trunk/mod-ISOcat-access-data/module.xml

    r4853 r4893  
    395395            <to>active:sloot.accessor+operand@ffcpl:/access/dcs_hug.acc$1</to>
    396396        </rewrite>
     397        <rewrite>
     398            <match>active:ISOcat.access.data.dcs.check(\+.*)</match>
     399            <to>active:sloot.accessor+operand@ffcpl:/access/dcs_check.acc$1</to>
     400        </rewrite>
    397401       
    398402        <!-- DCS export formats -->
  • cats/ISOcat/trunk/mod-ISOcat-control-access/etc/GateKeeperPolicy.xml

    r2922 r4893  
    6161  </zone>
    6262  <zone>
    63     <match>.*uri@active:ISOcat\.manage\.dcs(?!\.basket|\.dm|\.profile|\.to|\.history).*</match>
     63    <match>.*uri@active:ISOcat\.manage\.dcs(?!\.basket|\.dm|\.profile|\.to|\.history|\.check).*</match>
    6464    <isValidURI>active:ISOcat.control.access.validate+validate@data:text/plain,dcs+action@data:text/plain,access</isValidURI>
    6565    <loginURI>active:ISOcat.control.access.invalid</loginURI>
  • cats/ISOcat/trunk/mod-ISOcat-interface-rest/etc/XRLLinks.xml

    r4289 r4893  
    240240                <args>credentials,dcs,param</args>
    241241        </link>
    242 
     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   
    243258        <!-- Private DCS service interface -->
    244259        <link>
Note: See TracChangeset for help on using the changeset viewer.