<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to feature-requests</title><link href="https://sourceforge.net/p/sqlrest/feature-requests/" rel="alternate"/><link href="https://sourceforge.net/p/sqlrest/feature-requests/feed.atom" rel="self"/><id>https://sourceforge.net/p/sqlrest/feature-requests/</id><updated>2006-11-08T00:59:55Z</updated><subtitle>Recent changes to feature-requests</subtitle><entry><title>Sporadic Meta Data</title><link href="https://sourceforge.net/p/sqlrest/feature-requests/16/" rel="alternate"/><published>2006-11-08T00:59:55Z</published><updated>2006-11-08T00:59:55Z</updated><author><name>David Bainbridge</name><uri>https://sourceforge.net/u/davidbainbridge/</uri></author><id>https://sourceforge.nete51d001c517329fdbbb056dc563f861b8efe3a65</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It appears from looking at the code and running test &lt;br /&gt;
cases against my database that SQLREST attempts to &lt;br /&gt;
build a complete meta data structure of the database. &lt;br /&gt;
This can be very expensive in terms of time (esp. if &lt;br /&gt;
the DB connection is remote) and resources for large &lt;br /&gt;
databases, which is the case for me.&lt;/p&gt;
&lt;p&gt;Rather than constructing the meta data in an &lt;br /&gt;
initialization phase might I recommend that the meta &lt;br /&gt;
data is queried from the database and constructed on &lt;br /&gt;
demand so that the meta data structure is sporadic. &lt;br /&gt;
This should decrease load time and only load those &lt;br /&gt;
parts of the schema when required. &lt;/p&gt;
&lt;p&gt;For instance if a simple &lt;a href="http://hostname/sqlrest/" rel="nofollow"&gt;http://hostname/sqlrest/&lt;/a&gt; GET &lt;br /&gt;
was done you would only have to look up the table &lt;br /&gt;
names and not the structure of the tables. Each table &lt;br /&gt;
structure would only have to be populated when a &lt;br /&gt;
request to that specific table was made.&lt;/p&gt;
&lt;p&gt;Another advantage to this approach is that the meta &lt;br /&gt;
data maintained in memory could be constrained by &lt;br /&gt;
size etc. to keep the runtime footprint smaller. &lt;br /&gt;
(i.e. it is a meta data cache such that meta data &lt;br /&gt;
which has not been used for a while is released from &lt;br /&gt;
the cache).&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Support mapping to multiple DB sources</title><link href="https://sourceforge.net/p/sqlrest/feature-requests/15/" rel="alternate"/><published>2006-11-06T21:36:52Z</published><updated>2006-11-06T21:36:52Z</updated><author><name>David Bainbridge</name><uri>https://sourceforge.net/u/davidbainbridge/</uri></author><id>https://sourceforge.net5cd2c5a3c3752bb5ff4904b01cb8a248909e8d5a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It might be nice if SQLREST would allow the &lt;br /&gt;
specification of mutiple DB sources so that it could &lt;br /&gt;
front end connectivity via a single HTTP end point to &lt;br /&gt;
these databases making it an integration interface &lt;br /&gt;
across multiple resources. At the same point it would &lt;br /&gt;
be useful to be able to specify the list of &lt;br /&gt;
tables/views which you would like published as &lt;br /&gt;
resources.&lt;/p&gt;
&lt;p&gt;A config of the style:&lt;/p&gt;
&lt;p&gt;&amp;lt;sources&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;source1&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;datasource&amp;gt;&lt;br /&gt;
&amp;lt;jdbc-driver-class&amp;gt;org.hsqldb.jdbcDriver&amp;lt;/jdbc-&lt;br /&gt;
driver-class&amp;gt;&lt;br /&gt;
&amp;lt;database-&lt;br /&gt;
url&amp;gt;jdbc:hsqldb:hsql://localhost&amp;lt;/database-url&amp;gt;&lt;br /&gt;
&amp;lt;user&amp;gt;sa&amp;lt;/user&amp;gt;&lt;br /&gt;
&amp;lt;password&amp;gt;&amp;lt;/password&amp;gt;&lt;br /&gt;
&amp;lt;/datasource&amp;gt;&lt;br /&gt;
&amp;lt;resources&amp;gt;&lt;br /&gt;
&amp;lt;resource&amp;gt;&lt;br /&gt;
&amp;lt;url&amp;gt;/level/level/resource&amp;lt;/url&amp;gt;&lt;br /&gt;
&amp;lt;table&amp;gt;TABLE_VIEW_NAME&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;/resource&amp;gt;&lt;br /&gt;
&amp;lt;/resources&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;...&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;...&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;/sources&amp;gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Drive resource mappings from config instead of DB meta data</title><link href="https://sourceforge.net/p/sqlrest/feature-requests/14/" rel="alternate"/><published>2006-11-06T21:28:21Z</published><updated>2006-11-06T21:28:21Z</updated><author><name>David Bainbridge</name><uri>https://sourceforge.net/u/davidbainbridge/</uri></author><id>https://sourceforge.net7efc9538e8fad74a97ea81152aae48cc4631ab13</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Right now it appears that SQLREST derives the &lt;br /&gt;
resource definitions based on the TABLE structure of &lt;br /&gt;
the database. Often a database may contain &lt;br /&gt;
information about a single object in mutiple tables. &lt;br /&gt;
I would be nice to be able to manually control the &lt;br /&gt;
structure of the resources based on a configuration &lt;br /&gt;
file such as the following:&lt;/p&gt;
&lt;p&gt;&amp;lt;operations&amp;gt;&lt;br /&gt;
&amp;lt;operation name="put"&amp;gt;&amp;lt;/operation&amp;gt;&lt;br /&gt;
&amp;lt;operation name="get"&amp;gt;&lt;br /&gt;
&amp;lt;parameters&amp;gt;&lt;br /&gt;
&amp;lt;parameter name="id" /&amp;gt;&lt;br /&gt;
&amp;lt;/parameters&amp;gt;&lt;br /&gt;
&amp;lt;map&amp;gt;&lt;br /&gt;
&amp;lt;sql&amp;gt;&lt;br /&gt;
select col1, col2, col2 from table where&lt;br /&gt;
uid='{id}'&lt;br /&gt;
&amp;lt;/sql&amp;gt;&lt;br /&gt;
&amp;lt;mapping&amp;gt;&lt;br /&gt;
&amp;lt;map column="col1" to="xpath" /&amp;gt;&lt;br /&gt;
&amp;lt;map column="col2" to="xpath" /&amp;gt;&lt;br /&gt;
&amp;lt;map column="col3" to="xpath" /&amp;gt;&lt;br /&gt;
&amp;lt;/mapping&amp;gt;&lt;br /&gt;
&amp;lt;/map&amp;gt;&lt;br /&gt;
&amp;lt;/operation&amp;gt;&lt;br /&gt;
&amp;lt;/operations&amp;gt;&lt;/p&gt;
&lt;p&gt;I am by no means a REST expert, so what is above may &lt;br /&gt;
not make sense, but I think by controlling the &lt;br /&gt;
structure of the resources the designer would have &lt;br /&gt;
better control and be better able to handle database &lt;br /&gt;
schema evolution. &lt;/p&gt;
&lt;p&gt;One could argue that you could do much of the same &lt;br /&gt;
using read/write views I suppose and perhaps that &lt;br /&gt;
would be a better mechanism.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Support for partial content</title><link href="https://sourceforge.net/p/sqlrest/feature-requests/13/" rel="alternate"/><published>2003-04-25T10:59:12Z</published><updated>2003-04-25T10:59:12Z</updated><author><name>Thomas Bayer</name><uri>https://sourceforge.net/u/bayert/</uri></author><id>https://sourceforge.net498bd3b48a4e5a529bcf61ed9c0deb8bd0c1570e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It shoud be possible for long lists, to retrieve it in&lt;br /&gt;
Parts. See SC 206 Partial Content&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Bundling with RESTGate</title><link href="https://sourceforge.net/p/sqlrest/feature-requests/12/" rel="alternate"/><published>2003-04-23T17:10:15Z</published><updated>2003-04-23T17:10:15Z</updated><author><name>Thomas Bayer</name><uri>https://sourceforge.net/u/bayert/</uri></author><id>https://sourceforge.net9e5f14fee34e4eba6c7b5b53ea7b54d51aefab54</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Bundle sqlREST with a RESTGate runtime&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Schema for the XML responses</title><link href="https://sourceforge.net/p/sqlrest/feature-requests/11/" rel="alternate"/><published>2003-04-21T17:34:31Z</published><updated>2003-04-21T17:34:31Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netc64cbaabc213e31a3fcf5d059f55ca58b18c0b24</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Provide schema information for the responses. Either&lt;br /&gt;
one schema for all responses or on-the-fly generated&lt;br /&gt;
schema based on the database metadata.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Overview page</title><link href="https://sourceforge.net/p/sqlrest/feature-requests/10/" rel="alternate"/><published>2003-04-19T13:32:52Z</published><updated>2003-04-19T13:32:52Z</updated><author><name>Thomas Bayer</name><uri>https://sourceforge.net/u/bayert/</uri></author><id>https://sourceforge.net592679f1cd0f08ed9d0eab5a75efde96bef10556</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Page with the essentials&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Links to REST resources</title><link href="https://sourceforge.net/p/sqlrest/feature-requests/9/" rel="alternate"/><published>2003-04-19T09:31:34Z</published><updated>2003-04-19T09:31:34Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netfa2a58784aac32bf8b45af882c5e313cba79ec7a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Section in the documentation with links to REST&lt;br /&gt;
documents, Like Thomas Roy Fieldings dissertation and&lt;br /&gt;
the REST Wiki.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Example client code</title><link href="https://sourceforge.net/p/sqlrest/feature-requests/8/" rel="alternate"/><published>2003-04-19T09:29:44Z</published><updated>2003-04-19T09:29:44Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net628b2e2ac15ec6eed92ef23904fd273b20a31162</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Java examples code for POST, GET, DELETE and PUT requests.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>FAQ</title><link href="https://sourceforge.net/p/sqlrest/feature-requests/7/" rel="alternate"/><published>2003-04-19T08:30:05Z</published><updated>2003-04-19T08:30:05Z</updated><author><name>Thomas Bayer</name><uri>https://sourceforge.net/u/bayert/</uri></author><id>https://sourceforge.net52215370d059bcaa250a7faa41d434495ce990f1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;FAQ for sqlREST and some REST questions&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>