-
1. Re: Auto Generate Rest Service from DDL based VBD
rareddy Nov 15, 2018 11:41 AM (in response to gadeyne.bram)Did you make sure VDB is deployed and in active state? Also, did you add the property for generating the WAR file automatically? The below property is VDB level. Check REST Service Through VDB · GitBook
<property name="{http://teiid.org/rest}auto-generate" value="true"/>
-
2. Re: Auto Generate Rest Service from DDL based VBD
gadeyne.bram Nov 16, 2018 2:05 AM (in response to rareddy)Hi Ramesh,
It was indeed defined as a property on my virtual procedure. This does work:
create database vdb version '1.2.0' OPTIONS ("{http://teiid.org/rest}auto-generate" 'true');
This however does not (as described here):
create database vdb version '1.2.0' OPTIONS ("teiid_rest:auto-generate" 'true');
Should I use a different namespace prefix?
-
3. Re: Auto Generate Rest Service from DDL based VBD
rareddy Nov 19, 2018 6:44 AM (in response to gadeyne.bram)1 of 1 people found this helpfulNamespace resolution only happens at model level non vdb so need to use full url
Ramesh .
-
4. Re: Auto Generate Rest Service from DDL based VBD
shawkins Nov 19, 2018 9:56 AM (in response to rareddy)Bram,
Can you capture an issue for this? Seems inconsistent to not resolve at the vdb level as well.
Steve