Continue to reduce the Model Madness!
Add OntModelCache to the top of the stack of RDF data structures. Add DataStructuresProvider to the bottom of the stack. Redesign ModelAccess method signatures. Create the ShowSources page. Remove RequestModelsPrep, except for setting the Collator. Reduce the complexity of ContentModelsSetup and ConfigurationModelsSetup. VIVO-225 VIVO-819 VIVO-820 VIVO-821 VIVO-823 VIVO-832
This commit is contained in:
parent
c9362db3c1
commit
78c8f102f8
171 changed files with 4196 additions and 2826 deletions
|
@ -0,0 +1,93 @@
|
|||
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<#-- Template to display the source of our RDF data, both for the context and for the current request. -->
|
||||
|
||||
${stylesheets.add('<link rel="stylesheet" href="${urls.base}/css/showSources.css" />')}
|
||||
|
||||
<section id="show-sources" role="region">
|
||||
<p>
|
||||
<em>The information displayed here has also been written to the log.</em>
|
||||
</p>
|
||||
|
||||
<h2>Current RDF Data Structures</h2>
|
||||
|
||||
<h3>RDFServices</h3>
|
||||
<table>
|
||||
<tr>
|
||||
<th> </th><th>Context</th><th>Request</th>
|
||||
</tr>
|
||||
<#list rdfServices?keys as which>
|
||||
<tr>
|
||||
<th>${which}</th>
|
||||
<td><pre>${rdfServices[which].context}</pre></td>
|
||||
<td><pre>${rdfServices[which].request}</pre></td>
|
||||
</tr>
|
||||
</#list>
|
||||
</table>
|
||||
|
||||
<h3>Datasets</h3>
|
||||
<table>
|
||||
<tr>
|
||||
<th> </th><th>Context</th><th>Request</th>
|
||||
</tr>
|
||||
<#list datasets?keys as which>
|
||||
<tr>
|
||||
<th>${which}</th>
|
||||
<td><pre>${datasets[which].context}</pre></td>
|
||||
<td><pre>${datasets[which].request}</pre></td>
|
||||
</tr>
|
||||
</#list>
|
||||
</table>
|
||||
|
||||
<h3>ModelAccess</h3>
|
||||
<table>
|
||||
<tr>
|
||||
<th>Context</th>
|
||||
<td><pre>${modelAccess.context}</pre></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Request</th>
|
||||
<td><pre>${modelAccess.request}</pre></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<h3>Models</h3>
|
||||
<table>
|
||||
<tr>
|
||||
<th>Name</th><th>(Context only)</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th> </th><th>CONFIGURATION</th>
|
||||
</tr>
|
||||
<#list models.CONFIGURATION?keys as name>
|
||||
<tr>
|
||||
<td><pre>${name}</pre></td>
|
||||
<td><pre>${models.CONFIGURATION[name].context}</pre></td>
|
||||
</tr>
|
||||
</#list>
|
||||
<tr>
|
||||
<th> </th><th>CONTENT</th>
|
||||
</tr>
|
||||
<#list models.CONTENT?keys as name>
|
||||
<tr>
|
||||
<td><pre>${name}</pre></td>
|
||||
<td><pre>${models.CONTENT[name].context}</pre></td>
|
||||
</tr>
|
||||
</#list>
|
||||
</table>
|
||||
|
||||
<h3>OntModels</h3>
|
||||
<table>
|
||||
<tr>
|
||||
<th>Name</th><th>Context</th><th>Request</th>
|
||||
</tr>
|
||||
<#list ontModels?keys as name>
|
||||
<tr>
|
||||
<td><pre>${name}</pre></td>
|
||||
<td><pre>${ontModels[name].context}</pre></td>
|
||||
<td><pre>${ontModels[name].request}</pre></td>
|
||||
</tr>
|
||||
</#list>
|
||||
</table>
|
||||
|
||||
</section>
|
|
@ -66,6 +66,8 @@
|
|||
<br/>
|
||||
<a href="${urls.base}/admin/showAuth">Show authorization info</a>
|
||||
<a href="${urls.base}/admin/showThreads">Show background threads</a>
|
||||
<br/>
|
||||
<a href="${urls.base}/admin/showSources">Show RDF data sources</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue