Ignore:
Timestamp:
08/14/13 15:02:02 (11 years ago)
Author:
mwindhouwer
Message:

M urn.org.basex.rest/rest/query.dpml

  • can now also handle variables with XML values
  • looks in the BaseX result to see if there was an error message, if so turn that info an exception

M data*

  • use the sc prefix for the SCHEMAcat namespace everywhere

M urn.org.isocat.schemacat.access.data/test/testlist.xml

  • added tests for user data management

M urn.org.isocat.schemacat.access.data/access/user.dpml

  • EXISTS and SOURCE work with id or principal
  • NEW works
  • TODO: SINK

M urn.org.isocat.schemacat.access.data/debug

  • will contain debug output for test runs
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cats/SCHEMAcat/trunk/urn.org.isocat.schemacat.access.data/module.xml

    r3208 r3379  
    2727                  <active>
    2828                     <identifier>active:org.isocat.schemacat.access.data.user</identifier>
    29                      <argument name="principal"/>
    30                      <argument name="user-id" min="0" max="1" />
    31                      <argument name="display-name" min="0" max="1" />
    32                      <argument name="email" min="0" />
     29                     <argument name="principal" min="0" max="1"/>
     30                     <argument name="id" min="0" max="1"/>
     31                     <argument name="display-name" min="0" max="1"/>
     32                     <argument name="email" min="0"/>
    3333                     <!-- AAM: trying to pass an arbritary number of roles (max 2 here). Not working1 -> cannot read the second role.
    3434                     Ideally this would be used for 'roles' and 'emails'-->
     
    3636                  </active>
    3737               </grammar>
    38                <verbs>EXISTS,NEW,SOURCE</verbs>
     38               <verbs>EXISTS,NEW,SOURCE,SINK</verbs>
    3939               <request>
    4040                  <identifier>active:sloot.dpml</identifier>
     
    9494         <regex>res:/test/.*</regex>
    9595      </fileset>
    96       <endpoint>
    97          <!-- stop any configuration from module under test from polluting address space -->
     96      <fileset>
     97         <regex>res:/debug/.*</regex>
     98         <mutable/>
     99      </fileset>
     100      <mapper>
     101         <config>
     102            <endpoint>
     103               <grammar>
     104                  <simple>res:/etc/BaseXConfig.xml</simple>
     105               </grammar>
     106               <request>
     107                  <identifier>active:org.isocat.schemacat.admin.config</identifier>
     108               </request>
     109            </endpoint>
     110         </config>
     111         <space>
     112            <import>
     113               <uri>urn:org:isocat:schemacat:admin</uri>
     114            </import>
     115         </space>
     116      </mapper>
     117      <!--<endpoint>
     118         <!-\- stop any configuration from module under test from polluting address space -\->
    98119         <prototype>Limiter</prototype>
    99120         <grammar>res:/etc/
    100121            <regex type="anything"/>
    101122         </grammar>
    102       </endpoint>
     123      </endpoint>-->
    103124      <import>
    104125         <!-- import the main space which we are testing -->
    105126         <uri>urn:org:isocat:schemacat:access:data</uri>
     127      </import>
     128      <import>
     129         <uri>urn:org:basex:rest</uri>
    106130      </import>
    107131      <import>
Note: See TracChangeset for help on using the changeset viewer.