Changeset 2686


Ignore:
Timestamp:
03/13/13 10:37:00 (11 years ago)
Author:
mwindhouwer
Message:

Fixed the throtteling:

  • all SQL request go through the ISOcat.database throttle (settings in the ISOcat config), also the indirect DBX ones
  • big (more then 100 DCs) DCS to DCIF go through the big-dcif throttle (hardcoded settings)
Location:
cats/ISOcat/trunk
Files:
1 added
96 edited

Legend:

Unmodified
Added
Removed
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/ballots-close.acc

    r2029 r2686  
    44        <idoc>
    55                <instr>
    6                         <type>sqlQuery</type>
     6                        <type>isocat.sqlQuery</type>
    77                        <operand>
    88                                <sql>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/broadcast.acc

    r2029 r2686  
    9191                                </accessor-debug>
    9292                                <instr>
    93                                         <type>sqlUpdate</type>
     93                                        <type>isocat.sqlUpdate</type>
    9494                                        <operand>var:sql</operand>
    9595                                        <target>var:result</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/cleanup.acc

    r2029 r2686  
    44        <idoc>
    55                <instr>
    6                         <type>sqlUpdate</type>
     6                        <type>isocat.sqlUpdate</type>
    77                        <operand>
    88                                <sql>
     
    4545                </if>
    4646                <instr>
    47                         <type>sqlUpdate</type>
     47                        <type>isocat.sqlUpdate</type>
    4848                        <operand>
    4949                                <sql>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/cr.acc

    r2029 r2686  
    99        <idoc>
    1010                <instr>
    11                         <type>sloot.dbx</type>
     11                        <type>isocat.sloot.dbx</type>
    1212                        <cr>var:cr</cr>
    1313                        <operator>active:xinclude+operand@ffcpl:/dbx/CR.xml</operator>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/cr_dcs.acc

    r2029 r2686  
    4242                <accessor-trace name="DBX">
    4343                        <instr>
    44                                 <type>sloot.dbx</type>
     44                                <type>isocat.sloot.dbx</type>
    4545                                <cr>var:cr</cr>
    4646                                <user>var:user</user>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/cr_new.acc

    r2029 r2686  
    816816                </accessor-debug>
    817817                <instr>
    818                         <type>sqlBatch</type>
     818                        <type>isocat.sqlBatch</type>
    819819                        <operand>var:sql</operand>
    820820                        <target>var:result</target>
     
    836836                </instr>
    837837                <instr>
    838                         <type>sqlQuery</type>
     838                        <type>isocat.sqlQuery</type>
    839839                        <operand>var:sql</operand>
    840840                        <target>var:id</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/cr_scope.acc

    r2029 r2686  
    1010                <seq>
    1111                        <instr>
    12                                 <type>sloot.dbx</type>
     12                                <type>isocat.sloot.dbx</type>
    1313                                <cr>var:cr</cr>
    1414                                <operator>ffcpl:/dbx/CR-scope.xml</operator>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/cr_update.acc

    r2029 r2686  
    191191                                                <!-- the DC statuses get to reflect the result of the TDG vote -->
    192192                                                <instr>
    193                                                         <type>sloot.dbx</type>
     193                                                        <type>isocat.sloot.dbx</type>
    194194                                                        <cr>var:id</cr>
    195195                                                        <user>var:user</user>
     
    295295                                                <!-- the DC statuses get to reflect the result of the DCRB vote -->
    296296                                                <instr>
    297                                                         <type>sloot.dbx</type>
     297                                                        <type>isocat.sloot.dbx</type>
    298298                                                        <cr>var:id</cr>
    299299                                                        <user>var:user</user>
     
    525525                                                </accessor-debug>
    526526                                                <instr>
    527                                                         <type>sqlBatch</type>
     527                                                        <type>isocat.sqlBatch</type>
    528528                                                        <operand>var:sql</operand>
    529529                                                        <target>var:result</target>
     
    571571                                                </accessor-debug>
    572572                                                <instr>
    573                                                         <type>sqlBatch</type>
     573                                                        <type>isocat.sqlBatch</type>
    574574                                                        <operand>var:sql</operand>
    575575                                                        <target>var:result</target>
     
    605605                                                </accessor-debug>
    606606                                                <instr>
    607                                                         <type>sqlBatch</type>
     607                                                        <type>isocat.sqlBatch</type>
    608608                                                        <operand>var:sql</operand>
    609609                                                        <target>var:result</target>
     
    659659                                </accessor-debug>
    660660                                <instr>
    661                                         <type>sqlBatch</type>
     661                                        <type>isocat.sqlBatch</type>
    662662                                        <operand>var:sql</operand>
    663663                                        <target>var:result</target>
     
    752752                                </accessor-debug>
    753753                                <instr>
    754                                         <type>sqlBatch</type>
     754                                        <type>isocat.sqlBatch</type>
    755755                                        <operand>var:sql</operand>
    756756                                        <target>var:result</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/credentials.acc

    r2029 r2686  
    5353                <accessor-trace name="SQL">
    5454                        <instr>
    55                                 <type>sqlBooleanQuery</type>
     55                                <type>isocat.sqlBooleanQuery</type>
    5656                                <operand>var:sql</operand>
    5757                                <target>var:cond</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dc_change.acc

    r2029 r2686  
    6464                </accessor-debug>
    6565                <instr>
    66                         <type>sqlUpdate</type>
     66                        <type>isocat.sqlUpdate</type>
    6767                        <operand>var:sql</operand>
    6868                        <target>var:result</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dc_check.acc

    r2029 r2686  
    6565                        </accessor-debug>
    6666                        <instr>
    67                                 <type>sqlUpdate</type>
     67                                <type>isocat.sqlUpdate</type>
    6868                                <operand>var:sql</operand>
    6969                                <target>var:result</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dc_context.acc

    r2029 r2686  
    1010                <seq>
    1111                        <instr>
    12                                 <type>sloot.dbx</type>
     12                                <type>isocat.sloot.dbx</type>
    1313                                <dc>var:dc</dc>
    1414                                <operator>ffcpl:/dbx/DC-context.xml</operator>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dc_copy.acc

    r2029 r2686  
    460460                        </accessor-debug>
    461461                        <instr>
    462                                 <type>sqlUpdate</type>
     462                                <type>isocat.sqlUpdate</type>
    463463                                <operand>var:sql</operand>
    464464                                <target>var:result</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dc_exists.acc

    r2029 r2686  
    7373                </accessor-debug>
    7474                <instr>
    75                         <type>sqlBooleanQuery</type>
     75                        <type>isocat.sqlBooleanQuery</type>
    7676                        <operand>var:sql</operand>
    7777                        <target>this:response</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dc_history.acc

    r2029 r2686  
    1010                <seq>
    1111                        <instr>
    12                                 <type>sloot.dbx</type>
     12                                <type>isocat.sloot.dbx</type>
    1313                                <dc>var:dc</dc>
    1414                                <operator>ffcpl:/dbx/DC-history.xml</operator>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dc_id.acc

    r2029 r2686  
    6060                        </accessor-debug>
    6161                        <instr>
    62                                 <type>sqlQuery</type>
     62                                <type>isocat.sqlQuery</type>
    6363                                <operand>var:sql</operand>
    6464                                <target>var:result</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dc_name.acc

    r2029 r2686  
    4747                        </accessor-debug>
    4848                        <instr>
    49                                 <type>sqlQuery</type>
     49                                <type>isocat.sqlQuery</type>
    5050                                <operand>var:sql</operand>
    5151                                <target>var:result</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dc_new.acc

    r2630 r2686  
    183183                                        <!-- get the id of the new DC -->
    184184                                        <instr>
    185                                                 <type>sqlQuery</type>
     185                                                <type>isocat.sqlQuery</type>
    186186                                                <operand>
    187187                                                        <sql>
     
    262262                <accessor-trace name="execute-sql">
    263263                        <instr>
    264                                 <type>sqlBatch</type>
     264                                <type>isocat.sqlBatch</type>
    265265                                <operand>var:sql</operand>
    266266                                <target>var:result</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dc_pid2id.acc

    r2029 r2686  
    3737                        </accessor-debug>
    3838                        <instr>
    39                                 <type>sqlQuery</type>
     39                                <type>isocat.sqlQuery</type>
    4040                                <operand>var:sql</operand>
    4141                                <target>var:result</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dc_previous.acc

    r2029 r2686  
    3737                        </accessor-debug>
    3838                        <instr>
    39                                 <type>sqlQuery</type>
     39                                <type>isocat.sqlQuery</type>
    4040                                <operand>var:sql</operand>
    4141                                <target>var:result</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dc_scope.acc

    r2029 r2686  
    1010                <seq>
    1111                        <instr>
    12                                 <type>sloot.dbx</type>
     12                                <type>isocat.sloot.dbx</type>
    1313                                <dc>var:dc</dc>
    1414                                <operator>ffcpl:/dbx/DC-scope.xml</operator>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dc_scope_public.acc

    r2029 r2686  
    4141                        </accessor-debug>
    4242                        <instr>
    43                                 <type>sqlUpdate</type>
     43                                <type>isocat.sqlUpdate</type>
    4444                                <operand>var:sql</operand>
    4545                                <target>var:result</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dc_scope_update.acc

    r2029 r2686  
    8787                        </accessor-debug>
    8888                        <instr>
    89                                 <type>sqlBatch</type>
     89                                <type>isocat.sqlBatch</type>
    9090                                <operand>var:sql</operand>
    9191                                <target>var:result</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dc_status.acc

    r2630 r2686  
    271271                                </accessor-debug>
    272272                                <instr>
    273                                         <type>sqlBatch</type>
     273                                        <type>isocat.sqlBatch</type>
    274274                                        <operand>var:sql</operand>
    275275                                        <target>var:result</target>
     
    305305                </choose>
    306306                <instr>
    307                         <type>sloot.dbx</type>
     307                        <type>isocat.sloot.dbx</type>
    308308                        <dc>var:dc</dc>
    309309                        <operator>ffcpl:/dbx/DC-status.xml</operator>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dc_transfer.acc

    r2029 r2686  
    4444                </accessor-debug>
    4545                <instr>
    46                         <type>sqlUpdate</type>
     46                        <type>isocat.sqlUpdate</type>
    4747                        <operand>var:sql</operand>
    4848                        <target>var:result</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dc_update.acc

    r2360 r2686  
    183183                </accessor-debug>
    184184                <instr>
    185                         <type>sqlBatch</type>
     185                        <type>isocat.sqlBatch</type>
    186186                        <operand>var:sql</operand>
    187187                        <target>var:result</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dc_version.acc

    r2029 r2686  
    3737                        </accessor-debug>
    3838                        <instr>
    39                                 <type>sqlQuery</type>
     39                                <type>isocat.sqlQuery</type>
    4040                                <operand>var:sql</operand>
    4141                                <target>var:result</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dcrb.acc

    r2029 r2686  
    44        <idoc>
    55                <instr>
    6                         <type>sloot.dbx</type>
     6                        <type>isocat.sloot.dbx</type>
    77                        <operator>ffcpl:/dbx/DCRB.xml</operator>
    88                        <props>active:ISOcat.manage.system.properties</props>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dcrb_update.acc

    r2029 r2686  
    3333                               
    3434                                <instr>
    35                                         <type>sqlQuery</type>
     35                                        <type>isocat.sqlQuery</type>
    3636                                        <operand>
    3737                                                <sql>SELECT id FROM core_dcr_board;</sql>
     
    146146                                </accessor-debug>
    147147                                <instr>
    148                                         <type>sqlBatch</type>
     148                                        <type>isocat.sqlBatch</type>
    149149                                        <operand>var:sql</operand>
    150150                                        <target>var:result</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dcs.acc

    r2029 r2686  
    4646                <accessor-trace name="DBX">
    4747                        <instr>
    48                                 <type>sloot.dbx</type>
     48                                <type>isocat.sloot.dbx</type>
    4949                                <dcs>var:dcs</dcs>
    5050                                <operator>active:xinclude+operand@ffcpl:/dbx/DCS.xml</operator>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dcs_delete.acc

    r2029 r2686  
    3535                </accessor-debug>
    3636                <instr>
    37                         <type>sqlUpdate</type>
     37                        <type>isocat.sqlUpdate</type>
    3838                        <operand>var:sql</operand>
    3939                        <target>var:void</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dcs_exists.acc

    r2029 r2686  
    5050                </accessor-debug>
    5151                <instr>
    52                         <type>sqlBooleanQuery</type>
     52                        <type>isocat.sqlBooleanQuery</type>
    5353                        <operand>var:sql</operand>
    5454                        <target>this:response</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dcs_id.acc

    r2029 r2686  
    5050                </accessor-debug>
    5151                <instr>
    52                     <type>sqlQuery</type>
     52                    <type>isocat.sqlQuery</type>
    5353                    <operand>var:sql</operand>
    5454                    <target>var:dcs</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dcs_new.acc

    r2029 r2686  
    140140                                </accessor-debug>
    141141                                <instr>
    142                                         <type>sqlBatch</type>
     142                                        <type>isocat.sqlBatch</type>
    143143                                        <operand>var:sql</operand>
    144144                                        <target>var:result</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dcs_scope.acc

    r2029 r2686  
    1010                <seq>
    1111                        <instr>
    12                                 <type>sloot.dbx</type>
     12                                <type>isocat.sloot.dbx</type>
    1313                                <dcs>var:dcs</dcs>
    1414                                <operator>ffcpl:/dbx/DCS-scope.xml</operator>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dcs_scope_update.acc

    r2029 r2686  
    8787                        </accessor-debug>
    8888                        <instr>
    89                                 <type>sqlBatch</type>
     89                                <type>isocat.sqlBatch</type>
    9090                                <operand>var:sql</operand>
    9191                                <target>var:result</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dcs_to_dcif.acc

    r2288 r2686  
    133133        </param>
    134134        <idoc>
    135                 <instr>
    136                         <type>sloot.dbx</type>
    137                         <operator>ffcpl:/dbx/DCIF.xml</operator>
    138                         <dcs>var:dcs</dcs>
    139                         <props>active:ISOcat.access.system.properties</props>
    140                         <debug>var:accessor-debug</debug>
    141                         <trace>var:accessor-trace</trace>
    142                         <strict>var:strict</strict>
    143                         <mode>var:mode</mode>
    144                         <suppress>var:suppress</suppress>
    145                         <suppress-context>var:suppress-context</suppress-context>
    146                         <suppress-context-type>var:suppress-context-type</suppress-context-type>
    147                         <view-profiles>var:view-profiles</view-profiles>
    148                         <view-working-languages>var:view-working-languages</view-working-languages>
    149                         <view-object-languages>var:view-object-languages</view-object-languages>
    150                         <parse-xml-constraints>var:parse-xml-constraints</parse-xml-constraints>
    151                         <target>this:response</target>
    152                 </instr>
     135                <if>
     136                        <cond>
     137                                <instr>
     138                                        <type>sloot.xpath2eval</type>
     139                                        <operand>var:dcs</operand>
     140                                        <operator>
     141                                                <xpath>count(/dcs/dc)&gt;100</xpath>
     142                                        </operator>
     143                                        <target>this:cond</target>
     144                                </instr>
     145                        </cond>
     146                        <then>
     147                                <instr>
     148                                        <type>sloot.log</type>
     149                                        <operator>
     150                                                <msg>INF: {current-dateTime()}:ISOcat.access.data.dcs.to.dcif: throttle big DCS</msg>
     151                                        </operator>
     152                                </instr>
     153                                <instr>
     154                                        <type>throttle</type>
     155                                        <id>throttle:big-dcif</id>
     156                                        <configuration>ffcpl:/throttles/dcif.xml</configuration>
     157                                        <uri>active:isocat.sloot.dbx</uri>
     158                                        <operator>ffcpl:/dbx/DCIF.xml</operator>
     159                                        <dcs>var:dcs</dcs>
     160                                        <props>active:ISOcat.access.system.properties</props>
     161                                        <debug>var:accessor-debug</debug>
     162                                        <trace>var:accessor-trace</trace>
     163                                        <strict>var:strict</strict>
     164                                        <mode>var:mode</mode>
     165                                        <suppress>var:suppress</suppress>
     166                                        <suppress-context>var:suppress-context</suppress-context>
     167                                        <suppress-context-type>var:suppress-context-type</suppress-context-type>
     168                                        <view-profiles>var:view-profiles</view-profiles>
     169                                        <view-working-languages>var:view-working-languages</view-working-languages>
     170                                        <view-object-languages>var:view-object-languages</view-object-languages>
     171                                        <parse-xml-constraints>var:parse-xml-constraints</parse-xml-constraints>
     172                                        <target>this:response</target>
     173                                </instr>
     174                        </then>
     175                        <else>
     176                                <instr>
     177                                        <type>isocat.isocat.sloot.dbx</type>
     178                                        <operator>ffcpl:/dbx/DCIF.xml</operator>
     179                                        <dcs>var:dcs</dcs>
     180                                        <props>active:ISOcat.access.system.properties</props>
     181                                        <debug>var:accessor-debug</debug>
     182                                        <trace>var:accessor-trace</trace>
     183                                        <strict>var:strict</strict>
     184                                        <mode>var:mode</mode>
     185                                        <suppress>var:suppress</suppress>
     186                                        <suppress-context>var:suppress-context</suppress-context>
     187                                        <suppress-context-type>var:suppress-context-type</suppress-context-type>
     188                                        <view-profiles>var:view-profiles</view-profiles>
     189                                        <view-working-languages>var:view-working-languages</view-working-languages>
     190                                        <view-object-languages>var:view-object-languages</view-object-languages>
     191                                        <parse-xml-constraints>var:parse-xml-constraints</parse-xml-constraints>
     192                                        <target>this:response</target>
     193                                </instr>
     194                        </else>
     195                </if>
    153196                <accessor-debug>
    154197                        <instr>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dcs_update.acc

    r2029 r2686  
    5454                                </accessor-debug>
    5555                                <instr>
    56                                         <type>sqlUpdate</type>
     56                                        <type>isocat.sqlUpdate</type>
    5757                                        <operand>var:sql</operand>
    5858                                        <target>var:result</target>
     
    115115                                </accessor-debug>
    116116                                <instr>
    117                                         <type>sqlBatch</type>
     117                                        <type>isocat.sqlBatch</type>
    118118                                        <operand>var:sql</operand>
    119119                                        <target>var:result</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dg.acc

    r2029 r2686  
    1515                <accessor-trace name="DBX">
    1616                        <instr>
    17                                 <type>sloot.dbx</type>
     17                                <type>isocat.sloot.dbx</type>
    1818                                <cr>var:cr</cr>
    1919                                <group>var:dg</group>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dg_update.acc

    r2029 r2686  
    116116                                </accessor-debug>
    117117                                <instr>
    118                                         <type>sqlBatch</type>
     118                                        <type>isocat.sqlBatch</type>
    119119                                        <operand>var:sql</operand>
    120120                                        <target>var:result</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dm_access_rights.acc

    r2029 r2686  
    44        <idoc>
    55                <instr>
    6                         <type>sloot.dbx</type>
     6                        <type>isocat.sloot.dbx</type>
    77                        <operator>ffcpl:/dbx/access-rights.xml</operator>
    88                        <debug>var:accessor-debug</debug>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dm_administration_statuses.acc

    r2029 r2686  
    44        <idoc>
    55                <instr>
    6                         <type>sloot.dbx</type>
     6                        <type>isocat.sloot.dbx</type>
    77                        <operator>ffcpl:/dbx/administration-statuses.xml</operator>
    88                        <debug>var:accessor-debug</debug>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dm_datatypes.acc

    r2029 r2686  
    44        <idoc>
    55                <instr>
    6                         <type>sloot.dbx</type>
     6                        <type>isocat.sloot.dbx</type>
    77                        <operator>ffcpl:/dbx/datatypes.xml</operator>
    88                        <debug>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dm_languages.acc

    r2029 r2686  
    44        <idoc>
    55                <instr>
    6                         <type>sloot.dbx</type>
     6                        <type>isocat.sloot.dbx</type>
    77                        <operator>ffcpl:/dbx/languages.xml</operator>
    8                         <debug>
    9                                 <b>f</b>
    10                         </debug>
     8                        <debug>var:accessor-debug</debug>
    119                        <target>this:response</target>
    1210                </instr>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dm_member_statuses.acc

    r2029 r2686  
    44        <idoc>
    55                <instr>
    6                         <type>sloot.dbx</type>
     6                        <type>isocat.sloot.dbx</type>
    77                        <operator>ffcpl:/dbx/member-statuses.xml</operator>
    88                        <debug>var:accessor-debug</debug>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dm_member_types.acc

    r2029 r2686  
    44        <idoc>
    55                <instr>
    6                         <type>sloot.dbx</type>
     6                        <type>isocat.sloot.dbx</type>
    77                        <operator>ffcpl:/dbx/member-types.xml</operator>
    88                        <debug>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dm_message_types.acc

    r2029 r2686  
    44        <idoc>
    55                <instr>
    6                         <type>sloot.dbx</type>
     6                        <type>isocat.sloot.dbx</type>
    77                        <operator>ffcpl:/dbx/message-types.xml</operator>
    88                        <debug>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dm_name_statuses.acc

    r2029 r2686  
    44        <idoc>
    55                <instr>
    6                         <type>sloot.dbx</type>
     6                        <type>isocat.sloot.dbx</type>
    77                        <operator>ffcpl:/dbx/name-statuses.xml</operator>
    88                        <debug>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dm_name_types.acc

    r2029 r2686  
    44        <idoc>
    55                <instr>
    6                         <type>sloot.dbx</type>
     6                        <type>isocat.sloot.dbx</type>
    77                        <operator>ffcpl:/dbx/name-types.xml</operator>
    88                        <debug>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dm_owner_types.acc

    r2029 r2686  
    44        <idoc>
    55                <instr>
    6                         <type>sloot.dbx</type>
     6                        <type>isocat.sloot.dbx</type>
    77                        <operator>ffcpl:/dbx/owner-types.xml</operator>
    88                        <debug>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dm_profiles.acc

    r2029 r2686  
    44        <idoc>
    55                <instr>
    6                         <type>sloot.dbx</type>
     6                        <type>isocat.sloot.dbx</type>
    77                        <operator>ffcpl:/dbx/profiles.xml</operator>
    88                        <debug>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dm_registration_statuses.acc

    r2029 r2686  
    44        <idoc>
    55                <instr>
    6                         <type>sloot.dbx</type>
     6                        <type>isocat.sloot.dbx</type>
    77                        <operator>ffcpl:/dbx/registration-statuses.xml</operator>
    88                        <debug>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dm_rule_types.acc

    r2029 r2686  
    44        <idoc>
    55                <instr>
    6                         <type>sloot.dbx</type>
     6                        <type>isocat.sloot.dbx</type>
    77                        <operator>ffcpl:/dbx/rule-types.xml</operator>
    88                        <debug>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/dm_text_types.acc

    r2029 r2686  
    44        <idoc>
    55                <instr>
    6                         <type>sloot.dbx</type>
     6                        <type>isocat.sloot.dbx</type>
    77                        <operator>ffcpl:/dbx/text-types.xml</operator>
    88                        <debug>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/forum-sync-script.acc

    r2584 r2686  
    2828                </instr>
    2929                <instr>
    30                         <type>sloot.dbx</type>
     30                        <type>isocat.sloot.dbx</type>
    3131                        <operator>ffcpl:/dbx/users-sync.xml</operator>
    3232                        <debug>var:accessor-debug</debug>
     
    519519                                        <then>
    520520                                                <instr>
    521                                                         <type>sqlBatch</type>
     521                                                        <type>isocat.sqlBatch</type>
    522522                                                        <operand>var:sql</operand>
    523523                                                        <target>var:void</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/group.acc

    r2322 r2686  
    1010                <accessor-trace name="DBX">
    1111                        <instr>
    12                                 <type>sloot.dbx</type>
     12                                <type>isocat.sloot.dbx</type>
    1313                                <group>var:group</group>
    1414                                <operator>ffcpl:/dbx/group.xml</operator>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/group_delete.acc

    r2029 r2686  
    3535                </accessor-debug>
    3636                <instr>
    37                         <type>sqlUpdate</type>
     37                        <type>isocat.sqlUpdate</type>
    3838                        <operand>var:sql</operand>
    3939                        <target>var:void</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/group_id.acc

    r2029 r2686  
    4040                </accessor-debug>
    4141                <instr>
    42                     <type>sqlQuery</type>
     42                    <type>isocat.sqlQuery</type>
    4343                    <operand>var:sql</operand>
    4444                    <target>var:group</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/group_invite.acc

    r2029 r2686  
    145145                                                <!-- change status to invited -->
    146146                                                <instr>
    147                                                         <type>sqlUpdate</type>
     147                                                        <type>isocat.sqlUpdate</type>
    148148                                                        <operand>
    149149                                                                <sql>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/group_invited.acc

    r2029 r2686  
    5757                </instr>
    5858                <instr>
    59                         <type>sqlBatch</type>
     59                        <type>isocat.sqlBatch</type>
    6060                        <operand>var:sql</operand>
    6161                </instr>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/group_new.acc

    r2029 r2686  
    203203                                </accessor-debug>
    204204                                <instr>
    205                                         <type>sqlBatch</type>
     205                                        <type>isocat.sqlBatch</type>
    206206                                        <operand>var:sql</operand>
    207207                                        <target>var:result</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/group_recommendation.acc

    r2288 r2686  
    4141                        <cond>
    4242                                <instr>
    43                                         <type>sqlBooleanQuery</type>
     43                                        <type>isocat.sqlBooleanQuery</type>
    4444                                        <operand>var:sql</operand>
    4545                                        <target>this:cond</target>
     
    8181                                </accessor-debug>
    8282                                <instr>
    83                                         <type>sqlUpdate</type>
     83                                        <type>isocat.sqlUpdate</type>
    8484                                        <operand>var:sql</operand>
    8585                                        <target>var:res</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/group_update.acc

    r2029 r2686  
    261261                                </accessor-debug>
    262262                                <instr>
    263                                         <type>sqlBatch</type>
     263                                        <type>isocat.sqlBatch</type>
    264264                                        <operand>var:sql</operand>
    265265                                        <target>var:result</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/init.acc

    r2029 r2686  
    44        <idoc>
    55                <instr>
    6                         <type>sqlUpdate</type>
     6                        <type>isocat.sqlUpdate</type>
    77                        <operand>
    88                                <sql>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/lock.acc

    r2029 r2686  
    2121        <idoc>
    2222                <instr>
    23                         <type>sloot.dbx</type>
     23                        <type>isocat.sloot.dbx</type>
    2424                        <lock>var:lock</lock>
    2525                        <operator>ffcpl:/dbx/session-lock.xml</operator>
     
    6262                                </accessor-debug>
    6363                                <instr>
    64                                         <type>sqlUpdate</type>
     64                                        <type>isocat.sqlUpdate</type>
    6565                                        <operand>var:sql</operand>
    6666                                        <target>var:void</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/lock_delete.acc

    r2029 r2686  
    1414                </instr>
    1515                <instr>
    16                         <type>sloot.dbx</type>
     16                        <type>isocat.sloot.dbx</type>
    1717                        <lock>var:lid</lock>
    1818                        <operator>ffcpl:/dbx/session-lock.xml</operator>
     
    5656                                </accessor-debug>
    5757                                <instr>
    58                                         <type>sqlUpdate</type>
     58                                        <type>isocat.sqlUpdate</type>
    5959                                        <operand>var:sql</operand>
    6060                                        <target>var:void</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/lock_new.acc

    r2029 r2686  
    138138                <!-- create the new lock, which will fail if the object is already locked -->
    139139                <instr>
    140                         <type>sqlQuery</type>
     140                        <type>isocat.sqlQuery</type>
    141141                        <operand>
    142142                                <sql>
     
    202202                </accessor-debug>
    203203                <instr>
    204                         <type>sqlUpdate</type>
     204                        <type>isocat.sqlUpdate</type>
    205205                        <operand>var:sql</operand>
    206206                        <target>var:result</target>
     
    260260                                        <!-- we failed to acquire the lock, we'll return some info on the current lock -->
    261261                                        <instr>
    262                                                 <type>sloot.dbx</type>
     262                                                <type>isocat.sloot.dbx</type>
    263263                                                <ltype>var:ltype</ltype>
    264264                                                <object>var:object</object>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/message.acc

    r2029 r2686  
    2424                </accessor-debug>
    2525                <instr>
    26                         <type>sloot.dbx</type>
     26                        <type>isocat.sloot.dbx</type>
    2727                        <msg>var:msg</msg>
    2828                        <operator>ffcpl:/dbx/message.xml</operator>
     
    8181                                                </accessor-debug>
    8282                                                <instr>
    83                                                         <type>sqlUpdate</type>
     83                                                        <type>isocat.sqlUpdate</type>
    8484                                                        <operand>var:sql</operand>
    8585                                                        <target>var:result</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/message_action.acc

    r2029 r2686  
    119119                                </accessor-debug>
    120120                                <instr>
    121                                         <type>sqlUpdate</type>
     121                                        <type>isocat.sqlUpdate</type>
    122122                                        <operand>var:sql</operand>
    123123                                        <target>var:result</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/message_new.acc

    r2029 r2686  
    1414                </accessor-debug>
    1515                <instr>
    16                         <type>SQLEncodeElement</type>
     16                        <type>isocat.sqlEncodeElement</type>
    1717                        <operand>var:msg</operand>
    1818                        <operator>
     
    3030                <!-- * get an id -->
    3131                <instr>
    32                         <type>sqlQuery</type>
     32                        <type>isocat.sqlQuery</type>
    3333                        <operand>
    3434                                <sql>
     
    9797                </accessor-debug>
    9898                <instr>
    99                         <type>sqlUpdate</type>
     99                        <type>isocat.sqlUpdate</type>
    100100                        <operand>var:sql</operand>
    101101                        <target>var:result</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/message_scope.acc

    r2029 r2686  
    1414                </accessor-debug>
    1515                <instr>
    16                         <type>sloot.dbx</type>
     16                        <type>isocat.sloot.dbx</type>
    1717                        <msg>var:msg</msg>
    1818                        <operator>ffcpl:/dbx/message-scope.xml</operator>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/owner_id.acc

    r2029 r2686  
    6464                                </accessor-debug>
    6565                                <instr>
    66                                         <type>sqlQuery</type>
     66                                        <type>isocat.sqlQuery</type>
    6767                                        <operand>var:sql</operand>
    6868                                        <target>var:own</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/profile.acc

    r2522 r2686  
    4545        <idoc>
    4646                <instr>
    47                         <type>sloot.dbx</type>
     47                        <type>isocat.sloot.dbx</type>
    4848                        <profile>var:profile</profile>
    4949                        <operator>active:xinclude+operand@ffcpl:/dbx/profile.xml</operator>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/pwd_change.acc

    r2029 r2686  
    4242                </accessor-debug>
    4343                <instr>
    44                         <type>sqlUpdate</type>
     44                        <type>isocat.sqlUpdate</type>
    4545                        <operand>var:sql</operand>
    4646                        <target>var:result</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/selection.acc

    r2029 r2686  
    3232        <idoc>
    3333                <instr>
    34                         <type>sloot.dbx</type>
     34                        <type>isocat.sloot.dbx</type>
    3535                        <operator>active:xinclude+operand@ffcpl:/dbx/selection.xml</operator>
    3636                        <dcs>var:dcs</dcs>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/session.acc

    r2029 r2686  
    99        <idoc>
    1010                <instr>
    11                         <type>sloot.dbx</type>
     11                        <type>isocat.sloot.dbx</type>
    1212                        <session>var:session</session>
    1313                        <operator>ffcpl:/dbx/user-session.xml</operator>
     
    4141                </accessor-debug>
    4242                <instr>
    43                         <type>sqlUpdate</type>
     43                        <type>isocat.sqlUpdate</type>
    4444                        <operand>var:sql</operand>
    4545                        <target>var:void</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/session_delete.acc

    r2029 r2686  
    1414                </instr>
    1515                <instr>
    16                         <type>sloot.dbx</type>
     16                        <type>isocat.sloot.dbx</type>
    1717                        <session>var:sid</session>
    1818                        <operator>ffcpl:/dbx/user-session.xml</operator>
     
    5656                                </accessor-debug>
    5757                                <instr>
    58                                         <type>sqlUpdate</type>
     58                                        <type>isocat.sqlUpdate</type>
    5959                                        <operand>var:sql</operand>
    6060                                        <target>var:void</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/session_new.acc

    r2029 r2686  
    3333                </instr>
    3434                <instr>
    35                         <type>sqlQuery</type>
     35                        <type>isocat.sqlQuery</type>
    3636                        <operand>
    3737                                <sql>
     
    8989                </accessor-debug>
    9090                <instr>
    91                         <type>sqlUpdate</type>
     91                        <type>isocat.sqlUpdate</type>
    9292                        <operand>var:sql</operand>
    9393                        <target>var:result</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/session_user.acc

    r2029 r2686  
    99        <idoc>
    1010                <instr>
    11                         <type>sloot.dbx</type>
     11                        <type>isocat.sloot.dbx</type>
    1212                        <session>var:session</session>
    1313                        <operator>ffcpl:/dbx/user-session.xml</operator>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/sg.acc

    r2029 r2686  
    1515                <accessor-trace name="DBX">
    1616                        <instr>
    17                                 <type>sloot.dbx</type>
     17                                <type>isocat.sloot.dbx</type>
    1818                                <group>var:sg</group>
    1919                                <operator>ffcpl:/dbx/sg.xml</operator>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/tdg.acc

    r2029 r2686  
    99        <idoc>
    1010                <instr>
    11                         <type>sloot.dbx</type>
     11                        <type>isocat.sloot.dbx</type>
    1212                        <operator>ffcpl:/dbx/TDG.xml</operator>
    1313                        <tdg>var:tdg</tdg>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/tdg_update.acc

    r2029 r2686  
    153153                                </accessor-debug>
    154154                                <instr>
    155                                         <type>sqlBatch</type>
     155                                        <type>isocat.sqlBatch</type>
    156156                                        <operand>var:sql</operand>
    157157                                        <target>var:result</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/user.acc

    r2029 r2686  
    2626                </accessor-debug>
    2727                <instr>
    28                         <type>sloot.dbx</type>
     28                        <type>isocat.sloot.dbx</type>
    2929                        <uid>var:uid</uid>
    3030                        <operator>ffcpl:/dbx/user-profile.xml</operator>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/user_id.acc

    r2029 r2686  
    4444                                </instr>
    4545                                <instr>
    46                                         <type>sqlQuery</type>
     46                                        <type>isocat.sqlQuery</type>
    4747                                        <operand>var:sql</operand>
    4848                                        <target>var:result</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/user_login.acc

    r2029 r2686  
    4040                        </accessor-debug>
    4141                        <instr>
    42                                 <type>sqlUpdate</type>
     42                                <type>isocat.sqlUpdate</type>
    4343                                <operand>var:sql</operand>
    4444                                <target>var:result</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/user_new.acc

    r2029 r2686  
    155155                                </accessor-debug>
    156156                                <instr>
    157                                         <type>sqlUpdate</type>
     157                                        <type>isocat.sqlUpdate</type>
    158158                                        <operand>var:sql</operand>
    159159                                        <target>var:result</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/user_recover.acc

    r2029 r2686  
    3333                        </accessor-debug>
    3434                        <instr>
    35                                 <type>sqlQuery</type>
     35                                <type>isocat.sqlQuery</type>
    3636                                <operand>var:sql</operand>
    3737                                <target>var:result</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/user_shibboleth.acc

    r2262 r2686  
    5555                                </accessor-debug>
    5656                                <instr>
    57                                         <type>sqlUpdate</type>
     57                                        <type>isocat.sqlUpdate</type>
    5858                                        <operand>var:sql</operand>
    5959                                        <target>var:result</target>
     
    101101                </accessor-debug>
    102102                <instr>
    103                         <type>sqlQuery</type>
     103                        <type>isocat.sqlQuery</type>
    104104                        <operand>var:sql</operand>
    105105                        <target>var:result</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/user_update.acc

    r2029 r2686  
    6666                                </accessor-debug>
    6767                                <instr>
    68                                         <type>sqlUpdate</type>
     68                                        <type>isocat.sqlUpdate</type>
    6969                                        <operand>var:sql</operand>
    7070                                        <target>var:result</target>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/users.acc

    r2029 r2686  
    55                <accessor-trace name="DBX">
    66                        <instr>
    7                                 <type>sloot.dbx</type>
     7                                <type>isocat.sloot.dbx</type>
    88                                <operator>ffcpl:/dbx/users.xml</operator>
    99                                <debug>var:accessor-debug</debug>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/users.idoc

    r2029 r2686  
    22    <seq>
    33        <instr>
    4             <type>sqlQuery</type>
     4            <type>isocat.sqlQuery</type>
    55            <operand>
    66                <sql>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/workspace.acc

    r2029 r2686  
    6262                <accessor-trace name="DBX">
    6363                        <instr>
    64                                 <type>sloot.dbx</type>
     64                                <type>isocat.sloot.dbx</type>
    6565                                <login>var:user</login>
    6666                                <view>var:view</view>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/module.xml

    r2269 r2686  
    5757        </rewrite>
    5858       
     59        <!-- DBMS access -->
     60        <rewrite>
     61            <match>active:ISOcat.access.data.query(\+.*)?</match>
     62            <to>active:throttle+id@throttle:ISOcat.database+configuration@active:ISOcat.access.system.config.database.throttle+uri@active:sqlTransactionWrapper+service@active:sloot.accessor+operand@ffcpl:/access/query.acc$1</to>
     63        </rewrite>
     64       
    5965        <!-- throttle DBMS access -->
    6066        <rewrite>
    61             <match>active:sloot.dbx(.*)</match>
     67            <match>active:isocat.sloot.dbx(.*)</match>
    6268            <to>active:throttle+id@throttle:ISOcat.database+configuration@active:ISOcat.access.system.config.database.throttle+uri@active:sloot.dbx$1</to>
    6369        </rewrite>
    6470        <rewrite>
    65             <match>active:sql(.*)</match>
    66             <to>active:throttle+id@throttle:ISOcat.database+configuration@active:ISOcat.access.system.config.database.throttle+uri@active:sql$e1</to>
     71            <match>active:isocat.sql(.*)</match>
     72            <to>active:throttle+id@throttle:ISOcat.database+configuration@active:ISOcat.access.system.config.database.throttle+uri@active:sql$1</to>
    6773        </rewrite>
    6874
     
    105111        </rewrite>
    106112               
    107         <!-- DBMS access -->
    108         <rewrite>
    109             <match>active:ISOcat.access.data.query(\+.*)?</match>
    110             <to>active:sqlTransactionWrapper+service@active:sloot.accessor+operand@ffcpl:/access/query.acc$1</to>
    111         </rewrite>
    112 
    113113        <!-- DCR backup -->
    114114        <rewrite>
     
    390390            <match>active:ISOcat.access.data.dcs.to.dcif(\+.*)</match>
    391391            <to>active:sloot.accessor+operand@ffcpl:/access/dcs_to_dcif.acc$1</to>
    392         </rewrite>
    393         <rewrite>
    394             <match>active:ISOcat.access.data.dcs.to.rdf(\+.*)</match>
    395             <to>active:sloot.accessor+operand@ffcpl:/access/dcs_to_rdf.acc$1</to>
    396392        </rewrite>
    397393       
  • cats/ISOcat/trunk/mod-ISOcat-interface-rest/representations/dcs2/determine.acc

    r2612 r2686  
    1 <accessor debug="true">
     1<accessor debug="false">
    22        <name>ISOcat.interface.rest.dcs.determine.representation</name>
    33        <descr>Determine the requested representation for a DCS.</descr>
  • cats/ISOcat/trunk/mod-ISOcat-interface-rest/representations/dcs2/html.xsl

    r2399 r2686  
    364364                            <xsl:sort select="dcif:ruleType"/>
    365365                            <p align="left">
    366                                 <xsl:text>Rule: </xsl:text>
    367                                 <!-- TODO: handle XML rules (get the right DCIF dump) -->
    368                                 <xsl:value-of select="normalize-space(dcif:rule)"/>
    369                                 <br/>
    370366                                <xsl:text>Type: </xsl:text>
    371367                                <xsl:value-of select="dcif:ruleType"/>
     368                                <br/>
     369                                <xsl:for-each select="dcif:rule">
     370                                    <xsl:text>Rule: </xsl:text>
     371                                    <xsl:apply-templates select="node()" mode="xml"/>
     372                                    <xsl:value-of select="normalize-space(.)"/>
     373                                    <xsl:if test="position()!=last()">
     374                                        <br/>
     375                                    </xsl:if>
     376                                </xsl:for-each>
    372377                            </p>
    373378                        </xsl:for-each>
     
    378383
    379384    </xsl:template>
    380 
     385   
     386    <xsl:template match="*" mode="xml">
     387        <xsl:text>&lt;</xsl:text>
     388        <xsl:value-of select="name()"/>
     389        <xsl:apply-templates select="@*" mode="#current"/>
     390        <xsl:text>&gt;</xsl:text>
     391        <xsl:apply-templates mode="#current"/>
     392        <xsl:text>&lt;/</xsl:text>
     393        <xsl:value-of select="name()"/>
     394        <xsl:apply-templates select="@*" mode="#current"/>
     395        <xsl:text>&gt;</xsl:text>
     396    </xsl:template>
     397
     398    <xsl:template match="@*" mode="xml">
     399        <xsl:text> </xsl:text>
     400        <xsl:value-of select="name()"/>
     401        <xsl:text>"</xsl:text>
     402        <xsl:value-of select="."/>
     403        <xsl:text>"</xsl:text>
     404    </xsl:template>
     405   
    381406    <xsl:template name="index">
    382407        <hr/>
Note: See TracChangeset for help on using the changeset viewer.