-
Bug
-
Resolution: Done
-
Major
-
9.0.4
When importing a dynamic VDB with REST procedure, the created procedure does not have the REST options set.
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <vdb name="RestProcedureVdbDynamic" version="1"> <description /> <property name="{http://teiid.org/rest}auto-generate" value="true" /> <model name="ProcedureModel" type="VIRTUAL"> <metadata type="DDL"><![CDATA[ SET NAMESPACE 'http://teiid.org/rest' AS REST; CREATE VIRTUAL PROCEDURE testProc (p1 string(4000)) RETURNS TABLE (xml_out xml) OPTIONS ("REST:METHOD" 'GET', "REST:URI" 'test/{p1}') AS BEGIN SELECT XMLELEMENT(NAME test, XMLFOREST(ProcedureModel.testProc.p1 AS elem1, 'elem2' AS elem2)) AS xml_out; END; ]]></metadata> </model> </vdb>
- is incorporated by
-
TEIIDDES-2699 Issues with Dynamic VDB import/export
- Closed