Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TEIID-3814: the generated REST web-service model name in the URL path… #553

Merged
merged 1 commit into from
Nov 20, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ <h2><a name="Compatibility">Compatibility Issues</a></h2>
<li>TEIID-2904 The createMetadataProcessor method on JDBCExcutionFactory has been deprecated. Use getMetadataProcessor instead.</li>
<li>TEIID-3159 The SAP Netweaver Gateway translator (sap-nw-gateway) has been renamed to just SAP Gateway (sap-gateway). Usage of sap-nw-gateway is deprecated.</li>
<li>TEIID-2694 In the autogenerated web service, if a procedure is designed for POST method, and one of its IN/INOUT parameters is either a LOB or VARBINARY then that service can only invoked using "multipart/form-data". This allows user to send large binary files for processing in Teiid<li>
<li>TEIID-3814 In the autogenerated web service, the model name in the path is now case sensitive.</li>
</ul>

<h4>from 8.11</h4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -354,13 +354,13 @@ protected byte[] getViewClass(String vdbName, int vdbVersion, String modelName,

{
av0 = cw.visitAnnotation("Ljavax/ws/rs/Path;", true);
av0.visit("value", "/"+modelName.toLowerCase());
av0.visit("value", "/"+modelName);
av0.visitEnd();
}

{
av0 = cw.visitAnnotation("Lio/swagger/annotations/Api;", true);
av0.visit("value", "/" + modelName.toLowerCase());
av0.visit("value", "/" + modelName);
av0.visitEnd();
}

Expand Down